CN113176726A - Dial plate switching method, intelligent equipment and computer readable storage medium - Google Patents

Dial plate switching method, intelligent equipment and computer readable storage medium Download PDF

Info

Publication number
CN113176726A
CN113176726A CN202110487922.XA CN202110487922A CN113176726A CN 113176726 A CN113176726 A CN 113176726A CN 202110487922 A CN202110487922 A CN 202110487922A CN 113176726 A CN113176726 A CN 113176726A
Authority
CN
China
Prior art keywords
dial
style
pull
mcu
dial plate
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.)
Pending
Application number
CN202110487922.XA
Other languages
Chinese (zh)
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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN202110487922.XA priority Critical patent/CN113176726A/en
Publication of CN113176726A publication Critical patent/CN113176726A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G17/00Structural details; Housings
    • AHUMAN NECESSITIES
    • A44HABERDASHERY; JEWELLERY
    • A44CPERSONAL ADORNMENTS, e.g. JEWELLERY; COINS
    • A44C5/00Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps
    • A44C5/14Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps characterised by the way of fastening to a wrist-watch or the like
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G17/00Structural details; Housings
    • G04G17/02Component assemblies
    • G04G17/04Mounting of electronic components
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G9/00Visual time or date indication means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

The invention discloses a dial switching method, intelligent equipment and a computer readable storage medium. The method is applied to intelligent equipment, the intelligent equipment comprises a dial plate and a watchband, a voltage division circuit is formed when the watchband is connected with the dial plate through a connecting terminal, and the voltage division circuit comprises an MCU with an ADC function and a pull-up resistor which are arranged in the dial plate, and a pull-down resistor which is arranged in the watchband; the ADC end of the MCU is connected with a power supply through a pull-up resistor, the grounding end of the MCU is grounded, and the pull-down resistor is connected with the MCU through the ADC end, the method comprises the following steps: when the MCU detects that the watchband is replaced, acquiring a divided voltage value corresponding to the pull-down resistor; determining the style of a target dial plate according to the divided voltage value; and switching the current dial plate style of the intelligent equipment into a target dial plate style. The invention can realize automatic switching of the dial style and improve the use experience of users.

Description

