CN112513801A - Display method, related device and storage medium - Google Patents

Display method, related device and storage medium Download PDF

Info

Publication number
CN112513801A
CN112513801A CN201880095810.6A CN201880095810A CN112513801A CN 112513801 A CN112513801 A CN 112513801A CN 201880095810 A CN201880095810 A CN 201880095810A CN 112513801 A CN112513801 A CN 112513801A
Authority
CN
China
Prior art keywords
light effect
curved screen
screen
message
electronic device
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.)
Granted
Application number
CN201880095810.6A
Other languages
Chinese (zh)
Other versions
CN112513801B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112513801A publication Critical patent/CN112513801A/en
Application granted granted Critical
Publication of CN112513801B publication Critical patent/CN112513801B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/725Cordless telephones

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a display method, related equipment and a storage medium, wherein the method comprises the following steps: under the condition that the electronic equipment is in a screen extinguishing state and the electronic equipment is not in a pocket mode, when the electronic equipment receives a message, detecting the orientation of the curved screen; if the curved screen is downward, determining the message type of the message, and determining the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect; and displaying the target light effect on the curved screen. The embodiment of the application can improve the intelligence of light effect control.

Description

Display method, related device and storage medium Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a display method, a related device, and a storage medium.
Background
With the increasing popularity of electronic devices such as mobile phones, the appearance of the mobile phones has also changed significantly. Curved screen mobile phones have become a hotspot of current research. Under the condition of the curved screen, when the mobile phone receives information, the light effect displayed by the curved area of the mobile phone screen can be used for prompting. However, the light effect displayed by the current curved surface area is single, and the light effect control of the curved surface area is not intelligent enough.
Disclosure of Invention
The embodiment of the application provides a display method, related equipment and a storage medium, and the intelligence of light effect control can be improved.
In a first aspect, an embodiment of the present application provides a display method, where the method is applied to an electronic device including a curved screen, and the method includes:
detecting an orientation of the curved screen when a message is received by the electronic device while the electronic device is in a screen-off state and the electronic device is not in a pocket mode;
if the curved screen is downward, determining the message type of the message, and determining the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect;
and displaying the target light effect on the curved screen.
In a second aspect, an embodiment of the present application provides a display device, including:
a first detection unit, configured to detect an orientation of the curved screen when the electronic device receives a message when the electronic device is in a screen-off state and the electronic device is not in a pocket mode;
the first determining unit is used for determining the message type of the message when the first detecting unit detects that the orientation of the curved screen is downward, and determining the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect;
and the display unit is used for displaying the target light effect on the curved screen.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
In the embodiment of the application, under the condition that the electronic equipment is in a screen extinguishing state and the electronic equipment is not in a pocket mode, when the electronic equipment receives a message, the orientation of the curved screen is detected; and if the orientation of the curved screen is downward, determining the light effect displayed on the curved screen according to the message type of the message. The lighting effect displayed on the curved screen can be determined according to the type of the message, and the intelligence of lighting effect control is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating a display method disclosed in an embodiment of the present application;
FIG. 3 is a schematic display diagram of an electronic device in AOD mode according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart diagram of another display method disclosed in the embodiments of the present application;
fig. 5 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present application;
fig. 6 is a schematic structural diagram of a display device disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiments of the present application may include various handheld devices (e.g., smart phones), vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, which have wireless communication functions, and various forms of target object devices (user equipments, electronic devices), Mobile Stations (MSs), terminal devices (terminal devices), and the like. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, in which the electronic device 100 includes a control circuit 11 and an input-output circuit 12, and the input-output circuit is connected to the control circuit 11.
The control circuit 11 may comprise, among other things, storage and processing circuitry. The storage circuit in the storage and processing circuit may be a memory, such as a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry may be used to control the operation of the electronic device 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry may be used to run software in the electronic device 100, such as playing an incoming call alert ringing application, playing a short message alert ringing application, playing an alarm alert ringing application, playing a media file application, a Voice Over Internet Protocol (VOIP) phone call application, operating system functions (e.g., screen display functions), and so forth. The software may be used to perform control operations, such as playing incoming alert rings, playing short message alert rings, playing alarm alert rings, playing media files, making voice phone calls, displaying screens, and other functions in the electronic device 100, and the embodiments of the present application are not limited thereto.
The input-output circuit 12 may be used to enable the electronic device 100 to input and output data, i.e., to allow the electronic device 100 to receive data from an external device and to allow the electronic device 100 to output data from the electronic device 100 to the external device.
The input-output circuit 12 may further include a sensor 121. The sensors 121 may include ambient light sensors, optical and capacitive based infrared proximity sensors, ultrasonic sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, wherein the touch sensors may be part of the touch display screen 125 or may be used independently as a touch sensor structure), acceleration sensors, gravity sensors, pressure sensors, and other sensors, among others. Input-output circuitry 12 may further include an audio component 122, and audio component 122 may be used to provide audio input and output functionality for electronic device 100. The audio component 122 may also include a tone generator and other components for generating and detecting sound.
The input-output circuitry 12 may also include one or more display screens. The display screen can comprise one or a combination of a liquid crystal display screen, an organic light emitting diode display screen, an electronic ink display screen, a plasma display screen and a display screen using other display technologies. The display screen may include an array of touch sensors 121 (i.e., the display screen may be a touch display screen 125). The touch sensor 121 may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure-sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto. Specifically, the display screen of the embodiment of the present application may be a curved screen. The curved screen is a display screen made of flexible plastic, and may be implemented by an Organic Light-Emitting Diode (OLED). The curved screen may be a hyperbolic screen or a quadric screen. The hyperbolic screen means that two of four sides of the curved screen are designed to be curved surfaces, and the hyperbolic screen means that four sides of the curved screen are designed to be curved surfaces. Optionally, the curved screen may also be a curved full screen. The full screen is a display screen whose screen ratio reaches a certain value (for example, 80%). The curved full screen refers to a full screen adopting a curved surface design.
Input-output circuitry 12 may further include communications circuitry 123 that may be used to provide electronic device 100 with the ability to communicate with external devices. The communication circuitry 123 may include analog and digital input-output interface circuitry, and wireless communication circuitry 123 based on radio frequency signals and/or optical signals. The wireless communication circuitry 123 in the communication circuitry 123 may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless communication circuitry 123 in the communication circuitry 123 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, communications circuitry 123 may include a near field communications antenna and a near field communications transceiver. Communications circuitry 123 may also include cellular telephone transceiver and antennas, wireless local area network transceiver circuitry and antennas, and so forth.
The input-output circuit 12 may further include other input-output units. Input-output units may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
The electronic device 100 may further include a battery (not shown) for supplying power to the electronic device 100.
Referring to fig. 2, fig. 2 is a flowchart illustrating a display method according to an embodiment of the present application, applied to the electronic device described in fig. 1, where the display method includes the following steps.
201. In a case where the electronic device is in a screen-off state and the electronic device is not in a pocket mode, when the electronic device receives a message, the electronic device detects an orientation of a curved screen of the electronic device.
In the embodiment of the present application, the screen-off state includes a state in which the screen is off or an AOD (always on display) mode. The state in which the screen is extinguished refers to a state in which the screen is completely extinguished. The display screen of the electronic device may be a curved screen.
The AOD mode may also be referred to as a normal display mode, which is a display mode in which a partial area of a display screen of an electronic device (e.g., a mobile phone) is kept normally bright in a screen-locked state. In the AOD mode, information such as time, notification, and the like may be displayed in a partial area of the display screen.
Referring to fig. 3, fig. 3 is a schematic display diagram of an electronic device in an AOD mode according to an embodiment of the present application. As shown in fig. 3, the display area of the display screen of the electronic device occupies a very small area of the entire display screen, the display area is used for displaying information such as time and date notification messages, and other areas of the display screen except the display area are not displayed and are in a black screen state. Because only partial area of the display screen is lighted, the power consumption of the AOD mode can be very low, and the method is very convenient and fast for a user who is used to check the electronic equipment (such as a mobile phone) without frequently lighting the screen of the mobile phone and unlocking the mobile phone.
The user may manually turn on or turn off the AOD mode, for example, in a setting option of the electronic device, an AOD mode selection button may be set, and the user may manually click the AOD mode turn-on or turn-off button to turn on the AOD mode or turn off the AOD mode.
The AOD mode can also be opened within a preset time period in the embodiment of the present application, for example, the AOD mode can be opened at 7 to 11 points per day.
The electronic device detecting the orientation of the curved screen of the electronic device may be detected by a proximity sensor, a gravity sensor, an acceleration sensor, a pressure sensor, or the like.
Specifically, the triaxial acceleration sensor detects whether an absolute value of an acceleration value in a direction perpendicular to the curved screen is greater than a preset threshold value. And if so, determining the orientation of the curved screen to be downward or upward. And further detecting whether the acceleration value in the direction vertical to the curved screen is within a first preset acceleration value interval. And if the electronic equipment is positioned in the first preset acceleration value interval and the proximity sensor detects that an object approaches, determining that the curved screen of the electronic equipment faces downwards.
And if the acceleration value is not in the first preset acceleration value interval, the triaxial acceleration sensor further detects whether the acceleration value in the direction vertical to the curved screen is in a second preset acceleration value interval. And if the electronic equipment is positioned in the second preset acceleration value interval, determining that the curved screen of the electronic equipment faces upwards.
It should be noted that the first preset acceleration interval is different from the second preset acceleration interval. Optionally, the first preset acceleration interval and the second preset acceleration interval have the same interval length and are symmetrical to the origin. For example, the predetermined threshold may be 7, the first predetermined acceleration interval is-7 to-10, and the second predetermined acceleration interval is 7 to 10. Wherein, the unit of the acceleration value can be: square of meter per second (m/s)2)。
The preset threshold, the first preset acceleration value interval, and the second preset acceleration value interval may be preset and stored in a memory (e.g., a non-volatile memory) of the electronic device.
Optionally, the electronic device includes a proximity sensor, a light sensor, and a pressure sensor, and detects whether the electronic device is in a pocket mode, specifically:
determining that the electronic equipment is in a pocket mode under the conditions that the proximity sensor detects that an object approaches the electronic equipment, the light sensor detects that the ambient light brightness is lower than a preset brightness threshold value, and the pressure sensor detects that the pressure value of at least one side or one surface of the electronic equipment is larger than a preset pressure threshold value;
and determining that the electronic equipment is not in the pocket mode under the condition that the proximity sensor detects that no object approaches the electronic equipment or the light sensor detects that the ambient light brightness is greater than or equal to a preset brightness threshold value.
The preset brightness threshold and the preset pressure threshold can be preset and stored in the nonvolatile memory of the mobile terminal. For example, the preset brightness threshold may be set to 10 lux and the preset pressure threshold may be set to 0.3 newton (N).
According to the embodiment of the application, whether the electronic equipment is in the pocket mode or not can be determined by jointly detecting the proximity sensor, the light sensor and the pressure sensor, and whether the electronic equipment is in the pocket mode or not can be simply and effectively detected.
202. If the curved screen is downward, the electronic equipment determines the message type of the message and determines the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect.
203. The electronic device displays a target light effect on the curved screen.
In the embodiment of the present application, the messages received by the electronic device may be divided into: messages from contacts and messages from the system. The messages sent by the contacts can be divided into: messages from close contacts, messages from special contacts, and messages from general contacts. The messages sent by the system can be divided into: a security authentication system message and a service recommendation system message. The message received by the electronic device may be a message sent by chat software, a message sent by short message, or a message pushed by an application program.
After the electronic device receives the message, the electronic device may display the light effect on the curved screen according to the type of the message. The light effect is the optical effect. Specifically, the electronic device may present an optical effect having a certain color, a certain brightness, a certain flicker frequency, and a duration in a side area of the curved screen having the curved design. The light effect presented on a full screen may be referred to as a curved panoramic light effect.
Wherein the electronic device can display the light effect according to the light effect parameter of the light effect.
Optionally, the lighting effect parameters include lighting effect color, lighting effect brightness, lighting effect flicker frequency, and lighting effect duration.
Wherein, the light effect parameters of the light effects corresponding to different message types are different.
For example, the light effect color corresponding to the message sent by the close contact person is different from the light effect color corresponding to the message sent by the special contact person and the common contact person. For example, when the close contact sends a message, the corresponding light effect color is pink; when a message is sent by a special contact person, the corresponding light effect color is red; when a common contact sends a message, the corresponding lighting effect color is green. Further, the types of the close contacts can be further divided, for example, the close contacts can be divided into close contacts and love contacts. For the lovers, the corresponding light effect color is pink, and the corresponding light effect brightness is extremely bright. For the contact person, the corresponding light effect color is pink, and the corresponding light effect brightness is darker.
For another example, the light effect flicker frequency corresponding to the received safety verification system message is different from the light effect flicker frequency corresponding to the received service recommendation system message. For example, when the security authentication system message is received, the corresponding light effect flicker frequency is a frequency band (e.g., 8.8Hz) sensitive to human eyes. When the service recommendation system message is received, the corresponding light effect flicker frequency is other frequency bands (for example, 100Hz) insensitive to human eyes.
The type of contact may be predetermined. For example, the classification setting may be performed by the user. The type of the contact can also be determined by the electronic device according to the frequency of contact and keywords in the chat records.
Optionally, before performing step 203, the following steps may also be performed:
(11) the method comprises the steps that the electronic equipment obtains optical parameters of the environment where the electronic equipment is located;
(12) the electronic equipment corrects the light effect parameters of the target light effect based on the optical parameters to obtain the corrected light effect parameters.
In step 203, the electronic device displays a target light effect on a curved screen, including:
and the electronic equipment displays the target light effect on the curved screen according to the corrected light effect parameters.
In this embodiment of the application, the obtaining, by the electronic device, the optical parameter of the environment where the electronic device is located may specifically be:
the electronic device obtains optical parameters of an environment in which the electronic device is located through a light sensor (which may also be referred to as an ambient light sensor). The optical parameters may include the intensity of the ambient light and the color temperature of the ambient light.
The light effect parameters can comprise light effect color, light effect brightness, light effect flicker frequency and light effect duration. The lighting effect brightness in the lighting effect parameters can be corrected according to the intensity of the ambient light, and the lighting effect color in the lighting effect parameters can be corrected according to the color temperature intensity of the ambient light. Generally, the greater the intensity of the ambient light, the higher the light effect brightness of the light effect parameter can be set to adapt to the brightness of the environment. The deviation of the color temperature that the colour temperature of ambient light and the colour in the optical parameter corresponds can set up as far as possible some, the effect that plays the warning that can be better prevents that the user can't perceive the condition of light efficiency when the colour temperature of ambient light is close with the colour temperature of light efficiency. The lighting effect parameter of target lighting effect can be corrected according to the optical parameter of the ambient light, different lighting effects can be provided according to different environments, and the compatibility of the lighting effects and the environments is improved.
Optionally, before performing step 203, the following steps may also be performed:
(21) the electronic equipment determines one side of the curved screen closest to the user;
in step 203, the electronic device displays a target light effect on a curved screen, including:
the electronic equipment displays the target light effect on the side, closest to the user, of the curved screen.
In the embodiment of the application, the electronic device determines the side of the curved screen closest to the user, specifically:
the electronic equipment detects the distance between each side of the curved screen and a user through the distance sensor, and determines the side, closest to the user, of the curved screen.
Wherein, electronic equipment can include four distance sensor, sets up respectively in four angles of curved surface screen, and each side of curved surface screen all is equipped with two distance sensor. The electronic device obtains distance values measured by the four distance sensors from a user. And acquiring two distance sensors with the minimum distance value, and taking one side of the curved screen to which the two distance sensors belong as the side, closest to the user, in the curved screen.
Wherein, the electronic equipment can include that four distance sensors can work periodically. For example, every 0.1 second.
Optionally, after step 203 is executed, the following steps may also be executed:
and if the fact that the turning angle of the electronic equipment is larger than the preset angle threshold value is detected within the duration of the target light effect, continuing to execute the step of displaying the target light effect on the side, closest to the user, of the curved screen.
In the embodiment of the application, the turning angle of the electronic equipment along a certain axis can be detected through a three-axis gyroscope in the electronic equipment. When the fact that the overturning angle of the electronic equipment along a certain axis is larger than a preset angle threshold value is detected, the electronic equipment is considered to be overturned. When the electronic device is turned over, the side of the curved screen closest to the user may change, and therefore whether the side of the curved screen closest to the user changes needs to be continuously detected, and if the side of the curved screen closest to the user changes, the target lighting effect is switched to the changed side to be displayed. The embodiment of the application can be in the duration of target light efficiency, when changing with the nearest one side of user distance in the curved surface screen, guarantee all the time to show target light efficiency on the nearest one side of user distance in the curved surface screen to the light efficiency is shown to the lowest and most effective mode of consumption, thereby improves user experience.
When the curved screen faces downwards, a message is received, and if the display screen is only lightened, a user may not notice that the curved screen is lightened, and the message prompt for the user cannot be effectively carried out. In the embodiment of the application, when the curved surface screen faces downwards, the light effect displayed on the curved surface screen can be determined according to the type of the received message, and for different types of messages, the message prompt is carried out on the user by using different light effects, so that the intelligence of light effect control can be improved.
Referring to fig. 4, fig. 4 is a schematic flow chart of another display method disclosed in an embodiment of the present application, fig. 4 is further optimized based on fig. 2, and the display method shown in fig. 4 includes the following steps.
401. In a case where the electronic device is in a screen-off state and the electronic device is not in a pocket mode, when the electronic device receives a message, the electronic device detects an orientation of a curved screen of the electronic device. If the curved screen is facing downwards, go to step 402; if the orientation of the curved screen is upward, go to step 404.
402. The electronic equipment determines the message type of the message and determines the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect.
403. The electronic device displays a target light effect on the curved screen.
For specific implementation of steps 401 to 403 in this embodiment, reference may be made to the description of steps 201 to 203 shown in fig. 2, which is not described herein again.
404. The electronic equipment detects whether the distance between the electronic equipment and the user is larger than a preset distance threshold value. If yes, go to step 402; if not, go to step 405.
In the embodiment of the application, the electronic device can detect the distance between the electronic device and the user through the infrared sensor and the ultrasonic sensor. Whether a user exists around the electronic equipment is detected through the infrared sensor, and if the user exists, the distance between the electronic equipment and the user is detected through the ultrasonic sensor.
Wherein the preset distance threshold may be preset and stored in a non-volatile memory of the electronic device. For example, the preset distance threshold may be set to 50 centimeters.
405. The electronic equipment lights up the curved screen, and pops up a prompt box containing a message on the curved screen.
In the embodiment of the application, the electronic device detects whether the distance between the electronic device and the user is greater than a preset distance threshold value to judge whether the electronic device is in the sight line range of the user. Generally speaking, when the distance between the electronic device and the user is smaller than or equal to a preset distance threshold, the electronic device is considered to be within the sight range of the user, at the moment, the curved screen is lightened by the electronic device, a prompt box containing a message pops up on the curved screen, the purpose of reminding the user can be achieved without displaying light effect on the curved screen, and power consumption can be saved. When the distance between the electronic equipment and the user is larger than a preset distance threshold value, the electronic equipment is considered to be out of the sight range of the user, and at the moment, the electronic equipment displays light effect on the curved screen according to the type of the message to remind the user of new message delivery.
In the embodiment of the application, when the curved surface screen faces downwards, the light effect displayed on the curved surface screen can be determined according to the type of the received message, and for different types of messages, the message prompt is carried out on the user by using different light effects, so that the intelligence of light effect control can be improved. When the electronic equipment is in the sight range of the user, the curved screen is lightened, a prompt box containing a message is popped up on the curved screen, the purpose of reminding the user can be achieved without displaying light effect on the curved screen, and power consumption can be saved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present application, as shown in the figure, the electronic device 500 includes a processor 501, a memory 502, and a communication interface 503, and the processor 501, the memory 502, and the communication interface 503 are connected by a communication bus 504, where the one or more programs are stored in the memory 502 and configured to be executed by the processor 501, and the programs include instructions for performing the following steps:
under the condition that the electronic equipment is in a screen extinguishing state and the electronic equipment is not in a pocket mode, when the electronic equipment receives a message, detecting the orientation of the curved screen;
if the curved screen is downward, determining the message type of the message, and determining the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect;
and displaying the target light effect on the curved screen.
Optionally, the program further includes instructions for performing the following steps:
if the orientation of the curved screen is upward, detecting the distance between the electronic equipment and a user;
and under the condition that the distance is larger than a preset distance threshold value, executing the steps of determining the message type of the message and determining the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect.
Optionally, the program further includes instructions for performing the following steps:
and under the condition that the distance is smaller than or equal to the preset distance threshold, lightening the curved screen, and popping up a prompt box containing a message on the curved screen.
Optionally, the program further includes instructions for performing the following steps:
acquiring optical parameters of an environment where the electronic equipment is located;
correcting the light efficiency parameter of the target light efficiency based on the optical parameter to obtain a corrected light efficiency parameter;
in terms of displaying a target light effect on a curved screen, the program comprises instructions for performing the steps of:
and displaying the target light effect on the curved screen according to the corrected light effect parameters.
Optionally, the program further includes instructions for performing the following steps:
determining one side of the curved screen closest to the user;
in terms of displaying a target light effect on a curved screen, the program comprises instructions for performing the steps of:
and displaying the target light effect on the side, closest to the user, of the curved screen.
Optionally, the program further includes instructions for performing the following steps:
and if the fact that the turning angle of the electronic equipment is larger than a preset angle threshold value is detected within the duration of the target light effect, continuing to execute the step of displaying the target light effect on the side, closest to the user, of the curved screen.
Optionally, the electronic device includes a proximity sensor, a light sensor, and a pressure sensor, and the program further includes instructions for performing the steps of:
and under the condition that the proximity sensor detects that an object approaches the electronic equipment, the light sensor detects that the ambient light brightness is lower than a preset brightness threshold value, and the pressure sensor detects that the pressure value of at least one side or one surface of the electronic equipment is greater than a preset pressure threshold value, determining that the electronic equipment is in a pocket mode.
Optionally, the screen-off state includes a screen-off state or a screen-off display AOD mode.
Optionally, the parameters of the lighting effect include lighting effect color, lighting effect brightness, lighting effect flicker frequency, and lighting effect duration.
When the electronic device shown in fig. 5 is implemented, when the curved screen faces downward, the light effect displayed on the curved screen can be determined according to the type of the received message, and for different types of messages, different light effects are used for prompting the message for the user, so that the intelligence of light effect control can be improved.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of being implemented as hardware or a combination of hardware and computer software for performing the various example elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a display device disclosed in an embodiment of the present application, applied to the electronic device shown in fig. 1, the display device 600 includes a first detecting unit 601, a first determining unit 602, and a display unit 603, where:
a first detecting unit 601, configured to detect an orientation of the curved screen when the electronic device receives a message when the electronic device is in a screen-off state and the electronic device is not in a pocket mode;
a first determining unit 602, configured to determine a message type of the message when the first detecting unit 601 detects that the orientation of the curved screen is downward, and determine a target light effect corresponding to the message type of the message according to a correspondence between the message type and the light effect;
a display unit 603 for displaying the target light effect on the curved screen.
Optionally, the display device 600 further includes:
a second detecting unit 604, configured to detect a distance between the electronic device and the user when the first detecting unit 601 detects that the orientation of the curved screen is upward;
the first determining unit 602 is further configured to determine a message type of the message when the second detecting unit 604 detects that the distance is greater than the preset distance threshold, and determine a target light effect corresponding to the message type of the message according to a correspondence between the message type and the light effect.
Optionally, the display device 600 further includes:
the screen lighting unit 605 is further configured to light the curved screen and pop up a prompt box containing a message on the curved screen when the second detecting unit 604 detects that the distance is smaller than or equal to the preset distance threshold.
Optionally, the display device 600 further includes:
an obtaining unit 606, configured to obtain an optical parameter of an environment in which the electronic device is located;
the correcting unit 607 is configured to correct a light efficiency parameter of the target light efficiency based on the optical parameter to obtain a corrected light efficiency parameter;
the display unit 603 displays a target light effect on the curved screen, specifically:
the display unit 603 displays the target light effect according to the corrected light effect parameter on the curved screen.
Optionally, the display device 600 further includes:
a second determining unit 608, configured to determine a side of the curved screen closest to the user;
the display unit 603 displays a target light effect on the curved screen, specifically:
the display unit 603 displays a target light effect on a side closest to a user in the curved screen.
Optionally, the display unit 603 is further configured to display the target light effect on a side of the curved screen closest to the user if it is detected that the flip angle of the electronic device is greater than a preset angle threshold value within the duration of the target light effect.
Optionally, the display device 600 further includes:
a third determining unit 609, configured to determine that the electronic device is in the pocket mode when the proximity sensor detects that an object approaches the electronic device, the light sensor detects that the ambient light brightness is lower than the preset brightness threshold, and the pressure sensor detects that a pressure value of at least one side or one surface of the electronic device is greater than the preset pressure threshold.
Optionally, the screen-off state includes a screen-off state or a screen-off display AOD mode.
Optionally, the parameters of the lighting effect include lighting effect color, lighting effect brightness, lighting effect flicker frequency, and lighting effect duration.
By implementing the display device shown in fig. 6, when the curved screen faces downward, the light effect displayed on the curved screen can be determined according to the type of the received message, and for different types of messages, different light effects are used for prompting the message for the user, so that the intelligence of light effect control can be improved.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the display methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform part or all of the steps of any one of the display methods as described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

  1. A display method, applied to an electronic device including a curved screen, the method comprising:
    detecting an orientation of the curved screen when a message is received by the electronic device while the electronic device is in a screen-off state and the electronic device is not in a pocket mode;
    if the curved screen is downward, determining the message type of the message, and determining the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect;
    and displaying the target light effect on the curved screen.
  2. The method of claim 1, further comprising:
    if the orientation of the curved screen is upward, detecting the distance between the electronic equipment and a user;
    and under the condition that the distance is larger than a preset distance threshold value, executing the step of determining the message type of the message and determining the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect.
  3. The method of claim 2, further comprising:
    and under the condition that the distance is smaller than or equal to a preset distance threshold value, lightening the curved screen, and popping up a prompt box containing the message on the curved screen.
  4. The method of claim 1, wherein prior to displaying the target light effect on the curved screen, the method further comprises:
    acquiring optical parameters of an environment where the electronic equipment is located;
    correcting the light efficiency parameter of the target light efficiency based on the optical parameter to obtain a corrected light efficiency parameter;
    the displaying the target light effect on the curved screen includes:
    and displaying the target light effect on the curved screen according to the corrected light effect parameters.
  5. The method of claim 1, wherein prior to displaying the target light effect on the curved screen, the method further comprises:
    determining one side of the curved screen closest to a user;
    the displaying the target light effect on the curved screen includes:
    and displaying the target light effect on the side, closest to the user, of the curved screen.
  6. The method of claim 5, wherein after the target light effect is displayed on a side of the curved screen closest to the user, the method further comprises:
    and if the fact that the turning angle of the electronic equipment is larger than a preset angle threshold value is detected within the duration of the target light effect, continuing to execute the step of displaying the target light effect on the side, closest to the user, of the curved screen.
  7. The method of any one of claims 1-6, wherein the electronic device comprises a proximity sensor, a light sensor, and a pressure sensor, and wherein before detecting the orientation of the curved screen, the method further comprises:
    and determining that the electronic equipment is in the pocket mode under the condition that the proximity sensor detects that an object approaches the electronic equipment, the light sensor detects that the brightness of the environment light is lower than a preset brightness threshold value, and the pressure sensor detects that the pressure value of at least one side or one surface of the electronic equipment is larger than a preset pressure threshold value.
  8. The method according to any one of claims 1 to 7, wherein the screen-off state comprises a screen-off state or a screen-off display AOD mode.
  9. The method according to any one of claims 1 to 8, wherein the parameters of the light effect comprise light effect color, light effect brightness, light effect flicker frequency and light effect duration.
  10. A display device, characterized in that the display device comprises:
    a first detection unit, configured to detect an orientation of the curved screen when the electronic device receives a message when the electronic device is in a screen-off state and the electronic device is not in a pocket mode;
    the first determining unit is used for determining the message type of the message when the first detecting unit detects that the orientation of the curved screen is downward, and determining the target light effect corresponding to the message type of the message according to the corresponding relation between the message type and the light effect;
    and the display unit is used for displaying the target light effect on the curved screen.
  11. The method of claim 10, wherein the display device further comprises:
    the second detection unit is used for detecting the distance between the electronic equipment and a user when the first detection unit detects that the orientation of the curved screen is upward;
    the first determining unit is further configured to determine a message type of the message when the second detecting unit detects that the distance is greater than a preset distance threshold, and determine a target light effect corresponding to the message type of the message according to a correspondence between the message type and the light effect.
  12. The method of claim 11, wherein the display device further comprises:
    and the screen lighting unit is further used for lighting the curved screen under the condition that the second detection unit detects that the distance is smaller than or equal to a preset distance threshold value, and popping up a prompt box containing the message on the curved screen.
  13. The method of claim 10, wherein the display device further comprises:
    the acquisition unit is used for acquiring optical parameters of the environment where the electronic equipment is located;
    the correcting unit is used for correcting the light effect parameter of the target light effect based on the optical parameter to obtain a corrected light effect parameter;
    the display unit displays the target light effect on the curved screen, and specifically comprises:
    and the display unit displays the target light effect on the curved screen according to the corrected light effect parameters.
  14. The method of claim 10, wherein the display device further comprises:
    the second determining unit is used for determining one side, closest to the user, in the curved screen;
    the display unit displays the target light effect on the curved screen, and specifically comprises:
    the display unit displays the target light effect on a side of the curved screen closest to the user.
  15. The method of claim 14,
    the display unit is further configured to display the target light effect on a side, closest to the user, of the curved screen if it is detected that the turning angle of the electronic device is greater than a preset angle threshold value within the duration of the target light effect.
  16. The method according to any one of claims 10 to 15, wherein the display device further comprises:
    a third determining unit, configured to determine that the electronic device is in the pocket mode when the proximity sensor detects that an object is approaching the electronic device, the light sensor detects that the ambient light brightness is lower than a preset brightness threshold, and the pressure sensor detects that a pressure value of at least one side or one surface of the electronic device is greater than a preset pressure threshold.
  17. The method according to any one of claims 10 to 16, wherein the screen-off state comprises a screen-off state or a screen-off display AOD mode.
  18. The method according to any one of claims 10 to 17, wherein the parameters of the light effect comprise light effect color, light effect brightness, light effect flicker frequency and light effect duration.
  19. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-9.
  20. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-9.
CN201880095810.6A 2018-09-18 2018-09-18 Display method, related device and storage medium Active CN112513801B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/106185 WO2020056583A1 (en) 2018-09-18 2018-09-18 Display method, related device and storage medium

Publications (2)

Publication Number Publication Date
CN112513801A true CN112513801A (en) 2021-03-16
CN112513801B CN112513801B (en) 2024-05-24

Family

ID=69888059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880095810.6A Active CN112513801B (en) 2018-09-18 2018-09-18 Display method, related device and storage medium

Country Status (2)

Country Link
CN (1) CN112513801B (en)
WO (1) WO2020056583A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415816A (en) * 2021-11-30 2022-04-29 荣耀终端有限公司 Information screen display method and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115546111B (en) * 2022-09-13 2023-12-05 武汉海微科技有限公司 Curved surface screen detection method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110216093A1 (en) * 2010-03-04 2011-09-08 Research In Motion Limited System and method for activating components on an electronic device using orientation data
CN103701988A (en) * 2013-12-17 2014-04-02 小米科技有限责任公司 Message prompt method and device and electronic equipment
CN105824526A (en) * 2016-01-29 2016-08-03 维沃移动通信有限公司 Method for event information prompt and mobile terminal
CN106161800A (en) * 2016-08-17 2016-11-23 珠海格力电器股份有限公司 A kind of incoming call reminding method, device and communication terminal
CN106293340A (en) * 2016-07-29 2017-01-04 维沃移动通信有限公司 A kind of information of mobile terminal reminding method and mobile terminal
CN106527866A (en) * 2016-11-25 2017-03-22 北京奇虎科技有限公司 Designated data message remind method and device and mobile terminal
CN106527850A (en) * 2016-10-31 2017-03-22 维沃移动通信有限公司 Message display method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412251A (en) * 2016-09-06 2017-02-15 深圳市金立通信设备有限公司 Information prompting method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110216093A1 (en) * 2010-03-04 2011-09-08 Research In Motion Limited System and method for activating components on an electronic device using orientation data
CN103701988A (en) * 2013-12-17 2014-04-02 小米科技有限责任公司 Message prompt method and device and electronic equipment
CN105824526A (en) * 2016-01-29 2016-08-03 维沃移动通信有限公司 Method for event information prompt and mobile terminal
CN106293340A (en) * 2016-07-29 2017-01-04 维沃移动通信有限公司 A kind of information of mobile terminal reminding method and mobile terminal
CN106161800A (en) * 2016-08-17 2016-11-23 珠海格力电器股份有限公司 A kind of incoming call reminding method, device and communication terminal
CN106527850A (en) * 2016-10-31 2017-03-22 维沃移动通信有限公司 Message display method and mobile terminal
CN106527866A (en) * 2016-11-25 2017-03-22 北京奇虎科技有限公司 Designated data message remind method and device and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415816A (en) * 2021-11-30 2022-04-29 荣耀终端有限公司 Information screen display method and electronic equipment

