AUTOMATIC REGULAR TIME SERVICE METHOD AND TIME SERVICE SYSTEM FOR POINTER TYPE INTELLIGENT CLOCK
20190250567 ยท 2019-08-15
Inventors
Cpc classification
International classification
Abstract
An automatic regular time service method for a pointer type intelligent clock includes the following steps: a clock is connected to a mobile intelligent terminal by a wireless communication module to obtain a standard time; when the clock is not connected to the mobile intelligent terminal, an MCU module calls an internal error correction parameter list regularly by means of a command signal to obtain a correction time; and a movement controls pointers to rotate to synchronize the time to the standard time or correction time. A time service system for a pointer type intelligent clock is also disclosed. The method and the system solve the timekeeping error problem of a clock caused by a crystal oscillator error of a quartz movement, and can perform an automatic time service even if the clock is not connected to the network.
Claims
1. An automatic regular time service method for a pointer type intelligent clock, the clock comprising an MCU module, a quartz crystal oscillator as a time reference, a movement for driving pointers to rotate, and a wireless communication module communicated with a mobile intelligent terminal, the automatic time service method comprising the steps: Q1: obtaining, by the mobile intelligent terminal, a standard time through a registered operator network; Q2: proceeding to Q3 if the mobile intelligent terminal is connected to the clock via the wireless communication module; skipping to Q4 if not; Q3: sending, by the clock, a request to the mobile intelligent terminal regularly, and sending, by the mobile intelligent terminal, a standard time to the clock by means of a command signal based on the request; or, sending actively and regularly, by the mobile intelligent terminal, a standard time to the clock by means of a command signal; Q4: calling, by the MCU module, an internal error correction parameter list regularly by means of a command signal; Q5: analyzing, by the MCU module, the command signal in Q3 or Q4 and comparing it with a current internal time of the MCU module; synchronizing a time to a correction time through controlling, by the movement, the pointers to rotate if current internal time data is not synchronized with time data of the command signal; or not carrying out time service if current time data of the clock is synchronized with the time data of the command signal; and Q6: in case of proceeding to Q3, storing, by the MCU module, comparison data of the standard time obtained in Q3 and the internal time in Q5 to generate an error correction parameter list for long-term accurate timekeeping.
2. The automatic regular time service method for a pointer type intelligent clock according to claim 1, wherein the error correction parameter list is obtained by calculating a mean of all the stored comparison data every time the comparison data of the standard time obtained in Q3 and the internal time in Q5 is stored in a database, and then using the mean as an error correction parameter for long-term accurate timekeeping.
3. The automatic regular time service method for a pointer type intelligent clock according to claim 2, wherein the error correction parameter is corrected in real time every time the regular time service in Q3 is carried out; in case of the time service being not carried out in Q3, the error correction parameter is not modified; and the correction parameter is stored in a memory that is not affected by the external power outage.
4. The automatic regular time service method for a pointer type intelligent clock according to claim 1, wherein the regular time service refers to a service time every 24N hours and N is an integer greater than or equal to 1.
5. The automatic regular time service method for a pointer type intelligent clock according to claim 1, wherein the wireless communication module is a Bluetooth-low-energy communication module, preferably a Bluetooth-low-energy communication module based on a Bluetooth 4.0 standard.
6. The automatic regular time service method according to claim 1, further comprising, before the automatic time service, a pointer calibration step to ensure that a time indicated by the pointers on a dial is consistent with the current internal time of the MCU module.
7. The automatic regular time service method according to claim 6, wherein the pointer calibration step comprises sending by the mobile intelligent terminal positions of the pointers on the dial to the MCU module, and adjusting by the MCU module the pointers according to the positions of the pointers on the dial to ensure that the time indicated by the current positions of the pointers is consistent with the current internal time of the MCU module.
8. The automatic regular time service method according to claim 7, wherein the calibration step comprises obtaining by the mobile intelligent terminal the positions of the pointers on the dial by photographing or camera shooting through a capturing module.
9. The automatic regular time service method according to claim 7, wherein the calibration step comprises obtaining by the mobile intelligent terminal the positions of the pointers on the dial by means of manual key input or touch screen input.
10. A time service system using the automatic regular time service method according to claim 1, comprising: an MCU module; a quartz crystal oscillator as a time reference; a mobile intelligent terminal, which is an intelligent phone connected to an operator base station network; a wireless communication module communicated with the mobile intelligent terminal, the wireless communication module being a Bluetooth or Bluetooth-low-energy module; the intelligent phone, the MCU module and the wireless communication module being connected to each other by a circuit; a movement for driving pointers to rotate, which is connected to the MCU module, and the pointers being connected to the movement by a steering shaft; wherein the MCU module is configured to analyze commands and operate based on the commands to adjust positions of the pointers by controlling the pointers to rotate through the movement.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0028]
[0029]
[0030]
[0031]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0032] According to specific embodiments of the present disclosure, a technical solution of automatic time service for a smart watch is provided. The technical problem solved by the technical solution of the intelligent time service is directed to a smart watch that performs timing control by using a quartz crystal oscillator, and further to clock equipment with pointers. The technical solution of this embodiment is as follows:
[0033] An automatic regular time service method for a pointer type intelligent clock is provided, wherein the clock includes an MCU module, a quartz crystal oscillator as a time reference, a movement for driving pointers to rotate, and a wireless communication module communicated with a mobile intelligent terminal. The wireless communication module is a Bluetooth-low-energy communication module, preferably a Bluetooth-low-energy communication module based on a Bluetooth 4.0 standard.
[0034] The automatic time service method comprises the following steps:
[0035] Q1: obtaining, by the mobile intelligent terminal, a standard time through a registered operator network;
[0036] Q2: proceeding to Q3 if the mobile intelligent terminal is connected to the clock via the wireless communication module; skipping to Q4 if not;
[0037] Q3: sending, by the clock, a request to the mobile intelligent terminal regularly, and sending by the mobile intelligent terminal a standard time to the clock by means of a command signal based on the request; or, sending actively and regularly, by the mobile intelligent terminal, a standard time to the clock by means of a command signal;
[0038] Q4: calling by the MCU module an internal error correction parameter list regularly by means of a command signal; wherein the error correction parameter list is obtained by calculating a mean of all the stored comparison data every time the comparison data of the standard time obtained in Q3 and the internal time in Q5 is stored in a database, and then using the mean as an error correction parameter for long-term accurate timekeeping;
[0039] Q5: analyzing, by the MCU module, the command signal in Q3 or Q4 and comparing it with a current internal time of the MCU module; synchronizing a time to a correction time through controlling, by the movement, the pointers to rotate if current internal time data is not synchronized with time data of the command signal; or not carrying out time service if current time data of the clock is synchronized with the time data of the command signal; and
[0040] Q6: in case of proceeding to Q3, storing by the MCU module comparison data of the standard time obtained in Q3 and the internal time in Q5 to generate an error correction parameter list for long-term accurate timekeeping.
[0041] The error correction parameter is corrected in real time every time the regular time service in Q3 is carried out; in case of the time service being not carried out in Q3, the error correction parameter is not modified; and the correction parameter is stored in a memory that is not affected by the external power outage. The regular time service refers to a service time every 24N hours and N is an integer greater than or equal to 1.
[0042] In the above embodiment, the smart watch can perform a time service through the network, or can also learn a crystal oscillator error value of the smart watch according to each time service, and can automatically compensate the crystal oscillator according to the learned error value in case that it is not connected to the network. Therefore, the solution solves the time error problem caused by the crystal oscillator error. A correct time is obtained by connecting the mobile intelligent terminal to the network of an operator base station, and then the intelligent terminal performs the Bluetooth zero correction, time service and other control operations on other smart watches, and can obtain a correct time source even in indoor or closed environments without satellite signal overage, so that the problem that the time is inaccurate due to the crystal oscillator error is overcome, thus the precision of the crystal oscillator used in the smart watch can be lowered, thereby saving the cost of the smart watch.
[0043] Second, the problem that the traditional time service watch must be connected to the radio network is solved. The inventors have found through numerous studies that the errors of the quartz crystal oscillator are homogenous, i.e., the same quartz crystal oscillator tends to have the same positive deviation (or negative deviation) at the same time interval. Therefore, it is possible to calculate the error value of the quartz crystal oscillator by multiple measurements over a long period of time, and then compensate the error value at regular intervals to ensure the accuracy of the time. In the present disclosure, the error of the quartz crystal oscillator is obtained through dynamic learning of big data of many times of regular time services, and the clock can ensure an accurate time by means of automatic compensation even if it is not connected to the network.
[0044] To solve the problem of pointer offset, further comprising, before the automatic time service, a pointer calibration step to ensure that a time indicated by the pointers on a dial is consistent with the current internal time of the MCU module. The pointer calibration step comprises sending by the mobile intelligent terminal positions of the pointers on the dial to the MCU module, and adjusting by the MCU module the pointers according to the positions of the pointers on the dial to ensure that the time indicated by the current positions of the pointers is consistent with the current internal time of the MCU module.
[0045] There are several methods for the mobile intelligent terminal to send the positions of the pointers on the dial to the MCU module: in the calibration step, the mobile intelligent terminal obtains the positions of the pointers on the dial by photographing or camera shooting through a capturing module. Alternatively, in the calibration step, the mobile intelligent terminal obtains the positions of the pointers on the dial by means of manual key input or touch screen input.
[0046] The above several methods for obtaining the positions of the pointers on the dial will be described as below:
[0047] I. A Method for Obtaining the Positions of the Pointers on the Dial by Means of Touch Screen Input Includes the Following Steps:
[0048] A1: establishing by the intelligent terminal a wireless connection with the clock. The wireless connection employs conventional wireless connection technologies such as Bluetooth and infrared technologies, preferably a Bluetooth-low-energy technology, such as a technology based on Bluetooth standard 4.0 and above.
[0049] A2: stopping rotation of the physical pointers when the clock is in a state of calibration. As the pointers are to be calibrated, the physical pointers of the clock must be kept still. Here, a calibration mode, in which the physical pointers stop rotating, can be set.
[0050] A3: displaying in a touch screen of the mobile intelligent terminal a screen dial and screen pointers; identifying, by the touch screen, touch tracks and enabling an image of the screen pointers to dynamically change based on the changes in the identified touch tracks, and inputting manually the touch tracks to make end points of the screen pointers as the current positions of the physical pointers; and recording, by the mobile intelligent terminal, the time corresponding to the positions of the screen pointers. This step is to inform the mobile intelligent terminal of the positions of the physical pointers through the touch screen, so that the intelligent terminal records the current positions of the physical pointers. In order to increase the interactivity of the calibration, the screen display dial and the screen display pointers are displayed on the touch screen, so that the user can directly move the screen pointers on the screen.
[0051] Further, the dynamic changes of the screen pointers with the finger touch is achieved by the specific steps: first, A301: providing a position of a coordinate zero point that can be recorded by the mobile intelligent terminal on the screen dial of the touch screen; A302: identifying by the touch screen coordinates of a touch start point which are recorded by the mobile intelligent terminal; A303: pointing by the screen pointers to the touch start point, identifying by the touch screen coordinates of a touch track change process which are dynamically identified and called to the screen pointers, and the screen pointers varying with the change in the touch track; A304: identifying by the touch screen coordinates of a touch end point which are recorded by the mobile intelligent terminal; and A305: calculating an angular variation of the touch track based on the coordinates of the touch start point, the coordinates of the touch end point and the position of the coordinate zero point, to obtain time data corresponding to the screen pointers.
[0052] For better description, referring to
[0053] Finally, A4: transmitting by the mobile intelligent terminal the recorded data of the screen pointers to the clock by means of a command signal, and synchronizing the MCU module of the clock with the physical pointers after analyzing the signal so as to achieve that the time in the MCU module is consistent with that indicated by the physical pointers. At this moment, the mobile intelligent terminal informs the intelligent clock of the positions of the physical pointers, and the time corresponding to these positions is compared by the intelligent lock with the internal time of the MCU module and finally adjusted to synchronization. This step specifically includes: A401, making a judgment by the MCU module after obtaining the positions of the physical pointers; and A402, if the internal time of the MCU module is consistent with the time indicated by the physical pointers, terminate the calibration; if the internal time of the MCU module is not consistent with the time indicated by the physical pointers, calculate by the MCU module a difference value between the two, and send a command to drive the physical pointers to the same positions corresponding to the internal time of the MCU module before continuing to rotate.
[0054] II. A Method for Obtaining the Positions of the Pointers on the Dial by Means of Photographing Includes the Following Steps:
[0055] First, A1: establishing by the intelligent terminal a wireless connection with the clock; the wireless connection employs conventional wireless connection technologies such as Bluetooth and infrared technologies, preferably a Bluetooth-low-energy technology, such as a technology based on Bluetooth standard 4.0 and above.
[0056] Second, A2: stopping rotation of the physical pointers when the clock is in a state of calibration. As the pointers are to be calibrated, the physical pointers of the clock must be kept still. Here, a calibration mode, in which the physical pointers stop rotating, can be set.
[0057] A3: capturing, by the mobile intelligent terminal, an image of the dial and the pointers to obtain time data corresponding to the physical pointers after the captured image is identified. Further, A3 specifically includes the following steps:
[0058] A301: capturing, by the mobile intelligent terminal, an image of the dial and the pointers;
[0059] A302: performing pixel analysis on the image to identify and read scale coordinate data of the pointers and the dial through the pixel identification;
[0060] A303: obtaining positions of the pointers relative to the dial scale based on the scale coordinate data of the pointers and the dial; and
[0061] A304: obtaining the time data corresponding to the physical pointers according to the data of the relative positions.
[0062] In another preferred embodiment, the pointers and the dial scale are coated, inlaid or embedded with a marking material; the capturing module can identify the marking material; and A3 specifically includes the following steps:
[0063] A301: capturing, by the mobile intelligent terminal, an image of the dial and the pointers;
[0064] A302: obtaining scale coordinate data of the pointers and the dial from information of the marking material of the image;
[0065] A303: obtaining positions of the pointers relative to the dial scale based on the scale coordinate data of the pointers and the dial; and
[0066] A304: obtaining the time data corresponding to the physical pointers according to the data of the relative positions.
[0067] In this embodiment, the marking material is a fluorescent material, a radioactive isotope material or a reflective material.
[0068] The advantage of using the marking material is that it can simplify the image analysis, especially suitable for the situation when there are multiple sets of pointers on the dial. A smart watch with multiple sets of pointers also has a date indicating function in addition to a time indicating function, so the sizes of the pointers on the dial are relatively small, and there is a high probability of incorrect identification by using only the pixel analysis. Moreover, the status of each set of pointers and the positions thereof on the dial can be obtained timely and accurately by using the marking materials for identification, thereby greatly improving the accuracy of identification.
[0069] Finally, A4: transmitting, by the mobile intelligent terminal, the time data to the clock by means of a command signal, and synchronizing the MCU module of the clock with the physical pointers after analyzing the signal so as to achieve that the time in the MCU module is consistent with that indicated by the physical pointers.
[0070] Further, the step of synchronizing the MCU module of the clock with the physical pointers in A4 includes the following steps:
[0071] A401: making a judgment by the MCU module after obtaining the positions of the physical pointers; and
[0072] A402: if the internal time of the MCU module and the physical pointer time are the same, terminate the calibration; if the internal time of the MCU module is not consistent with the time indicated by the physical pointers, calculate, by the MCU module, a difference value between the two, and sends a command to drive the physical pointers to the same positions corresponding to the internal time of the MCU module before continuing to rotate.
[0073] For better description, referring to
[0074] III. A Method for Obtaining the Positions of the Pointers on the Dial by Camera Shooting Includes the Following Steps:
[0075] First A1: establishing, by the intelligent terminal, a wireless connection with the clock; the wireless connection can be a Bluetooth-low-energy wireless connection technology, such as a Bluetooth connection technology based on Bluetooth standard 4.0 and above.
[0076] A2: performing, by the mobile intelligent terminal, the camera shooting on the dial and the pointers; identifying, by the mobile intelligent terminal, real-time image data, and obtaining moving coordinates of the physical pointers to calculate the time data indicated by the physical pointers. This step specifically includes the following steps:
[0077] A201: performing, by the mobile intelligent terminal, the camera shooting on the dial and the pointers to obtain an image of the pointers moving over a period of time; A202: performing the pixel analysis on the image to identify and read the scale coordinate data and a change speed of the pointers and the dial through pixel identification; and A203: calculating the coordinate positions and movement trend of the current physical pointers from the coordinate data and the change speed; and A204: forming a command signal of the time data from the coordinate positions and movement trend of the physical pointers.
[0078] In order to improve the accuracy of identification, the pointers and the dial scale are coated, inlaid or embedded with a marking material; and the camera shooting module can identify the marking material. The marking material is a fluorescent material, a radioactive isotope material or a reflective material.
[0079] Finally, A3: transmitting, by the mobile intelligent terminal, the time data to the clock by means of the command signal, and synchronizing the MCU module of the clock with the physical pointers after analyzing the signal so as to achieve that the MCU module is consistent with the movement positions of the physical pointers. This step specifically includes A401: making a judgment by the MCU module after obtaining the time data of the physical pointers; and A402: if the internal time of the MCU module is consistent with the position of the time data, terminate the calibration; if the internal time of the MCU module is not consistent with the time indicated by the physical pointers, calculate, by the MCU module, a difference value between the two, and sends a command to drive the physical pointers to the same positions corresponding to the internal time of the MCU module before continuing to rotate.
[0080] For better description, referring to
[0081] Of course, the present disclosure also discloses a system using the above method. The system includes an MCU module, a quartz crystal oscillator as a time reference, a movement for driving pointers to rotate, and a wireless communication module communicated with a mobile intelligent terminal, wherein the mobile intelligent terminal is an intelligent phone connected to the network of an operator base station, the wireless communication module is a Bluetooth or Bluetooth-low-energy module, the intelligent phone, the MCU module and the wireless communication module are connected to each other by a circuit, and the MCU module is connected to the movement which is configured to drive the pointers to rotate; the pointers and the movement are connected by a steering shaft, and the MCU module is configured to analyze commands and operate based on the commands to adjust positions of the pointers by controlling the pointers to rotate through the movement.
[0082] Based on the disclosure and teachings of the above description, a person skilled in the art can also make variations or modifications to the above embodiments. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and variations of the present invention should also fall into the protection scope of the claims of the present invention. Also, the above description has used some certain specific terms, but these terms are only intended for convenient description and should not constitute any limitation to the present invention.