Movatterモバイル変換


[0]ホーム

URL:


CN113760412B - Method and device for refreshing display elements on dial interface, watch and computer readable storage medium - Google Patents

Method and device for refreshing display elements on dial interface, watch and computer readable storage medium
Download PDF

Info

Publication number
CN113760412B
CN113760412BCN202010484896.0ACN202010484896ACN113760412BCN 113760412 BCN113760412 BCN 113760412BCN 202010484896 ACN202010484896 ACN 202010484896ACN 113760412 BCN113760412 BCN 113760412B
Authority
CN
China
Prior art keywords
display element
refreshing
attribute
dial interface
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010484896.0A
Other languages
Chinese (zh)
Other versions
CN113760412A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co LtdfiledCriticalOppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010484896.0ApriorityCriticalpatent/CN113760412B/en
Publication of CN113760412ApublicationCriticalpatent/CN113760412A/en
Application grantedgrantedCritical
Publication of CN113760412BpublicationCriticalpatent/CN113760412B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application relates to a refreshing method and device for display elements on a dial interface, a watch and a computer readable storage medium, which are applied to the watch to acquire the dial interface on the watch, wherein the dial interface comprises a plurality of display elements. And acquiring the attribute of the display element on the dial interface to be refreshed, and controlling the display element to be refreshed according to a refresh mode corresponding to the attribute of the display element. Therefore, different refreshing modes are implemented for the display elements with different attributes on the dial interface, and the traditional situation that all the display elements on the dial interface are refreshed in a unified mode, so that part of display elements are unnecessarily refreshed and power consumption is additionally increased is avoided. Therefore, the display elements on the dial are more accurately controlled to be refreshed by the refreshing method of the display elements on the dial interface, and the power consumption of the watch is greatly reduced.

Description

