CN106066798B - A kind of clock personalization indication dial plate equipment and its implementation - Google Patents

A kind of clock personalization indication dial plate equipment and its implementation Download PDF

Info

Publication number
CN106066798B
CN106066798B CN201610391653.6A CN201610391653A CN106066798B CN 106066798 B CN106066798 B CN 106066798B CN 201610391653 A CN201610391653 A CN 201610391653A CN 106066798 B CN106066798 B CN 106066798B
Authority
CN
China
Prior art keywords
hand
area
indicator
instruction
annulus
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.)
Active
Application number
CN201610391653.6A
Other languages
Chinese (zh)
Other versions
CN106066798A (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.)
Kusai Communication Technology Co ltd
Original Assignee
Shenzhen Prize 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 Shenzhen Prize Technology Co Ltd filed Critical Shenzhen Prize Technology Co Ltd
Priority to CN201610391653.6A priority Critical patent/CN106066798B/en
Publication of CN106066798A publication Critical patent/CN106066798A/en
Application granted granted Critical
Publication of CN106066798B publication Critical patent/CN106066798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention discloses a kind of time control and its implementation, the second hand area of the time control is in the annulus being arranged concentrically with hour hands minute hand area on the whole, the annulus is made of a plurality of evenly spaced indicator, all indicators being arranged radially along annulus, and the interior extended line of all indicators intersects on the central point of annulus;The second hand area further includes second hand instruction area, indicator length in second hand instruction area is longer than the indicator length in other regions in second hand area, the part that indicator in second hand instruction area is grown is between hour hands minute hand area and second hand area, and position of the second hand instruction area on annulus changes together with the revolution of cursor type second hand;Due to using position in second hand area area can be indicated with the second hand that the revolution of cursor type second hand changes together, second hand instruction Qu Yehui enhances the significant degree of second hand, improves user experience with deviating together while vernier revolves, not only beautiful not lose again accurate, and occupying system resources are less.

Description

