CN109587334B - Display method of flexible terminal, flexible terminal and computer readable storage medium - Google Patents

Display method of flexible terminal, flexible terminal and computer readable storage medium Download PDF

Info

Publication number
CN109587334B
CN109587334B CN201811458462.2A CN201811458462A CN109587334B CN 109587334 B CN109587334 B CN 109587334B CN 201811458462 A CN201811458462 A CN 201811458462A CN 109587334 B CN109587334 B CN 109587334B
Authority
CN
China
Prior art keywords
display
eye protection
flexible terminal
color
protection layer
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
CN201811458462.2A
Other languages
Chinese (zh)
Other versions
CN109587334A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811458462.2A priority Critical patent/CN109587334B/en
Publication of CN109587334A publication Critical patent/CN109587334A/en
Application granted granted Critical
Publication of CN109587334B publication Critical patent/CN109587334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a display method of a flexible terminal, the flexible terminal and a computer readable storage medium, aiming at the problem that the existing display screen does not have a display method for optimizing display in a hazy shielding mode, and environment parameters under the current environment are detected; calculating display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal; generating an eye protection layer on the current display interface of the flexible terminal according to the display data, and performing display adjustment on the display interface; the eye protection layer comprises an adjustment strategy for controlling interface display color; according to the embodiment of the invention, the display data for generating the eye protection layer is calculated according to the current environmental parameters of the terminal and the display parameters of the terminal, so that the shielding layer capable of displaying and adjusting the display screen is generated on the display interface of the flexible terminal, the display control of eye protection is realized in such a way, the better eye protection effect is achieved, and the eyesight is protected better.

Description

