CN110109725A - A kind of interface color method of adjustment and wearable device - Google Patents
A kind of interface color method of adjustment and wearable device Download PDFInfo
- Publication number
- CN110109725A CN110109725A CN201910359320.9A CN201910359320A CN110109725A CN 110109725 A CN110109725 A CN 110109725A CN 201910359320 A CN201910359320 A CN 201910359320A CN 110109725 A CN110109725 A CN 110109725A
- Authority
- CN
- China
- Prior art keywords
- background color
- color
- display interface
- application
- theme
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application discloses a kind of interface color method of adjustment and wearable devices, wherein this method comprises: detecting the theme background color of display interface when detecting the bullet frame ejection operation of triggering application;Obtain the background color of the application;Judge whether the theme background color of the display interface matches with the background color of the application;If the determination result is NO, the corresponding background color for playing frame of the application is adjusted according to the theme background color of the display interface.Through the invention, it can solve wearable device in the related technology to be hit by a bullet frame color and the inconsistent problem for causing interfacial effect uncoordinated of wearable device theme background color, so that the bullet frame background color of application is identical as the background color of display interface, so that display interface is more coordinated, user experience is improved.
Description
Technical field
This application involves field of mobile terminals, in particular to a kind of interface color method of adjustment and wearable device.
Background technique
The bullet frame on the third-party application in wearable device is determined according to the background color of application oneself setting at present
Surely color shown by frame is played.It will cause bullet frame color in this way and wearable device theme background color be inconsistent, can seem area
It is very not big.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of interface color method of adjustment and wearable devices, at least to solve the relevant technologies
Middle wearable device is hit by a bullet frame color and the inconsistent problem for causing interfacial effect uncoordinated of wearable device theme background color.
According to an aspect of an embodiment of the present invention, a kind of interface color method of adjustment is provided, comprising:
When detecting the bullet frame ejection operation of triggering application, the theme background color of display interface is detected;
Obtain the background color of the application;
Judge whether the theme background color of the display interface matches with the background color of the application;
If the determination result is NO, the application is adjusted according to the theme background color of the display interface to correspond to
Play the background color of frame.
Optionally, the theme background color for detecting display interface includes:
The first color value of the theme background color of the display interface is obtained under predetermined store path.
Optionally, judge whether the theme background color of the display interface matches packet with the background color of the application
It includes:
Judge the second of the first color value of the theme background color of the display interface and the background color of the application
Whether color value is identical;
In the case where the judgment result is yes, the theme background color of the display interface and the background of the application are determined
Color-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determined
Color mismatches.
Optionally, judge whether the theme background color of the display interface matches packet with the background color of the application
It includes:
Judge the second of the first color value of the theme background color of the display interface and the background color of the application
Whether the difference of color value is less than the first preset threshold;
In the case where the judgment result is yes, the theme background color of the display interface and the background of the application are determined
Color-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determined
Color mismatches.
Optionally, the corresponding background color packet for playing frame of the application is adjusted according to the theme background color of the display interface
It includes:
The corresponding background color for playing frame of the application is replaced with to the theme background color of the display interface.
Optionally, the corresponding background color packet for playing frame of the application is adjusted according to the theme background color of the display interface
It includes:
Detect current power consumption state;
In the case where testing result is low power consumpting state, by the theme background color of the display interface and the application
The corresponding background color for playing frame is adjusted to pre-set color.
Optionally, the corresponding background color packet for playing frame of the application is adjusted according to the theme background color of the display interface
It includes:
In the case where detection is in battery saving mode, the first color value of the theme background color of the display interface is judged
Whether second color value of the background color of the application and the difference of first color value and second color value are greater than
Greater than the second preset threshold;
In the case where the judgment result is yes, second color value is replaced into first color value.
Optionally, the method also includes:
It is in the case where detection is in battery saving mode, the theme background luminance of the display interface and the application is corresponding
The background luminance for playing frame is adjusted to pre-set brightness.
According to another aspect of an embodiment of the present invention, a kind of wearable device is additionally provided, the wearable device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The computer program realizes the step of above-mentioned interface color method of adjustment when being executed by the processor.
According to another aspect of an embodiment of the present invention, a kind of interface color adjustment device is additionally provided, comprising:
Detection module, for detecting the theme background of display interface when detecting the bullet frame ejection operation of triggering application
Color;
Module is obtained, for obtaining the background color of the application;
Judgment module, for judge the display interface theme background color and the application background color whether
Match;
The first adjustment module is used for if the determination result is NO, according to the theme background face of the display interface
Using the corresponding background color for playing frame described in color adjustment.
Optionally, the detection module, is also used to
The first color value of the theme background color of the display interface is obtained under predetermined store path.
Optionally, the judgment module, is also used to
Judge the second of the first color value of the theme background color of the display interface and the background color of the application
Whether color value is identical;
In the case where the judgment result is yes, the theme background color of the display interface and the background of the application are determined
Color-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determined
Color mismatches.
Optionally, the judgment module, is also used to
Judge the second of the first color value of the theme background color of the display interface and the background color of the application
Whether the difference of color value is less than the first preset threshold;
In the case where the judgment result is yes, the theme background color of the display interface and the background of the application are determined
Color-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determined
Color mismatches.
Optionally, the first adjustment module, is also used to
The corresponding background color for playing frame of the application is replaced with to the theme background color of the display interface.
Optionally, the first adjustment module, is also used to
Detect current power consumption state;
In the case where testing result is low power consumpting state, by the theme background color of the display interface and the application
The corresponding background color for playing frame is adjusted to pre-set color.
Optionally, the first adjustment module, is also used to
In the case where detection is in battery saving mode, the first color value of the theme background color of the display interface is judged
Whether second color value of the background color of the application and the difference of first color value and second color value are greater than
Greater than the second preset threshold;
In the case where the judgment result is yes, second color value is replaced into first color value.
Optionally, described device further include:
Second adjustment module is used in the case where detection is in battery saving mode, by the theme background of the display interface
Brightness and the corresponding background luminance for playing frame of the application are adjusted to pre-set brightness.
According to another aspect of an embodiment of the present invention, a kind of computer readable storage medium, the computer are additionally provided
Readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be by one or more processor
It executes, the step of to realize above-mentioned interface color method of adjustment.
Through the invention, when detecting the bullet frame ejection operation of triggering application, the theme background face of display interface is detected
Color;Obtain the background color of the application;Judge the theme background color of the display interface and the background color of the application
Whether match;If the determination result is NO, the application pair is adjusted according to the theme background color of the display interface
The background color that frame should be played can solve wearable device in the related technology and be hit by a bullet frame color and wearable device theme background face
The inconsistent problem for causing interfacial effect uncoordinated of color, so that the background color phase of bullet the frame background color and display interface of application
Together, so that display interface is more coordinated, user experience is improved.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware schematic one of embodiment of wearable device provided by the embodiments of the present application;
Fig. 3 is a kind of hardware schematic two of embodiment of wearable device provided by the embodiments of the present application;
Fig. 4 is a kind of hardware schematic three of embodiment of wearable device provided by the embodiments of the present application;
Fig. 5 is a kind of hardware schematic four of embodiment of wearable device provided by the embodiments of the present application;
Fig. 6 is the flow chart of page display processing method according to an embodiment of the present invention;
Fig. 7 is the block diagram of wearable device according to an embodiment of the present invention;
Fig. 8 is the block diagram of interface color adjustment device according to an embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move
Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually
End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio
Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display
The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention
A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio
Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104,
Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity
The components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable
The restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list
Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn
The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101
What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device
It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes
Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing
The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message
Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one
Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio
Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example
Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server
With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server
Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind
User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to
GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General
Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access
2000, CDMA 2000), (Wideband Code Division Multiple Access, wideband code division are more by WCDMA
Location), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous
CDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTE
Phase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long time
Into) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged
Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its
And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely
Slightly., wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102,
The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102
Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1
WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root
It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100
When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit
103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound
Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera,
It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear,
Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions
The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static
It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor
Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using
Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint
Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets
For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen
Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment
It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing
Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device
User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby
Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel
Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching
Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour
Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This
Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching
Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072
It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation
One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with
The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple
It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments,
Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein
Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101
The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain
One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071
The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example
Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo
Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can
For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with
Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection
Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in
Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole
Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply
111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management,
The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set
Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention
Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in
Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device
Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device
When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this Shen
It please propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set
Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can
Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 5
Shown, Fig. 5 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipment
Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with
It is all covered on the watchband of the equipment, the embodiment of the present application is not limited thereto.
Embodiment 1
Based on above-mentioned wearable device, the embodiment of the present invention provides a kind of interface color method of adjustment, and Fig. 6 is root
According to the flow chart of the page display processing method of the embodiment of the present invention, as shown in Figure 6, comprising:
Step S601 detects the theme background color of display interface when detecting the bullet frame ejection operation of triggering application;
Step S602 obtains the background color of the application;
Step S603, judges whether the theme background color of the display interface matches with the background color of the application;
Step S604 adjusts institute according to the theme background color of the display interface if the determination result is NO
It states using the corresponding background color for playing frame.
Through the above steps, when detecting the bullet frame ejection operation of triggering application, the theme background of display interface is detected
Color;Obtain the background color of the application;Judge the theme background color of the display interface and the background face of the application
Whether color matches;If the determination result is NO, the application is adjusted according to the theme background color of the display interface
The corresponding background color for playing frame can solve wearable device in the related technology and be hit by a bullet frame color and wearable device theme background
The inconsistent problem for causing interfacial effect uncoordinated of color, so that the background color of bullet the frame background color and display interface of application
It is identical, so that display interface is more coordinated, improve user experience.
In the embodiment of the present invention, above-mentioned steps S601 be can specifically include:
The first color value of the theme background color of the display interface is obtained under predetermined store path.
In the embodiment of the present invention, the whether matched mode of the background color of the background color and application that judge display interface has
A variety of, in an optional embodiment, above-mentioned steps S603 be can specifically include:
Judge the second of the first color value of the theme background color of the display interface and the background color of the application
Whether color value is identical;
In the case where the judgment result is yes, the theme background color of the display interface and the background of the application are determined
Color-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determined
Color mismatches.
In another optional embodiment, above-mentioned steps S603 can also include:
Judge the second of the first color value of the theme background color of the display interface and the background color of the application
Whether the difference of color value is less than the first preset threshold;
In the case where the judgment result is yes, the theme background color of the display interface and the background of the application are determined
Color-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determined
Color mismatches.
By above-mentioned adjustment mode, the background color for playing frame is adjusted to the background color of display interface, so that display circle
The color in face, which is shown, more to be coordinated.
In the embodiment of the present invention, the corresponding back for playing frame of the application is adjusted according to the theme background color of the display interface
There are many modes of scape color, and in an optional embodiment, above-mentioned steps S604 be can specifically include:
The corresponding background color for playing frame of the application is replaced with to the theme background color of the display interface.
In another optional embodiment, above-mentioned steps S604 specifically can also include:
Detect current power consumption state;
In the case where testing result is low power consumpting state, by the theme background color of the display interface and the application
The corresponding background color for playing frame is adjusted to pre-set color.
It is adjusted to set in advance by above-mentioned adjustment mode, while by the background color of the background color of display interface and bullet frame
The color for the low-power consumption set, effective low power consumption for reducing terminal.
In another optional embodiment, above-mentioned steps S604 specifically can also include:
In the case where detection is in battery saving mode, the first color value of the theme background color of the display interface is judged
Whether second color value of the background color of the application and the difference of first color value and second color value are greater than
Greater than the second preset threshold;
In the case where the judgment result is yes, second color value is replaced into first color value.
By above-mentioned adjustment mode, the background color that display interface is adjusted flexibly is realized, has achieved the effect that power saving,
Enrich the background color display mode of display interface.
In the embodiment of the present invention, in order to further realize power saving, display interface can also be adjusted and play the display brightness of frame,
Specifically, in the case where detection is in battery saving mode, the theme background luminance of the display interface and the application is corresponding
The background luminance for playing frame is adjusted to pre-set brightness.
The embodiment of the present invention, third-party application bullet frame first remove the background color for obtaining wearable device theme when playing frame,
Then determine that oneself plays the background color of frame according to the theme background color of wearable device.It specifically includes:
Step 1: wearable device, can be by oneself newest theme value when setting either changes the theme of oneself every time
BACKGROUD_COULOR puts the storage organization of Settings.Global into.
Step 2: third-party application when being user-operably when there is the related operation for playing frame pop-up, can first from
The theme background color BACKGROUD_COULOR of Settings.Global acquisition wearable device system.If background theme
Solid colour does not change the background color value of itself then, if color is inconsistent, by Settings.Global's
BACKGROUD_COULOR value replaces itself background color value, thus consistent with theme background color.
Step 3: in addition to being consistent with background color value, the master of oneself can also be changed in the case where needing low-power consumption scene
Inscribe the low power consumpting state that background color keeps wearable device.
The related of third-party application can be made to play frame, if pop-up agreement is consistent with wearable device theme background color,
And low-power consumption is kept, so that entire subject matter is consistent, the related interfaces of other third-party applications in wearable device are shown,
It can be by itself and wearable device theme background unification.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
The embodiment of the present invention, additionally provides a kind of wearable device, and Fig. 7 is wearable device according to an embodiment of the present invention
Block diagram, as shown in fig. 7, the wearable device includes:
Memory 72, processor 71 and it is stored in the computer journey that can be run on the memory and on the processor
Sequence;
The computer program realizes the following steps of above-mentioned interface color method of adjustment when being executed by the processor 71:
When detecting the bullet frame ejection operation of triggering application, the theme background color of display interface is detected;
Obtain the background color of the application;
Judge whether the theme background color of the display interface matches with the background color of the application;
If the determination result is NO, the application is adjusted according to the theme background color of the display interface to correspond to
Play the background color of frame.
Embodiment 3
The embodiment of the present invention additionally provides a kind of interface color adjustment device, and Fig. 8 is interface according to an embodiment of the present invention
Color adjusts the block diagram of device, as shown in Figure 8, comprising:
Detection module 81, for when detecting the bullet frame ejection operation of triggering application, detecting the theme back of display interface
Scape color;
Module 82 is obtained, for obtaining the background color of the application;
Judgment module 83, for judge the display interface theme background color and the application background color whether
Matching;
The first adjustment module 84 is used for if the determination result is NO, according to the theme background of the display interface
Color adjusts the corresponding background color for playing frame of the application.
Optionally, the detection module 81, is also used to
The first color value of the theme background color of the display interface is obtained under predetermined store path.
Optionally, the judgment module 83, is also used to
Judge the second of the first color value of the theme background color of the display interface and the background color of the application
Whether color value is identical;
In the case where the judgment result is yes, the theme background color of the display interface and the background of the application are determined
Color-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determined
Color mismatches.
Optionally, the judgment module 83, is also used to
Judge the second of the first color value of the theme background color of the display interface and the background color of the application
Whether the difference of color value is less than the first preset threshold;
In the case where the judgment result is yes, the theme background color of the display interface and the background of the application are determined
Color-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determined
Color mismatches.
Optionally, the first adjustment module 84, is also used to
The corresponding background color for playing frame of the application is replaced with to the theme background color of the display interface.
Optionally, the first adjustment module 84, is also used to
Detect current power consumption state;
In the case where testing result is low power consumpting state, by the theme background color of the display interface and the application
The corresponding background color for playing frame is adjusted to pre-set color.
Optionally, the first adjustment module 84, is also used to
In the case where detection is in battery saving mode, the first color value of the theme background color of the display interface is judged
Whether second color value of the background color of the application and the difference of first color value and second color value are greater than
Greater than the second preset threshold;
In the case where the judgment result is yes, second color value is replaced into first color value.
Optionally, described device further include:
Second adjustment module is used in the case where detection is in battery saving mode, by the theme background of the display interface
Brightness and the corresponding background luminance for playing frame of the application are adjusted to pre-set brightness.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium
In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Embodiment 4
According to another aspect of an embodiment of the present invention, a kind of computer readable storage medium, the computer are additionally provided
Readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be by one or more processor
It executes, to realize the following steps of above-mentioned interface color method of adjustment:
S1 detects the theme background color of display interface when detecting the bullet frame ejection operation of triggering application;
S2 obtains the background color of the application;
S3, judges whether the theme background color of the display interface matches with the background color of the application;
S4 adjusts the application according to the theme background color of the display interface if the determination result is NO
The corresponding background color for playing frame.
The embodiment of the present invention detects the theme background of display interface when detecting the bullet frame ejection operation of triggering application
Color;Obtain the background color of the application;Judge the theme background color of the display interface and the background face of the application
Whether color matches;If the determination result is NO, the application is adjusted according to the theme background color of the display interface
The corresponding background color for playing frame can solve wearable device in the related technology and be hit by a bullet frame color and wearable device theme background
The inconsistent problem for causing interfacial effect uncoordinated of color, so that the background color of bullet the frame background color and display interface of application
It is identical, so that display interface is more coordinated, improve user experience.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment 1, the present embodiment
Details are not described herein.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or
The various media that can store program code such as CD.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product
When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention
Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme
The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention
State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side
Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one
Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of interface color method of adjustment characterized by comprising
When detecting the bullet frame ejection operation of triggering application, the theme background color of display interface is detected;
Obtain the background color of the application;
Judge whether the theme background color of the display interface matches with the background color of the application;
If the determination result is NO, the corresponding bullet frame of the application is adjusted according to the theme background color of the display interface
Background color.
2. the method according to claim 1, wherein the theme background color of detection display interface includes:
The first color value of the theme background color of the display interface is obtained under predetermined store path.
3. according to the method described in claim 2, it is characterized in that, judge the theme background color of the display interface with it is described
Whether the background color of application matches
Judge the second color of the first color value of the theme background color of the display interface and the background color of the application
Whether identical it is worth;
In the case where the judgment result is yes, the theme background color of the display interface and the background color of the application are determined
Matching;
If the determination result is NO, the theme background color of the display interface and the background color of the application are determined
It mismatches.
4. according to the method described in claim 2, it is characterized in that, judge the theme background color of the display interface with it is described
Whether the background color of application matches
Judge the second color of the first color value of the theme background color of the display interface and the background color of the application
Whether the difference of value is less than the first preset threshold;
In the case where the judgment result is yes, the theme background color of the display interface and the background color of the application are determined
Matching;
If the determination result is NO, the theme background color of the display interface and the background color of the application are determined
It mismatches.
5. the method according to claim 1, wherein adjusting institute according to the theme background color of the display interface
It states and includes: using the corresponding background color for playing frame
The corresponding background color for playing frame of the application is replaced with to the theme background color of the display interface.
6. the method according to claim 1, wherein adjusting institute according to the theme background color of the display interface
It states and includes: using the corresponding background color for playing frame
Detect current power consumption state;
It is in the case where testing result is low power consumpting state, the theme background color of the display interface and the application is corresponding
The background color for playing frame is adjusted to pre-set color.
7. the method according to claim 1, wherein adjusting institute according to the theme background color of the display interface
It states and includes: using the corresponding background color for playing frame
In the case where detection is in battery saving mode, judge the theme background color of the display interface the first color value whether
Greater than the second color value of the background color of the application and the difference of first color value and second color value is greater than
Second preset threshold;
In the case where the judgment result is yes, second color value is replaced into first color value.
8. method according to any one of claim 1 to 7, which is characterized in that the method also includes:
In the case where detection is in battery saving mode, by the theme background luminance of the display interface and the corresponding bullet frame of the application
Background luminance be adjusted to pre-set brightness.
9. a kind of wearable device, which is characterized in that the wearable device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step such as method described in any item of the claim 1 to 8 is realized when the computer program is executed by the processor
Suddenly.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, be appointed with realizing in claim 1-8
The step of one interface color method of adjustment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910359320.9A CN110109725A (en) | 2019-04-30 | 2019-04-30 | A kind of interface color method of adjustment and wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910359320.9A CN110109725A (en) | 2019-04-30 | 2019-04-30 | A kind of interface color method of adjustment and wearable device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110109725A true CN110109725A (en) | 2019-08-09 |
Family
ID=67487680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910359320.9A Pending CN110109725A (en) | 2019-04-30 | 2019-04-30 | A kind of interface color method of adjustment and wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110109725A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704144A (en) * | 2019-08-21 | 2020-01-17 | 努比亚技术有限公司 | Method for replacing theme by wearable device, wearable device and storage medium |
CN112114929A (en) * | 2020-09-29 | 2020-12-22 | 青岛海信移动通信技术股份有限公司 | Display apparatus and image display method thereof |
CN112988302A (en) * | 2021-03-19 | 2021-06-18 | 北京高途云集教育科技有限公司 | Page theme switching method and device, computer equipment and storage medium |
WO2021238469A1 (en) * | 2020-05-29 | 2021-12-02 | Oppo广东移动通信有限公司 | Page display method and apparatus for third-party application, and electronic device |
CN115145442A (en) * | 2022-06-07 | 2022-10-04 | 杭州海康汽车软件有限公司 | Environment image display method and device, vehicle-mounted terminal and storage medium |
CN117421088A (en) * | 2023-12-18 | 2024-01-19 | 荣耀终端有限公司 | Page display method, electronic device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104635903A (en) * | 2013-11-12 | 2015-05-20 | 中兴通讯股份有限公司 | Terminal display control method and terminal |
CN104765437A (en) * | 2015-04-24 | 2015-07-08 | 上海与德通讯技术有限公司 | Power saving method and power saving system |
CN105988660A (en) * | 2015-03-02 | 2016-10-05 | 北大方正集团有限公司 | Interface hue adjustment method, interface hue adjustment system, input system and terminal |
CN106802551A (en) * | 2017-01-03 | 2017-06-06 | 青岛海信移动通信技术股份有限公司 | Intelligent wearable device control method and intelligent wearable device |
CN107479793A (en) * | 2017-09-07 | 2017-12-15 | 青岛海信移动通信技术股份有限公司 | Navigation bar display methods, device and computer-readable recording medium |
CN107908383A (en) * | 2017-11-14 | 2018-04-13 | 维沃移动通信有限公司 | A kind of screen color method of adjustment, device and mobile terminal |
-
2019
- 2019-04-30 CN CN201910359320.9A patent/CN110109725A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104635903A (en) * | 2013-11-12 | 2015-05-20 | 中兴通讯股份有限公司 | Terminal display control method and terminal |
CN105988660A (en) * | 2015-03-02 | 2016-10-05 | 北大方正集团有限公司 | Interface hue adjustment method, interface hue adjustment system, input system and terminal |
CN104765437A (en) * | 2015-04-24 | 2015-07-08 | 上海与德通讯技术有限公司 | Power saving method and power saving system |
CN106802551A (en) * | 2017-01-03 | 2017-06-06 | 青岛海信移动通信技术股份有限公司 | Intelligent wearable device control method and intelligent wearable device |
CN107479793A (en) * | 2017-09-07 | 2017-12-15 | 青岛海信移动通信技术股份有限公司 | Navigation bar display methods, device and computer-readable recording medium |
CN107908383A (en) * | 2017-11-14 | 2018-04-13 | 维沃移动通信有限公司 | A kind of screen color method of adjustment, device and mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704144A (en) * | 2019-08-21 | 2020-01-17 | 努比亚技术有限公司 | Method for replacing theme by wearable device, wearable device and storage medium |
WO2021238469A1 (en) * | 2020-05-29 | 2021-12-02 | Oppo广东移动通信有限公司 | Page display method and apparatus for third-party application, and electronic device |
CN112114929A (en) * | 2020-09-29 | 2020-12-22 | 青岛海信移动通信技术股份有限公司 | Display apparatus and image display method thereof |
CN112114929B (en) * | 2020-09-29 | 2023-11-17 | 青岛海信移动通信技术有限公司 | Display device and image display method thereof |
CN112988302A (en) * | 2021-03-19 | 2021-06-18 | 北京高途云集教育科技有限公司 | Page theme switching method and device, computer equipment and storage medium |
CN115145442A (en) * | 2022-06-07 | 2022-10-04 | 杭州海康汽车软件有限公司 | Environment image display method and device, vehicle-mounted terminal and storage medium |
CN117421088A (en) * | 2023-12-18 | 2024-01-19 | 荣耀终端有限公司 | Page display method, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110109725A (en) | A kind of interface color method of adjustment and wearable device | |
CN109982179A (en) | Audio frequency signal output, device, wearable device and storage medium | |
CN110083220A (en) | A kind of power-saving processing method and wearable device | |
CN110362368A (en) | Picture customization display methods, relevant device and the storage medium of wearable device | |
CN110062279A (en) | Video method of cutting out, wearable device and computer readable storage medium | |
CN109947524A (en) | Interface display method, wearable device and computer readable storage medium | |
CN110086940A (en) | Message prompt method, wearable device and readable storage medium storing program for executing | |
CN110175066A (en) | Wearable device, interaction control method and computer readable storage medium | |
CN110225282A (en) | A kind of video record control method, equipment and computer readable storage medium | |
CN110083289A (en) | A kind of button display methods, wearable device and computer readable storage medium | |
CN110086563A (en) | A kind of method of controlling rotation, equipment and computer readable storage medium | |
CN110109537A (en) | A kind of wearable device and its gesture identification method and computer readable storage medium | |
CN110012258A (en) | Best audio-video perception point acquisition methods, system, wearable device and storage medium | |
CN110139270A (en) | Wearable device matching method, wearable device and computer readable storage medium | |
CN110177208A (en) | A kind of association control method of video record, equipment and computer readable storage medium | |
CN110198411A (en) | Depth of field control method, equipment and computer readable storage medium during a kind of video capture | |
CN110213637A (en) | Method, wearable device and the readable storage medium storing program for executing of video file increase watermark | |
CN110072071A (en) | A kind of video record interaction control method, equipment and computer readable storage medium | |
CN110069193A (en) | A kind of interface switching method of wearable device, wearable device and storage medium | |
CN110086929A (en) | Breath screen display methods, mobile phone, wearable device and computer readable storage medium | |
CN109980750A (en) | A kind of wearable device and its charging circuit | |
CN110083205A (en) | Page switching method, wearable device and computer readable storage medium | |
CN110049253A (en) | A kind of focusing control method, equipment and computer readable storage medium | |
CN109976613A (en) | Text input implementation method, wearable device and computer readable storage medium | |
CN109992341A (en) | Button fast response method, wearable device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190809 |