CN106066798A - A kind of time control and its implementation - Google Patents

A kind of time control and its implementation Download PDF

Info

Publication number
CN106066798A
CN106066798A CN201610391653.6A CN201610391653A CN106066798A CN 106066798 A CN106066798 A CN 106066798A CN 201610391653 A CN201610391653 A CN 201610391653A CN 106066798 A CN106066798 A CN 106066798A
Authority
CN
China
Prior art keywords
hand
district
instruction
pin
time control
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
CN201610391653.6A
Other languages
Chinese (zh)
Other versions
CN106066798B (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

Landscapes

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

Abstract

The invention discloses a kind of time control and its implementation, the second hand district of this time control is on the whole in the annulus being arranged concentrically with hour hands minute hand district, this annulus is made up of a plurality of evenly spaced instruction pin, all instruction pin all being radially arranged along annulus, and the interior extended line of all instruction pins all intersects on the central point of annulus;Described second hand district also includes a second hand instruction district, instruction pin length in this second hand instruction district is all longer than the instruction pin length in other regions in second hand district, the part that instruction pin in second hand instruction district grows is between hour hands minute hand district and second hand district, and this second hand instruction position on annulus, the district together changes with the revolution of cursor type second hand;Owing to have employed the second hand instruction district that position together can change with the revolution of cursor type second hand in second hand district, while vernier revolution, second hand instruction district is as well as offseting together, enhances the significant degree of second hand, improves Consumer's Experience sense, the most attractive in appearance but not consumption of essence accurate, and occupying system resources is less.

Description

A kind of time control and its implementation
Technical field
The present invention relates to the computer software fields used by mobile device, in particular a kind of brand-new Consumer's Experience sense Time control.
Background technology
Nowadays, under the main trend that mobile device functionality diversity is the least, it is optimized to reach to improve around details The trial of Consumer's Experience is just particularly important.Show, often for current clock application current time in a mobile device See is to show user simply by the form of digital dock, though concisely but show slightly dull simultaneously;And by intending thing shape Formula, by the time to have the effect plays of Watch dail plate outward appearance in kind to user, is dazzled beautiful animation effect, more can be brought use A kind of fresh and new experience sense in family;Additionally, single self-defined control, additionally it is possible to compatible with various screen resolutions Adaptation issues.
Therefore, prior art still haves much room for improvement and develops.
Summary of the invention
For solving above-mentioned technical problem, the present invention provides a kind of time control, can strengthen the significant degree of second hand, improves user Experience sense.
Meanwhile, the present invention also provides for a kind of time control implementation method, and occupying system resources is less.
Technical scheme is as follows: a kind of time control, including hour hands, minute hand, second hand, hour hands minute hand district and second hand District, second hand is the form of vernier, and hour hands are the center of rotation that cursor type second hand revolves round the sun with the cross point of minute hand, wherein: the described second Pin district is on the whole in the annulus being arranged concentrically with hour hands minute hand district, and this annulus is made up of a plurality of evenly spaced instruction pin, All instruction pin all being radially arranged along annulus, and the interior extended line of all instruction pins all intersects on the central point of annulus;Institute Stating second hand district and also include a second hand instruction district, the instruction pin length in this second hand instruction district is all longer than other regions in second hand district Instruction pin length, the part that the instruction pin in second hand instruction district grows is between hour hands minute hand district and second hand district, and this second hand Instruction position on annulus, the district together changes with the revolution of cursor type second hand.
Described time control, wherein: the length indicating pin in described second hand instruction district is normal distribution curve arrangement, and Seamlessly transitting of pin length is indicated in realizing second hand instruction district according to 3 σ criterions under normal distribution.
Described time control, wherein: in described second hand instruction district, the color Changing Pattern of adjacent instruction pin is that normal state is divided Cloth changes, and the color of other instruction pins of color and second hand district of the instruction pin of second hand instruction two edges, district is closest to, second hand The color of the instruction pin of central authorities of instruction district is the deepest.
Described time control, wherein: described second hand be shaped as a water-drop-shaped, revolve round the sun at second hand in the tip of water-drop-shaped During arrange the most outwardly.
Described time control, wherein: described hour hands minute hand district is set to a center of circle on the hour hands cross point with minute hand Circular solids line, the local, four positions up and down of circular solids line disconnects, and is respectively arranged with 12,6,9 and 3 me Uncle's numeral.
A kind of implementation method of time control, described normal distribution curve, number Distribution value probability in (μ-3 σ, μ+3 σ) is 0.9974, x value beyond this time interval the result of f (x) be zero, parameter μ is by the second Pin instruction indicates the number of pin to determine in district.
The implementation method of a kind of time control, first according to int mSecondCenter=Math.round (mSecondAngle)/2 * 2 calculate second hand instruction district center, further according to int mStartAngleNum= MSecondCenter-(SECOND_COUNT-1) calculates the original position in second hand instruction district, finally by (mStartAngleNum+i) % 360 changes;Wherein, mSecondCenter refers to the centre bit in second hand instruction district Putting, Math.round refers to the function rounded up, and it is corresponding that mSecondAngle refers to second hand instruction center, district 151 Angle value, SECOND_COUNT be second hand instruction district in instruction pin sum.
The implementation method of a kind of time control, water-drop-shaped second hand is a bitmap picture, and before drafting, Rotate Canvas arrives Angle value corresponding to second hand instruction district instructions of the Central Committee pin, after having drawn water-drop-shaped second hand, recovers front position extremely by painting canvas.
A kind of time control provided by the present invention and its implementation, can be with vernier owing to have employed position in second hand district The second hand instruction district that the revolution of formula second hand together changes, while vernier revolution, second hand instruction district is as well as offseting together, increases The strong significant degree of second hand, improves Consumer's Experience sense, the most attractive in appearance but also not consumption of essence accurate, and occupying system resources is less.
Accompanying drawing explanation
Fig. 1 is the design sketch of present invention time control.
Detailed description of the invention
Below with reference to accompanying drawing, detailed description of the invention and embodiment to the present invention are described in detail, described tool Body embodiment, only in order to explain the present invention, is not intended to limit the detailed description of the invention of the present invention.
As it is shown in figure 1, Fig. 1 is the design sketch of present invention time control, this time control is be inherited from View self-defined 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 after change, according to the numerical value of Hour Minute Second, calculate rotation angle value corresponding thereto, then according to design needs, draw Go out the position of hour hands, minute hand and second hand, with Hour Minute Second in the dial plate of the present system time Yu time control that solve mobile device The concordance of display result.
The clock personalization indication dial plate control of the present invention, including hour hands 110, minute hand 120, second hand 130, hour hands minute hand district 140 and second hand district 150, the second hand 130 form in vernier, hour hands 110 and the cross point of minute hand 120 are that cursor type second hand 130 is public Turn center of rotation, it is preferable that cursor type second hand 130 be shaped as a water-drop-shaped, the tip of water-drop-shaped cursor type second hand 130 exists Its process of revolution is arranged the most outwardly;Hour hands minute hand district 140 is set to the cross point at hour hands 110 with minute hand 120, the center of circle On circular solids line, the local, four positions up and down of circular solids line disconnects, be respectively arranged with 12,6,9 and 3 Ah Arabic numbers;Second hand district 150 is on the whole in the annulus being arranged concentrically with hour hands minute hand district 140, and this annulus is by a plurality of interval Uniform instruction pin composition, all instruction pin all being radially arranged along annulus, and the interior extended line of all instruction pins all intersect at On the central point of annulus.
In the preferred implementation of present invention time control, second hand district 150 includes a second hand instruction district 151, this second hand Instruction pin length in instruction district 151 is all longer than the instruction pin length in other regions interior, second hand district 150, in second hand instruction district 151 The instruction part that grows of pin between hour hands minute hand district 140 and second hand district 150, and this second hand instruction district 151 is on annulus Position together change with the revolution of cursor type second hand 130, thus second hand instruction district 151 can with water-drop-shaped cursor type second hand 130 Offseting together, the instruction pin length in the district 151 of second hand instruction simultaneously the most smoothly does corresponding adjustment, has been always ensured that Deictic Center The indicated number in region is consistent with actual second number, attractive in appearance and not consumption of essence standard.
When calculating the position in second hand instruction district 151, first pass through formula one and calculate the centre bit in second hand instruction district 151 Put:
Formula one: int mSecondCenter=Math.round (mSecondAngle)/2 * 2;
In formula one, mSecondCenter refers to the center in second hand instruction district 151, and Math.round refers to four houses Five functions entered, mSecondAngle refers to the angle value that second hand instruction center, district 151 is corresponding;
Then, according to second hand instruction district 151 center, by formula two calculate second hand instruction district 151 original position:
Formula two: int mStartAngleNum=mSecondCenter-(SECOND_COUNT-1);
In formula two, mStartAngleNum refers to the original position in second hand instruction district 151, and mSecondCenter refers to The center in second hand instruction district 151, SECOND_COUNT is the instruction pin sum in second hand instruction district 151;
After obtaining the original position in second hand instruction district 151, then changed by formula three:
Formula three: (mStartAngleNum+i) % 360;
In formula three, mStartAngleNum refer to second hand instruction district 151 original position, the most i.e. can determine that i take [0, SECOND_COUNT] time to second hand instruction district 151 drafting position.
Preferably, in second hand instruction district 151, the length arrangement of instruction pin is normal distribution curve, and the water-drop-shaped cursor type second The tip of pin 130 falls on the interior extended line of the longest instruction pin, and formula four is normal distribution formula:
Formula four:
Normal distribution (Normal distribution) has another name called Gauss distribution (Gaussian distribution), if becoming at random The Gauss distribution that amount x one mathematic expectaion of obedience is μ, variance is σ ^2, is designated as N (μ, σ ^2), and its probability density function is normal state The expected value μ of distribution determines its position, and its standard deviation sigma determines the amplitude of distribution.
According to 3 σ criterions under normal distribution, numeric distribution probability in (μ-3 σ, μ+3 σ) is 0.9974, then x value During beyond this interval, the result of f (x) is zero, and the time control of the present invention is based on this mathematical principle to realize second hand instruction Indicating seamlessly transitting of pin length in district 151, parameter μ therein is determined by the number of instruction pin in second hand instruction district 151.
Such as, when there being (2n+1) individual instruction pin, μ=n, σ then need to calculate according to instruction pin number to get, and with n=10 are 10 instruction pins are each side distributed at example, i.e. cursor type second hand 130, add the tip of water-drop-shaped cursor type second hand 130 The instruction pin being directed at, a total of 21 the instruction pins in second hand instruction district 151, there are 3 σ≤10 according to 3 σ criterions, obtain σ=10/ 3, take the part of normal distribution formula here, i.e. can get the normal distribution on [0,2 μ+1] interval, and result of calculation scope Between [0,1].
Accordingly, in second hand instruction district 151, the color Changing Pattern of adjacent instruction pin is the change of normal distribution formula, and second hand refers to Show that the color of other instruction pins of color and second hand district 150 of the instruction pin of two edges, district 151 is closest to, second hand instruction district 151 The color of central authorities' (i.e. water-drop-shaped cursor type second hand 130 tip is directed at) instruction pin is the deepest;The change of this color can coordinate above-mentioned The change of pin length is indicated to change in second hand instruction district 151, it is possible to individually to implement.
Water-drop-shaped cursor type second hand 130, actually a bitmap picture, before drafting, Rotate Canvas indicates district to second hand Angle value corresponding to 151 instructions of the Central Committee pins, after having drawn water-drop-shaped cursor type second hand 130, recovers anteposition extremely by painting canvas Put.
It should be appreciated that the foregoing is only presently preferred embodiments of the present invention, it is not sufficient to limit the present invention's Technical scheme, for those of ordinary skills, within the spirit and principles in the present invention, can add according to the above description To increase and decrease, replace, convert or to improve, such as, time control and its implementation of the present invention are used for smart mobile phone, intelligence hands Table, panel computer, notebook computer etc., and all these increase and decrease, replace, convert or improve after technical scheme, all should belong to The protection domain of claims of the present invention.

Claims (8)

1. a time control, including hour hands, minute hand, second hand, hour hands minute hand district and second hand district, second hand is the form of vernier, time The cross point of pin and minute hand is the center of rotation of cursor type second hand revolution, it is characterised in that: described second hand district on the whole in The annulus that hour hands minute hand district is arranged concentrically, this annulus is made up of a plurality of evenly spaced instruction pin, and all instruction pins are all along circle Being radially arranged of ring, and the interior extended line of all instruction pins all intersects on the central point of annulus;Described second hand district also includes one Second hand instruction district, the instruction pin length in this second hand instruction district is all longer than the instruction pin length in other regions, second hand in second hand district The part that instruction pin in instruction district grows is between hour hands minute hand district and second hand district, and this second hand instruction district is on annulus Position together changes with the revolution of cursor type second hand.
Time control the most according to claim 1, it is characterised in that: the instruction of described second hand indicates the length of pin in just in district State distribution curve arranges, and realizes indicating seamlessly transitting of pin length in second hand indicates district according to 3 σ criterions under normal distribution.
Time control the most according to claim 1, it is characterised in that: the color of adjacent instruction pin in described second hand instruction district Changing Pattern is the change of normal distribution formula, the face of other instruction pins of color and second hand district of the instruction pin of second hand instruction two edges, district Color is the deepest closest to the color of the instruction pin of central authorities of, second hand instruction district.
Time control the most according to claim 1, it is characterised in that: described second hand be shaped as a water-drop-shaped, water-drop-shaped Tip second hand revolve round the sun during arrange the most outwardly.
Time control the most according to claim 1, it is characterised in that: described hour hands minute hand district is set to a center of circle at hour hands With the circular solids line on the cross point of minute hand, the local, four positions up and down of circular solids line disconnects, and is respectively provided with There are the Arabic numerals of 12,6,9 and 3.
6. the implementation method of a time control as claimed in claim 2, it is characterised in that: described normal distribution curve, numeric distribution probability in (μ-3 σ, μ+3 σ) is 0.9974, and x value exceeds this district Between time f (x) result be zero, parameter μ by second hand instruction district in indicate the number of pin to determine.
7. the implementation method of a time control as claimed in claim 2, it is characterised in that: first according to int MSecondCenter=Math.round (mSecondAngle)/2 * 2 calculates the center in second hand instruction district, then Second hand instruction district is calculated according to int mStartAngleNum=mSecondCenter-(SECOND_COUNT-1) Original position, changes finally by (mStartAngleNum+i) % 360;Wherein, mSecondCenter refers to The center in second hand instruction district, Math.round refers to the function rounded up, and mSecondAngle refers to second hand and refers to Showing the angle value that center, district 151 is corresponding, SECOND_COUNT is the instruction pin sum in second hand instruction district.
8. the implementation method of a time control as claimed in claim 4, it is characterised in that: water-drop-shaped second hand is one Bitmap picture, before drafting, Rotate Canvas is to the angle value corresponding to second hand instruction district instructions of the Central Committee pin, is drawing water droplet After shape second hand, painting canvas is recovered front position extremely.
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 true CN106066798A (en) 2016-11-02
CN106066798B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018170654A1 (en) * 2017-03-20 2018-09-27 深圳大趋智能科技有限公司 Method and apparatus for executing animation by means of circular custom control
CN110825292A (en) * 2019-10-30 2020-02-21 广州华多网络科技有限公司 Character information display method and device, storage medium and control terminal

Citations (7)

* 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
US20060044945A1 (en) * 2004-08-31 2006-03-02 Silver Lining Multimedia, Inc. Teaching Hands for an Analog Timepiece
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

Patent Citations (7)

* 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
US20060044945A1 (en) * 2004-08-31 2006-03-02 Silver Lining Multimedia, Inc. Teaching Hands for an Analog Timepiece
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018170654A1 (en) * 2017-03-20 2018-09-27 深圳大趋智能科技有限公司 Method and apparatus for executing animation by means of circular custom control
CN110825292A (en) * 2019-10-30 2020-02-21 广州华多网络科技有限公司 Character information display method and device, storage medium and control terminal
CN110825292B (en) * 2019-10-30 2023-09-26 广州华多网络科技有限公司 Character information display method and device, storage medium and control terminal

Also Published As

Publication number Publication date
CN106066798B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US9354613B2 (en) Proportional hour time display
CN106066798A (en) A kind of time control and its implementation
CA202612S (en) Display screen with animated graphical user interface
CN105278953B (en) The interface display method and device of circular screen
CN104298351A (en) Information processing method and wearable electronic device
CN203299524U (en) Magnetic indication watch
CN103543885B (en) The multimedia spherical screen demonstration instrument of multi-point touch and multi-touch method thereof
CN207123713U (en) A kind of high life multi-function watch with protective action
Liu et al. Adoption of Chinese ink painting elements in modern poster design inspired by innovation research on physical and chemical reactions
CN107967390A (en) A kind of any secondary Bezier curve design method based on monotone curvature variation
CN105653124B (en) Person's handwriting effect simulation method and device
CN205827103U (en) A kind of multi-direction spinfunction type wrist-watch
CN206802021U (en) A kind of buckle card slot type rotating device
CN207992698U (en) A kind of Tai Ji clock
CN104317509A (en) Rotary table type keyboard interface layout and operation control method thereof
CN108241462A (en) Picture drawing device and its control method and recording medium
CN205899251U (en) Phases of moon wrist -watch
CN203275885U (en) Watch with pointers invisible on surface
CN108898631A (en) A kind of interest regional selection method, device, equipment and storage medium
CN108211337A (en) A kind of New Ring magic square
CN108614411A (en) A kind of spiral cover smartwatch
JP7467020B1 (en) Analog clock, time display method, and time display program
CN101286039B (en) Timepiece with a turning bezel
CN203300086U (en) Demonstration device for calculating and numeral reading
Joshi et al. New Julia and Mandelbrot Sets for Jungck Ishikawa Iterates

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

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.

CP01 Change in the name or title of a patent holder
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.

CP03 Change of name, title or address