Also Published As

Publication number Publication date
CN112513801B (en) 2024-05-24
WO2020056583A1 (en) 2020-03-26

Similar Documents

Publication Publication Date Title
CN112235452B (en) Screen-off display method and electronic equipment
CN109348049B (en) Light effect display method, related device and storage medium
WO2015196371A1 (en) User equipment light control method, device and user terminal
CN112425145A (en) System and method for controlling a mobile device case
CN108966323B (en) Bright screen control method and device and terminal
CN108322614B (en) Event reminding method and device, storage medium and electronic equipment
CN109743129B (en) Electromagnetic interference control method and related product
US20200288000A1 (en) Systems and methods for charging a mobile phone and a mobile phone cover
CN113360005A (en) Color cast adjusting method and related product
CN107613139B (en) Schedule reminding method and mobile terminal
CN110086940B (en) Message reminding method, wearable device and readable storage medium
CN112513801A (en) Display method, related device and storage medium
CN109144455B (en) Display control method and related product
CN109246298B (en) Information prompting method and mobile terminal
CN108668018B (en) Mobile terminal, volume control method and related product
US20190342740A1 (en) Systems and methods for controlling a mobile device cover
CN110827785B (en) Brightness adjusting method and related product
CN110851107B (en) Control method of electronic equipment and electronic equipment
CN110149683B (en) Application notification processing method, wearable device and computer-readable storage medium
CN110740214B (en) Prompting method, terminal and computer readable storage medium
CN110278028B (en) Information transmission method and related product
CN110415495B (en) Equipment loss processing method and related equipment
CN107862190B (en) Reminding method and related product
US20190341956A1 (en) Systems and methods for charging a mobile phone and a mobile phone cover
CN112400309A (en) Message prompting method and related product

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