Time display method and device and electronic equipment

文档序号:1361998 发布日期:2020-08-11 浏览:31次 中文

阅读说明:本技术 一种时间显示方法、装置及电子设备 (Time display method and device and electronic equipment ) 是由 冀文彬 陈赟 陈迪凡 于 2020-04-15 设计创作,主要内容包括:本发明提供了一种时间显示方法、装置及电子设备,涉及显示控制技术领域。该时间显示方法,应用于电子设备,包括:显示时间表盘,所述时间表盘包括目标指针;根据所述电子设备的第一参数,对所述目标指针的显示模式进行调整;其中,所述目标指针的显示模式包括以下至少一项:所述目标指针的颜色、所述目标指针的颜色填充量、以及所述目标指针关联的目标元素的显示属性;其中,在所述目标指针的显示模式包括所述目标元素的显示属性的情况下,在对所述目标元素的显示属性进行调整的过程中,控制所述目标元素与所述目标指针之间的位置关系保持不变。上述方案,能够实现对指针的显示模式的调整,丰富了智能手表的显示模式。(The invention provides a time display method and device and electronic equipment, and relates to the technical field of display control. The time display method is applied to electronic equipment and comprises the following steps: displaying a time dial, the time dial comprising a target pointer; adjusting the display mode of the target pointer according to a first parameter of the electronic equipment; wherein the display mode of the target pointer comprises at least one of: a color of the target pointer, a color fill amount of the target pointer, and a display attribute of a target element associated with the target pointer; and controlling the position relation between the target element and the target pointer to be kept unchanged in the process of adjusting the display attribute of the target element under the condition that the display mode of the target pointer comprises the display attribute of the target element. Above-mentioned scheme can realize the adjustment to the display mode of pointer, has richened the display mode of intelligent wrist-watch.)

1. A time display method is applied to electronic equipment and is characterized by comprising the following steps:

displaying a time dial, the time dial comprising a target pointer;

adjusting the display mode of the target pointer according to a first parameter of the electronic equipment;

wherein the display mode of the target pointer comprises at least one of: a color of the target pointer, a color fill amount of the target pointer, and a display attribute of a target element associated with the target pointer;

and controlling the position relation between the target element and the target pointer to be kept unchanged in the process of adjusting the display attribute of the target element under the condition that the display mode of the target pointer comprises the display attribute of the target element.

2. The time display method according to claim 1, wherein the controlling of the manner in which the positional relationship between the target element and the target pointer remains unchanged comprises:

displaying a target pointer at a first position and displaying a target element at a second position, wherein the first position and the second position have a preset position relation;

under the condition that the display position of the target pointer is updated to a third position, updating the display position of the target element to a fourth position, wherein the third position and the fourth position have the preset position relation;

wherein, when the target element is displayed at the second position, the shape of the target element is a first preset shape; and under the condition that the target element is displayed at the fourth position, the shape of the target element is a second preset shape, and the first preset shape is different from the second preset shape.

3. The time display method according to claim 1, wherein the display attribute of the target element includes: the morphology of the target element and/or the color of the target element.

4. The time display method according to claim 1, wherein the first parameter of the electronic device comprises at least one of: the time zone of the electronic equipment, the time displayed by the electronic equipment, the GPS (global positioning system) area position of the electronic equipment, the ambient temperature of the electronic equipment, the user motion mode monitored by the electronic equipment and the user motion duration monitored by the electronic equipment.

5. The time display method according to claim 1, wherein the adjusting the display mode of the target pointer according to the first parameter of the electronic device comprises:

under the condition that the first parameter of the electronic equipment comprises a time zone in which the electronic equipment is located, displaying the target element according to a display attribute corresponding to the time zone;

displaying the target element according to a display attribute corresponding to the user motion mode under the condition that the first parameter of the electronic equipment comprises the user motion mode monitored by the electronic equipment;

under the condition that the first parameter of the electronic equipment comprises a GPS (global positioning system) area position of the electronic equipment, displaying the target element according to a display attribute corresponding to the GPS area position;

under the condition that the first parameter of the electronic equipment comprises the user movement time length monitored by the electronic equipment, adjusting the color of the target pointer or the color filling amount of the target pointer according to the user movement time length;

