CN106970747A - User equipment control method based on desktop wallpaper replacement and user equipment - Google Patents
User equipment control method based on desktop wallpaper replacement and user equipment Download PDFInfo
- Publication number
- CN106970747A CN106970747A CN201710339875.8A CN201710339875A CN106970747A CN 106970747 A CN106970747 A CN 106970747A CN 201710339875 A CN201710339875 A CN 201710339875A CN 106970747 A CN106970747 A CN 106970747A
- Authority
- CN
- China
- Prior art keywords
- values
- sampling number
- user equipment
- user
- sampling
- 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
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000005070 sampling Methods 0.000 claims abstract description 172
- 238000001514 detection method Methods 0.000 claims description 19
- 108010001267 Protein Subunits Proteins 0.000 claims description 8
- 238000012795 verification Methods 0.000 claims description 3
- 230000001186 cumulative effect Effects 0.000 abstract 2
- 239000003086 colorant Substances 0.000 abstract 1
- 238000003860 storage Methods 0.000 description 11
- 239000000463 material Substances 0.000 description 9
- 210000005252 bulbus oculi Anatomy 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000007774 longterm Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 210000001508 eye Anatomy 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000005520 cutting process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Image Processing (AREA)
Abstract
A user equipment control method based on desktop wallpaper replacement and user equipment are provided, the method comprises the following steps: after the user equipment finishes replacing the new desktop wallpaper, sampling the R value, the G value and the B value of the pixel point of the new desktop wallpaper after replacement; accumulating the R value, the G value and the B value obtained by sampling to obtain a first accumulated value; accumulating the number of samples of the R value, the number of samples of the G value and the number of samples of the B value to obtain a second accumulated value; calculating a ratio between the first cumulative value and the second cumulative value as an RGB average; updating the R value, the G value and the B value of a background pixel point of a target object in the user equipment into the RGB average value; wherein the target object includes an icon and a window. By implementing the embodiment of the invention, the colors of the icon and the window of the user equipment can be flexibly adjusted.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of user equipment controlling party changed based on desktop wallpaper
Method and user equipment.
Background technology
In the routine use of the user equipmenies such as smart mobile phone, mobile platform, user can be often to user equipment
Wallpaper is changed, in order to obtain more preferable wallpaper experience.In practice, it has been found that in the wallpaper of user to user equipment
After being changed, the icon of user equipment and the color of window are still constant, it is impossible to the icon and window of user equipment
The color of mouth is adjusted flexibly.
The content of the invention
The embodiment of the invention discloses a kind of customer equipment controlling method and user equipment changed based on desktop wallpaper, energy
It is enough that the icon of user equipment and the color of window are adjusted flexibly.
First aspect of the embodiment of the present invention discloses a kind of customer equipment controlling method changed based on desktop wallpaper, the side
Method includes:
After user equipment replacing finishes new desktop wallpaper, to the picture of the new desktop wallpaper after replacing
R values, G values and the B values of vegetarian refreshments are sampled;
R values, G values and the B values that sampling is obtained are added up, and obtain the first aggregate-value;
The sampling number of the sampling number of the R values, the sampling number of the G values and the B values is added up, obtained
Obtain the second aggregate-value;
The ratio between first aggregate-value and second aggregate-value is calculated, RGB average values are used as;
The R values, G values and B values of the background pixel point of destination object in the user equipment are updated to the RGB
Average value;Wherein, the destination object includes icon and window.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described in the user equipment more
Change after finishing new desktop wallpaper, the R values, G values and B values to the pixel of the new desktop wallpaper after replacing are carried out
Sampling, including:
After user equipment replacing finishes new desktop wallpaper, prompt the user whether to need to the user equipment
In destination object background color carry out suitability adjustment;
Suitability tune is carried out to the background color of the destination object in the user equipment the need for user's input is received
During whole instruction, dialog box is exported;Wherein, the sampling number input field of the dialog box including R values, G values sampling number it is defeated
The sampling number input field of lairage and B values;
Detect user in the sampling number of the R values of the sampling number input field input of the R values, user in the G
The sampling number of the G values of the sampling number input field input of value and user are defeated in the sampling number input field of the B values
The sampling number of the B values entered;
According to the sampling number of the R values, the R values to the pixel of the new desktop wallpaper after replacing are taken out
Sample;According to the sampling number of the G values, the G values to the pixel of the new desktop wallpaper after replacing are sampled;According to
The sampling number of the B values, the B values to the pixel of the new desktop wallpaper after replacing are sampled.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the dialog box also includes treating school
Test information input field, sampling number, the use of the R values that the detection user inputs in the sampling number input field of the R values
Family the G values sampling number input field input the G values sampling number and user the B values sampling number
Before the sampling number of the B values of input field input, methods described also includes:
Detect to be verified information of the user in the information input field input to be verified;
Judge that the lawful registration the check information whether information to be verified prestores with the user equipment matches,
If matched, the sampling for the R values that described detection user inputs in the sampling number input field of the R values is performed
Sampling number and user the taking out in the B values for the G values that number, user input in the sampling number input field of the G values
The sampling number of the B values of sample number input field input.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described by the user equipment
R values, G values and the B values of background pixel point of destination object be updated to after the RGB average values, methods described is also wrapped
Include:
Prompt the user whether the R values, G values and B values of the background pixel point of the destination object in the user equipment is extensive
Again to original numerical value;
In R values, G values and the B of the background pixel point by the destination object in the user equipment for receiving user's input
Value is recovered to during the instruction of original numerical value, by the R values, G values and B of the background pixel point of the destination object in the user equipment
Value is recovered to original numerical value.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the information to be verified includes treating
Any of verification password, track to be verified or fingerprint to be verified or several combinations.
Second aspect of the embodiment of the present invention discloses a kind of user equipment, including:
Sampling unit, after finishing new desktop wallpaper in user equipment replacing, to described new after replacing
R values, G values and the B values of pixel of desktop wallpaper be sampled;
Accumulated unit, R values, G values and B values for sampling to be obtained are added up, and obtain the first aggregate-value;And,
The sampling number of the sampling number of the R values, the sampling number of the G values and the B values is added up, second is obtained and tires out
Evaluation;
Computing unit, it is average as RGB for calculating the ratio between first aggregate-value and second aggregate-value
Value;
Updating block, for the R values, G values and B values of the background pixel point of the destination object in the user equipment is equal
It is updated to the RGB average values;Wherein, the destination object includes icon and window.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the sampling unit includes:
Subelement is pointed out, after finishing new desktop wallpaper in user equipment replacing, prompts the user whether to need
Suitability adjustment is carried out to the background color of the destination object in the user equipment;
Subelement is exported, for receiving the background face the need for user inputs to the destination object in the user equipment
When color carries out the instruction of suitability adjustment, dialog box is exported;Wherein, the dialog box includes sampling number input field, the G of R values
The sampling number input field of value and the sampling number input field of B values;
First detection sub-unit, for detecting taking out for the R values that user inputs in the sampling number input field of the R values
The sampling number for the G values that sample number, user input in the sampling number input field of the G values and user are in the B values
Sampling number input field input the B values sampling number;
Sub-unit, for the sampling number according to the R values, to the pixel of the new desktop wallpaper after replacing
The R values of point are sampled;According to the sampling number of the G values, to the G values of the pixel of the new desktop wallpaper after replacing
It is sampled;According to the sampling number of the B values, the B values to the pixel of the new desktop wallpaper after replacing are taken out
Sample.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the dialog box also includes treating school
Information input field is tested, the sampling unit also includes:
Second detection sub-unit, for detecting to be verified information of the user in the information input field input to be verified;
Judgment sub-unit, for judge the information to be verified whether the lawful registration prestored with the user equipment
Check information matches, if matched, and triggers first detection sub-unit and performs described detection user in the R values
Described in sampling number input field input of the sampling number, user of the R values of number of sampling input field input in the G values
The sampling number for the B values that the sampling number of G values and user input in the sampling number input field of the B values.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the user equipment also includes:
Tip element, is additionally operable to the updating block by the R of the background pixel point of the destination object in the user equipment
Value, G values and B values are updated to after the RGB average values, are prompted the user whether the destination object in the user equipment
The R values of background pixel point, G values and B values recover to original numerical value;
The updating block, is additionally operable to receiving the background picture by the destination object in the user equipment of user's input
R values, G values and the B values of vegetarian refreshments are recovered to during the instruction of original numerical value, by the background picture of the destination object in the user equipment
R values, G values and the B values of vegetarian refreshments are recovered to original numerical value.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the information to be verified includes treating
Any of verification password, track to be verified or fingerprint to be verified or several combinations.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, after user equipment replacing finishes new desktop wallpaper, user equipment can be to changing
R values, G values and the B values of the pixel of new desktop wallpaper afterwards are sampled, and R values, G values and the B obtained according to sampling
Value calculates RGB average values;And, user equipment can by the icon and the R values of the background pixel point of window in user equipment,
G values and B values are updated to the RGB average values.It can be seen that, implement the embodiment of the present invention, user equipment can be finished newly in replacing
Desktop wallpaper after, the color of icon and window to user equipment is adjusted flexibly.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below by using required in embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is that a kind of flow for the customer equipment controlling method changed based on desktop wallpaper is shown disclosed in the embodiment of the present invention
It is intended to;
Fig. 2 is the flow of another customer equipment controlling method changed based on desktop wallpaper disclosed in the embodiment of the present invention
Schematic diagram;
Fig. 3 is the flow of another customer equipment controlling method changed based on desktop wallpaper disclosed in the embodiment of the present invention
Schematic diagram;
Fig. 4 is a kind of structural representation of user equipment disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another user equipment disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another user equipment disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, the scope of protection of the invention is belonged to.
It should be noted that the term " comprising " and " having " of the embodiment of the present invention and their any deformation, it is intended that
Be to cover it is non-exclusive include, for example, containing process, method, system, product or the equipment of series of steps or unit not
Be necessarily limited to those steps or the unit clearly listed, but may include not list clearly or for these processes, side
The intrinsic other steps of method, product or equipment or unit.
The embodiment of the invention discloses a kind of customer equipment controlling method and user equipment changed based on desktop wallpaper, energy
It is enough that the icon of user equipment and the color of window are adjusted flexibly.Accompanying drawing is combined below to be described in detail.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of user equipment controlling party changed based on desktop wallpaper disclosed in the embodiment of the present invention
The schematic flow sheet of method.As shown in figure 1, the customer equipment controlling method that should be changed based on desktop wallpaper can include following step
Suddenly.
101st, user equipment is after replacing finishes new desktop wallpaper, to the pixel of the new desktop wallpaper after replacing
R values, G values and B values be sampled.
In the embodiment of the present invention, too busy to get away cell phone that user equipment can be people in work, life all the more,
Mobile flat board, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile
Internet Device, MID) etc. various equipment;Wherein, user equipment can support including but not limited to following network technology:
Global system for mobile communications (Global System for Mobile Communications, GSM), universal packet wireless business
Be engaged in (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access,
CDMA), WCDMA (W-CDMA), CDMA2000, IMT single carrier (IMT Single Carrier), enhanced data
Speed GSM evolution (Enhanced Data Rates for GSM Evolution, EDGE), Long Term Evolution (Long-
Term Evolution, LTE), senior long term evolution technology, time-division Long Term Evolution (Time-Division LTE, TD-
LTE), high performance radio LAN (High Performance Radio Local Area Network, HiperLAN),
High performance radio wide area network (HiperWAN), local multiple spot distribute business (Local Multipoint Distribution
Service, LMDS), full micro-wave access global inter communication (WiMAX), ZigBee protocol (ZigBee), bluetooth, OFDM skill
Art (OFDM), Large Copacity space-division multiple access (HC-SDMA), Universal Mobile Telecommunications System (UMTS), Universal Mobile Telecommunications System
Time division duplex (UMTS-TDD), evolved high-speed packet access (HSPA+), TD SDMA (TD-SCDMA), evolution
Data optimization (EV-DO), DECT (DECT) and other.
In the embodiment of the present invention, the mode that user equipment changes desktop wallpaper can be:
User equipment loads desktop wallpaper authoring module to RAM from memory, and can start the logical of user equipment
Believe module, communication tunnel is set up with Mobile Network Operator gateway;User equipment sends instruction to user facility operation system and obtained
The screen specification, CPU specifications, RAM capacity of user equipment are taken, and the screen specification of user equipment, CPU specifications, RAM capacity are sealed
Dress up packet and desktop wallpaper server is sent to by communication module;Desktop wallpaper server advises the screen of user equipment
Lattice, CPU specifications, RAM capacity are transmitted to wallpaper server;Wallpaper server is according to the screen specification of user equipment in database
Desktop wallpaper screening is carried out, the wallpaper material for the screen specification for supporting the user equipment is filtered out, then carried out in the selection result
CPU specifications, the screening of RAM specifications, what is obtained is the wallpaper material database matched with user equipment, sends wallpaper server to;Wallpaper
Server transmits the desktop wallpaper authoring module on wallpaper material database to user equipment through communication tunnel;Desktop wallpaper creates mould
Block is received after wallpaper material data, and internal memory is arrived in storage, simultaneously closes off the communication module of user equipment;Desktop wallpaper is created
Make module and wallpaper material database is presented in user device handset screen, selected by user;Open the input of user equipment touch-screen
Device, user can select wallpaper material by user device screen clicking operation;User is chosen after wallpaper material, desktop wall
Paper authoring module stores temporary information to RAM;User is operated by touch screen interaction, and the dynamic wallpaper stage property of selection is carried out
Mobile, rotation, zoom operations, after the completion of, the parameter that desktop wallpaper authoring module storage user adjusts to RAM;User is opened to set
Standby camera device;User shoots photo using camera device, is stored in the internal memory of user equipment;Desktop wallpaper is created
Make module and read the photo that user shoots, photo is cut according to the size of dynamic wallpaper stage property, makes photo can be with embedding
Enter in dynamic wallpaper stage property;Photo stored copies after cutting are to internal memory;Desktop wallpaper authoring module selects user
The wallpaper material information selected, dynamic wallpaper stage property, stage property adjusting parameter, the photo copy after cutting, packing is compressed into vla forms
Internal memory is arrived in file storage;The provisional injunction in the photo copy of interim storage, RAM is deleted, picture pick-up device is closed and touches
Touch screen input equipment;The wallpaper shows process, including following sequence of steps:Start dynamic wall paper matrix from internal memory
Block, is loaded into RAM;The good vla forms creation wallpaper file of dynamic wallpaper program reading and saving from internal memory, parsing text
Part obtains wallpaper template configuration and stage property configuration;Wallpaper material, dynamic wallpaper stage property and photographic intelligence are read, from internal memory
The middle file that reads is to RAM;Dynamic wallpaper stage property adjustment information is read to RAM;Start wallpaper rendering engine, first draw wallpaper mould
Plate, then wallpaper stage property is drawn, to wallpaper buffer;The content in wallpaper buffer is updated to user device screen.
Implement above-mentioned embodiment, the wallpaper template that user can be liked with unrestricted choice, wallpaper background figure and wallpaper stage property
Arrange in pairs or groups, simply drag operation can just complete the production process of personalized wallpaper on a user device, user can also be by
The photo of oneself is embedded as a part for dynamic wallpaper, adds user device function, is that manufacturer creates business success
Chance, tool wallpaper have actual application value and commercial value.
In the embodiment of the present invention, user equipment is finished in replacing after new desktop wallpaper, and user equipment can be according to pre-
If frequency in sampling R values, G values and the B values of the pixel of the new desktop wallpaper after replacing are sampled.
102nd, user equipment is added up R values, G values and the B values that sampling is obtained, and obtains the first aggregate-value.
103rd, user equipment is added up the sampling number of the sampling number of R values, the sampling number of G values and B values, is obtained
Obtain the second aggregate-value.
104th, user equipment calculates the ratio between the first aggregate-value and the second aggregate-value, is used as RGB average values.
105th, user equipment updates the R values, G values and B values of the background pixel point of the destination object in user equipment
Into RGB average values;Wherein, destination object includes icon and window.
In the method described by Fig. 1, after user equipment replacing finishes new desktop wallpaper, user equipment can be right
R values, G values and the B values of the pixel of new desktop wallpaper after replacing are sampled, and R values, the G values obtained according to sampling
And B values calculate RGB average values;And, user equipment can be by the icon and the background pixel point of window in user equipment
R values, G values and B values be updated to the RGB average values.It can be seen that, implement the method described by Fig. 1, user equipment can be more
Change after finishing new desktop wallpaper, the color of icon and window to user equipment is adjusted flexibly.
Embodiment two
Referring to Fig. 2, Fig. 2 is another user equipment control changed based on desktop wallpaper disclosed in the embodiment of the present invention
The schematic flow sheet of method.As shown in Fig. 2 the customer equipment controlling method that should be changed based on desktop wallpaper can include following step
Suddenly.
201st, user equipment prompts the user whether to need in user equipment after replacing finishes new desktop wallpaper
The background color of destination object carries out suitability adjustment;Wherein, destination object includes icon and window.
202nd, user equipment is carried out the need for user's input is received to the background color of the destination object in user equipment
During the instruction of suitability adjustment, dialog box is exported;Wherein, the dialog box includes the sampling number input field of R values, the sampling of G values
The sampling number input field of number input field and B values.
203rd, the sampling number for the R values that user equipment detection user inputs in the sampling number input field of R values, user are in G
The B values that the sampling number of the G values of the sampling number input field input of value and user input in the sampling number input field of B values
Sampling number.
204th, user equipment is according to the sampling number of R values, the R values progress to the pixel of the new desktop wallpaper after replacing
Sampling;According to the sampling number of G values, the G values to the pixel of the new desktop wallpaper after replacing are sampled;According to B values
Sampling number, the B values to the pixel of the new desktop wallpaper after replacing are sampled.
205th, user equipment is added up R values, G values and the B values that sampling is obtained, and obtains the first aggregate-value.
206th, user equipment is added up the sampling number of the sampling number of R values, the sampling number of G values and B values, is obtained
Obtain the second aggregate-value.
207th, user equipment calculates the ratio between the first aggregate-value and the second aggregate-value, is used as RGB average values.
208th, user equipment updates the R values, G values and B values of the background pixel point of the destination object in user equipment
Into RGB average values.
209th, user equipment prompt the user whether by the R values of the background pixel point of the destination object in user equipment, G values with
And B values are recovered to original numerical value.
210th, user equipment is receiving the R values for the background pixel point by the destination object in user equipment that user inputs, G
Value and B values recovery to original numerical value instruction when, by the R values of the background pixel point of the destination object in user equipment, G values with
And B values are recovered to original numerical value.
As an alternative embodiment, user equipment is finished after step 210, invisible light source can be passed through
Irradiate user eyeball, a flare respectively formed on two eyeballs of user, will calculate obtained two hot spot distances with
Default two hot spot distances are compared, if calculating obtained two hot spots distance is more than default two hot spot distances,
Point out the distance between screen of user's increase eyes and user equipment;Wherein, default two hot spots distance according to user with
Reference between the screen of smart machine is set using distance to be determined.
It can be seen that, implement the method described by Fig. 2, user equipment can after changing and finishing new desktop wallpaper, to
The icon of family equipment and the color of window are adjusted flexibly.
Embodiment three
Referring to Fig. 3, Fig. 3 is another user equipment control changed based on desktop wallpaper disclosed in the embodiment of the present invention
The schematic flow sheet of method.As shown in figure 3, the customer equipment controlling method that should be changed based on desktop wallpaper can include following step
Suddenly.
301st, user equipment prompts the user whether to need to the user equipment after replacing finishes new desktop wallpaper
In destination object background color carry out suitability adjustment.
If the 302, background color of the user equipment the need for user's input is received to the destination object in user equipment
When carrying out the instruction of suitability adjustment, dialog box is exported;Wherein, dialog box includes information input field to be verified and including R values
Sampling number input field, the sampling number input field of the sampling number input field of G values and B values.
303rd, the information to be verified that user equipment detection user inputs in information input field to be verified.
Wherein, information to be verified includes any of password to be verified, track to be verified or fingerprint to be verified or several
Combination, the embodiment of the present invention is not construed as limiting.
304th, user equipment judges the lawful registration check information phase whether information to be verified prestores with user equipment
Matching, if matched, performs step 305;If mismatched, terminate this flow.
305th, the sampling number for the R values that user equipment detection user inputs in the sampling number input field of R values, user are in G
The B values that the sampling number of the G values of the sampling number input field input of value and user input in the sampling number input field of B values
Sampling number.
306th, user equipment is according to the sampling number of R values, the R values progress to the pixel of the new desktop wallpaper after replacing
Sampling;According to the sampling number of G values, the G values to the pixel of the new desktop wallpaper after replacing are sampled;According to B values
Sampling number, the B values to the pixel of the new desktop wallpaper after replacing are sampled.
307th, user equipment is added up R values, G values and the B values that sampling is obtained, and obtains the first aggregate-value.
308th, user equipment is added up the sampling number of the sampling number of R values, the sampling number of G values and B values, is obtained
Obtain the second aggregate-value;
309th, user equipment calculates the ratio between the first aggregate-value and the second aggregate-value, is used as RGB average values.
310th, user equipment updates the R values, G values and B values of the background pixel point of the destination object in user equipment
Into RGB average values;Wherein, destination object includes icon and window.
311st, user equipment prompt the user whether by the R values of the background pixel point of the destination object in user equipment, G values with
And B values are recovered to original numerical value.
312nd, user equipment is receiving the R values for the background pixel point by the destination object in user equipment that user inputs, G
Value and B values recovery to original numerical value instruction when, by the R values of the background pixel point of the destination object in user equipment, G values with
And B values are recovered to original numerical value.
As an alternative embodiment, user equipment is finished after step 312, invisible light source can be passed through
Irradiate user eyeball, a flare respectively formed on two eyeballs of user, will calculate obtained two hot spot distances with
Default two hot spot distances are compared, if calculating obtained two hot spots distance is more than default two hot spot distances,
Point out the distance between screen of user's increase eyes and user equipment;Wherein, default two hot spots distance according to user with
Reference between the screen of smart machine is set using distance to be determined.
It can be seen that, the method described by implementing Fig. 3, user equipment can after changing and finishing new desktop wallpaper, to
The icon of family equipment and the color of window are adjusted flexibly.
Example IV
Referring to Fig. 4, Fig. 4 is a kind of structural representation of user equipment disclosed in the embodiment of the present invention.As shown in figure 4,
The user equipment includes:
Sampling unit 401, after finishing new desktop wallpaper in user equipment replacing, to the new desktop after replacing
R values, G values and the B values of the pixel of wallpaper are sampled;
Accumulated unit 402, R values, G values and B values for sampling to be obtained are added up, and obtain the first aggregate-value;With
And, the sampling number of the sampling number of R values, the sampling number of G values and B values is added up, the second aggregate-value is obtained;
Computing unit 403, for calculating the ratio between the first aggregate-value and the second aggregate-value, is used as RGB average values;
Updating block 404, for the R values, G values and B values of the background pixel point of the destination object in user equipment is equal
It is updated to RGB average values;Wherein, destination object includes icon and window.
It can be seen that, implement the user equipment described by Fig. 4, user can be set after replacing finishes new desktop wallpaper
Standby icon and the color of window are adjusted flexibly.
Embodiment five
Referring to Fig. 5, Fig. 5 is the structural representation of another user equipment disclosed in the embodiment of the present invention.Wherein, Fig. 5
Shown user equipment is that user equipment as shown in Figure 4 optimizes what is obtained.In the user equipment shown in Fig. 5, sampling
Unit 401 includes:
Subelement 4011 is pointed out, after finishing new desktop wallpaper in user equipment replacing, prompts the user whether to need
Suitability adjustment is carried out to the background color of the destination object in user equipment;
Subelement 4012 is exported, for receiving the background face the need for user inputs to the destination object in user equipment
When color carries out the instruction of suitability adjustment, dialog box is exported;Wherein, the sampling number input field of dialog box including R values, G values
The sampling number input field of sampling number input field and B values;
First detection sub-unit 4013, the sampling for detecting the R values that user inputs in the sampling number input field of R values
Number, user G values sampling number input field input G values sampling number and user B values sampling number input field
The sampling number of the B values of input;
Sub-unit 4014, for the sampling number according to R values, to the pixel of the new desktop wallpaper after replacing
R values are sampled;According to the sampling number of G values, the G values to the pixel of the new desktop wallpaper after replacing are sampled;Press
According to the sampling number of B values, the B values to the pixel of the new desktop wallpaper after replacing are sampled.
It can be seen that, implement the user equipment described by Fig. 5, user can be set after replacing finishes new desktop wallpaper
Standby icon and the color of window are adjusted flexibly.
Embodiment six
Referring to Fig. 6, Fig. 6 is the structural representation of another user equipment disclosed in the embodiment of the present invention.Wherein, Fig. 6
Shown user equipment is that user equipment as shown in Figure 5 optimizes what is obtained.In the user equipment shown in Fig. 6, dialogue
Frame also includes information input field to be verified, and sampling unit 401 also includes:
Second detection sub-unit 4015, for detecting the information to be verified that user inputs in information input field to be verified;
Judgment sub-unit 4016, for judging whether information to be verified verifies with the lawful registration that user equipment is prestored
Information match, if matched, the first detection sub-unit 4013 of triggering detection user inputs in the sampling number input field of R values
The sampling numbers of R values, sampling number and user the taking out in B values of G values that is inputted in the sampling number input field of G values of user
The sampling number of the B values of sample number input field input.
As an alternative embodiment, the user equipment shown in Fig. 6 also includes:
Tip element 405, be additionally operable to updating block 404 by the R values of the background pixel point of the destination object in user equipment,
G values and B values are updated to after RGB average values, are prompted the user whether the background pixel of the destination object in user equipment
R values, G values and the B values of point are recovered to original numerical value;
Updating block 404, is additionally operable to receiving the background pixel point by the destination object in user equipment of user's input
R values, G values and B values recover to during the instruction of original numerical value, by the R of the background pixel point of the destination object in user equipment
Value, G values and B values are recovered to original numerical value.
In the embodiment of the present invention, information to be verified includes appointing in password to be verified, track to be verified or fingerprint to be verified
One or more of combinations, the embodiment of the present invention is not construed as limiting.
As an alternative embodiment, updating block 404 is by the background pixel point of the destination object in user equipment
R values, G values and B values recover to original numerical value, user eyeball can be irradiated by invisible light source, the two of user
A flare is respectively formed on individual eyeball, two hot spot distances that calculating is obtained are compared with default two hot spots distance
Compared with if calculating obtained two hot spots distance is more than default two hot spot distances, prompting user's increase eyes are set with user
The distance between standby screen;Wherein, default two hot spots distance is according to the reference between user and the screen of smart machine
Set and determined using distance.
It can be seen that, implement the user equipment described by Fig. 6, user can be set after replacing finishes new desktop wallpaper
Standby icon and the color of window are adjusted flexibly.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage
Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact
Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can
For carrying or any other computer-readable medium of data storage.
Above to a kind of customer equipment controlling method changed based on desktop wallpaper and user disclosed in the embodiment of the present invention
Equipment is described in detail, and specific case used herein is set forth to the principle and embodiment of the present invention, with
The explanation of upper embodiment is only intended to the method and its core concept for helping to understand the present invention;Simultaneously for the general of this area
Technical staff, according to the thought of the present invention, will change in specific embodiments and applications, in summary,
This specification content should not be construed as limiting the invention.
Claims (10)
1. a kind of customer equipment controlling method changed based on desktop wallpaper, it is characterised in that methods described includes:
After user equipment replacing finishes new desktop wallpaper, to the pixel of the new desktop wallpaper after replacing
R values, G values and B values be sampled;
R values, G values and the B values that sampling is obtained are added up, and obtain the first aggregate-value;
The sampling number of the sampling number of the R values, the sampling number of the G values and the B values is added up, the is obtained
Two aggregate-values;
The ratio between first aggregate-value and second aggregate-value is calculated, RGB average values are used as;
The R values, G values and B values of the background pixel point of destination object in the user equipment are updated into the RGB to be averaged
Value;Wherein, the destination object includes icon and window.
2. customer equipment controlling method according to claim 1, it is characterised in that described to have been changed in the user equipment
After Bi Xin desktop wallpaper, R values, G values and B values to the pixel of the new desktop wallpaper after replacing are taken out
Sample, including:
After user equipment replacing finishes new desktop wallpaper, prompt the user whether to need in the user equipment
The background color of destination object carries out suitability adjustment;
Suitability adjustment is carried out to the background color of the destination object in the user equipment the need for user's input is received
During instruction, dialog box is exported;Wherein, the dialog box includes sampling number input field, the sampling number input field of G values of R values
And the sampling number input field of B values;
Detect user in the sampling number of the R values of the sampling number input field input of the R values, user in the G values
What the sampling number of the G values of number of sampling input field input and user inputted in the sampling number input field of the B values
The sampling number of the B values;
According to the sampling number of the R values, the R values to the pixel of the new desktop wallpaper after replacing are sampled;Press
According to the sampling number of the G values, the G values to the pixel of the new desktop wallpaper after replacing are sampled;According to the B
The sampling number of value, the B values to the pixel of the new desktop wallpaper after replacing are sampled.
3. customer equipment controlling method according to claim 2, it is characterised in that the dialog box also includes letter to be verified
Cease input field, the sampling number for the R values that the detection user inputs in the sampling number input field of the R values, Yong Hu
The sampling number of the G values of the sampling number input field input of the G values and user input in the sampling number of the B values
Before the sampling number of the B values of column input, methods described also includes:
Detect to be verified information of the user in the information input field input to be verified;
Judge that the lawful registration the check information whether information to be verified prestores with the user equipment matches, if
Match, perform the sampling number for the R values that described detection user inputs in the sampling number input field of the R values, use
Family the G values sampling number input field input the G values sampling number and user the B values sampling number
The sampling number of the B values of input field input.
4. the customer equipment controlling method according to any one of claims 1 to 3, it is characterised in that described by the user
R values, G values and the B values of the background pixel point of destination object in equipment are updated to after the RGB average values, the side
Method also includes:
Prompt the user whether to recover the R values, G values and B values of the background pixel point of the destination object in the user equipment extremely
Original numerical value;
It is extensive in the R values, G values and B values of the background pixel point by the destination object in the user equipment for receiving user's input
It is again to during the instruction of original numerical value, the R values, G values and B values of the background pixel point of the destination object in the user equipment is extensive
Again to original numerical value.
5. the customer equipment controlling method according to claim 3 or 4, it is characterised in that the information to be verified includes treating
Any of verification password, track to be verified or fingerprint to be verified or several combinations.
6. a kind of user equipment, it is characterised in that including:
Sampling unit, after finishing new desktop wallpaper in user equipment replacing, to the new table after replacing
R values, G values and the B values of the pixel of surface wallpaper are sampled;
Accumulated unit, R values, G values and B values for sampling to be obtained are added up, and obtain the first aggregate-value;And, by institute
The sampling number for stating the sampling number, the sampling number of the G values and the B values of R values is added up, and is obtained second and is added up
Value;
Computing unit, for calculating the ratio between first aggregate-value and second aggregate-value, is used as RGB average values;
Updating block, for the R values, G values and B values of the background pixel point of the destination object in the user equipment to be updated
Into the RGB average values;Wherein, the destination object includes icon and window.
7. user equipment according to claim 6, it is characterised in that the sampling unit includes:
Subelement is pointed out, after finishing new desktop wallpaper in user equipment replacing, needs pair are prompted the user whether
The background color of destination object in the user equipment carries out suitability adjustment;
Subelement is exported, for entering the need for user's input is received to the background color of the destination object in the user equipment
During the instruction of row suitability adjustment, dialog box is exported;Wherein, the sampling number input field of the dialog box including R values, G values
The sampling number input field of sampling number input field and B values;
First detection sub-unit, the sampling for detecting the R values that user inputs in the sampling number input field of the R values
Sampling number and user the taking out in the B values for the G values that number, user input in the sampling number input field of the G values
The sampling number of the B values of sample number input field input;
Sub-unit, for the sampling number according to the R values, to the pixel of the new desktop wallpaper after replacing
R values are sampled;According to the sampling number of the G values, the G values to the pixel of the new desktop wallpaper after replacing are carried out
Sampling;According to the sampling number of the B values, the B values to the pixel of the new desktop wallpaper after replacing are sampled.
8. user equipment according to claim 7, it is characterised in that the dialog box also includes information to be verified and inputted
Column, the sampling unit also includes:
Second detection sub-unit, for detecting to be verified information of the user in the information input field input to be verified;
Judgment sub-unit, for judging whether the information to be verified verifies with the lawful registration that the user equipment is prestored
Information match, if matched, triggers first detection sub-unit and performs sampling of the described detection user in the R values
The G values that the sampling number of the R values of number input field input, user input in the sampling number input field of the G values
Sampling number and user the B values sampling number input field input the B values sampling number.
9. the user equipment according to any one of claim 6~8, it is characterised in that also include:
Tip element, is additionally operable to the updating block by the R values of the background pixel point of the destination object in the user equipment, G
Value and B values are updated to after the RGB average values, are prompted the user whether the back of the body of the destination object in the user equipment
R values, G values and the B values of scene vegetarian refreshments are recovered to original numerical value;
The updating block, is additionally operable to receiving the background pixel point by the destination object in the user equipment of user's input
R values, G values and B values recover to during the instruction of original numerical value, by the background pixel point of the destination object in the user equipment
R values, G values and B values recover to original numerical value.
10. user equipment according to claim 8 or claim 9, it is characterised in that the information to be verified includes to be verified close
Any of code, track to be verified or fingerprint to be verified or several combinations.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710339875.8A CN106970747A (en) | 2017-05-15 | 2017-05-15 | User equipment control method based on desktop wallpaper replacement and user equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710339875.8A CN106970747A (en) | 2017-05-15 | 2017-05-15 | User equipment control method based on desktop wallpaper replacement and user equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106970747A true CN106970747A (en) | 2017-07-21 |
Family
ID=59331359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710339875.8A Pending CN106970747A (en) | 2017-05-15 | 2017-05-15 | User equipment control method based on desktop wallpaper replacement and user equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106970747A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107844357A (en) * | 2017-11-14 | 2018-03-27 | 北京安云世纪科技有限公司 | Adjust the method, apparatus and terminal of widget outward appearance |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140210862A9 (en) * | 2011-03-14 | 2014-07-31 | Xiaomi Inc. | Icon generation method |
CN105205438A (en) * | 2014-09-05 | 2015-12-30 | 北京七鑫易维信息技术有限公司 | Method of using infrared eyeball to track and control distance of eyes and screen and system thereof |
CN105808035A (en) * | 2014-12-29 | 2016-07-27 | 中兴通讯股份有限公司 | Icon display method and apparatus |
CN106055336A (en) * | 2016-06-07 | 2016-10-26 | 青岛海信移动通信技术股份有限公司 | Method and device for setting color of status bar of mobile terminal |
CN106534901A (en) * | 2016-11-23 | 2017-03-22 | 广东小天才科技有限公司 | Teaching resource pushing method and user terminal |
-
2017
- 2017-05-15 CN CN201710339875.8A patent/CN106970747A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140210862A9 (en) * | 2011-03-14 | 2014-07-31 | Xiaomi Inc. | Icon generation method |
CN105205438A (en) * | 2014-09-05 | 2015-12-30 | 北京七鑫易维信息技术有限公司 | Method of using infrared eyeball to track and control distance of eyes and screen and system thereof |
CN105808035A (en) * | 2014-12-29 | 2016-07-27 | 中兴通讯股份有限公司 | Icon display method and apparatus |
CN106055336A (en) * | 2016-06-07 | 2016-10-26 | 青岛海信移动通信技术股份有限公司 | Method and device for setting color of status bar of mobile terminal |
CN106534901A (en) * | 2016-11-23 | 2017-03-22 | 广东小天才科技有限公司 | Teaching resource pushing method and user terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107844357A (en) * | 2017-11-14 | 2018-03-27 | 北京安云世纪科技有限公司 | Adjust the method, apparatus and terminal of widget outward appearance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103118031B (en) | Method for logging in application account and electronic equipment | |
CN105989333B (en) | Fingerprint verification method, system and the terminal for supporting finger print identifying function | |
CN106201170B (en) | A kind of the footmark processing method and terminal of application icon | |
CN103984579B (en) | More equipment rooms share the method for current application program real-time running state | |
CN106973425A (en) | A kind of method and apparatus for connecting WAP | |
CN106664521A (en) | Enforcing service policies in embedded uiccs | |
CN104809402B (en) | A kind of information fuzzy display methods and terminal | |
CN108319865B (en) | Privacy protection method based on multiple roles, storage medium and terminal equipment | |
CN105824875A (en) | Photo sharing method and mobile terminal | |
CN106909855A (en) | File hiding method and device | |
CN101415075A (en) | Digital camera with fingerprint identification function and use method thereof | |
CN105847130A (en) | Instant messaging application chatting record processing method and device | |
CN106909827A (en) | Using account management method and device | |
CN105204661A (en) | Method and device for filtering banned words in input method | |
CN108052819A (en) | A kind of face identification method, mobile terminal and computer readable storage medium | |
CN111124216A (en) | Method and device for setting control interface of household appliance | |
CN106970747A (en) | User equipment control method based on desktop wallpaper replacement and user equipment | |
CN107025041A (en) | Fingerprint input method and terminal | |
CN109614511A (en) | A kind of delet method and device, electronic equipment of discarded picture | |
CN106341507A (en) | Contact acquiring method, device and user terminal | |
CN107612888A (en) | Enterprise customer space creation method and device | |
CN105303096A (en) | Symbol selection for swipe based authentication | |
CN106897599A (en) | A kind of method and terminal by fingerprint control screen | |
CN108319419A (en) | Start the method and device of application | |
CN105740663A (en) | Portable password input equipment and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20170721 |