Method and device for refreshing display elements on dial interface, watch and computer readable storage medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a method and a device for refreshing display elements on a dial interface, a watch and a computer readable storage medium.
Background
With the development of mobile technology, various smart devices are emerging. The intelligent watch has great change for life of people and great convenience. The dial plate of the intelligent watch can display time information and patterns like a traditional watch. The traditional refreshing method of the display elements on the dial interface additionally increases the power consumption because part of the display elements are unnecessarily refreshed.
Therefore, the problem that the power consumption is high in the traditional refreshing method of display elements on the dial interface is urgently needed to be solved.
Disclosure of Invention
The embodiment of the application provides a method and a device for refreshing display elements on a dial interface, a watch and a computer readable storage medium, which can reduce the power consumption of refreshing the display elements on the dial interface.
A method of refreshing display elements on a dial interface, the method comprising:
acquiring a dial interface to be refreshed on the watch, wherein the dial interface comprises a plurality of display elements;
acquiring the attribute of the display element on the dial interface to be refreshed;
and controlling the display element to refresh according to a refresh mode corresponding to the attribute of the display element.
A device for refreshing display elements on a dial interface, applied to a wristwatch, the device comprising:
the watch dial interface acquisition module is used for acquiring a dial interface to be refreshed on the watch, and the dial interface comprises a plurality of display elements;
the display element attribute acquisition module is used for acquiring the attribute of the display element on the dial interface to be refreshed;
And the refreshing control module is used for controlling the display element to be refreshed according to a refreshing mode corresponding to the attribute of the display element. A wristwatch comprising a memory and a processor, the memory storing a computer program, characterized in that the computer program, when executed by the processor, causes the processor to perform the steps of the method of refreshing display elements on a dial interface as described above.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the method of refreshing display elements on a dial interface as described above.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of a method of refreshing a display element on a dial interface as described above.
The method and the device for refreshing the display elements on the dial interface, the watch and the computer readable storage medium are applied to the watch, and the dial interface on the watch is obtained, wherein the dial interface comprises a plurality of display elements. And acquiring the attribute of the display element on the dial interface to be refreshed, and controlling the display element to be refreshed according to a refresh mode corresponding to the attribute of the display element.
Because the refreshing mode corresponds to the attribute of the display element, after the dial interface on the watch is obtained and the attribute of the display element on the dial interface is further obtained, the display element on the dial interface can be controlled to be refreshed according to the refreshing mode corresponding to the attribute of the display element. Therefore, different refreshing modes are implemented for the display elements with different attributes on the dial interface, and the traditional situation that all the display elements on the dial interface are refreshed in a unified mode, so that part of display elements are unnecessarily refreshed and power consumption is additionally increased is avoided. Therefore, the display elements on the dial are more accurately controlled to be refreshed by the refreshing method of the display elements on the dial interface, and the power consumption of the watch is greatly reduced.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an application environment diagram of a method of refreshing display elements on a disk interface in one embodiment;
FIG. 2 is a flow diagram of a method of refreshing display elements on a disk interface in one embodiment;
FIG. 3 is a flow chart of the method of FIG. 2 for controlling a display element to be refreshed in a refresh mode corresponding to an attribute of the display element;
FIG. 4 is a flow chart of a method of refreshing display elements on a disk interface in another embodiment;
FIG. 5 is a flowchart of the refresh mode corresponding to the attribute of the display element in FIG. 3;
FIG. 6 is a flow chart of a method of refreshing display elements on a disk interface in one embodiment;
FIG. 7 is a block diagram of a mechanism for refreshing display elements on a disk interface in one embodiment;
FIG. 8 is a block diagram of another embodiment of a refresh device for display elements on a disk interface;
fig. 9 is a schematic diagram showing an internal structure of the wristwatch in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Fig. 1 is an application scenario diagram of a method for refreshing display elements on a watch interface in one embodiment, where the watch may be a smart watch, and is not limited to the smart watch. As shown in fig. 1, the application environment includes a watch 120. By the refreshing method of the display elements on the dial interface in the application, the watch 120 acquires the dial interface on the watch, the dial interface comprises a plurality of display elements, further acquires the attributes of the display elements on the dial interface to be refreshed, and controls the display elements to be refreshed according to the refreshing mode corresponding to the attributes of the display elements.
FIG. 2 is a flow diagram of a method of refreshing display elements on a disk interface, in one embodiment. The refreshing method of the display elements on the dial interface in this embodiment is described by taking the watch 120 in fig. 1 as an example, and of course, the refreshing method may also be used on other electronic devices, apparatuses, and meters with display interfaces, which is not limited in the present application. As shown in fig. 2, the method for refreshing the display elements on the dial interface includes steps 220 to 260. Wherein,
Step 220, obtaining a dial interface on the watch, wherein the dial interface comprises a plurality of display elements.
The dial interface refers to an interface displayed in a display screen area on the watch 120, and may be used for interaction between a user and the system. The dial interface includes a plurality of display elements thereon, such as: watch hands, background patterns, small plug-ins and the like are all display elements; the widget comprises year, month, day, week, electric quantity, weather, step number, exercise information, health information, position information and the like. The watch can have a plurality of dial interfaces for users to select, for example, the users can slide left and right to switch different dial interfaces for display. The dial interface displayed at present is the dial interface in the foreground, and the alternative dial interface which is not displayed at present is the dial interface in the background. Here, the dial interface on the watch may be acquired through a system in the watch, and the plurality of dial interfaces on the watch for the user to select may be acquired, which is not limited in the present application.
Step 240, obtaining the attribute of the display element on the dial interface to be refreshed.
The attributes of the display elements on the dial interface comprise the attributes of the display elements, such as category, state and the like. For example, the categories of display elements are classified into time categories, background category elements, and the like. The states of the display elements are divided into states of being in a foreground, being in a background and the like. Because the refreshing mode corresponds to the attribute of the display element, the attribute of the display element on the dial interface to be refreshed is acquired, and the display element can be controlled to be refreshed according to the refreshing mode corresponding to the attribute of the display element. For example, a refresh mode may be set for display elements according to the category of the display elements. And a refreshing mode can be correspondingly set for the display element according to the state of the display element. Of course, the refresh mode can be set for the display element by combining the category of the display element and the state of the display element.
In step 260, the display element is controlled to be refreshed according to a refresh mode corresponding to the attribute of the display element.
Because the refreshing mode corresponds to the attribute of the display element, the attribute of the display element on the dial interface to be refreshed is acquired, and the display element can be controlled to be refreshed according to the refreshing mode corresponding to the attribute of the display element. For example, for a dial interface that is in the foreground, the attribute of the display element on the dial interface is also in the foreground, and the display element is controlled to be refreshed according to a refresh mode corresponding to the attribute of the display element. In general, the display elements on the dial interface in the foreground are refreshed in real time, and therefore, the display elements on the dial interface in the foreground are controlled to be refreshed in real time.
In the embodiment of the application, a system in the watch acquires a dial interface on the watch, and the dial interface comprises a plurality of display elements. And acquiring the attribute of the display element on the dial interface to be refreshed, and controlling the display element to be refreshed according to a refresh mode corresponding to the attribute of the display element.
Because the refreshing mode corresponds to the attribute of the display element, after the dial interface on the watch is obtained and the attribute of the display element on the dial interface is further obtained, the display element on the dial interface can be controlled to be refreshed according to the refreshing mode corresponding to the attribute of the display element. Therefore, different refreshing modes are implemented for the display elements with different attributes on the dial interface, and the traditional situation that all the display elements on the dial interface are refreshed in a unified mode, so that part of display elements are unnecessarily refreshed and power consumption is additionally increased is avoided. Therefore, the display elements on the dial are more accurately controlled to be refreshed by the refreshing method of the display elements on the dial interface, and the power consumption of the watch is greatly reduced.
In one embodiment, as shown in fig. 3, controlling the display element to refresh in a refresh manner corresponding to an attribute of the display element includes:
step 262, obtaining a refresh mode corresponding to the attribute of the display element;
in step 264, the display elements are controlled to be refreshed in a refresh mode.
Specifically, a refreshing mode is set for all display elements on each dial interface in advance, and the refreshing mode is set according to the attribute of the display element. Therefore, when the dial interface is refreshed, the system in the watch can acquire the attribute of each display element on the dial interface, acquire the refreshing mode corresponding to the attribute of the display element, and further control each display element on the dial interface to refresh according to the corresponding refreshing mode. And different display elements on the dial interface have different attributes, so that a refreshing mode can be formulated for each display element in a targeted manner.
For a display element with a static attribute, a refresh mode may be set for the display element to be not refreshed. For example, if the attribute of the background pattern on the dial interface is a static element, the refresh mode may be set to be not to refresh the background pattern on the dial interface. Different refresh frequencies can be correspondingly set for display elements with dynamic elements on the dial interface. For example, if the attribute of the pointer of the display time on the dial interface is a dynamic element, the refresh frequency of the hour hand may be set to 5 times/hour for the pointer of the display time on the dial interface. The refresh frequency of the minute hand can be set to 1 time/minute for the minute hand of the display time on the dial interface, and the application is not limited to this. The second hand for displaying the time on the dial interface may be set to a refresh frequency of 1 time/second, and the present application is not limited to this.
In the embodiment of the application, because the dial interface comprises a plurality of display elements and the attribute of each display element is different, a refreshing mode can be correspondingly set for the display element according to the attribute of the display element. Therefore, each display element can be refreshed in a targeted manner according to the attribute of the display element, the differential refreshing is realized, and the situation that part of display elements are refreshed unnecessarily and the power consumption is additionally increased due to the fact that the traditional uniform refreshing mode is adopted for refreshing is avoided. Therefore, the display elements on the dial are more accurately controlled to be refreshed by the refreshing method of the display elements on the dial interface, and the power consumption of the watch is greatly reduced.
In one embodiment, the attributes include state attributes; the method for acquiring the attribute of the display element on the dial interface to be refreshed comprises the following steps: acquiring state attributes of display elements on a dial interface to be refreshed;
The method for acquiring the refreshing mode corresponding to the attribute of the display element comprises the following steps:
Judging whether the display element is in the foreground according to the state attribute of the display element;
And if the display element is in the foreground, acquiring a refreshing mode corresponding to the state attribute of the display element, wherein the refreshing mode is to refresh according to a first refreshing frequency.
As shown in fig. 4, there is provided a method for refreshing display elements on a dial interface, including:
step 420, obtaining a state attribute of a display element on a dial interface to be refreshed;
step 440, judging whether the display element is in the foreground according to the state attribute of the display element;
Step 460, if it is determined that the display element is in the foreground, the refresh mode set for the display element is to refresh according to the first refresh frequency;
in step 460, the display elements are controlled to be refreshed at the first refresh frequency.
Wherein, because the dial interface comprises a plurality of display elements, the attribute of each display element is different. The attributes of the display elements on the dial interface include state attributes of the display elements. The state attribute of the display element may be a state of the display element in a foreground state, a background state, or the like, which is not limited to the present application. The status attribute of the display element is acquired, that is, whether the status of the display element is in the foreground or the background.
Then, after the state of the display element is acquired, it is judged whether the display element is in the foreground, that is, the display element is an element on the dial interface in the foreground. And if the display element is judged to be in the foreground, the refresh mode correspondingly set for the display element is to refresh according to the first refresh frequency. Because the dial interface in the foreground is the dial interface in use by the user, the dial interface in the foreground is necessarily required to be refreshed at a higher refresh frequency so as to meet the real-time use of the user. For example, the first refresh frequency of the display element on the dial interface of the foreground is set to 1 time/second, and the application is not limited to this.
In the embodiment of the application, the state attribute of the display element is acquired, and whether the display element is in the foreground is judged according to the state attribute of the display element. And if the display element is judged to be in the foreground, the refresh mode correspondingly set for the display element is to refresh according to the first refresh frequency. Because the display element in the foreground is the element on the dial interface in the foreground and the dial interface in the foreground is the dial interface in use by the user, the dial interface in the foreground is necessarily required to be refreshed at a higher refresh frequency, so that the real-time use of the user can be met. Therefore, the refreshing mode which is set correspondingly for the display elements in the foreground is to refresh according to the first refreshing frequency, wherein the first refreshing frequency is larger than the second refreshing frequency in the later embodiment, so that the dial interface in the foreground can be ensured to refresh at a higher refreshing frequency, and real-time use of users is met.
In one embodiment, there is provided a refresh of a display element on a dial interface, comprising: and the first zone bit of the dial interface is adopted to represent the state attribute of the display element on the dial interface.
In the embodiment of the application, a first flag bit (MRENDERALL) of a dial interface is adopted to represent the state attribute of the display element on the dial interface, wherein when the first flag bit is a first boolean value (true), the state of the display element is represented as being in the foreground. When the first flag bit is a second boolean value (false), the state of the display element is indicated as being in the background. For example, when the dial interface is in the foreground, a first flag bit (MRENDERALL) of the dial interface is set to a first boolean value (true), and a refresh mode corresponding to the first boolean value is to refresh according to a first refresh frequency. When the display element is actually refreshed, only the first zone bit of the dial interface is required to be read, and if the first zone bit is a first Boolean value, the refreshing mode of the display element of the dial interface can be obtained. The refreshing mode is configured by adding the first zone bit on the dial interface, so that the operation is simple and feasible, and the display elements are refreshed more accurately.
In one embodiment, determining whether the display element is in the foreground based on the status attribute of the display element includes:
acquiring a Boolean value corresponding to a first zone bit of a dial interface;
and judging whether the display element is in the foreground or not according to the Boolean value corresponding to the first flag bit.
In the embodiment of the application, only the Boolean value corresponding to the first zone bit of the dial interface is required to be read in actual refreshing, and whether the display element is in the foreground is judged according to the Boolean value corresponding to the first zone bit. If the first flag bit is a first Boolean value, whether the display element is in the foreground is described, and then a refreshing mode of the display element can be obtained. The method and the device can intuitively and accurately judge whether the display element is in the foreground or not according to the Boolean value corresponding to the first zone bit. And (5) laying a cushion for the refreshing mode of the display element obtained later.
In one embodiment, if the display element is in the foreground, acquiring the refresh mode corresponding to the state attribute of the display element is to refresh according to the first refresh frequency, including:
and when the Boolean value corresponding to the first flag bit is the first Boolean value, obtaining that the display element is in the foreground, and acquiring a refreshing mode corresponding to the state attribute of the display element to refresh according to a first refreshing frequency.
In the embodiment of the application, the state attribute of the display element on the dial interface is represented by adopting the first flag bit (MRENDERALL) of the dial interface, wherein when the first flag bit is a first boolean value (true), the state of the display element is represented as being in the foreground, and the refresh mode of the display element of the dial interface can be obtained as being refreshed according to the first refresh frequency. The refreshing mode is configured by adding the first zone bit on the dial interface, so that the operation is simple and feasible, and the display elements are refreshed more accurately.
In one embodiment, the attributes further comprise a time attribute; as shown in fig. 5, the method for acquiring the refresh mode corresponding to the attribute of the display element further includes:
step 520, if it is determined that the display element is not in the foreground, acquiring a time attribute of the display element on the dial interface to be refreshed;
step 540, judging whether the display element belongs to the time class element according to the time attribute of the display element;
Wherein, because the dial interface comprises a plurality of display elements, the attribute of each display element is different. The attributes of the display elements on the dial interface include time attributes of the display elements. For example, the categories of display elements are classified into time class elements, background class elements, and the like. Wherein, the time class element refers to a display element related to time or a display element which can change continuously with time. The background type refers to a background pattern on a dial interface, and the like, and is mostly a display element which is displayed in a static pattern and does not change continuously with time.
In the foregoing embodiment, if it is determined that the display element is not in the foreground, that is, the display element is the display element on the dial interface of the background, the time attribute of the display element is further obtained, and whether the display element belongs to the time class element is determined according to the time attribute of the display element. For example, time information, movement information, health information, position information, etc. on the dial interface are all changed with time, so that display elements corresponding to these information can be divided into time-class elements.
Step 560, if the display element belongs to the time-class element, acquiring a refresh mode corresponding to the time attribute of the display element to refresh according to the first refresh frequency;
If the display elements are judged to belong to the time class elements, the display elements are changed continuously along with the time. Therefore, in order to meet the real-time use of the user or in order to avoid that the time-class element on the background dial interface is not refreshed in real time, when switching to the background dial interface, the time-class element displays wrong information, misleading the user. Or when the dial interface is switched to the background dial interface, the pointer for displaying the time jumps and the like, thereby bringing the trouble to the use of the user. Therefore, for the display element on the background dial interface, if the display element is judged to belong to the time element, the refresh mode correspondingly set for the display element is to refresh according to the first refresh frequency. Wherein the first refresh rate is greater than the second refresh rate in this embodiment. For example, the first refresh frequency is set to 1 time/second, so that the real-time update of the time class element can be realized.
In step 580, if the display element does not belong to the time-class element, the refresh mode corresponding to the time attribute of the display element is obtained by refreshing according to a second refresh frequency, and the second refresh frequency is smaller than the first refresh frequency.
And if the display elements on the background dial interface are judged not to belong to the time class elements, the refresh mode correspondingly set for the display elements is to refresh according to the second refresh frequency, and the second refresh frequency is smaller than the first refresh frequency. If the display element is judged not to belong to the time class element, the display element does not change continuously with time, such as a background class element (background pattern). Therefore, display elements not belonging to the time class are set to be refreshed at a second refresh rate, which is smaller than the first refresh rate. For example, the second refresh frequency is set to 1 time/hour.
In the embodiment of the application, the time attribute of the display element is obtained for the display element on the background dial interface. Judging whether the display element belongs to the time class element or not according to the time attribute of the display element, and if the display element is judged to belong to the time class element, refreshing the display element according to a first refreshing frequency by a refreshing mode correspondingly set for the display element. If the display element is judged not to belong to the time element, the refresh mode correspondingly set for the display element is to refresh according to the second refresh frequency, and the second refresh frequency is smaller than the first refresh frequency.
And setting corresponding refreshing frequencies for the display elements on the background dial interface according to the time attribute of the display elements. Since the time class element varies with time, a higher refresh frequency is set for the time class element and a lower refresh frequency is set for display elements not belonging to the time class. Therefore, the time-class elements on the background dial interface are prevented from being refreshed in real time, and when the time-class elements are switched to the background dial interface, the time-class elements display wrong information to misguide a user. Or when the dial interface is switched to the background dial interface, the pointer for displaying the time jumps and the like, thereby bringing the trouble to the use of the user. Meanwhile, the display elements which do not belong to the time class are refreshed according to the lower refresh frequency, so that the normal use of a user is met, and the system power consumption is reduced.
In one embodiment, a method for refreshing display elements on a dial interface is provided, and the method further includes: the time attribute of the display element is represented by a second flag bit in the base class of the display element.
In the embodiment of the application, a second flag bit (mHighPriority) is added in the base class of the display element to indicate whether the display element is a time class element. When the display element is actually refreshed, only a first flag bit in the base class of the display element needs to be read, and if the first flag bit is a second Boolean value (false), the state of the display element is shown to be in the background. At this time, a second flag bit (mHighPriority) in the base class of the display element needs to be further read, and a refresh mode of the display element can be obtained according to the boolean value of the second flag bit (mHighPriority). For the dial interface in the background, the refreshing mode is configured by adding the second zone bit (mHighPriority) in the basic class of the display element, the operation is simple and easy, and more refined refreshing control is realized. The display elements on the dial interface at the background are refreshed differentially, so that normal use of a user is met, and meanwhile, the power consumption of the system is reduced.
In one embodiment, determining whether the display element belongs to a time class element according to a time attribute of the display element includes:
acquiring a Boolean value corresponding to a second marker bit in a base class of the display element;
judging whether the display element belongs to the time element according to the Boolean value corresponding to the second flag bit.
Specifically, the boolean value corresponding to the first flag bit in the base class of each display element is judged to be a first boolean value (true) or a second boolean value (false), when the boolean value corresponding to the first flag bit (MRENDERALL) is the first boolean value (true), the display element is indicated to be the display element on the front dial interface, and then the refresh mode of the display element on the dial interface is obtained to refresh according to the first refresh frequency. When the boolean value corresponding to the first flag bit of a certain display element is a second boolean value (false), indicating that the display element is a display element on a background dial interface, further acquiring the boolean value corresponding to the second flag bit (mHighPriority) in the base class of the display element.
And judging that the Boolean value corresponding to the second flag bit (mHighPriority) in the base class of the display element is a first Boolean value (true) or a second Boolean value (false), and when the Boolean value corresponding to the second flag bit is the first Boolean value (true), indicating that the class of the display element is a time class, acquiring a refreshing mode of the display element on the dial interface as refreshing according to a first refreshing frequency. When the boolean value corresponding to the second flag bit is a second boolean value (false), indicating that the category of the display element is not a time category, and acquiring a refresh mode of the display element on the dial interface is to refresh according to a second refresh frequency. The second refresh frequency is less than the first refresh frequency.
In the embodiment of the application, the Boolean value corresponding to the first zone bit in the base class of the display element on the dial interface is firstly obtained, and the display element is judged to be the display element on the dial interface of the foreground or the background. And for the display elements on the dial interface of the foreground, directly controlling the display elements to be refreshed according to the first refresh frequency. And further acquiring a Boolean value corresponding to a second zone bit in the base class of the display element on the dial interface for the display element on the dial interface of the background. Judging whether the category of the display element is a time category or not, and adopting corresponding refreshing frequency in a targeted manner. By the two zone bits, the refresh frequency of different display elements is correspondingly controlled according to the states and the types of the display elements. The occurrence of the traditional condition that all display elements on a dial interface are refreshed in a unified mode, and the power consumption is additionally increased due to unnecessary refreshing of part of display elements is avoided. Therefore, the display elements on the dial are more accurately controlled to be refreshed by the refreshing method of the display elements on the dial interface, and the power consumption of the watch is greatly reduced.
In one embodiment, the temporal class elements include temporal information, athletic information, health information, and location information.
Where time information refers to text or pointers representing time, including text or pointers displayed to seconds. The exercise information refers to information representing the exercise condition of the wearer of the wristwatch, including the number of exercise steps, exercise pace, etc. The health information refers to information representing the health condition of the wearer of the wristwatch, including heart rate, blood oxygen saturation, and the like. The position information refers to information indicating the current position of the wearer of the wristwatch.
In the embodiment of the application, the time information, the motion information, the health information, the position information and the like on the dial interface are changed continuously along with time, so that the display elements corresponding to the information can be divided into time elements. The method is convenient for refreshing according to the refreshing frequency of the time-class elements in the subsequent refreshing process, and the refreshing frequency of the time-class elements is higher under the general condition so as to meet the normal use requirement of users.
In a specific embodiment, the first flag bit of the dial interface, the second flag bit in the base class of the display element, the refreshing mode of the display element, and other display rules (including display position, animation rules, etc.) of the dial interface are all stored in an xml file in advance according to a certain grammar rule, and the xml file is stored in a resource compression package, and of course, may also be stored in other types of files, which is not limited in the application. When refreshing the display element on the dial interface, a system (such as an engine) in the watch analyzes the resource compression package, analyzes the content of the xml file and renders the content into actual display content. There is provided a refreshing method of display elements on a dial interface, as shown in fig. 6, including:
Step 602, a system in the watch acquires dial interfaces on the watch, wherein the dial interfaces comprise dial interfaces in a foreground or a background, and the dial interfaces comprise a plurality of display elements;
step 604, respectively obtaining a boolean value corresponding to a first flag bit (MRENDERALL) of each dial interface;
step 606, judging whether the boolean value corresponding to the first flag bit (MRENDERALL) is a first boolean value (true); if yes, go to step 608; if not, go to step 610;
Step 608, obtaining a refreshing mode of display elements on a dial interface to refresh according to a first refreshing frequency;
Step 610, further obtaining a boolean value corresponding to a second flag bit in the base class of the display element on the dial interface;
Step 612, judging whether the boolean value corresponding to the second flag bit (mHighPriority) is the first boolean value (true); if yes, go to step 608; if not, go to step 614;
step 614, when the boolean value corresponding to the second flag bit (mHighPriority) is a second boolean value (false), the refresh mode of the display element on the dial interface is obtained to refresh according to a second refresh frequency, and the second refresh frequency is smaller than the first refresh frequency;
and 616, controlling the display elements on the dial interface to be refreshed according to the corresponding refresh frequency.
In the embodiment of the application, the system in the watch correspondingly controls the refresh frequency of different display elements according to the states and the types of the display elements through the two zone bits. The occurrence of the traditional condition that all display elements on a dial interface are refreshed in a unified mode, and the power consumption is additionally increased due to unnecessary refreshing of part of display elements is avoided. Therefore, the display elements on the dial are more accurately controlled to be refreshed by the refreshing method of the display elements on the dial interface, and the power consumption of the watch is greatly reduced.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described above may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with at least a part of the sub-steps or stages of other steps or other steps.
In one embodiment, as shown in fig. 7, there is further provided a refreshing apparatus 700 for displaying elements on a dial interface, the apparatus comprising:
the dial interface acquisition module 720 is configured to acquire a dial interface to be refreshed on the watch, where the dial interface includes a plurality of display elements;
The display element attribute obtaining module 740 is configured to obtain an attribute of a display element on the dial interface to be refreshed;
The refresh control module 760 is configured to control the display element to refresh according to a refresh mode corresponding to the attribute of the display element.
In one embodiment, refresh control module 760 includes:
a refresh mode obtaining unit, configured to obtain a refresh mode corresponding to an attribute of a display element;
and the refreshing control unit is used for controlling the display elements to be refreshed according to a refreshing mode.
In one embodiment, the attributes include state attributes; the display element attribute obtaining module 740 is further configured to obtain a state attribute of a display element on the dial interface to be refreshed;
The refreshing mode acquisition unit is also used for judging whether the display element is in the foreground according to the state attribute of the display element; and if the display element is in the foreground, acquiring a refreshing mode corresponding to the state attribute of the display element, wherein the refreshing mode is to refresh according to a first refreshing frequency.
In one embodiment, as shown in fig. 8, there is further provided a refreshing apparatus 700 for displaying elements on a dial interface, the apparatus further comprising:
The first flag bit module 780 is configured to use a first flag bit of the dial interface to represent a status attribute of a display element on the dial interface.
In one embodiment, the refresh mode obtaining unit is further configured to obtain a boolean value corresponding to the first flag bit of the dial interface; and judging whether the display element is in the foreground or not according to the Boolean value corresponding to the first flag bit.
In one embodiment, the refresh mode obtaining unit is further configured to obtain that the display element is in the foreground when the boolean value corresponding to the first flag bit is the first boolean value, and obtain that the refresh mode corresponding to the state attribute of the display element is to refresh according to the first refresh frequency.
In one embodiment, the attributes further comprise a time attribute; the refreshing mode obtaining unit is further used for obtaining the time attribute of the display element on the dial interface to be refreshed if the display element is judged not to be in the foreground; judging whether the display element belongs to a time class element according to the time attribute of the display element; if the display element belongs to the time class element, acquiring a refreshing mode corresponding to the time attribute of the display element to refresh according to a first refreshing frequency; if the display element does not belong to the time class element, the refresh mode corresponding to the time attribute of the display element is obtained by refreshing according to a second refresh frequency, and the second refresh frequency is smaller than the first refresh frequency.
In one embodiment, there is also provided a refreshing apparatus 700 for displaying elements on a dial interface, the apparatus further comprising:
And the second zone bit module is used for representing the time attribute of the display element by adopting a second zone bit in the base class of the display element.
In one embodiment, the refresh mode obtaining unit is further configured to obtain a boolean value corresponding to a second flag bit in the base class of the display element; judging whether the display element belongs to the time element according to the Boolean value corresponding to the second flag bit.
In one embodiment, the temporal class elements include temporal information, athletic information, health information, and location information.
The division of each module in the above-mentioned refreshing device for displaying elements on the dial interface is only used for illustration, and in other embodiments, the refreshing device for displaying elements on the dial interface may be divided into different modules according to the need, so as to complete all or part of the functions of the refreshing device for displaying elements on the dial interface.
The specific limitation of the refreshing device for the display elements on the dial interface can be referred to the limitation of the refreshing method for the display elements on the dial interface, and the description thereof is omitted herein. The above-mentioned all modules in the refreshing device for display elements on the dial interface can be implemented in whole or in part by software, hardware and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Fig. 9 is a schematic diagram showing an internal structure of the wristwatch in one embodiment. As shown in fig. 9, the wristwatch includes a processor and a memory connected through a system bus. Wherein the processor is configured to provide computing and control capabilities to support the operation of the entire watch. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program is executable by a processor for implementing a method for refreshing display elements on a dial interface provided by the above embodiments. The internal memory provides a cached operating environment for operating system computer programs in the non-volatile storage medium.
The implementation of each module in the refreshing device for the display elements on the dial interface provided in the embodiment of the application can be in the form of a computer program. The computer program may run on an electronic device or a server. Program modules of the computer program may be stored in the memory of the electronic device or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of a method of refreshing display elements on a dial interface.
A computer program product containing instructions that, when run on a computer, cause the computer to perform a method of refreshing display elements on a dial interface.
Any reference to memory, storage, database, or other medium used by embodiments of the application may include non-volatile and/or volatile memory. Suitable nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above examples of refreshing the display elements on the dial interface represent only a few embodiments of the application, which are described in more detail and detail, but are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (13)