Display method of flexible terminal, flexible terminal and computer readable storage medium
Technical Field
The present invention relates to the field of display control technologies, and in particular, to a display method of a flexible terminal, and a computer-readable storage medium.
Background
At present, along with the popularization of smart phones and the gradually enriched functionality of smart phones, the time for people to use the smart phones becomes longer and longer, and the time for people to see display screens also becomes longer and longer. Meanwhile, along with the increasingly frequent use of the mobile terminal, the requirements of people on the mobile terminal are higher and higher, along with the increase of the functions of the mobile terminal, the times of using the mobile terminal by people are more and more, the service life is usually longer and longer, when people watch equipment such as a mobile phone, a tablet personal computer and a learning machine, the people are easy to see the vision line is not correct due to the incorrect sitting posture, so that the eyes are near sighted, especially when the people use the mobile terminal for a long time, the people are easy to see the vision line is not correct due to the incorrect sitting posture, so that the eyes are near-sighted or other damages are easy to occur.
In the prior art, the mode for solving the problems is mainly a display mode of the existing common terminal, namely, the light intensity in the current environment is detected through the sensor and the display of the screen is properly adjusted according to the control setting of the user, so that the display brightness of the flexible screen is adjusted, the degree of damage to the eyes of the user due to the display brightness is reduced, and the eye protection is realized. Or adjust backlight through setting up two kinds of modes of color reversal mode and eyeshield display mode, set up background protection color and carry out the color reversal and reach the purpose that normally shows and protect eyesight, however, can't prevent the injury of mobile terminal to people's eye from the root, the not good problem of eyeshield effect, consequently, provide a display control method to reach better display effect and eyeshield effect and have very important meaning to correcting eyesight and protection eyesight.
Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is as follows: the display method for optimizing the display in a hazy shielding mode does not exist in the conventional terminal, and aiming at the technical problem, the display method of the flexible terminal, the flexible terminal and the computer readable storage medium are provided.
In order to solve the above technical problem, an embodiment of the present invention provides a display method for a flexible terminal, where the display method includes:
detecting environmental parameters under the current environment;
calculating display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal;
generating an eye protection layer on the current display interface of the flexible terminal according to the display data, and performing display adjustment on the display interface; the eye protection layer comprises an adjustment strategy for controlling the interface display color.
Optionally, the environmental parameters include: light brightness and ambient color in the current environment;
the display data of the eye protection layer calculated according to the environmental parameters and the current display parameters of the flexible terminal comprises the following steps:
calculating the light intensity meeting the eye protection grade according to the light brightness and the current display brightness of the flexible terminal;
and determining the color to be adjusted in the current display state of the terminal according to the environment color and the current display color of the flexible terminal.
Optionally, the generating an eye protection layer on the current display interface of the flexible terminal according to the display data includes:
according to the light intensity and the color to be adjusted, inquiring an eye protection layer corresponding to the display data from the corresponding relation between the display data and the eye protection layer;
and adjusting the current display parameters of the flexible terminal according to the display parameters corresponding to the eye protection layer.
Optionally, after the detecting the environmental parameter in the current environment, the method further includes: detecting a color blindness or color weakness type of a user;
the eye protection layer is generated on the current display interface of the flexible terminal according to the display data, and the display adjustment of the display interface comprises the following steps:
displaying an eye protection layer used for adjusting the display brightness of the terminal on the flexible terminal according to the light intensity;
adjusting the display color of the terminal according to the detected color blindness or color weakness type; the adjustment comprises the step of strengthening the display color of the terminal, and/or replacing the color which is currently displayed by the terminal and corresponds to the color blindness or color weakness type with a color which can be distinguished by a user for display.
Optionally, the eye-protecting layer is a composite layer including at least one shielding layer;
the generating of the eye protection layer on the current display interface of the flexible terminal according to the display data comprises: and sequentially generating a shielding layer on the display screen of the flexible terminal according to the light intensity and the color to be adjusted.
Optionally, the color adjustment policy includes at least one of:
controlling the brightness enhancement of red pixel points in the display screen, and simultaneously controlling the brightness reduction of blue pixel points and green pixel points;
controlling the brightness enhancement of green pixel points in a display screen of the terminal, and simultaneously controlling the brightness reduction strategy of the blue pixel points and the red pixel points;
controlling the brightness enhancement of blue pixel points in a display screen of the terminal, and simultaneously controlling the brightness reduction strategy of red pixel points and green pixel points;
and (3) the brightness of blue pixel points, red pixel points and green pixel points in a display screen of the terminal is consistent.
Optionally, after the detecting the environmental parameter in the current environment, the method further includes:
detecting whether touch selection operation of a user exists in the flexible terminal;
and if the display screen exists, determining an eye protection display grade according to the touch selection operation, and directly starting a corresponding eye protection layer display mode according to the eye protection display grade to process the display screen of the flexible terminal.
And if the display data does not exist, calculating the display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal.
Optionally, the eye protection display mode level includes N-level eye protection display modes, where N is greater than 1;
the according to the eyeshield shows that the grade selects the direct opening of corresponding eyeshield layer from the eyeshield layer storehouse of predetermineeing includes:
and according to the corresponding relation between the preset eye protection layer display mode and the eye protection display grade, acquiring the eye protection display mode of the corresponding grade, and starting the eye protection layer of the corresponding mode for displaying.
Further, the embodiment of the present invention further provides a flexible terminal, where the flexible terminal includes a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing one or more programs stored in the memory so as to realize the steps of the display method of the flexible terminal.
Further, an embodiment of the present invention also provides a computer-readable storage medium, in which one or more programs are stored, and the one or more programs are executable by one or more processors to implement the steps of the display method of the flexible terminal.
The embodiment of the invention has the beneficial effects that:
the embodiment of the invention provides a display method of a flexible terminal, the flexible terminal and a computer readable storage medium, aiming at the problem that the existing display screen does not have a display method for optimizing display in a hazy shielding mode, the display method of the embodiment of the invention comprises the following steps: detecting environmental parameters under the current environment; calculating display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal; generating an eye protection layer on the current display interface of the flexible terminal according to the display data, and performing display adjustment on the display interface; the eye protection layer comprises an adjustment strategy for controlling interface display color; according to the embodiment of the invention, the display data for generating the eye protection layer is calculated according to the current environmental parameters of the terminal and the display parameters of the terminal, so that the shielding layer capable of displaying and adjusting the display screen is generated on the display interface of the flexible terminal, the display control of eye protection is realized in such a way, the better eye protection effect is achieved, and the eyesight is protected better.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a diagram illustrating a hardware configuration of an alternative flexible terminal that implements various embodiments of the present invention;
FIG. 2 is a basic flowchart of a display method according to a first embodiment of the present invention;
fig. 3 is a basic flowchart of a control method for turning on an eye-protection display mode in the display method according to the second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a flexible terminal according to a third embodiment of the present invention;
fig. 5 is a display layer of an eye-protection layer according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and a fixed terminal such as a Digital TV, a desktop computer, and the like, but it should be noted that the above-mentioned terminal is understood to be a terminal all provided with a flexible screen, and the flexible screen may be bent or folded based on a current terminal housing.
While the following description will be given by way of example of a flexible terminal, it will be appreciated by those skilled in the art that the construction according to embodiments of the invention can be applied to terminals of the fixed type, in addition to elements particularly for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a flexible terminal for implementing various embodiments of the present invention, the flexible terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the flexible termination structure shown in fig. 1 is not limited to a flexible termination, and those skilled in the art may add some auxiliary devices or modules to form a complete flexible termination according to the functions to be implemented.
The various components of the flexible terminal will be described in detail below with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the flexible terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the flexible terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the flexible terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the flexible terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The flexible terminal 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the flexible terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the flexible terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the flexible terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the flexible terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the flexible terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the flexible terminal 100 or may be used to transmit data between the flexible terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the flexible terminal, connects various parts of the entire flexible terminal using various interfaces and lines, and performs various functions of the flexible terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the flexible terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The flexible terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the flexible terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, various embodiments of the method of the present invention are provided below based on the above-described flexible terminal hardware structure.
The first embodiment:
the embodiment provides a display method, which comprises the following steps: detecting environmental parameters under the current environment; calculating display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal; generating an eye protection layer on the current display interface of the flexible terminal according to the display data, and performing display adjustment on the display interface; the eye protection layer comprises an adjustment strategy for controlling the interface display color.
Referring to fig. 2, fig. 2 is a basic flowchart of a display method of a flexible terminal provided in this embodiment, where the display adjustment method includes the following steps:
s201, detecting environmental parameters under the current environment.
In this embodiment, the environment parameter refers to data of the surrounding environment when the user is currently using the flexible terminal, such as light brightness, intensity, color of the environment, and the like.
And S202, acquiring the current display parameters of the flexible terminal.
The display parameters refer to the display parameters of the current interface of the terminal, such as brightness, percentage of color, soft or high light, and the like.
And S203, calculating display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal.
And S204, generating an eye protection layer on the current display interface of the flexible terminal according to the display data, and displaying and adjusting the display interface.
In this embodiment, if the environmental parameters include: when light brightness and environmental color in the current environment, according to the environmental parameter and the current display parameter of flexible terminal calculates the display data on eyeshield layer and includes:
calculating the light intensity meeting the eye protection grade according to the light brightness and the current display brightness of the flexible terminal;
and determining the color to be adjusted in the current display state of the terminal according to the environment color and the current display color of the flexible terminal.
In practical application, a user is provided with a plurality of eye protection grade brightness values on a terminal according to own use habits in advance, after the corresponding eye protection grade is calculated, the light of the terminal is directly adjusted to the brightness value of the corresponding grade according to the eye protection grade, and meanwhile, a shielding layer of a shielding layer is formed on a display interface of the terminal, so that the generation of the eye protection layer is realized.
Furthermore, the color on the display interface of the flexible terminal is controlled and adjusted according to the determined color to be adjusted while the eye protection layer is generated, so that the adaptation of the eye protection layer and the use habit of a user is realized.
In this embodiment, according to the display data is in when generating the eyeshield layer on the current display interface of flexible terminal, the eyeshield layer that also sets up earlier corresponding to different eyeshield grades can be directly called to use through the mode of the corresponding relation table in inquiry eyeshield layer specifically, and concrete process is:
according to the light intensity and the color to be adjusted, inquiring an eye protection layer corresponding to the display data from the corresponding relation between the display data and the eye protection layer;
and adjusting the current display parameters of the flexible terminal according to the display parameters corresponding to the eye protection layer.
In practical application, the adjustment of the display interface according to the eye protection layer specifically includes adjustment of light color and adjustment of light brightness, and even adjustment of local pixels and pigments, and if the display screen is a dot matrix type display screen, since the display screen of this type needs a plurality of light source layouts to be arranged to realize the whole-surface display, when the display method is adopted to realize eye protection display, the light sources of corresponding colors are controlled according to the calculated color to be adjusted, so that the display requirement of corresponding eye protection level is met.
In this embodiment, there may also be a group of users with color blindness or color blindness among the group of users using the flexible terminal, and for these users to implement corresponding display of eye protection, after or before step S201, it is further required to detect the type of color blindness or color blindness of the user using the flexible terminal, and in practical applications, the type may be set by the user before using the flexible terminal, or may be set by real-time detection.
At this moment, an eye protection layer is generated on the current display interface of the flexible terminal according to the display data, and when the display interface is subjected to display adjustment, the method specifically comprises the following steps:
displaying an eye protection layer used for adjusting the display brightness of the terminal on the flexible terminal according to the light intensity;
adjusting the display color of the terminal according to the detected color blindness or color weakness type; the adjustment comprises the step of strengthening the display color of the terminal, and/or replacing the color which is currently displayed by the terminal and corresponds to the color blindness or color weakness type with a color which can be distinguished by a user for display.
In practical application, the detection of the color blindness and the color weakness of the user can be specifically realized by the following ways: successively playing the group pictures according to a preset color blindness and color weakness detection strategy, and acquiring a picture selection result of a user; and determining the color blindness and color weakness types corresponding to the user according to the selection result and a preset color blindness and color weakness analysis strategy. The embodiment of the present invention provides a method for detecting color blindness and color weakness, but the method does not represent that the embodiment of the present invention only includes the above method for detecting color blindness and color weakness, and other methods for detecting color blindness and color weakness besides the above method are also applicable in the embodiment of the present invention, and the embodiment of the present invention is not limited.
In this embodiment, when adjusting the display color of the terminal, the adjustment may be specifically performed according to the following policy, where the color adjustment policy includes at least one of the following:
controlling the brightness enhancement of red pixel points in the display screen, and simultaneously controlling the brightness reduction of blue pixel points and green pixel points;
controlling the brightness enhancement of green pixel points in a display screen of the terminal, and simultaneously controlling the brightness reduction strategy of the blue pixel points and the red pixel points;
controlling the brightness enhancement of blue pixel points in a display screen of the terminal, and simultaneously controlling the brightness reduction strategy of red pixel points and green pixel points;
and (3) the brightness of blue pixel points, red pixel points and green pixel points in a display screen of the terminal is consistent.
In practical application, when the terminal configures the adjustment method of the display adjustment strategy, people can refer to the suggestions of health assistants, and meanwhile, the user can adjust the adjustment method of the display adjustment strategy according to own habits and preferences.
Considering that there is a difference between the severity of the symptoms of the color blindness and the color weakness in real life, when the display control strategy of the corresponding type is configured according to the detection result, the display control strategy of the type can be further classified into different grades to adapt to the color blindness and the color weakness of patients of different degrees, or an adjustment interface is provided in the type, through which the user can adjust the intensity of each parameter in the display control strategy, and the adjustment interface includes: setting a corresponding adjusting button, and adjusting according to a preset gesture and a preset instruction.
In this embodiment, an eye protection layer is generated on the display interface of the terminal, which may be specifically implemented by generating one or more than two shielding layers, and when multiple layers are generated, the eye protection layer is provided with a composite layer including at least one shielding layer;
the generating of the eye protection layer on the current display interface of the flexible terminal according to the display data comprises: respectively and sequentially generating a layer of shielding layer on the display screen of the flexible terminal according to the light intensity and the color to be adjusted, specifically as shown in fig. 5, in order to show more clearly, the shielding layers are arranged in a staggered manner, but in practical application, the shielding layers are overlapped.
In this embodiment, in addition to controlling the real-time generation of the eye protection layer according to the above parameters, the method may further include generating a corresponding eye protection layer through an autonomous selection of a user to realize the display of eye protection, that is, after detecting the environmental parameters in the current environment, the method further includes: detecting whether touch selection operation of a user exists in the flexible terminal;
and if the display screen exists, determining an eye protection display grade according to the touch selection operation, and directly starting a corresponding eye protection layer display mode according to the eye protection display grade to process the display screen of the flexible terminal.
That is, in this embodiment, when the generation of the eye protection layer is realized by detecting the environmental parameter and the selection operation of the user is detected, the eye protection layer is mainly set according to the selection of the user, and the environmental parameter may be appropriately compensated and adjusted based on the selection of the user.
And if no selection operation of the user exists, calculating display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal.
In practical application, the eye protection display mode can be provided with multiple stages, namely the eye protection display mode comprises N stages of eye protection display modes, and N is more than 1; the according to the eyeshield shows that the grade selects the direct opening of corresponding eyeshield layer from the eyeshield layer storehouse of predetermineeing includes:
and according to the corresponding relation between the preset eye protection layer display mode and the eye protection display grade, acquiring the eye protection display mode of the corresponding grade, and starting the eye protection layer of the corresponding mode for displaying.
According to the embodiment of the first embodiment of the invention, the terminal firstly detects the environmental parameters under the current environment; calculating display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal; generating an eye protection layer on the current display interface of the flexible terminal according to the display data, and performing display adjustment on the display interface; the eye protection layer comprises an adjustment strategy for controlling interface display color; according to the embodiment of the invention, the display data for generating the eye protection layer is calculated according to the current environmental parameters of the terminal and the display parameters of the terminal, so that the shielding layer capable of displaying and adjusting the display screen is generated on the display interface of the flexible terminal, the display control of eye protection is realized in such a way, the better eye protection effect is achieved, and the eyesight is protected better.
Second embodiment:
in practical application, the user can also realize the display adjustment control on the eyeshield layer through the trigger switch who sets up the eyeshield mode, provides below one kind and controls and realize that the terminal opens eyeshield layer and shows based on the display method, include: detecting whether a preset eye protection layer display starting condition is triggered or not, and starting a generation step of the eye protection layer when the eye protection layer display starting condition is detected.
Referring to fig. 3, fig. 3 is a specific step of controlling the terminal to open the eye protection layer, where the step of opening the eye protection layer includes:
s301, the terminal detects whether a preset eye protection layer display starting condition is triggered. When triggered, go to S303; if not, go to S302.
The display starting condition of the eye protection layer can be a starting condition set by a user, or a starting condition preset by the terminal, or a starting condition intelligently set by the terminal according to the use habit of the user, and is not limited in the embodiment of the invention.
And S302, when the starting triggering condition of the eye protection layer display is not met, the display of the eye protection layer is not started, and the display screen is in a normal display mode.
And S303, when the starting triggering condition of the eye protection layer display is met, starting the display of the eye protection layer.
In this embodiment, the eye-protecting layer may display an opening condition including at least one of: receiving an eye protection layer display starting instruction, enabling an included angle between the sight of eyeballs of a user and a terminal screen to fall into a preset included angle range, enabling the distance between the eyeballs of the user and the terminal screen to fall into a preset distance range, enabling the current time to enter a preset time range, enabling the current position of the terminal to fall into a preset position range, and enabling the brightness value of the current environment of the terminal to fall into a preset brightness value range. It can be understood that the opening conditions of the display of the eye protection layers mentioned in this embodiment are only some common opening conditions among a plurality of eye protection layer display opening conditions, and many other opening conditions are also included in the actual use process, for example, the opening conditions do not include all opening conditions according to the terminal in the current state, and other conditions that can trigger the display of the eye protection layers to be opened once are all available.
The received eye protection layer display opening instruction mentioned in this embodiment is mainly an opening instruction generated by active eye protection layer display of a user, for example, an individual eye protection layer display opening button may be set on the terminal to open, the gesture action of the user is recognized through the display screen to open, and the opening is performed according to a voice instruction.
In this embodiment, can also set the eyeshield layer to show to multistage eyeshield and show the mode, establish this multistage eyeshield and show the mode and have N level, N is greater than, when detecting the trigger condition that the eyeshield layer shows, opens N level eyeshield layer and shows, and this N level eyeshield layer shows and the corresponding condition of opening includes:
when the eye protection display mode is started according to the eye protection layer display starting instruction, the eye protection layer displays the starting instruction to obtain the eye protection display mode of the corresponding grade indicated by the eye protection layer display starting instruction, and the eye protection display mode of the corresponding grade is started; when the eye protection display mode is started through the method, the user can start the eye protection display mode of the corresponding grade according to the self requirement, or the user can be displayed with the display effect of the eye protection display modes of different grades through a slide method, and the user can select the eye protection display mode grade most suitable for the user according to the display content.
When the eye protection display mode is started according to the included angle between the eye sight of the user and the terminal screen, acquiring the eye protection display mode of the corresponding grade according to the corresponding relation between the preset included angle and the grade of the eye protection display mode, and starting the eye protection display mode of the corresponding grade; for example, when the user adopts the low-angle to watch the screen, the brightness of the screen can be reduced, the content of the screen can not be seen clearly by the user, the eye protection display mode grade can be adjusted to be low at the moment so as to achieve the purpose of improving the screen brightness, and when the user adopts the vertical large-angle to watch the screen, the inclination angle of the screen has little influence on the brightness, so that the eye protection display mode with higher grade can be started to enhance the eye protection effect.
When the eye protection display mode is started within a preset time range according to the current time, acquiring an eye protection display mode of a corresponding grade according to the corresponding relation between the preset time range and the eye protection display mode grade, and starting the eye protection display mode of the corresponding grade; in a typical embodiment of this method, when the time is in a period from the time when the day falls to the time when the day goes out, the damage of the screen to the human eyes is increased because the brightness of the environment starts to decrease, and at this time, the level of the eye protection display mode can be adjusted according to the time, and the later the time, the higher the level of the eye protection display mode is.
When the eye protection display mode is started according to the condition that the current position of the terminal falls into the preset position range, acquiring the eye protection display mode of the corresponding grade according to the corresponding relation between the preset position range and the eye protection display mode grade, and starting the eye protection display mode of the corresponding grade; when the mode is adopted to control the grade of the eye protection display mode, the eye protection display mode in a company range can be set into a first-level eye protection display mode, the eye protection display mode on the way of work is set into a second-level eye protection display mode, and the eye protection display mode is set into a third-level eye protection display mode in a range at home.
When the eye protection display mode is started according to the condition that the brightness value of the current environment of the terminal falls into the preset brightness value range, the eye protection display mode of the corresponding grade is obtained according to the corresponding relation between the preset brightness value and the eye protection display mode grade, the eye protection display mode of the corresponding grade is started, the eye protection display mode is adjusted by adopting the environment brightness, the eye protection display mode grade is determined by adopting the environment brightness, the eye protection display mode is flexibly controlled to be started, and the common setting mode is that when the environment brightness is reduced, the higher the grade of the eye protection display mode is, the better the new eye protection effect is.
The embodiment also provides a control method of the N-level eye protection display mode, in the method, the eye protection display modes of different levels can be realized by controlling at least one of the following parameters, namely controlling the backlight brightness percentage, controlling the red pixel point percentage, controlling the green pixel point percentage and controlling the blue pixel point percentage.
A common method for adjusting the eye protection display mode level in the eye protection display mode is to control the backlight brightness percentage of the display screen to decrease when the ambient brightness is at the end of the month, and in this embodiment, the percentage of blue pixels can be decreased by control to achieve a good eye protection effect. It can be understood that the adjustment method of the eye-protection display mode further includes other adjustment methods, for example, what percentage of the backlight brightness percentage, what percentage of the red pixels, what percentage of the blue pixels, and the green pixels are adopted at a certain brightness, and the adjustment method may be set according to the recommended social parameters of the health assistant, or according to the adjustment method of the user, and is not limited herein.
After the eyeshield display mode is opened at the terminal, the user can adjust the control parameter of eyeshield display mode according to own use habit and preference, for example, when the user thinks that blue pixel and backlight brightness's percentage is low, and the white inverse ratio of red pixel and green pixel should, the display effect of display screen is more comfortable in good time, the terminal just can obtain current user adjustment instruction, and adjust the display screen at terminal according to this adjustment instruction, then the eyeshield display mode of current opening updates, update into the control parameter that user oneself set up.
This embodiment has provided the demonstration on carrying out the eyeshield layer under display control, and the demonstration on this eyeshield layer is opened through different triggering condition, and simultaneously, can also set up the eyeshield display mode of different grades to different triggering condition, and the different situation under the same triggering condition sets up the eyeshield display mode of different grades, has reached the purpose that nimble control eyeshield display mode was opened, sets up multistage eyeshield display mode according to the condition of difference, can reach the better eyeshield effect of sword again.
The third embodiment:
the present embodiment further provides a flexible terminal, as shown in fig. 4, the flexible terminal includes a processor 41, a memory 42 and a communication bus 43, wherein:
the communication bus 43 is used for realizing connection communication between the processor 41 and the memory 42;
the processor 41 is configured to execute one or more programs stored in the memory 42 to implement the steps of the display methods in the first to second embodiments described above.
The present embodiment also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors, to implement the steps of the display methods in the first to second embodiments described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A display method of a flexible terminal is characterized in that the display method comprises the following steps:
detecting environmental parameters under the current environment; the environmental parameters include: the brightness of light and the color of the environment in the current environment;
calculating display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal comprises the following steps:
calculating the light intensity meeting the eye protection grade according to the light brightness and the current display brightness of the flexible terminal; determining the color to be adjusted in the current state of the terminal according to the environment color and the current display color of the flexible terminal;
generating an eye protection layer on the current display interface of the flexible terminal according to the display data, and performing display adjustment on the display interface; the eye protection layer comprises an adjustment strategy for controlling interface display color;
the eye protection layer is generated on the current display interface of the flexible terminal according to the display data, and the display adjustment of the display interface comprises the following steps:
according to the light intensity and the color to be adjusted, inquiring an eye protection layer corresponding to the display data from the corresponding relation between the display data and the eye protection layer;
and adjusting the current display parameters of the flexible terminal according to the display parameters corresponding to the eye protection layer.
2. The display method of the flexible terminal according to claim 1, further comprising, after the detecting the environmental parameter in the current environment: detecting a color blindness or color weakness type of a user;
the eye protection layer is generated on the current display interface of the flexible terminal according to the display data, and the display adjustment of the display interface comprises the following steps:
displaying an eye protection layer used for adjusting the display brightness of the terminal on the flexible terminal according to the light intensity;
adjusting the display color of the terminal according to the detected color blindness or color weakness type; the adjustment comprises the step of strengthening the display color of the terminal, and/or replacing the color which is currently displayed by the terminal and corresponds to the color blindness or color weakness type with a color which can be distinguished by a user for display.
3. The method of displaying on a flexible terminal according to any one of claims 1-2, wherein the eye-protecting layer is a composite layer comprising at least one shielding layer;
the generating of the eye protection layer on the current display interface of the flexible terminal according to the display data comprises: and sequentially generating a shielding layer on the display screen of the flexible terminal according to the light intensity and the color to be adjusted.
4. The method for displaying the flexible terminal according to claim 2, wherein the enhancing the display color of the terminal specifically includes at least one of the following color adjustment strategies:
controlling the brightness enhancement of red pixel points in the display screen, and simultaneously controlling the brightness reduction of blue pixel points and green pixel points;
controlling the brightness enhancement of green pixel points in a display screen of the terminal, and simultaneously controlling the brightness reduction strategy of the blue pixel points and the red pixel points;
controlling the brightness enhancement of blue pixel points in a display screen of the terminal, and simultaneously controlling the brightness reduction strategy of red pixel points and green pixel points;
and (3) the brightness of blue pixel points, red pixel points and green pixel points in a display screen of the terminal is consistent.
5. The display method of the flexible terminal according to claim 1, further comprising, after the detecting the environmental parameter in the current environment:
detecting whether touch selection operation of a user exists in the flexible terminal;
if the display screen exists, determining an eye protection display grade according to the touch selection operation, directly starting a corresponding eye protection layer display mode according to the eye protection display grade, and processing the display screen of the flexible terminal;
and if the display data does not exist, calculating the display data of the eye protection layer according to the environmental parameters and the current display parameters of the flexible terminal.
6. The display method of the flexible terminal according to claim 5, wherein the eye-protection display mode grade comprises N levels of eye-protection display modes, wherein N is greater than 1;
the directly opening the corresponding eye protection layer display mode according to the eye protection display grade comprises the following steps:
and according to the corresponding relation between the preset eye protection layer display mode and the eye protection display grade, acquiring the eye protection display mode of the corresponding grade, and starting the eye protection layer of the eye protection display mode of the corresponding grade for displaying.
7. A flexible terminal comprising a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the display method of the flexible terminal according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, which are executable by one or more processors, to implement the steps of the display method of the flexible terminal according to any one of claims 1 to 6.
CN201811458462.2A 2018-11-30 2018-11-30 Display method of flexible terminal, flexible terminal and computer readable storage medium Active CN109587334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811458462.2A CN109587334B (en) 2018-11-30 2018-11-30 Display method of flexible terminal, flexible terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811458462.2A CN109587334B (en) 2018-11-30 2018-11-30 Display method of flexible terminal, flexible terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109587334A CN109587334A (en) 2019-04-05
CN109587334B true CN109587334B (en) 2021-07-27

Family

ID=65925965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811458462.2A Active CN109587334B (en) 2018-11-30 2018-11-30 Display method of flexible terminal, flexible terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109587334B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110568980B (en) * 2019-09-10 2022-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN110728724A (en) * 2019-10-21 2020-01-24 深圳创维-Rgb电子有限公司 Image display method, device, terminal and storage medium
CN114647474A (en) * 2022-03-28 2022-06-21 展讯半导体(南京)有限公司 Eye protection mode adjusting method and system, display device and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903593A (en) * 2012-12-27 2014-07-02 腾讯科技(武汉)有限公司 Adjustment method of display background of page, and terminal
CN104078028A (en) * 2014-06-27 2014-10-01 联想(北京)有限公司 Screen brightness adjusting method and electronic equipment
CN104347051A (en) * 2014-06-30 2015-02-11 腾讯科技(深圳)有限公司 Method and system for adjusting screen brightness
CN105242894A (en) * 2015-09-24 2016-01-13 徐向霞 Smart device display method and system
CN106155483A (en) * 2016-06-30 2016-11-23 乐视控股(北京)有限公司 Display packing and terminal
CN106843782A (en) * 2016-12-22 2017-06-13 珠海格力电器股份有限公司 The method and electronic equipment of a kind of color for adjusting electronic equipment image
CN107123399A (en) * 2017-06-29 2017-09-01 厦门美图移动科技有限公司 The method of adjustment and mobile terminal of mobile terminal screen brightness
CN107918511A (en) * 2017-10-31 2018-04-17 努比亚技术有限公司 A kind of interface display method, terminal and computer-readable recording medium
CN108600555A (en) * 2018-06-15 2018-09-28 努比亚技术有限公司 A kind of screen color method of adjustment, mobile terminal and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902460B (en) * 2011-07-26 2015-01-14 腾讯科技(深圳)有限公司 Screen display brightness adjusting method and terminal
US20160338188A1 (en) * 2015-05-15 2016-11-17 Microsoft Technology Licensing, Llc Computing device bonding assemblies
CN106157818B (en) * 2016-09-05 2022-06-24 京东方科技集团股份有限公司 Flexible display panel, manufacturing method thereof and display device
CN106843452A (en) * 2017-02-13 2017-06-13 广东虹勤通讯技术有限公司 A kind of display screen with double screen, terminal and display control method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903593A (en) * 2012-12-27 2014-07-02 腾讯科技(武汉)有限公司 Adjustment method of display background of page, and terminal
CN104078028A (en) * 2014-06-27 2014-10-01 联想(北京)有限公司 Screen brightness adjusting method and electronic equipment
CN104347051A (en) * 2014-06-30 2015-02-11 腾讯科技(深圳)有限公司 Method and system for adjusting screen brightness
CN105242894A (en) * 2015-09-24 2016-01-13 徐向霞 Smart device display method and system
CN106155483A (en) * 2016-06-30 2016-11-23 乐视控股(北京)有限公司 Display packing and terminal
CN106843782A (en) * 2016-12-22 2017-06-13 珠海格力电器股份有限公司 The method and electronic equipment of a kind of color for adjusting electronic equipment image
CN107123399A (en) * 2017-06-29 2017-09-01 厦门美图移动科技有限公司 The method of adjustment and mobile terminal of mobile terminal screen brightness
CN107918511A (en) * 2017-10-31 2018-04-17 努比亚技术有限公司 A kind of interface display method, terminal and computer-readable recording medium
CN108600555A (en) * 2018-06-15 2018-09-28 努比亚技术有限公司 A kind of screen color method of adjustment, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109587334A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN110969981B (en) Screen display parameter adjusting method and electronic equipment
CN108628565B (en) Mobile terminal operation method and mobile terminal
WO2020042838A1 (en) Camera control method and terminal
CN110417999B (en) Screen brightness adjusting method, mobile terminal and computer readable storage medium
CN109587334B (en) Display method of flexible terminal, flexible terminal and computer readable storage medium
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN109257497B (en) Eye protection mode opening control method, foldable double-sided screen terminal and storage medium
CN107153500B (en) Method and equipment for realizing image display
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN108055392B (en) Display area adjusting method, mobile terminal and computer readable storage medium
CN111064891B (en) Shooting control method and electronic equipment
CN110928619B (en) Wallpaper setting method and device, electronic equipment and medium
CN110928407B (en) Information display method and device
CN110636225B (en) Photographing method and electronic equipment
CN109597546B (en) Icon processing method and terminal equipment
CN109343811B (en) Display adjustment method and terminal equipment
CN107729100B (en) Interface display control method and mobile terminal
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN112733673B (en) Content display method and device, electronic equipment and readable storage medium
CN113031897A (en) Terminal eye protection method, terminal and storage medium
CN111045769B (en) Background picture switching method and electronic equipment
CN110851107B (en) Control method of electronic equipment and electronic equipment
CN109799937B (en) Input control method, input control equipment and computer readable storage medium
CN109471494B (en) Display control method of bent screen terminal, terminal and computer readable storage medium
CN109521979B (en) Display control method, terminal and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant