CN114880058A - Method and system for color matching of android system screen - Google Patents

Method and system for color matching of android system screen Download PDF

Info

Publication number
CN114880058A
CN114880058A CN202210474651.9A CN202210474651A CN114880058A CN 114880058 A CN114880058 A CN 114880058A CN 202210474651 A CN202210474651 A CN 202210474651A CN 114880058 A CN114880058 A CN 114880058A
Authority
CN
China
Prior art keywords
android system
screen
layer
toning
service
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
CN202210474651.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.)
Anhui Parker Intelligent Technology Co ltd
Original Assignee
Anhui Parker Intelligent 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 Anhui Parker Intelligent Technology Co ltd filed Critical Anhui Parker Intelligent Technology Co ltd
Priority to CN202210474651.9A priority Critical patent/CN114880058A/en
Publication of CN114880058A publication Critical patent/CN114880058A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a method and a system for color matching of a screen of an android system, wherein the method comprises the following steps: receiving input color information; creating a foreground service in the android system; adding a layer on the top layer of a window of the android system based on the created foreground service; and adding the received color information into the layer with a set transparency, thereby completing color matching of the android system screen. The method realizes the color matching of the screen of the android system, and the user can adjust the color of the screen according to the use habit of the user, so that the eyes of the user can use the mobile phone in the most comfortable scene, the screen color matching function is provided for the user, the normal use of the mobile phone is not influenced, and the use comfort of the user is improved.

Description