A kind of clock personalization indication dial plate equipment and its implementation
Technical field
The present invention relates to the computer software fields more particularly to a kind of completely new user experience used in mobile device Clock personalization indication dial plate control.
Background technique
Nowadays it under the smaller and smaller main trend of mobile device functionality otherness, is optimized around details to reach and improve The trial of user experience is just particularly important.It is shown for the current time of current clock application in a mobile device, often See be show user simply by the form of digital dock, though concise show slightly dull simultaneously;And by intending object shape Time is had the effect of that Watch dail plate appearance in kind shows user by formula, is dazzled beautiful animation effect, more energy band is to use A kind of fresh and new experience sense in family;In addition, single self-defined control, additionally it is possible to compatible with various screen resolutions Adaptation issues.
Therefore, the prior art still has much room for improvement and develops.
Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of clock personalization indication dial plate control, second hand can be enhanced Significant degree improves user experience.
Meanwhile the present invention also provides a kind of clock personalization indication dial plate control implementation method, occupying system resources are less.
Technical scheme is as follows: a kind of clock personalization indication dial plate control is for show mobile device Unite current time, including hour hands, minute hand, second hand, hour hands minute hand area and second hand area, and second hand is in the form of vernier, hour hands and minute hand Crosspoint be cursor type second hand revolution rotation center, in which: the second hand area is in concentric with hour hands minute hand area on the whole The annulus being arranged, the annulus are made of a plurality of evenly spaced indicator, all indicators being arranged radially along annulus, and The interior extended line of all indicators intersects on the central point of annulus;The second hand area further includes second hand instruction area, the second Indicator length in needle instruction area is longer than the indicator length in other regions in second hand area, and second hand indicates the indicator in area The part grown is between hour hands minute hand area and second hand area, and position of the second hand instruction area on annulus is with cursor type second hand Revolution change together.
The time control, in which: the length of indicator is arranged in normal distribution curve in second hand instruction area, and The smooth transition of indicator length in second hand instruction area is realized according to 3 σ criterion under normal distribution.
The clock personalization indication dial plate control, in which: the color of adjacent indicator becomes in second hand instruction area Law changes in normal distribution formula, and second hand indicates the color of other indicators of the color Yu second hand area of indicator of area two edges Closest, second hand indicates that the color of the indicator in area center is most deep.
The clock personalization indication dial plate control, in which: the shape of the second hand is a water-drop-shaped, the point of water-drop-shaped End is arranged outwardly always during second hand revolution.
The clock personalization indication dial plate control, in which: hour hands minute hand area be set as a center of circle hour hands with Circular solids line on the crosspoint of minute hand, part disconnects at four positions up and down of circular solids line, is respectively arranged with 12,6,9 and 3 Arabic numerals.
A kind of implementation method of clock personalization indication dial plate control, the normal distribution curveProbability of the numeric distribution in (+3 σ of μ -3 σ, μ) is 0.9974, water-drop-shaped cursor type The tip of second hand is fallen on the interior extended line of longest indicator, if stochastic variable x one mathematic expectaion of obedience is μ, variance σ The Gaussian Profile of ^2 is denoted as N (μ, σ ^2), and probability density function is that the desired value μ of normal distribution determines its position, is marked Quasi- difference σ determines the amplitude of distribution, and the result of f (x) is zero when x value exceeds this section, and parameter μ in second hand instruction area by indicating The number of needle determines.
A kind of implementation method of clock personalization indication dial plate control, first according to int mSecondCenter= Math.round (mSecondAngle)/2*2 calculates the center in second hand instruction area, further according to int MStartAngleNum=mSecondCenter- (SECOND_COUNT-1) calculates the initial position in second hand instruction area, finally It is converted by (mStartAngleNum+i) %360;Wherein, mSecondCenter refers to the center in second hand instruction area Position, Math.round refer to that the function to round up, mSecondAngle refer to that second hand indicates 151 center pair of area The angle value answered, SECOND_COUNT are that second hand indicates that the indicator in area is total, and mStartAngleNum refers to that second hand refers to Show the initial position in area, i represents the indicator number in second hand instruction area.
A kind of implementation method of clock personalization indication dial plate control, water-drop-shaped second hand are a bitmap picture, are being drawn Angle value corresponding to Rotate Canvas to second hand instruction area's instructions of the Central Committee needle before making, after having drawn water-drop-shaped second hand, by painting canvas Restore to front position.
A kind of clock personalization indication dial plate control provided by the present invention and its implementation, due to being used in second hand area Position can indicate area with the second hand that the revolution of cursor type second hand changes together, while vernier revolves second hand instruction Qu Yehui with Deviate together, enhance the significant degree of second hand, improve user experience, it is not only beautiful not lose again precisely, and occupy system and provide Source is less.
Detailed description of the invention
Fig. 1 is the effect picture of time control of the invention.
Specific embodiment
Below with reference to attached drawing, a specific embodiment of the invention and embodiment are described in detail, described tool Body embodiment only to explain the present invention, is not intended to limit a specific embodiment of the invention.
As shown in Figure 1, Fig. 1 is the effect picture of time control of the invention, which is be inherited from View customized Control is a kind of clock personalization indication dial plate control, to show the current time in system of mobile device, when getting system Between change after, according to the numerical value of Hour Minute Second, calculate rotation angle value corresponding thereto, then according to the design needs, draw The position of hour hands, minute hand and second hand out, to solve Hour Minute Second in the present system time of mobile device and the dial plate of time control Show the consistency of result.
Clock personalization indication dial plate control of the invention, including hour hands 110, minute hand 120, second hand 130, hour hands minute hand area 140 and second hand area 150, for second hand 130 in the form of vernier, the crosspoint of hour hands 110 and minute hand 120 is that cursor type second hand 130 is public The rotation center turned, it is preferable that the shape of cursor type second hand 130 is a water-drop-shaped, and the tip of water-drop-shaped cursor type second hand 130 exists It is arranged outwardly always in its process of revolution;Hour hands minute hand area 140 is set as a center of circle in the crosspoint of hour hands 110 and minute hand 120 On circular solids line, part disconnects at four positions up and down of circular solids line, be respectively arranged with 12,6,9 and 3 Ah Arabic numbers;Second hand area 150 is on the whole in the annulus being arranged concentrically with hour hands minute hand area 140, and the annulus is by a plurality of interval Uniform indicator composition, all indicators being arranged radially along annulus, and the interior extended line of all indicators intersects at On the central point of annulus.
In the preferred embodiment of time control of the invention, second hand area 150 includes that a second hand indicates area 151, the second hand Indicate that the indicator length in area 151 is longer than the indicator length in other regions second hand area 150 Nei, second hand indicates in area 151 The part that grows of indicator be located between hour hands minute hand area 140 and second hand area 150, and second hand instruction area 151 is on annulus Position change together with the revolution of cursor type second hand 130, thus second hand instruction area 151 can with water-drop-shaped cursor type second hand 130 It deviates together, while the indicator length in second hand instruction area 151 also smoothly does corresponding adjustment, has been always ensured that Deictic Center The indicated number in region is consistent with practical second number, beautiful accurate without losing.
When calculating the position in second hand instruction area 151, the centre bit that second hand indicates area 151 is calculated by formula one first It sets:
One: int mSecondCenter=Math.round of formula (mSecondAngle)/2*2;
In formula one, mSecondCenter refers to the center in second hand instruction area 151, and Math.round is referred to The function to round up, mSecondAngle refer to the corresponding angle value in second hand instruction 151 center of area;
Then, the center that area 151 is indicated according to second hand calculates the starting that second hand indicates area 151 by formula two Position:
Two: int mStartAngleNum=mSecondCenter- of formula (SECOND_COUNT-1);
In formula two, mStartAngleNum refers to the initial position in second hand instruction area 151, and mSecondCenter refers to Be second hand instruction area 151 center, SECOND_COUNT be second hand indicate area 151 in indicator sum;
It obtains the initial position in second hand instruction area 151 and then is converted by formula three:
Formula three: (mStartAngleNum+i) %360;
In formula three, mStartAngleNum refers to the initial position in second hand instruction area 151, thus can determine in i The drafting position in area 151 is indicated second hand when taking [0, SECOND_COUNT].
Preferably, the length arrangement of indicator is in normal distribution curve, and water-drop-shaped cursor type second in second hand instruction area 151 The tip of needle 130 is fallen on the interior extended line of longest indicator, and formula is fourth is that normal distribution formula:
Formula four:
Normal distribution (Normal distribution) also known as Gaussian Profile (Gaussian distribution), if with Machine variable x obey a mathematic expectaion be μ, the Gaussian Profile that variance is σ ^2, be denoted as N (μ, σ ^2), probability density function is The desired value μ of normal distribution determines its position, and standard deviation sigma determines the amplitude of distribution.
According to 3 σ criterion under normal distribution, probability of the numeric distribution in (+3 σ of μ -3 σ, μ) is 0.9974, then x value When beyond this section, the result of f (x) is zero, and time control of the invention is based on this mathematical principle to realize that second hand indicates The smooth transition of indicator length in area 151, parameter μ therein are determined by the number of indicator in second hand instruction area 151.
For example, μ=n, σ are then needed to be calculated according to indicator number and be got when there is (2n+1) a indicator, it is with n=10 Example, i.e., be each side distributed with 10 indicators, in addition the tip of water-drop-shaped cursor type second hand 130 at cursor type second hand 130 An indicator being aligned, second hand indicate 151 a total of 21, area indicator, have 3 σ≤10 according to 3 σ criterion, obtain σ= 10/3, the part of normal distribution formula is taken here, and the normal distribution on the section [0,2 μ+1], and calculated result model can be obtained It is trapped among between [0,1].
Accordingly, the color change rule of adjacent indicator changes in normal distribution formula in second hand instruction area 151, and second hand refers to Show that the color of the color and 150 other indicators of second hand area of the indicator of 151 two edges of area is closest, second hand indicates area 151 The color of central (i.e. 130 tip of water-drop-shaped cursor type second hand is aligned) indicator is most deep;This color change can cooperate above-mentioned Second hand indicates the variation of indicator length in area 151 and changes, and can also individually implement.
Water-drop-shaped cursor type second hand 130, an actually bitmap picture, Rotate Canvas indicates area to second hand before drafting Angle value corresponding to 151 instructions of the Central Committee needles, after having drawn water-drop-shaped cursor type second hand 130, by painting canvas restore to anteposition It sets.
It should be understood that the foregoing is merely illustrative of the preferred embodiments of the present invention, it is not sufficient to limit of the invention Technical solution within the spirit and principles in the present invention, can add according to the above description for those of ordinary skills With increase and decrease, replacement, transformation or improvement, such as time control of the invention and its implementation be used for smart phone, intelligent hand Table, tablet computer, laptop etc., and all these increases and decreases, replacement, transformation or improved technical solution, all should belong to The protection scope of appended claims of the present invention.

Claims (6)

1. a kind of clock personalization indication dial plate equipment, for showing the current time in system of mobile device, including hour hands, point Needle, second hand, hour hands minute hand area and second hand area, for second hand in the form of vernier, the crosspoint of hour hands and minute hand is that cursor type second hand is public The rotation center turned, it is characterised in that: the second hand area is in the annulus being arranged concentrically with hour hands minute hand area, the circle on the whole Ring is made of a plurality of evenly spaced indicator, all indicators being arranged radially along annulus, and the interior of all indicators prolongs Long line intersects on the central point of annulus;The second hand area further includes second hand instruction area, which indicates the instruction in area Needle length is longer than the indicator length in other regions in second hand area, and second hand indicates that the length of indicator in area is bent in normal distribution Line arrangement, and realize that second hand indicates the smooth transition of indicator length in area, second hand instruction according to 3 σ criterion under normal distribution The part that indicator in area is grown is between hour hands minute hand area and second hand area, and position of the second hand instruction area on annulus Change together with the revolution of cursor type second hand;First according to int mSecondCenter=Math.round (mSecondAngle)/ 2*2 calculates the center in second hand instruction area, further according to int mStartAngleNum=mSecondCenter- (SECOND_COUNT-1) calculate second hand instruction area initial position, finally by (mStartAngleNum+i) %360 into Row conversion;Wherein, mSecondCenter refers to the center in second hand instruction area, and Math.round refers to rounding up Function, mSecondAngle refers to that the corresponding angle value in second hand instruction district center position, SECOND_COUNT refer to for second hand Show that the indicator sum in area, mStartAngleNum refer to the initial position in second hand instruction area, i is represented in second hand instruction area Indicator number.
2. clock personalization indication dial plate equipment according to claim 1, it is characterised in that: phase in second hand instruction area The color change rule of adjacent indicator changes in normal distribution formula, and second hand indicates color and the second hand area of the indicator of area two edges The color of other indicators is closest, and second hand indicates that the color of the indicator in area center is most deep.
3. clock personalization indication dial plate equipment according to claim 1, it is characterised in that: the shape of the second hand is one The tip of water-drop-shaped, water-drop-shaped is arranged outwardly always during second hand revolves.
4. clock personalization indication dial plate equipment according to claim 1, it is characterised in that: the setting of hour hands minute hand area For circular solids line of the center of circle on the crosspoint of hour hands and minute hand, part at four positions up and down of circular solids line It disconnects, is respectively arranged with 12,6,9 and 3 Arabic numerals.
5. a kind of implementation method of clock personalization indication dial plate equipment as claimed in claim 3, it is characterised in that: it is described just State distribution curveProbability of the numeric distribution in (+3 σ of μ -3 σ, μ) is 0.9974, The tip of water-drop-shaped cursor type second hand is fallen on the interior extended line of longest indicator, if stochastic variable x obeys a several term Hope to be μ, the Gaussian Profile that variance is σ ^2, be denoted as N (μ, σ ^2), probability density function is that the desired value μ of normal distribution is determined Its position, standard deviation sigma determine the amplitude of distribution, and the result of f (x) is zero when x value goes out this section, and parameter μ is by second hand Indicate that the number of indicator in area determines.
6. a kind of implementation method of clock personalization indication dial plate equipment as claimed in claim 3, it is characterised in that: water-drop-shaped Second hand is a bitmap picture, the angle value corresponding to Rotate Canvas to second hand instruction area's instructions of the Central Committee needle before drafting, After having drawn water-drop-shaped second hand, by painting canvas restore to front position.
CN201610391653.6A 2016-06-06 2016-06-06 A kind of clock personalization indication dial plate equipment and its implementation Active CN106066798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610391653.6A CN106066798B (en) 2016-06-06 2016-06-06 A kind of clock personalization indication dial plate equipment and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610391653.6A CN106066798B (en) 2016-06-06 2016-06-06 A kind of clock personalization indication dial plate equipment and its implementation

