CN108804180A - Display methods, device, terminal and the storage medium of user interface - Google Patents

Display methods, device, terminal and the storage medium of user interface Download PDF

Info

Publication number
CN108804180A
CN108804180A CN201810513549.9A CN201810513549A CN108804180A CN 108804180 A CN108804180 A CN 108804180A CN 201810513549 A CN201810513549 A CN 201810513549A CN 108804180 A CN108804180 A CN 108804180A
Authority
CN
China
Prior art keywords
terminal
user interface
privacy
face
application
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
CN201810513549.9A
Other languages
Chinese (zh)
Inventor
廖新风
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810513549.9A priority Critical patent/CN108804180A/en
Publication of CN108804180A publication Critical patent/CN108804180A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of display methods of user interface, device, terminal and storage medium, belongs to field of computer technology, the method includes:When terminal receives unlock instruction, obtain ambient noise, obtain the target number of target person, when the intensity of sound of ambient noise is less than default sound intensity threshold value, and target number be less than preset number when, the user interface of last time lock time display is shown in the screen of terminal, wherein unlock instruction is that terminal receives the instruction generated when correctly unlock screen operator.The embodiment of the present application is after receiving correctly unlock operation, it will be when the intensity of sound of ambient noise be less than default sound intensity threshold value and target number is less than preset number, show the user interface of last time lock time display, to reduce the risk of the leakage of privacy information in user interface, the safety of privacy information is improved.

Description

Display methods, device, terminal and the storage medium of user interface
Technical field
The invention relates to field of computer technology, more particularly to a kind of display methods of user interface, device, end End and storage medium.
Background technology
With mobile terminal extensive use in life, terminal may store and show that user's is hidden during use Personal letter ceases.Such as personal information, travel information or the communication information etc. of user.
In the related technology, when mobile terminal is not received by user's operation whithin a period of time, screen backlight lamp will be extinguished And lock-screen.Then, when mobile terminal receives correct unlock instruction, mobile terminal will unlock, display last time locking When the user interface that shows.
And privacy message is shown in the user interface when mobile terminal is in lock-screen, and mobile terminal is being connected to just When true unlock instruction, mobile terminal will directly show privacy message in screen, and it is more in personnel to increase privacy message Public arena leakage risk.
Invention content
The embodiment of the present application provides a kind of display methods of user interface, device, terminal and storage medium, can solve Show privacy message in user interface when mobile terminal is in lock-screen, and mobile terminal refers to being connected to correctly unlock When enabling, mobile terminal will directly show privacy message in screen, increase the privacy message public arena more in personnel The problem of risk of leakage.The technical solution is as follows:
According to the application's in a first aspect, providing a kind of display methods of user interface, the method includes:
When terminal receives unlock instruction, ambient noise is obtained, the unlock instruction is that the terminal receives correctly Unlock screen operator when the instruction that generates;
The target number of target person is obtained, the target person is the personnel in the terminal surrounding preset range;
Sound intensity threshold value is preset when the intensity of sound of the ambient noise is less than, and the face number is less than preset number When, the user interface of last time lock time display is shown in the screen of the terminal.
According to the second aspect of the application, a kind of display device of user interface is provided, described device includes:
Noise acquisition module, for when terminal receives unlock instruction, obtaining ambient noise, the unlock instruction is institute It states terminal and receives the instruction generated when correctly unlock screen operator;
Number acquisition module, the target number for obtaining target person, the target person are that the terminal surrounding is pre- If the personnel in range;
Interface display module, for being less than default sound intensity threshold value, and the target when the intensity of sound of the ambient noise When number is less than preset number, the user interface of last time lock time display is shown in the screen of the terminal.
According to the third aspect of the application, a kind of terminal is provided, the terminal includes processor and memory, described to deposit At least one instruction is stored in reservoir, described instruction is loaded by the processor and executed to realize as described in relation to the first aspect The display methods of user interface.
According to the fourth aspect of the application, a kind of computer readable storage medium is provided, is stored in the storage medium There are at least one instruction, described instruction to be loaded by processor and executed to realize the display of user interface as described in relation to the first aspect Method.
The advantageous effect that technical solution provided by the embodiments of the present application is brought is:
When the scheme of the embodiment of the present application is in implementation, terminal will obtain ambient noise, obtain when receiving unlock instruction The target number of target person is taken, the target person is the personnel in the terminal surrounding preset range, when ambient noise Intensity of sound is less than default sound intensity threshold value and when target number is less than preset number, when terminal will show last time locking on the screen The user interface of display.It can be seen that the embodiment of the present application when unlocking terminal, will not directly display last time locking when use Family interface, but the intensity of sound of ambient noise and the target number of surrounding people can be first detected, it is strong in the sound of ambient noise Degree is less than default sound intensity threshold value and when target number is less than preset number, the user interface of display last time lock time display, to The risk for reducing the leakage of privacy information in user interface improves the safety of privacy information.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the flow chart of the display methods for the user interface that one exemplary embodiment of the application provides;
Fig. 2 is the flow chart of the display methods of the user interface of the application another exemplary embodiment offer;
Fig. 3 is the flow chart of the display methods of the user interface of the application another exemplary embodiment offer;
Fig. 4 is the structure diagram of the display device for the user interface that one exemplary embodiment of the application provides;
Fig. 5 is the structure diagram for the terminal that one exemplary embodiment of the application provides;
Fig. 6 is the structure diagram for the terminal 600 that one exemplary embodiment of the application provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
For scheme shown in the embodiment of the present application it can be readily appreciated that below by several nouns to occurring in the embodiment of the present application It is introduced.
Unlock instruction:It is the instruction that terminal is generated when receiving correctly unlock screen operator.The correct solution screen locking Curtain operation can have corresponding way of realization according to the setting of user.
Optionally, unlock screen operator may include key unlock operation, nine grids pattern unlock operation, gesture path solution At least one of lock operation, unlocked by fingerprint operation, face unlock operation, speech unlocking operation, iris unlock operation.When user into When capable unlock screen operator is with preset operation stencil matching, it is correct that terminal, which will be considered to the unlock screen operator, thus Generate unlock instruction.
Ambient noise:It is the sound that terminal is able to detect that surrounding.In this application, terminal will pass through the first microphone Determine the ambient noise together with second microphone.Optionally, the first microphone and second microphone are separately mounted to terminal Both sides, and mainboard isolation is provided between the first microphone and second microphone.It should be noted that due to the first microphone and Both sides of the second microphone due to being separately mounted to terminal, and have mainboard isolation in terminal, thus can from different directions on Relative isolation receives ambient noise.Terminal can acquire the first voice signal by the first microphone, pass through the second Mike Elegance collection second sound signal, the first voice signal are synchronous with the second sound signal time.Terminal-pair is than the first voice signal And second sound signal, the identical target sound signal of frequency in the first voice signal and second sound signal is obtained, and should Target sound signal is determined as the voice signal of ambient noise.
In a kind of scene of possible acquisition ambient noise, terminal can open the first microphone and second microphone, The first voice signal is acquired by the first microphone, and second sound signal, first sound letter are acquired by second microphone Number synchronous on the second sound signal time, terminal will compare the first voice signal and second sound signal, obtain the first sound The target sound signal, is determined as the sound of ambient noise by the identical target sound signal of frequency in signal and second sound signal Sound signal.
Target person:It is the personnel being present in terminal surrounding preset range.In different preset ranges, the target person Member can indicate different personnel.
In a kind of possible embodiment, terminal surrounding preset range can be the range immediately ahead of terminal screen.? I.e. target person can refer to the personnel immediately ahead of terminal screen.Under the scene, terminal can pass through front camera shooting figure As determining the personnel immediately ahead of the screen, which is determined as target person.
In alternatively possible embodiment, terminal surrounding preset range can also be is attached most importance to terminal, around can The range of collected sound.Namely target person can also refer to centered on terminal, can around be collected the people of sound Member.In the case, terminal can acquire environment voice by microphone, number be determined by Application on Voiceprint Recognition, by the vocal print Specified number is determined as the target number of target person.
It can coverage:The spatial dimension of image can be collected by referring to the front camera of terminal, which can be with It is the vertex using front camera as circular cone, extends the space for being formed by a cone and including to coverage.Optionally, This can coverage can also be that front camera is capable of the shooting space of blur-free imaging.
Intensity of sound:It is referred to as the loudness of sound, can be measured by decibel.For example, intensity of sound can be The value of 35 decibels, 50 decibels or 95 decibels etc. sizes.
Default sound intensity threshold value:It is the threshold value for pre-setting an intensity of sound in the terminal, the threshold value is for distinguishing end Hold local environment whether noisy.
In a kind of mode in the cards, terminal can download the numerical value of the default sound intensity threshold value from server.Or Person, server push the default sound intensity threshold value to terminal.
In the mode of alternatively possible realization, terminal can also be by built-in NPU (Network in the terminal Processing Unit, neural network processor), APU (AI Processing Unit, artificial intelligence process device) or MLU The current default sound intensity threshold value of terminal is obtained in (Machine Learning Unit, machine learning processor).For example, terminal In NPI, APU or MLU obtain relevant input value, relevant input value is inputted in corresponding computation model, is calculated Default sound intensity threshold value afterwards.
Illustratively, the display methods of user interface shown in the embodiment of the present application can be applied in the terminal, the terminal Have front camera and microphone.Terminal may include mobile phone, tablet computer, laptop computer, desktop computer, computer one Machine, smartwatch, digital camera, MP4 playback terminals, MP5 playback terminals, learning machine, point reader, electric paper book, electronic dictionary or Car-mounted terminal etc..
Referring to FIG. 1, it is the flow chart of the display methods for the user interface that one exemplary embodiment of the application provides. The display methods of the user interface can be applied in the terminal shown in above-mentioned.In Fig. 1, the display methods packet of user interface It includes:
Step 110, when terminal receives unlock instruction, ambient noise is obtained, unlock instruction is that terminal receives correctly Unlock screen operator when the instruction that generates.
In the embodiment of the present application, terminal can be first in lock-out state.In this case, terminal can monitor itself Whether unlock instruction is received.When terminal receives unlock instruction, it was demonstrated that correctly solution lock screen behaviour has been received in terminal Make.At this point, terminal can obtain ambient noise.
Optionally, in a kind of mode obtaining ambient noise, terminal can obtain the ring of surrounding by a microphone Border sound is filtered ambient sound by built-in analysis module, obtains ambient noise.
Optionally, in another mode for obtaining ambient noise, terminal can also pass through the first microphone and the second wheat The cooperation of gram wind obtains ambient noise.Specific acquisition process can be found in the above-mentioned explanation for noun ambient noise, herein no longer It repeats.
Step 120, the target number of target person is obtained, target person is the personnel in terminal surrounding preset range.
In the embodiment of the present application, terminal can obtain the target number of target person.It should be noted that target person It is the personnel in terminal surrounding preset range, which can be carried out corresponding by sensor in terminal and performance Ground adjusts.
If for example, terminal be configured with front camera, preset range can be the front camera can coverage. Wherein, if the resolution ratio of front camera is higher, front camera can coverage the depth of field it is deeper, can also shoot model Enclose bigger.
For another example if terminal is configured with microphone, preset range may include that the microphone being capable of collected environment The position of the sound source of voice.Wherein, if the performance of at least one of the sensitivity of microphone and Frequency Response index is preferable, wheat The enough vocal prints told more visiblely in environment voice of gram wind energy, and then range bigger that can be detected.
In a kind of mode in the cards, terminal by front camera obtain terminal front can coverage Interior face number.During possible realization, terminal by front camera, can obtain clapping for the front of terminal Take the photograph the face number in range.Terminal will adjust front camera to shoot automatically when executing the step, obtain target figure Picture.
Optionally, terminal will detect n face number in target image, and n is nonnegative integer, a kind of in the cards In mode, incomplete recognition of face in target image can be a face by terminal.
Optionally, in the mode of alternatively possible realization, terminal can pass through 3D face recognition technology Filtration Goal figures Face pattern as in.For example, having the face of personage A and personage B in target image, and there are two on the jacket of personage's A dresses Facial image, the present embodiment can determine that the face number in the target image is 2 by 3D face recognition technologies.
In the mode of alternatively possible realization, terminal can pass through the environment voice around microphone acquisition terminal.It needs It is noted that the environment voice of the terminal surrounding in the embodiment of the present application, refers to the environment voice that terminal can be acquired and be identified. For example, the environment voice for the border circular areas that terminal can acquire and radius is 3 meters around identification terminal, the then model of the terminal surrounding Enclose the border circular areas as 3 meters of the radius centered on terminal.In another example the terminal of another high speech recognition capabilities can be known Not, the environment voice for the border circular areas that the radius centered on the terminal is 10 meters, then the range of the terminal surrounding is with end The border circular areas of 10 meters of radius centered on end.
Optionally, speech recognition is being carried out to environment voice, it should be noted that the speech recognition process both can be at end End is local to carry out, it is possibility to have terminal carries out the miscellaneous equipments such as crossing server or work station on voice data.Optionally, eventually End can be by Application on Voiceprint Recognition, to analyze the vocal print quantity contained in environment voice.Pronunciation number is determined according to vocal print quantity, And pronunciation number is determined as target number.
For example, terminal detects the environment voice of terminal surrounding by microphone, by speech recognition, the environment voice obtains The vocal print different to 7, then terminal pronunciation number can be determined as to 7 people.
Optionally, the environment voice of terminal surrounding can also be compared by this realization method with default speech loudness, be obtained It takes speech loudness to be more than the environment voice of default speech loudness, then is more than the environment voice of default speech loudness to the speech loudness Speech recognition is carried out, determines the corresponding pronunciation number of environment voice, and the pronunciation number is determined as target number.To this Embodiment can reject the smaller voice of speech loudness, to a certain extent so that not united apart from the personnel of this terminal distance farther out Meter improves the effect for the user interface for determining whether display terminal last time lock time display, improves end in target number The safety of the privacy message shown in end.
Step 130, sound intensity threshold value is preset when the intensity of sound of ambient noise is less than, and target number is less than preset number When, the user interface of last time lock time display is shown in the screen of terminal.
In the embodiment of the present application, terminal is by comprehensive analysis ambient noise and face number, it is determined whether in the screen of terminal User interface is shown in curtain.In the present embodiment, terminal is less than default sound intensity threshold value, and people in the intensity of sound of ambient noise When face number is less than preset number, the user interface of last time lock time display is shown in the screen of terminal.
For example, being 60 decibels to preset sound intensity threshold value, for the preset number of face is 3, one kind of the present embodiment is introduced Possible realization scene.Wherein, the user interface in social networking application with user's C chats is that terminal locked time display in last time User interface.Terminal when receiving correct unlocking screen operation, will detect the ambient noise of surrounding and front camera is clapped Face number in the image taken the photograph.Wherein, if terminal detects 45 decibels of the intensity of sound of ambient noise and front camera is adopted When only having 1 face in the target image collected, then 45 decibels of the intensity of sound is less than default 60 decibels of sound intensity threshold value, and preceding The preset number 3 that the collected face number 1 of camera is less than face is set, then shows upper primary lock time display in screen The user interface chatted with user C in social networking application.
In conclusion the embodiment of the present application discloses a kind of display methods of user interface, by referring to receiving unlock When enabling, ambient noise is obtained, the face number that can be in coverage in the front of terminal is obtained using front camera, works as ring The intensity of sound of border noise is less than default sound intensity threshold value and when face number is less than preset number, and terminal will be shown on the screen The user interface of secondary lock time display.It can be seen that the embodiment of the present application when unlocking terminal, will not directly display last time lock The user interface of timing, but the face number immediately ahead of the intensity of sound and terminal of ambient noise can be first detected, it makes an uproar in environment The intensity of sound of sound is less than default sound intensity threshold value and when face number is less than preset number, the user of display last time lock time display Interface improves the safety of privacy information to reduce the risk of the leakage of privacy information in user interface.
Based on upper one embodiment, terminal can also be directed to point for the application for combining the user interface to locking time display Analysis, determines that the display mode of user interface, details please refer to following examples.
Fig. 2 is referred to, is the flow of the display methods of the user interface of the application another exemplary embodiment offer Figure.The display methods of the user interface can be applied in the terminal shown in above-mentioned.In fig. 2, the display side of the user interface Method includes:
Step 201, in terminal locking screen, the first identifier of the first application is obtained.
Wherein, the user interface shown when the user interface of the first application is terminal locking screen.
In the embodiment of the present application, terminal can obtain the first identifier of the first application in lock-screen.One kind can In the mode that can be realized, terminal can be in the lock-screen operation for receiving user's active, lock-screen.For example, user presses Press the power-off button of terminal side, terminal locking screen.In alternatively possible realization method, terminal can also be when specified Lock-screen when being not received by user's operation in length.For example, when terminal will be not received by user's operation in 5 seconds, locking Screen.
Based on the operation of above-mentioned terminal locking screen, terminal will be operation execution condition with the lock operation, and then obtain The first identifier of first application.
It should be noted that the application that terminal can run system current foreground is determined as the first application.Optionally, if The operating system of terminal is Android system, then terminal can access application operation storehouse, and the application of stack top, which is determined as first, answers With.
Optionally, first identifier can be the contents such as installation kit name or the identification strings of application.The embodiment of the present application pair This is not construed as limiting.
Step 202, according to first identifier, whether the first application of detection belongs to secret protection application.
In the embodiment of the present application, terminal can be according to first identifier, and whether the first application of detection, which belongs to secret protection, is answered With.
Optionally, secret protection application identities library can be prestored in terminal, whether terminal will detect the first identifier With the mark matching in secret protection application identities library.If existing and the matched mark of first identifier in the home banking, it is determined that First application belongs to secret protection application.
Optionally, which can be uploaded in server by terminal, and whether the first identifier is detected by server Belong to the mark of secret protection application, testing result is returned to terminal by server, and terminal determines therefrom that whether the first application belongs to Secret protection application.
In the embodiment of the present application, secret protection application is the preset application for licensing to designated user and using in terminal. Optionally, secret protection application can be social communication applications, web browser, video text editing application, text exhibition application, regard Frequency editor application, Taking Photographic application, digital map navigation application, safety antivirus application, takes out application, shopping at audio editing application Using, call a taxi application or financing payment application at least one of.
In the embodiment of the present application, terminal is in addition to that can execute the flow one including step 201 and step 202, and terminal is also The flow two including step 203 and step 204 can be executed.Wherein, the realization process of flow two is as follows:
Step 203, in terminal locking screen, the user interface of the first application is obtained.
In the embodiment of the present application, terminal can obtain the user interface of the first application in terminal locking screen.Terminal The process of user interface is provided in being applied by the service access first of a system level.It should be noted that one Using several processes may have been adjusted simultaneously in operation, wherein there is at least one process for providing user interface.In this Shen Please be in embodiment, terminal can access the process for providing user interface, obtain the user interface of the first application.
Step 204, whether detect in user interface includes privacy information.
In the embodiment of the present application, whether it includes privacy information that terminal can detect in user interface.It should be noted that Privacy information be include the personal information of designated user, proprietary information, account key, consumer record, location information, stroke recording With the information of at least one of communications records.
In one possible implementation, terminal can be by executing step 2041 and step 2042 come replacement step 204。
Step 2041, image recognition is carried out to user interface, obtains text message.
In the embodiment of the present application, terminal can carry out image recognition to user interface, obtain text message, figure herein As identification is the visual picture progress for user interface.
Optionally, for the application for being capable of providing each control of user interface, forms or the respective text message of module, eventually End can also access the application to directly acquire text message.
Step 2042, whether according to preset privacy keyword, it includes privacy information to detect in text message.
In the embodiment of the present application, terminal can according to preset privacy keyword, detect text message in whether include Privacy information.Optionally, privacy keyword can be connected with the text in preset character library in terminal, the text with server To update at any time.For example, privacy keyword may include:Account, name, birthday, address, identification card number, password, verification Code, remaining sum, turnover, flight, train number, message registration, Affiliates List and short message etc..
In alternatively possible realization method, terminal can also replace step by executing step 2043 and step 2044 Rapid 204.
Step 2043, the mark of the page shown in user interface is obtained.
In the embodiment of the present application, terminal can obtain the mark of the page shown in user interface.It should be noted that User interface can include one and the more than one page simultaneously.
Step 2044, by detecting the mark for identifying whether to belong to the preset privacy page of the page, to determine user circle Whether include privacy information in face.
In the embodiment of the present application, terminal can detect the mark for identifying whether to belong to the preset privacy page of the page.
In one possible implementation, when the mark of the page belongs to the mark of the preset privacy page, terminal will Determine that user interface includes privacy information.
In alternatively possible realization method, when the mark of the page is not belonging to the mark of the preset privacy page, eventually End will determine in user interface not include privacy information.
For example, when user interface is provided by applications such as social communication applications, web browser or financing payment applications, use It can show that the different pages, the different pages have different marks in the interface of family.With user interface answered by social activity communication For offer, which can provide Chat page p1, personal information page p2, setting page p3 and news Browsing pages p4, wherein p1 and p2 belongs to the mark of the preset privacy page, and p3 and p4 are not belonging to the mark of the preset privacy page Know.
As it can be seen that in the present embodiment, when showing the page of p1 or p2 in the user interface shown when terminal is in screen locking, eventually End will confirm that in user interface to include privacy information.When the page that terminal is shown does not include p1 and p2, such as p3 or p4 is only shown The page when, terminal will confirm that in user interface do not include privacy information.
Step 205, privacy protection function is enabled.
In one possible implementation, after terminal executes step 201 and step 202, if the first application belongs to hidden Private protection application, then enable privacy protection function.
In alternatively possible realization method, after stage casing executes step 203 and step 204, if being wrapped in user interface Privacy information is included, then enables privacy protection function.
Optionally, privacy protection function can be realized by a system process, service or application.For example, when should When privacy protection function is realized by a system service, enabling privacy protection function, which is then equivalent to, activates the system service, this is System service enters the state for monitoring unlock instruction, so as to when receiving unlock instruction, identify the unlock instruction.Compare again Such as, if the privacy protection function is realized by a system process, enable privacy protection function be equivalent to run the system into Journey, the system process monitor unlock instruction.
Step 206, when terminal receives unlock instruction and has enabled privacy protection function, ambient noise is obtained.
In the embodiment of the present application, terminal can refer in the case where having enabled privacy protection function receiving unlock When enabling, ambient noise is obtained.
Step 207, the target number of target person is obtained, target person is the personnel in terminal surrounding preset range.
It should be noted that the implementation procedure of step 207 is identical with the implementation procedure of step 120, details are not described herein again.
Step 208, sound intensity threshold value is preset when the intensity of sound of ambient noise is less than, and target number is less than preset number When, the user interface of last time lock time display is shown in the screen of terminal.
It should be noted that the implementation procedure of step 208 is identical with the implementation procedure of step 130, details are not described herein again.
In conclusion the present embodiment can obtain the first identifier of the first application, according to first in terminal locking screen Whether mark, the first application of detection belong to secret protection application, and when the first application belongs to secret protection application, and terminal receives When unlock instruction, ambient noise is obtained, the target number of target person is obtained, when the intensity of sound of ambient noise is less than default sound Strong threshold value, and target number be less than preset number when, show in the screen of terminal last time lock time display user interface.It is real The user interface that showed prevents secret protection from applying in terminal unlocking is shown in the environment of staff terminal, reduces privacy guarantor The risk of leakage of private information in shield application, improves the safety of privacy information.
The display methods of user interface provided in this embodiment, additionally it is possible in terminal locking screen, obtain the first application User interface, detect user interface in whether include privacy information, detect user interface in whether include privacy information, when with Family interface includes privacy information, and when terminal receives unlock instruction, obtains ambient noise.Wherein it is possible to by user Whether interface carries out image recognition or obtains the mark of the page shown in user interface, to determine in user interface including hidden Personal letter ceases.The thinner page iden-tity of granularity is obtained due to terminal in the application or the text in interface is obtained by image recognition This so that it is more accurate with the presence or absence of privacy information in application that terminal determines, improves the accuracy of protection user privacy information.
Based on above-described embodiment, the embodiment of the present application can also provide a kind of display methods of user interface, can be at end When the locking of end and when being the same user when unlock, the real process of above-mentioned user interface is executed, following examples are please referred to.
Fig. 3 is referred to, is the flow of the display methods of the user interface of the application another exemplary embodiment offer Figure.Optionally, after terminal can be by executing step 209, step 210, step 211 and step 212, step 207 and step are executed Rapid 208.It should be noted that the present embodiment can regard step 201, step 202 and step 203 as flow one, by step 204, step 205 and step 206 are used as flow two, regard step 209, step 210, step 211 and step 212 as flow three. It can be replaced mutually between above-mentioned flow one, flow two and flow three.Optionally, flow one, flow two and flow three can be down to Two flows are chosen less to combine to realize the display methods of the user interface of the embodiment of the present application.Wherein, step 209, step 210, the implementation procedure of step 211 and step 212 is described below:
Step 209, in terminal locking screen, the image of the first face is obtained by front camera.
In the present embodiment, terminal can obtain the image of the first face by front camera in lock-screen.It should The image of first face is the face in the image that the front camera of terminal acquires at the time of terminal locking screen.
Optionally, the present embodiment can be executed when terminal receives screen locking operation.Since terminal is receiving user's Screen locking operate when, the larger front camera that may face terminal, thus terminal receive screen locking operation execution this implementation Example, can improve the success rate for getting the first face.
Wherein, the first face is that front camera is obtained in terminal locking screen, area is maximum or apart from preposition The nearest face of camera.
Optionally, the embodiment of the present application is in order to obtaining the facial image (i.e. the first face) of terminal user.Therefore, Terminal obtains front camera, the maximum face of area or the confirming face nearest apart from front camera are the first Face.
Optionally, terminal can also using apart from front camera it is nearest and the maximum face of area as the first face.
Step 210, when terminal receives unlock instruction, the image of the second face is obtained by front camera.
In the present embodiment, terminal can obtain the second face when receiving unlock instruction by front camera Image, in the present embodiment, the second face be front camera when terminal receives unlock instruction, the area of acquisition it is maximum or Person's face nearest apart from front camera.
Optionally, the embodiment of the present application is in order to obtaining the facial image (i.e. the second face) of terminal user.Therefore, Terminal obtains front camera, the maximum face of area or the confirming face nearest apart from front camera are the second people Face.
Optionally, terminal can also using apart from front camera it is nearest and the maximum face of area as the second face.
Step 211, the similarity of the first face and the second face is calculated by image recognition.
In the present embodiment, terminal can carry out image recognition to the first face and the second face respectively.Optionally, terminal The characteristics of image that the first face and the second face can be compared, according to the image of the characteristics of image of the first face and the second face spy Similarity between sign determines the similarity between the first face and the second face.
Step 212, when similarity is more than similarity threshold, ambient noise is obtained.
In the present embodiment, terminal is when the similarity between the first face and the second face is more than similarity threshold, eventually End will obtain ambient noise.The process that terminal obtains ambient noise can be found in the identical process in step 110, no longer superfluous herein It states.
Step 207, the target number of target person is obtained, target person is the personnel in terminal surrounding preset range.
Step 208, when the intensity of sound of ambient noise is less than default sound intensity threshold value, and target number is less than preset number When, the user interface of last time lock time display is shown in the screen of terminal.
The implementation procedure of above-mentioned steps 207 and step 208 can respectively referring to the implementation procedure of step 120 and step 130, Details are not described herein again.
In conclusion the display methods of user interface provided in this embodiment, it can be in terminal locking screen, by preceding The image that camera obtains the first face is set, when terminal receives unlock instruction, the second face is obtained by front camera Image, by image recognition calculate the first face and the second face similarity, when similarity be more than similarity threshold when, obtain Ambient noise is taken, the target number of target person is obtained, target person is the personnel in terminal surrounding preset range, when environment is made an uproar The intensity of sound of sound is less than default sound intensity threshold value and when target number is less than preset number, and last time lock show in the screen of terminal The user interface of time display.It is preset since terminal can be higher than in the similarity of terminal locking with the face of user when unlock When threshold value and when user's height may be same people, the target number of ambient noise and target person is detected, it is small in ambient noise When default sound intensity threshold value and target number are less than preset number, show that last time locks the user interface of time display in screen. Therefore, the present embodiment can be ensured of privacy content when user itself sees oneself screen locking, improve the privacy of same user The safety of information.
Following is the application device embodiment, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 4 is the structure diagram of the display device for the user interface that one exemplary embodiment of the application provides.The user The display device at interface can by software, hardware or both be implemented in combination with as terminal all or part of.The dress Set including:
Noise acquisition module 410, for when terminal receives unlock instruction, obtaining ambient noise, the unlock instruction It is that terminal receives the instruction generated when correctly unlock screen operator;
Number acquisition module 420, the target number for obtaining target person, the target person are the terminal surroundings Personnel in preset range;
Interface display module 430, for being less than default sound intensity threshold value, and the mesh when the intensity of sound of the ambient noise When mark number is less than preset number, the user interface of last time lock time display is shown in the screen of the terminal.
In an alternative embodiment, number acquisition module 420, the environment voice for obtaining the terminal surrounding; Speech recognition is carried out to the environment voice, determines the corresponding pronunciation number of the environment voice;The pronunciation number is determined For the target number.
Number acquisition module 420 in an alternative embodiment, for obtaining the terminal by front camera The face number that can be in coverage in front;The face number is determined as the target number.
In an alternative embodiment, noise acquisition module 410, for open the first microphone in the terminal and Second microphone, first microphone and the second microphone are separately mounted to the both sides of the terminal, and described first Mainboard isolation is provided between microphone and the second microphone;The first voice signal is acquired by first microphone, And second sound signal is acquired by the second microphone, first voice signal and the second sound signal time are same Step;First voice signal and the second sound signal are compared, first voice signal and the second sound are obtained The identical target sound signal of signal intermediate frequency rate;The target sound signal is determined as to the voice signal of the ambient noise.
In an alternative embodiment, described device further includes face acquisition module, in the terminal locking screen When curtain, the image of the first face is obtained by the front camera, first face is the front camera described Obtained when terminal locking screen, area maximum or the face nearest apart from the front camera.Noise acquisition module 410, for when the terminal receives the unlock instruction, the figure of second face to be obtained by the front camera Picture, second face are the front cameras when the terminal receives the unlock instruction, the area of acquisition maximum Or the face nearest apart from the front camera;First face and second face are calculated by image recognition Similarity;When the similarity is more than similarity threshold, ambient noise is obtained.
In an alternative embodiment, described device further includes execution module, and the execution module was used at the end When holding lock-screen, the first identifier of the first application is obtained, the user interface of first application is the terminal locking screen When the user interface that shows;According to the first identifier, whether detection first application belongs to secret protection application, described hidden Private protection application is the preset application for licensing to designated user and using in the terminal.Noise acquisition module 410, for working as institute It states the first application and belongs to the secret protection in application, enabling privacy protection function;When terminal receives unlock instruction and has opened When with the privacy protection function, the ambient noise is obtained.
In an alternative embodiment, the execution module obtains described the in the terminal locking screen The user interface of one application;Whether detect in the user interface includes privacy information, the privacy information be include the finger Determine in personal information, proprietary information, account key, consumer record, location information, stroke recording and the communications records of user at least A kind of information.Noise acquisition module 410 belongs to the secret protection in application, enabling privacy for working as first application Defencive function;When terminal receives unlock instruction and has enabled the privacy protection function, the ambient noise is obtained.
In an alternative embodiment, the execution module is obtained for carrying out image recognition to the user interface Text message;Whether according to preset privacy keyword, it includes the privacy information to detect in the text message.
In an alternative embodiment, the execution module, for obtaining the page shown in the user interface Mark;Detect the mark for identifying whether to belong to the preset privacy page of the page;When the mark of the page belongs to described When the mark of the preset privacy page, the user interface includes privacy information;Described in being not belonging to when the mark of the page Do not include privacy information when the mark of the preset privacy page, in the user interface.
Fig. 5 is the structure diagram for the terminal that one exemplary embodiment of the application provides, as shown in figure 5, the terminal includes Processor 510, memory 520, camera 530 and microphone 540.
Optionally, camera 530 may include front camera, can also include rear camera.
Optionally, microphone 540 can be with the first microphone and second microphone.In first microphone in second microphone One can be main microphon, and for receiving the sound in user's communication, voice or recording activity, another microphone is secondary wheat Gram wind, for and main microphon coordinate noise reduction.
In the embodiment of the present application, at least one instruction is stored in the memory 520, described instruction is by the processing Device 510 is loaded and is executed to realize the display methods of the user interface described in as above each embodiment.
Referring to FIG. 6, it is the structure diagram for the terminal 600 that one exemplary embodiment of the application provides.The terminal 600 Can be:Smart mobile phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 600 is also It may be referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 600 includes:Processor 601 and memory 602.
Processor 601 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be used in reason device 601 Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 601 can also include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 601 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 601 can also wrap AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processors are for handling related machine learning Calculating operation.
Memory 602 may include one or more computer readable storage mediums, which can To be non-transient.Memory 602 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 602 can Storage medium is read for storing at least one instruction, at least one instruction is for performed to realize this Shen by processor 601 Please in embodiment of the method provide control screen method.
In some embodiments, terminal 600 is also optional includes:Peripheral device interface 603 and at least one peripheral equipment. It can be connected by bus or signal wire between processor 601, memory 602 and peripheral device interface 603.Each peripheral equipment It can be connected with peripheral device interface 603 by bus, signal wire or circuit board.Specifically, peripheral equipment includes:Radio circuit 604, at least one of touch display screen 605, camera 606, voicefrequency circuit 607, positioning component 608 and power supply 609.
Peripheral device interface 603 can be used for I/O (Input/Output, input/output) is relevant at least one outer Peripheral equipment is connected to processor 601 and memory 602.In some embodiments, processor 601, memory 602 and peripheral equipment Interface 603 is integrated on same chip or circuit board;In some other embodiments, processor 601, memory 602 and outer Any one or two in peripheral equipment interface 603 can realize on individual chip or circuit board, the present embodiment to this not It is limited.
Radio circuit 604 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates Frequency circuit 604 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 604 turns electric signal It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 604 wraps It includes:Antenna system, RF transceivers, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip Group, user identity module card etc..Radio circuit 604 can be carried out by least one wireless communication protocol with other terminals Communication.The wireless communication protocol includes but not limited to:WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, it penetrates Frequency circuit 604 can also include the related circuits of NFC (Near Field Communication, wireless near field communication), this Application is not limited this.
Display screen 605 is for showing UI (User Interface, user interface).The UI may include figure, text, figure Mark, video and its their arbitrary combination.When display screen 605 is touch display screen, display screen 605 also there is acquisition to show The ability of the surface of screen 605 or the touch signal of surface.The touch signal can be used as control signal to be input to processor 601 are handled.At this point, display screen 605 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or Soft keyboard.In some embodiments, display screen 605 can be one, and the front panel of terminal 600 is arranged;In other embodiments In, display screen 605 can be at least two, be separately positioned on the different surfaces of terminal 600 or in foldover design;In still other reality Apply in example, display screen 605 can be flexible display screen, be arranged on the curved surface of terminal 600 or fold plane on.Even, it shows Display screen 605 can also be arranged to non-rectangle irregular figure, namely abnormity screen.LCD (Liquid may be used in display screen 605 Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) Etc. materials prepare.
CCD camera assembly 606 is for acquiring image or video.Optionally, CCD camera assembly 606 include front camera and Rear camera.In general, the front panel in terminal is arranged in front camera, rear camera is arranged at the back side of terminal.One In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting functions or other fusions are clapped Camera shooting function.In some embodiments, CCD camera assembly 606 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, It can also be double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, be can be used for not With the light compensation under colour temperature.
Voicefrequency circuit 607 may include microphone and loud speaker.Microphone is used to acquire the sound wave of user and environment, and will Sound wave, which is converted to electric signal and is input to processor 601, to be handled, or is input to radio circuit 604 to realize voice communication. For stereo acquisition or the purpose of noise reduction, microphone can be multiple, be separately positioned on the different parts of terminal 600.Mike Wind can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker is then used to that processor 601 or radio circuit will to be come from 604 electric signal is converted to sound wave.Loud speaker can be traditional wafer speaker, can also be piezoelectric ceramic loudspeaker.When When loud speaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 607 can also include Earphone jack.
Positioning component 608 is used for the current geographic position of positioning terminal 600, to realize navigation or LBS (Location Based Service, location based service).Positioning component 608 can be the GPS (Global based on the U.S. Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group Part.
Power supply 609 is used to be powered for the various components in terminal 600.Power supply 609 can be alternating current, direct current, Disposable battery or rechargeable battery.When power supply 609 includes rechargeable battery, which can be wired charging electricity Pond or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is by wireless The battery of coil charges.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 600 further include there are one or multiple sensors 610.The one or more sensors 610 include but not limited to:Acceleration transducer 611, gyro sensor 612, pressure sensor 613, fingerprint sensor 614, Optical sensor 615 and proximity sensor 616.
The acceleration that acceleration transducer 611 can detect in three reference axis of the coordinate system established with terminal 600 is big It is small.For example, acceleration transducer 611 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 601 can With the acceleration of gravity signal acquired according to acceleration transducer 611, control touch display screen 605 is regarded with transverse views or longitudinal direction Figure carries out the display of user interface.Acceleration transducer 611 can be also used for game or the acquisition of the exercise data of user.
Gyro sensor 612 can be with the body direction of detection terminal 600 and rotational angle, and gyro sensor 612 can To cooperate with acquisition user to act the 3D of terminal 600 with acceleration transducer 611.Processor 601 is according to gyro sensor 612 Following function may be implemented in the data of acquisition:When action induction (for example changing UI according to the tilt operation of user), shooting Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 605 in terminal 600 can be arranged in pressure sensor 613.Work as pressure The gripping signal that user can be detected in the side frame of terminal 600 to terminal 600 is arranged in sensor 613, by processor 601 Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 613 acquires.When the setting of pressure sensor 613 exists When the lower layer of touch display screen 605, the pressure operation of touch display screen 605 is realized to UI circle according to user by processor 601 Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu At least one of control.
Fingerprint sensor 614 is used to acquire the fingerprint of user, collected according to fingerprint sensor 614 by processor 601 The identity of fingerprint recognition user, alternatively, by fingerprint sensor 614 according to the identity of collected fingerprint recognition user.It is identifying When the identity for going out user is trusted identity, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 601 Include solution lock screen, check encryption information, download software, payment and change setting etc..Terminal can be set in fingerprint sensor 614 600 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 600, fingerprint sensor 614 can be with It is integrated with physical button or manufacturer Logo.
Optical sensor 615 is for acquiring ambient light intensity.In one embodiment, processor 601 can be according to optics The ambient light intensity that sensor 615 acquires controls the display brightness of touch display screen 605.Specifically, when ambient light intensity is higher When, the display brightness of touch display screen 605 is turned up;When ambient light intensity is relatively low, the display for turning down touch display screen 605 is bright Degree.In another embodiment, the ambient light intensity that processor 601 can also be acquired according to optical sensor 615, dynamic adjust The acquisition parameters of CCD camera assembly 606.
Proximity sensor 616, also referred to as range sensor are generally arranged at the front panel of terminal 600.Proximity sensor 616 The distance between front for acquiring user and terminal 600.In one embodiment, when proximity sensor 616 detects use When family and the distance between the front of terminal 600 taper into, touch display screen 605 is controlled from bright screen state by processor 601 It is switched to breath screen state;When proximity sensor 616 detects user and the distance between the front of terminal 600 becomes larger, Touch display screen 605 is controlled by processor 601 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of structure shown in Fig. 6 not structure paired terminal 600, terminal 600 May include either combining certain components than illustrating more or fewer components or being arranged using different components.
The embodiment of the present application also provides a kind of computer-readable medium, which has at least one Instruction, at least one instruction are loaded by the processor and are executed to realize the user interface described in as above each embodiment Display methods.
The embodiment of the present application also provides a kind of computer program product, which is stored at least one Instruction, at least one instruction are loaded by the processor and are executed to realize the user interface described in as above each embodiment Display methods.
It should be noted that:The display device for the user interface that above-described embodiment provides is in the display side for executing user interface It, only the example of the division of the above functional modules, can be as needed and by above-mentioned function in practical application when method Distribution is completed by different function modules, i.e., the internal structure of equipment is divided into different function modules, to complete above retouch The all or part of function of stating.In addition, the record screen device that above-described embodiment provides belongs to same structure with record screen embodiment of the method Think, specific implementation process refers to embodiment of the method, and which is not described herein again.
Above-mentioned the embodiment of the present application serial number is for illustration only, can not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on should be included within the protection domain of the application.

Claims (12)

1. a kind of display methods of user interface, which is characterized in that the method includes:
When terminal receives unlock instruction, ambient noise is obtained, the unlock instruction is that the terminal receives correct solution The instruction that lock screen generates when operating;
The target number of target person is obtained, the target person is the personnel in the terminal surrounding preset range;
When the intensity of sound of the ambient noise is less than default sound intensity threshold value, and the target number is less than preset number, The user interface of last time lock time display is shown in the screen of the terminal.
2. according to the method described in claim 1, it is characterized in that, it is described obtain target person target number, including:
Obtain the environment voice of the terminal surrounding;
Speech recognition is carried out to the environment voice, determines the corresponding pronunciation number of the environment voice;
The pronunciation number is determined as the target number.
3. according to the method described in claim 1, it is characterized in that, it is described obtain target person personnel's number, including:
The face number that can be in coverage in the front of the terminal is obtained by front camera;
The face number is determined as the target number.
4. according to the method described in claim 1, it is characterized in that, described when terminal receives unlock instruction, acquisition environment Noise, including:
Open the first microphone and the second microphone in the terminal, first microphone and second microphone difference Mainboard isolation is provided with mounted on the both sides of the terminal, and between first microphone and the second microphone;
The first voice signal is acquired by first microphone, and second sound signal is acquired by the second microphone, First voice signal and the second sound signal time synchronization;
First voice signal and the second sound signal are compared, first voice signal and the second sound are obtained The identical target sound signal of signal intermediate frequency rate;
The target sound signal is determined as to the voice signal of the ambient noise.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
In the terminal locking screen, the image of the first face is obtained by the front camera, first face is That the front camera is obtained in the terminal locking screen, area is maximum or nearest apart from the front camera Face;
It is described to obtain ambient noise when terminal receives unlock instruction, including:
When the terminal receives the unlock instruction, the image of second face is obtained by the front camera, Second face be the front camera when the terminal receives the unlock instruction, the area of acquisition it is maximum or The face nearest apart from the front camera;
The similarity of first face and second face is calculated by image recognition;
When the similarity is more than similarity threshold, ambient noise is obtained.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
In the terminal locking screen, the first identifier of the first application is obtained, the user interface of first application is described The user interface shown when terminal locking screen;
According to the first identifier, whether detection first application belongs to secret protection application, and the secret protection application is The preset application for licensing to designated user and using in the terminal;
When first application belongs to the secret protection in application, enabling privacy protection function;
It is described to obtain ambient noise when terminal receives unlock instruction, including:
When terminal receives unlock instruction and has enabled the privacy protection function, the ambient noise is obtained.
7. according to the method described in claim 1, it is characterized in that, the method further includes:
In the terminal locking screen, the user interface of first application is obtained;
Whether include privacy information, the privacy information is the personal letter for including the designated user if detecting in the user interface The information of at least one of breath, proprietary information, account key, consumer record, location information, stroke recording and communications records;
When the user interface includes the privacy information, privacy protection function is enabled;
It is described to obtain ambient noise when terminal receives unlock instruction, including:
When terminal receives unlock instruction and has enabled the privacy protection function, the ambient noise is obtained.
8. the method according to the description of claim 7 is characterized in that whether including that privacy is believed in the detection user interface Breath, including:
Image recognition is carried out to the user interface, obtains text message;
Whether according to preset privacy keyword, it includes the privacy information to detect in the text message.
9. the method according to the description of claim 7 is characterized in that whether including that privacy is believed in the detection user interface Breath, including:
Obtain the mark of the page shown in the user interface;
Detect the mark for identifying whether to belong to the preset privacy page of the page;
When the mark of the page belongs to the mark of the preset privacy page, the user interface includes privacy letter Breath;
Do not include privacy when the mark of the page is not belonging to the mark of the preset privacy page, in the user interface Information.
10. a kind of display device of user interface, which is characterized in that described device includes:
Noise acquisition module, for when terminal receives unlock instruction, obtaining ambient noise, the unlock instruction is that terminal connects Receive the instruction generated when correctly unlock screen operator;
Number acquisition module, the target number for obtaining target person, the target person are that the terminal surrounding presets model Enclose interior personnel;
Interface display module, for being less than default sound intensity threshold value, and the target number when the intensity of sound of the ambient noise When less than preset number, the user interface of last time lock time display is shown in the screen of the terminal.
11. a kind of terminal, which is characterized in that the terminal includes processor and memory, is stored at least in the memory One instruction, described instruction are loaded by the processor and are executed to realize the user interface as described in claim 1 to 9 is any Display methods.
12. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, institute in the storage medium Instruction is stated to be loaded by processor and executed to realize the display methods of the user interface as described in claim 1 to 9 is any.
CN201810513549.9A 2018-05-25 2018-05-25 Display methods, device, terminal and the storage medium of user interface Pending CN108804180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810513549.9A CN108804180A (en) 2018-05-25 2018-05-25 Display methods, device, terminal and the storage medium of user interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810513549.9A CN108804180A (en) 2018-05-25 2018-05-25 Display methods, device, terminal and the storage medium of user interface

Publications (1)

Publication Number Publication Date
CN108804180A true CN108804180A (en) 2018-11-13

Family

ID=64091798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810513549.9A Pending CN108804180A (en) 2018-05-25 2018-05-25 Display methods, device, terminal and the storage medium of user interface

Country Status (1)

Country Link
CN (1) CN108804180A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045639A (en) * 2019-12-11 2020-04-21 深圳追一科技有限公司 Voice input method, device, electronic equipment and storage medium
CN112291672A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 Speaker control method, control device and electronic equipment
WO2021057571A1 (en) * 2019-09-29 2021-04-01 华为技术有限公司 Biometric recognition method and electronic device
CN112989292A (en) * 2019-12-17 2021-06-18 中移(成都)信息通信科技有限公司 Interface display method, device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377355A (en) * 2012-04-28 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and peeping proof method and device thereof
CN104834878A (en) * 2015-05-12 2015-08-12 小米科技有限责任公司 Terminal information display method and device
CN107169329A (en) * 2017-05-24 2017-09-15 维沃移动通信有限公司 A kind of method for protecting privacy, mobile terminal and computer-readable recording medium
CN107862189A (en) * 2017-10-26 2018-03-30 广东欧珀移动通信有限公司 Unlocking method and related product
CN108052818A (en) * 2017-12-28 2018-05-18 广东欧珀移动通信有限公司 Using startup method, apparatus, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377355A (en) * 2012-04-28 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and peeping proof method and device thereof
CN104834878A (en) * 2015-05-12 2015-08-12 小米科技有限责任公司 Terminal information display method and device
CN107169329A (en) * 2017-05-24 2017-09-15 维沃移动通信有限公司 A kind of method for protecting privacy, mobile terminal and computer-readable recording medium
CN107862189A (en) * 2017-10-26 2018-03-30 广东欧珀移动通信有限公司 Unlocking method and related product
CN108052818A (en) * 2017-12-28 2018-05-18 广东欧珀移动通信有限公司 Using startup method, apparatus, storage medium and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021057571A1 (en) * 2019-09-29 2021-04-01 华为技术有限公司 Biometric recognition method and electronic device
CN111045639A (en) * 2019-12-11 2020-04-21 深圳追一科技有限公司 Voice input method, device, electronic equipment and storage medium
CN112989292A (en) * 2019-12-17 2021-06-18 中移(成都)信息通信科技有限公司 Interface display method, device and medium
CN112291672A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 Speaker control method, control device and electronic equipment
CN112291672B (en) * 2020-10-30 2023-09-01 维沃移动通信有限公司 Speaker control method, control device and electronic equipment

Similar Documents

Publication Publication Date Title
CN110992493B (en) Image processing method, device, electronic equipment and storage medium
WO2020047868A1 (en) Business processing method and device
CN108804180A (en) Display methods, device, terminal and the storage medium of user interface
CN111159153B (en) Service data verification method, device, computer equipment and storage medium
CN110827820B (en) Voice awakening method, device, equipment, computer storage medium and vehicle
US11386586B2 (en) Method and electronic device for adding virtual item
CN109948586A (en) Method, apparatus, equipment and the storage medium of face verification
CN111241499B (en) Application program login method, device, terminal and storage medium
CN110163160A (en) Face identification method, device, equipment and storage medium
CN109147757A (en) Song synthetic method and device
CN111062248A (en) Image detection method, device, electronic equipment and medium
CN109522863A (en) Ear's critical point detection method, apparatus and storage medium
CN111539795A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN111462742A (en) Text display method and device based on voice, electronic equipment and storage medium
CN110096865A (en) Issue the method, apparatus, equipment and storage medium of verification mode
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN111128115B (en) Information verification method and device, electronic equipment and storage medium
CN109544117A (en) Meeting room information display method, device, terminal, server and storage medium
CN108848405A (en) Image processing method and device
CN110109770A (en) Adjustment method, device, electronic equipment and medium
CN111341317B (en) Method, device, electronic equipment and medium for evaluating wake-up audio data
CN108829582A (en) The method and apparatus of program compatibility
CN108495183A (en) The method and apparatus for showing album information
CN107944024A (en) A kind of method and apparatus of definite audio file
CN110147796A (en) Image matching method and device

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

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication