WO2020047758A1 - Message prompting method and related product - Google Patents
Message prompting method and related product Download PDFInfo
- Publication number
- WO2020047758A1 WO2020047758A1 PCT/CN2018/104037 CN2018104037W WO2020047758A1 WO 2020047758 A1 WO2020047758 A1 WO 2020047758A1 CN 2018104037 W CN2018104037 W CN 2018104037W WO 2020047758 A1 WO2020047758 A1 WO 2020047758A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- display
- color
- message
- determining
- screen area
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the present application relates to the field of electronic technology, and in particular, to a message prompting method and related products.
- a electronic device when a electronic device receives a message, it usually reminds the user by sending a reminder message or a breathing light, but with the diversification of the structure of the electronic device, for example, the appearance of different forms of display screens, the user is reminded that the electronic device has received
- the way of message also needs to be adaptively changed to adapt to the development and changes of electronic equipment.
- the embodiments of the present application provide a message prompting method and related products, which can more intelligently adjust the color display effect of the side screen area, thereby improving the message prompting effect.
- an embodiment of the present application provides a message prompting method applied to an electronic device, where the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the method includes:
- an embodiment of the present application provides a message prompting device applied to an electronic device.
- the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the message prompting device includes :
- An obtaining unit configured to obtain a first display color of a display interface of the front screen area when a message is received when the electronic device is in a bright screen state
- a determining unit configured to determine a second display color different from the first display color
- a display unit configured to perform color display on the side screen area in the second display color.
- an embodiment of the present application provides an electronic device including a processor, a memory, a communication interface, and one or more programs.
- the one or more programs are stored in the memory, and are configured by the above.
- the processor executes the program, and the program includes instructions for executing steps in the first aspect of the embodiment of the present application.
- 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, and the computer program enables a computer to execute a computer program as described in the first embodiment of the present application.
- an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the implementation of the present application.
- the message prompting method and related products described in the embodiments of the present application obtain the first display color of the display interface of the front screen area when a message is received when the electronic device is in a bright screen state;
- the user can quickly know that the electronic device receives the message, thereby improving the color display effect of the side screen area and enhancing the effect of message prompting.
- FIG. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- FIG. 1B is a schematic flowchart of a message prompting method disclosed in an embodiment of the present application.
- FIG. 1C is a schematic diagram of a color table provided by an embodiment of the present application.
- FIG. 2 is a schematic flowchart of another message prompting method disclosed in an embodiment of the present application.
- FIG. 3 is a schematic flowchart of another message prompting method disclosed in an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of a message prompting device disclosed in an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
- an embodiment herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application.
- the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
- the electronic devices involved in the embodiments of the present application may include various handheld devices (such as smart phones), vehicle-mounted devices, virtual reality (VR) / augmented reality (AR) devices with wireless communication functions, and may Wearable devices, computing devices or other processing devices connected to wireless modems, and various forms of user equipment (UE), mobile stations (MS), terminal devices, R & D / test platforms, Server and so on.
- UE user equipment
- MS mobile stations
- terminal devices R & D / test platforms, Server and so on.
- R & D / test platforms Server and so on.
- FIG. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application.
- the electronic device 100 includes a housing 110, a circuit board 120 disposed in the housing 110, and A curved display screen 130 on the housing 110, and a processor 121 is disposed on the circuit board 120, and the processor 121 is connected to the curved display screen 140.
- FIG. 1A is a side view of an electronic device.
- the curved display includes a front screen area 131 and a side screen area 132, and the processor 121 can control the front screen area 131 and the side screen area.
- the processor 121 can also control the front screen area and the side screen area for display separately.
- the processor can control the front screen area separately for display. Display, but the side screen area is not displayed, or the distributed control front screen area and the side screen area display different display contents with different display parameters. For example, when the screen is off, the side screen area can be controlled separately. Display, etc., the present embodiment is not limited in application.
- FIG. 1B is a schematic flowchart of a message prompting method disclosed in an embodiment of the present application, which is applied to the electronic device described in FIG. 1A.
- the electronic device includes a curved display screen, and the curved display screen includes a positive display. Screen area and side screen area, the message prompt method includes the following steps:
- the message received by the electronic device may include an incoming call message or a message received by an application installed on the electronic device, which is not limited herein.
- the first display color of the display interface in the front screen area may be acquired, where the display interface refers to the display interface currently displayed in the front screen area, and the display interface may be the display of the icon desktop.
- the interface may be an application display interface, which is not limited herein.
- the first display color may be a main color of the display interface.
- the main color refers to a color that plays a leading role in the display interface, and obtains the first display of the display interface.
- the color can be determined by extracting the main color tone of the display interface. Specifically, the main color tone of the display interface is extracted, and the number of pixels of different colors can be counted to determine the main color tone with the largest proportion in the display interface.
- the first display color may also be the color of the desktop wallpaper.
- step 101 obtaining the first display color of the display interface of the front screen area may include the following steps:
- the display interface may be divided into multiple regions according to different contents displayed on the display interface.
- the display interface may be divided into multiple regions according to different contents of the primary and secondary contents, for example, a front screen
- the middle area of the area is used as the main content
- the content of the edge area is used as the secondary content.
- the title and body of the reading page are used as the main content
- the push content such as advertisements is used as the secondary content.
- the display interface is divided.
- the content of different formats such as images, patterns, and text is divided.
- different areas can be assigned different color weights.
- the main content can be set to correspond to The color weight is higher than the color weight corresponding to the secondary content.
- the color weight for the image may be set to be greater than the color weight of the pattern or text content.
- the above-mentioned region color sub-information may include at least one of the following: brightness value, saturation, pixel value, etc. of the pixel points in the region, which is not limited herein.
- the first color may be determined according to multiple region color sub-information and multiple color weights.
- the brightness values of all pixels in each region in the multiple regions may be counted first, and then each The number of pixels in a region in a range of different brightness values, to obtain the multiple number of each region in multiple regions, and then multiply each number in each region by the corresponding color weight of the region to get each A score corresponding to a number, so that multiple score values within each brightness value range of multiple brightness value ranges in all regions can be determined, and each brightness value range can correspond to at least one score value, and then the same
- the multiple score values corresponding to the brightness value range are added to obtain the total score value corresponding to the brightness value range, so that multiple multiple total score values corresponding to the multiple brightness value ranges can be determined.
- the first display color may also be determined through two or more area color sub-informations, which is not limited herein.
- the second display color is the color to be displayed in the side screen area. It can be understood that the closer the first display color and the second display color are, the more difficult it is for the user to distinguish the second display color from the first display color. The greater the difference between the first display color and the second display color, the easier it is for the user to distinguish the second display color from the first display color. Therefore, setting the second display color to be different from the first display color allows the user to When viewing the display interface, the second display color can be viewed more quickly.
- determining a second display color different from the first display color may include the following steps:
- FIG. 1C is a schematic diagram of a color table provided in the embodiment of the present application.
- the color table includes multiple regions, each region represents a Each color corresponds to a color number, and multiple colors in the color table can be arranged according to similarity.
- the preset reference color allows users to associate with the application corresponding to the icon when they see the preset reference color, and to associate the application with the received message according to the color they see.
- the second display color with the largest difference from the first display color is selected from the reference colors, so that the user can distinguish the second display color from the first display color. The user can distinguish the second display color from the first display color, and can associate the application corresponding to the received message by the second display color.
- the 04-08 colors including the 06 color in the color table can be used as multiple preset reference colors, and then from multiple In the preset reference color, the 08th color that is farthest from the first display color in the color table in FIG. 1C is selected as the second display color, so that the user can distinguish the second display color from the first display color.
- the application corresponding to the received message can be associated with the second display color.
- the display is performed on the side screen area, so that when the user sees the color display of the side screen area, the user is prompted to receive a message from the electronic device, wherein the second display color is displayed on the side screen area, and the side display area can be displayed on the side screen area.
- the screen area is used for surround display, and the side screen area can also be controlled to flash with the second display color.
- the color display method can also be other methods, which is not limited here.
- step 103 performing color display on the side screen area with the second display color may specifically include the following steps:
- the above-mentioned ambient light parameters may include at least one of the following: ambient light brightness, ambient light color, ambient light color temperature, etc.
- the above display parameters may include at least one of the following: display brightness, resolution, display frequency, etc.
- the display parameter of the second display color is determined according to the ambient light parameter, and the display of the second display color can be performed under different ambient light conditions.
- the parameters are adjusted adaptively. For example, when the ambient light intensity is large, the display brightness of the second display color can be set to a higher display brightness. When the ambient light intensity is weak, the display brightness of the second display color can be set to The lower display brightness enables the electronic device to not only ensure the display effect of the second display color, but also avoid unnecessary power consumption.
- the surround display in the second display color in the side screen area means that the side screen area around the front screen area prompts the received message in the form of a circle flashing.
- the second display parameter of the front screen area has an influence on the display effect of the second display color of the side screen area, for example, when the display brightness of the front screen area is bright or dark, the display effect of the side screen area will be affected. Different degrees of influence. Therefore, the first display parameter of the second display color can be determined according to the second display parameter and the ambient light parameter of the front screen area, thereby improving the display effect of the second display color.
- the first display parameter includes the orbiting rate of the second display color.
- the orbiting display is performed in the side display area with the second display color according to the first display parameter.
- A1. Determine a target message type of the message.
- A2. Determine a target surround rate corresponding to the target message type according to a preset correspondence between the message type and the surround rate;
- A3. Perform surround display in the side display area in the second display color according to the target surround rate.
- messages can be classified in advance to obtain multiple message types.
- messages can be divided into system messages of applications received by electronic devices and messages from contacts, and then each of the multiple message types is set.
- the surround rate corresponding to the message type so that the target surround rate for surround display of the second display color can be determined according to the target message type corresponding to the message received by the electronic device. In this way, the user can determine the surround rate for the second display color
- the type of message which in turn determines whether to view the message immediately.
- the determining the target message type of the message may specifically include the following steps:
- messages are classified in advance.
- the messages may be classified according to functions corresponding to the application to which the message belongs, for example, messages of a chat application, messages of a payment application, messages of a shopping application, and so on.
- the function of the application to which the received message belongs can be determined according to the prompt of the second display color, and then whether to view the message immediately is determined.
- the determining the target message type of the message may specifically include the following steps:
- messages are classified in advance.
- the messages may be classified according to the priority level of the contacts. For example, the contacts are classified into important contacts, general contacts, and unfamiliar contacts.
- the prompt of the second display color it is determined whether the contact corresponding to the received message is an important contact, and then it is determined whether to view and reply to the message immediately.
- the target message type of the message when the electronic device is in the off state, the target message type of the message may be determined, and then different display colors may be set according to the target message type corresponding to the received message, for example, for a message of a payment application,
- the third display color can be set to the color number 01 in the color table.
- the color number 10 can be set in the color table.
- the message corresponding to the contact A received by the electronic device can be set.
- the third display color of the color table is the color 05 in the color table, and the third display color corresponding to the message received by the contact B is set to the color 15 of the color table, and so on. Therefore, the user can turn off the screen.
- different types of message prompts are distinguished according to different display colors, and then decide whether to view the message immediately and reply to the message.
- the message prompting method described in the embodiment of the present application obtains a first display color of a display interface of a front screen area when a message is received when an electronic device is in a bright screen state, and determines a color different from the first display color.
- the second display color is used to color display the side screen area.
- the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the display color of the side screen area. The user can quickly know that the electronic device has received the message, thereby improving the color display effect of the side screen area and enhancing the effect of message prompting.
- FIG. 2 is a schematic flowchart of a message prompting method disclosed in an embodiment of the present application.
- the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the message prompting method includes the following steps:
- the message prompting method described in the embodiment of the present application determines the corresponding application corresponding to the message by acquiring the first display color of the display interface of the front screen area when the electronic device receives the message in the bright screen state.
- Icon color determine a plurality of preset reference colors corresponding to the icon color, select a second display color that has the largest difference from the first display color from the plurality of preset reference colors, and color the side screen area with the second display color
- the display color of the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the display color of the side screen area.
- the user can quickly know that the electronic device receives the message, thereby improving the side screen.
- the color display effect of the area enhances the effect of the message prompt.
- FIG. 3 is a schematic flowchart of a message prompting method disclosed in an embodiment of the present application.
- the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the message prompting method includes the following steps:
- the electronic device receives a message, it is determined whether the electronic device is in a bright screen state or an off screen state.
- the message prompting method described in the embodiment of the present application determines whether the electronic device is in a bright screen state or an off screen state when the electronic device receives the message.
- the first display color of the display interface determines the icon color corresponding to the application to which the message belongs, determines a plurality of preset reference colors corresponding to the icon color, and selects a gap from the first display color from the plurality of preset reference colors.
- the largest second display color displays the side display area in the second display color. If the electronic device is off, the target message type of the message is determined, and according to the preset correspondence between the message type and the color, it is determined.
- the third display color corresponding to the target message type displays the side screen area with the third display color.
- the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the side screen area. Display color, furthermore, the user can quickly know that the electronic device has received the message, thereby improving the color of the side screen area Display effect, enhance the effect of message prompt.
- FIG. 4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application.
- the electronic device includes a processor, a memory, a communication interface, and one or more programs.
- One or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
- the foregoing program includes instructions for performing the following steps:
- the above-mentioned program includes instructions for performing the following steps:
- a second display color with the largest difference from the first display color is selected from the plurality of preset reference colors.
- the above program also includes instructions for performing the following steps:
- the above program includes instructions for performing the following steps:
- the above program also includes instructions for performing the following steps:
- a first display parameter of the second display color is determined according to the ambient light parameter and the second display parameter.
- the first display parameter includes an orbiting rate of the second display color, and in terms of the orbiting display with the second display color in the side screen area according to the first display parameter
- the above-mentioned program includes instructions for performing the following steps:
- a target message type corresponding to the target function attribute is determined according to a preset correspondence between the function attribute and the message type.
- the above-mentioned program includes instructions for performing the following steps:
- a target message type corresponding to the target contact is determined according to a preset correspondence between the contact and the message type.
- the above program also includes instructions for performing the following steps:
- the electronic device includes a hardware structure and / or a software module corresponding to each function.
- this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software-driven hardware depends on the specific application of the technical solution and design constraints. Professional technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
- the embodiments of the present application may divide the functional units of the electronic device according to the foregoing method examples.
- each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
- the above integrated unit may be implemented in the form of hardware or in the form of software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a logical function division. There may be another division manner in actual implementation.
- FIG. 5 is a schematic structural diagram of a message prompting device disclosed in an embodiment of the present application, which is applied to the electronic device shown in FIG. Area and side screen area, the message prompting device includes an obtaining unit 501, a determining unit 502, and a display unit 503.
- the obtaining unit 501 is configured to obtain a first display color of a display interface of the front screen area when a message is received when the electronic device is in a bright screen state;
- the determining unit 502 is configured to determine a second display color different from the first display color
- the display unit 503 is configured to perform color display on the side screen area in the second display color.
- the obtaining unit 501 is specifically configured to:
- the determining unit 502 is specifically configured to:
- a second display color with the largest difference from the first display color is selected from the plurality of preset reference colors.
- the obtaining unit 501 is further configured to:
- the determining unit 502 is specifically configured to:
- the obtaining unit 501 is further configured to obtain a second display parameter of a display interface of the front screen area;
- the display unit 503 is further configured to determine a first display parameter of the second display color according to the ambient light parameter and the second display parameter.
- the first display parameter includes an orbiting rate of the second display color.
- the The display unit 503 is specifically configured to:
- the display unit 503 is specifically configured to:
- a target message type corresponding to the target function attribute is determined according to a corresponding relationship between a preset function attribute and a message type.
- the display unit 503 is specifically configured to:
- a target message type corresponding to the target contact is determined according to a preset correspondence between the contact and the message type.
- the determining unit 502 is further configured to, when the electronic device receives the message when the screen is off, determine a type corresponding to the target message according to a preset correspondence between a message type and a color The corresponding third display color;
- the display unit 503 is further configured to perform color display on the side screen area in the third display color.
- the message prompting device described in the embodiment of the present application obtains a first display color of a display interface of a front screen area when a message is received when an electronic device is in a bright screen state, and determines a color different from the first display color
- the second display color is used to color display the side screen area.
- the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the display color of the side screen area. The user can quickly know that the electronic device has received the message, thereby improving the color display effect of the side screen area and enhancing the effect of message prompting.
- each "unit” can be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware.
- the electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (personal digital assistant), a POS (point of sales), and a vehicle-mounted computer.
- FIG. 6 is a block diagram showing a partial structure of an electronic device according to an embodiment of the present invention.
- the electronic device 610 may include a control circuit, which may include a storage and processing circuit 630.
- the storage and processing circuit 630 may be a memory, such as a hard disk drive memory, a non-volatile memory (such as a flash memory or other electronic programmable read-only memory used to form a solid-state drive, etc.), a volatile memory (such as a static or dynamic random access memory). Access to memory, etc.), this embodiment is not limited.
- the processing circuit in the storage and processing circuit 630 may be used to control the operation of the electronic device 610.
- the processing circuit can 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 circuit 630 can be used to run software in the electronic device 610, such as an Internet browsing application, a voice over Internet protocol (VOIP) telephone calling application, an email application, a media playback application, and an operating system function Wait.
- These software can be used to perform some control operations, such as camera-based image acquisition, ambient light sensor-based ambient light measurement, proximity sensor-based proximity sensor measurement, and information based on status indicators such as LED status indicators Display functions, touch event detection based on touch sensors, functions associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals
- the control operations associated with collecting and processing button press event data, and other functions in the electronic device 610 are not limited in the embodiments of the present application.
- the electronic device 610 may further include an input-output circuit 642.
- the input-output circuit 642 can be used to enable the electronic device 610 to input and output data, that is, to allow the electronic device 610 to receive data from an external device and also allow the electronic device 610 to output data from the electronic device 610 to an external device.
- the input-output circuit 642 may further include a sensor 632.
- the sensor 632 may include an ambient light sensor, a proximity sensor based on light and capacitance, and a touch sensor (for example, a light touch sensor and / or a capacitive touch sensor, an ultrasonic sensor, where the touch sensor may be part of a touch display screen, or Can be used independently as a touch sensor structure), acceleration sensors, and other sensors.
- the input-output circuit 642 may also include one or more displays, such as the display 614.
- the display 614 may include one or a combination of a liquid crystal display, an organic light emitting diode display, an electronic ink display, a plasma display, and a display using other display technologies.
- the display 614 may include an array of touch sensors (ie, the display 614 may be a touch display screen).
- the touch sensor can be a capacitive touch sensor formed by a transparent array of touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or it can be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, resistance Touch, optical touch, etc. are not limited in the embodiments of the present application.
- the electronic device 610 may further include an audio component 636.
- the audio component 636 may be used to provide audio input and output functions for the electronic device 610.
- the audio component 36 in the electronic device 10 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.
- the communication circuit 638 may be used to provide the electronic device 610 with the ability to communicate with external devices.
- the communication circuit 638 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals.
- the wireless communication circuit in the communication circuit 638 may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna.
- the wireless communication circuit in the communication circuit 638 may include a circuit for supporting near field communication (NFC) by transmitting and receiving a near field coupled electromagnetic signal.
- the communication circuit 638 may include a near field communication antenna and a near field communication transceiver.
- the communication circuit 638 may further include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
- the electronic device 610 may further include a battery, a power management circuit, and other input-output units 640.
- the input-output unit 640 may include a button, a joystick, a click wheel, a scroll wheel, a touch pad, a keypad, a keyboard, a camera, a light emitting diode, and other status indicators.
- the user can input commands through the input-output circuit 642 to control the operation of the electronic device 610, and can use the output data of the input-output circuit 642 to realize receiving status information and other outputs from the electronic device 610.
- the method flow of each step may be implemented based on the structure of the electronic device.
- each unit function may be implemented based on the structure of the electronic device.
- An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute a part of any one of the message prompting methods described in the foregoing method embodiments. Or all steps.
- An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the operations described in the foregoing method embodiments. Some or all of the steps of a message prompt method.
- the disclosed device may be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the unit is only a logical function division.
- multiple units or components may be combined or may be combined. Integration into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or in the form of software program modules.
- the integrated unit When the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it may be stored in a computer-readable memory.
- the technical solution of the present application essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory.
- a computer device which may be a personal computer, a server, or a network device, etc.
- the foregoing memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and other media that can store program codes.
- the program may be stored in a computer-readable memory, and the memory may include a flash disk. , ROM, RAM, disk or disc, etc.
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)
- User Interface Of Digital Computer (AREA)
Abstract
Disclosed are a message prompting method and a related product, said method comprising: when an electronic device receives a message in a bright screen state, obtaining a first display colour of a display interface of a front screen region; determining a second display colour which is different from the first display colour; using the second display colour to perform colour displaying on a side screen region. Thus, the display colours of the side screen region and the front screen region can be differentiated, and a user can rapidly see the display colour of the side screen region, so that the user can rapidly find out that the electronic device has received a message, thereby improving a colour display effect of the side screen region, and enhancing a message prompt effect.
Description
本申请涉及电子技术领域,具体涉及一种消息提示方法及相关产品。The present application relates to the field of electronic technology, and in particular, to a message prompting method and related products.
随着电子设备(如手机、平板电脑等)的大量普及应用,电子设备能够支持的应用越来越多,功能越来越强大,电子设备向着多样化、个性化的方向发展,成为用户生活中不可缺少的电子用品,With the widespread popularization of electronic devices (such as mobile phones, tablet computers, etc.), more and more applications can be supported by electronic devices, and their functions are becoming more and more powerful. Indispensable electronics,
目前,电子设备在接收到消息时,通常通过发送提示信息或者呼吸灯来提醒用户,但随着电子设备的构造发展的多元化,例如,不同形式的显示屏的出现,提示用户电子设备接收到消息的方式也需要进行适应性的改变,以适应电子设备的发展变化。At present, when a electronic device receives a message, it usually reminds the user by sending a reminder message or a breathing light, but with the diversification of the structure of the electronic device, for example, the appearance of different forms of display screens, the user is reminded that the electronic device has received The way of message also needs to be adaptively changed to adapt to the development and changes of electronic equipment.
发明内容Summary of the Invention
本申请实施例提供了一种消息提示方法及相关产品,能够更加智能地调整侧屏区域的颜色显示效果,从而提高消息提示的效果。The embodiments of the present application provide a message prompting method and related products, which can more intelligently adjust the color display effect of the side screen area, thereby improving the message prompting effect.
第一方面,本申请实施例提供一种消息提示方法,应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述方法包括:In a first aspect, an embodiment of the present application provides a message prompting method applied to an electronic device, where the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the method includes:
在所述电子设备处于亮屏状态下接收到消息时,获取所述正屏区域的显示界面的第一显示颜色;When a message is received when the electronic device is in a bright screen state, acquiring a first display color of a display interface in the front screen area;
确定不同于所述第一显示颜色的第二显示颜色;Determining a second display color different from the first display color;
以所述第二显示颜色对所述侧屏区域进行颜色显示。Color display the side screen area with the second display color.
第二方面,本申请实施例提供了一种消息提示装置,应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述消息提示装置包括:In a second aspect, an embodiment of the present application provides a message prompting device applied to an electronic device. The electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the message prompting device includes :
获取单元,用于在所述电子设备处于亮屏状态下接收到消息时,获取所述正屏区域的显示界面的第一显示颜色;An obtaining unit, configured to obtain a first display color of a display interface of the front screen area when a message is received when the electronic device is in a bright screen state;
确定单元,用于确定不同于所述第一显示颜色的第二显示颜色;A determining unit, configured to determine a second display color different from the first display color;
显示单元,用于以所述第二显示颜色对所述侧屏区域进行颜色显示。A display unit, configured to perform color display on the side screen area in the second display color.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口,以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。According to 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. The one or more programs are stored in the memory, and are configured by the above. The processor executes the program, and the program includes instructions for executing steps in the first aspect of the embodiment of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存 储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。According to 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, and the computer program enables a computer to execute a computer program as described in the first embodiment of the present application. Some or all of the steps described in one aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the implementation of the present application. Some or all of the steps described in the first aspect of the example. The computer program product can be a software installation package.
可以看出,本申请实施例中所描述的消息提示方法及相关产品,通过在电子设备处于亮屏状态下接收到消息时,获取正屏区域的显示界面的第一显示颜色;确定不同于第一显示颜色的第二显示颜色;以第二显示颜色对侧屏区域进行颜色显示,如此,可使侧屏区域与正屏区域的显示颜色区分开,用户可快速观看到侧屏区域的显示颜色,进而,用户可快速得知电子设备接收到消息,从而,可提高侧屏区域的颜色显示效果,增强消息提示的效果。It can be seen that the message prompting method and related products described in the embodiments of the present application obtain the first display color of the display interface of the front screen area when a message is received when the electronic device is in a bright screen state; The second display color of one display color; the color display of the side screen area with the second display color, so that the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the display color of the side screen area Furthermore, the user can quickly know that the electronic device receives the message, thereby improving the color display effect of the side screen area and enhancing the effect of message prompting.
下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。The drawings needed to be used in the embodiments or the description of the prior art will be briefly introduced below.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without paying creative labor.
图1A是本申请实施例提供的一种电子设备的结构示意图;FIG. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present application; FIG.
图1B是本申请实施例公开的一种消息提示方法的流程示意图;FIG. 1B is a schematic flowchart of a message prompting method disclosed in an embodiment of the present application; FIG.
图1C是本申请实施例提供的一种颜色表的演示示意图;FIG. 1C is a schematic diagram of a color table provided by an embodiment of the present application; FIG.
图2是本申请实施例公开的另一种消息提示方法的流程示意图;FIG. 2 is a schematic flowchart of another message prompting method disclosed in an embodiment of the present application; FIG.
图3是本申请实施例公开的另一种消息提示方法的流程示意图;FIG. 3 is a schematic flowchart of another message prompting method disclosed in an embodiment of the present application; FIG.
图4是本申请实施例公开的另一种电子设备的结构示意图;4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种消息提示装置的结构示意图;5 is a schematic structural diagram of a message prompting device disclosed in an embodiment of the present application;
图6是本申请实施例提供的另一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only These are part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts 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 the above-mentioned drawings are used to distinguish different objects and are not used to describe a specific order. Furthermore, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device containing a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "an embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备(如智能手机)、车载设备、虚拟现实(virtual reality,VR)/增强现实(augmented reality,AR)设备,可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)、研发/测试平台、服务器等等。为方便描述,上面提到的设备统称为电子设备。The electronic devices involved in the embodiments of the present application may include various handheld devices (such as smart phones), vehicle-mounted devices, virtual reality (VR) / augmented reality (AR) devices with wireless communication functions, and may Wearable devices, computing devices or other processing devices connected to wireless modems, and various forms of user equipment (UE), mobile stations (MS), terminal devices, R & D / test platforms, Server and so on. For ease of description, the devices mentioned above are collectively referred to as electronic devices.
请参阅图1A,图1A是本申请实施例提供的一种电子设备100的结构示意图,上述电子设备100包括:壳体110、设置于所述壳体110内的电路板120和设置于所述壳体110上的曲面显示屏130,所述电路板120上设置有处理器121,所述处理器121连接所述曲面显示屏140,其中,如图1A中的左图所示,为电子设备的正视图,图1A中的右图所示,为电子设备的侧示图,所述曲面显示屏包括正屏区域131和侧屏区域132,处理器121可控制正屏区域131和侧屏区域132作为一个整体进行显示,即正屏区域和侧屏区域显示一个完整的显示界面,处理器121还可单独控制正屏区域和侧屏区域进行显示,例如,处理器可单独控制正屏区域进行显示,而侧屏区域不进行显示,或者,分布控制正屏区域和侧屏区域以不同的显示参数显示不同的显示内容,又例如,可在熄屏状态下,单独控制侧屏区域进行显示等等,本申请实施例不做限定。Please refer to FIG. 1A. FIG. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. The electronic device 100 includes a housing 110, a circuit board 120 disposed in the housing 110, and A curved display screen 130 on the housing 110, and a processor 121 is disposed on the circuit board 120, and the processor 121 is connected to the curved display screen 140. As shown in the left figure in FIG. 1A, it is an electronic device. 1A is a side view of an electronic device. The curved display includes a front screen area 131 and a side screen area 132, and the processor 121 can control the front screen area 131 and the side screen area. 132 is displayed as a whole, that is, the front screen area and the side screen area display a complete display interface. The processor 121 can also control the front screen area and the side screen area for display separately. For example, the processor can control the front screen area separately for display. Display, but the side screen area is not displayed, or the distributed control front screen area and the side screen area display different display contents with different display parameters. For example, when the screen is off, the side screen area can be controlled separately. Display, etc., the present embodiment is not limited in application.
下面对本申请实施例进行详细介绍。The embodiments of the present application are described in detail below.
请参阅图1B,图1B是本申请实施例公开的一种消息提示方法的流程示意图,应用于上述图1A所描述的电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,该消息提示方法包括如下步骤:Please refer to FIG. 1B. FIG. 1B is a schematic flowchart of a message prompting method disclosed in an embodiment of the present application, which is applied to the electronic device described in FIG. 1A. The electronic device includes a curved display screen, and the curved display screen includes a positive display. Screen area and side screen area, the message prompt method includes the following steps:
101、在所述电子设备处于亮屏状态下接收到消息时,获取所述正屏区域的显示界面的第一显示颜色。101. When a message is received when the electronic device is in a bright screen state, obtain a first display color of a display interface in the front screen area.
其中,电子设备接收到的消息,可包括来电消息,也可包括电子设备安装的应用的接收到的消息,此处不作限定。The message received by the electronic device may include an incoming call message or a message received by an application installed on the electronic device, which is not limited herein.
本申请实施例中,当电子设备接收到消息时,可获取正屏区域的显示界面的第一显示颜色,其中,显示界面是指正屏区域当前显示的显示界面,显示界面可以是图标桌面的显示界面,可以是应用的显示界面,此处不作限制,其中,上述第一显示颜色可以是显示界 面的主色调,主色调是指在显示界面中起主导作用的色调,获取显示界面的第一显示颜色,可通过提取显示界面的主色调来确定,具体地,提取显示界面的主色调,可统计不同的颜色的像素点的数目,确定显示界面中数目占比最多的主色调,可选地,若显示界面为图标桌面的显示界面,上述第一显示颜色还可以是桌面壁纸的颜色。In the embodiment of the present application, when the electronic device receives the message, the first display color of the display interface in the front screen area may be acquired, where the display interface refers to the display interface currently displayed in the front screen area, and the display interface may be the display of the icon desktop. The interface may be an application display interface, which is not limited herein. The first display color may be a main color of the display interface. The main color refers to a color that plays a leading role in the display interface, and obtains the first display of the display interface. The color can be determined by extracting the main color tone of the display interface. Specifically, the main color tone of the display interface is extracted, and the number of pixels of different colors can be counted to determine the main color tone with the largest proportion in the display interface. Optionally, If the display interface is an icon desktop display interface, the first display color may also be the color of the desktop wallpaper.
可选地,上述步骤101中,获取所述正屏区域的显示界面的第一显示颜色,可包括如下步骤:Optionally, in step 101, obtaining the first display color of the display interface of the front screen area may include the following steps:
11、根据所述正屏区域的显示界面的显示内容将所述显示界面划分为多个区域;11. Divide the display interface into multiple areas according to the display content of the display interface of the front screen area;
12、根据所述多个区域中每一区域的内容为所述多个区域中每一区域分配颜色权重,得到多个颜色权重;12. Assign a color weight to each of the plurality of regions according to the content of each of the plurality of regions to obtain a plurality of color weights;
13、获取所述多个区域中每一区域的区域颜色子信息,得到多个区域颜色子信息;13. Obtain the regional color sub-information of each of the multiple regions to obtain multiple regional color sub-informations;
14、根据所述多个区域颜色子信息和所述多个颜色权重确定所述第一显示颜色。14. Determine the first display color according to the multiple region color sub-information and the multiple color weights.
本申请实施例中,根据显示界面中显示的内容不同,可将显示界面划分为多个区域,具体地,可根据内容主次的不同,将显示界面划分为多个区域,例如,将正屏区域的中间区域作为主要内容,边缘区域的内容作为次要内容进行划分,又例如,将阅读页面的标题和正文作为主要内容,广告等推送内容作为次要内容进行划分;还可根据内容格式的不同,将显示界面进行划分,例如,将图像、图案、文本等不同格式的内容进行划分,针对上述不同的划分方式,可对不同的区域分配不同的颜色权重,例如,可设置主要内容对应的颜色权重高于次要内容对应的颜色权重,又例如,可设置针对图像的颜色权重大于图案或文本内容的颜色权重等等。In the embodiment of the present application, the display interface may be divided into multiple regions according to different contents displayed on the display interface. Specifically, the display interface may be divided into multiple regions according to different contents of the primary and secondary contents, for example, a front screen The middle area of the area is used as the main content, and the content of the edge area is used as the secondary content. For example, the title and body of the reading page are used as the main content, and the push content such as advertisements is used as the secondary content. Different, the display interface is divided. For example, the content of different formats such as images, patterns, and text is divided. For the above different division methods, different areas can be assigned different color weights. For example, the main content can be set to correspond to The color weight is higher than the color weight corresponding to the secondary content. For example, the color weight for the image may be set to be greater than the color weight of the pattern or text content.
其中,上述区域颜色子信息可包括以下至少一种:区域中像素点的亮度值、饱和度、像素值等等,此处不作限制,在获取多个区域中每一区域的颜色子信息后,可根据多个区域颜色子信息和多个颜色权重确定第一颜色,例如,当区域颜色子信息为亮度值,可先统计多个区域中每一区域中所有像素点的亮度值,然后确定每一区域中处于不同亮度值范围内的像素点的个数,得到多个区域中每一区域的多个个数,然后将每一区域中每一个数乘以该区域对应的颜色权重,得到每一个数对应的得分值,从而可确定所有区域中处于多个亮度值范围中每一亮度值范围内的多个得分值,每一亮度值范围可对应至少一个得分值,然后将同一亮度值范围对应的多个得分值相加,得到该亮度值范围对应的总得分值,从而可确定多个亮度值范围对应的多个总得分值,最后,确定总得分值最高的目标亮度值范围,进而确定目标亮度值范围对应的第一显示颜色,可选地,当区域颜色子信息为饱和度或像素值等信息时,也可通过上述方式确定第一显示颜色,可选地,还可通过两种以上区域颜色子信息确定第一显示颜色,此处不作限制。The above-mentioned region color sub-information may include at least one of the following: brightness value, saturation, pixel value, etc. of the pixel points in the region, which is not limited herein. After obtaining the color sub-information of each region in multiple regions, The first color may be determined according to multiple region color sub-information and multiple color weights. For example, when the region color sub-information is a brightness value, the brightness values of all pixels in each region in the multiple regions may be counted first, and then each The number of pixels in a region in a range of different brightness values, to obtain the multiple number of each region in multiple regions, and then multiply each number in each region by the corresponding color weight of the region to get each A score corresponding to a number, so that multiple score values within each brightness value range of multiple brightness value ranges in all regions can be determined, and each brightness value range can correspond to at least one score value, and then the same The multiple score values corresponding to the brightness value range are added to obtain the total score value corresponding to the brightness value range, so that multiple multiple total score values corresponding to the multiple brightness value ranges can be determined. Finally, Determine the target brightness value range with the highest total score value, and then determine the first display color corresponding to the target brightness value range. Optionally, when the regional color sub-information is information such as saturation or pixel values, the first For a display color, optionally, the first display color may also be determined through two or more area color sub-informations, which is not limited herein.
102、确定不同于所述第一显示颜色的第二显示颜色。102. Determine a second display color that is different from the first display color.
本申请实施例中,第二显示颜色为侧屏区域待显示的颜色,可以理解,第一显示颜色和第二显示颜色越相近,用户越难将第二显示颜色与第一显示颜色区分开,第一显示颜色 和第二显示颜色差别越大,用户越容易将第二显示颜色与第一显示颜色进行区分,因此,将第二显示颜色设定为不同于第一显示颜色,可使用户在观看显示界面时能更快速地观看到第二显示颜色。In the embodiment of the present application, the second display color is the color to be displayed in the side screen area. It can be understood that the closer the first display color and the second display color are, the more difficult it is for the user to distinguish the second display color from the first display color. The greater the difference between the first display color and the second display color, the easier it is for the user to distinguish the second display color from the first display color. Therefore, setting the second display color to be different from the first display color allows the user to When viewing the display interface, the second display color can be viewed more quickly.
可选地,上述步骤102中,确定不同于所述第一显示颜色的第二显示颜色,可包括如下步骤:Optionally, in step 102, determining a second display color different from the first display color may include the following steps:
21、确定所述消息所属的应用对应的图标颜色;21. Determine the icon color corresponding to the application to which the message belongs;
22、确定与所述图标颜色对应的多个预设参考颜色;22. Determine a plurality of preset reference colors corresponding to the icon colors;
23、从所述多个预设参考颜色中选取与所述第一显示颜色差距最大的第二显示颜色。23. Select a second display color that is most different from the first display color from the plurality of preset reference colors.
本申请实施例中,在实施过程中,应用对应的图标颜色丰富多样,一类颜色具体还可包括多种颜色,以蓝色为例,电子设备的应用图标中,可能会存在不同颜色深浅的蓝色的图标,因此,可预先设置一个颜色表,请参阅图1C,图1C为本申请实施例中提供的一种颜色表的演示示意图,颜色表中包括多个区域,每一区域代表一种颜色,每一颜色对应一个色号,颜色表中的多种颜色可按照相似度进行排列,针对每一种图标颜色,可将颜色表中的多个相近颜色设定为与该图标颜色对应的预设参考颜色,使用户在看到预设参考颜色时,能够产生对图标对应的应用的联想,能够根据看到的颜色对收到消息的应用产生联想,进而,可从多个预设参考颜色中选取与第一显示颜色差距最大的第二显示颜色,使用户能够将第二显示颜色与第一显示颜色进行区分,如此,用户既能够将第二显示颜色与第一显示颜色进行区分,又能通过第二显示颜色联想到与接收到的消息对应的应用。In the embodiment of the present application, during the implementation process, the colors of the icons corresponding to the applications are rich and diverse. One type of color may specifically include multiple colors. Taking blue as an example, the application icons of electronic devices may have different shades of color. The blue icon, therefore, a color table can be set in advance. Please refer to FIG. 1C. FIG. 1C is a schematic diagram of a color table provided in the embodiment of the present application. The color table includes multiple regions, each region represents a Each color corresponds to a color number, and multiple colors in the color table can be arranged according to similarity. For each icon color, multiple similar colors in the color table can be set to correspond to the icon color The preset reference color allows users to associate with the application corresponding to the icon when they see the preset reference color, and to associate the application with the received message according to the color they see. The second display color with the largest difference from the first display color is selected from the reference colors, so that the user can distinguish the second display color from the first display color. The user can distinguish the second display color from the first display color, and can associate the application corresponding to the received message by the second display color.
举例说明,当应用图标为06号颜色,第一显示颜色为02号颜色,则可将颜色表中包括06号颜色在内的04-08号颜色作为多个预设参考颜色,然后从多个预设参考颜色中选取在图1C中的颜色表中与第一显示颜色距离最远的08号颜色作为第二显示颜色,从而,用户既能够将第二显示颜色与第一显示颜色进行区分,又能通过第二显示颜色联想到与接收到的消息对应的应用。For example, when the application icon is the color 06 and the first display color is the color 02, the 04-08 colors including the 06 color in the color table can be used as multiple preset reference colors, and then from multiple In the preset reference color, the 08th color that is farthest from the first display color in the color table in FIG. 1C is selected as the second display color, so that the user can distinguish the second display color from the first display color. The application corresponding to the received message can be associated with the second display color.
103、以所述第二显示颜色对所述侧屏区域进行颜色显示。103. Color display the side screen area with the second display color.
本申请实施例中,在侧屏区域进行显示,可使用户在观看到侧屏区域的颜色显示时,提示用户电子设备接收到消息,其中,在侧屏区域显示第二显示颜色,可以在侧屏区域进行环绕显示,也可控制侧屏区域以第二显示颜色进行闪光,进行颜色显示的方式也可以为其他方式,此处不作限制。In the embodiment of the present application, the display is performed on the side screen area, so that when the user sees the color display of the side screen area, the user is prompted to receive a message from the electronic device, wherein the second display color is displayed on the side screen area, and the side display area can be displayed on the side screen area. The screen area is used for surround display, and the side screen area can also be controlled to flash with the second display color. The color display method can also be other methods, which is not limited here.
可选地,本申请实施例中,还可包括如下步骤:Optionally, in the embodiment of the present application, the following steps may be further included:
31、获取环境光参数;31. Obtain ambient light parameters;
32、根据所述环境光参数确定所述第二显示颜色的第一显示参数;32. Determine a first display parameter of the second display color according to the ambient light parameter;
步骤103中,以所述第二显示颜色对所述侧屏区域进行颜色显示,具体可包括以下步骤:In step 103, performing color display on the side screen area with the second display color may specifically include the following steps:
33、根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示。33. Perform surround display in the side screen area with the second display color according to the first display parameter.
其中,上述环境光参数可包括以下至少一种:环境光亮度、环境光颜色、环境光色温等等,上述显示参数可包括以下至少一种:显示亮度、分辨率、显示频率等等,本申请实施例中,考虑到不同环境光对第二显示颜色的显示效果会产生影响,根据环境光参数确定第二显示颜色的显示参数,可在不同的环境光条件下,对第二显示颜色的显示参数作出适应性调整,例如,环境光强度较大时,可将第二显示颜色的显示亮度设置为较高的显示亮度,环境光强度较弱时,可将第二显示颜色的显示亮度设置为较低的显示亮度,使电子设备既能保证第二显示颜色的显示效果,又能避免不必要的功耗。The above-mentioned ambient light parameters may include at least one of the following: ambient light brightness, ambient light color, ambient light color temperature, etc., and the above display parameters may include at least one of the following: display brightness, resolution, display frequency, etc. In the embodiment, considering that different ambient light will affect the display effect of the second display color, the display parameter of the second display color is determined according to the ambient light parameter, and the display of the second display color can be performed under different ambient light conditions. The parameters are adjusted adaptively. For example, when the ambient light intensity is large, the display brightness of the second display color can be set to a higher display brightness. When the ambient light intensity is weak, the display brightness of the second display color can be set to The lower display brightness enables the electronic device to not only ensure the display effect of the second display color, but also avoid unnecessary power consumption.
其中,在侧屏区域以第二显示颜色进行环绕显示,是指在正屏区域的四周的侧屏区域以环绕式闪烁的形式对接收到的消息进行提示。The surround display in the second display color in the side screen area means that the side screen area around the front screen area prompts the received message in the form of a circle flashing.
可选地,本申请实施例中,还可包括如下步骤:Optionally, in the embodiment of the present application, the following steps may be further included:
34、获取所述正屏区域的显示界面的第二显示参数;34. Obtain a second display parameter of the display interface of the front screen area.
35、根据所述环境光参数和所述第二显示参数确定所述第二显示颜色的第一显示参数。35. Determine a first display parameter of the second display color according to the ambient light parameter and the second display parameter.
其中,考虑到正屏区域的第二显示参数对侧屏区域的第二显示颜色的显示效果会产生影响,例如正屏区域的显示亮度较亮或者较暗时,侧屏区域的显示效果会受到不同程度的影响,因此,可根据正屏区域的第二显示参数和环境光参数确定第二显示颜色的第一显示参数,从而,可提高第二显示颜色的显示效果。Considering that the second display parameter of the front screen area has an influence on the display effect of the second display color of the side screen area, for example, when the display brightness of the front screen area is bright or dark, the display effect of the side screen area will be affected. Different degrees of influence. Therefore, the first display parameter of the second display color can be determined according to the second display parameter and the ambient light parameter of the front screen area, thereby improving the display effect of the second display color.
可选地,所述第一显示参数包括所述第二显示颜色的环绕速率,上述步骤33中,所根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示,具体可包括如下步骤:Optionally, the first display parameter includes the orbiting rate of the second display color. In the above step 33, the orbiting display is performed in the side display area with the second display color according to the first display parameter. Can include the following steps:
A1、确定所述消息的目标消息类型;A1. Determine a target message type of the message.
A2、根据预设的消息类型与环绕速率的对应关系,确定所述目标消息类型对应的目标环绕速率;A2. Determine a target surround rate corresponding to the target message type according to a preset correspondence between the message type and the surround rate;
A3、根据所述目标环绕速率在所述侧屏区域以所述第二显示颜色进行环绕显示。A3. Perform surround display in the side display area in the second display color according to the target surround rate.
本申请实施例中,可预先将消息进行分类,得到多个消息类型,例如,消息可分为电子设备接收的应用的***消息和来自联系人的消息,然后设定多个消息类型中每一消息类型对应的环绕速率,从而,可根据电子设备接收到的消息对应的目标消息类型,确定对第二显示颜色进行环绕显示的目标环绕速率,如此,用户可根据第二显示颜色的环绕速率判定消息的类型,进而可决定是否立即查看该消息。In the embodiment of the present application, messages can be classified in advance to obtain multiple message types. For example, messages can be divided into system messages of applications received by electronic devices and messages from contacts, and then each of the multiple message types is set. The surround rate corresponding to the message type, so that the target surround rate for surround display of the second display color can be determined according to the target message type corresponding to the message received by the electronic device. In this way, the user can determine the surround rate for the second display color The type of message, which in turn determines whether to view the message immediately.
可选地,上述步骤A1中,所述确定所述消息的目标消息类型,具体可包括如下步骤:Optionally, in the above step A1, the determining the target message type of the message may specifically include the following steps:
B1、确定所述消息所属应用的目标功能属性;B1. Determine a target function attribute of an application to which the message belongs;
B2、根据预先设定的功能属性与消息类型之间的对应关系,确定与所述目标功能属性对应的目标消息类型。B2. Determine a target message type corresponding to the target function attribute according to a preset correspondence between the function attribute and the message type.
本申请实施例中,预先将消息进行分类,具体地,可根据消息所属的应用对应的功能进行划分,例如,将聊天应用的消息、支付应用的消息、购物应用的消息等等,从而,用 户可根据第二显示颜色的提示确定接收到的消息所属的应用对应哪种功能,进而决定是否立即查看该消息。In the embodiment of the present application, messages are classified in advance. Specifically, the messages may be classified according to functions corresponding to the application to which the message belongs, for example, messages of a chat application, messages of a payment application, messages of a shopping application, and so on. The function of the application to which the received message belongs can be determined according to the prompt of the second display color, and then whether to view the message immediately is determined.
可选地,上述步骤A1中,所述确定所述消息的目标消息类型,具体可包括如下步骤:Optionally, in the above step A1, the determining the target message type of the message may specifically include the following steps:
B3、确定所述消息对应的目标联系人;B3. Determine the target contact corresponding to the message.
B4、根据预设的联系人与消息类型之间的对应关系,确定与所述目标联系人对应的目标消息类型。B4. Determine a target message type corresponding to the target contact according to a preset correspondence between the contact and the message type.
本申请实施例中,预先将消息进行分类,具体地,可根据联系人的优先级别进行划分,例如,将联系人划分为重要联系人、一般联系人、陌生联系人等类型,从而,用户可根据第二显示颜色的提示确定接收到的消息对应的联系人是否为重要联系人,进而决定是否立即查看并回复该消息。In the embodiment of the present application, messages are classified in advance. Specifically, the messages may be classified according to the priority level of the contacts. For example, the contacts are classified into important contacts, general contacts, and unfamiliar contacts. According to the prompt of the second display color, it is determined whether the contact corresponding to the received message is an important contact, and then it is determined whether to view and reply to the message immediately.
可选地,本申请实施例中,还可包括如下步骤:Optionally, in the embodiment of the present application, the following steps may be further included:
C1、在所述电子设备处于熄屏状态下接收所述消息时,根据预设的消息类型与颜色之间的对应关系,确定与所述目标消息类型对应的第三显示颜色;C1. When receiving the message when the electronic device is in the off state, determine a third display color corresponding to the target message type according to a preset correspondence between a message type and a color.
C2、以所述第三显示颜色对所述侧屏区域进行颜色显示。C2. Color display the side screen area with the third display color.
本申请实施例中,可在电子设备处于熄屏状态下时,确定消息的目标消息类型,然后可根据接收到的消息对应的目标消息类型设置不同的显示颜色,例如,针对支付应用的消息,可设定第三显示颜色为颜色表中的01号颜色,针对聊天应用的消息,可设定颜色表中的10号颜色,又例如,可设定电子设备接收到的联系人甲的消息对应的第三显示颜色为颜色表中的05号颜色,设定接收到的联系人乙的消息对应的第三显示颜色为颜色表中的15号颜色,等等,从而,用户可在熄屏状态下,根据不同的显示颜色区分不同类型的消息提示,进而决定是否立即查看该消息,并回复该消息。In the embodiment of the present application, when the electronic device is in the off state, the target message type of the message may be determined, and then different display colors may be set according to the target message type corresponding to the received message, for example, for a message of a payment application, The third display color can be set to the color number 01 in the color table. For messages of chat applications, the color number 10 can be set in the color table. For another example, the message corresponding to the contact A received by the electronic device can be set. The third display color of the color table is the color 05 in the color table, and the third display color corresponding to the message received by the contact B is set to the color 15 of the color table, and so on. Therefore, the user can turn off the screen. Next, different types of message prompts are distinguished according to different display colors, and then decide whether to view the message immediately and reply to the message.
可以看出,本申请实施例中所描述的消息提示方法,通过在电子设备处于亮屏状态下接收到消息时,获取正屏区域的显示界面的第一显示颜色;确定不同于第一显示颜色的第二显示颜色;以第二显示颜色对侧屏区域进行颜色显示,如此,可使侧屏区域与正屏区域的显示颜色区分开,用户可快速观看到侧屏区域的显示颜色,进而,用户可快速得知电子设备接收到消息,从而,可提高侧屏区域的颜色显示效果,增强消息提示的效果。It can be seen that the message prompting method described in the embodiment of the present application obtains a first display color of a display interface of a front screen area when a message is received when an electronic device is in a bright screen state, and determines a color different from the first display color. The second display color is used to color display the side screen area. In this way, the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the display color of the side screen area. The user can quickly know that the electronic device has received the message, thereby improving the color display effect of the side screen area and enhancing the effect of message prompting.
与上述一致地,图2是本申请实施例公开的一种消息提示方法的流程示意图。应用于如图1A所示的电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,该消息提示方法包括如下步骤:Consistent with the above, FIG. 2 is a schematic flowchart of a message prompting method disclosed in an embodiment of the present application. Applied to the electronic device shown in FIG. 1A, the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the message prompting method includes the following steps:
201、在所述电子设备处于亮屏状态下接收到消息时,获取所述正屏区域的显示界面的第一显示颜色。201. When a message is received when the electronic device is in a bright screen state, obtain a first display color of a display interface in the front screen area.
202、确定所述消息所属的应用对应的图标颜色。202. Determine an icon color corresponding to an application to which the message belongs.
203、确定与所述图标颜色对应的多个预设参考颜色。203. Determine a plurality of preset reference colors corresponding to the icon colors.
204、从所述多个预设参考颜色中选取与所述第一显示颜色差距最大的第二显示颜色。204. Select a second display color that is most different from the first display color from the plurality of preset reference colors.
205、以所述第二显示颜色对所述侧屏区域进行颜色显示。205. Color-display the side screen area with the second display color.
其中,上述步骤201-步骤205的具体描述可以参照图1B所描述的消息提示方法的相应描述,在此不再赘述。For the detailed description of the foregoing steps 201 to 205, reference may be made to the corresponding description of the message prompting method described in FIG. 1B, and details are not described herein again.
可以看出,本申请实施例中所描述的消息提示方法,通过在电子设备处于亮屏状态下接收到消息时,获取正屏区域的显示界面的第一显示颜色,确定该消息所属的应用对应的图标颜色,确定与图标颜色对应的多个预设参考颜色,从多个预设参考颜色中选取与第一显示颜色差距最大的第二显示颜色,以第二显示颜色对侧屏区域进行颜色显示,如此,可使侧屏区域与正屏区域的显示颜色区分开,用户可快速观看到侧屏区域的显示颜色,进而,用户可快速得知电子设备接收到消息,从而,可提高侧屏区域的颜色显示效果,增强消息提示的效果。It can be seen that the message prompting method described in the embodiment of the present application determines the corresponding application corresponding to the message by acquiring the first display color of the display interface of the front screen area when the electronic device receives the message in the bright screen state. Icon color, determine a plurality of preset reference colors corresponding to the icon color, select a second display color that has the largest difference from the first display color from the plurality of preset reference colors, and color the side screen area with the second display color In this way, the display color of the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the display color of the side screen area. Furthermore, the user can quickly know that the electronic device receives the message, thereby improving the side screen. The color display effect of the area enhances the effect of the message prompt.
与上述一致地,图3是本申请实施例公开的一种消息提示方法的流程示意图。应用于图1A所示的电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,该消息提示方法包括如下步骤:Consistent with the above, FIG. 3 is a schematic flowchart of a message prompting method disclosed in an embodiment of the present application. Applied to the electronic device shown in FIG. 1A, the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the message prompting method includes the following steps:
301、在所述电子设备接收到消息时,判断电子设备处于亮屏状态还是熄屏状态。301. When the electronic device receives a message, it is determined whether the electronic device is in a bright screen state or an off screen state.
302、若所述电子设备处于亮屏状态,获取所述正屏区域的显示界面的第一显示颜色。302. If the electronic device is in a bright screen state, obtain a first display color of a display interface in the front screen area.
303、确定所述消息所属的应用对应的图标颜色。303. Determine an icon color corresponding to an application to which the message belongs.
304、确定与所述图标颜色对应的多个预设参考颜色。304. Determine a plurality of preset reference colors corresponding to the icon colors.
305、从所述多个预设参考颜色中选取与所述第一显示颜色差距最大的第二显示颜色。305. Select a second display color that has the largest difference from the first display color from the plurality of preset reference colors.
306、以所述第二显示颜色对所述侧屏区域进行颜色显示。306. Color display the side screen area with the second display color.
307、若所述电子设备处于熄屏状态,确定所述消息的目标消息类型。307. If the electronic device is in an off-screen state, determine a target message type of the message.
308、根据预设的消息类型与颜色之间的对应关系,确定与所述目标消息类型对应的第三显示颜色。308. Determine a third display color corresponding to the target message type according to a preset correspondence between the message type and the color.
309、以所述第三显示颜色对所述侧屏区域进行颜色显示。309. Color display the side screen area in the third display color.
其中,上述步骤301-步骤309的具体描述可以参照图1B所描述的消息提示方法的相应描述,在此不再赘述。For the detailed description of the foregoing steps 301 to 309, reference may be made to the corresponding description of the message prompting method described in FIG. 1B, and details are not described herein again.
可以看出,本申请实施例中所描述的消息提示方法,通过在电子设备接收到消息时,判断电子设备处于亮屏状态还是熄屏状态,若电子设备处于亮屏状态,获取正屏区域的显示界面的第一显示颜色,确定消息所属的应用对应的图标颜色,确定与图标颜色对应的多个预设参考颜色,从所述多个预设参考颜色中选取与所述第一显示颜色差距最大的第二显示颜色,以第二显示颜色对侧屏区域进行颜色显示,若电子设备处于熄屏状态,确定消息的目标消息类型,根据预设的消息类型与颜色之间的对应关系,确定与目标消息类型对应的第三显示颜色,以第三显示颜色对侧屏区域进行颜色显示,如此,可使侧屏区域与正屏 区域的显示颜色区分开,用户可快速观看到侧屏区域的显示颜色,进而,用户可快速得知电子设备接收到消息,从而,可提高侧屏区域的颜色显示效果,增强消息提示的效果。It can be seen that the message prompting method described in the embodiment of the present application determines whether the electronic device is in a bright screen state or an off screen state when the electronic device receives the message. The first display color of the display interface determines the icon color corresponding to the application to which the message belongs, determines a plurality of preset reference colors corresponding to the icon color, and selects a gap from the first display color from the plurality of preset reference colors. The largest second display color displays the side display area in the second display color. If the electronic device is off, the target message type of the message is determined, and according to the preset correspondence between the message type and the color, it is determined. The third display color corresponding to the target message type displays the side screen area with the third display color. In this way, the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the side screen area. Display color, furthermore, the user can quickly know that the electronic device has received the message, thereby improving the color of the side screen area Display effect, enhance the effect of message prompt.
请参阅图4,图4是本申请实施例公开的另一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器、通信接口,以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and one or more programs. One or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
在电子设备处于亮屏状态下接收到消息时,获取所述电子设备的曲面显示屏正屏区域的显示界面的第一显示颜色;Obtaining a first display color of a display interface of a front screen area of a curved display screen of the electronic device when the electronic device receives a message in a bright screen state;
确定不同于所述第一显示颜色的第二显示颜色;Determining a second display color different from the first display color;
以所述第二显示颜色对所述侧屏区域进行颜色显示。Color display the side screen area with the second display color.
在一个可能的示例中,在所述获取所述正屏区域的显示界面的第一显示颜色方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of acquiring the first display color of the display interface of the front screen area, the foregoing program includes instructions for performing the following steps:
根据所述正屏区域的显示界面的显示内容将所述显示界面划分为多个区域;Dividing the display interface into a plurality of areas according to the display content of the display interface of the front screen area;
根据所述多个区域中每一区域的内容为所述多个区域中每一区域分配颜色权重,得到多个颜色权重;Assigning color weights to each of the plurality of regions according to the content of each of the plurality of regions to obtain a plurality of color weights;
获取所述多个区域中每一区域的区域颜色子信息,得到多个区域颜色子信息;Acquiring regional color sub-information of each of the multiple regions to obtain multiple regional color sub-informations;
根据所述多个区域颜色子信息和所述多个颜色权重确定所述第一显示颜色。Determining the first display color according to the plurality of region color sub-information and the plurality of color weights.
在一个可能的示例中,在所述确定不同于所述第一显示颜色的第二显示颜色方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of determining a second display color different from the first display color, the above-mentioned program includes instructions for performing the following steps:
确定所述消息所属的应用对应的图标颜色;Determine the icon color corresponding to the application to which the message belongs;
确定与所述图标颜色对应的多个预设参考颜色;Determining a plurality of preset reference colors corresponding to the icon colors;
从所述多个预设参考颜色中选取与所述第一显示颜色差距最大的第二显示颜色。A second display color with the largest difference from the first display color is selected from the plurality of preset reference colors.
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:In one possible example, the above program also includes instructions for performing the following steps:
获取环境光参数;Get ambient light parameters;
根据所述环境光参数确定所述第二显示颜色的第一显示参数;Determining a first display parameter of the second display color according to the ambient light parameter;
在所述以所述第二显示颜色对所述侧屏区域进行颜色显示方面,上述程序包括用于执行以下步骤的指令:With regard to the color display of the side screen area with the second display color, the above program includes instructions for performing the following steps:
根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示。Performing surround display in the side display area in the second display color according to the first display parameter.
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:In one possible example, the above program also includes instructions for performing the following steps:
获取所述正屏区域的显示界面的第二显示参数;Acquiring a second display parameter of a display interface of the front screen area;
根据所述环境光参数和所述第二显示参数确定所述第二显示颜色的第一显示参数。A first display parameter of the second display color is determined according to the ambient light parameter and the second display parameter.
在一个可能的示例中,所述第一显示参数包括所述第二显示颜色的环绕速率,在所根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示方面,上述程序包 括用于执行以下步骤的指令:In a possible example, the first display parameter includes an orbiting rate of the second display color, and in terms of the orbiting display with the second display color in the side screen area according to the first display parameter The above program includes instructions for performing the following steps:
确定所述消息的目标消息类型;Determining a target message type of the message;
根据预设的消息类型与环绕速率的对应关系,确定所述目标消息类型对应的目标环绕速率;Determining a target surround rate corresponding to the target message type according to a preset correspondence between the message type and the surround rate;
根据所述目标环绕速率在所述侧屏区域以所述第二显示颜色进行环绕显示。Performing surround display in the side display area in the second display color according to the target surround rate.
在一个可能的示例中,在所述确定所述消息的目标消息类型方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of determining a target message type of the message, the above-mentioned program includes instructions for performing the following steps:
确定所述消息所属应用的目标功能属性;Determining a target function attribute of an application to which the message belongs;
根据预先设定的功能属性与消息类型之间的对应关系,确定与所述目标功能属性对应的目标消息类型。A target message type corresponding to the target function attribute is determined according to a preset correspondence between the function attribute and the message type.
在一个可能的示例中,在所述确定所述消息的目标消息类型方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of determining a target message type of the message, the above-mentioned program includes instructions for performing the following steps:
确定所述消息对应的目标联系人;Determining a target contact corresponding to the message;
根据预设的联系人与消息类型之间的对应关系,确定与所述目标联系人对应的目标消息类型。A target message type corresponding to the target contact is determined according to a preset correspondence between the contact and the message type.
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:In one possible example, the above program also includes instructions for performing the following steps:
在所述电子设备处于熄屏状态下接收所述消息时,根据预设的消息类型与颜色之间的对应关系,确定与所述目标消息类型对应的第三显示颜色;Determining the third display color corresponding to the target message type according to a preset correspondence between a message type and a color when the electronic device receives the message in an off-screen state;
以所述第三显示颜色对所述侧屏区域进行颜色显示。Color display the side screen area with the third display color.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solution of the embodiment of the present application from the perspective of the method-side execution process. It can be understood that, in order to realize the above functions, the electronic device includes a hardware structure and / or a software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software-driven hardware depends on the specific application of the technical solution and design constraints. Professional technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the functional units of the electronic device according to the foregoing method examples. 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 above integrated unit may be implemented in the form of hardware or in the form of software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a logical function division. There may be another division manner in actual implementation.
请参阅图5,图5是本申请实施例公开的一种消息提示装置的结构示意图,应用于图 1A所示的电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述消息提示装置包括获取单元501、确定单元502和显示单元503,其中,Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a message prompting device disclosed in an embodiment of the present application, which is applied to the electronic device shown in FIG. Area and side screen area, the message prompting device includes an obtaining unit 501, a determining unit 502, and a display unit 503.
所述获取单元501,用于在所述电子设备处于亮屏状态下接收到消息时,获取所述正屏区域的显示界面的第一显示颜色;The obtaining unit 501 is configured to obtain a first display color of a display interface of the front screen area when a message is received when the electronic device is in a bright screen state;
所述确定单元502,用于确定不同于所述第一显示颜色的第二显示颜色;The determining unit 502 is configured to determine a second display color different from the first display color;
所述显示单元503,用于以所述第二显示颜色对所述侧屏区域进行颜色显示。The display unit 503 is configured to perform color display on the side screen area in the second display color.
可选地,所述获取单元501具体用于:Optionally, the obtaining unit 501 is specifically configured to:
根据所述正屏区域的显示界面的显示内容将所述显示界面划分为多个区域;Dividing the display interface into a plurality of areas according to the display content of the display interface of the front screen area;
根据所述多个区域中每一区域的内容为所述多个区域中每一区域分配颜色权重,得到多个颜色权重;Assigning color weights to each of the plurality of regions according to the content of each of the plurality of regions to obtain a plurality of color weights;
获取所述多个区域中每一区域的区域颜色子信息,得到多个区域颜色子信息;Acquiring regional color sub-information of each of the multiple regions to obtain multiple regional color sub-informations;
根据所述多个区域颜色子信息和所述多个颜色权重确定所述第一显示颜色。Determining the first display color according to the plurality of region color sub-information and the plurality of color weights.
可选地,所述确定单元502具体用于:Optionally, the determining unit 502 is specifically configured to:
确定所述消息所属的应用对应的图标颜色;Determine the icon color corresponding to the application to which the message belongs;
确定与所述图标颜色对应的多个预设参考颜色;Determining a plurality of preset reference colors corresponding to the icon colors;
从所述多个预设参考颜色中选取与所述第一显示颜色差距最大的第二显示颜色。A second display color with the largest difference from the first display color is selected from the plurality of preset reference colors.
可选地,所述获取单元501还用于:Optionally, the obtaining unit 501 is further configured to:
获取环境光参数;Get ambient light parameters;
根据所述环境光参数确定所述第二显示颜色的第一显示参数;Determining a first display parameter of the second display color according to the ambient light parameter;
所述确定单元502具体用于:The determining unit 502 is specifically configured to:
根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示。Performing surround display in the side display area in the second display color according to the first display parameter.
可选地,所述获取单元501,还用于获取所述正屏区域的显示界面的第二显示参数;Optionally, the obtaining unit 501 is further configured to obtain a second display parameter of a display interface of the front screen area;
所述显示单元503,还用于根据所述环境光参数和所述第二显示参数确定所述第二显示颜色的第一显示参数。The display unit 503 is further configured to determine a first display parameter of the second display color according to the ambient light parameter and the second display parameter.
可选地,所述第一显示参数包括所述第二显示颜色的环绕速率,在所根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示方面,所述显示单元503具体用于:Optionally, the first display parameter includes an orbiting rate of the second display color. In terms of performing orbital display with the second display color in the side screen area according to the first display parameter, the The display unit 503 is specifically configured to:
确定所述消息的目标消息类型;Determining a target message type of the message;
根据预设的消息类型与环绕速率的对应关系,确定所述目标消息类型对应的目标环绕速率;Determining a target surround rate corresponding to the target message type according to a preset correspondence between the message type and the surround rate;
根据所述目标环绕速率在所述侧屏区域以所述第二显示颜色进行环绕显示。Performing surround display in the side display area in the second display color according to the target surround rate.
可选地,在所述确定所述消息的目标消息类型方面,所述显示单元503具体用于:Optionally, in terms of determining a target message type of the message, the display unit 503 is specifically configured to:
确定所述消息所属应用的目标功能属性;Determining a target function attribute of an application to which the message belongs;
根据预先设定的功能属性与消息类型之间的对应关系,确定与所述目标功能属性对应 的目标消息类型。A target message type corresponding to the target function attribute is determined according to a corresponding relationship between a preset function attribute and a message type.
可选地,在所述确定所述消息的目标消息类型方面,所述显示单元503具体用于:Optionally, in terms of determining a target message type of the message, the display unit 503 is specifically configured to:
确定所述消息对应的目标联系人;Determining a target contact corresponding to the message;
根据预设的联系人与消息类型之间的对应关系,确定与所述目标联系人对应的目标消息类型。A target message type corresponding to the target contact is determined according to a preset correspondence between the contact and the message type.
可选地,所述确定单元502,还用于在所述电子设备处于熄屏状态下接收所述消息时,根据预设的消息类型与颜色之间的对应关系,确定与所述目标消息类型对应的第三显示颜色;Optionally, the determining unit 502 is further configured to, when the electronic device receives the message when the screen is off, determine a type corresponding to the target message according to a preset correspondence between a message type and a color The corresponding third display color;
所述显示单元503,还用于以所述第三显示颜色对所述侧屏区域进行颜色显示。The display unit 503 is further configured to perform color display on the side screen area in the third display color.
可以看出,本申请实施例中所描述的消息提示装置,通过在电子设备处于亮屏状态下接收到消息时,获取正屏区域的显示界面的第一显示颜色;确定不同于第一显示颜色的第二显示颜色;以第二显示颜色对侧屏区域进行颜色显示,如此,可使侧屏区域与正屏区域的显示颜色区分开,用户可快速观看到侧屏区域的显示颜色,进而,用户可快速得知电子设备接收到消息,从而,可提高侧屏区域的颜色显示效果,增强消息提示的效果。It can be seen that the message prompting device described in the embodiment of the present application obtains a first display color of a display interface of a front screen area when a message is received when an electronic device is in a bright screen state, and determines a color different from the first display color The second display color is used to color display the side screen area. In this way, the side screen area can be distinguished from the display color of the front screen area, and the user can quickly view the display color of the side screen area. The user can quickly know that the electronic device has received the message, thereby improving the color display effect of the side screen area and enhancing the effect of message prompting.
需要注意的是,本申请实施例所描述的电子设备是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the electronic devices described in the embodiments of the present application are presented in the form of functional units. The term "unit" used herein should be understood as the widest possible meaning. The object used to implement the functions described by each "unit" can be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware. The program's processor (shared, dedicated, or chipset) and memory, combined logic circuits, and / or other suitable components that provide the functions described above.
本申请实施例还提供了另一种电子设备,如图6所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该电子设备可以为包括手机、平板电脑、PDA(personal digital assistant,个人数字助理)、POS(point of sales,销售终端)、车载电脑等任意终端设备。This embodiment of the present application also provides another electronic device. As shown in FIG. 6, for convenience of explanation, only relevant parts of the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method of the embodiment of the present application. section. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (personal digital assistant), a POS (point of sales), and a vehicle-mounted computer.
图6示出的是与本发明实施例提供的电子设备的部分结构的框图。如图6所示,电子设备610可以包括控制电路,该控制电路可以包括存储和处理电路630。该存储和处理电路630可以存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程只读存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路630中的处理电路可以用于控制电子设备610的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字信号处理器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。FIG. 6 is a block diagram showing a partial structure of an electronic device according to an embodiment of the present invention. As shown in FIG. 6, the electronic device 610 may include a control circuit, which may include a storage and processing circuit 630. The storage and processing circuit 630 may be a memory, such as a hard disk drive memory, a non-volatile memory (such as a flash memory or other electronic programmable read-only memory used to form a solid-state drive, etc.), a volatile memory (such as a static or dynamic random access memory). Access to memory, etc.), this embodiment is not limited. The processing circuit in the storage and processing circuit 630 may be used to control the operation of the electronic device 610. The processing circuit can 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.
存储和处理电路630可用于运行电子设备610中的软件,例如互联网浏览应用程序,互联网协议语音(voice over internet protocol,VOIP)电话呼叫应用程序,电子邮件应用程序,媒体播放应用程序,操作***功能等。这些软件可以用于执行一些控制操作,例如,基于照相机的图像采集,基于环境光传感器的环境光测量,基于接近传感器的接近传感器 测量,基于诸如发光二极管的状态指示灯等状态指示器实现的信息显示功能,基于触摸传感器的触摸事件检测,与在多个(例如分层的)显示器上显示信息相关联的功能,与执行无线通信功能相关联的操作,与收集和产生音频信号相关联的操作,与收集和处理按钮按压事件数据相关联的控制操作,以及电子设备610中的其它功能等,本申请实施例不作限制。The storage and processing circuit 630 can be used to run software in the electronic device 610, such as an Internet browsing application, a voice over Internet protocol (VOIP) telephone calling application, an email application, a media playback application, and an operating system function Wait. These software can be used to perform some control operations, such as camera-based image acquisition, ambient light sensor-based ambient light measurement, proximity sensor-based proximity sensor measurement, and information based on status indicators such as LED status indicators Display functions, touch event detection based on touch sensors, functions associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals The control operations associated with collecting and processing button press event data, and other functions in the electronic device 610 are not limited in the embodiments of the present application.
电子设备610还可以包括输入-输出电路642。输入-输出电路642可用于使电子设备610实现数据的输入和输出,即允许电子设备610从外部设备接收数据和也允许电子设备610将数据从电子设备610输出至外部设备。输入-输出电路642可以进一步包括传感器632。传感器632可以包括环境光传感器,基于光和电容的接近传感器,触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,超声波传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,和其它传感器等。The electronic device 610 may further include an input-output circuit 642. The input-output circuit 642 can be used to enable the electronic device 610 to input and output data, that is, to allow the electronic device 610 to receive data from an external device and also allow the electronic device 610 to output data from the electronic device 610 to an external device. The input-output circuit 642 may further include a sensor 632. The sensor 632 may include an ambient light sensor, a proximity sensor based on light and capacitance, and a touch sensor (for example, a light touch sensor and / or a capacitive touch sensor, an ultrasonic sensor, where the touch sensor may be part of a touch display screen, or Can be used independently as a touch sensor structure), acceleration sensors, and other sensors.
输入-输出电路642还可以包括一个或多个显示器,例如显示器614。显示器614可以包括液晶显示器,有机发光二极管显示器,电子墨水显示器,等离子显示器,使用其它显示技术的显示器中一种或者几种的组合。显示器614可以包括触摸传感器阵列(即,显示器614可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。The input-output circuit 642 may also include one or more displays, such as the display 614. The display 614 may include one or a combination of a liquid crystal display, an organic light emitting diode display, an electronic ink display, a plasma display, and a display using other display technologies. The display 614 may include an array of touch sensors (ie, the display 614 may be a touch display screen). The touch sensor can be a capacitive touch sensor formed by a transparent array of touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or it can be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, resistance Touch, optical touch, etc. are not limited in the embodiments of the present application.
电子设备610还可以包括音频组件636。音频组件636可以用于为电子设备610提供音频输入和输出功能。电子设备10中的音频组件36可以包括扬声器,麦克风,蜂鸣器,音调发生器以及其它用于产生和检测声音的组件。The electronic device 610 may further include an audio component 636. The audio component 636 may be used to provide audio input and output functions for the electronic device 610. The audio component 36 in the electronic device 10 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.
通信电路638可以用于为电子设备610提供与外部设备通信的能力。通信电路638可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路638中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路638中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(near field communication,NFC)的电路。例如,通信电路638可以包括近场通信天线和近场通信收发器。通信电路638还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。The communication circuit 638 may be used to provide the electronic device 610 with the ability to communicate with external devices. The communication circuit 638 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals. The wireless communication circuit in the communication circuit 638 may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna. For example, the wireless communication circuit in the communication circuit 638 may include a circuit for supporting near field communication (NFC) by transmitting and receiving a near field coupled electromagnetic signal. For example, the communication circuit 638 may include a near field communication antenna and a near field communication transceiver. The communication circuit 638 may further include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
电子设备610还可以进一步包括电池,电力管理电路和其它输入-输出单元640。输入-输出单元640可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管和其它状态指示器等。The electronic device 610 may further include a battery, a power management circuit, and other input-output units 640. The input-output unit 640 may include a button, a joystick, a click wheel, a scroll wheel, a touch pad, a keypad, a keyboard, a camera, a light emitting diode, and other status indicators.
用户可以通过输入-输出电路642输入命令来控制电子设备610的操作,并且可以使用输入-输出电路642的输出数据以实现接收来自电子设备610的状态信息和其它输出。The user can input commands through the input-output circuit 642 to control the operation of the electronic device 610, and can use the output data of the input-output circuit 642 to realize receiving status information and other outputs from the electronic device 610.
前述图1B、图2或图3所示的实施例中,各步骤方法流程可以基于该电子设备的结构 实现。In the foregoing embodiment shown in FIG. 1B, FIG. 2 or FIG. 3, the method flow of each step may be implemented based on the structure of the electronic device.
前述图4、图5所示的实施例中,各单元功能可以基于该电子设备的结构实现。In the foregoing embodiments shown in FIG. 4 and FIG. 5, each unit function may be implemented based on the structure of the electronic device.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种消息提示方法的部分或全部步骤。An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute a part of any one of the message prompting methods described in the foregoing method embodiments. Or all steps.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种消息提示方法的部分或全部步骤。An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the operations described in the foregoing method embodiments. Some or all of the steps of a message prompt method.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all described as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action order. Because according to the present application, certain steps may be performed in another order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not described in detail in one embodiment, reference may be made to related descriptions in other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be combined. Integration into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software program modules.
所述集成的单元如果以软件程序模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。When the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it may be stored in a computer-readable memory. Based on such an understanding, the technical solution of the present application essentially or part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The foregoing memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk, and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、ROM、RAM、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer-readable memory, and the memory may include a flash disk. , ROM, RAM, disk or disc, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been described in detail above. Specific examples have been used in this document to explain the principles and implementation of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. Persons of ordinary skill in the art may change the specific implementation and application scope according to the idea of the present application. In summary, the content of this description should not be construed as a limitation on the present application.
Claims (20)
- 一种消息提示方法,其特征在于,应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述方法包括:A message prompting method is characterized in that it is applied to an electronic device, the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the method includes:在所述电子设备处于亮屏状态下接收到消息时,获取所述正屏区域的显示界面的第一显示颜色;When a message is received when the electronic device is in a bright screen state, acquiring a first display color of a display interface in the front screen area;确定不同于所述第一显示颜色的第二显示颜色;Determining a second display color different from the first display color;以所述第二显示颜色对所述侧屏区域进行颜色显示。Color display the side screen area with the second display color.
- 根据权利要求1所述的方法,其特征在于,所述获取所述正屏区域的显示界面的第一显示颜色,包括:The method according to claim 1, wherein the acquiring a first display color of a display interface of the front screen area comprises:根据所述正屏区域的显示界面的显示内容将所述显示界面划分为多个区域;Dividing the display interface into a plurality of areas according to the display content of the display interface of the front screen area;根据所述多个区域中每一区域的内容为所述多个区域中每一区域分配颜色权重,得到多个颜色权重;Assigning color weights to each of the plurality of regions according to the content of each of the plurality of regions to obtain a plurality of color weights;获取所述多个区域中每一区域的区域颜色子信息,得到多个区域颜色子信息;Acquiring regional color sub-information of each of the multiple regions to obtain multiple regional color sub-informations;根据所述多个区域颜色子信息和所述多个颜色权重确定所述第一显示颜色。Determining the first display color according to the plurality of region color sub-information and the plurality of color weights.
- 根据权利要求1或2所述的方法,其特征在于,所述确定不同于所述第一显示颜色的第二显示颜色,包括:The method according to claim 1 or 2, wherein the determining a second display color different from the first display color comprises:确定所述消息所属的应用对应的图标颜色;Determine the icon color corresponding to the application to which the message belongs;确定与所述图标颜色对应的多个预设参考颜色;Determining a plurality of preset reference colors corresponding to the icon colors;从所述多个预设参考颜色中选取与所述第一显示颜色差距最大的第二显示颜色。A second display color with the largest difference from the first display color is selected from the plurality of preset reference colors.
- 根据权利要求1至3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:获取环境光参数;Get ambient light parameters;根据所述环境光参数确定所述第二显示颜色的第一显示参数;Determining a first display parameter of the second display color according to the ambient light parameter;所述以所述第二显示颜色对所述侧屏区域进行颜色显示,包括:The color displaying the side screen area with the second display color includes:根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示。Performing surround display in the side display area in the second display color according to the first display parameter.
- 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, further comprising:获取所述正屏区域的显示界面的第二显示参数;Acquiring a second display parameter of a display interface of the front screen area;根据所述环境光参数和所述第二显示参数确定所述第二显示颜色的第一显示参数。A first display parameter of the second display color is determined according to the ambient light parameter and the second display parameter.
- 根据权利要求4或5所述的方法,其特征在于,所述第一显示参数包括所述第二显示颜色的环绕速率,所根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示,包括:The method according to claim 4 or 5, wherein the first display parameter includes a surround rate of the second display color, and the first display parameter is based on the first display parameter in the side screen area. Two display colors for surround display, including:确定所述消息的目标消息类型;Determining a target message type of the message;根据预设的消息类型与环绕速率的对应关系,确定所述目标消息类型对应的目标环绕速率;Determining a target surround rate corresponding to the target message type according to a preset correspondence between the message type and the surround rate;根据所述目标环绕速率在所述侧屏区域以所述第二显示颜色进行环绕显示。Performing surround display in the side display area in the second display color according to the target surround rate.
- 根据权利要求6所述的方法,其特征在于,所述确定所述消息的目标消息类型,包括:The method according to claim 6, wherein the determining a target message type of the message comprises:确定所述消息所属应用的目标功能属性;Determining a target function attribute of an application to which the message belongs;根据预先设定的功能属性与消息类型之间的对应关系,确定与所述目标功能属性对应的目标消息类型。A target message type corresponding to the target function attribute is determined according to a preset correspondence between the function attribute and the message type.
- 根据权利要求6所述的方法,其特征在于,所述确定所述消息的目标消息类型,包括:The method according to claim 6, wherein the determining a target message type of the message comprises:确定所述消息对应的目标联系人;Determining a target contact corresponding to the message;根据预设的联系人与消息类型之间的对应关系,确定与所述目标联系人对应的目标消息类型。A target message type corresponding to the target contact is determined according to a preset correspondence between the contact and the message type.
- 根据权利要求6-8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6-8, wherein the method further comprises:在所述电子设备处于熄屏状态下接收所述消息时,根据预设的消息类型与颜色之间的对应关系,确定与所述目标消息类型对应的第三显示颜色;Determining the third display color corresponding to the target message type according to a preset correspondence between a message type and a color when the electronic device receives the message in an off-screen state;以所述第三显示颜色对所述侧屏区域进行颜色显示。Color display the side screen area with the third display color.
- 一种消息提示装置,其特征在于,应用于电子设备,所述电子设备包括曲面显示屏,所述曲面显示屏包括正屏区域和侧屏区域,所述消息提示装置包括:A message prompting device, which is characterized in that it is applied to electronic equipment, the electronic device includes a curved display screen, the curved display screen includes a front screen area and a side screen area, and the message prompt device includes:获取单元,用于在所述电子设备处于亮屏状态下接收到消息时,获取所述正屏区域的显示界面的第一显示颜色;An obtaining unit, configured to obtain a first display color of a display interface of the front screen area when a message is received when the electronic device is in a bright screen state;确定单元,用于确定不同于所述第一显示颜色的第二显示颜色;A determining unit, configured to determine a second display color different from the first display color;显示单元,用于以所述第二显示颜色对所述侧屏区域进行颜色显示。A display unit, configured to perform color display on the side screen area in the second display color.
- 根据权利要求10所述的装置,其特征在于,所述获取单元具体用于:The apparatus according to claim 10, wherein the obtaining unit is specifically configured to:根据所述正屏区域的显示界面的显示内容将所述显示界面划分为多个区域;Dividing the display interface into a plurality of areas according to the display content of the display interface of the front screen area;根据所述多个区域中每一区域的内容为所述多个区域中每一区域分配颜色权重,得到多个颜色权重;Assigning color weights to each of the plurality of regions according to the content of each of the plurality of regions to obtain a plurality of color weights;获取所述多个区域中每一区域的区域颜色子信息,得到多个区域颜色子信息;Acquiring regional color sub-information of each of the multiple regions to obtain multiple regional color sub-informations;根据所述多个区域颜色子信息和所述多个颜色权重确定所述第一显示颜色。Determining the first display color according to the plurality of region color sub-information and the plurality of color weights.
- 根据权利要求10或11所述的装置,其特征在于,所述确定单元具体用于:The device according to claim 10 or 11, wherein the determining unit is specifically configured to:确定所述消息所属的应用对应的图标颜色;Determine the icon color corresponding to the application to which the message belongs;确定与所述图标颜色对应的多个预设参考颜色;Determining a plurality of preset reference colors corresponding to the icon colors;从所述多个预设参考颜色中选取与所述第一显示颜色差距最大的第二显示颜色。A second display color with the largest difference from the first display color is selected from the plurality of preset reference colors.
- 根据权利要求10-12任一项所述的装置,其特征在于,The device according to any one of claims 10-12, wherein:所述获取单元,还用于获取环境光参数;The obtaining unit is further configured to obtain an ambient light parameter;所述确定单元,具体用于:The determining unit is specifically configured to:根据所述环境光参数确定所述第二显示颜色的第一显示参数;Determining a first display parameter of the second display color according to the ambient light parameter;根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示。Performing surround display in the side display area in the second display color according to the first display parameter.
- 根据权利要求13所述的装置,其特征在于,The device according to claim 13, wherein:所述获取单元,还用于获取所述正屏区域的显示界面的第二显示参数;The obtaining unit is further configured to obtain a second display parameter of a display interface of the front screen area;所述显示单元,还用于根据所述环境光参数和所述第二显示参数确定所述第二显示颜色的第一显示参数。The display unit is further configured to determine a first display parameter of the second display color according to the ambient light parameter and the second display parameter.
- 根据权利要求13或14所述的装置,其特征在于,所述第一显示参数包括所述第二显示颜色的环绕速率,在所根据所述第一显示参数在所述侧屏区域以所述第二显示颜色进行环绕显示方面,所述显示单元具体用于:The device according to claim 13 or 14, wherein the first display parameter comprises a surround rate of the second display color, and the first display parameter is set in the side screen area according to the first display parameter. With regard to the second display color for surround display, the display unit is specifically configured to:确定所述消息的目标消息类型;Determining a target message type of the message;根据预设的消息类型与环绕速率的对应关系,确定所述目标消息类型对应的目标环绕速率;Determining a target surround rate corresponding to the target message type according to a preset correspondence between the message type and the surround rate;根据所述目标环绕速率在所述侧屏区域以所述第二显示颜色进行环绕显示。Performing surround display in the side display area in the second display color according to the target surround rate.
- 根据权利要求15所述的装置,其特征在于,在所述确定所述消息的目标消息类型方面,所述显示单元具体用于:The device according to claim 15, wherein in the aspect of determining a target message type of the message, the display unit is specifically configured to:确定所述消息所属应用的目标功能属性;Determining a target function attribute of an application to which the message belongs;根据预先设定的功能属性与消息类型之间的对应关系,确定与所述目标功能属性对应的目标消息类型。A target message type corresponding to the target function attribute is determined according to a preset correspondence between the function attribute and the message type.
- 根据权利要求15所述的装置,其特征在于,在所述确定所述消息的目标消息类型方面,所述显示单元具体用于:The device according to claim 15, wherein in the aspect of determining a target message type of the message, the display unit is specifically configured to:确定所述消息对应的目标联系人;Determining a target contact corresponding to the message;根据预设的联系人与消息类型之间的对应关系,确定与所述目标联系人对应的目标消息类型。A target message type corresponding to the target contact is determined according to a preset correspondence between the contact and the message type.
- 根据权利要求15-17任一项所述的装置,其特征在于,The device according to any one of claims 15 to 17, wherein:所述确定单元,还用于在所述电子设备处于熄屏状态下接收所述消息时,根据预设的消息类型与颜色之间的对应关系,确定与所述目标消息类型对应的第三显示颜色;The determining unit is further configured to determine a third display corresponding to the target message type according to a preset correspondence relationship between a message type and a color when the electronic device receives the message in a screen-off state. colour;所述显示单元,还用于以所述第三显示颜色对所述侧屏区域进行颜色显示。The display unit is further configured to perform color display on the side screen area in the third display color.
- 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。An electronic device, comprising a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. The program includes instructions for performing the steps in the method according to any one of claims 1-9.
- 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/104037 WO2020047758A1 (en) | 2018-09-04 | 2018-09-04 | Message prompting method and related product |
CN201880095568.2A CN112400309A (en) | 2018-09-04 | 2018-09-04 | Message prompting method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/104037 WO2020047758A1 (en) | 2018-09-04 | 2018-09-04 | Message prompting method and related product |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020047758A1 true WO2020047758A1 (en) | 2020-03-12 |
Family
ID=69722710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/104037 WO2020047758A1 (en) | 2018-09-04 | 2018-09-04 | Message prompting method and related product |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112400309A (en) |
WO (1) | WO2020047758A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112201191A (en) * | 2020-10-12 | 2021-01-08 | 维沃移动通信有限公司 | Display screen control method and device, electronic equipment and readable storage medium |
WO2022063110A1 (en) * | 2020-09-23 | 2022-03-31 | 华为技术有限公司 | Message prompting method and electronic device |
CN114915685A (en) * | 2021-02-10 | 2022-08-16 | 北京小米移动软件有限公司 | Message information prompting method, device and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806001A (en) * | 2021-09-24 | 2021-12-17 | 维沃移动通信有限公司 | Display method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824526A (en) * | 2016-01-29 | 2016-08-03 | 维沃移动通信有限公司 | Method for event information prompt and mobile terminal |
CN106101433A (en) * | 2016-07-04 | 2016-11-09 | 北京小米移动软件有限公司 | Notification message display packing and device |
CN106293340A (en) * | 2016-07-29 | 2017-01-04 | 维沃移动通信有限公司 | A kind of information of mobile terminal reminding method and mobile terminal |
CN106412251A (en) * | 2016-09-06 | 2017-02-15 | 深圳市金立通信设备有限公司 | Information prompting method and terminal |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101515629B1 (en) * | 2012-01-07 | 2015-04-27 | 삼성전자주식회사 | Method and apparatus for providing event of portable device having flexible display unit |
CN103488397B (en) * | 2013-09-13 | 2017-01-11 | 深圳市欧珀通信软件有限公司 | Method and device for arranging icons, and mobile terminal |
CN104866165B (en) * | 2014-02-21 | 2018-10-12 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN103955332A (en) * | 2014-05-15 | 2014-07-30 | 深圳市中兴移动通信有限公司 | Mobile terminal and arraying method and device for desktop icons of mobile terminal |
CN104536771B (en) * | 2015-01-28 | 2017-10-24 | 广东欧珀移动通信有限公司 | According to the icon sequencing display method and system of Icon Color |
CN105426043A (en) * | 2015-11-05 | 2016-03-23 | 青岛海信移动通信技术股份有限公司 | Display method of message prompt, and mobile terminal |
CN105867730B (en) * | 2016-03-24 | 2019-03-01 | Oppo广东移动通信有限公司 | The display methods and device of status bar |
CN106898330B (en) * | 2017-04-06 | 2019-11-19 | 北京安云世纪科技有限公司 | A kind of screen vision-control method and terminal device |
-
2018
- 2018-09-04 WO PCT/CN2018/104037 patent/WO2020047758A1/en active Application Filing
- 2018-09-04 CN CN201880095568.2A patent/CN112400309A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105824526A (en) * | 2016-01-29 | 2016-08-03 | 维沃移动通信有限公司 | Method for event information prompt and mobile terminal |
CN106101433A (en) * | 2016-07-04 | 2016-11-09 | 北京小米移动软件有限公司 | Notification message display packing and device |
CN106293340A (en) * | 2016-07-29 | 2017-01-04 | 维沃移动通信有限公司 | A kind of information of mobile terminal reminding method and mobile terminal |
CN106412251A (en) * | 2016-09-06 | 2017-02-15 | 深圳市金立通信设备有限公司 | Information prompting method and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022063110A1 (en) * | 2020-09-23 | 2022-03-31 | 华为技术有限公司 | Message prompting method and electronic device |
CN112201191A (en) * | 2020-10-12 | 2021-01-08 | 维沃移动通信有限公司 | Display screen control method and device, electronic equipment and readable storage medium |
CN114915685A (en) * | 2021-02-10 | 2022-08-16 | 北京小米移动软件有限公司 | Message information prompting method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112400309A (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11307733B2 (en) | Always on display method and electronic device | |
WO2020047758A1 (en) | Message prompting method and related product | |
CN109283996B (en) | Display control method and related product | |
US11570348B2 (en) | Electromagnetic interference control method and related product | |
CN108833779B (en) | Shooting control method and related product | |
CN108391007A (en) | A kind of the volume setting method and mobile terminal of application program | |
CN113360005B (en) | Color cast adjusting method and related product | |
KR102636438B1 (en) | Interface display method and terminal | |
CN110475020B (en) | Equipment control method and related product | |
CN109144455B (en) | Display control method and related product | |
CN106060284A (en) | Backlight control method and device, and mobile terminal | |
CN109375889B (en) | Display control method and related product | |
US20220319378A1 (en) | Screen color temperature control method, apparatus, storage medium, and mobile terminal | |
CN111880706B (en) | Function switching method and device, electronic equipment and readable storage medium | |
CN108769401B (en) | Signal detection method and related product | |
CN108510266A (en) | A kind of Digital Object Unique Identifier recognition methods and mobile terminal | |
CN108664206A (en) | Information processing method, device, storage medium and electronic equipment | |
WO2020056583A1 (en) | Display method, related device and storage medium | |
CN110827785B (en) | Brightness adjusting method and related product | |
CN111343321B (en) | Backlight brightness adjusting method and related product | |
WO2020047778A1 (en) | Message prompting method and related product | |
CN111368238A (en) | Status bar adjusting method and device, mobile terminal and storage medium | |
CN107807876B (en) | Split screen display method, mobile terminal and storage medium | |
CN111596986B (en) | Information prompting method and electronic equipment | |
CN110795054B (en) | Image quality adjusting method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18932948 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/07/2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18932948 Country of ref document: EP Kind code of ref document: A1 |