Publications (2)

Publication Number Publication Date
CN106066798A CN106066798A (en) 2016-11-02
CN106066798B true CN106066798B (en) 2019-10-18

Family

ID=57421035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610391653.6A Active CN106066798B (en) 2016-06-06 2016-06-06 A kind of clock personalization indication dial plate equipment and its implementation

Country Status (1)

Country Link
CN (1) CN106066798B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107980121A (en) * 2017-03-20 2018-05-01 深圳大趋智能科技有限公司 Circular self-defined control performs the method and device of animation
CN110825292B (en) * 2019-10-30 2023-09-26 广州华多网络科技有限公司 Character information display method and device, storage medium and control terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6198698B1 (en) * 1999-07-08 2001-03-06 Anthony Graves Illuminating, visual, time indicating device
JP2001147282A (en) * 1999-11-22 2001-05-29 Bazu Corporation:Kk Time indicator
CN1745346A (en) * 2003-01-25 2006-03-08 戴维·威格利 Time display apparatus
CN1811899A (en) * 2004-12-28 2006-08-02 索尼爱立信移动通信日本株式会社 Display method, portable terminal device, and display program
CN102830613A (en) * 2012-09-05 2012-12-19 飞亚达(集团)股份有限公司 Electronic clock second hand
CN105279229A (en) * 2015-09-15 2016-01-27 青岛海信移动通信技术股份有限公司 Method for mobile terminal to identify clock time, and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7136327B2 (en) * 2004-08-31 2006-11-14 Silver Lining Multimedia, Inc Teaching hands for an analog timepiece

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6198698B1 (en) * 1999-07-08 2001-03-06 Anthony Graves Illuminating, visual, time indicating device
JP2001147282A (en) * 1999-11-22 2001-05-29 Bazu Corporation:Kk Time indicator
CN1745346A (en) * 2003-01-25 2006-03-08 戴维·威格利 Time display apparatus
CN1811899A (en) * 2004-12-28 2006-08-02 索尼爱立信移动通信日本株式会社 Display method, portable terminal device, and display program
CN102830613A (en) * 2012-09-05 2012-12-19 飞亚达(集团)股份有限公司 Electronic clock second hand
CN105279229A (en) * 2015-09-15 2016-01-27 青岛海信移动通信技术股份有限公司 Method for mobile terminal to identify clock time, and mobile terminal

Also Published As

Publication number Publication date
CN106066798A (en) 2016-11-02

Similar Documents

Publication Publication Date Title
CN106066798B (en) A kind of clock personalization indication dial plate equipment and its implementation
CN104298351A (en) Information processing method and wearable electronic device
CN105278953B (en) The interface display method and device of circular screen
US20100225636A1 (en) Display device and display method thereof
CN207867232U (en) A kind of Watchcase can magnetic float the two-way watch structure turn-taked
CN205539959U (en) Blind table
WO2019057095A1 (en) Method for no-screen touch-control of smart watch
US10470535B2 (en) Device for tracking menstrual cycle
CN105070437A (en) Rotary knob structure for rotational potentiometer
CN205199010U (en) Flash vessel
CN208768270U (en) A kind of earphone tuning structure
USD847185S1 (en) Display screen with graphical user interface
CN214623328U (en) Rotary interactive intelligent watch
DE202015007631U1 (en) Monthly calendar for analog clocks
CN204925632U (en) Dynamic display clock
CN205787620U (en) A kind of movement regulation wheel being easy to stir
CN204813639U (en) Novel clean face appearance
CN104317509A (en) Rotary table type keyboard interface layout and operation control method thereof
CN208569311U (en) A kind of clock and watch with the double-deck dial plate
CN205371076U (en) Elasticity fan leaf
CN204967943U (en) Cell phone and side key thereof
CN207651122U (en) A kind of Art Design font adjusting apparatus
CN217351434U (en) Memory alloy film and thin wire with automatic regulation and control functions
CN105068399A (en) Dynamic display clock
CN207776461U (en) One kind is built by laying bricks or stones with size adjustable marked rod

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
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: 518000 17th Floor, Block A, Financial Science and Technology Building, 11 Keyuan Road, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen KUSAI Communication Technology Co.,Ltd.

Address before: 518000 17th Floor, Block A, Financial Science and Technology Building, 11 Keyuan Road, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN PRIZE INTELLIGENT TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Patentee after: Kusai Communication Technology Co.,Ltd.

Address before: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Patentee before: Kusai Communication Technology Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000 901, building 1, jinlitong financial center building, No. 1100, Xingye Road, Haiwang community, Xin'an street, Bao'an District, Shenzhen, Guangdong Province

Patentee after: Kusai Communication Technology Co.,Ltd.

Address before: 518000 17th Floor, Block A, Financial Science and Technology Building, 11 Keyuan Road, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen KUSAI Communication Technology Co.,Ltd.