and in the case that the first parameter of the electronic equipment comprises the ambient temperature of the electronic equipment, adjusting the color of the target pointer or the color filling amount of the target pointer according to the value of the ambient temperature.

6. The time display method according to claim 1, wherein the target element is an virtual human-shaped control, and a display area of the virtual human-shaped control is adjacent to a display area of the target pointer.

7. The time display method according to claim 6, wherein the adjusting the display mode of the target pointer according to the first parameter of the electronic device comprises:

adjusting the dressing part of the virtual human-shaped control according to a first parameter of the electronic equipment; or the like, or, alternatively,

adjusting the posture of the virtual human-shaped control according to the first parameter of the electronic equipment; or the like, or, alternatively,

and adjusting the color of the virtual human-shaped control according to the first parameter of the electronic equipment.

8. A time display device applied to electronic equipment is characterized by comprising:

the display module is used for displaying a time dial plate, and the time dial plate comprises a target pointer;

the adjusting module is used for adjusting the display mode of the target pointer according to a first parameter of the electronic equipment;

wherein the display mode of the target pointer comprises at least one of: a color of the target pointer, a color fill amount of the target pointer, and a display attribute of a target element associated with the target pointer;

and controlling the position relation between the target element and the target pointer to be kept unchanged in the process of adjusting the display attribute of the target element under the condition that the display mode of the target pointer comprises the display attribute of the target element.

9. The time display apparatus according to claim 8, wherein the controlling of the manner in which the positional relationship between the target element and the target pointer remains unchanged comprises:

displaying a target pointer at a first position and displaying a target element at a second position, wherein the first position and the second position have a preset position relation;

under the condition that the display position of the target pointer is updated to a third position, updating the display position of the target element to a fourth position, wherein the third position and the fourth position have the preset position relation;

wherein, when the target element is displayed at the second position, the shape of the target element is a first preset shape; and under the condition that the target element is displayed at the fourth position, the shape of the target element is a second preset shape, and the first preset shape is different from the second preset shape.

10. The time display apparatus according to claim 8, wherein the display attribute of the target element includes: the morphology of the target element and/or the color of the target element.

11. The time display apparatus according to claim 8, wherein the first parameter of the electronic device comprises at least one of: the time zone of the electronic equipment, the time displayed by the electronic equipment, the GPS (global positioning system) area position of the electronic equipment, the ambient temperature of the electronic equipment, the user motion mode monitored by the electronic equipment and the user motion duration monitored by the electronic equipment.

12. The time display device according to claim 8, wherein the adjusting module is specifically configured to:

under the condition that the first parameter of the electronic equipment comprises a time zone in which the electronic equipment is located, displaying the target element according to a display attribute corresponding to the time zone;

displaying the target element according to a display attribute corresponding to the user motion mode under the condition that the first parameter of the electronic equipment comprises the user motion mode monitored by the electronic equipment;

under the condition that the first parameter of the electronic equipment comprises a GPS (global positioning system) area position of the electronic equipment, displaying the target element according to a display attribute corresponding to the GPS area position;

under the condition that the first parameter of the electronic equipment comprises the user movement time length monitored by the electronic equipment, adjusting the color of the target pointer or the color filling amount of the target pointer according to the user movement time length;

and in the case that the first parameter of the electronic equipment comprises the ambient temperature of the electronic equipment, adjusting the color of the target pointer or the color filling amount of the target pointer according to the value of the ambient temperature.

13. The time display apparatus according to claim 8, wherein the target element is an avatar control having a display area adjacent to a display area of the target pointer.

14. The time display device according to claim 13, wherein the adjusting module is specifically configured to:

adjusting the dressing part of the virtual human-shaped control according to a first parameter of the electronic equipment; or the like, or, alternatively,

adjusting the posture of the virtual human-shaped control according to the first parameter of the electronic equipment; or the like, or, alternatively,

and adjusting the color of the virtual human-shaped control according to the first parameter of the electronic equipment.

15. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when being executed by the processor, carries out the steps of the time display method according to any one of claims 1 to 7.

16. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the time display method according to any one of claims 1 to 7.

Technical Field

The present invention relates to the field of display control technologies, and in particular, to a time display method and apparatus, and an electronic device.

Background