Dial plate switching method, intelligent equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a dial switching method, intelligent equipment and a computer readable storage medium.
Background
Along with the continuous progress and the development of scientific and technological, wearable equipment has risen rapidly, and the wearable equipment of intelligence on the market is of a great variety, like intelligent wrist-watch and intelligent bracelet etc.. In order to meet the requirements of consumers on individuation and diversification of product experience, enterprises design dials and watchbands with various styles for the consumers to select and switch. However, in the switching process, after the watchband is manually replaced by a user, the style of the watch face of the user is often not matched with the style or color of the replaced watchband, and at the moment, the user needs to manually switch the style of the watch face, so that the operation is complex, and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a dial plate switching method, intelligent equipment and a computer readable storage medium, and aims to solve the problems of complex operation and poor user experience of the existing dial plate switching method.
In order to achieve the purpose, the invention provides a dial plate switching method which is applied to intelligent equipment, wherein the intelligent equipment comprises a dial plate and a watchband, the watchband forms a voltage division circuit when being connected with the dial plate through a connecting terminal, and the voltage division circuit comprises an MCU with an ADC function and a pull-up resistor which are arranged in the dial plate, and a pull-down resistor which is arranged in the watchband; the ADC end of the MCU is connected with a power supply through the pull-up resistor, the grounding end of the MCU is grounded, the pull-down resistor is connected with the MCU through the ADC end, and the dial plate switching method comprises the following steps:
the MCU acquires a divided voltage value corresponding to the pull-down resistor when detecting that the watchband is replaced;
determining the style of a target dial plate according to the divided voltage value;
and switching the current dial plate style of the intelligent equipment into the target dial plate style.
Optionally, the step of determining the style of the target dial according to the divided voltage value includes:
matching the divided voltage value with a preset divided voltage interval, and determining a target interval in which the divided voltage value is located;
and determining the dial style corresponding to the target interval as the target dial style according to the mapping relation between the preset voltage division interval and the dial style.
Optionally, before the step of determining the dial style corresponding to the target interval as the target dial style according to the mapping relationship between the preset divided voltage interval and the dial style, the method further includes:
acquiring a first resistance value of the pull-up resistor and a second resistance value of the pull-down resistor;
calculating to obtain a voltage division interval according to the first resistance value and the second resistance value;
and constructing a mapping relation between the preset voltage division interval and the dial style according to the voltage division interval and the pull-down resistor corresponding to the voltage division interval.
Optionally, the dial switching method further includes:
receiving a dial style setting request, and acquiring dial style setting information carried in the dial style setting request;
and updating the mapping relation between the preset voltage division interval and the dial style according to the dial style setting information.
Optionally, before the step of obtaining the divided voltage value corresponding to the pull-down resistor when the MCU detects that the watchband is replaced, the method further includes:
acquiring a real-time voltage value of the ADC end, and detecting whether the real-time voltage value changes or not;
when the real-time voltage value changes, judging whether the change situation of the real-time voltage value meets a preset condition or not;
if the preset conditions are met, the watchband is judged to be replaced.
Optionally, the dial plate further includes a light sensor in communication connection with the MCU, the light sensor is disposed at a connection between the dial plate and the watchband, and the MCU further includes, before the step of obtaining a divided voltage corresponding to the pull-down resistor when the watchband is replaced:
detecting the light intensity variation trend of the environment where the dial plate is located through the light sensor;
judging whether the light intensity variation trend accords with a preset trend or not;
if the preset trend is met, the watchband is judged to be replaced.
Optionally, the dial switching method further includes:
monitoring an environmental parameter or a user parameter;
and switching dial plate display parameters of the intelligent equipment according to the environmental parameters or the user parameters.
Optionally, before the step of switching the current dial style of the smart device to the target dial style, the method further includes:
generating switching confirmation information, and displaying or broadcasting in voice;
when receiving a switching confirmation instruction fed back by a user, executing the following steps: and switching the current dial plate style of the intelligent equipment into the target dial plate style.
In addition, in order to achieve the above object, the present invention further provides an intelligent device, wherein the intelligent device includes a dial plate and a watchband, and the watchband forms a voltage dividing circuit when connected with the dial plate through a connection terminal; the voltage division circuit comprises an MCU with an ADC function and a pull-up resistor which are arranged in the dial plate, and a pull-down resistor which is arranged in the watchband; the ADC end of the MCU is connected with a power supply through the pull-up resistor, the grounding end of the MCU is grounded, and the pull-down resistor is connected with the MCU through the ADC end; the MCU includes: the dial switching method comprises a memory, a processor and a dial switching program which is stored on the memory and can run on the processor, wherein the steps of the dial switching method can be realized when the dial switching program is executed by the processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a dial switching program which, when executed by a processor, realizes the steps of the dial switching method as described above.
The invention provides a dial plate switching method, intelligent equipment and a computer readable storage medium, wherein the dial plate switching method is applied to the intelligent equipment, the intelligent equipment comprises a dial plate and a watchband, a voltage division circuit is formed when the watchband is connected with the dial plate through a connecting terminal, and the voltage division circuit comprises an MCU with an ADC function and a pull-up resistor which are arranged in the dial plate, and a pull-down resistor which is arranged in the watchband; the ADC end of the MCU is connected with the power supply through the pull-up resistor, the grounding end of the MCU is grounded, the pull-down resistor is connected with the MCU through the ADC end, and the dial plate switching method comprises the following steps: when the MCU detects that the watchband is replaced, acquiring a divided voltage value corresponding to the pull-down resistor; then, determining the style of a target dial plate according to the divided voltage value; and finally, switching the current dial style of the intelligent equipment into the target dial style. In this embodiment, the resistors are respectively embedded in the dial and the watch band, and the target dial style is determined by reading the divided voltage value obtained by dividing the voltage by the resistors, so as to switch the dial style. Through the mode, when the watchband is changed, automatic switching of the watch plate style of the intelligent device is achieved, and use experience of a user is improved. In addition, the mode of forming the voltage division circuit by embedding the resistor is simpler and more convenient in design and development and lower in cost.
Drawings
FIG. 1 is a schematic diagram of the structure of the smart device of the present invention;
FIG. 2 is a schematic diagram of a voltage dividing circuit formed when a watch face and a watch band of the intelligent device are connected;
fig. 3 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a dial switching method according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an intelligent device according to the present invention.
This smart machine can be intelligent wrist-watch, intelligent bracelet etc.. As shown in fig. 1, the smart device includes a dial and a watch band, the watch band can be connected to the dial through a connection terminal, the connection terminal requires at least 2 pins (connection points), of which 1 is an Analog-to-Digital Converter (ADC) signal sampling, and the other 1 is a common ground. When the watchband is specifically implemented, the number of the newly added pins can be correspondingly increased according to the requirement of the newly added function of the watchband. In addition, the dial plate also comprises a display screen capable of displaying pictures, and the style of the dial plate can be switched by controlling the display screen to display different pictures.
Further, a voltage dividing circuit is formed when the watch band is connected to the watch face through the connection terminal, and fig. 2 is a schematic diagram of the voltage dividing circuit formed when the watch face is connected to the watch band according to the present invention. As shown in fig. 2, the voltage divider circuit includes a MCU (Microcontroller Unit) with ADC function and built in the watch face, a pull-up resistor, and a pull-down resistor built in the watch band; the ADC end of the MCU is connected with a power supply (VDD) through a pull-up resistor, the grounding end is grounded, the pull-down resistor is connected with the MCU through the ADC end, and the other end of the pull-down resistor is grounded. It should be noted that, in watchbands of different styles, the resistance values of the pull-down resistors corresponding to the watchbands are different. In addition, the pull-up resistor and the pull-down resistor can be high-precision resistors and are set to be more than 0.1% as much as possible, so that misjudgment caused by resistor errors is prevented, and the accuracy of a switching result can be further improved.
Further, as shown in fig. 2, the dial plate may further include a Display screen for displaying different styles of the dial plate, and the Display screen may be connected to the MCU through an Interface of the type of SPI (Serial Peripheral Interface) or MIPI (Mobile Industry Processor Display Serial Interface). The dial plate may further include a memory, which may be integrated inside the MCU, or may also be an externally-attached independent flash memory (flash memory) or an eMMC (embedded multi-media card). In addition, the ADC function may be an externally-connected independent IC (Integrated Circuit) or Integrated inside the MCU, and during design, an ADC with a resolution of more than 16bit may be selected to improve the recognition accuracy and thus the accuracy of the switching result. In this embodiment, the ADC function and the memory are integrated inside the MCU as an example.
Further, referring to fig. 3, fig. 3 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention is an MCU (micro control unit) in a dial plate of the intelligent equipment.
As shown in fig. 3, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, and a memory 1003. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 3, the memory 1003, which is a kind of computer storage medium, may include a network communication module and a dial switching program.
In the terminal shown in fig. 3, the processor 1001 may be configured to call the dial switching program stored in the memory 1003, and perform the following operations:
the MCU acquires a divided voltage value corresponding to the pull-down resistor when detecting that the watchband is replaced;
determining the style of a target dial plate according to the divided voltage value;
and switching the current dial plate style of the intelligent equipment into the target dial plate style.
Further, the processor 1001 may call the dial switching program stored in the memory 1003, and also perform the following operations:
matching the divided voltage value with a preset divided voltage interval, and determining a target interval in which the divided voltage value is located;
and determining the dial style corresponding to the target interval as the target dial style according to the mapping relation between the preset voltage division interval and the dial style.
Further, the processor 1001 may call the dial switching program stored in the memory 1003, and also perform the following operations:
acquiring a first resistance value of the pull-up resistor and a second resistance value of the pull-down resistor;
calculating to obtain a voltage division interval according to the first resistance value and the second resistance value;
and constructing a mapping relation between the preset voltage division interval and the dial style according to the voltage division interval and the pull-down resistor corresponding to the voltage division interval.
Further, the processor 1001 may call the dial switching program stored in the memory 1003, and also perform the following operations:
receiving a dial style setting request, and acquiring dial style setting information carried in the dial style setting request;
and updating the mapping relation between the preset voltage division interval and the dial style according to the dial style setting information.
Further, the processor 1001 may call the dial switching program stored in the memory 1003, and also perform the following operations:
acquiring a real-time voltage value of the ADC end, and detecting whether the real-time voltage value changes or not;
when the real-time voltage value changes, judging whether the change situation of the real-time voltage value meets a preset condition or not;
if the preset conditions are met, the watchband is judged to be replaced.
Further, the watch face further includes a light sensor in communication connection with the MCU, the light sensor is disposed at a connection position between the watch face and the watch band, the processor 1001 may call a watch face switching program stored in the memory 1003, and further perform the following operations:
detecting the light intensity variation trend of the environment where the dial plate is located through the light sensor;
judging whether the light intensity variation trend accords with a preset trend or not;
if the preset trend is met, the watchband is judged to be replaced.
Further, the processor 1001 may call the dial switching program stored in the memory 1003, and also perform the following operations:
monitoring an environmental parameter or a user parameter;
and switching dial plate display parameters of the intelligent equipment according to the environmental parameters or the user parameters.
Further, the processor 1001 may call the dial switching program stored in the memory 1003, and also perform the following operations:
generating switching confirmation information, and displaying or broadcasting in voice;
and when a switching confirmation instruction fed back by a user is received, switching the current dial style of the intelligent equipment to the target dial style.
Based on the hardware structure, the invention provides various embodiments of the dial plate switching method.
The invention provides a dial switching method.
Referring to fig. 4, fig. 4 is a flowchart illustrating a dial switching method according to a first embodiment of the present invention.
In this embodiment, the dial switching method is applied to an intelligent device, the intelligent device includes a dial and a watchband, and the watchband forms a voltage division circuit when connected with the dial through a connection terminal; the voltage division circuit comprises an MCU with an ADC function and a pull-up resistor which are arranged in the dial plate, and a pull-down resistor which is arranged in the watchband; the ADC end of the MCU is connected with a power supply through the pull-up resistor, and the grounding end of the MCU is grounded; the pull-down resistor is connected with the MCU through an ADC end; the dial switching method comprises the following steps:
step S10, when the MCU detects that the watchband is replaced, the MCU acquires a divided voltage value corresponding to the pull-down resistor;
in this embodiment, the dial switching method is applied to an intelligent device, and the intelligent device may be an intelligent watch, an intelligent bracelet, or the like. As shown in fig. 1, this smart machine includes dial plate and watchband, forms bleeder circuit when the watchband passes through connecting terminal and dial plate to be connected, and connecting terminal needs 2 pins at least, and wherein 1 is ADC signal sampling, and another 1 is common ground. When the watchband is specifically implemented, the number of the newly added pins can be correspondingly increased according to the requirement of the newly added function of the watchband. Further, as shown in fig. 2, the voltage dividing circuit includes an MCU with ADC function and a pull-up resistor built in the watch face, and a pull-down resistor built in the watch band; the ADC end of the MCU is connected with a power supply (VDD) through a pull-up resistor, the grounding end is grounded, the pull-down resistor is connected with the MCU through the ADC end, and the other end of the pull-down resistor is grounded. It should be noted that, in watchbands of different styles, the resistance values of the pull-down resistors corresponding to the watchbands are different. In addition, the pull-up resistor and the pull-down resistor can be high-precision resistors and are set to be more than 0.1% as much as possible, so that misjudgment caused by resistor errors is prevented, and the accuracy of a switching result can be further improved.
Further, as shown in fig. 2, the dial plate may further include a Display screen for displaying different styles of the dial plate, and the Display screen may be connected to the MCU through an Interface of the type of SPI (Serial Peripheral Interface) or MIPI (Mobile Industry Processor Display Serial Interface). The dial plate may further include a memory, which may be integrated inside the MCU, or may also be an externally-attached independent flash memory (flash memory) or an eMMC (embedded multi-media card). In addition, the ADC function may be an externally-connected independent IC (Integrated Circuit) or Integrated inside the MCU, and during design, an ADC with a resolution of more than 16bit may be selected to improve the recognition accuracy and thus the accuracy of the switching result. In this embodiment, the ADC function and the memory are integrated inside the MCU as an example.
In this embodiment, when detecting that the watchband is replaced, the MCU obtains a divided voltage value corresponding to the pull-down resistor. The method for detecting that the watchband is replaced may include, but is not limited to: 1) acquiring a real-time voltage value of an ADC (analog to digital converter) end, and detecting whether the real-time voltage value changes or not; when the real-time voltage value changes, judging whether the change situation of the real-time voltage value meets a preset condition or not; if the preset conditions are met, the watchband is judged to be replaced. 2) A light sensor is arranged at the joint of the dial plate and the watchband, and the light intensity variation trend of the environment where the dial plate is located is detected through the light sensor; judging whether the light intensity variation trend accords with a preset trend or not; if the preset trend is met, the watchband is judged to be replaced. 3) Set up a watchband on the dial plate and change the button, when accomplishing the watchband and change, the user accessible is pressed this watchband and is changed the button and trigger the instruction of changing the completion, and then makes MCU detect the watchband and changed.
When the divided voltage value corresponding to the pull-down resistor is obtained, the analog signal can be converted into the digital signal through the ADC end through the ADC function, and the digital signal is obtained.
Step S20, determining the style of the target dial plate according to the divided voltage value;
after the divided voltage value corresponding to the pull-down resistor is obtained, the style of the target dial is determined according to the divided voltage value.
Specifically, step S20 includes:
step a21, matching the divided voltage value with a preset divided voltage interval, and determining a target interval in which the divided voltage value is located;
step a22, determining the dial style corresponding to the target interval as the target dial style according to the mapping relation between the preset voltage division interval and the dial style.
The determination process of the target dial style comprises the following steps: matching the divided voltage value with a preset divided voltage interval, and determining a target interval in which the divided voltage value is located; and then, determining the dial style corresponding to the target interval as the target dial style according to the mapping relation between the preset voltage division interval and the dial style. The construction process of the mapping relationship between the preset divided voltage interval and the dial style may refer to the following second embodiment, which is not described herein again.
And step S30, switching the current dial style of the intelligent equipment to the target dial style.
And finally, switching the current dial style of the intelligent equipment into the target dial style. Specifically, the MCU can send a dial style switching instruction to a display screen in the dial, the dial style switching instruction comprises information of a target dial style, and the display screen displays the corresponding target dial style based on the dial style switching instruction so as to realize automatic switching of the dial style.
Further, before the step S30, the method may further include:
generating switching confirmation information, and displaying or broadcasting in voice;
when receiving a switching confirmation instruction fed back by a user, executing the following steps: and switching the current dial plate style of the intelligent equipment into the target dial plate style.
In this embodiment, before switching the dial plate style, it may be determined in advance whether the dial plate style needs to be changed with a user, so as to avoid a misoperation, thereby further improving user experience, specifically, after determining the target dial plate style, switching confirmation information may be generated, and display or voice broadcast is performed in a display screen, correspondingly, when the user sees or hears the switching confirmation information, a confirmation switching instruction or a rejection switching instruction may be fed back in a touch screen click or voice reply manner, and when receiving the confirmation switching instruction fed back by the user, the MCU switches the current dial plate style of the intelligent device to the target dial plate style.
The embodiment of the invention provides a dial plate switching method which is applied to intelligent equipment, wherein the intelligent equipment comprises a dial plate and a watchband, the watchband forms a voltage division circuit when being connected with the dial plate through a connecting terminal, and the voltage division circuit comprises an MCU with an ADC function and a pull-up resistor which are arranged in the dial plate, and a pull-down resistor which is arranged in the watchband; the ADC end of the MCU is connected with the power supply through the pull-up resistor, the grounding end of the MCU is grounded, the pull-down resistor is connected with the MCU through the ADC end, and the dial plate switching method comprises the following steps: when the MCU detects that the watchband is replaced, acquiring a divided voltage value corresponding to the pull-down resistor; then, determining the style of a target dial plate according to the divided voltage value; and finally, switching the current dial style of the intelligent equipment into the target dial style. In this embodiment, the resistors are respectively embedded in the dial and the watch band, and the target dial style is determined by reading the divided voltage value obtained by dividing the voltage by the resistors, so as to switch the dial style. Through the mode, when the watchband is changed, automatic switching of the watch plate style of the intelligent device is achieved, and use experience of a user is improved. In addition, the mode of forming the voltage division circuit by embedding the resistor is simpler and more convenient in design and development and lower in cost.
Further, based on the above-described first embodiment, a second embodiment of the dial switching method of the present invention is proposed.
In this embodiment, before step S20, the dial switching method further includes:
step A, acquiring a first resistance value of the pull-up resistor and a second resistance value of the pull-down resistor;
in this embodiment, a process of constructing a mapping relationship between a preset divided voltage interval and a dial style is described, which is specifically as follows:
the method comprises the steps of obtaining a first resistance value of a pull-up resistor and a second resistance value of a pull-down resistor in advance, wherein the resistance values of the pull-down resistors corresponding to watchbands of different styles are different, namely, the second resistance values comprise a plurality of values. For convenience of explanation, the first resistance value is denoted as a, and the plurality of second resistance values corresponding to the watchbands 1 to n are denoted as b1、b2、……、bnThe corresponding dial styles are denoted as style 1, style 2, … …, and style n, respectively.
B, calculating a voltage division voltage interval according to the first resistance value and the second resistance value;
and then, calculating to obtain a voltage division interval according to the first resistance value and the second resistance value. Specifically, the divided voltage intervals corresponding to the watchbands 1-n are respectively: b1/(a+b1)*(1-10%)~b1/(a+b1)*(1+10%)、b2/(a+b2)*(1-10%)~b2/(a+b2)*(1+10%)、……、bn/(a+bn)*(1-10%)~bn/(a+bn) (1+ 10%), e.g. a 1 M.OMEGA.b1When the voltage is 1M omega, the corresponding voltage division voltage interval is 0.45-0.55. Here, since there is a certain error in the measurement process, the error range of 10% is set when calculating the divided voltage interval, and in the specific implementation, the error range of 10% can be flexibly set according to actual needs, and is not limited to 10%.
And step C, constructing a mapping relation between the preset voltage division interval and the dial style according to the voltage division interval and the pull-down resistor corresponding to the voltage division interval.
And constructing a preset mapping relation between the divided voltage interval and the dial style according to the divided voltage interval and the pull-down resistor corresponding to the divided voltage interval. The mapping relationship may be represented in a table form to facilitate subsequent lookup. For example, in the above example, the following mapping relationship can be constructed:
voltage division interval Watch dial style
b1/(a+b1)*(1-10%)~b1/(a+b1)*(1+10%) Style 1
b2/(a+b2)*(1-10%)~b2/(a+b2)*(1+10%) Style 2
…… ……
bn/(a+bn)*(1-10%)~bn/(a+bn)*(1+10%) Style n
In this embodiment, by constructing a mapping relation between a preset divided voltage interval and the dial plate style, the target dial plate style can be determined conveniently according to the acquired divided voltage value, and then the dial plate style switching is performed, so that the automatic switching of the dial plate style of the intelligent device is realized, and the use experience of a user is improved.
Further, based on the above-described first embodiment, a third embodiment of the dial switching method of the present invention is proposed.
In this embodiment, the dial switching method further includes:
step D, receiving a dial style setting request, and acquiring dial style setting information carried in the dial style setting request;
in this embodiment, a user may individually set, through the smart device or the mobile terminal in communication connection with the smart device, a watch style corresponding to different watchbands that the user wants, and then replace a default style corresponding to each watchband, for example, the user may set an example through the mobile terminal, display a current watchband style corresponding to each watchband in a screen, and display an alternative watchband style, and the user may select the current watchband style that the user wants to replace and the alternative watchband style after replacement in a dragging or clicking manner, so as to generate a watch style setting request. Correspondingly, when receiving the watch style setting request, the MCU acquires watch style setting information carried in the watch style setting request, where the watch style setting information includes a current watch band style to be replaced (i.e., the current watch band style to be replaced) and a target setting watch style (i.e., the alternative watch band style after replacement).
And E, updating the mapping relation between the preset voltage division interval and the dial style according to the dial style setting information.
And then, updating the mapping relation between the preset voltage division interval and the dial style according to the acquired dial style setting information, namely updating the style of the current watchband to be replaced in the mapping relation into the target setting dial style.
Through the mode, the user can set the watch plate styles of different watch bands according to the preference of the user, the personalized setting of the watch plate styles is realized, and therefore the use experience of the user can be further improved.
Further, a fourth embodiment of the dial switching method of the present invention is proposed based on the above-described first to third embodiments.
In this embodiment, before step S10, the dial switching method further includes:
step F, acquiring a real-time voltage value of the ADC end, and detecting whether the real-time voltage value changes;
g, when the real-time voltage value changes, judging whether the change situation of the real-time voltage value meets a preset condition or not;
and H, if the preset conditions are met, judging that the watchband is replaced.
In this embodiment, as one of the watchband switching detection methods, the detection process is as follows:
the method comprises the steps that a real-time voltage value of an ADC end is obtained, whether the real-time voltage value changes or not is detected, when the real-time voltage value changes, it is indicated that a watchband which is detached or replaced is connected with a dial plate, further, whether the change situation of the real-time voltage value meets a preset condition or not can be judged, and when the watchband is connected, the real-time voltage value obtained through the ADC end is the divided voltage of a pull-down resistor in the watchband, and the divided voltage is smaller than 1; and when no watchband is connected, the real-time voltage value obtained through the ADC end is the power voltage. Therefore, the preset condition is optionally set such that the real-time voltage value becomes a value smaller than 1 from the power supply voltage. And when the change condition of the real-time voltage value meets the preset condition, judging that the watchband is replaced.
Further, the dial plate further includes a light sensor in communication connection with the MCU, the light sensor is disposed at a connection between the dial plate and the watch band, and before step S10, the dial plate switching method further includes:
step I, detecting the light intensity variation trend of the environment where the dial plate is located through the light sensor;
step J, judging whether the light intensity variation trend accords with a preset trend or not;
and K, if the preset trend is met, judging that the watchband is replaced.
In this embodiment, as another detection method for watchband switching, the detection process is as follows:
and a light sensor is arranged at the joint of the watch plate and the watch band, and the light sensor is arranged on the watch plate and is in communication connection with the MCU. When the watchband is connected with the dial, the light sensor is shielded, so that the detected light intensity is relatively low, and even light cannot be detected; and when the watchband is not connected with the dial plate, the light sensor can detect external light, and the light intensity is relatively bright. Therefore, accessible light sensor detects the light intensity trend of the environment that the dial plate is located, then judges whether light intensity trend accords with and predetermines the trend, wherein, predetermine the trend for by strong weak, if accord with this and predetermine the trend, state that explains smart machine is changed into the state that watchband and dial plate are connected by the state that the watchband is not connected with the dial plate, this moment, then judges that the watchband is changed.
In this embodiment, whether the watchband is changed can accurately be detected through above-mentioned mode, and then when detecting that the watchband is changed, in time obtain the partial voltage value to carry out the switching of dial plate style.
Further, a fifth embodiment of the dial switching method of the present invention is proposed based on the above first to third embodiments.
In this embodiment, the dial switching method further includes:
step L, monitoring environmental parameters or user parameters;
and M, switching dial plate display parameters of the intelligent equipment according to the environment parameters or the user parameters.
In this embodiment, the environmental parameters or the user parameters may be monitored in real time or at regular time, wherein the environmental parameters may include but are not limited to: illumination intensity, temperature, humidity, user parameters may include, but are not limited to: current motion state (e.g., motion state, resting state, etc.), current location, emotional state (e.g., happy, sad, etc.). And then, switching dial plate display parameters of the intelligent equipment according to the environmental parameters or the user parameters. Among other things, dial display parameters may include, but are not limited to: display brightness, display color temperature, contrast.
In this embodiment, by monitoring the environmental parameter or the user parameter, and then switching the dial plate display parameter of the intelligent device according to the environmental parameter or the user parameter, the dial plate display parameter can be intelligently adjusted according to the environment or the current situation of the user, so as to further improve the user experience.
The present invention also provides a computer-readable storage medium having stored thereon a dial switching program which, when executed by a processor, implements the steps of the dial switching method as described in any of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is basically the same as the embodiments of the dial switching method described above, and is not described herein again.
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 system 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 system. 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 system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., 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.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A dial plate switching method is characterized by being applied to intelligent equipment, wherein the intelligent equipment comprises a dial plate and a watchband, a voltage division circuit is formed when the watchband is connected with the dial plate through a connecting terminal, and the voltage division circuit comprises an MCU with an ADC function and a pull-up resistor which are arranged in the dial plate, and a pull-down resistor which is arranged in the watchband; the ADC end of the MCU is connected with a power supply through the pull-up resistor, the grounding end of the MCU is grounded, the pull-down resistor is connected with the MCU through the ADC end, and the dial plate switching method comprises the following steps:
the MCU acquires a divided voltage value corresponding to the pull-down resistor when detecting that the watchband is replaced;
determining the style of a target dial plate according to the divided voltage value;
and switching the current dial plate style of the intelligent equipment into the target dial plate style.
2. The dial switching method of claim 1 wherein said step of determining a target dial style from said divided voltage values comprises:
matching the divided voltage value with a preset divided voltage interval, and determining a target interval in which the divided voltage value is located;
and determining the dial style corresponding to the target interval as the target dial style according to the mapping relation between the preset voltage division interval and the dial style.
3. The dial switching method according to claim 2, wherein before the step of determining the dial style corresponding to the target interval as the target dial style according to the preset mapping relationship between the divided voltage interval and the dial style, the dial switching method further comprises:
acquiring a first resistance value of the pull-up resistor and a second resistance value of the pull-down resistor;
calculating to obtain a voltage division interval according to the first resistance value and the second resistance value;
and constructing a mapping relation between the preset voltage division interval and the dial style according to the voltage division interval and the pull-down resistor corresponding to the voltage division interval.
4. The dial switching method according to claim 2, wherein the dial switching method further comprises:
receiving a dial style setting request, and acquiring dial style setting information carried in the dial style setting request;
and updating the mapping relation between the preset voltage division interval and the dial style according to the dial style setting information.
5. The dial switching method according to any one of claims 1 to 4, wherein the MCU further includes, before the step of obtaining the divided voltage value corresponding to the pull-down resistor when detecting that the wristband is replaced:
acquiring a real-time voltage value of the ADC end, and detecting whether the real-time voltage value changes or not;
when the real-time voltage value changes, judging whether the change situation of the real-time voltage value meets a preset condition or not;
if the preset conditions are met, the watchband is judged to be replaced.
6. The method for switching a dial according to any one of claims 1 to 4, wherein the dial further includes a light sensor communicatively connected to the MCU, the light sensor is disposed at a connection point between the dial and the wristband, and the MCU further includes, before the step of obtaining the divided voltage corresponding to the pull-down resistor when detecting that the wristband is replaced:
detecting the light intensity variation trend of the environment where the dial plate is located through the light sensor;
judging whether the light intensity variation trend accords with a preset trend or not;
if the preset trend is met, the watchband is judged to be replaced.
7. The dial switching method according to any one of claims 1 to 4, further comprising:
monitoring an environmental parameter or a user parameter;
and switching dial plate display parameters of the intelligent equipment according to the environmental parameters or the user parameters.
8. The dial switching method of any of claims 1 to 4, wherein the step of switching the current dial style of the smart device to the target dial style is preceded by the step of:
generating switching confirmation information, and displaying or broadcasting in voice;
when receiving a switching confirmation instruction fed back by a user, executing the following steps: and switching the current dial plate style of the intelligent equipment into the target dial plate style.
9. The intelligent equipment is characterized by comprising a dial plate and a watchband, wherein the watchband forms a voltage division circuit when being connected with the dial plate through a connecting terminal; the voltage division circuit comprises an MCU with an ADC function and a pull-up resistor which are arranged in the dial plate, and a pull-down resistor which is arranged in the watchband; the ADC end of the MCU is connected with a power supply through the pull-up resistor, the grounding end of the MCU is grounded, and the pull-down resistor is connected with the MCU through the ADC end; the MCU includes: memory, processor and dial switching program stored on the memory and executable on the processor, the dial switching program when executed by the processor implementing the steps of the dial switching method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a dial switching program that, when executed by a processor, implements the steps of the dial switching method according to any one of claims 1 to 8.
CN202110487922.XA 2021-04-30 2021-04-30 Dial plate switching method, intelligent equipment and computer readable storage medium Pending CN113176726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110487922.XA CN113176726A (en) 2021-04-30 2021-04-30 Dial plate switching method, intelligent equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110487922.XA CN113176726A (en) 2021-04-30 2021-04-30 Dial plate switching method, intelligent equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113176726A true CN113176726A (en) 2021-07-27

