CN106101433B - Notification message display methods and device - Google Patents

Notification message display methods and device Download PDF

Info

Publication number
CN106101433B
CN106101433B CN201610520536.5A CN201610520536A CN106101433B CN 106101433 B CN106101433 B CN 106101433B CN 201610520536 A CN201610520536 A CN 201610520536A CN 106101433 B CN106101433 B CN 106101433B
Authority
CN
China
Prior art keywords
notification message
background color
colouring information
displayed content
present displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610520536.5A
Other languages
Chinese (zh)
Other versions
CN106101433A (en
Inventor
杨冬东
顾凌华
杨晓星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610520536.5A priority Critical patent/CN106101433B/en
Publication of CN106101433A publication Critical patent/CN106101433A/en
Application granted granted Critical
Publication of CN106101433B publication Critical patent/CN106101433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The disclosure discloses a kind of notification message display methods and device, belongs to technical field of mobile terminals.The described method includes: receiving notification message;Obtain the colouring information of present displayed content;The background color of notification message is determined according to the colouring information of the present displayed content;The notification message is shown as background using the background color determined.To solve user because of the problem of not seeing new notification message, and accidentally missing notification message.The color that system is capable of automatic identification present displayed content is reached, the background color of dynamic update notification message allows user not miss notification message visually, enhances the effect of user experience.

Description

Notification message display methods and device
Technical field
This disclosure relates to technical field of mobile terminals, in particular to a kind of notification message display methods and device.
Background technique
With the development of internet technology, mobile terminal using more and more extensive, when terminal such as mobile phone be arranged to it is quiet Sound and when not vibrating, has at this moment carried out the notification message of short message or other application, notification screen can be in the place pop-up having no relations It has been shown that, it is close with foreground content color currently in use if the color that the notification message contents such as short message are shown, it is such as all green , it is just easy to often allow people accidentally missed telephone or message because not seeing the content of Chu Xin pop-up.
In the related technology, a kind of notification message methods of exhibiting and device are proposed, technical field of mobile terminals is belonged to.It is described Method includes: reception notification message;The scoring of the notification message is obtained, the scoring of the notification message is described logical for identifying Know the significance level of message;The notification message is shown according to exhibition method corresponding to the scoring.This method solve phases User may miss the problem of important notification message in the technology of pass;Important lead to can be missed to avoid user by having reached Know the effect of message.But this method intuitively visually cannot allow user not miss notification message.
Summary of the invention
Present disclose provides a kind of notification message display methods and devices.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of notification message display methods is provided, comprising:
Receive notification message;
Obtain the colouring information of present displayed content;
The background color of notification message is determined according to the colouring information of the present displayed content;
The notification message is shown as background using the background color determined.
Optionally, the colouring information according to the present displayed content determines the background color of notification message, can wrap It includes:
Obtain the candidate background color of the notification message;
The candidate background color is compared with the colouring information of present displayed content, determine with currently display in The candidate background color of the colouring information disparity of appearance;
The candidate background color of the disparity is determined as to the background color of the notification message.
Optionally, the colouring information according to the present displayed content determines the background color of notification message, can wrap It includes:
Obtain the candidate background color of the notification message;
When the gap between the candidate background color of the notification message and the colouring information of present displayed content is in the When one preset range, the candidate background color of the notification message is adjusted, makes candidate background color adjusted and current display Gap between the colouring information of content is in the second preset range, wherein the maximum value of the first preset range is pre- less than second If the minimum value of range;
The candidate background color adjusted is determined as to the background color of the notification message.
It is optionally, described that the notification message is shown as background using the background color determined, it may include:
Under non-screen lock state, the notice is shown from the side of local terminal display screen as background using the background color determined Message.
Optionally, the notification message carries the mark for sending the application program of the notification message, and the method may be used also Include:
Obtain the colouring information of the mark of the application program;
The colouring information according to the present displayed content determines the background color of notification message, comprising:
Notice is determined according to the colouring information of the present displayed content and the colouring information of the mark of the application program The background color of message.
Optionally, before the colouring information for obtaining present displayed content, the method may also include that
It identifies the colouring information of present displayed content and saves the colouring information;
When the colouring information of the present displayed content updates, the colouring information of the present displayed content is re-recognized And accordingly save the updated colouring information.
According to the second aspect of an embodiment of the present disclosure, a kind of notification message display device is provided, comprising:
Receiving module, for receiving notification message;
First obtains module, for obtaining the colouring information of present displayed content;
Determining module, for determining the background color of notification message according to the colouring information of the present displayed content;
Display module, for showing the notification message as background using the background color determined.
Optionally, the determining module, it may include:
First acquisition submodule, for obtaining the candidate background color of the notification message;
First determines submodule, for comparing the colouring information of the candidate background color and present displayed content It is right, determine the candidate background color with the colouring information of present displayed content disparity;
Second determines submodule, for the candidate background color of the disparity to be determined as to the back of the notification message Scape color.
Optionally, the determining module, may also include that
Second acquisition submodule, for obtaining the candidate background color of the notification message;
Adjusting submodule, for when the notification message candidate background color and present displayed content colouring information it Between gap when being in the first preset range, adjust the candidate background color of the notification message, make candidate background adjusted Gap between color and the colouring information of present displayed content is in the second preset range, wherein the first preset range is most Minimum value of the big value less than the second preset range;
Third determines submodule, for the candidate background color adjusted to be determined as to the background of the notification message Color.
Optionally, the display module, it may include:
Display sub-module is background from local terminal display screen using the background color determined under non-screen lock state Side shows the notification message.
Optionally, the notification message carries the mark for sending the application program of the notification message, and described device may be used also Include:
Second obtains module, the colouring information of the mark for obtaining the application program;
The determining module, comprising:
4th determines submodule, for according to the colouring information of the present displayed content and the mark of the application program Colouring information determine the background color of notification message.
Optionally, described device may also include that
First identification module the colouring information of present displayed content and saves the colouring information for identification;
Second identification module, it is described current for re-recognizing when the update of the colouring information of the present displayed content It shows the colouring information of content and accordingly saves the updated colouring information.
According to the third aspect of an embodiment of the present disclosure, a kind of notification message display device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive notification message;
Obtain the colouring information of present displayed content;
The background color of notification message is determined according to the colouring information of the present displayed content;
The notification message is shown as background using the background color determined.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal, by receiving notification message;Obtain the colouring information of present displayed content;According to described current The colouring information of display content determines the background color of notification message;The notice is shown as background using the background color determined Message.To solve user because of the problem of not seeing new notification message, and accidentally missing notification message.Reach and has been System is capable of the color of automatic identification present displayed content, the background color of dynamic update notification message, allow user visually not Notification message is missed, the effect of user experience is enhanced.
Understand, the above general description and the following detailed description are merely exemplary, does not limit the disclosure.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and consistent with the instructions for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of notification message display methods shown according to an exemplary embodiment.
Fig. 2 is the flow chart of step 103 in a kind of notification message display methods shown according to an exemplary embodiment.
Fig. 3 is another stream of step 103 in a kind of notification message display methods shown according to an exemplary embodiment Cheng Tu.
Fig. 4 is the flow chart of another notification message display methods shown according to an exemplary embodiment.
Fig. 5 is the flow chart of another notification message display methods shown according to an exemplary embodiment.
Fig. 6 is the flow chart of another notification message display methods shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of notification message display device shown according to an exemplary embodiment.
Fig. 8 is the block diagram of determining module 73 in a kind of notification message display device shown according to an exemplary embodiment.
Fig. 9 be in a kind of notification message display device shown according to an exemplary embodiment determining module 73 another Block diagram.
Figure 10 is the block diagram of another notification message display device shown according to an exemplary embodiment.
Figure 11 is the block diagram of another notification message display device shown according to an exemplary embodiment.
Figure 12 is a kind of block diagram for notification message display device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of notification message display methods shown according to an exemplary embodiment, as shown in Figure 1, The notification message display methods may comprise steps of.
In a step 101, notification message is received.
In a step 102, the colouring information of present displayed content is obtained.
In step 103, the background color of notification message is determined according to the colouring information of present displayed content.
At step 104, notification message is shown as background using the background color determined.
It should be added that step 101 and step 102 execution sequence can be interchanged, the present embodiment to this not It limits.
In conclusion the notification message display methods provided in the embodiment of the present disclosure, by receiving notification message;Acquisition is worked as The colouring information of preceding display content;The background color of notification message is determined according to the colouring information of the present displayed content;With The background color determined is that background shows the notification message.To solve user because do not see new notification message, And the problem of accidentally missing notification message.The color that system is capable of automatic identification present displayed content is reached, dynamic updates The background color of notification message, allows user not miss notification message visually, enhances the effect of user experience.
First point needed to add explanation is, referring to FIG. 2, step 103 may be implemented as step 201-203:
In step 201, the candidate background color of notification message is obtained.
In step 202, candidate background color is compared with the colouring information of present displayed content, determines and works as The candidate background color of the colouring information disparity of preceding display content.
In step 203, candidate background color with the biggest gap is determined as to the background color of notification message.
Notification message can have multiple candidate background colors, when there is notification message, compare the candidate color of notification message With the color of present displayed content, a color with the biggest gap, the candidate background color as notification message are selected.Each Color has corresponding color to encode, and can be found and the colouring information of present displayed content disparity by color coding Candidate background color.
For example, in the case where putting out screen state, the color of present displayed content is black, local terminal be arranged to it is mute, at this point, having Send a telegram here incoming call when, to make user notice incoming call, the background color of incoming call can be set to the maximum white of black contrast, this When, even if user is working, mobile phone is placed on side, is likely to because the contrast of color notices incoming information.
Candidate background color with the biggest gap is determined as the background color of notification message by the present embodiment, so as to so that User is more clearly seen notification message, avoids missing.
The second point needed to add explanation is, referring to FIG. 3, step 103 can also be embodied as following steps 301-303:
In step 301, the candidate background color of notification message is obtained.
In step 302, when the difference between the candidate background color of notification message and the colouring information of present displayed content When away from being in the first preset range, the candidate background color of notification message is adjusted, making candidate background color adjusted and current Show that the gap between the colouring information of content is in the second preset range, wherein the maximum value of the first preset range is less than the The minimum value of two preset ranges.
In step 303, candidate background color adjusted is determined as to the background color of notification message.
When the candidate background color of notification message only one or candidate background color with the face of present displayed content When color information is close, then candidate background color is adjusted, adds a deviant, so that candidate background color and current display The tone of the colouring information of content forms sharper comparison, keeps the two color difference obvious, no longer close.
What is needed to add explanation is thirdly, referring to FIG. 4, step 104 may be implemented as step 401:
It in step 401, is background from the side of local terminal display screen using the background color determined under non-screen lock state Show notification message.
Under non-screen lock state, for example, the background color to determine can be popped up on the top of local terminal display screen as back The notification message of scape.
The 4th point needed to add explanation is that notification message carries the mark of the application program to send a notification message, please be joined Fig. 5 is examined, the above method may also include step 105:
In step 105, the colouring information of the mark of application program is obtained.
Step 103 may be implemented as step 501:
In step 501, it is determined according to the colouring information of present displayed content and the colouring information of the mark of application program The background color of notification message.
Notification message is the notification message of application program, and notification message carries the mark of the application program to send a notification message Know, to keep the mark of application program recognizable, when determining background color, also to consider the color of the mark of application program, The mark of application program is set to be unlikely to be too close to and misknow with background color.
The 4th point needed to add explanation is, referring to FIG. 6, the above method may also include step before step 102 106-107:
In step 106, it identifies the colouring information of present displayed content and saves colouring information.
In step 107, when the colouring information of present displayed content updates, the color of present displayed content is re-recognized Information simultaneously accordingly saves updated colouring information.
In the present embodiment, system automatic identification saves the colouring information for updating display content, consequently facilitating obtaining current aobvious Show the colouring information of content.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 7 is a kind of block diagram of notification message display device shown according to an exemplary embodiment, as shown in fig. 7, should Notification message display device can include but is not limited to: receiving module 71, first obtains module 72, determining module 73 and display mould Block 74.
Receiving module 71 is configured as receiving notification message;
First obtains module 72, is configured as obtaining the colouring information of present displayed content;
Determining module 73 is configured as determining the background color of notification message according to the colouring information of present displayed content;
Display module 74 is configured as the background color to determine and shows notification message as background.
In conclusion the notification message display device provided in the embodiment of the present disclosure, by receiving notification message;Acquisition is worked as The colouring information of preceding display content;The background color of notification message is determined according to the colouring information of the present displayed content;With The background color determined is that background shows the notification message.To solve user because do not see new notification message, And the problem of accidentally missing notification message.The color that system is capable of automatic identification present displayed content is reached, dynamic updates The background color of notification message, allows user not miss notification message visually, enhances the effect of user experience.
Optionally, as shown in figure 8, determining module 73, it may include:
First acquisition submodule 81 is configured as obtaining the candidate background color of notification message;
First determines submodule 82, is configured as comparing the colouring information of candidate background color and present displayed content It is right, determine the candidate background color with the colouring information of present displayed content disparity;
Second determines submodule 83, is configured as candidate background color with the biggest gap being determined as the background of notification message Color.
Optionally, as shown in figure 9, determining module 73, may also include that
Second acquisition submodule 91 is configured as obtaining the candidate background color of notification message;
Adjusting submodule 92 is configured as the colouring information of the candidate background color and present displayed content when notification message Between gap when being in the first preset range, adjust the candidate background color of notification message, make candidate background face adjusted Gap between color and the colouring information of present displayed content is in the second preset range, wherein the maximum of the first preset range It is worth the minimum value less than the second preset range;
Third determines submodule 93, is configured as candidate background color adjusted being determined as the background face of notification message Color.
Optionally, display module 74, it may include:
Display sub-module is configured as under non-screen lock state, is shown as background from local terminal using the background color determined The side of screen shows notification message.
Optionally, notification message carries the mark of the application program to send a notification message, and as shown in Figure 10, above-mentioned apparatus is also Can include:
Second obtains module 75, is configured as obtaining the colouring information of the mark of application program;
Determining module 73, comprising:
4th determines submodule, is configured as the face of the mark of the colouring information and application program according to present displayed content Color information determines the background color of notification message.
Optionally, as shown in figure 11, above-mentioned apparatus may also include that
First identification module 76 is configured as the colouring information of identification present displayed content and protects colouring information It deposits;
Second identification module 77 is configured as when the colouring information of present displayed content updates, and is re-recognized current aobvious Show the colouring information of content and accordingly saves updated colouring information.
Embodiment additionally provides a kind of notification message display device, can be realized the notification message display side of disclosure offer Method.The device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive notification message;
Obtain the colouring information of present displayed content;
The background color of notification message is determined according to the colouring information of the present displayed content;
The notification message is shown as background using the background color determined.
Optionally, the colouring information according to the present displayed content determines the background color of notification message, can wrap It includes:
Obtain the candidate background color of the notification message;
The candidate background color is compared with the colouring information of present displayed content, determine with currently display in The candidate background color of the colouring information disparity of appearance;
The candidate background color of the disparity is determined as to the background color of the notification message.
Optionally, the colouring information according to the present displayed content determines the background color of notification message, can wrap It includes:
Obtain the candidate background color of the notification message;
When the gap between the candidate background color of the notification message and the colouring information of present displayed content is in the When one preset range, the candidate background color of the notification message is adjusted, makes candidate background color adjusted and current display Gap between the colouring information of content is in the second preset range, wherein the maximum value of the first preset range is pre- less than second If the minimum value of range;
The candidate background color adjusted is determined as to the background color of the notification message.
It is optionally, described that the notification message is shown as background using the background color determined, it may include:
Under non-screen lock state, the notice is shown from the side of local terminal display screen as background using the background color determined Message.
Optionally, the notification message carries the mark for sending the application program of the notification message, and the method may be used also Include:
Obtain the colouring information of the mark of the application program;
The colouring information according to the present displayed content determines the background color of notification message, comprising:
Notice is determined according to the colouring information of the present displayed content and the colouring information of the mark of the application program The background color of message.
Optionally, before the colouring information for obtaining present displayed content, the method may also include that
It identifies the colouring information of present displayed content and saves the colouring information;
When the colouring information of the present displayed content updates, the colouring information of the present displayed content is re-recognized And accordingly save the updated colouring information.
Figure 12 is a kind of block diagram for notification message display device 600 shown according to an exemplary embodiment.For example, Device 600 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, doctor Treat equipment, body-building equipment, personal digital assistant etc..
Device 600 may include following one or more components: processing component 602, memory 604, power supply module 606, Multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614 and communication component 616。
The integrated operation of the usual control device 600 of processing component 602, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 602 may include that one or more processors 618 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more modules, just Interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, it is more to facilitate Interaction between media component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in device 600.These data are shown Example includes the instruction of any application or method for operating on device 600, contact data, and telephone book data disappears Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 600.Power supply module 606 may include power management system System, one or more power supplys and other with for device 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between described device 600 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When device 600 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when device 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 604 or via communication set Part 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, and the state for providing various aspects for device 600 is commented Estimate.For example, sensor module 614 can detecte the state that opens/closes of device 600, and the relative positioning of component, for example, it is described Component is the display and keypad of device 600, and sensor module 614 can be with 600 1 components of detection device 600 or device Position change, the existence or non-existence that user contacts with device 600,600 orientation of device or acceleration/deceleration and device 600 Temperature change.Sensor module 614 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 614 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 618 of device 600 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 600 When device executes, so that device 600 is able to carry out above-mentioned notification message display methods, which comprises
Receive notification message;
Obtain the colouring information of present displayed content;
The background color of notification message is determined according to the colouring information of the present displayed content;
The notification message is shown as background using the background color determined.
Optionally, the colouring information according to the present displayed content determines the background color of notification message, can wrap It includes:
Obtain the candidate background color of the notification message;
The candidate background color is compared with the colouring information of present displayed content, determine with currently display in The candidate background color of the colouring information disparity of appearance;
The candidate background color of the disparity is determined as to the background color of the notification message.
Optionally, the colouring information according to the present displayed content determines the background color of notification message, can wrap It includes:
Obtain the candidate background color of the notification message;
When the gap between the candidate background color of the notification message and the colouring information of present displayed content is in the When one preset range, the candidate background color of the notification message is adjusted, makes candidate background color adjusted and current display Gap between the colouring information of content is in the second preset range, wherein the maximum value of the first preset range is pre- less than second If the minimum value of range;
The candidate background color adjusted is determined as to the background color of the notification message.
It is optionally, described that the notification message is shown as background using the background color determined, it may include:
Under non-screen lock state, the notice is shown from the side of local terminal display screen as background using the background color determined Message.
Optionally, the notification message carries the mark for sending the application program of the notification message, and the method may be used also Include:
Obtain the colouring information of the mark of the application program;
The colouring information according to the present displayed content determines the background color of notification message, comprising:
Notice is determined according to the colouring information of the present displayed content and the colouring information of the mark of the application program The background color of message.
Optionally, before the colouring information for obtaining present displayed content, the method may also include that
It identifies the colouring information of present displayed content and saves the colouring information;
When the colouring information of the present displayed content updates, the colouring information of the present displayed content is re-recognized And accordingly save the updated colouring information.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (12)

1. a kind of notification message display methods characterized by comprising
Receive notification message;
Obtain the colouring information of present displayed content;
The background color of notification message is determined according to the colouring information of the present displayed content;
The notification message is shown as background using the background color determined;
The colouring information according to the present displayed content determines the background color of notification message, comprising:
Obtain the candidate background color of the notification message;
When the gap between the candidate background color of the notification message and the colouring information of present displayed content is in first in advance If when range, adjusting the candidate background color of the notification message, make candidate background color and present displayed content adjusted Colouring information between gap be in the second preset range, wherein the maximum value of the first preset range is less than the second default model The minimum value enclosed;
The candidate background color adjusted is determined as to the background color of the notification message.
2. the method according to claim 1, wherein the colouring information according to the present displayed content is true Determine the background color of notification message, comprising:
Obtain the candidate background color of the notification message;
The candidate background color is compared with the colouring information of present displayed content, is determined and present displayed content The candidate background color of colouring information disparity;
The candidate background color of the disparity is determined as to the background color of the notification message.
3. the method according to claim 1, wherein it is described shown using the background color determined as background described in Notification message, comprising:
Under non-screen lock state, show that the notice disappears from the side of local terminal display screen as background using the background color determined Breath.
4. the method according to claim 1, wherein the notification message, which carries, sends answering for the notification message With the mark of program, the method also includes:
Obtain the colouring information of the mark of the application program;
The colouring information according to the present displayed content determines the background color of notification message, comprising:
Notification message is determined according to the colouring information of the colouring information of the present displayed content and the mark of the application program Background color.
5. method according to any of claims 1-4, which is characterized in that in the face for obtaining present displayed content Before color information, the method also includes:
It identifies the colouring information of present displayed content and saves the colouring information;
When the colouring information of the present displayed content updates, the colouring information and phase of the present displayed content are re-recognized The updated colouring information should be saved.
6. a kind of notification message display device characterized by comprising
Receiving module, for receiving notification message;
First obtains module, for obtaining the colouring information of present displayed content;
Determining module, for determining the background color of notification message according to the colouring information of the present displayed content;
Display module, for showing the notification message as background using the background color determined;
The determining module, further includes:
Second acquisition submodule, for obtaining the candidate background color of the notification message;
Adjusting submodule, for when between the candidate background color of the notification message and the colouring information of present displayed content When gap is in the first preset range, the candidate background color of the notification message is adjusted, makes candidate background color adjusted Gap between the colouring information of present displayed content is in the second preset range, wherein the maximum value of the first preset range Less than the minimum value of the second preset range;
Third determines submodule, for the candidate background color adjusted to be determined as to the background face of the notification message Color.
7. device according to claim 6, which is characterized in that the determining module, comprising:
First acquisition submodule, for obtaining the candidate background color of the notification message;
First determines submodule, for the candidate background color to be compared with the colouring information of present displayed content, really Make the candidate background color with the colouring information of present displayed content disparity;
Second determines submodule, for the candidate background color of the disparity to be determined as to the background face of the notification message Color.
8. device according to claim 6, which is characterized in that the display module, comprising:
Display sub-module is background from the side of local terminal display screen using the background color determined under non-screen lock state Show the notification message.
9. device according to claim 6, which is characterized in that the notification message, which carries, sends answering for the notification message With the mark of program, described device further include:
Second obtains module, the colouring information of the mark for obtaining the application program;
The determining module, comprising:
4th determines submodule, for the face according to the mark of the colouring information and application program of the present displayed content Color information determines the background color of notification message.
10. the device according to any one of claim 6-9, which is characterized in that described device further include:
First identification module the colouring information of present displayed content and saves the colouring information for identification;
Second identification module, for re-recognizing the current display when the update of the colouring information of the present displayed content The colouring information of content simultaneously accordingly saves the updated colouring information.
11. a kind of notification message display device, which is characterized in that contain in the terminal of touch screen, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive notification message;
Obtain the colouring information of present displayed content;
The background color of notification message is determined according to the colouring information of the present displayed content;
The notification message is shown as background using the background color determined;
The colouring information according to the present displayed content determines the background color of notification message, comprising:
Obtain the candidate background color of the notification message;
When the gap between the candidate background color of the notification message and the colouring information of present displayed content is in first in advance If when range, adjusting the candidate background color of the notification message, make candidate background color and present displayed content adjusted Colouring information between gap be in the second preset range, wherein the maximum value of the first preset range is less than the second default model The minimum value enclosed;
The candidate background color adjusted is determined as to the background color of the notification message.
12. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of any one of the claims 1-5 the method is realized when execution.
CN201610520536.5A 2016-07-04 2016-07-04 Notification message display methods and device Active CN106101433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610520536.5A CN106101433B (en) 2016-07-04 2016-07-04 Notification message display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610520536.5A CN106101433B (en) 2016-07-04 2016-07-04 Notification message display methods and device

Publications (2)

Publication Number Publication Date
CN106101433A CN106101433A (en) 2016-11-09
CN106101433B true CN106101433B (en) 2019-03-15

Family

ID=57212337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610520536.5A Active CN106101433B (en) 2016-07-04 2016-07-04 Notification message display methods and device

Country Status (1)

Country Link
CN (1) CN106101433B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729100B (en) * 2017-09-26 2020-04-28 维沃移动通信有限公司 Interface display control method and mobile terminal
CN108366169B (en) * 2018-01-30 2020-04-03 维沃移动通信有限公司 Notification message processing method and mobile terminal
CN108737639B (en) * 2018-04-08 2020-09-22 努比亚技术有限公司 Message prompting method, terminal and computer readable storage medium
WO2020047758A1 (en) * 2018-09-04 2020-03-12 深圳市欢太科技有限公司 Message prompting method and related product
CN112400305B (en) * 2018-09-05 2022-03-11 深圳市欢太科技有限公司 Message prompting method and related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103137103A (en) * 2011-12-05 2013-06-05 中兴通讯股份有限公司 Character display method and device
CN104657482A (en) * 2015-02-26 2015-05-27 深圳市中兴移动通信有限公司 Method for displaying application interface and terminal
CN105094549A (en) * 2015-07-20 2015-11-25 小米科技有限责任公司 Method and device for displaying messages
CN105163433A (en) * 2015-08-26 2015-12-16 上海中兴软件有限责任公司 Method and terminal for implementation of message remind

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103137103A (en) * 2011-12-05 2013-06-05 中兴通讯股份有限公司 Character display method and device
CN104657482A (en) * 2015-02-26 2015-05-27 深圳市中兴移动通信有限公司 Method for displaying application interface and terminal
CN105094549A (en) * 2015-07-20 2015-11-25 小米科技有限责任公司 Method and device for displaying messages
CN105163433A (en) * 2015-08-26 2015-12-16 上海中兴软件有限责任公司 Method and terminal for implementation of message remind

Also Published As

Publication number Publication date
CN106101433A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN105119812B (en) In the method, apparatus and terminal device of chat interface change emoticon
CN105094732B (en) Screen display method and device
CN106101433B (en) Notification message display methods and device
CN104918107B (en) The identification processing method and device of video file
CN105704766B (en) The control method and device of double-card mobile terminal
CN107204883B (en) Network fault processing method and device
CN105138319B (en) Event-prompting method and device
CN106162211B (en) The method and device being broadcast live based on live streaming application
CN106231378A (en) The display packing of direct broadcasting room, Apparatus and system
CN104539871B (en) Multimedia session method and device
CN105677023B (en) Information demonstrating method and device
CN110475134A (en) A kind of comment content display method, device, electronic equipment and storage medium
CN105100348B (en) Phone call method and device
CN105260247A (en) Method and device for controlling terminal application
CN106453032B (en) Information-pushing method and device, system
CN106231137A (en) Processing method and processing device based on electricity
CN106375846B (en) The processing method and processing device of live audio
CN105491518A (en) Method and device for social reminding based on wearable devices
CN105450861B (en) Information cuing method and device
CN105426904B (en) Photo processing method, device and equipment
CN104281431B (en) The method and device that audio plays
WO2017016145A1 (en) State notification method and apparatus
CN105119984B (en) Send the method and device of file
CN105323383B (en) The method of adjustment and device of mobile phone bell volume
CN105682187B (en) Icon display method and device

Legal Events

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