CN103150182A - Mobile terminal wallpaper quick-setup method and system - Google Patents

Mobile terminal wallpaper quick-setup method and system Download PDF

Info

Publication number
CN103150182A
CN103150182A CN201310060557XA CN201310060557A CN103150182A CN 103150182 A CN103150182 A CN 103150182A CN 201310060557X A CN201310060557X A CN 201310060557XA CN 201310060557 A CN201310060557 A CN 201310060557A CN 103150182 A CN103150182 A CN 103150182A
Authority
CN
China
Prior art keywords
point
user
wallpaper
mean
root
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.)
Granted
Application number
CN201310060557XA
Other languages
Chinese (zh)
Other versions
CN103150182B (en
Inventor
曾元清
唐君豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310060557.XA priority Critical patent/CN103150182B/en
Publication of CN103150182A publication Critical patent/CN103150182A/en
Application granted granted Critical
Publication of CN103150182B publication Critical patent/CN103150182B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a mobile terminal wallpaper quick-setup method and system. The method comprises the following steps: a, setting a RGB (Red Green Blue) color gamut space module, selecting one point by a user at random and determining the component values of R, G and B of the point; b, calling a wallpaper database, extracting N points on each wallpaper at random, and determining the component values of R, G and B of each point; c, calculating the distance between each point and the point selected by the user, and counting the root-mean-square value of all distances on each wallpaper; and d, obtaining 1-3 wallpapers with smaller root-mean-square values for user option. According to the invention, the method that selecting one color of the RGB color gamut space first, calculating then, and latter, selecting wallpapers with suitable color value from a great amount of wallpapers brings convenience in quickly finding the desired desktop background effect of the user, so as to quickly match with the paperwall of the mobile terminal, and therefore, the method is convenient and quick and upgrades user experience.

Description

A kind of method and system of mobile terminal quick-setting wallpaper
Technical field
The present invention relates to a kind of mobile terminal wallpaper, particularly relate to a kind of method and system of mobile terminal quick-setting wallpaper.
Background technology
Mobile terminal comprises computer, mobile phone etc., cell phone wallpaper also is referred to as picture of mobile telephone usually, EFR STK, just follow the desktop wallpaper functional similarity of Windows, the user only need download the picture of oneself liking, size is corresponding with the mobile phone screen of oneself, sends to inside mobile phone, just can be set to the standby desktop wallpaper of mobile phone by mobile phone.
Cell phone wallpaper software is more now, and mobile phone itself also comprises more picture, and wallpaper how to choose suitable color from a large amount of pictures becomes a difficult problem.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method and system of mobile terminal quick-setting wallpaper are provided, the wallpaper of Rapid matching mobile terminal, convenient and swift, promoted user's experience.
In order to achieve the above object, the technical solution used in the present invention is that a kind of method of mobile terminal quick-setting wallpaper comprises the steps:
A., one RGB color gamut space module is set, and the user chooses any point, obtains R, G, the B component value of this point according to user's selected element, and the span of R, G, B component value is 0~255;
B. call the wallpaper picture database, and randomly draw N point on every wallpaper picture, and obtain R, G, the B component value of each point;
C. calculate the distance of each some distance users selected point, and add up the root-mean-square value of every all distances on the wallpaper picture;
D. obtaining 1~3 less wallpaper picture of root-mean-square value selects for the user.
Each point a corresponding R, G of the described RGB color gamut space of step a module, B component value, the user chooses any point, corresponding R, G, the B component value that obtains this point.
The described N of step b is the integer greater than zero, and concrete numerical value is adjusted by the user.
Step c is specially:
Step S101. obtains R component value hj, G component value sj and the B component value vj of user's selected element j;
Step S102. obtains R component value hj, G component value sj and the B component value vj of the some i of extraction;
Step S103. is according to formula Calculate the i point to the distance of user's selected element j;
Step S104. calculates each extraction point one by one to the distance of user's selected element j;
Step S105. calculates the root-mean-square value of N point according to the distance of calculating, and computing formula is
Figure 451501DEST_PATH_IMAGE002
).
Steps d specifically comprises:
Step S301. obtains the root-mean-square value of all wallpaper picture extraction point;
Step S302. is each root-mean-square value relatively, and sorts from small to large;
1~3 wallpaper Image Display that step S303. is less with root-mean-square value is selected for the user in list.
A kind of system of method of described mobile terminal quick-setting wallpaper comprises:
Select module, be used for a RGB color gamut space module is set, the user chooses any point, obtains R, G, the B component value of this point according to user's selected element, and the span of R, G, B component value is 0~255;
Calling module is used for calling the wallpaper picture database, and randomly draws N point on every wallpaper picture, and obtains R, G, the B component value of each point;
Computing module is used for calculating R, the G of each some distance users selected point, the distance of B value, and adds up the root-mean-square value of every all distances on the wallpaper picture;
Acquisition module is used for obtaining 1~3 less wallpaper picture of root-mean-square value and selects for the user.
Described computing module comprises:
The first acquisition module is for R component value hj, the G component value sj and the B component value vj that obtain user's selected element j;
The second acquisition module is for R component value hj, G component value sj and the B component value vj of the some i that obtains extraction;
Distance calculation module is used for according to formula Calculate the i point to the distance of user's selected element j; Calculate one by one each extraction point to the distance of user's selected element j;
The root-mean-square value computing module is used for according to the distance of calculating, and calculates the root-mean-square value of N point, and computing formula is
Figure 683954DEST_PATH_IMAGE002
).
Described acquisition module comprises:
The root-mean-square value acquisition module is for the root-mean-square value that obtains all wallpaper picture extraction point;
Relatively order module, be used for relatively each root-mean-square value, and sort from small to large;
Display module is used for 1~3 wallpaper Image Display that root-mean-square value is less and selects for the user in list.
Compared with prior art, the invention has the beneficial effects as follows: by first choosing a color of RGB color gamut space, through calculating, choose the picture of suitable colour so that the desktop background effect that can find rapidly the user to want from a large amount of pictures, the wallpaper of Rapid matching mobile terminal, convenient and swift, promoted user's experience.
Description of drawings
Fig. 1 is method flow diagram of the present invention.
Embodiment
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, in order to technical characterictic of the present invention and advantage are carried out more deep annotation.
Method flow diagram of the present invention as shown in Figure 1, a kind of method of mobile terminal quick-setting wallpaper comprises the steps:
A., one RGB color gamut space module is set, and the user chooses any point, obtains R, G, the B component value of this point according to user's selected element, and the span of R, G, B component value is 0~255;
B. call the wallpaper picture database, and randomly draw N point on every wallpaper picture, and obtain R, G, the B component value of each point; Due to current computer, picture file is processed and basically be integrated with fixing storehouse, the bag in the java.awt of java language the inside for example, its principle is that each picture file form all has fixedly standard, comprise the relevant information of each pixel after picture length and width, compression, after picture is resolved to computing machine, generally can preserve relevant information in internal memory, the particular location of the pixel that calculate according to the uniform design sampling spot this moment just can directly read relevant RGB information;
C. calculate the distance of each some distance users selected point, and add up the root-mean-square value of every all distances on the wallpaper picture;
D. obtaining 1~3 less wallpaper picture of root-mean-square value selects for the user.
Each point a corresponding R, G of the described RGB color gamut space of step a module, B component value, the user chooses any point, corresponding R, G, the B component value that obtains this point.
The described N of step b is the integer greater than zero, and concrete numerical value is adjusted by the user.
Step c is specially:
Step S101. obtains R component value hj, G component value sj and the B component value vj of user's selected element j;
Step S102. obtains R component value hj, G component value sj and the B component value vj of the some i of extraction;
Step S103. is according to formula
Figure 156524DEST_PATH_IMAGE001
Calculate the i point to the distance of user's selected element j; (for example: redness is 0xFF0000, green is 0x00FF00, blueness is 0x0000FF, wherein 0x represents 16 systems, and every two of back represents a kind of color, and peach colour is 0xFFC0CB, find by calculating, be 279 apart from redness, and be 331 to green and blue distance, also relatively approach from intuitively pink distance is red).
Step S104. calculates each extraction point one by one to the distance of user's selected element j;
Step S105. calculates the root-mean-square value of N point according to the distance of calculating, and computing formula is
Figure 207656DEST_PATH_IMAGE002
), N represents sampling spot, D1~Dn represents that each sampling spot is at the color distance of RGB color gamut space middle distance user selected element, according to calculating
Figure 70570DEST_PATH_IMAGE003
Order determine D1~Dn, if first point that calculates Be defined as D1, n point is defined as Dn, and n is the natural number greater than zero.
From statistical angle, root mean square more can overcome the impact that distortion brings, and more can react the dispersion degree of overall data.
Steps d specifically comprises:
Step S301. obtains the root-mean-square value of all wallpaper picture extraction point;
Step S302. is each root-mean-square value relatively, and sorts from small to large;
1~3 wallpaper Image Display that step S303. is less with root-mean-square value is selected for the user in list.
For example system by screening, filters out three pictures of root mean square minimum, and the user can select to arrange wallpaper according to the hobby of oneself.
A kind of system of method of described mobile terminal quick-setting wallpaper comprises:
Select module, be used for a RGB color gamut space module is set, the user chooses any point, obtains R, G, the B component value of this point according to user's selected element, and the span of R, G, B component value is 0~255;
Calling module is used for calling the wallpaper picture database, and randomly draws N point on every wallpaper picture, and obtains R, G, the B component value of each point;
Computing module is used for calculating R, the G of each some distance users selected point, the distance of B value, and adds up the root-mean-square value of every all distances on the wallpaper picture;
Acquisition module is used for obtaining 1~3 less wallpaper picture of root-mean-square value and selects for the user.
Described computing module comprises:
The first acquisition module is for R component value hj, the G component value sj and the B component value vj that obtain user's selected element j;
The second acquisition module is for R component value hj, G component value sj and the B component value vj of the some i that obtains extraction;
Distance calculation module is used for according to formula
Figure 792593DEST_PATH_IMAGE001
Calculate the i point to the distance of user's selected element j; Calculate one by one each extraction point to the distance of user's selected element j;
The root-mean-square value computing module is used for according to the distance of calculating, and calculates the root-mean-square value of N point, and computing formula is
Figure 14627DEST_PATH_IMAGE002
).
Described acquisition module comprises:
The root-mean-square value acquisition module is for the root-mean-square value that obtains all wallpaper picture extraction point;
Relatively order module, be used for relatively each root-mean-square value, and sort from small to large;
Display module is used for 1~3 wallpaper Image Display that root-mean-square value is less and selects for the user in list.
Above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that concrete enforcement of the present invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, can also make some simple deduction or replace, within the protection domain that the claim that all should be considered as being submitted to by the present invention is determined.

Claims (8)

1. the method for a mobile terminal quick-setting wallpaper, comprise the steps:
A., one RGB color gamut space module is set, and the user chooses any point, obtains R, G, the B component value of this point according to user's selected element, and the span of R, G, B component value is 0~255;
B. call the wallpaper picture database, and randomly draw N point on every wallpaper picture, and obtain R, G, the B component value of each point;
C. calculate the distance of each some distance users selected point, and add up the root-mean-square value of every all distances on the wallpaper picture;
D. obtaining 1~3 less wallpaper picture of root-mean-square value selects for the user.
2. the method for mobile terminal quick-setting wallpaper according to claim 1, it is characterized in that: each point a corresponding R, G of the described RGB color gamut space of step a module, B component value, the user chooses any point, corresponding R, G, the B component value that obtains this point.
3. the method for mobile terminal quick-setting wallpaper according to claim 2 is characterized in that: the described N of step b is for greater than zero integer, and concrete numerical value is adjusted by the user.
4. the method for mobile terminal quick-setting wallpaper according to claim 3, is characterized in that, step c is specially:
Step S101. obtains R component value hj, G component value sj and the B component value vj of user's selected element j;
Step S102. obtains R component value hj, G component value sj and the B component value vj of the some i of extraction;
Step S103. is according to formula Calculate the i point to the distance of user's selected element j;
Step S104. calculates each extraction point one by one to the distance of user's selected element j;
Step S105. calculates the root-mean-square value of N point according to the distance of calculating, and computing formula is
Figure 961134DEST_PATH_IMAGE002
).
5. the method for mobile terminal quick-setting wallpaper according to claim 4, is characterized in that, steps d specifically comprises:
Step S301. obtains the root-mean-square value of all wallpaper picture extraction point;
Step S302. is each root-mean-square value relatively, and sorts from small to large;
1~3 wallpaper Image Display that step S303. is less with root-mean-square value is selected for the user in list.
6. the system of the method for the described mobile terminal quick-setting of any one wallpaper in a kind according to claim 1-5, is characterized in that, comprising:
Select module, be used for a RGB color gamut space module is set, the user chooses any point, obtains R, G, the B component value of this point according to user's selected element, and the span of R, G, B component value is 0~255;
Calling module is used for calling the wallpaper picture database, and randomly draws N point on every wallpaper picture, and obtains R, G, the B component value of each point;
Computing module is used for calculating R, the G of each some distance users selected point, the distance of B value, and adds up the root-mean-square value of every all distances on the wallpaper picture;
Acquisition module is used for obtaining 1~3 less wallpaper picture of root-mean-square value and selects for the user.
7. the system of the method for mobile terminal quick-setting wallpaper according to claim 6, is characterized in that, described computing module comprises:
The first acquisition module is for R component value hj, the G component value sj and the B component value vj that obtain user's selected element j;
The second acquisition module is for R component value hj, G component value sj and the B component value vj of the some i that obtains extraction;
Distance calculation module is used for according to formula Calculate the i point to the distance of user's selected element j; Calculate one by one each extraction point to the distance of user's selected element j;
The root-mean-square value computing module is used for according to the distance of calculating, and calculates the root-mean-square value of N point, and computing formula is
Figure 768608DEST_PATH_IMAGE002
).
8. the system of the method for mobile terminal quick-setting wallpaper according to claim 7, is characterized in that, described acquisition module comprises:
The root-mean-square value acquisition module is for the root-mean-square value that obtains all wallpaper picture extraction point;
Relatively order module, be used for relatively each root-mean-square value, and sort from small to large;
Display module is used for 1~3 wallpaper Image Display that root-mean-square value is less and selects for the user in list.
CN201310060557.XA 2013-02-27 2013-02-27 A kind of method and system of mobile terminal quick-setting wallpaper Expired - Fee Related CN103150182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310060557.XA CN103150182B (en) 2013-02-27 2013-02-27 A kind of method and system of mobile terminal quick-setting wallpaper

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310060557.XA CN103150182B (en) 2013-02-27 2013-02-27 A kind of method and system of mobile terminal quick-setting wallpaper

