A kind of content display method of smartwatch, device and smartwatch
Technical field
The invention belongs to Wearable technical field more particularly to a kind of content display method of smartwatch, devices
And smartwatch.
Background technology
Smartwatch a great variety currently on the market, but since the structure space of smartwatch limits, smartwatch
Battery volume all can be smaller, also all smaller so as to cause the battery capacity of smartwatch, some of them with display screen and
The smartwatch stand-by time of some sophisticated functions is all shorter, when cell voltage is reduced to the shutdown voltage of wrist-watch built-in system
When under (general 3.3-3.4V), smartwatch can automatic shutdown.At this point, the function most basic as smartwatch is (when instruction
Between function) can not also use, this be also the reason of conventional wristwatch of current quartz cassette is difficult to be replaced by smartwatch it
One.
In order to solve this problem, individual smartwatch enterprises propose double MCU (Microcontroller Unit, contracting
Be written as MCU) solution, wherein MCU (main MCU) is for running wrist-watch operating system, to realize each of smartwatch
Kind function, for example, clock display, movement meter step, the MCU (from MCU) of another extremely low power dissipation is for driving conventional quartz movement
(the 2 needle quartz cassettes for all refering in particular to only hour hands and minute hand here and below), the pointer of traditional machine core passes through to be set among display screen
The perforation set just rotates on a display screen.Such Double MCU system design has the advantage that:When wrist-watch electricity not enough leads to hand
When table shuts down, although the display screen of smartwatch does not work, the pointer of conventional quartz movement can also be in remaining battery power
Driving under run long time.
However, the solution of double MCU solve electricity it is low when time display problem while, and give smartwatch introduce
New problem, when smartwatch battery capacity is higher than shutdown voltage, display screen is normally shown, and the pointer above display screen
Also can normal rotation reduce making for smartwatch user at this point, pointer can then block the portions of display content that display screen is shown
With experience.
Invention content
The purpose of the present invention is to provide a kind of content display method of smartwatch, device and smartwatch, it is intended to solve
Certainly due to existing the problem of smartwatch poor display effect with quartz cassette.
On the one hand, the present invention provides a kind of content display method of smartwatch, the method includes following step:
When the content for receiving smartwatch shows request, quartz cassette hour hands and minute hand in the smartwatch are calculated
Current location;
It obtains the smartwatch and shows that outer perimeter, clock and the width of minute, clock and the maximum of minute of screen hide
The arc length of width, pre-set fan-shaped viewing area number and each fan-shaped viewing area is kept off, the sector viewing area is described
Show the display area of screen;
It is aobvious that width, sector are blocked according to the outer perimeter of the acquisition, clock and the width of minute, clock and the maximum of minute
Show area's number, each fan-shaped arc length of viewing area and the current location of the hour hands and minute hand, calculates each fan
The position of shape viewing area;
According to the position of each fan-shaped viewing area, selection and content to be displayed in content display request are associated
Fan-shaped viewing area shows the content to be displayed in the associated fan-shaped viewing area.
On the other hand, the present invention provides a kind of content display of smartwatch, described device includes:
Pointer position computing unit, for when the content for receiving smartwatch shows request, calculating the intelligent hand
The current location of quartz cassette hour hands and minute hand in table;
Sector parameters acquiring unit shows outer perimeter, clock and the width of minute of screen for obtaining the smartwatch
Degree, clock and the maximum of minute block the arc length of width, pre-set fan-shaped viewing area number and each fan-shaped viewing area,
The sector viewing area is the display area of the display screen;
Sector position computing unit, for according to the outer perimeter of the acquisition, clock and the width of minute, clock and minute
Maximum block width, fan-shaped viewing area number, each fan-shaped arc length of viewing area and the present bit of the hour hands and minute hand
It sets, calculates the position of each fan-shaped viewing area;And
Content display unit, for the position according to each fan-shaped viewing area, selection is asked with content display
The associated fan-shaped viewing area of middle content to be displayed shows the content to be displayed in the associated fan-shaped viewing area.
On the other hand, the present invention also provides a kind of smartwatch, including memory, processor and it is stored in described deposit
In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program
The step of upper the method.
The present invention when the content for receiving smartwatch shows request, in computational intelligence wrist-watch quartz cassette hour hands and
The current location of minute hand obtains outer perimeter, clock and the width of minute, clock and the maximum of minute that smartwatch shows screen
The arc length of width, pre-set fan-shaped viewing area number and each fan-shaped viewing area is blocked, and then is calculated each fan-shaped aobvious
The position for showing area, according to the position of each fan-shaped viewing area, selection and the associated sector of content to be displayed in content display request
Viewing area shows content to be displayed in associated fan-shaped viewing area, to show request in the content for receiving smartwatch
When, based on the current location of quartz cassette hour hands and minute hand in smartwatch by smartwatch show screen be divided into it is multiple
The fan-shaped viewing area in interval shows output content to be displayed by fan-shaped viewing area, avoids quartz cassette hour hands and minute hand blocks
Show the appearance of content.
Description of the drawings
Fig. 1 is the implementation flow chart of the content display method for the smartwatch that the embodiment of the present invention one provides;
Fig. 2 be the smartwatch that the embodiment of the present invention one provides content display method in fan-shaped viewing area layout signal
Figure;
Fig. 3 is the structural schematic diagram of the content display of smartwatch provided by Embodiment 2 of the present invention;
Fig. 4 is the preferred structure schematic diagram of the content display of smartwatch provided by Embodiment 2 of the present invention;And
Fig. 5 is the structural schematic diagram for the smartwatch that the embodiment of the present invention three provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The specific implementation of the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
Fig. 1 shows the implementation process of the content display method for the smartwatch that the embodiment of the present invention one provides, in order to just
In explanation, illustrate only with the relevant part of the embodiment of the present invention, details are as follows:
In step S101, when the content for receiving smartwatch shows request, quartz cassette in computational intelligence wrist-watch
The current location of hour hands and minute hand.
The embodiment of the present invention is suitable for the smartwatch with operating system, according to the application journey installed on smartwatch
Sequence, the smartwatch can by showing screen display output time, user movement distance, the application messages such as step number, meanwhile, the intelligence
There is energy wrist-watch quartz cassette, quartz cassette to be only provided with hour hands and minute hand, for indicating the hourage and the number of minutes of time,
In this way when the battery capacity of smartwatch is normal, for example, higher than the shutdown voltage (general 3.3-3.4V) of wrist-watch built-in system
When, smartwatch can be by showing the information such as screen display time, step number, while can pass through the hour hands of the quartz cassette of low-power consumption
The time is indicated with minute hand, and when the battery capacity of smartwatch is relatively low, for example, less than the shutdown voltage of wrist-watch built-in system
When, the screen of smartwatch can not then show the time, at this point, can be indicated by the hour hands and minute hand of the quartz cassette of low-power consumption
Time and the long period can be maintained, to improve the availability of smartwatch.
In embodiments of the present invention, content display request can be that triggering generates when wrist-watch user presses the Show Button, can
It can also be the refresh cycle that smartwatch shows screen to generate (for example, the action of lift wrist) by the triggering of the specific action of user
It triggers and generates when arrival.Show that content and watch hand interfere with each other when the battery capacity of smartwatch is normal in order to prevent, it is first
The current location of quartz cassette hour hands and minute hand in first computational intelligence wrist-watch will be shown further according to the current location of hour hands and minute hand
Screen is divided into multiple fan-shaped viewing areas, the position of fan-shaped viewing area is adjusted by dynamic, to be distributed to hour hands and minute hand
In the interval of fan-shaped viewing area.
At the current location of quartz cassette hour hands and minute hand in calculating computational intelligence wrist-watch, it is preferable that by smartwatch
12 o'clock sharps were set as the initial position of hour hands and minute hand, according to the initial position, when being calculated by preset position calculation formula
The current location of needle and minute hand, to the acquisition process of the current location of simplified hour hands and minute hand.It is further preferred that passing through
One position calculation formula Ph=L* (Th*60+Tm)/(12*60) calculates the current location Ph of hour hands, is calculated by the second position public
Formula Pm=L*Tm/60 calculates the current location Pm of minute hand, wherein Th indicates that the hourage of clock instruction, Tm indicate minute instruction
The number of minutes, further simplify the acquisition of the current location of hour hands and minute hand.
In embodiments of the present invention, show that the display area of screen is divided into multiple fan-shaped viewing areas, fan-shaped viewing area
Between there is interval, and width is blocked in the interval at least more than the maximum of clock and minute, with when showing screen display content
Quartz cassette hour hands and minute hand are accommodated in the interval between fan-shaped viewing area, pointer (hour hands and minute hand) interference display is avoided
Content.Therefore, it in computational intelligence wrist-watch before the current location of quartz cassette hour hands and minute hand, needs to draw display screen
The arc length of the fan-shaped viewing area number and each fan-shaped viewing area that are divided into is configured, wherein the arc length l of fan-shaped viewing area<
[L- (h+r1)-(m+r2)]/(n+1), L are the outer perimeter for showing screen, and h, m are respectively clock and the width of minute, h+r1, m+
R2 is respectively clock and the number that the maximum of minute blocks width, n is fan-shaped viewing area.In this way, at least one l length can be left
Sector space as the total linear spacing between each fan-shaped viewing area, otherwise when the angle between hour hands and minute hand from current angular not
It is disconnected increase to can put down next fan-shaped viewing area between them during, the display area outside angle may be due to interval
Space is not enough overlapped, it is necessary to which hiding a fan-shaped viewing area could allow it not to be overlapped.
In step s 102, outer perimeter, clock and the width of minute, clock and minute that smartwatch shows screen are obtained
Maximum block the arc length of width, pre-set fan-shaped viewing area number and each fan-shaped viewing area.
In step s 103, width is blocked according to the outer perimeter of acquisition, clock and the width of minute, clock and the maximum of minute
Degree, fan-shaped viewing area number, each fan-shaped arc length of viewing area and the current location of hour hands and minute hand, calculate each fan-shaped
The position of viewing area.
In embodiments of the present invention, smartwatch shows the outer perimeter, clock and the width of minute, clock and minute of screen
Maximum block width all and can pre-set or be arranged in manufacture.When calculating the position of each fan-shaped viewing area, it is preferable that
First according to the arc length of the outer perimeter of display screen, fan-shaped viewing area number and each fan-shaped viewing area, fan-shaped display is obtained
Largest interval between area is blocked then according to the maximum of clock and minute between width, the arc length of each fan-shaped viewing area, maximum
Every and hour hands and minute hand current location, determine in hour hands and minute hand angle whether include fan-shaped viewing area and comprising
Fan-shaped viewing area quantity, and then according to definitive result, outer perimeter, fan-shaped viewing area number and each fan-shaped viewing area
The current location of arc length and hour hands and minute hand calculates the sector interval of fan-shaped viewing area inside and outside hour hands and minute hand angle, finally
According to the current location of hour hands and minute hand, the width of hour hands and minute hand, sector interval and each fan-shaped viewing area arc length, meter
The initial position for calculating each fan-shaped viewing area, to determine the position of each fan-shaped viewing area, to which each sector be precisely located
The position of viewing area.
Preferably, the largest interval Gmax=between fan-shaped viewing area (L-n*l)/n, to avoid hour hands and minute hand angle
Outer display area is not enough overlapped due to clearance space.
Herein, the initial position that each fan-shaped viewing area is indicated using P1, P2, P3 ..., Pn is by initial position
It can indicate corresponding fan-shaped viewing area.Preferably, when calculating the initial position of each fan-shaped viewing area, first determine whether hour hands and
Angle between minute hand, if Pm-Ph>=0 and<(h+r1)+(m+r2)+l, then without sector viewing area, sector display in angle
Section every G=((L- (Pm-Ph))-n*l)/n, P1=Pm+m+G, P2=P1+l+G ..., and so on.If Pm-Ph>(h+r1)
+ (m+r2)+l and<(h+r1)+(m+r2)+2l+Gmax, then in angle there are one sector viewing area P1, position P1=Pm+2h,
Angle exterior wing section is every G=((L- (Pm-Ph))-(n-1) * l)/(n-1), P2=Pm+m+G, P3=P2+l+G ..., with such
It pushes away.Thus the location formula for including 2 fan-shaped viewing areas up to n fan-shaped viewing area may further be released in angle, and it is right
In Pm-Ph<The positional value of 0 the case where, hour hands is greater than the positional value of minute hand, can be calculated with absolute value, the row of P1 to Pn
According to counterclockwise, the initial position of each sector viewing area can refer to foregoing manner and calculated row sequence.
As illustratively, Fig. 2 shows as fan-shaped viewing area n=4 smartwatch show the cloth of screen middle fan shape viewing area
Office.The layout of display screen middle fan shape viewing area when Fig. 2 a were 12 o'clock sharps, between hour hands and minute hand all in 0 position, when
Angle between needle and minute hand is 0, without fan-shaped viewing area among angle.Fig. 2 b are the display screen middle fan shapes of 12: 10 timesharing
The layout of viewing area, hour hands have walked 5 degree, and minute hand has walked 60 degree, and angle is 55 degree between hour hands and minute hand, are not fanned among angle
Shape viewing area.Fig. 2 c are the layouts of the display screen middle fan shape viewing area of 12: 20 timesharing, and hour hands have walked 10 degree, and minute hand is walked
120 degree, angle is 110 degree between hour hands and minute hand, and there are one fan-shaped viewing areas among angle.Fig. 2 d are the aobvious of 12: 30 timesharing
The layout of fan-shaped viewing area, hour hands have walked 15 degree in display screen curtain, and minute hand has walked 180 degree, and angle is 165 between hour hands and minute hand
It spends, two fan-shaped viewing areas can be put down among angle.
In step S104, according to the position of each fan-shaped viewing area, selection and content to be displayed in content display request
Associated sector viewing area shows content to be displayed in associated fan-shaped viewing area.
In embodiments of the present invention, behind the position for obtaining each fan-shaped viewing area, selection is waited for content display request
It shows the associated fan-shaped viewing area of content, content to be displayed is shown in associated fan-shaped viewing area.For example, working as content to be displayed
For the user movement time and apart from when, two adjacent fan-shaped viewing areas may be selected and show user movement times and distance, to improve
Aesthetics when content display output.
In embodiments of the present invention, when the content for receiving smartwatch shows request, stone in computational intelligence wrist-watch
The current location of English movement hour hands and minute hand obtains outer perimeter, clock and the width of minute, clock that smartwatch shows screen
The arc length of width, pre-set fan-shaped viewing area number and each fan-shaped viewing area, Jin Erji are blocked with the maximum of minute
The position for calculating each sector viewing area is selected according to the position of each fan-shaped viewing area in be shown in being asked with content display
Hold associated fan-shaped viewing area, content to be displayed is shown in associated fan-shaped viewing area, to receive smartwatch
When content display request, by smartwatch display screen based on the current location of quartz cassette hour hands and minute hand in smartwatch
Curtain is divided into the fan-shaped viewing area in multiple intervals, output content to be displayed is shown by fan-shaped viewing area, when avoiding quartz cassette
Needle and minute hand block the appearance of display content.
Embodiment two:
Fig. 3 shows the structure of the content display of smartwatch provided by Embodiment 2 of the present invention, for the ease of saying
It is bright, illustrate only with the relevant part of the embodiment of the present invention, including:
Pointer position computing unit 31, for when receive smartwatch content show request when, computational intelligence wrist-watch
The current location of middle quartz cassette hour hands and minute hand;
Sector parameters acquiring unit 32, for obtain smartwatch show screen outer perimeter, clock and the width of minute,
The maximum of clock and minute block the arc length of width, pre-set fan-shaped viewing area number and each fan-shaped viewing area, fan
Shape viewing area is the display area for showing screen;
Sector position computing unit 33, for according to the outer perimeter of acquisition, clock and the width of minute, clock and minute
Maximum blocks width, fan-shaped viewing area number, each fan-shaped arc length of viewing area and the current location of hour hands and minute hand, meter
Calculate the position of each fan-shaped viewing area;And
Content display unit 34, for the position according to each fan-shaped viewing area, selection waits showing with content display request
Show the associated fan-shaped viewing area of content, content to be displayed is shown in associated fan-shaped viewing area.
As shown in Figure 4, it is preferable that pointer position computing unit 31 includes position computation subunit 311, is used for intelligent hand
12 o'clock sharp of table is set as the initial position of hour hands and minute hand, according to initial position, when being calculated by preset position calculation formula
The current location of needle and minute hand.
Preferably, sector position computing unit 33 includes:
Interval acquiring unit 331, for aobvious according to the outer perimeter of display screen, fan-shaped viewing area number and each sector
Show the arc length in area, obtains the largest interval between fan-shaped viewing area;
Sector determination unit 332, for according to the maximum of clock and minute block width, each fan-shaped viewing area arc
Long, largest interval and hour hands and minute hand current location, determines in hour hands and minute hand angle whether include fan-shaped viewing area
And comprising fan-shaped viewing area quantity;
Interval calculation unit 333, for aobvious according to definitive result, outer perimeter, fan-shaped viewing area number and each sector
Show the arc length in area and the current location of hour hands and minute hand, calculates inside and outside hour hands and minute hand angle between the sector of fan-shaped viewing area
Every;And
Position determination unit 334, for according between the current location of hour hands and minute hand, the width of hour hands and minute hand, sector
Every and each fan-shaped viewing area arc length, the initial position of each fan-shaped viewing area is calculated, to determine each fan-shaped viewing area
Position.
It is further preferred that content display further includes parameter presets unit, for showing that the sector of screen is aobvious
Show that area's number and the arc length of each fan-shaped viewing area are configured, the arc length l of fan-shaped viewing area<[L-(h+r1)-(m+r2)]/
(n+1), L is the outer perimeter for showing screen, and h, m are respectively clock and the width of minute, and h+r1, m+r2 are respectively clock and minute
Maximum block width, the number that n is fan-shaped viewing area.
In embodiments of the present invention, each unit of content display can be realized by corresponding hardware or software unit, respectively
Unit can be independent soft and hardware unit, can also be integrated into a soft and hardware unit, herein not limiting the present invention.
The specific implementation mode of each unit can refer to the description of embodiment one, and details are not described herein.
Embodiment three:
Fig. 5 shows the structure for the smartwatch that the embodiment of the present invention three provides, and for convenience of description, illustrates only and this
The relevant part of inventive embodiments.
The smartwatch 5 of the embodiment of the present invention includes processor 50, memory 51 and is stored in memory 51 and can
The computer program 52 run on processor 50.The processor 50 realizes above method embodiment when executing computer program 52
In step, such as step S101 to S104 shown in FIG. 1.Alternatively, being realized when the execution computer program 52 of processor 50 above-mentioned
The function of each unit in each device embodiment, for example, unit 31 to 34 shown in Fig. 3 function.
In embodiments of the present invention, the present invention when receive smartwatch content show request when, computational intelligence hand
The current location of quartz cassette hour hands and minute hand in table obtains outer perimeter, clock and the width of minute that smartwatch shows screen
Degree, clock and the maximum of minute block the arc length of width, pre-set fan-shaped viewing area number and each fan-shaped viewing area,
And then the position of each fan-shaped viewing area is calculated, according to the position of each fan-shaped viewing area, selection is waited for content display request
It shows the associated fan-shaped viewing area of content, content to be displayed is shown in associated fan-shaped viewing area, to receive intelligence
When the content display request of wrist-watch, by smartwatch based on the current location of quartz cassette hour hands and minute hand in smartwatch
Display screen is divided into the fan-shaped viewing area in multiple intervals, shows output content to be displayed by fan-shaped viewing area, avoids quartz
Movement hour hands and minute hand block the appearance of display content.
The step of being realized when realizing content display method when processor 50 executes computer program 52 in the smartwatch can
With reference to the description of preceding method embodiment, details are not described herein.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.