Family

ID=76928216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110487922.XA Pending CN113176726A (en) 2021-04-30 2021-04-30 Dial plate switching method, intelligent equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113176726A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685283A (en) * 2012-05-10 2012-09-19 华为终端有限公司 Device module identification method and device and mobile terminal
CN103760758A (en) * 2014-01-02 2014-04-30 林炮勤 Intelligent watch and intelligent display method thereof
CN203706198U (en) * 2013-10-09 2014-07-09 深圳市邦彦信息技术有限公司 PCB (printed circuit board) version number identification circuit and device
CN104656410A (en) * 2015-03-17 2015-05-27 深圳市欧珀通信软件有限公司 Method and device for switching dial plates, and intelligent watch
CN106170710A (en) * 2015-04-29 2016-11-30 广东欧珀移动通信有限公司 Identify the method for type, power supply adaptor and the cable of cable
CN108272182A (en) * 2017-01-03 2018-07-13 北京搜狗科技发展有限公司 A kind of wrist-watch and its watchband
CN112710300A (en) * 2020-12-01 2021-04-27 上海豪承信息技术有限公司 Method and device for switching dial plate of wearable device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685283A (en) * 2012-05-10 2012-09-19 华为终端有限公司 Device module identification method and device and mobile terminal
CN203706198U (en) * 2013-10-09 2014-07-09 深圳市邦彦信息技术有限公司 PCB (printed circuit board) version number identification circuit and device
CN103760758A (en) * 2014-01-02 2014-04-30 林炮勤 Intelligent watch and intelligent display method thereof
CN104656410A (en) * 2015-03-17 2015-05-27 深圳市欧珀通信软件有限公司 Method and device for switching dial plates, and intelligent watch
CN106170710A (en) * 2015-04-29 2016-11-30 广东欧珀移动通信有限公司 Identify the method for type, power supply adaptor and the cable of cable
CN108272182A (en) * 2017-01-03 2018-07-13 北京搜狗科技发展有限公司 A kind of wrist-watch and its watchband
CN112710300A (en) * 2020-12-01 2021-04-27 上海豪承信息技术有限公司 Method and device for switching dial plate of wearable device