With the increasing popularization of smart watches, the personalized demand is more and more abundant, but in the dial plate design of the existing smart watch, the hour hand, the minute hand and the second hand are only used for representing the current time information, and the display mode is usually fixed and unchanged.

Disclosure of Invention

The embodiment of the invention provides a time display method and device and electronic equipment, and aims to solve the problem that the design of a dial plate of an existing intelligent watch dial plate is fixed.

In order to solve the technical problem, the invention adopts the following implementation mode:

in a first aspect, an embodiment of the present invention provides a time display method applied to an electronic device, including:

displaying a time dial, the time dial comprising a target pointer;

adjusting the display mode of the target pointer according to a first parameter of the electronic equipment;

wherein the display mode of the target pointer comprises at least one of: a color of the target pointer, a color fill amount of the target pointer, and a display attribute of a target element associated with the target pointer;

and controlling the position relation between the target element and the target pointer to be kept unchanged in the process of adjusting the display attribute of the target element under the condition that the display mode of the target pointer comprises the display attribute of the target element.

In a second aspect, an embodiment of the present invention provides a time display apparatus, applied to an electronic device, including:

the display module is used for displaying a time dial plate, and the time dial plate comprises a target pointer;

the adjusting module is used for adjusting the display mode of the target pointer according to a first parameter of the electronic equipment;

wherein the display mode of the target pointer comprises at least one of: a color of the target pointer, a color fill amount of the target pointer, and a display attribute of a target element associated with the target pointer;

and controlling the position relation between the target element and the target pointer to be kept unchanged in the process of adjusting the display attribute of the target element under the condition that the display mode of the target pointer comprises the display attribute of the target element.

In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the time display method described above.

In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the time display method are implemented.

The invention has the beneficial effects that:

according to the scheme, the time dial plate comprising the target pointer is displayed on the electronic equipment, the display mode of the target pointer is adjusted according to the first parameter of the electronic equipment, the adjustment of the display mode of the pointer can be achieved, and the display mode of the intelligent watch is enriched.

Drawings

FIG. 1 is a flow chart of a time display method according to an embodiment of the present invention;

fig. 2 is a schematic view showing a display state of a time dial;

FIG. 3 is a diagram illustrating a state of change between a target element and a pointer;

FIG. 4 is a block diagram of a time display device according to an embodiment of the present invention;

fig. 5 shows a block diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.

The invention provides a time display method, a time display device and electronic equipment, aiming at the problem that the design of a dial plate of an existing intelligent watch dial plate is fixed.

As shown in fig. 1, an embodiment of the present invention provides a time display method applied to an electronic device, including:

step 101, displaying a time dial, wherein the time dial comprises a target pointer;

it should be noted that the target hand refers to at least one of hour hand, minute hand and second hand displayed on the time dial.

Step 102, adjusting a display mode of the target pointer according to a first parameter of the electronic equipment;

it should be noted that the first parameter refers to a parameter recorded/collected by the electronic device and related to the user information and the electronic device itself.

Specifically, the display mode of the target pointer includes at least one of: the color of the target pointer, the color filling amount of the target pointer, and the display attribute of the target element associated with the target pointer may be, for example, a virtual human-shaped control, a virtual animal-shaped control, a virtual flower control, a virtual landscape control, or the like.

It should be noted that, in the embodiment of the present invention, the electronic device may be a smart watch.

It should be noted that, in the embodiment of the present invention, the time dial including the target pointer is displayed on the electronic device, and the display mode of the target pointer is adjusted according to the first parameter of the electronic device, so that the adjustment of the display mode of the pointer can be realized, and the display modes of the smart watch are enriched.

It should be further noted that, in the embodiment of the present invention, in a specific implementation, the electronic device may adjust the same target pointer at the same time, or may adjust a different target pointer, for example, the target element is associated with a second hand, and in the step 102, in the specific implementation, the step may be: adjusting the color of the hour hand and the display attribute of the target element associated with the second hand; or adjusting the color of the minute hand, the display attribute of the target element associated with the second hand and the color filling amount of the hour hand; or the color of the second hand is adjusted while the display attribute of the target element associated with the second hand is adjusted.

It should be further noted that, in the case that the display mode of the target pointer includes the display attribute of the target element, the positional relationship between the target element and the target pointer is controlled to remain unchanged during the adjustment of the display attribute of the target element.

