Movatterモバイル変換


[0]ホーム

URL:


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 PDF

Info

Publication number
CN110109725A
CN110109725ACN201910359320.9ACN201910359320ACN110109725ACN 110109725 ACN110109725 ACN 110109725ACN 201910359320 ACN201910359320 ACN 201910359320ACN 110109725 ACN110109725 ACN 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
Application number
CN201910359320.9A
Other languages
Chinese (zh)
Inventor
李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co LtdfiledCriticalNubia Technology Co Ltd
Priority to CN201910359320.9ApriorityCriticalpatent/CN110109725A/en
Publication of CN110109725ApublicationCriticalpatent/CN110109725A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

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

A kind of interface color method of adjustment and wearable device
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 presentSurely 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 areaIt 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 technologiesMiddle 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 toPlay 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 applicationIt includes:
Judge the second of the first color value of the theme background color of the display interface and the background color of the applicationWhether 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 determinedColor-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determinedColor mismatches.
Optionally, judge whether the theme background color of the display interface matches packet with the background color of the applicationIt includes:
Judge the second of the first color value of the theme background color of the display interface and the background color of the applicationWhether 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 determinedColor-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determinedColor mismatches.
Optionally, the corresponding background color packet for playing frame of the application is adjusted according to the theme background color of the display interfaceIt 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 interfaceIt 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 applicationThe 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 interfaceIt 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 judgedWhether second color value of the background color of the application and the difference of first color value and second color value are greater thanGreater 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 correspondingThe 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 applicationColor;
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 whetherMatch;
The first adjustment module is used for if the determination result is NO, according to the theme background face of the display interfaceUsing 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 applicationWhether 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 determinedColor-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determinedColor 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 applicationWhether 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 determinedColor-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determinedColor 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 applicationThe 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 judgedWhether second color value of the background color of the application and the difference of first color value and second color value are greater thanGreater 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 interfaceBrightness 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 providedReadable 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 processorIt 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 detectedColor;Obtain the background color of the application;Judge the theme background color of the display interface and the background color of the applicationWhether match;If the determination result is NO, the application pair is adjusted according to the theme background color of the display interfaceThe 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 faceThe 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 applicationTogether, 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 inventionExample, 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 belowThere is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the artSpeech, 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 elementBe conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mixGround uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. moveDynamic 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 eventuallyEnd can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (RadioFrequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, displayThe 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 inventionA kind of hardware structural diagram of wearable device of example, which may include: RF (RadioFrequency, 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 electricityThe 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 wearableThe restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer componentsComponent 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 listUplink 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 wornThe 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 101What 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 deviceIt send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changesFrequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informingThe 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 messageKnow 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 oneAmplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radioLetter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, exampleSuch as, wearable device can download file resource from server by wireless communication, for example can download and answer from serverWith program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in serverResource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remindUser is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited toGSM (Global System of Mobile communication, global system for mobile communications), GPRS (GeneralPacket Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access2000, CDMA 2000), (Wideband Code Division Multiple Access, wideband code division are more by WCDMALocation), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronousCDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTEPhase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long timeInto) 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 arrangedExisting 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 itsAnd 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 completelySlightly., 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 102Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1WiFi 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 rootIt 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 100When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received orThe audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception soundSound, 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 modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be depositedStorage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.MikeWind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data canTo 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 otherSensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ringThe 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 directionsThe size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when staticIt (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation functionHit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensorWearable 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 usingPerson can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprintRealize 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 wrapDisplay panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms 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 setsFor when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screenBody and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodimentIt is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearingAround.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 deviceUser setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearbyMake (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panelOperation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touchingTwo parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviourMake bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, andIt is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.ThisOutside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touchingPanel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operationOne 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 withThe 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 multipleIt 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 orAfter neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thingThe type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel1061 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 hereinWithout limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certainOne 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 1071The 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.ExampleSuch as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You XianhuoWireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) endMouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, numberIt is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or canFor transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact withCorresponding 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 areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easyThe 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 connectionVarious pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored inData in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device wholeMonitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulationDemodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processingDevice 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 supply111 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 setStandby 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 inventionSchematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is inStrip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable deviceStructural 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 deviceWhen, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this ShenIt please propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be setStandby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It canChoosing, 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. 5Shown, 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 equipmentScreen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be withIt 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 rootAccording 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 NOIt 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 detectedColor;Obtain the background color of the application;Judge the theme background color of the display interface and the background face of the applicationWhether color matches;If the determination result is NO, the application is adjusted according to the theme background color of the display interfaceThe 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 backgroundThe inconsistent problem for causing interfacial effect uncoordinated of color, so that the background color of bullet the frame background color and display interface of applicationIt 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 hasA 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 applicationWhether 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 determinedColor-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determinedColor 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 applicationWhether 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 determinedColor-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determinedColor mismatches.
By above-mentioned adjustment mode, the background color for playing frame is adjusted to the background color of display interface, so that display circleThe 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 interfaceThere 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 applicationThe 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 frameThe 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 judgedWhether second color value of the background color of the application and the difference of first color value and second color value are greater thanGreater 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 correspondingThe 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 timeBACKGROUD_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 fromThe theme background color BACKGROUD_COULOR of Settings.Global acquisition wearable device system.If background themeSolid colour does not change the background color value of itself then, if color is inconsistent, by Settings.Global'sBACKGROUD_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 sceneInscribe 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 implementationThe 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 muchIn 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 existingThe part that technology contributes can be embodied in the form of software products, which is stored in a storageIn medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculateMachine, 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 inventionBlock 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 processorSequence;
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 toPlay 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 inventionColor 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 interfaceScape 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 whetherMatching;
The first adjustment module 84 is used for if the determination result is NO, according to the theme background of the display interfaceColor 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 applicationWhether 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 determinedColor-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determinedColor 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 applicationWhether 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 determinedColor-match;
If the determination result is NO, the theme background color of the display interface and the background of the application are determinedColor 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 applicationThe 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 judgedWhether second color value of the background color of the application and the difference of first color value and second color value are greater thanGreater 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 interfaceBrightness 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 canIt is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage mediumIn, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (RandomAccess 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 providedReadable 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 processorIt 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 NOThe 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 applicationColor;Obtain the background color of the application;Judge the theme background color of the display interface and the background face of the applicationWhether color matches;If the determination result is NO, the application is adjusted according to the theme background color of the display interfaceThe 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 backgroundThe inconsistent problem for causing interfacial effect uncoordinated of color, so that the background color of bullet the frame background color and display interface of applicationIt 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 embodimentDetails 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 orThe 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 productWhen selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the inventionSubstantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art schemeThe form of part product embodies, which is stored in a storage medium, including some instructions are used so that onePlatform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present inventionState 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 embodimentThe 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 sideFormula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only oneKind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine orIt 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 itBetween coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or moduleIt connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn 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 unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember 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 artFor member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answeredIt is considered as protection scope of the present invention.

Claims (10)

CN201910359320.9A2019-04-302019-04-30A kind of interface color method of adjustment and wearable devicePendingCN110109725A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910359320.9ACN110109725A (en)2019-04-302019-04-30A kind of interface color method of adjustment and wearable device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910359320.9ACN110109725A (en)2019-04-302019-04-30A kind of interface color method of adjustment and wearable device

Publications (1)

Publication NumberPublication Date
CN110109725Atrue CN110109725A (en)2019-08-09

Family

ID=67487680

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910359320.9APendingCN110109725A (en)2019-04-302019-04-30A kind of interface color method of adjustment and wearable device

Country Status (1)

CountryLink
CN (1)CN110109725A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110704144A (en)*2019-08-212020-01-17努比亚技术有限公司Method for replacing theme by wearable device, wearable device and storage medium
CN112114929A (en)*2020-09-292020-12-22青岛海信移动通信技术股份有限公司Display apparatus and image display method thereof
CN112988302A (en)*2021-03-192021-06-18北京高途云集教育科技有限公司Page theme switching method and device, computer equipment and storage medium
WO2021238469A1 (en)*2020-05-292021-12-02Oppo广东移动通信有限公司Page display method and apparatus for third-party application, and electronic device
CN115145442A (en)*2022-06-072022-10-04杭州海康汽车软件有限公司Environment image display method and device, vehicle-mounted terminal and storage medium
CN115705129A (en)*2021-08-052023-02-17聚好看科技股份有限公司Display device and window background display method
CN117421088A (en)*2023-12-182024-01-19荣耀终端有限公司Page display method, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104635903A (en)*2013-11-122015-05-20中兴通讯股份有限公司Terminal display control method and terminal
CN104765437A (en)*2015-04-242015-07-08上海与德通讯技术有限公司Power saving method and power saving system
CN105988660A (en)*2015-03-022016-10-05北大方正集团有限公司Interface hue adjustment method, interface hue adjustment system, input system and terminal
CN106802551A (en)*2017-01-032017-06-06青岛海信移动通信技术股份有限公司Intelligent wearable device control method and intelligent wearable device
CN107479793A (en)*2017-09-072017-12-15青岛海信移动通信技术股份有限公司Navigation bar display methods, device and computer-readable recording medium
CN107908383A (en)*2017-11-142018-04-13维沃移动通信有限公司A kind of screen color method of adjustment, device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104635903A (en)*2013-11-122015-05-20中兴通讯股份有限公司Terminal display control method and terminal
CN105988660A (en)*2015-03-022016-10-05北大方正集团有限公司Interface hue adjustment method, interface hue adjustment system, input system and terminal
CN104765437A (en)*2015-04-242015-07-08上海与德通讯技术有限公司Power saving method and power saving system
CN106802551A (en)*2017-01-032017-06-06青岛海信移动通信技术股份有限公司Intelligent wearable device control method and intelligent wearable device
CN107479793A (en)*2017-09-072017-12-15青岛海信移动通信技术股份有限公司Navigation bar display methods, device and computer-readable recording medium
CN107908383A (en)*2017-11-142018-04-13维沃移动通信有限公司A kind of screen color method of adjustment, device and mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110704144A (en)*2019-08-212020-01-17努比亚技术有限公司Method for replacing theme by wearable device, wearable device and storage medium
WO2021238469A1 (en)*2020-05-292021-12-02Oppo广东移动通信有限公司Page display method and apparatus for third-party application, and electronic device
US12079905B2 (en)2020-05-292024-09-03Guangdong Oppo Mobile Telecommunications Corp., Ltd.Page display method and apparatus for third-party application, and electronic device
CN112114929A (en)*2020-09-292020-12-22青岛海信移动通信技术股份有限公司Display apparatus and image display method thereof
CN112114929B (en)*2020-09-292023-11-17青岛海信移动通信技术有限公司Display device and image display method thereof
CN112988302A (en)*2021-03-192021-06-18北京高途云集教育科技有限公司Page theme switching method and device, computer equipment and storage medium
CN115705129A (en)*2021-08-052023-02-17聚好看科技股份有限公司Display device and window background display method
CN115145442A (en)*2022-06-072022-10-04杭州海康汽车软件有限公司Environment image display method and device, vehicle-mounted terminal and storage medium
CN115145442B (en)*2022-06-072024-06-11杭州海康汽车软件有限公司Method and device for displaying environment image, vehicle-mounted terminal and storage medium
CN117421088A (en)*2023-12-182024-01-19荣耀终端有限公司Page display method, electronic device and storage medium
CN117421088B (en)*2023-12-182024-07-12荣耀终端有限公司Page display method, electronic device and storage medium

Similar Documents

PublicationPublication DateTitle
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
CN110086563A (en)A kind of method of controlling rotation, equipment and computer readable storage medium
CN110062279A (en)Video method of cutting out, wearable device and computer readable storage medium
CN110213637A (en)Method, wearable device and the readable storage medium storing program for executing of video file increase watermark
CN110086929A (en)Breath screen display methods, mobile phone, wearable device 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
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
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
CN110198411A (en)Depth of field control method, equipment and computer readable storage medium during a kind of video capture
CN110109537A (en)A kind of wearable device and its gesture identification method and computer readable storage medium
CN110012164A (en)A kind of sound playing method of equipment, wearable device and computer readable storage medium
CN110083205A (en)Page switching 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
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
CN109933399A (en)The page method of adjustment of wearable device, wearable device and readable storage medium storing program for executing
CN110109583A (en)A kind of display and setting method, equipment and computer readable storage medium
CN109980750A (en)A kind of wearable device and its charging circuit
CN110049253A (en)A kind of focusing control method, equipment and computer readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20190809


[8]ページ先頭

©2009-2025 Movatter.jp