Similar Documents

Publication Publication Date Title
CN107945769B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
CN116996609A (en) Method for determining dial image and electronic device thereof
CN108768821B (en) Information pushing method and device, server and computer readable medium
CN107105090B (en) A kind of control method, device and the mobile terminal of suspension button
CN107329659B (en) Permission setting method and device, electronic equipment and storage medium
CN109582402B (en) Page display method and device
CN112997134A (en) Application icon display method and device, storage medium and electronic equipment
CN105549829A (en) Setting project processing method and apparatus
CN106406433B (en) A kind of brightness control system
CN106768311B (en) A kind of environment light detection method, device and terminal
CN111158788A (en) Desktop starter control method and device and storage medium
CN113176726A (en) Dial plate switching method, intelligent equipment and computer readable storage medium
CN110945464A (en) Sliding signal identification method, MCU, touch control equipment and storage medium
CN106376152B (en) A kind of brightness adjusting method and mobile terminal
CN106951239B (en) Method and device for setting display of application program
CN105744047B (en) Information display method and device applied to mobile terminal
CN107930126B (en) Game reservation data processing method and device and mobile terminal
CN107391196B (en) Application program updating method and mobile terminal
CN106060615B (en) Judgment method and device for realizing screen parameter automatic matching by using optical sensor
CN114077210B (en) Information processing method and device and multifunctional equipment
CN107092429B (en) Attribute learning method, terminal and the server of image processing method, Decorative paster
CN112449227B (en) Interaction method and device for touch screen application compatible with remote controller operation and smart television
CN106951241B (en) Method and device for setting display of application program
CN112468952B (en) Positioning method, positioning device, storage medium and electronic equipment
JP2020034365A (en) Measured data processing device, measuring system, and measured data processing program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210727

RJ01 Rejection of invention patent application after publication