For example, as shown in fig. 2, the time dial displays an hour hand 21, a minute hand 22, and a second hand 23, respectively, while displaying a target element 24, the target element 24 being a virtual human-shaped control.

It should be noted that, when a target element exists on the time dial, the position relationship of the target element and the pointer associated with the target element is kept unchanged, and in particular, to implement this feature, a specific implementation manner of the embodiment of the present invention is:

displaying a target pointer at a first position and displaying a target element at a second position, where the first position and the second position have a preset position relationship (it should be noted that the preset position relationship is specifically implemented by maintaining a preset distance between the target pointer and the target element, and the preset distance is preset and stored in the electronic device);

under the condition that the display position of the target pointer is updated to a third position, updating the display position of the target element to a fourth position, wherein the third position and the fourth position have the preset position relation;

wherein, when the target element is displayed at the second position, the shape of the target element is a first preset shape; and under the condition that the target element is displayed at the fourth position, the shape of the target element is a second preset shape, and the first preset shape is different from the second preset shape.

It is further noted that, in general, in this case, the target hand refers to any one of an hour hand, a minute hand, and a second hand; that is, in this case, the target element follows the target pointer to move in the same direction, and the preset distance is always maintained between the two.

For example, as shown in fig. 3, the target element 24 moves in the same direction along with the second hand 23, that is, the target element 24 moves once per movement of the second hand, and when the target element 24 is a virtual human-shaped control, 3 different display positions of the virtual human-shaped control are shown in fig. 3, and the postures of the virtual human-shaped control at the 3 different display positions are different from each other, it should be noted that in fig. 3, the posture of the virtual human-shaped control simulates a walking state of a person.

It should be noted that, in the above implementation manner, which controls the position relationship between the target element and the target pointer to be unchanged, the relative position relationship between the target element and the target pointer can be maintained, and the interest of moving the target element is increased.

It should be further noted that the display attributes of the target element include: the morphology of the target element and/or the color of the target element.

For example, the electronic device may adjust the form of the target element according to the first parameter, may adjust the color of the target element according to the first parameter, and may adjust the form and the color of the target element according to the first parameter.

Here, by limiting the display attributes to include the form of the target element and/or the color of the target element, when the display attribute of the target element associated with the target pointer is adjusted according to the first parameter of the electronic device, the adjustment diversity can be increased, and the interestingness of the time dial display can be enriched.

It should be further noted that, when the target element is a virtual human-shaped control, the display area of the virtual human-shaped control is adjacent to the display area of the target pointer, for example, when the target pointer is a minute hand, the display area of the virtual human-shaped control is adjacent to the display area of the minute hand.

It should be noted that, by limiting the target element to a virtual human-shaped control and setting the display area of the virtual human-shaped control to be adjacent to the display area of the target pointer, the interest of moving the target pointer can be increased, and the diversity of time dial display is enriched.

Specifically, in this case, a specific implementation manner of step 102 in the embodiment of the present invention includes one of the following:

a11, adjusting the dressing part of the virtual human-shaped control according to a first parameter of the electronic equipment;

a12, adjusting the posture of the virtual human-shaped control according to the first parameter of the electronic equipment;

in addition, since the shapes of the target elements are changed in the above-described implementations a11 and a12, both can be regarded as adjusting the shapes of the target elements according to the first parameter of the electronic device.

A13, adjusting the color of the virtual human-shaped control according to the first parameter of the electronic equipment;

note that this implementation corresponds to the color of the adjustment target element described above.

It should be noted that different display attributes of the virtual human-shaped control are adjusted according to the first parameter, so that the adjustment diversity is increased, and the interestingness of time dial display is enriched.

It should be noted that, the content of the electronic device adjustment may be different due to different contents of the first parameter, and the following specifically describes the embodiment of the present invention from the perspective of different first parameters.

Specifically, the first parameter of the electronic device includes at least one of: a time zone in which the electronic device is located, a time displayed by the electronic device, a Global Positioning System (GPS) zone location of the electronic device, an ambient temperature of the electronic device, a user movement pattern monitored by the electronic device, and a user movement duration monitored by the electronic device.

By limiting the first parameter, the electronic device can adjust different contents according to different parameters, and the adjustment diversity can be increased.

Further, the specific implementation manner of step 102 includes:

b11, displaying the target element according to the display attribute corresponding to the time zone when the first parameter of the electronic equipment comprises the time zone in which the electronic equipment is located;

it should be noted that, the display attribute of the target element that is adjusted in this implementation manner is, for example, when the target element is a virtual human-shaped control, and the display attribute is a dressing portion of the virtual human-shaped control, the electronic device adjusts the dressing portion of the virtual human-shaped control according to the display attribute corresponding to the time zone; for example, in the east eight region of Beijing, where the Beijing region is 10 ℃ in winter, the dressing portion of the virtual human-shaped control should be a vest of a down jacket; and for the same time zone, the Shenzhen region has 20 ℃ in winter, and the dressing part of the target element should be sports wear.

B12, in the case that the first parameter of the electronic equipment comprises the user motion mode monitored by the electronic equipment, displaying the target element according to the display attribute corresponding to the user motion mode;

it should be noted that the display attribute of the target element is adjusted in this implementation manner, for example, when the target element is a virtual human-shaped control, and the display attribute is the posture of the virtual human-shaped control, the electronic device adjusts the posture of the virtual human-shaped control according to the display attribute corresponding to the user motion mode; for example, when the user motion mode is detected to be the running mode, the posture of the virtual human-shaped control can be adjusted to the running posture, and when the motion mode is detected to be the swimming mode, the posture of the target element can be adjusted to the swimming posture.

B13, when the first parameter of the electronic equipment comprises a GPS area position of the electronic equipment, displaying the target element according to a display attribute corresponding to the GPS area position;

it should be noted that, in this implementation, the display attribute of the target element is adjusted, for example, when the target element is a virtual human-shaped control, and the display attribute is a dressing portion of the virtual human-shaped control, the electronic device adjusts the dressing portion of the virtual human-shaped control according to the display attribute corresponding to the time zone; for example, the GPS region location is shown in africa, where the dressing portion of the virtual human control should be vest shorts; while the GPS field location is shown as antarctic, the dressing portion of the target element should be a down jacket.

B14, in the case that the first parameter of the electronic device comprises the user movement time length monitored by the electronic device, adjusting the color of the target pointer or the color filling amount of the target pointer according to the user movement time length;

it should be noted that, when the color of the target pointer is adjusted, the colors of the target pointers corresponding to the user motion durations within different preset time ranges are different, and the size of the preset time range is in direct proportion to the shade of the color of the target pointer; that is, in this case, the longer the user moves, the darker the color of the target pointer, for example, the target pointer is a minute pointer, and when the user moves for 10 minutes at ordinary times, the color of the pointer of the minute pointer is orange, but if the user moves for 30 minutes, the pointer of the minute pointer changes to red to inform the user that the movement time is longer.

It should be noted that, when the color filling amount of the target pointer is adjusted, the color filling amounts of the target pointers corresponding to different user motion durations are different, and the size of the motion duration is in direct proportion to the color filling amount of the target pointer; that is, in this case, as the user moves for a period of time gradually increasing, the color filling amount of the target pointer is gradually adjusted, for example, when the user just starts moving, the target pointer is not color-filled, and if the user reaches the target of usual movement, the color of the target pointer is completely filled; if the indicator is exceeded, the fill color of the target pointer changes to an alert color to inform the user that the motion is over-done today.

It should be noted that, in this implementation manner, the color and the color filling amount of different pointers can be respectively adjusted, for example, the color of the pointer is adjusted according to the user movement time length, and the color filling amount of the minute pointer is adjusted according to the user movement time length.

B15, in the case that the first parameter of the electronic device comprises the ambient temperature of the electronic device, adjusting the color of the target pointer or the color filling amount of the target pointer according to the value of the ambient temperature;

it should be noted that, when the color of the target pointer is adjusted, the colors of the target pointers corresponding to the environmental temperatures within different preset temperature ranges are different, and the size of the preset temperature range is in direct proportion to the shade of the color of the target pointer; that is, in this case, the higher the ambient temperature is, the darker the color of the target hand is, for example, the hour hand whose color is orange when the target hand is the hour hand and the ambient temperature is 15 degrees, but if the ambient temperature is 30 degrees, the hand of the hour hand becomes red.

When the color filling amount of the target pointer is adjusted, the color filling amounts of the target pointers corresponding to different environmental temperatures are different, and the magnitude of the environmental temperature is in direct proportion to the color filling amount of the target pointer; that is, in this case, the color filling amount of the target pointer is gradually increased as the ambient temperature is gradually increased.

In this implementation, the color and the color filling amount of the different hands can be adjusted, for example, the color of the hour hand is adjusted according to the ambient temperature, and the color filling amount of the minute hand is adjusted according to the ambient temperature.

For example, when the first parameter includes: when the electronic equipment is in at least one of the time zone, the GPS area position and the environmental temperature of the electronic equipment, the electronic equipment mainly adjusts the dressing part of the virtual human-shaped control, for example, the dressing part of the virtual human-shaped control is adjusted according to the time of different time zones, for example, the Dongbai area of Beijing time and the Beijing area are 10 ℃ in winter, and at the moment, the target element is worn to be a vest of a down jacket; and for the same time, the Shenzhen region has 20 ℃ in winter, and the target element is worn as a sports garment. When the first parameter includes a user motion pattern monitored by the electronic device, the electronic device may adjust a posture of the virtual humanoid control and may also adjust a dressing portion of the virtual humanoid control. It should be noted that the user motion pattern is mainly determined by the motion parameters of the user collected by the electronic device. For example, when the motion mode is detected to be the running mode, the wearing part of the virtual human-shaped control can be adjusted to sports clothes such as sports shorts, and when the motion mode is detected to be the swimming mode, the posture of the virtual human-shaped control can be adjusted to the swimming posture.

It should be noted that, the display modes of different target pointers are adjusted according to different first parameters, so that the display diversity of the time dial is enriched, and the use experience of the user is improved.

The adjustment of the color and the color filling amount of the pointer and the display attribute of the target element associated with the pointer may be implemented individually or in combination, for example, the electronic device may implement the adjustment of the color and the color filling amount of the pointer at the same time or the adjustment of the color and the color filling amount of the pointer and the display attribute of the target element associated with the pointer at the same time.

Specific applications of embodiments of the present invention are illustrated below.

For example, when the target hand is one, the target hand may be any one of an hour hand, a minute hand and a second hand, for example, when the target hand is the minute hand, the target element is associated with the minute hand, and the positional relationship between the target element and the minute hand remains unchanged, the electronic device may perform adjustment of the form of the target element and/or the color of the target element according to the first parameter, for example, when the target element is a virtual human-shaped control, the virtual human-shaped control is associated with the minute hand, the positional relationship between the virtual human-shaped control and the minute hand remains unchanged, and the electronic device may perform adjustment of the dressing part, the posture and/or the color of the virtual human-shaped control according to the first parameter; meanwhile, the electronic equipment can also adjust the color of the minute hand or the color filling amount according to the first parameter.

For example, when the target hands are two, the target hands may be any two of an hour hand, a minute hand and a second hand, for example, when the target hands are the minute hand and the second hand, the target element is associated with the second hand, and the positional relationship between the target element and the second hand remains unchanged, the electronic device may perform the adjustment of the morphology of the target element and/or the color of the target element according to the first parameter, for example, when the target element is a virtual human-shaped control, the virtual human-shaped control is associated with the second hand, the positional relationship between the virtual human-shaped control and the second hand remains unchanged, and the electronic device may perform the adjustment of the dressing portion, the posture and/or the color of the virtual human-shaped control according to the first parameter; meanwhile, the electronic device may adjust the color or the color filling amount of the minute hand according to the first parameter, or the electronic device may adjust the color of the minute hand and the color filling amount of the second hand according to the first parameter, or the electronic device may adjust the color of the second hand and the color filling amount of the minute hand according to the first parameter.