Method and system for color matching of android system screen
Technical Field
The invention relates to the technical field of building construction, in particular to a method and a system for color matching of a screen of an android system.
Background
At the moment of mobile phone information explosion, a considerable part of actual time for using a mobile phone is occupied by people, but the receptivity of each person to the brightness degree of the color of a mobile phone screen is different, some people like warm colors, some people like cold colors, other people like green or red, different people use unsuitable screen colors for a long time under different environments to cause uncomfortable symptoms such as glasses fatigue, for example, many red-green color blinders generally use colors between green and blue, if the colors of the screen can be adjusted to between green and blue, a user can look very comfortable, but the current mount base system only provides the adjusting functions of screen dimming, brightness adjustment and eye protection modes, and does not have the function of color adjustment, and therefore, a new solution is needed to be provided.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a method and a system for carrying out color matching on a screen of an android system, and solves the problem that the conventional android system cannot carry out color matching only by adjusting the dimming and brightening of the screen and the eye protection mode.
The technical scheme for realizing the purpose is as follows:
the invention provides a method for toning a screen of an android system, which comprises the following steps:
receiving input color information;
creating a foreground service in the android system;
adding a layer on the top layer of a window of the android system based on the created foreground service; and
and adding the received color information into the layer with a set transparency, thereby completing color matching of the android system screen.
The method realizes the color matching of the screen of the android system, and the user can adjust the color of the screen according to the use habit of the user, so that the eyes of the user can use the mobile phone in the most comfortable scene, the screen color matching function is provided for the user, the normal use of the mobile phone is not influenced, and the use comfort of the user is improved.
The method for toning the screen of the android system is further improved in that the created foreground service inherits the auxiliary service of the android system.
The method for toning the screen of the android system is further improved in that when the layer is added, Context and content of the auxiliary service of the android system are acquired
TYPE _ access _ override attribute.
The method for color matching of the android system screen is further improved in that when the layer is added, the layer does not influence the transmission of the touch event of the screen.
The method for toning the android system screen is further improved in that when the function of closing the toning of the screen is selected, the transparency of the layer is set to be 100%.
The invention also provides a system for mixing colors of the android system screen, which comprises the following steps:
a receiving unit for receiving input color information;
the service establishing unit is connected with the receiving unit and used for establishing a foreground service in the android system after the receiving unit receives the color information;
the layer adding unit is connected with the service establishing unit and is used for adding a layer on the top layer of the window of the android system after the service establishing unit establishes the foreground service; and
and the processing unit is connected with the layer adding unit and the receiving unit and is used for adding the received color information into the layer with set transparency.
The system for color matching of the android system screen is further improved in that a foreground service created by the service establishing unit inherits an auxiliary service of the android system.
The system for color matching of the android system screen is further improved in that the layer adding unit acquires the Context and TYPE _ access _ override attributes of the auxiliary service of the android system when adding the layer.
The system for color matching of the android system screen is further improved in that the layer added by the layer adding unit does not influence the transmission of the touch event of the screen.
The system for toning the android system screen is further improved in that the processing unit sets the transparency of the layer to 100% after receiving the instruction for turning off the toning of the screen.
Drawings
Fig. 1 is a flowchart of a method for color matching of a screen of an android system according to the present invention.
FIG. 2 is a system diagram of a system for toning a screen of an android system in accordance with the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific examples.
Referring to fig. 1, the invention provides a method and a system for color matching of a screen of an android system, which are used for solving the problem that the existing android system does not have a color matching function. The method and the system for color mixing can enable the user to adjust the screen color according to the use habit of the user, so that the user can use the mobile phone in the most comfortable scene, and the comfort level of eyes is improved. The method and the system for toning the android system screen are described below with reference to the accompanying drawings.
Referring to FIG. 2, a system diagram of the system for toning a screen of an android system of the present invention is shown. The system for toning the android system screen according to the invention is described below with reference to fig. 2.
As shown in fig. 2, the system for color matching of an android system screen of the present invention includes a receiving unit 21, a service establishing unit 22, a layer adding unit 23, and a processing unit 24, where the receiving unit 21 is connected to the service establishing unit 22, the service establishing unit 22 is connected to the layer adding unit 23, and the processing unit 24 is connected to the receiving unit 21 and the layer adding unit 23; the receiving unit 21 is used for receiving input color information; the service establishing unit 22 is configured to create a foreground service in the android system after the receiving unit 21 receives the color information; the layer adding unit 23 is configured to add a layer on the top layer of the window of the android system after the service establishing unit 22 establishes the foreground service; the processing unit 24 is configured to add the received color information to the layer with the set transparency, so that a top color is attached to a screen presented to the user by the mobile phone, and the user looks at the screen, that is, the screen is a color cast screen with the user setting, that is, a screen color mixing function is implemented.
In a specific embodiment of the present invention, the color matching system of the present invention is an application program (i.e. APP), and can be directly installed on a mobile phone of an android system, and when a user needs to adjust a screen of the mobile phone, the user can open the application program to perform corresponding settings.
Preferably, the color matching system displays an operation interface on the android system, the operation interface is provided with a color input box, a color option box and an RGB value input box, and a user can input a desired color in the color input box according to selection, can also select a desired color in the color option box, or can select a corresponding RGB value to be input in the RGB value input box to realize self color matching, thereby realizing the purpose of inputting color information into the system. After the user selects the color, the receiving unit of the system receives the color information selected by the user.
Furthermore, a preview button is further arranged in the color input area, and after a user clicks the preview button, a color layer covering the whole screen is generated, wherein the color of the color layer is the color corresponding to the color information input by the user, so that the preview function is realized. And deleting the color layer when the user clicks the screen or clicks an exit preview button.
Still further, a save button is provided in the color input area, and after the user selects color information and previews it satisfactorily, the user can click the save button to save the selected color information, and at the same time, a system forming instruction is sent to the receiving unit 21 to allow the receiving unit 21 to read the saved color information.
In a specific embodiment of the present invention, the foreground service created by the service creation unit 22 inherits the auxiliary service of the android system.
The receiving unit 21 forms a service establishment instruction to the service establishment unit 22 after receiving the input color information, and the service establishment unit 22 starts a foreground service of the android system after receiving the service establishment instruction, thereby realizing the establishment of the foreground service.
Further, the layer adding unit 23 obtains a Context and a TYPE _ access _ overlap attribute of an auxiliary service of the android system when adding a layer, and sets the added layer on the topmost layer of the window based on the obtained Context and TYPE _ access _ overlap attribute.
Preferably, the service establishing unit 22 forms a layer adding instruction to the layer adding unit 23 after creating the foreground service, so that the layer adding unit 23 adds a layer.
Still further, the layer added by the layer adding unit 23 does not affect the transfer of the touch event of the screen. The added layer is located on the topmost layer of the window, and touch use of the screen cannot be influenced.
Preferably, the layer adding unit 23 adds a FLAG _ NOT _ touch attribute to the layer to realize a touch event that the layer does NOT affect the screen.
Still further, the size of the layer added by the layer adding unit 23 is the display size of the screen, so that the layer can fully cover the screen.
In one embodiment of the present invention, the processing unit 24 sets the transparency of the graphics layer to 100% after receiving the instruction to turn off the screen toning.
According to the color matching system, the application color matching button and the color matching closing button are arranged on the operation interface displayed on the android system, and a user clicks the corresponding buttons to form corresponding touch control instructions. When the user clicks the application toning button, the processing unit 24 receives the execution instruction, and the processing unit 24 adds color information to the layer according to the set transparency, so that the mobile phone can present colors with the top layer when being displayed. When the user clicks the close toning button, the processing unit receives a close instruction, and the processing unit 24 adjusts the transparency of the layer to 100% so that the layer is completely transparent.
Further, the set transparency may be manually input by the user. The transparency input box is used for an operation interface displayed on the android system, and a user can input the transparency according to own preference, wherein the transparency ranges from 1% to 100%.
The system of the invention sets a default value for the set transparency, the default value is 35%, and after a user manually inputs a new transparency value, the input new transparency value replaces the default value of the system for storage.
The invention also provides a method for toning the android system screen, which is explained below.
The toning method of the invention comprises the following steps:
as shown in fig. 1, step S11 is executed to receive input color information; then, step S12 is executed;
executing step S12, and creating a foreground service in the android system; then, step S13 is executed;
executing step S13, adding a layer on the top layer of the window of the android system based on the created foreground service; then, step S14 is executed;
step S14 is executed, and the received color information is added to the layer with the set transparency, so that the android system screen is finished being toned.
In a specific embodiment of the invention, the created foreground service inherits the auxiliary service of the android system.
Further, when adding the layer, obtaining the Context and TYPE _ access _ override attributes of the auxiliary service of the android system. And setting the added layer at the topmost layer of the window based on the obtained Context and TYPE _ ACCESSIBILITY _ OVERLAY attributes.
In one embodiment of the invention, when adding layers, the layers do not affect the transmission of touch events of the screen. Specifically, a touch event that allows the layer NOT to affect the screen is realized by adding a FLAG _ NOT _ TOUCHABLE attribute to the layer.
Further, when adding the layer, the size of the layer is made consistent with the display size of the screen.
In a specific embodiment of the present invention, when the function of turning off the screen toning is selected, the transparency of the layer is set to 100%.
According to the invention, the color of the screen of the android system is adjusted, the user can adjust the color of the screen according to the use habit of the user, the eyes of the user can use the mobile phone in the most comfortable scene, the screen color adjusting function is provided for the user, the normal use of the mobile phone is not influenced, and the use comfort of the user is improved.
While the present invention has been described in detail and with reference to the embodiments thereof as illustrated in the accompanying drawings, it will be apparent to one skilled in the art that various changes and modifications can be made therein. Therefore, certain details of the embodiments are not to be interpreted as limiting, and the scope of the invention is to be determined by the appended claims.

Claims (10)

1. A method for color matching of an android system screen is characterized by comprising the following steps:
receiving input color information;
creating a foreground service in the android system;
adding a layer on the top layer of a window of the android system based on the created foreground service; and
and adding the received color information into the layer with a set transparency, thereby completing color matching of the android system screen.
2. The method of toning an android system screen as recited in claim 1, wherein the created foreground service inherits ancillary services of the android system.
3. The method for toning screen of android system of claim 2, wherein when adding a layer, the Context and TYPE _ access _ OVERLAY attributes of the auxiliary services of the android system are obtained.
4. The method for toning the android system screen as recited in claim 1, wherein when adding layers, the layers are left unaffected by the passing of touch events of the screen.
5. The method for toning of the android system screen as recited in claim 1, wherein when a function of turning off screen toning is selected, the transparency of the layer is set to 100%.
6. A system for toning an android system screen, comprising:
a receiving unit for receiving input color information;
the service establishing unit is connected with the receiving unit and used for establishing a foreground service in the android system after the receiving unit receives the color information;
the layer adding unit is connected with the service establishing unit and is used for adding a layer on the top layer of the window of the android system after the service establishing unit establishes the foreground service; and
and the processing unit is connected with the layer adding unit and the receiving unit and is used for adding the received color information into the layer with set transparency.
7. The system for toning an android system screen as recited in claim 6, wherein the foreground service created by the service creation unit inherits ancillary services of the android system.
8. The system for color matching of the android system screen of claim 7, wherein the layer adding unit obtains a Context and a TYPE _ access _ availability _ OVERLAY attribute of an auxiliary service of the android system when adding the layer.
9. The system for toning an android system screen as recited in claim 6, wherein the layer added by the layer addition unit does not affect the delivery of touch events for the screen.
10. The system for toning of an android system screen as recited in claim 6, wherein the processing unit sets the transparency of the layer to 100% after receiving an instruction to turn off screen toning.
CN202210474651.9A 2022-04-29 2022-04-29 Method and system for color matching of android system screen Pending CN114880058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210474651.9A CN114880058A (en) 2022-04-29 2022-04-29 Method and system for color matching of android system screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210474651.9A CN114880058A (en) 2022-04-29 2022-04-29 Method and system for color matching of android system screen