The refreshing mode obtaining unit is further configured to obtain a time attribute of the display element on the dial interface to be refreshed if the display element is not in the foreground; judging whether the display element belongs to a time class element according to the time attribute of the display element; if the display element belongs to the time element, acquiring a refreshing mode corresponding to the time attribute of the display element to refresh according to a first refreshing frequency; and if the display element belongs to the background element, acquiring a refreshing mode corresponding to the time attribute of the display element to refresh according to a second refreshing frequency, wherein the second refreshing frequency is smaller than the first refreshing frequency.
CN202010484896.0A2020-06-012020-06-01Method and device for refreshing display elements on dial interface, watch and computer readable storage mediumActiveCN113760412B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010484896.0ACN113760412B (en)2020-06-012020-06-01Method and device for refreshing display elements on dial interface, watch and computer readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010484896.0ACN113760412B (en)2020-06-012020-06-01Method and device for refreshing display elements on dial interface, watch and computer readable storage medium

Publications (2)

Publication NumberPublication Date
CN113760412A CN113760412A (en)2021-12-07
CN113760412Btrue CN113760412B (en)2024-07-09

Family

ID=78782599

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010484896.0AActiveCN113760412B (en)2020-06-012020-06-01Method and device for refreshing display elements on dial interface, watch and computer readable storage medium

Country Status (1)

CountryLink
CN (1)CN113760412B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106919402A (en)*2017-03-102017-07-04广东欧珀移动通信有限公司A kind of control method of mobile terminal, device and mobile terminal
CN110619860A (en)*2019-10-152019-12-27Oppo广东移动通信有限公司Screen refresh rate adjusting method and device, storage medium and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2008085614A2 (en)*2007-01-082008-07-17Iskoot, Inc.Methods and systems of providing mobile device calling features
CN102968978B (en)*2011-08-312016-01-27联想(北京)有限公司A kind of control method of display refresh rates and device
CN103000159B (en)*2011-09-132015-06-24联想(北京)有限公司Display control method, display control device and displayer
US10379497B2 (en)*2015-03-072019-08-13Apple Inc.Obtaining and displaying time-related data on an electronic watch
CN106531105B (en)*2016-12-262019-06-28上海天马微电子有限公司Display panel driving method and display panel
CN109308173B (en)*2017-07-262021-10-15腾讯科技(深圳)有限公司Display method and device, display terminal and computer storage medium
CN109739333A (en)*2017-10-312019-05-10上海和辉光电有限公司A kind of method and apparatus of dynamic adjustment screen refresh frequency
CN109144440A (en)*2018-06-262019-01-04努比亚技术有限公司A kind of display refresh control method, terminal and computer readable storage medium
CN110069122B (en)*2018-06-262021-11-19努比亚技术有限公司Screen control method, terminal and computer readable storage medium
CN109272931B (en)*2018-11-232020-06-05京东方科技集团股份有限公司Display control method and device of display panel and display equipment
CN110928396B (en)*2019-11-182021-07-30Oppo(重庆)智能科技有限公司Screen refreshing method and related equipment
CN111131622A (en)*2019-12-312020-05-08联想(北京)有限公司Refresh frequency adjusting method and device, electronic equipment and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106919402A (en)*2017-03-102017-07-04广东欧珀移动通信有限公司A kind of control method of mobile terminal, device and mobile terminal
CN110619860A (en)*2019-10-152019-12-27Oppo广东移动通信有限公司Screen refresh rate adjusting method and device, storage medium and electronic equipment

