1. Technical Field
The present disclosure relates to electronic devices, and particularly, to an electronic device with a time update function and a method thereof.
2. Description of Related Art
The system time of electronic devices, for example, mobile phones, may become inconsistent with a standard time due to internal and external factors, for example, temperature. The electronic devices often cannot automatically adjust their system time, and this lack of adjustment function needs to be filled.
Many aspects of the present disclosure should be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Embodiments of the present disclosure will now be described in detail, with reference to the accompanying drawings.
Referring to
In step S200, the processing module 30 determines the system time according to the stored initial time and the source of real time in the electronic device.
In step S201, the processing module 30 determines whether the audio signals received by the audio input port 50 include the current time information. If they do, the procedure goes to step S202, otherwise the processing module 30 repeats step S201.
In step S202, the processing module 30 determines whether the system time is consistent with the current time information received. If yes, the procedure returns to step S201, otherwise the procedure goes to step S203.
In step S203, the processing module 30 replaces the initial time with the current time information received, to adjust the system time.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being exemplary embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2011 1 0028528 | Jan 2011 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5363348 | Damle | Nov 1994 | A |
5469411 | Owen | Nov 1995 | A |
5794205 | Walters et al. | Aug 1998 | A |
5825871 | Mark | Oct 1998 | A |
6373374 | Siemens | Apr 2002 | B1 |
6717598 | Melton et al. | Apr 2004 | B1 |
7167417 | Akahane et al. | Jan 2007 | B2 |
7821876 | Frantz | Oct 2010 | B2 |
7916579 | Treyz et al. | Mar 2011 | B1 |
8185770 | Siemens et al. | May 2012 | B2 |
8194506 | Luk | Jun 2012 | B2 |
20110292769 | Snider et al. | Dec 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20120188853 A1 | Jul 2012 | US |