For example, when the target hands are three, the target hands are an hour hand, a minute hand and a second hand, for example, the target element is associated with the second hand, and the position relationship between the target element and the second hand is kept unchanged, the electronic device may perform the adjustment of the morphology of the target element and/or the color of the target element according to the first parameter, for example, when the target element is a virtual human-shaped control, the virtual human-shaped control is associated with the second hand, the position relationship between the virtual human-shaped control and the second hand is kept unchanged, and the electronic device may perform the adjustment of the dressing part, the posture and/or the color of the virtual human-shaped control according to the first parameter; meanwhile, the electronic equipment can also adjust the colors of the minute hand and the hour hand according to the first parameter, or the electronic equipment can also adjust the color filling amount of the minute hand and the hour hand according to the first parameter; or the electronic equipment can adjust the colors of the second hand and the minute hand according to the first parameter and adjust the color filling amount of the hour hand; or the electronic equipment can adjust the colors of the second hand and the hour hand according to the first parameter, and adjust the color filling amount of the minute hand; or the electronic equipment can adjust the color filling amount of the second hand and the minute hand according to the first parameter and adjust the color of the hour hand; alternatively, the electronic device may adjust the color filling amount of the second hand and the hour hand, and adjust the color of the minute hand, based on the first parameter.

It should be noted that the implementation manner of the embodiment of the present invention realizes adjustment of the display mode of the pointer on the time dial, enriches the display modes of the smart watch, and enables a correspondence coordination relationship to be formed between the time dial display and the user information and the related parameters of the electronic device, thereby increasing the interest of the smart watch and improving the user experience of the smart watch.

As shown in fig. 4, an embodiment of the present invention further provides a time display apparatus 400 applied to an electronic device, including:

a display module 401 for displaying a time dial, the time dial comprising a target pointer;

an adjusting module 402, configured to adjust a display mode of the target pointer according to a first parameter of the electronic device;

wherein the display mode of the target pointer comprises at least one of: a color of the target pointer, a color fill amount of the target pointer, and a display attribute of a target element associated with the target pointer;

and controlling the position relation between the target element and the target pointer to be kept unchanged in the process of adjusting the display attribute of the target element under the condition that the display mode of the target pointer comprises the display attribute of the target element.

Specifically, the controlling the manner in which the positional relationship between the target element and the target pointer remains unchanged includes:

displaying a target pointer at a first position and displaying a target element at a second position, wherein the first position and the second position have a preset position relation;

under the condition that the display position of the target pointer is updated to a third position, updating the display position of the target element to a fourth position, wherein the third position and the fourth position have the preset position relation;

wherein, when the target element is displayed at the second position, the shape of the target element is a first preset shape; and under the condition that the target element is displayed at the fourth position, the shape of the target element is a second preset shape, and the first preset shape is different from the second preset shape.

Optionally, the display attribute of the target element includes: the morphology of the target element and/or the color of the target element.

Specifically, the first parameter of the electronic device includes at least one of: the time zone of the electronic equipment, the time displayed by the electronic equipment, the GPS (global positioning system) area position of the electronic equipment, the ambient temperature of the electronic equipment, the user motion mode monitored by the electronic equipment and the user motion duration monitored by the electronic equipment.

Optionally, the adjusting module 402 is specifically configured to:

under the condition that the first parameter of the electronic equipment comprises a time zone in which the electronic equipment is located, displaying the target element according to a display attribute corresponding to the time zone;

displaying the target element according to a display attribute corresponding to the user motion mode under the condition that the first parameter of the electronic equipment comprises the user motion mode monitored by the electronic equipment;

under the condition that the first parameter of the electronic equipment comprises a GPS (global positioning system) area position of the electronic equipment, displaying the target element according to a display attribute corresponding to the GPS area position;

under the condition that the first parameter of the electronic equipment comprises the user movement time length monitored by the electronic equipment, adjusting the color of the target pointer or the color filling amount of the target pointer according to the user movement time length;

and in the case that the first parameter of the electronic equipment comprises the ambient temperature of the electronic equipment, adjusting the color of the target pointer or the color filling amount of the target pointer according to the value of the ambient temperature.

Optionally, the target element is a virtual human-shaped control, and a display area of the virtual human-shaped control is adjacent to a display area of the target pointer.

Specifically, the adjusting module 402 is specifically configured to:

adjusting the dressing part of the virtual human-shaped control according to a first parameter of the electronic equipment; or the like, or, alternatively,

adjusting the posture of the virtual human-shaped control according to the first parameter of the electronic equipment; or adjusting the color of the virtual human-shaped control according to the first parameter of the electronic equipment.

The time display device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described herein again to avoid repetition. The time display device provided by the embodiment of the invention can realize the adjustment of the display mode of the pointer by displaying the time dial plate comprising the target pointer on the electronic equipment and adjusting the display mode of the target pointer according to the first parameter of the electronic equipment, thereby enriching the display mode of the intelligent watch.

Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present invention.

The electronic device 50 includes, but is not limited to: radio unit 510, network module 520, audio output unit 530, input unit 540, sensor 550, display unit 560, user input unit 570, interface unit 580, memory 590, processor 511, and power supply 512. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.

Wherein, the processor 511 is configured to display a time dial through the display unit 560, the time dial including the target pointer; adjusting the display mode of the target pointer according to a first parameter of the electronic equipment;

wherein the display mode of the target pointer comprises at least one of: a color of the target pointer, a color fill amount of the target pointer, and a display attribute of a target element associated with the target pointer;

and controlling the position relation between the target element and the target pointer to be kept unchanged in the process of adjusting the display attribute of the target element under the condition that the display mode of the target pointer comprises the display attribute of the target element.

According to the electronic equipment provided by the embodiment of the invention, the time dial plate comprising the target pointer is displayed on the electronic equipment, and the display mode of the target pointer is adjusted according to the first parameter of the electronic equipment, so that the adjustment of the display mode of the pointer can be realized, and the display mode of the intelligent watch is enriched.

It should be understood that, in the embodiment of the present invention, the radio frequency unit 510 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 511; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 510 may also communicate with a network and other devices through a wireless communication system.

The electronic device provides wireless broadband internet access to the user through the network module 520, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.

The audio output unit 530 may convert audio data received by the radio frequency unit 510 or the network module 520 or stored in the memory 590 into an audio signal and output as sound. Also, the audio output unit 530 may also provide audio output related to a specific function performed by the electronic apparatus 50 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 530 includes a speaker, a buzzer, a receiver, and the like.

The input unit 540 is used for receiving an audio or video signal. The input Unit 540 may include a Graphics Processing Unit (GPU) 541 and a microphone 542, and the Graphics processor 541 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 560. The image frames processed by the graphic processor 541 may be stored in the memory 590 (or other storage medium) or transmitted via the radio frequency unit 510 or the network module 520. The microphone 542 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 510 in case of a phone call mode.

The electronic device 50 also includes at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 561 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 561 and/or the backlight when the electronic device 50 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensor 550 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described herein.

The display unit 560 is used to display information input by a user or information provided to the user. The Display unit 56 may include a Display panel 561, and the Display panel 561 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

The user input unit 570 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 570 includes a touch panel 571 and other input devices 572. The touch panel 571, also referred to as a touch screen, can collect touch operations by a user (e.g., operations by a user on the touch panel 571 or near the touch panel 571 using a finger, a stylus, or any suitable object or attachment). The touch panel 571 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 511, and receives and executes commands sent from the processor 511. In addition, the touch panel 571 can be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 570 may include other input devices 572 in addition to the touch panel 571. In particular, the other input devices 572 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.

Further, the touch panel 571 can be overlaid on the display panel 561, and when the touch panel 571 detects a touch operation on or near the touch panel 571, the touch panel is transmitted to the processor 511 to determine the type of the touch event, and then the processor 511 provides a corresponding visual output on the display panel 561 according to the type of the touch event. Although the touch panel 571 and the display panel 561 are shown in fig. 5 as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 571 and the display panel 561 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.

The interface unit 580 is an interface for connecting an external device to the electronic apparatus 50. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 580 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 50 or may be used to transmit data between the electronic apparatus 50 and the external device.

The memory 590 may be used to store software programs as well as various data. The memory 590 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 590 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The processor 511 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 590, and calling data stored in the memory 590, thereby monitoring the electronic device as a whole. Processor 511 may include one or more processing units; preferably, the processor 511 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 511.

The electronic device 50 may further include a power source 512 (e.g., a battery) for supplying power to various components, and preferably, the power source 512 may be logically connected to the processor 511 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.

In addition, the electronic device 50 includes some functional modules that are not shown, and are not described in detail herein.

Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 511, a memory 590, and a computer program that is stored in the memory 590 and is executable on the processor 511, and when the computer program is executed by the processor 511, the processes of the above-mentioned embodiment of the time display method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.

The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned time display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.

While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:包含可变节距显示的钟表

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!