CN105955684A - Image display method and apparatus - Google Patents

Image display method and apparatus Download PDF

Info

Publication number
CN105955684A
CN105955684A CN201610258454.8A CN201610258454A CN105955684A CN 105955684 A CN105955684 A CN 105955684A CN 201610258454 A CN201610258454 A CN 201610258454A CN 105955684 A CN105955684 A CN 105955684A
Authority
CN
China
Prior art keywords
state
sensor
blocked
terminal
switched
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
CN201610258454.8A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610258454.8A priority Critical patent/CN105955684A/en
Publication of CN105955684A publication Critical patent/CN105955684A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1415Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays

Abstract

The invention discloses an image display method and apparatus, and belongs to the technical field of display. The method comprises the steps of detecting whether a sensor is switched to be in a shielded state from an unshielded state or not; and switching display content of a terminal to a predetermined image when the sensor is switched to be in the shielded state from the unshielded state. The problems of information leakage caused by the fact that the content is easily peeped at by others when being browsed by a user through the terminal and cumbersome operation of switching an interface to shield the display content of the terminal are solved, so that the user can quickly switch the display content to the predetermined image when needing to switch the display interface of the current terminal, the user operation is simplified, and the user privacy is protected to a certain extent.

Description

Method for displaying image and device
Technical field
The present invention relates to Display Technique field, particularly to a kind of method for displaying image and device.
Background technology
Along with expanding economy, the mobile terminal of smart mobile phone, panel computer etc is more and more universal, people The most increasingly get used to using mobile terminal browsing content.
People are using during mobile terminal, often have and are not intended to other people and see the mobile end of oneself The situation of current display interface of end, in this case, people would generally by mobile terminal screen locking, or The front of mobile terminal is overturn and blocks current display interface to getting off.Such as: a certain user is currently in use hands Photo checked by machine, and now bystander sees the mobile phone to this user, and user can be by triggering the screen locking of mobile phone Key is by mobile phone screen locking.
Summary of the invention
In order to user is when using terminal browsing content, is easily peeped by other people and cause information leakage, and switch When the display content of terminal is blocked at interface complex operation problem, disclosure embodiment provides a kind of image Display packing and device.This technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of method for displaying image, the method is applied to set Being equipped with in the terminal of sensor, the method includes:
Whether detection sensor is switched to, by the state of not being blocked, the state of being blocked;
When sensor is switched to by the state of not being blocked and to be blocked state, the display content of terminal is switched to Predetermined image.
Optionally, predetermined image is the image that terminal shows when screen locking.
Optionally, after the display content of terminal is switched to predetermined image, also include:
Whether detection sensor is switched to, by the state of being blocked, the state of not being blocked;
When sensor is switched to by the state of being blocked and not to be blocked state, hide predetermined image, display display Content.
Optionally, before the display content of terminal is switched to predetermined image, also include:
Whether detection display content includes sensitive information;
When showing that content includes sensitive information, trigger and perform the display content of terminal is switched to predetermined image Step.
Optionally, the display content of terminal is switched to predetermined image, including:
From four edges of the display interface of terminal, any one edge skids off predetermined image, four edge bags Include top edge, lower limb, left hand edge and right hand edge.
Optionally, whether detection sensor is switched to, by the state of not being blocked, the state of being blocked, including:
When sensor is ambient light sensor, whether the brightness value that detection ambient light sensor records is by first Brightness value switches to the second brightness value;
When sensor is close to optical sensor, whether detect close to the receiving terminal of optical sensor by not receiving The state of reflected signal switches to the state receiving reflected signal;
When sensor includes ambient light sensor and during close to optical sensor, detection ambient light sensor records Whether brightness value is switched to the second brightness value by the first brightness value, and close to optical sensor receiving terminal whether by The state not receiving reflected signal switches to the state receiving reflected signal;
Wherein, the first brightness value is more than predetermined threshold, and the second brightness value is less than predetermined threshold;Reflected signal is Close to optical sensor transmitting terminal launch signal be blocked thing reflection after formed signal.
Optionally, this terminal includes that front-facing camera, sensor are arranged in the daylighting region of front-facing camera.
Second aspect according to disclosure embodiment, it is provided that a kind of image display device, this device is applied to set Being equipped with in the terminal of sensor, this device includes:
First detection module, is configured to detect whether sensor is switched to, by the state of not being blocked, the shape that is blocked State;
First display module, is configured as first detection module and detects that sensor is cut by the state of not being blocked Be changed to be blocked state time, the display content of terminal is switched to predetermined image.
Optionally, predetermined image is the image that terminal shows when screen locking.
Optionally, this device also includes:
Second detection module, is configured to detect whether sensor is switched to, by the state of being blocked, the shape that is not blocked State;
Second display module, is configured as the second detection module and detects that sensor is by the state switching that is blocked For be not blocked state time, hide predetermined image, display display content.
Optionally, this device also includes:
3rd detection module, is configured to whether detection display content includes sensitive information;
Trigger module, is configured as the 3rd detection module and detects when display content includes sensitive information, touch Send out the step performing that the display content of terminal is switched to predetermined image.
Optionally, the first display module, it is additionally configured to four edges of the display interface from terminal arbitrarily One edge skids off predetermined image, and four edges include top edge, lower limb, left hand edge and right hand edge.
Optionally, first detection module includes:
Brightness detection sub-module, is configured as sensor when being ambient light sensor, detects ambient light sensing Whether the brightness value that device records is switched to the second brightness value by the first brightness value;
Signal detection submodule, be configured as sensor for close to optical sensor time, detection connect photosensor Whether the receiving terminal of device is switched to the state receiving reflected signal by the state not receiving reflected signal;
Comprehensive detection submodule, is configured as sensor and includes ambient light sensor and during close to optical sensor, Whether the brightness value that detection ambient light sensor records is switched to the second brightness value by the first brightness value, and close Whether the receiving terminal of optical sensor is switched to the shape receiving reflected signal by the state not receiving reflected signal State;
Wherein, the first brightness value is more than predetermined threshold, and the second brightness value is less than predetermined threshold;Reflected signal is Close to optical sensor transmitting terminal launch signal be blocked thing reflection after formed signal.
Optionally, this terminal includes that front-facing camera, sensor are arranged in the daylighting region of front-facing camera.
The third aspect according to disclosure embodiment, it is provided that a kind of image display device, this device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
Whether detection sensor is switched to, by the state of not being blocked, the state of being blocked;
When sensor is switched to by the state of not being blocked and to be blocked state, the display content of terminal is switched to Predetermined image.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Whether the state being blocked is switched to determine whether to need by the state not being blocked by detection sensor The display content of terminal switched to predetermined image, to be hidden when sensor is switched to by the state not being blocked During the state kept off, the display interface of terminal is switched to predetermined image, thus solves user and use terminal clear Look at content time, easily peeped by other people and cause information leakage, and interface switching block terminal display content behaviour Make loaded down with trivial details problem so that user can be switched fast as in advance when needing the display interface switching present terminal Determine image, simplify user operation, protect the privacy of user to a certain extent.
Additionally, also by ambient light sensor with whether contact optical sensor joint-detection sensor by blocking shape State switches to the state of being blocked, it is to avoid terminal switches the problem of display interface mistakenly because of environmental change, Reach the effect of the accuracy improving switching.
Additionally, whether include sensitive information also by detection display content, when the content of display includes sensitive letter During breath, the display content of terminal is switched to predetermined image, both can improve the safety of display sensitive information, Can also avoid because the maloperation of user triggers display content switching, the problem affecting user's experience.
Additionally, whether replaced with, by the state of being blocked, the state of not being blocked also by detection sensor, reach not Need the operation that user is extra, it is achieved predetermined image and the switching of display content, simplify user operation, raising The effect of property easy to use.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not Limit the disclosure.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the method for displaying image that the disclosure one exemplary embodiment provides;
Fig. 2 is the flow chart of the method for displaying image that disclosure another exemplary embodiment provides;
Fig. 3 is the enforcement schematic diagram of the method for displaying image that disclosure another exemplary embodiment provides;
Fig. 4 is the structural representation of the image display device that the disclosure one exemplary embodiment provides;
Fig. 5 is the structural representation of the image display device that disclosure another exemplary embodiment provides;
Fig. 6 is the block diagram of a kind of image display device shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches 15 Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure Formula.On the contrary, they only with describe in detail in appended claims, the disclosure some in terms of mutually one The example of the apparatus and method caused.
Refer to Fig. 1, it illustrates the flow process of the method for displaying image that one exemplary embodiment of the disclosure provides Figure.This message display method is be applicable to the terminal being provided with sensor.As it is shown in figure 1, this image shows Method may comprise steps of:
In a step 101, whether detection sensor is switched to, by the state not being blocked, the state being blocked.
Optionally, ambient light sensor during sensor is provided in terminal or close to optical sensor.
In a step 102, when sensor is switched to by the state of not being blocked and to be blocked state, by terminal Display content switches to predetermined image.
In sum, the method for displaying image that disclosure embodiment is provided, by detection sensor whether by The state not being blocked switches to the method for the state being blocked to determine the need for the display content of terminal Switch to predetermined image, when sensor is switched to, by the state not being blocked, the state being blocked, by terminal Display interface switch to predetermined image, thus solve user when using terminal browsing content, easily by him People peeps and causes information leakage, and interface switching blocks the problem that content operation is loaded down with trivial details that shows of terminal so that User can be switched fast as predetermined image when needing the display interface switching present terminal, simplifies user Operation.
Refer to Fig. 2, it illustrates the method for displaying image that another exemplary embodiment of the disclosure provides.Should Message display method is be applicable to the terminal being provided with sensor.As in figure 2 it is shown, this method for displaying image can To comprise the following steps:
In step 201, whether detection sensor is switched to, by the state of not being blocked, the state of being blocked.
Optionally, terminal includes that front-facing camera, sensor are arranged in the daylighting region of front-facing camera.
Optionally, ambient light sensor during sensor is provided in terminal or close to optical sensor.
Whether detection sensor is switched to, by the state of not being blocked, the state of being blocked, and has following several implementation:
One, when sensor is ambient light sensor, the detection brightness value that records of ambient light sensor whether by First brightness value switches to the second brightness value.
Wherein, the first brightness value is more than predetermined threshold, and the second brightness value is less than predetermined threshold.
It is less than predetermined threshold more than predetermined threshold, the second brightness value, it is known that the second brightness value by the first brightness value Less than the first brightness value.When the first brightness value switches to the second brightness value, it is believed that ambient light sensor It is blocked.
Optionally, predetermined threshold is the brightness value pre-set.
Optionally, the first brightness value is the brightness value of ambient light of present terminal place environment.
Optionally, predetermined threshold is relevant, such as with the brightness value of the ambient light of present terminal place environment: pre- Determine threshold value linear with the brightness value of the ambient light of present terminal place environment, predetermined threshold=present terminal The brightness value-20 of the ambient light of place environment.
Two, when sensor is close to optical sensor, whether detect close to the receiving terminal of optical sensor by not connecing The state receiving reflected signal switches to the state receiving reflected signal.
Wherein, reflected signal be close to optical sensor transmitting terminal launch signal be blocked thing reflection after formed Signal.
Close to the transmitting terminal in optical sensor to emission signal, if be blocked close to optical sensor, then send out Penetrate end launch signal can be blocked thing reflection, formed directive receiving terminal reflected signal, when connecing photosensor When the receiving terminal of device is switched to, by the state not receiving reflected signal, the state receiving reflected signal, permissible Think and be blocked close to optical sensor.
Three, include ambient light sensor when sensor and during close to optical sensor, detection ambient light sensor is surveyed Brightness value whether switched to the second brightness value by the first brightness value, and close to the receiving terminal of optical sensor be No switch to the state of reflected signal of receiving by not receiving the state launching signal;
Wherein, the first brightness value is more than predetermined threshold, and the second brightness value is less than predetermined threshold;Reflected signal is Close to optical sensor transmitting terminal launch signal be blocked thing reflection after formed signal.
In order to avoid terminal moves to dark environment from brighter environment, i.e. meet ambient light sensor and record Brightness value switched to the second brightness value by the first brightness value, but the situation that sensor is not actually blocked, Can be combined with whether the receiving terminal close to optical sensor is switched to reception by the state not receiving transmitting signal State to reflected signal judges whether sensor is blocked, and whether meets brightness value by first the most simultaneously Brightness value switches to the second brightness value, and, the receiving terminal close to optical sensor launches signal by not receiving State switches to the state receiving reflected signal, can determine that sensor is blocked.
When detect sensor switched to by the state of not being blocked be blocked state time, perform step 202.
It should be noted that ordinal numbers such as " one ", " two ", " three " that mentions in the embodiment of the present invention, remove Its meaning that expression is suitable really of not according to context is it should be understood that be only that differentiation is used.
In step 202., when sensor is switched to by the state of not being blocked and to be blocked state, detection display Whether content includes sensitive information.
Optionally, sensitive information include terminal unlocking password, payment account i.e. payment cipher, social account number and In content in its login password, the message of particular contact, application-specific, specific vocabulary at least A kind of.
When the display content of terminal includes sensitive information, user is often not intended to be seen, such as by other people: User inputs payment cipher, and now bystander sees the display interface of user, and user wishes to block and works as Front display interface;And when the display content of user does not includes sensitive information, it is likely to be due to the maloperation of user Blocking sensor, if now the display content of terminal being switched to predetermined image, then may affect user Current experience, therefore, before switching to predetermined image by the display content of terminal, it is also possible to inspection Survey whether display content includes sensitive information.
When showing that content includes sensitive information, perform step 203.
In step 203, from four edges of the display interface of terminal, any one edge skids off predetermined figure Picture, four edges include top edge, lower limb, left hand edge and right hand edge.
Predetermined image is skidded off, eventually from the top edge of the display interface of terminal or lower limb or left hand edge or right hand edge The predetermined image that the display content of end is skidded off covers.
Optionally, predetermined image is the image that terminal shows when screen locking.When the predetermined image of display is terminal During the image now shown when screen locking, other people can be made to think, and this terminal is in screen lock state.
Optionally, predetermined image is when sensor is switched to by the state of not being blocked and to be blocked state, terminal Obtain current date, time, weather, locking screen interface shows when being in screen lock state icon and icon Position, then by the current date got, time, weather, be in screen lock state time locking screen interface show Icon and the position of icon add previously selected image to after the image that generates.
Optionally, predetermined image is the image of black.When the image that predetermined image is black of display, can So that other people think that this terminal is in holding state.
As it is shown on figure 3, input display interface during payment cipher for user on the left of in figure, when user sends out Existing people, when stealing a glance at the payment cipher oneself inputted, blocks sensor, by the display content of this terminal The image of display when replacing with screen locking, as shown in right side in Fig. 3.
In step 204, whether detection sensor is switched to, by the state of being blocked, the state of not being blocked.
Whether detection sensor is switched to the state of not being blocked can be realized by following manner by the state of being blocked:
One, when sensor is ambient light sensor, whether the brightness value of detection ambient light sensor side is by the Two brightness values switch to the first brightness value.
Wherein, the second brightness value is less than predetermined threshold, and the first brightness value is more than predetermined threshold.
Two, when sensor is close to optical sensor, whether detect close to the receiving terminal of optical sensor by receiving State to reflected signal switches to the state not receiving reflected signal.
Wherein, reflected signal be close to optical sensor transmitting terminal launch signal be blocked thing reflection after formed Signal.
Three, include ambient light sensor when sensor and during close to optical sensor, detect ambient light sensor side Brightness value whether switched to the first brightness value by the second brightness value, and close to optical sensor receiving terminal whether The state not receiving reflected signal is switched to by the state receiving reflected signal.
Wherein, the second brightness value is less than predetermined threshold, and the first brightness value is more than predetermined threshold;Reflected signal is Close to optical sensor transmitting terminal launch signal be blocked thing reflection after formed signal.
It should be noted that ordinal numbers such as " one ", " two ", " three " that mentions in the embodiment of the present invention, remove Its meaning that expression is suitable really of not according to context is it should be understood that be only that differentiation is used.
In step 205, when sensor is switched to by the state of being blocked and not to be blocked state, hide predetermined Image, display display content.
Optionally, the display content before the display content of display is scheduled image switching.Such as: user Sending short messages with particular contact, have other people to steal a glance at the content that user edits, user blocks sensing with hands Device, the display content of terminal switches to predetermined image, and after having spent several seconds, user removes the hands blocking sensor, Predetermined image is hidden, the content of pages that display user sends short messages with particular contact.
In sum, the method for displaying image that disclosure embodiment is provided, use detection sensor whether by The state not being blocked switches to the method for the state being blocked to determine the need for the display content of terminal Switch to predetermined image, when sensor is switched to, by the state not being blocked, the state being blocked, by terminal Display interface switch to predetermined image, thus solve user when using terminal browsing content, easily by him People peeps and causes information leakage, and interface switching blocks the problem that content operation is loaded down with trivial details that shows of terminal so that User can be switched fast as predetermined image when needing the display interface switching present terminal, simplifies user Operation, protects the privacy of user to a certain extent.
Additionally, the method for displaying image that disclosure embodiment is provided, also by ambient light sensor with contact Whether optical sensor joint-detection sensor switched to, by occlusion state, the state of being blocked, it is to avoid terminal because Environmental change and switch the problem of display interface mistakenly, reached to improve the effect of accuracy of switching.
Additionally, the method for displaying image that disclosure embodiment is provided, whether wrap also by detection display content Include sensitive information, when the content of display includes sensitive information, the display content of terminal is switched to predetermined figure Picture, both can improve the safety of display sensitive information, it is also possible to avoid because the maloperation of user triggers aobvious Show that content switches, the problem affecting user's experience.
Additionally, the method for displaying image that disclosure embodiment is provided, also by detection sensor whether by quilt Occlusion state replaces with the state of not being blocked, and reaches to need not the operation that user is extra, it is achieved predetermined image and The switching of display content, simplifies user operation, improves the effect of property easy to use.
Following for disclosure device embodiment, may be used for performing method of disclosure embodiment.For the disclosure The details not disclosed in device embodiment, refer to method of disclosure embodiment.
Refer to Fig. 4, it illustrates the structure of the image display device that one exemplary embodiment of the disclosure provides Figure.This image display device, can pass through software, hardware or both be implemented in combination with become above-mentioned and carry All or part for the terminal of image display device method.This device includes:
Whether first detection module 410, be configured to detect sensor and switched to by the state of not being blocked and be blocked State.
First display module 420, is configured to first detection module 410 and detects when sensor is by not being blocked State switches to when being blocked state, and the display content of terminal is switched to predetermined image.
In sum, the image display device that disclosure embodiment is provided, use detection sensor whether by The state not being blocked switches to the method for the state being blocked to determine the need for the display content of terminal Switch to predetermined image, when sensor is switched to, by the state not being blocked, the state being blocked, by terminal Display interface switch to predetermined image, thus solve user when using terminal browsing content, easily by him People peeps and causes information leakage, and interface switching blocks the problem that content operation is loaded down with trivial details that shows of terminal so that User can be switched fast as predetermined image when needing the display interface switching present terminal, simplifies user Operation, protects the privacy of user to a certain extent.
Refer to Fig. 5, it illustrates the knot of the image display device that another exemplary embodiment of the disclosure provides Composition.This image display device, can pass through software, hardware or both be implemented in combination with become above-mentioned can The all or part of the terminal of image display device method is provided.This device includes:
Whether first detection module 510, be configured to detect sensor and switched to by the state of not being blocked and be blocked State.
First display module 520, is configured as first detection module 510 and detects that sensor is by not being blocked State switches to when being blocked state, and the display content of terminal is switched to predetermined image.
Optionally, predetermined image is the image that terminal shows when screen locking.
Optionally, this device also includes:
Whether the second detection module 530, be configured to detect sensor and switched to by the state of being blocked and be not blocked State.
Second display module 540, is configured as the second detection module 530 and detects that sensor is by the shape that is blocked State switches to when not being blocked state, hides predetermined image, display display content.
Optionally, this device also includes:
3rd detection module 550, is configured to whether detection display content includes sensitive information.
Trigger module 560, is configured as the 3rd detection module 550 and detects that display content includes sensitive information Time, trigger the step performing that the display content of terminal is switched to predetermined image
Optionally, the first display module 520, it is additionally configured to four edges of the display interface from terminal appoint An edge of anticipating skids off predetermined image, and four edges include top edge, lower limb, left hand edge and right hand edge.
Optionally, first detection module 510 includes:
Brightness detection sub-module 511, is configured as sensor when being ambient light sensor, and detection ambient light passes Whether the brightness value that sensor records is switched to the second brightness value by the first brightness value;
Signal detection submodule 512, be configured as sensor for close to optical sensor time, detect close to light pass Whether the receiving terminal of sensor is switched to the state receiving reflected signal by the state not receiving reflected signal;
Comprehensive detection submodule 513, is configured as sensor and includes ambient light sensor and close to optical sensor Time, whether the brightness value that detection ambient light sensor records is switched to the second brightness value by the first brightness value, and Whether the receiving terminal close to optical sensor is switched to by the state not receiving reflected signal and receives reflected signal State;
Wherein, the first brightness value is more than predetermined threshold, and the second brightness value is less than predetermined threshold;Reflected signal is Close to optical sensor transmitting terminal launch signal be blocked thing reflection after formed signal.
Optionally, this terminal includes that front-facing camera, sensor are arranged in the daylighting region of front-facing camera.
In sum, the method for displaying image that disclosure embodiment is provided, by detection sensor whether by The state not being blocked switches to the state being blocked to determine the need for the display content of terminal and switches to Predetermined image, when sensor is switched to, by the state not being blocked, the state being blocked, by the display of terminal Changing interface is predetermined image, thus solves user when using terminal browsing content, is easily peeped by other people Cause information leakage, and interface switching blocks the problem that content operation is loaded down with trivial details that shows of terminal so that Yong Huneng Enough it is switched fast when needing the display interface switching present terminal as predetermined image, simplifies user operation, Protect the privacy of user to a certain extent.
Additionally, the image display device that disclosure embodiment is provided, also by ambient light sensor with contact Whether optical sensor joint-detection sensor switched to, by occlusion state, the state of being blocked, it is to avoid terminal because Environmental change and switch the problem of display interface mistakenly, reached to improve the effect of accuracy of switching.
Additionally, the image display device that disclosure embodiment is provided, whether wrap also by detection display content Include sensitive information, when the content of display includes sensitive information, the display content of terminal is switched to predetermined figure Picture, both can improve the safety of display sensitive information, it is also possible to avoid because the maloperation of user triggers aobvious Show that content switches, the problem affecting user's experience.
Additionally, the image display device that disclosure embodiment is provided, also by detection sensor whether by quilt Occlusion state replaces with the state of not being blocked, and reaches to need not the operation that user is extra, it is achieved predetermined image and The switching of display content, simplifies user operation, improves the effect of property easy to use.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation relevant The embodiment of the method is described in detail, explanation will be not set forth in detail herein.
The disclosure one exemplary embodiment provides a kind of image display device, it is possible to realize what the disclosure provided Location acquiring method, this image display device includes:
Processor, for storing the memorizer of processor executable;
Wherein, processor is configured to:
Whether detection sensor is switched to, by the state of not being blocked, the state of being blocked;
When sensor is switched to by the state of not being blocked and to be blocked state, the display content of terminal is switched to Predetermined image.
Fig. 6 is the block diagram according to a kind of image display device shown in an exemplary embodiment.Such as, device 600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat Board device, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, device 600 can include following one or more assembly: processes assembly 602, memorizer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, input/output (I/O) interface 612, Sensor cluster 614, and communications component 616, image recognition assembly 617.
Process assembly 602 and generally control the integrated operation of device 600, such as with display, call, number The operation being associated according to communication, camera operation and record operation.Process assembly 602 and can include one or many Individual processor 618 performs instruction, to complete all or part of step of above-mentioned method.Additionally, process Assembly 602 can include one or more module, it is simple to process between assembly 602 and other assemblies is mutual. Such as, process assembly 602 and can include multi-media module, to facilitate multimedia groupware 608 and to process assembly Mutual between 602.
Memorizer 604 is configured to store various types of data to support the operation at device 600.These The example of data includes any application program for operation on device 600 or the instruction of method, contact person Data, telephone book data, message, picture, video etc..Memorizer 604 can be by any kind of volatile Property or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), Programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, Disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can include electricity Management system, one or more power supplys, and other generate, manage and distribute electric power phase with for device 600 The assembly of association.
The screen of one output interface of offer that multimedia groupware 608 is included between device 600 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen Curtain includes that touch panel, screen may be implemented as touch screen, to receive the input signal from user.Touch Touch panel and include that one or more touch sensor is with the gesture on sensing touch, slip and touch panel.Touch Touch sensor and can not only sense touch or the border of sliding action, but also detect and touch or slide Relevant persistent period and pressure.In certain embodiments, multimedia groupware 608 includes a preposition shooting Head and/or post-positioned pick-up head.When device 600 is in operator scheme, during such as screening-mode or video mode, front Put photographic head and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and rearmounted Photographic head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to output and/or input audio signal.Such as, audio-frequency assembly 610 includes One mike (MIC), when device 600 is in operator scheme, such as call model, logging mode and voice During recognition mode, mike is configured to receive external audio signal.The audio signal received can be entered One step is stored in memorizer 604 or sends via communications component 616.In certain embodiments, audio-frequency assembly 610 also include a speaker, are used for exporting audio signal.
I/O interface 612 provides interface, above-mentioned peripheral interface for processing between assembly 602 and peripheral interface module Module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, sound Amount button, start button and locking press button.
Sensor cluster 614 includes one or more sensor, for providing various aspects for device 600 State estimation.Such as, what sensor cluster 614 can detect device 600 opens/closed mode, assembly Relative localization, such as assembly is display and the keypad of device 600, and sensor cluster 614 is all right Detection the device 600 or position change of 600 1 assemblies of device, existence that user contacts with device 600 or Do not exist, device 600 orientation or acceleration/deceleration and the variations in temperature of device 600.Sensor cluster 614 can To include proximity transducer, it is configured to when there is no any physical contact object near detecting. Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, is used for becoming Use as in application.In certain embodiments, this sensor cluster 614 can also include acceleration transducer, Gyro sensor, Magnetic Sensor, pressure transducer, temperature sensor, ambient light sensor, close to light Sensor.
Communications component 616 is configured to facilitate the logical of wired or wireless mode between device 600 and other equipment Letter.Device 600 can access wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or they Combination.In one exemplary embodiment, communications component 616 receives wide from outside via broadcast channel The broadcast singal of broadcast management system or broadcast related information.In one exemplary embodiment, communications component 616 Also include near-field communication (NFC) module, to promote junction service.Such as, can be based on penetrating in NFC module Frequency identifies (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, indigo plant Tooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real Existing, it is used for performing above-mentioned method for displaying image.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instruction is additionally provided Matter, such as, include the memorizer 604 of instruction, and above-mentioned instruction can be performed by the processor 618 of device 600 with complete Become above-mentioned method for displaying image.Such as, non-transitory computer-readable recording medium can be ROM, random Access memorizer (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to these public affairs Other embodiment opened.The application is intended to any modification, purposes or the adaptations of the disclosure, These modification, purposes or adaptations are followed the general principle of the disclosure and include that the disclosure is not disclosed Common knowledge in the art or conventional techniques means.Description and embodiments is considered only as exemplary , the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to accurate knot described above and illustrated in the accompanying drawings Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by appended Claim limits.

Claims (15)

1. a method for displaying image, it is characterised in that in the terminal being provided with sensor, described side Method includes:
Detect whether described sensor is switched to, by the state of not being blocked, the state of being blocked;
When described sensor is blocked state described in the described state of not being blocked switches to, by described terminal Display content switch to predetermined image.
Method the most according to claim 1, it is characterised in that described predetermined image is that described terminal exists The image of display during screen locking.
Method the most according to claim 1, it is characterised in that described by the display content of described terminal After switching to predetermined image, also include:
Detect described sensor whether not to be blocked described in the described state of being blocked switches to state;
When described sensor is not blocked state described in the described state of being blocked switches to, hide described pre- Determine image, show described display content.
Method the most according to claim 1, it is characterised in that described by the display content of described terminal Before switching to predetermined image, also include:
Detect whether described display content includes sensitive information;
When described display content includes described sensitive information, trigger execution described by the display of described terminal Hold the step switching to predetermined image.
Method the most according to claim 1, it is characterised in that described by the display content of described terminal Switch to predetermined image, including:
From four edges of the display interface of described terminal, any one edge skids off described predetermined image, institute State four edges and include top edge, lower limb, left hand edge and right hand edge.
6. according to the arbitrary described method of claim 1 to 5, it is characterised in that the described sensing of described detection Whether device is switched to, by the state of not being blocked, the state of being blocked, including:
When described sensor is ambient light sensor, detecting the brightness value that described ambient light sensor records is No switched to the second brightness value by the first brightness value;
When described sensor is close to optical sensor, detect the described receiving terminal close to optical sensor whether by The state not receiving reflected signal switches to the state receiving described reflected signal;
When described sensor includes ambient light sensor and during close to optical sensor, detect described ambient light sensing Whether the brightness value that device records is switched to the second brightness value by the first brightness value, and described close to optical sensor Whether receiving terminal is switched to the state receiving described reflected signal by the state not receiving reflected signal;
Wherein, described first brightness value is more than predetermined threshold, and described second brightness value is less than described predetermined threshold; Described reflected signal is that the signal that the described transmitting terminal close to optical sensor is launched is blocked after thing reflection and is formed Signal.
Method the most according to claim 6, it is characterised in that described terminal includes front-facing camera, Described sensor is arranged in the daylighting region of described front-facing camera.
8. an image display device, it is characterised in that in the terminal being provided with sensor, described dress Put and include:
Whether first detection module, be configured to detect described sensor and switched to by the state of not being blocked and hidden Gear state;
First display module, be configured as described first detection module detect described sensor by described not The state of being blocked switch to described in be blocked state time, the display content of described terminal is switched to predetermined image.
Device the most according to claim 8, it is characterised in that described predetermined image is that described terminal exists The image of display during screen locking.
Device the most according to claim 8, it is characterised in that described device also includes:
Second detection module, is configured to detect whether described sensor is switched to institute by the described state of being blocked State the state of not being blocked;
Second display module, is configured as described second detection module and detects that described sensor is by described quilt Occlusion state switch to described in be not blocked state time, hide described predetermined image, show described display content.
11. devices according to claim 8, it is characterised in that described device also includes:
3rd detection module, is configured to detect whether described display content includes sensitive information;
Trigger module, being configured as described 3rd detection module, to detect that described display content includes described quick During sense information, trigger and perform the described step that the display content of described terminal is switched to predetermined image.
12. devices according to claim 8, it is characterised in that described first display module, go back quilt It is configured to any one edge four edges of the display interface from described terminal and skids off described predetermined image, Described four edges include top edge, lower limb, left hand edge and right hand edge.
13. according to Claim 8 to 12 arbitrary described methods, it is characterised in that described first detection mould Block includes:
Brightness detection sub-module, is configured as described sensor when being ambient light sensor, detects described ring Whether the brightness value that border optical sensor records is switched to the second brightness value by the first brightness value;
Signal detection submodule, is configured as described sensor for during close to optical sensor, connects described in detection Whether the receiving terminal of photosensors is switched to by the state not receiving reflected signal and receives described reflection letter Number state;
Comprehensive detection submodule, is configured as described sensor and includes ambient light sensor and connect photosensor During device, detect whether the brightness value that described ambient light sensor records is switched to the second brightness by the first brightness value It is worth, and whether the described receiving terminal close to optical sensor is switched to reception by the state not receiving reflected signal State to described reflected signal;
Wherein, described first brightness value is more than predetermined threshold, and described second brightness value is less than described predetermined threshold; Described reflected signal is that the signal that the described transmitting terminal close to optical sensor is launched is blocked after thing reflection and is formed Signal.
14. methods according to claim 13, it is characterised in that described terminal includes front-facing camera, Described sensor is arranged in the daylighting region of described front-facing camera.
15. 1 kinds of image display devices, it is characterised in that described device includes:
Processor;
For storing the memorizer of described processor executable;
Wherein, described processor is configured to:
Detect whether described sensor is switched to, by the state of not being blocked, the state of being blocked;
When described sensor is blocked state described in the described state of not being blocked switches to, by described terminal Display content switch to predetermined image.
CN201610258454.8A 2016-04-22 2016-04-22 Image display method and apparatus Pending CN105955684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610258454.8A CN105955684A (en) 2016-04-22 2016-04-22 Image display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610258454.8A CN105955684A (en) 2016-04-22 2016-04-22 Image display method and apparatus

Publications (1)

Publication Number Publication Date
CN105955684A true CN105955684A (en) 2016-09-21

Family

ID=56916664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610258454.8A Pending CN105955684A (en) 2016-04-22 2016-04-22 Image display method and apparatus

Country Status (1)

Country Link
CN (1) CN105955684A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315937A (en) * 2017-06-08 2017-11-03 努比亚技术有限公司 A kind of method for secret protection, mobile terminal and computer-readable recording medium
WO2018145639A1 (en) * 2017-02-10 2018-08-16 Youku Internet Technology (Beijing) Co., Ltd. Method and apparatus for controlling interface display
CN109040442A (en) * 2018-07-25 2018-12-18 北京小米移动软件有限公司 Forbid display methods, device and terminal
CN111580730A (en) * 2020-04-29 2020-08-25 掌阅科技股份有限公司 Background display method of application program, electronic device and storage medium
CN113849148A (en) * 2021-10-15 2021-12-28 西安科芮智盈信息技术有限公司 Picture display method and device, display equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070108279A1 (en) * 2005-11-14 2007-05-17 A-Men Technology Corporation Unfold smart-card card reader
CN103809870A (en) * 2014-03-17 2014-05-21 联想(北京)有限公司 Information processing method and information processing device
CN104050422A (en) * 2014-06-10 2014-09-17 腾讯科技(深圳)有限公司 Method and device for displaying information content
CN104615940A (en) * 2014-10-27 2015-05-13 腾讯科技(深圳)有限公司 Sensitive information displaying method and device
CN105404833A (en) * 2015-10-23 2016-03-16 广东小天才科技有限公司 Personal privacy protection method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070108279A1 (en) * 2005-11-14 2007-05-17 A-Men Technology Corporation Unfold smart-card card reader
CN103809870A (en) * 2014-03-17 2014-05-21 联想(北京)有限公司 Information processing method and information processing device
CN104050422A (en) * 2014-06-10 2014-09-17 腾讯科技(深圳)有限公司 Method and device for displaying information content
CN104615940A (en) * 2014-10-27 2015-05-13 腾讯科技(深圳)有限公司 Sensitive information displaying method and device
CN105404833A (en) * 2015-10-23 2016-03-16 广东小天才科技有限公司 Personal privacy protection method and apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018145639A1 (en) * 2017-02-10 2018-08-16 Youku Internet Technology (Beijing) Co., Ltd. Method and apparatus for controlling interface display
US10425807B2 (en) 2017-02-10 2019-09-24 Youku Internet Technology (Beijing) Co., Ltd. Method and apparatus for controlling interface display
CN107315937A (en) * 2017-06-08 2017-11-03 努比亚技术有限公司 A kind of method for secret protection, mobile terminal and computer-readable recording medium
CN109040442A (en) * 2018-07-25 2018-12-18 北京小米移动软件有限公司 Forbid display methods, device and terminal
CN111580730A (en) * 2020-04-29 2020-08-25 掌阅科技股份有限公司 Background display method of application program, electronic device and storage medium
CN111580730B (en) * 2020-04-29 2021-04-02 掌阅科技股份有限公司 Background display method of application program, electronic device and storage medium
CN113849148A (en) * 2021-10-15 2021-12-28 西安科芮智盈信息技术有限公司 Picture display method and device, display equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10706173B2 (en) Method and device for displaying notification information
EP3413549B1 (en) Method and device for displaying notification information
CN107436784B (en) Floating window display method and device
CN102467462B (en) Method for protecting data stored in device and corresponding device
CN107025419B (en) Fingerprint template inputting method and device
CN109557999B (en) Bright screen control method and device and storage medium
CN106527883B (en) Content sharing method and device and terminal
CN106156561B (en) Application locking method, application unlocking method and device
CN105955684A (en) Image display method and apparatus
CN106231419A (en) Operation performs method and device
CN105956486B (en) Long-range control method and device
EP3179397A1 (en) Methods and devices for managing automatic parallel login and logout in several applications
CN105472303A (en) Privacy protection method and apparatus for video chatting
CN106210238B (en) Short message storage method and device
CN105099878A (en) Information display method, device and terminal
CN107147815B (en) Call processing method and device based on taxi taking
CN106446653A (en) Application authority management method and device and electronic equipment
CN107423378A (en) Image display method and device
CN106548050A (en) Using startup method and device
US20190095163A1 (en) Method and device for displaying an input interface and an electronic device
CN106325508A (en) Method and device for processing application
CN107463809B (en) Application icon display method and device
CN104298903A (en) Mobile terminal access method and device
CN107197107A (en) Enabled instruction processing method and processing device
CN108647074B (en) Method, device, hardware device and medium for displaying dynamic information in screen locking state

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160921