CN107515709B - Screen display method and device - Google Patents

Screen display method and device Download PDF

Info

Publication number
CN107515709B
CN107515709B CN201610428876.5A CN201610428876A CN107515709B CN 107515709 B CN107515709 B CN 107515709B CN 201610428876 A CN201610428876 A CN 201610428876A CN 107515709 B CN107515709 B CN 107515709B
Authority
CN
China
Prior art keywords
information
distance
suspension
terminal equipment
screen
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.)
Active
Application number
CN201610428876.5A
Other languages
Chinese (zh)
Other versions
CN107515709A (en
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.)
Suning Group Co ltd
Original Assignee
Suning Group 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 Suning Group Co ltd filed Critical Suning Group Co ltd
Priority to CN201610428876.5A priority Critical patent/CN107515709B/en
Publication of CN107515709A publication Critical patent/CN107515709A/en
Application granted granted Critical
Publication of CN107515709B publication Critical patent/CN107515709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Abstract

The embodiment of the invention discloses a screen display method and device, relates to the technical field of intelligent terminals, and can reduce the leakage risk of information in an uncontrolled environment. The invention comprises the following steps: detecting the suspension distance between an inductor and a screen of the terminal equipment, and determining the range interval of the suspension distance; reading an information set corresponding to the range interval from an information display template, wherein the information set comprises: forming one part of the complete information in the information display template; generating a display effect template corresponding to the suspension distance; and outputting the information set to a screen of the terminal equipment, and displaying the information set according to the display effect template. The method and the device are suitable for managing the screen display of the terminal equipment in the uncontrolled environment.

Description

Screen display method and device
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a screen display method and device.
Background
With the rapid development of intelligent terminal technology and mobile interconnection technology and the continuous construction of mobile communication basic equipment, intelligent terminals such as smart phones and tablet computers become life tools with the highest use frequency for the masses. And network services such as mobile instant messaging, mobile payment and mobile office are developed based on the intelligent terminal, so that the daily life and work of people are greatly facilitated.
The operations and services performed by people through the intelligent terminal are increased, many of the operations and services require a user to provide more privacy information, and once the intelligent terminal leaves the user, the problem of privacy disclosure is easily caused. For example: although many current intelligent terminals provide a screen locking function, when receiving a call or a short message, the intelligent terminal usually directly displays information such as a head portrait, a name, a group, a number, etc. of a caller on a screen in order to facilitate a user to quickly identify and answer the call. However, when the user is in a public place such as an office, a library, a restaurant, etc., the user usually stays the intelligent terminal on a desktop or a seat when leaving the seat for a short time, and if the user receives an incoming call, the user can easily see the privacy information displayed on the screen by people of adjacent seats, so that the privacy information is leaked.
Disclosure of Invention
The embodiment of the invention provides a screen display method and device, which can reduce the leakage risk of information in an uncontrolled environment.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method, including: detecting the suspension distance between an inductor and a screen of the terminal equipment, and determining the range interval of the suspension distance; reading an information set corresponding to the range interval from an information display template, wherein the information set comprises: forming one part of the complete information in the information display template; generating a display effect template corresponding to the suspension distance; and outputting the information set to a screen of the terminal equipment, and displaying the information set according to the display effect template.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the detecting a floating distance between the sensor and a screen of the terminal device includes: when a motion sensor of the terminal equipment detects that the terminal equipment is changed from a static state to a moving state, starting a light sensor of the terminal equipment; and acquiring ambient light change parameters through a light sensor of the terminal equipment, and determining the suspension distance according to the ambient light change parameters and ambient reference light.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, before detecting a floating distance between the sensor and a screen of the terminal device, the method further includes: displaying prompt information through the screen; when the terminal device is detected to be changed from a moving state to a static state through a motion sensor of the terminal device, acquiring current ambient light change parameters through a light sensor of the terminal device, and obtaining a current suspension distance according to the current ambient light change parameters and ambient reference light; and calibrating a preset range interval according to the current suspension distance.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the reading, from an information display template, an information set corresponding to the range interval includes: reading the corresponding relation between each item of information in the information display template and a preset range interval, wherein each item of information in the information display template at least comprises: image information, text information, and category information; and according to the corresponding relation, determining information matched with the range interval in each item of information in the information display template and adding the information to an information set corresponding to the range interval.
With reference to the first aspect, in a fourth possibility of the first aspectIn an implementation manner of the present invention, the generating a display effect template corresponding to the suspension distance includes: determining a brightness adjustment coefficient according to the suspension distance; calculating the color value V ═ V' (1+ d) of the three primary colors of each pixel according to the brightness coefficient1) Wherein V represents the adjusted color value, V' represents the original color value, d1Represents a luminance adjustment coefficient, and-1<=d1<=1。
With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the generating a display effect template corresponding to the levitation distance includes: determining a contrast adjustment coefficient according to the suspension distance; according to the contrast coefficient, calculating to obtain the color value V of the three primary colors of each pixel, wherein the color value V is 127+ (V' -127) × (1+ d)2) Wherein V represents the adjusted color value, V' represents the original color value, d2Represents a contrast adjustment coefficient, and-1<=d2<=1。
With reference to the first aspect or the fourth to fifth possible implementation manners of the first aspect, in a sixth possible implementation manner, the generating a display effect template corresponding to the suspension distance includes: and determining the resolution corresponding to the suspension distance, and taking the determined resolution as the screen resolution in the display effect template.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a seventh possible implementation manner, the method further includes: after a light sensor of the terminal equipment is started, a camera of the terminal equipment is started, and image characteristics of the inductor are collected through the camera; and if the image characteristics of the inductor are detected to be not accordant with preset image characteristics, deleting the information with the authority identification in the information set before outputting the information set to a screen of the terminal equipment.
With reference to the first aspect or the first possible implementation manner of the first aspect, in an eighth possible implementation manner, the method further includes: when a motion sensor of the terminal device detects that the terminal device is changed from a static state to a moving state, a biological feature recognition unit of the terminal device is started; and if the currently input biological characteristics are detected to be not accordant with the preset biological characteristics, or the input of the biological characteristics is not detected within the preset time, deleting the information with the authority identification in the information set.
In a second aspect, an embodiment of the present invention provides an apparatus, including:
the detection module is used for detecting the suspension distance between the inductor and the screen of the terminal equipment and determining the range interval of the suspension distance; an information screening module, configured to read an information set corresponding to the range interval from an information display template, where the information set includes: forming one part of the complete information in the information display template; the display preprocessing module is used for generating a display effect template corresponding to the suspension distance; and the output module is used for outputting the information set to a screen of the terminal equipment and displaying the information set according to the display effect template.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the detection module is specifically configured to start a light sensor of the terminal device when the motion sensor of the terminal device detects that the terminal device is changed from a stationary state to a moving state; and acquiring ambient light change parameters through a light sensor of the terminal equipment, and determining the suspension distance according to the ambient light change parameters and ambient reference light.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the method further includes: the calibration module is used for displaying prompt information through a screen before detecting the suspension distance between the inductor and the screen of the terminal equipment; when the terminal device is detected to be changed from a moving state to a static state through a motion sensor of the terminal device, acquiring current ambient light change parameters through a light sensor of the terminal device, and obtaining a current suspension distance according to the current ambient light change parameters and ambient reference light; and calibrating a preset range interval according to the current suspension distance.
With reference to the second aspect or the first to second possible implementation manners of the second aspect, in a third possible implementation manner, the information screening module is specifically configured to read a corresponding relationship between each item of information in the information display template and a preset range interval, where each item of information in the information display template at least includes: image information, text information, and category information; and according to the corresponding relation, determining information matched with the range interval in each item of information in the information display template and adding the information to an information set corresponding to the range interval.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner, the display preprocessing module is specifically configured to determine a brightness adjustment coefficient according to the suspension distance; and according to the brightness coefficient, calculating to obtain the color value V ═ V' (1+ d) of the three primary colors of each pixel1) Wherein V represents the adjusted color value, V' represents the original color value, d1Represents a luminance adjustment coefficient, and-1<=d1<1 is ═ 1; and/or the display preprocessing module is specifically configured to determine a contrast adjustment coefficient according to the levitation distance; and according to the contrast coefficient, calculating to obtain the color value V of the three primary colors of each pixel, wherein the color value V is 127+ (V' -127) × (1+ d)2) Wherein V represents the adjusted color value, V' represents the original color value, d2Represents a contrast adjustment coefficient, and-1<=d2<1 is ═ 1; and/or the display preprocessing module is specifically configured to determine a resolution corresponding to the levitation distance, and use the determined resolution as a screen resolution in the display effect template.
According to the screen display method and device provided by the embodiment of the invention, when the intelligent terminal leaves the user, the amount of displayed information on the screen is adjusted by identifying the distance between the inductor and the intelligent terminal, so that the leakage risk of the information in an uncontrolled environment is reduced. And the user identity is identified when the user approaches, so that the problem of privacy disclosure caused when the intelligent terminal leaves the user is avoided. And the power consumption of operation and display of the intelligent terminal in an uncontrolled environment is reduced by reducing the displayed information quantity.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a screen display method according to an embodiment of the present invention;
fig. 3 and 4 are schematic diagrams of specific examples provided by the embodiment of the invention;
fig. 5 and 6 are schematic structural diagrams of a screen display device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or coupled. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items. It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The screen display method provided by the embodiment can be specifically applied to a terminal device with a human-computer interaction interface, for example: terminal devices such as smart phones, Tablet Personal computers (Tablet Personal computers), Laptop computers (Laptop computers), Personal Digital Assistants (PDAs), and Wearable devices (Wearable devices). The specific structure of the terminal device can be seen with reference to fig. 1. The terminal equipment comprises an input unit, a processor unit, an output unit, a communication unit, a storage unit, a peripheral unit and the like. These components communicate over one or more buses. It will be understood by those skilled in the art that the configuration of the terminal device shown in the figures is not intended to limit the present invention, and may be a bus configuration, a star configuration, a combination of more or less components than those shown, or a different arrangement of components.
The input unit is used for realizing interaction between a user and the terminal equipment and/or inputting information into the terminal equipment. For example, the input unit may receive numeric or character information input by a user to generate a signal input related to user setting or function control. In the embodiment of the present invention, the input unit may be a touch panel, other human-computer interaction interfaces such as physical input keys and a microphone, and other external information capturing devices such as a camera. In other embodiments of the present invention, the physical input keys used by the input unit may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. An input unit in the form of a microphone may collect speech input by a user or the environment and convert it into commands executable by the processing unit in the form of electrical signals.
The processor unit is a control center of the terminal device, connects various parts of the whole terminal device by using various interfaces and lines, and executes various functions of the terminal device and/or processes data by operating or executing software programs and/or modules stored in the storage unit and calling data stored in the storage unit. The processor unit may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the Processor Unit may include only a Central Processing Unit (CPU), or may be a combination of a GPU, a Digital Signal Processor (DSP), and a control chip (e.g., a baseband chip) in the communication Unit. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
The communication unit is used for establishing a communication channel, enabling the terminal equipment to be connected to a remote server through the communication channel, and interacting data with the remote server. The communication unit may include a Wireless Local Area Network (wlan) module, a bluetooth module, a baseband (Base Band) module, and other communication modules, and a Radio Frequency (RF) circuit corresponding to the communication module, and is configured to perform wlan communication, bluetooth communication, infrared communication, and/or cellular communication system communication, such as Wideband Code Division Multiple Access (W-CDMA) and/or High Speed Downlink Packet Access (HSDPA). The communication module is used for controlling communication of each component in the terminal equipment and can support Direct Memory Access (Direct Memory Access).
The output unit includes, but is not limited to, an image output unit and a sound output unit. The image output unit is used for outputting characters, pictures and/or videos. The image output unit may include a screen (or called a Display panel), such as a Display panel configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), a Field Emission Display (FED), and the like. In an embodiment of the present invention, the screen employed by the input unit may also be used as an output unit, for example, when the touch panel detects a gesture operation of touch or proximity thereon, the touch panel transmits the gesture operation to the processing unit to determine the type of the touch event, and then the processing unit provides a corresponding visual output on the display panel according to the type of the touch event. Although the input unit and the output unit are shown in fig. 1 as two separate components to implement the input and output functions of the terminal device, in some embodiments, the touch panel may be integrated with the display panel to implement the input and output functions of the terminal device. For example, the image output unit may display various Graphical User Interfaces (GUIs) as virtual control elements, including but not limited to windows, scroll shafts, icons, and scrapbooks, for a User to operate in a touch manner.
The storage unit can be used for storing software programs and modules, and the processing unit executes various functional applications of the terminal equipment and realizes data processing by running the software programs and modules stored in the storage unit
And (6) processing. The storage unit mainly comprises a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required by at least one function, such as a sound playing program, an image playing program and the like; the data storage area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. In an embodiment of the invention, the Memory unit may include a volatile Memory, such as a Nonvolatile dynamic Random Access Memory (NVRAM), a Phase Change Random Access Memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and a non-volatile Memory, such as at least one magnetic disk Memory device, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash Memory device, such as a flash Memory (NOR) or a flash Memory (NAND) or a flash Memory.
The power supply is used to power the various components of the terminal equipment to maintain its operation. As a general understanding, the power source may be a built-in battery, such as a common lithium ion battery, a nickel metal hydride battery, and the like, and also includes an external power source directly supplying power to the terminal device, such as an AC adapter, and the like. In some embodiments of the present invention, the power supply may be more broadly defined and may include, for example, a power management system, a charging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode), and any other components associated with power generation, management, and distribution of end devices.
Specifically, an information display template, a program code for executing the method flow in the present embodiment, user data, historical data, and other data are stored in the storage unit; the processing unit is used for executing the program codes of the method flow in the embodiment so as to complete the execution flow of the scheme of the embodiment; the output unit is used for outputting and displaying the information set according to the display effect template.
An embodiment of the present invention provides a screen display method, as shown in fig. 2, including:
and S1, detecting the suspension distance between the inductor and the screen of the terminal equipment, and determining the range interval of the suspension distance.
The sensor can be human body components such as human faces and limbs, and can also be other objects such as a sensing bracelet and gloves. In this embodiment, the levitation distance can be understood as: the distance between the sensor and the screen when the sensor is not in contact with the screen. Can calculate the ambient light through terminal equipment's light sensor and change, the inductor is partly as the environment, when moving close or keeping away from equipment, influences light sensor, when detecting ambient light and changing, when ambient light changes, and ambient benchmark light changes and reaches a certain proportion, obtains roughly suspension distance according to its change degree conversion. It should be noted that the levitation distance may also be determined by a sensor configured in other terminal equipment by using a common detection means, such as a distance sensor, a vision sensor, an infrared sensor, and the like.
The light sensor refers to a sensor for recognizing the brightness of ambient light so as to control the brightness of a screen. In this embodiment, the light sensor may be used to obtain light parameters of an environment (including a human body and an environmental object), the camera device is turned on to obtain information such as a human body (a human face) and a distance, and a fitting or empirical function between the light parameters of the environment and the environmental object is established by a clustering method, a linear programming method, a neural network method, or the like, for example: and judging the type according to the data actually acquired by the light sensor, judging the distance of the suspended object and more accurately adjusting the suspended object, and when the calculated judgment precision and confidence coefficient are lower than a certain threshold value, starting the camera again, and correcting the initial empirical function by combining the data of the light sensor. This embodiment provides a possible precision division: precision 1: identifying specific characteristics of a suspended object in an environment, A, a user and other people; and 2, precision: identifying a range of "multiple people" (multiple suspensions) features in the environment; precision 3: the distance to the "main suspension" (single object) in the environment is identified.
In this embodiment, range intervals corresponding to different levitation distances may be preset and stored in the storage unit of the middle terminal device, and then the corresponding range interval may be determined according to the detected levitation distance. For example: as shown in fig. 3, the preset range interval may be: the distance is far: the suspension distance is more than 90 cm; the distance is longer: the suspension distance is more than 45cm and less than 90 cm; the distance is as follows: the suspension distance is more than 20cm and less than 45 cm; the distance is short: the suspension distance is more than 10cm and less than 20 cm; very close distance: the suspension distance is more than 5cm and less than 10 cm.
And S2, reading the information set corresponding to the range interval from the information display template.
In this embodiment, the information set includes: and forming one part of the complete information in the information display template. The information display template may be a set of information such as personal information (e.g., gender, nickname, name, province number, etc.) of the user, contact information (e.g., a phone book, a friend bar, information of contacts in a call record), picture/avatar information, etc. (e.g., picture information such as a phone book, a friend bar, a picture of contacts in a call record, an avatar, etc.) that have been stored in the storage unit, and the terminal device may read and display a part of information constituting the complete information from the information display template according to a preset rule.
And S3, generating a display effect template corresponding to the suspension distance.
The display effect template may specifically include display effects such as a brightness, a contrast, and a resolution of an interface displayed on the screen. In this embodiment, the display effect templates may be configured as a plurality of display effect templates with different display effects according to the setting of parameters such as the brightness, the contrast, and the resolution, where the display effect may be understood as the clarity of the interface displayed on the screen, and different display effect templates may have different clarity by adjusting the brightness, the contrast, and the resolution. Wherein the clarity of the display effect template may be inversely related to the hover distance.
And S4, outputting the information set to a screen of the terminal equipment, and displaying the information set according to the display effect template.
According to the screen display method provided by the embodiment of the invention, when the intelligent terminal leaves the user, the amount of the displayed information on the screen is adjusted by identifying the distance between the inductor and the intelligent terminal, so that the leakage risk of the information in an uncontrolled environment is reduced, only limited necessary information is displayed in a relatively high-risk environment, and even if the displayed information is acquired by irrelevant personnel, the meaning of the information cannot be explained without knowing the context, so that the privacy protection effect is realized. And the user identity is identified when the user approaches, so that the problem of privacy disclosure caused when the intelligent terminal leaves the user is avoided. And with the higher resolution of the device screen, the higher the pixels of the image, the higher the energy consumption for the cpu and the screen display, but under the specific situations such as incoming call display, short message call, etc., the positive correlation between the displayed information amount and the utilization efficiency of the information does not exist necessarily, and especially under the uncontrolled environment, the displayed information is usually not seen by the legal user, so the power consumption of the operation and display of the intelligent terminal under the uncontrolled environment is reduced by reducing the displayed information amount.
In this embodiment, a trigger mechanism for detecting a floating distance between a sensor and a screen of a terminal device is provided. The detecting the floating distance between the inductor and the screen of the terminal device may include:
and when the motion sensor of the terminal equipment detects that the terminal equipment is changed from a static state to a moving state, starting the light sensor of the terminal equipment.
In this embodiment, the motion sensor may specifically be: gravity sensors, three-axis accelerometers, gyroscopes, and the like. It can also be: various sensing devices, such as hall devices, are used to detect physical quantities of electronic equipment, such as force, moment, pressure, stress, position, displacement, speed, acceleration, angle, angular velocity, number of revolutions, and rotational speed, and convert the physical quantities into electrical quantities for detection and control.
And acquiring ambient light change parameters through a light sensor of the terminal equipment, and determining the suspension distance according to the ambient light change parameters and ambient reference light.
In this embodiment, the range interval may also be customized by the user according to the arm length of the user, and before detecting the levitation distance between the sensor and the screen of the terminal device, the method further includes:
and displaying prompt information through the screen. For example: information for prompting the user for an operation action, such as: please straighten the arm and keep the self-photographing gesture, the user holds the terminal device to make a corresponding motion and then keeps the terminal device still, and the motion sensor of the terminal device detects that the terminal device is changed from the moving state to the static state.
When the terminal device is detected to be changed from a moving state to a static state through the motion sensor of the terminal device, the current ambient light change parameter is collected through the light sensor of the terminal device, and the current suspension distance is obtained according to the current ambient light change parameter and the ambient reference light. And calibrating a preset range interval according to the current suspension distance. For example: the range interval is calibrated as: 1. the distance is far: exceeding the length of an arm; 2. the distance is longer: one arm is long; 3. the distance is as follows: half the arm length.
Further, in this embodiment, different range intervals may correspond to information sets with different contents. Specifically, the process of reading the information set corresponding to the range interval from the information display template specifically includes:
reading the corresponding relation between each item of information in the information display template and a preset range interval, wherein each item of information in the information display template at least comprises: image information, text information, and category information. For example: the information display template may be a set of user personal information (such as gender, nickname, name, province license number, etc.), contact information (such as a phonebook, a buddy bar, information of contacts in a call record), picture/avatar information, etc. (such as a phonebook, a buddy bar, a picture of contacts in a call record, an avatar, etc.) that have been stored in the storage unit. The information display template includes image information (such as an avatar), text information (such as a nickname and name) and category information (such as the group to which the contact belongs in the phonebook) for the contact.
And according to the corresponding relation, determining information matched with the range interval in each item of information in the information display template and adding the information to an information set corresponding to the range interval. For example, as shown in fig. 4, the complete information includes the head portrait and the first name of the caller, and when the distance is far (for example, the range interval is greater than 90cm), the information set includes only the last name in the first name of the caller or a nickname different from the real name; when the distance is far (such as the range interval is more than 45cm and less than 90cm), the information set comprises the name of the caller or the head portrait of the caller subjected to the fuzzy processing; when very close, such as a range interval of more than 5cm and less than 20cm, or when it is determined that the user has held the terminal device, the information set may include all of the contents of the complete information. The preset rule can be set by a user in a customized way, such as: and identifying each item of information in the information display template according to the privacy degree, and further setting the privacy level of each item of information with identification, wherein the privacy level of the displayed information is higher when the suspension distance is shorter, and the set rule is prestored in the storage unit.
In this embodiment, the clarity of the display effect template may be inversely related to the hover distance. The terminal equipment can wholly brighten or dim the screen brightness according to the suspension distance or the size of the range interval where the suspension distance is located, so that the clarity of the template with the reduced display effect is improved when the inductor is far away from the terminal equipment. For example: the generating of the display effect template corresponding to the suspension distance specifically includes:
and determining a brightness adjustment coefficient according to the suspension distance. And calculating a color value V ═ V '(1 + d1) of the three primary colors of each pixel according to the brightness coefficient, wherein V represents the adjusted color value, V' represents the original color value, d1 represents the brightness adjustment coefficient, and-1 < ═ d1 ≦ 1.
In this embodiment, the terminal device may further adjust the contrast of the screen according to the floating distance or the size of the range where the floating distance is located, so that the clarity of the display effect template is reduced when the sensor is far away from the terminal device. For example: the generating of the display effect template corresponding to the suspension distance specifically includes: and determining a contrast adjustment coefficient according to the suspension distance. And calculating the color value V of the three primary colors of each pixel, wherein V is 127+ (V '-127) × (1+ d2), V represents the adjusted color value, V' represents the original color value, d2 represents the contrast adjustment coefficient, and-1 < (d 2) < ═ 1, according to the contrast coefficient.
In this embodiment, the terminal device may further adjust the resolution of the screen according to the floating distance or the size of the range interval in which the floating distance is located, so that when the sensor is far away from the terminal device, the resolution of the display effect template is reduced, thereby reducing the degree of clarity. For example: the generating of the display effect template corresponding to the suspension distance includes: and determining the resolution corresponding to the suspension distance, and taking the determined resolution as the screen resolution in the display effect template.
Further, in this embodiment, the specific manner of reducing the clarity of the display effect template is not limited to the above three manners, and the clarity of the display effect template may also be reduced by adjusting the color level of the screen and the smoothness of the image displayed in the screen, for example: in the case that the floating distance is large, the terminal device displays only a brief view of the image information on the screen and does not contain any personal information, title text or core associated information. In the case of a short distance, details of the displayed image, such as outlines, color blocks and tones, are increased on the basis of the simplified image of the image information, so that the image becomes clearer gradually. In the case of very close distance, the original appearance of the image is displayed, and all image information including contour, color, texture and the like is loaded. The clarity of the display effect template can also be reduced by means of horizontal first order differential method, vertical first order differential method, bidirectional first order differential method, sharpening, reducing, amplifying and the like.
In this embodiment, for the case where there are a plurality of sensors, the following processing flow is further included:
and after the light sensor of the terminal equipment is started, starting the camera of the terminal equipment, and acquiring the image characteristics of the inductor through the camera. For example: when a plurality of faces are shielded in front of the light sensor, the terminal equipment can start the camera, identify whether the image characteristics of the faces are of the owner of the terminal equipment or not through a face identification technology, and confirm whether the current image characteristics are legal users of the terminal equipment or not through face identification.
And if the image characteristics of the inductor are detected to be not accordant with preset image characteristics, deleting the information with the authority identification in the information set before outputting the information set to a screen of the terminal equipment.
For example: the information such as user personal information, contact person information, picture/head portrait information and the like stored in the storage unit belong to the privacy information of the user, the user can mark authority identification on the information, and when the fact that the image characteristics of the inductor do not accord with the preset image characteristics is detected, the information with the authority identification in the information set is deleted, so that the privacy information is prevented from being displayed on a screen.
In this embodiment, it may also be determined whether the current terminal device is a valid user through biometric identification methods such as fingerprint identification and iris identification, specifically including:
and when the motion sensor of the terminal equipment detects that the terminal equipment is changed from a static state to a moving state, starting the biological characteristic identification unit of the terminal equipment. When the terminal device detects that the terminal device moves from a static state through the motion sensor, the biological feature identification units such as a fingerprint scanner, an iris scanner and the like can be started. And if the currently input biological characteristics are detected to be not accordant with the preset biological characteristics, or the input of the biological characteristics is not detected within the preset time, deleting the information with the authority identification in the information set.
According to the screen display method provided by the embodiment of the invention, when the intelligent terminal leaves the user, the amount of the displayed information on the screen is adjusted by identifying the distance between the inductor and the intelligent terminal, so that the leakage risk of the information in an uncontrolled environment is reduced, only limited necessary information is displayed in a relatively high-risk environment, and even if the displayed information is acquired by irrelevant personnel, the meaning of the information cannot be explained without knowing the context, so that the privacy protection effect is realized. And the user identity is identified when the user approaches, so that the problem of privacy disclosure caused when the intelligent terminal leaves the user is avoided. And with the higher resolution of the device screen, the higher the pixels of the image, the higher the energy consumption for the cpu and the screen display, but under the specific situations such as incoming call display, short message call, etc., the positive correlation between the displayed information amount and the utilization efficiency of the information does not exist necessarily, and especially under the uncontrolled environment, the displayed information is usually not seen by the legal user, so the power consumption of the operation and display of the intelligent terminal under the uncontrolled environment is reduced by reducing the displayed information amount.
An embodiment of the present invention further provides a screen display device, which may specifically operate in a terminal device shown in fig. 1, and as shown in fig. 5, the screen display device includes:
the detection module is used for detecting the suspension distance between the inductor and the screen of the terminal equipment and determining the range interval of the suspension distance;
an information screening module, configured to read an information set corresponding to the range interval from an information display template, where the information set includes: forming one part of the complete information in the information display template;
the display preprocessing module is used for generating a display effect template corresponding to the suspension distance;
and the output module is used for outputting the information set to a screen of the terminal equipment and displaying the information set according to the display effect template.
The detection module is specifically configured to start the light sensor of the terminal device when the motion sensor of the terminal device detects that the terminal device is changed from a stationary state to a moving state; and acquiring ambient light change parameters through a light sensor of the terminal equipment, and determining the suspension distance according to the ambient light change parameters and ambient reference light.
Further, in this embodiment, as shown in fig. 6, the method further includes: the calibration module is used for displaying prompt information through a screen before detecting the suspension distance between the inductor and the screen of the terminal equipment; when the terminal equipment is detected to be changed from a moving state to a static state by a motion sensor of the terminal equipment
Acquiring current ambient light change parameters through a light sensor of the terminal equipment, and obtaining a current suspension distance according to the current ambient light change parameters and ambient reference light; and calibrating a preset range interval according to the current suspension distance.
In this embodiment, the information filtering module is specifically configured to read a corresponding relationship between each item of information in the information display template and a preset range interval, where each item of information in the information display template at least includes: image information, text information, and category information; and according to the corresponding relation, determining information matched with the range interval in each item of information in the information display template and adding the information to an information set corresponding to the range interval.
In this embodiment, the display preprocessing module is specifically configured to determine a brightness adjustment coefficient according to the floating distance; and according to the brightness coefficient, calculating to obtain the color value V ═ V' (1+ d) of the three primary colors of each pixel1) Wherein V represents the adjusted color value, V' represents the original color value, d1Represents a luminance adjustment coefficient, and-1<=d1<=1;
And/or the display preprocessing module is specifically configured to determine a contrast adjustment coefficient according to the levitation distance; and according to the contrast coefficient, calculating to obtain the color value V of the three primary colors of each pixel, wherein the color value V is 127+ (V' -127) × (1+ d)2) Wherein V represents the adjusted color value, V' represents the original color value, d2Represents a contrast adjustment coefficient, and-1<=d2<=1;
And/or the display preprocessing module is specifically configured to determine a resolution corresponding to the levitation distance, and use the determined resolution as a screen resolution in the display effect template.
According to the screen display device provided by the embodiment of the invention, when the intelligent terminal leaves a user, the amount of displayed information on the screen is adjusted by identifying the distance between the inductor and the intelligent terminal, so that the leakage risk of the information in an uncontrolled environment is reduced, only limited necessary information is displayed in a relatively high-risk environment, even if the displayed information is acquired by irrelevant personnel, the meaning of the information cannot be explained without knowing the context, and the privacy protection effect is realized. And the user identity is identified when the user approaches, so that the problem of privacy disclosure caused when the intelligent terminal leaves the user is avoided. And with the higher resolution of the device screen, the higher the pixels of the image, the higher the energy consumption for the cpu and the screen display, but under the specific situations such as incoming call display, short message call, etc., the positive correlation between the displayed information amount and the utilization efficiency of the information does not exist necessarily, and especially under the uncontrolled environment, the displayed information is usually not seen by the legal user, so the power consumption of the operation and display of the intelligent terminal under the uncontrolled environment is reduced by reducing the displayed information amount.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (2)

1. A screen display method, comprising:
detecting the suspension distance between an inductor and a screen of the terminal equipment, and determining the range interval of the suspension distance;
reading an information set corresponding to the range interval from an information display template, wherein the information set comprises: forming one part of the complete information in the information display template;
generating a display effect template corresponding to the suspension distance;
outputting the information set to a screen of the terminal equipment, and displaying the information set according to the display effect template;
before detecting the floating distance between the inductor and the screen of the terminal equipment, the method further comprises the following steps:
displaying prompt information through the screen;
when the terminal device is detected to be changed from a moving state to a static state through a motion sensor of the terminal device, acquiring current ambient light change parameters through a light sensor of the terminal device, and obtaining a current suspension distance according to the current ambient light change parameters and ambient reference light;
calibrating a preset range interval according to the current suspension distance;
the suspension distance of the screen of the detection inductor and the terminal equipment comprises:
when a motion sensor of the terminal equipment detects that the terminal equipment is changed from a static state to a moving state, starting a light sensor of the terminal equipment;
acquiring ambient light change parameters through a light sensor of the terminal equipment, and determining the suspension distance according to the ambient light change parameters and ambient reference light;
the type is distinguished according to data actually collected by the light sensor, the distance of a suspended object and more accurate adjustment of the suspended object are judged, when the calculated and judged precision and confidence coefficient are lower than a threshold value, the camera device is started again, the initial experience function is corrected by combining the data of the light sensor, and precision division comprises the following steps: precision 1: identifying specific characteristics of the suspension in the environment, including the user and others; and 2, precision: identifying characteristics of multiple suspended matters in a certain range in the environment; precision 3: identifying a distance to a primary suspension in the environment;
the reading of the information set corresponding to the range interval from the information display template includes:
reading the corresponding relation between each item of information in the information display template and a preset range interval, wherein each item of information in the information display template at least comprises: image information, text information, and category information;
according to the corresponding relation, determining information matched with the range interval in each item of information in the information display template and adding the information to an information set corresponding to the range interval;
the generating of the display effect template corresponding to the suspension distance includes:
determining a brightness adjustment coefficient according to the suspension distance;
calculating the color value V ═ V' (1+ d) of the three primary colors of each pixel according to the brightness coefficient1) Wherein V represents the adjusted color value, V' represents the original color value, d1Represents a luminance adjustment coefficient, and-1<=d1<=1;
The generating of the display effect template corresponding to the suspension distance includes:
determining a contrast adjustment coefficient according to the suspension distance;
according to the contrast coefficient, calculating to obtain the color value V of the three primary colors of each pixel, wherein the color value V is 127+ (V' -127) × (1+ d)2) Wherein V represents the adjusted color value, V' represents the original color value, d2Represents a contrast adjustment coefficient, and-1<=d2<=;
The generating of the display effect template corresponding to the suspension distance includes:
determining a resolution corresponding to the levitation distance, and taking the determined resolution as a screen resolution in the display effect template;
further comprising:
after a light sensor of the terminal equipment is started, a camera of the terminal equipment is started, and image characteristics of the inductor are collected through the camera;
if the image characteristics of the inductor are detected to be not in accordance with preset image characteristics, deleting the information with the authority identification in the information set before outputting the information set to a screen of the terminal equipment;
further comprising:
when a motion sensor of the terminal device detects that the terminal device is changed from a static state to a moving state, a biological feature recognition unit of the terminal device is started;
if the currently input biological characteristics are detected to be not accordant with the preset biological characteristics, or the input of the biological characteristics is not detected within the preset time, deleting the information with the authority identification in the information set;
the preset range interval includes: the distance is long when the suspension distance is more than 90 cm; the distance between the suspension and the suspension is longer than 45cm and shorter than 90 cm; the suspension distance is more than 20cm and less than 45 cm; the suspension distance is closer when the suspension distance is more than 10cm and less than 20 cm; the levitation distance is very close to greater than 5cm and less than 10 cm.
2. A screen display device, comprising:
the detection module is used for detecting the suspension distance between the inductor and the screen of the terminal equipment and determining the range interval of the suspension distance;
an information screening module, configured to read an information set corresponding to the range interval from an information display template, where the information set includes: forming one part of the complete information in the information display template;
the display preprocessing module is used for generating a display effect template corresponding to the suspension distance;
the output module is used for outputting the information set to a screen of the terminal equipment and displaying the information set according to the display effect template;
the detection module is specifically configured to start the light sensor of the terminal device when the motion sensor of the terminal device detects that the terminal device is changed from a stationary state to a moving state; acquiring ambient light change parameters through a light sensor of the terminal equipment, and determining the suspension distance according to the ambient light change parameters and ambient reference light;
further comprising:
the calibration module is used for displaying prompt information through a screen before detecting the suspension distance between the inductor and the screen of the terminal equipment; when the terminal device is detected to be changed from a moving state to a static state through a motion sensor of the terminal device, acquiring current ambient light change parameters through a light sensor of the terminal device, and obtaining a current suspension distance according to the current ambient light change parameters and ambient reference light; calibrating a preset range interval according to the current suspension distance;
the type is distinguished according to data actually collected by the light sensor, the distance of a suspended object and more accurate adjustment of the suspended object are judged, when the calculated and judged precision and confidence coefficient are lower than a threshold value, the camera device is started again, the initial experience function is corrected by combining the data of the light sensor, and precision division comprises the following steps: precision 1: identifying specific characteristics of the suspension in the environment, including the user and others; and 2, precision: identifying characteristics of multiple suspended matters in a certain range in the environment; precision 3: identifying a distance to a primary suspension in the environment;
the information screening module is specifically configured to read a corresponding relationship between each item of information in the information display template and a preset range interval, where each item of information in the information display template at least includes: image information, text information, and category information; determining information matched with the range interval in each item of information in the information display template according to the corresponding relation and adding the information to an information set corresponding to the range interval;
the display preprocessing module is specifically configured to determine a brightness adjustment coefficient according to the suspension distance; and according to the brightness coefficient, calculating to obtain the color value V ═ V' (1+ d) of the three primary colors of each pixel1) Wherein V represents the adjusted color value, V' represents the original color value, d1Represents a luminance adjustment coefficient, and-1<=d1<=1;
And/or the display preprocessing module is specifically configured to determine a contrast adjustment coefficient according to the levitation distance; and according to the contrast coefficient, calculating to obtain the color value V of the three primary colors of each pixel, wherein the color value V is 127+ (V' -127) × (1+ d)2) Wherein V represents the adjusted color value, V' represents the original color value, d2Represents a contrast adjustment coefficient, and-1<=d2<=1;
And/or the display preprocessing module is specifically configured to determine a resolution corresponding to the levitation distance, and use the determined resolution as a screen resolution in the display effect template;
after a light sensor of the terminal equipment is started, a camera of the terminal equipment is started, and image characteristics of the inductor are collected through the camera;
if the image characteristics of the inductor are detected to be not in accordance with preset image characteristics, before the information set is output to a screen of the terminal equipment, deleting the information with the authority identification in the information set, and starting a biological characteristic identification unit of the terminal equipment when a motion sensor of the terminal equipment detects that the terminal equipment is changed from a static state to a moving state;
if the currently input biological characteristics are detected to be not accordant with the preset biological characteristics, or the input of the biological characteristics is not detected within the preset time, deleting the information with the authority identification in the information set;
the preset range interval includes: the distance is long when the suspension distance is more than 90 cm; the distance between the suspension and the suspension is longer than 45cm and shorter than 90 cm; the suspension distance is more than 20cm and less than 45 cm; the suspension distance is closer when the suspension distance is more than 10cm and less than 20 cm; the levitation distance is very close to greater than 5cm and less than 10 cm.
CN201610428876.5A 2016-06-16 2016-06-16 Screen display method and device Active CN107515709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610428876.5A CN107515709B (en) 2016-06-16 2016-06-16 Screen display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610428876.5A CN107515709B (en) 2016-06-16 2016-06-16 Screen display method and device

Publications (2)

Publication Number Publication Date
CN107515709A CN107515709A (en) 2017-12-26
CN107515709B true CN107515709B (en) 2021-09-10

Family

ID=60720245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610428876.5A Active CN107515709B (en) 2016-06-16 2016-06-16 Screen display method and device

Country Status (1)

Country Link
CN (1) CN107515709B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549822A (en) * 2018-04-09 2018-09-18 平安科技(深圳)有限公司 User information control method, apparatus and terminal device
CN110490583B (en) * 2019-07-22 2021-11-30 维沃移动通信有限公司 Payment method and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100083188A1 (en) * 2008-09-26 2010-04-01 Apple Inc. Computer user interface system and methods
CN103165064A (en) * 2012-04-27 2013-06-19 深圳市金立通信设备有限公司 Anti-peep system and method for automatically adjusting resolution ratio of display screen based on distance of human eyes and screen
CN104284004A (en) * 2013-07-02 2015-01-14 华为终端有限公司 Screen unlocking method and mobile terminal
CN104883436A (en) * 2015-04-30 2015-09-02 广东欧珀移动通信有限公司 Information hiding method and apparatus
CN105303091A (en) * 2015-10-23 2016-02-03 广东小天才科技有限公司 Eyeball tracking technology based privacy protection method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885593B (en) * 2014-03-14 2016-04-06 努比亚技术有限公司 A kind of handheld terminal and screen anti-fluttering method thereof and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100083188A1 (en) * 2008-09-26 2010-04-01 Apple Inc. Computer user interface system and methods
CN103165064A (en) * 2012-04-27 2013-06-19 深圳市金立通信设备有限公司 Anti-peep system and method for automatically adjusting resolution ratio of display screen based on distance of human eyes and screen
CN104284004A (en) * 2013-07-02 2015-01-14 华为终端有限公司 Screen unlocking method and mobile terminal
CN104883436A (en) * 2015-04-30 2015-09-02 广东欧珀移动通信有限公司 Information hiding method and apparatus
CN105303091A (en) * 2015-10-23 2016-02-03 广东小天才科技有限公司 Eyeball tracking technology based privacy protection method and system

Also Published As

Publication number Publication date
CN107515709A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
US11212449B1 (en) User interfaces for media capture and management
JP7090210B2 (en) User interface for simulated depth effects
CN108027650B (en) Method for measuring angle between displays and electronic device using the same
US8893054B2 (en) Devices, systems, and methods for conveying gesture commands
KR102303115B1 (en) Method For Providing Augmented Reality Information And Wearable Device Using The Same
EP2720126A1 (en) Method and apparatus for generating task recommendation icon in a mobile device
US10158749B2 (en) Method by which portable device displays information through wearable device, and device therefor
CN109684980B (en) Automatic scoring method and device
EP3681169A1 (en) Method and terminal for displaying dynamic image
KR20150128303A (en) Method and apparatus for controlling displays
KR20150136440A (en) Method for controlling display and electronic device supporting the same
EP2800025B1 (en) Portable terminal and method for protecting a displayed object
CN110795007B (en) Method and device for acquiring screenshot information
KR20150057080A (en) Apparatas and method for changing a input mode according to input method in an electronic device
KR20140073232A (en) Mobil terminal and Operating Method for the Same
CN107613139B (en) Schedule reminding method and mobile terminal
CN107515709B (en) Screen display method and device
KR20150027876A (en) Mehtod and apparatus for controlling terminal of smart watch using motion
US20140168255A1 (en) Device and Method for Processing Notification Data
CN109756621A (en) A kind of two-dimensional code display method and terminal device
CN109285002A (en) A kind of graphical identification code display methods and mobile terminal
CN112870697A (en) Interaction method, device, equipment and medium based on virtual relationship formation program
CN108055400A (en) A kind of wallpaper switching method and mobile terminal
KR20110119127A (en) Mobile terminal and operation method thereof
CN108038359A (en) Unlocking method and related product

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 210000, 1-5 story, Jinshan building, 8 Shanxi Road, Nanjing, Jiangsu.

Applicant after: SUNING GROUP Co.,Ltd.

Address before: 210042 Suning Headquarters, No. 1 Suning Avenue, Xuanwu District, Nanjing City, Jiangsu Province

Applicant before: SUNING COMMERCE GROUP Co.,Ltd.

GR01 Patent grant
GR01 Patent grant