Publications (2)

Publication Number Publication Date
CN103150182A true CN103150182A (en) 2013-06-12
CN103150182B CN103150182B (en) 2016-01-20

Family

ID=48548283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310060557.XA Expired - Fee Related CN103150182B (en) 2013-02-27 2013-02-27 A kind of method and system of mobile terminal quick-setting wallpaper

Country Status (1)

Country Link
CN (1) CN103150182B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389897A (en) * 2013-07-17 2013-11-13 深圳市欧珀通信软件有限公司 Desktop wallpaper setting method and desktop wallpaper setting device
CN106896995A (en) * 2015-12-21 2017-06-27 腾讯科技(深圳)有限公司 The wallpaper collocation method and device of mobile terminal
CN109144641A (en) * 2018-08-14 2019-01-04 四川虹美智能科技有限公司 A kind of method and device showing image by refrigerator display screen

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071771A1 (en) * 2003-09-30 2005-03-31 Kabushiki Kaisha Toshiba Menu displaying method and communication apparatus
CN1901717A (en) * 2005-07-22 2007-01-24 三星电子株式会社 Method and device for setting basic display screen in mobile terminal
CN101702098A (en) * 2009-11-18 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Terminal and method and system for automatically switching terminal wallpaper
US20100169841A1 (en) * 2008-12-30 2010-07-01 T-Mobile Usa, Inc. Handwriting manipulation for conducting a search over multiple databases
CN102521258A (en) * 2011-11-18 2012-06-27 百度在线网络技术(北京)有限公司 Method and device for providing wallpaper picture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050071771A1 (en) * 2003-09-30 2005-03-31 Kabushiki Kaisha Toshiba Menu displaying method and communication apparatus
CN1901717A (en) * 2005-07-22 2007-01-24 三星电子株式会社 Method and device for setting basic display screen in mobile terminal
US20100169841A1 (en) * 2008-12-30 2010-07-01 T-Mobile Usa, Inc. Handwriting manipulation for conducting a search over multiple databases
CN101702098A (en) * 2009-11-18 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Terminal and method and system for automatically switching terminal wallpaper
CN102521258A (en) * 2011-11-18 2012-06-27 百度在线网络技术(北京)有限公司 Method and device for providing wallpaper picture

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389897A (en) * 2013-07-17 2013-11-13 深圳市欧珀通信软件有限公司 Desktop wallpaper setting method and desktop wallpaper setting device
CN106896995A (en) * 2015-12-21 2017-06-27 腾讯科技(深圳)有限公司 The wallpaper collocation method and device of mobile terminal
CN109144641A (en) * 2018-08-14 2019-01-04 四川虹美智能科技有限公司 A kind of method and device showing image by refrigerator display screen

Also Published As

Publication number Publication date
CN103150182B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
WO2015043512A1 (en) Picture management method and device
KR102454196B1 (en) Method for controlling display and electronic device supporting the same
CN101833542B (en) Method and device for rendering fonts of user interface
US11182397B2 (en) Automated highest priority ordering of content items stored on a device
EP2461549A1 (en) Mobile phone internet flow counting and displaying method, device, and mobile phone
CN104216976A (en) Method and system for viewing pictures of mobile terminal by groups
CN104010124A (en) Method and device for displaying filter effect, and mobile terminal
WO2015096588A1 (en) Method and device for switching display pages
US20160316151A1 (en) Filter realization method and apparatus of camera application
US20150019532A1 (en) Image searching scheme
EP2874054A1 (en) Application text adjusting method, device, and terminal
CN105898085A (en) Harassment communication account identification method and device
CN103076954B (en) The method of adjustment display effect and device
CN106296760A (en) The method of cutting out of picture and device
JP2014501407A5 (en)
CN106911937B (en) The configuration method and system of present banner background colour in a kind of live streaming
CN105898561B (en) A kind of method of video image processing and device
CN104484486A (en) Information recommending method and electronic device
WO2015063551A1 (en) Method and apparatus for filtering pictures
CN104182419A (en) Method and device for processing character information in picture
CN103150182A (en) Mobile terminal wallpaper quick-setup method and system
CN102222095B (en) Equipment for converting webpage to be displayed and method thereof
CN108932703B (en) Picture processing method, picture processing device and terminal equipment
CN102970410B (en) Terminal and display method for contact names
CN113220752A (en) Display method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160120