Publications (1)

Publication Number Publication Date
CN114880058A true CN114880058A (en) 2022-08-09

Family

ID=82673239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210474651.9A Pending CN114880058A (en) 2022-04-29 2022-04-29 Method and system for color matching of android system screen

Country Status (1)

Country Link
CN (1) CN114880058A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302517A (en) * 2015-10-20 2016-02-03 魅族科技(中国)有限公司 Method and device for regulating display color of terminal screen
CN105549829A (en) * 2015-10-31 2016-05-04 东莞酷派软件技术有限公司 Setting project processing method and apparatus
CN106453852A (en) * 2016-09-20 2017-02-22 深圳鼎智通讯股份有限公司 Screen color adjustment system and method for Android terminal
CN109542376A (en) * 2018-11-06 2019-03-29 西安易朴通讯技术有限公司 The vision-control method, apparatus and medium of screen
CN110113536A (en) * 2019-05-17 2019-08-09 Oppo广东移动通信有限公司 A kind of screen light compensation method, device, storage medium and intelligent terminal
CN111399965A (en) * 2020-04-16 2020-07-10 Oppo广东移动通信有限公司 User interface compatible display method and device, equipment and storage medium
CN111930481A (en) * 2020-07-16 2020-11-13 重庆帮企科技集团有限公司 Android system-based process priority improving method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302517A (en) * 2015-10-20 2016-02-03 魅族科技(中国)有限公司 Method and device for regulating display color of terminal screen
CN105549829A (en) * 2015-10-31 2016-05-04 东莞酷派软件技术有限公司 Setting project processing method and apparatus
CN106453852A (en) * 2016-09-20 2017-02-22 深圳鼎智通讯股份有限公司 Screen color adjustment system and method for Android terminal
CN109542376A (en) * 2018-11-06 2019-03-29 西安易朴通讯技术有限公司 The vision-control method, apparatus and medium of screen
CN110113536A (en) * 2019-05-17 2019-08-09 Oppo广东移动通信有限公司 A kind of screen light compensation method, device, storage medium and intelligent terminal
CN111399965A (en) * 2020-04-16 2020-07-10 Oppo广东移动通信有限公司 User interface compatible display method and device, equipment and storage medium
CN111930481A (en) * 2020-07-16 2020-11-13 重庆帮企科技集团有限公司 Android system-based process priority improving method and device

Similar Documents

Publication Publication Date Title
US10885677B2 (en) Method and system for setting interface element colors
RU2530272C2 (en) Method and apparatus for creating user interface
US6784905B2 (en) Applying translucent filters according to visual disability needs
CN103870155B (en) The method and electronic equipment of information processing
WO2017097140A1 (en) Method for setting attribute value of interface element, and apparatus and smart device therefor
CN103914314A (en) Method and device for adjusting brightness of display screen
CN114359305A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
JP2003076355A (en) Picture display device, picture display method, recording medium, and program
JPH0962473A (en) Multiwindow display method
JPH1157262A (en) Embroidery data editing device
CN109992227A (en) User interface display control method, device, terminal and computer storage medium
CN114880058A (en) Method and system for color matching of android system screen
CN106792083A (en) Picture quality of television demenstration method and system
US6313824B1 (en) Image preview system
JP2006030914A (en) Information processor and display control method
JP7133930B2 (en) Display device, image processing device, image processing method, and control program
WO2022252810A1 (en) Display mode switching method and apparatus, and electronic device and medium
JPWO2007099944A1 (en) Mobile phone terminal, screen display control method used therefor, and program thereof
CN111883072B (en) Screen self-adaptive adjusting method and device, electronic equipment and storage medium
CN112201191A (en) Display screen control method and device, electronic equipment and readable storage medium
CN110989833B (en) Control method, AR device and computer readable storage medium
CN115829861B (en) Image color enhancement method and image color enhancement device
CN105094847B (en) The customized button control realization method and system of multi-layer image based on android system
US11948530B2 (en) Computer-implemented method for generating gradient color value array, apparatus, and computer-program product thereof
TW201828020A (en) Method, device and smart apparatus for setting interface element attribute value capable of solving problems of consuming more terminal resources caused by a method of changing terminal interface element in the prior art

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