Also Published As

Publication numberPublication date
CN113760412A (en)2021-12-07

Similar Documents

PublicationPublication DateTitle
TWI700638B (en) Display method and device of mixed view
US11586157B2 (en)Time measuring device indicating time interval durations of particular events
US11151314B2 (en)Extensible grid layout
CN110647704B (en)Page updating method, device and equipment
CN110012165B (en) A method, device, and readable medium for presenting a session list page
CN110020912B (en)Page display method, device and equipment
CN115017340B (en)Multimedia resource generation method and device, electronic equipment and storage medium
CN103064782A (en)Method and device for obtaining control
CN114238815A (en)Page rendering method and device, computer equipment and storage medium
WO2021098239A1 (en)Mini-program switching method and apparatus, framework, device and readable medium
CN111596911A (en)Method and device for generating control, computer equipment and storage medium
US20220283855A1 (en)Method for controlling wearable device, electronic device, and computer-readable storage medium
CN113760412B (en)Method and device for refreshing display elements on dial interface, watch and computer readable storage medium
CN113641294B (en)Information display method and device, electronic equipment and storage medium
CN118916112A (en)Page switching method, device, equipment, storage medium and program product
CN107332986A (en)Obtain method, device and the terminal of Weather information
CN116910405A (en)Page processing method, device, computer equipment and storage medium
EP3223087B1 (en)Display control method and terminal device
CN111309411A (en)Schedule display method and device
CN113542483B (en)Data transmission method and device, wearable device and storage medium
CN115437935A (en)Test case generation method and device, computer equipment and storage medium
CN114703932A (en)Intelligent closestool flushing anti-interference method and device and intelligent closestool
CN114925254B (en)Data display method and device, electronic equipment and storage medium
CN114898075A (en)Information point display method and device, map rendering method, electronic device and storage medium
CN119357185A (en) Business processing method, device, storage medium and electronic device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp