CN104850005A - Electronic device and time setting method thereof - Google Patents
Electronic device and time setting method thereof Download PDFInfo
- Publication number
- CN104850005A CN104850005A CN201410055180.3A CN201410055180A CN104850005A CN 104850005 A CN104850005 A CN 104850005A CN 201410055180 A CN201410055180 A CN 201410055180A CN 104850005 A CN104850005 A CN 104850005A
- Authority
- CN
- China
- Prior art keywords
- time
- information
- electronic device
- electronic equipment
- unit
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000006855 networking Effects 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 7
- 239000010453 quartz Substances 0.000 description 5
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N silicon dioxide Inorganic materials O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04R—RADIO-CONTROLLED TIME-PIECES
- G04R20/00—Setting the time according to the time information carried or implied by the radio signal
- G04R20/02—Setting the time according to the time information carried or implied by the radio signal the radio signal being sent by a satellite, e.g. GPS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a time setting method applied to an electronic device having a camera; the method comprises the following steps: receiving a first order, and controlling the camera to collect images of a reference object; analyzing the collected images, parsing time information in the collected images, and generating a second order; executing the second order, and writing the time information in the electronic device. The invention also discloses the electronic device; the method can fast set the time of the electronic device, thus improving user experiences.
Description
Technical Field
The invention relates to the field of electronic equipment, in particular to electronic equipment and a time setting method thereof.
Background
At present, there are two general ways to set the time of an electronic device, one is manual setting, and the other is network synchronization setting. In practical applications, when the electronic device (such as a mobile phone) is restarted after the system is booted, the system time of the electronic device is often recovered to the time set by the factory, and the user needs to manually reset the system time, which is inconvenient. In addition, the electronic equipment has a limited time setting mode for the user, and the interestingness of the user in setting the time of the electronic equipment is reduced.
Disclosure of Invention
In view of this, embodiments of the present invention mainly provide an electronic device and a method for setting time thereof, which can quickly set time of the electronic device and improve user experience.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a method for setting time, which is applied to electronic equipment with a camera device and comprises the following steps:
receiving a first instruction, and controlling the camera device to acquire an image of a reference object;
analyzing the acquired image, and generating a second instruction when analyzing the time information in the acquired image;
and executing the second instruction, and writing the time information into the electronic equipment.
Preferably, when the time information is written into the electronic device, the method further includes:
acquiring position information of the electronic equipment according to Global Positioning System (GPS) information, and determining time zone information according to the position information;
and combining the time zone information, setting the time information as the system time of the electronic equipment, and displaying the time.
Preferably, when the time display is performed, the method further includes:
and displaying the time difference between the system time reset and the time before the system time reset.
Preferably, after the time display, the method includes:
detecting whether the electronic equipment is in a networking state or not, and acquiring accurate time pushed by a network side when the electronic equipment is determined to be in the networking state;
and comparing whether the current display time is consistent with the accurate time pushed by the network side, and if not, updating the current display time of the electronic equipment to the accurate time pushed by the network side.
Preferably, the time information includes at least the following information:
hour, minute, second.
Preferably, the reference object is a reference object including time information.
The embodiment of the invention also provides the electronic equipment, wherein the electronic equipment is provided with a camera device; the electronic equipment further comprises a control unit, an analysis unit and a setting unit: wherein,
the control unit is used for receiving a first instruction and controlling the camera device to acquire an image of a reference object;
the analysis unit is used for analyzing the acquired image and generating a second instruction when analyzing the time information in the acquired image;
and the setting unit is used for executing the third instruction and writing the time information into the electronic equipment.
Preferably, the electronic device further comprises a time zone information determining unit, configured to obtain location information of the electronic device according to GPS information, and determine time zone information according to the location information;
correspondingly, the setting unit is further configured to set the time information as the system time of the electronic device in combination with the time zone information;
the electronic equipment further comprises a display unit for displaying time when the setting unit sets the time information as the system time of the electronic equipment.
Preferably, the display unit is further configured to:
and displaying the time difference between the system time reset and the time before the system time reset.
Preferably, the electronic device further comprises a detection unit, a network time acquisition unit and a judgment unit; wherein,
the detection unit is used for detecting whether the electronic equipment is in a networking state;
the network time acquisition unit is used for acquiring accurate time pushed by a network side when the electronic equipment is determined to be in a networking state;
the judging unit is used for comparing whether the current display time is consistent with the accurate time pushed by the network side;
the display unit is further used for updating the current display time of the electronic equipment to the accurate time pushed by the network side when the judging unit determines that the current display time is inconsistent with the accurate time pushed by the network side;
correspondingly, the setting unit is further configured to set the accurate time pushed by the network side as the system time of the electronic device when the judging unit determines that the current display time is inconsistent with the accurate time pushed by the network side.
Preferably, the time information includes at least the following information:
hour, minute, second.
Preferably, the reference object is a reference object including time information.
The electronic equipment and the time setting method thereof provided by the embodiment of the invention receive a first instruction and control the camera device to acquire an image of a reference object; analyzing the acquired image, and generating a second instruction when analyzing the time information in the acquired image; and executing the second instruction, and writing the time information into the electronic equipment. Therefore, the time of the electronic equipment can be set quickly, and the user experience is improved. In addition, the technical scheme provided by the embodiment of the invention provides a new time setting mode, namely, the time is set by acquiring the time information in the image through the camera device, so that the effect of the electronic equipment which can be seen and obtained is achieved, the operation is more vivid and interesting, and the interest of the user in setting the time of the electronic equipment is greatly improved.
Drawings
Fig. 1 is a schematic flowchart of a method for setting time according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for setting time according to a second embodiment of the present invention;
FIG. 3 is a schematic view of a reference object provided in accordance with an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for setting time according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for setting time according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a first embodiment of the invention;
fig. 7 is a schematic structural diagram of an electronic device according to a second embodiment of the invention;
fig. 8 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
A method for setting time according to an embodiment of the present invention is applied to an electronic device having an image capturing apparatus, as shown in fig. 1, in a preferred embodiment of the present invention, the method for setting time mainly includes the following steps:
step 101: receiving a first instruction, and controlling the camera device to acquire an image of a reference object;
since the method is applied to an electronic device, the execution subject of step 101 is the electronic device, and then step 101 can also be described as: and the electronic equipment receives the first instruction and controls the camera device to acquire the image of the reference object.
Preferably, the reference object is a reference object including time information.
For example, the reference object may be a watch, a quartz clock, an alarm clock, or even a dial clock drawn on paper by the user or time-minutes-seconds (e.g. 16:30: 08) written on paper to represent time.
Here, the image pickup device may be an apparatus having a camera.
Here, the first instruction is an instruction for controlling the imaging device to capture an image of a reference object. For example, the first instruction may be generated when the user selects to set the time using the image pickup apparatus mode.
Step 102: analyzing the acquired image, and generating a second instruction when analyzing the time information in the acquired image;
since the method is applied to an electronic device, the execution subject of step 102 is the electronic device, and then step 102 can also be described as: and the electronic equipment analyzes the acquired image, and generates a second instruction when analyzing the time information in the acquired image.
Here, the electronic device analyzes the captured image in order to acquire time information in the captured picture, regardless of whether the time information in the picture is represented in the form of hour, minute, and second hands represented by a quartz clock, or in the form of numbers represented by an electronic watch.
Here, the captured image may be analyzed using image processing techniques known in the art.
Step 103: and executing the second instruction, and writing the time information into the electronic equipment.
Since the method is applied to an electronic device, the execution subject of step 103 is the electronic device, and then step 103 can also be described as: and the electronic equipment executes the second instruction and writes the time information into the electronic equipment.
Therefore, the method for setting the time can quickly set the time of the electronic equipment, and the user experience is improved.
An embodiment of the present invention further provides a method for setting time, which is applied to an electronic device with an image capturing apparatus, as shown in fig. 2, in a preferred embodiment of the present invention, the method for setting time mainly includes the following steps:
step 201: receiving a first instruction, and controlling the camera device to acquire an image of a reference object;
here, controlling the camera to capture an image of a reference object includes:
and aligning the camera device to the region of the reference object providing time, and photographing the region.
Here, the reference object is a reference object including time information.
For example, the reference object may be a watch, a quartz clock, an alarm clock, even a dial clock drawn on paper by the user, etc.
Step 202: analyzing the acquired image, and generating a second instruction when analyzing the time information in the acquired image;
here, the analysis of the acquired image can be realized by using image processing techniques in the prior art.
Preferably, the time information further includes: time zone information.
For example, if a user writes a beijing time zone and 14:50:08 on a card, the camera device takes a picture of the card, and the electronic device analyzes the acquired image to obtain time information including time, minute and second information and time zone information. Therefore, the electronic equipment can be more accurate when the time is set.
Step 203: executing the second instruction, and writing the time information into the electronic equipment;
here, the currently parsed time may be written into a time register of the electronic device; the time zone information may be written to a time zone file of the electronic device.
Step 204: and setting the time information as the system time of the electronic equipment, and displaying the time.
Here, the electronic device can present the time information in the captured image and perform time display with the time information as a starting point.
Since the method is applied to an electronic device, all the executing subjects of the steps 201, 202, 203, 204 may be the electronic device.
In this way, the control method in this embodiment provides a way of setting time by using the camera device, that is, firstly, taking a picture of the reference object by using the camera device, then analyzing the time information in the acquired image, and writing the time information into the electronic device, so that the operation is more vivid and interesting.
FIG. 3 shows two typical references, the reference shown in FIG. 3 (a) being a clock presenting time information in the form of hour, minute and second hands; the reference object shown in fig. 3 (b) is an electronic watch that presents time information in digital form.
Thus, with the method for setting time in this embodiment, when the image of the reference object is captured by the camera device, the electronic device can finally present the time information in the captured image, and display the time with the time information as a starting point; therefore, the effect of what the electronic equipment sees is achieved, and the interestingness of the user in setting the time of the electronic equipment is greatly improved.
An embodiment of the present invention further provides a method for setting time, which is applied to an electronic device with an image capturing apparatus, as shown in fig. 4, in a preferred embodiment of the present invention, the method for setting time mainly includes the following steps:
step 401: receiving a first instruction, and controlling the camera device to acquire an image of a reference object;
here, controlling the camera to capture an image of a reference object includes:
and aligning the camera device to the region of the reference object providing time, and photographing the region.
Here, the reference object is a reference object including time information.
For example, the reference object may be a watch, a quartz clock, an alarm clock, even a dial clock drawn on paper by the user, etc.
Step 402: analyzing the acquired image, and generating a second instruction when analyzing the time information in the acquired image;
here, the analysis of the acquired image can be realized by using image processing techniques in the prior art.
Here, the time information is generally time information that does not relate to time zone information.
Step 403: executing the second instruction, and writing the time information into the electronic equipment;
here, the currently parsed time may be written into a time register of the electronic device.
Step 404: acquiring the position information of the electronic equipment according to the GPS information, and determining time zone information according to the position information;
here, the position information of the electronic device is acquired according to the GPS information, and the time zone information is determined according to the position information, so that the determined time zone information is more accurate.
Step 405: and combining the time zone information, setting the time information as the system time of the electronic equipment, and displaying the time.
Preferably, when the time display is performed, the method further includes:
and displaying the time difference between the system time reset and the time before the system time reset.
Since the method is applied to an electronic device, all execution subjects of the steps 401, 402, 403, 404, and 405 may be electronic devices.
In this way, the control method in this embodiment provides a way of setting time by using the camera device, that is, first, taking a picture of a reference object by using the camera device, analyzing time information in the acquired image, then obtaining location information of the electronic device according to GPS information, then determining time zone information according to the location information, and finally, setting the time information as system time of the electronic device by combining the time zone information, so that the set time is more accurate; in addition, when time display is carried out, the time difference between the time after the system time is reset and the time before the system time is reset is displayed, and the user can feel more intuitional.
An embodiment of the present invention further provides a method for setting time, which is applied to an electronic device with an image capturing apparatus, as shown in fig. 5, in a preferred embodiment of the present invention, the method for setting time mainly includes the following steps:
step 501: receiving a first instruction, and controlling the camera device to acquire an image of a reference object;
here, controlling the camera to capture an image of a reference object includes:
and aligning the camera device to the region of the reference object providing time, and photographing the region.
Here, the reference object is a reference object including time information.
For example, the reference object may be a watch, a quartz clock, an alarm clock, even a dial clock drawn on paper by the user, etc.
Step 502: analyzing the acquired image, and generating a second instruction when analyzing the time information in the acquired image;
here, the analysis of the acquired image can be realized by using image processing techniques in the prior art.
Here, the time information is generally time information that does not relate to time zone information.
Step 503: executing the second instruction, and writing the time information into the electronic equipment;
here, the currently parsed time may be written into a time register of the electronic device.
Step 504: setting the time information as the system time of the electronic equipment, and displaying the time;
preferably, when the time display is performed, a time difference between the time after the system time is reset and the time before the system time is reset may be displayed.
Preferably, when the time information is set as the system time of the electronic device, the method further includes:
acquiring the position information of the electronic equipment according to the GPS information, and determining time zone information according to the position information;
and setting the time information as the system time of the electronic equipment by combining the time zone information.
Step 505: detecting whether the electronic equipment is in a networking state or not, and acquiring accurate time pushed by a network side when the electronic equipment is determined to be in the networking state;
step 506: and comparing whether the current display time is consistent with the accurate time pushed by the network side, and if not, updating the current display time of the electronic equipment to the accurate time pushed by the network side.
Here, when the current display time is consistent with the accurate time pushed by the network side, it is not necessary to update the current display time of the electronic device to the accurate time pushed by the network side.
Since the method is applied to an electronic device, all execution subjects of the steps 501, 502, 503, 504, 505, and 506 may be the electronic device.
In the control method in this embodiment, a camera device is used to capture a picture of a reference object, time information in the acquired image is analyzed, position information of the electronic device is acquired according to GPS information, time zone information is determined according to the position information, and the time information is set as system time of the electronic device in combination with the time zone information; in order to ensure the accuracy of the set time, acquiring the accurate time pushed by the network side, and updating the current display time of the electronic equipment to the accurate time pushed by the network side when the current display time is inconsistent with the accurate time pushed by the network side; therefore, the requirement that the user experiences a new time setting mode is met, and the display time of the electronic equipment is ensured to be accurate after the user sets time by adopting the new time setting mode.
In response to the method for setting time, an embodiment of the present invention provides an electronic apparatus, which has an image capturing device, and as shown in fig. 6, the electronic apparatus mainly includes a control unit 61, an analysis unit 62, and a setting unit 63: wherein,
the control unit 61 is configured to receive a first instruction and control the camera device to perform image acquisition on a reference object;
the analysis unit 62 is configured to analyze the acquired image, and generate a second instruction when analyzing the time information in the acquired image;
the setting unit 63 is configured to execute the second instruction, and write the time information into the electronic device.
Here, the image pickup apparatus is a device having a camera.
Preferably, the setting unit 63 is further configured to set the time information as a system time of the electronic device.
Preferably, the time information includes at least the following information:
hour, minute, second.
Preferably, the time information further includes: time zone information.
Here, when the setting unit 63 writes the time information into the electronic apparatus, the time may be written into a time register of the electronic apparatus, and the time zone information may be written into a time zone file of the electronic apparatus. The time register and the time zone file are inherent units in the electronic equipment.
Preferably, the reference object is a reference object including time information.
Preferably, the electronic device has a mode of setting time by the camera, and also has a mode of manually setting time or a mode of setting time in synchronization with a network in the prior art.
With the electronic apparatus shown in fig. 6, when the electronic apparatus has three ways of setting time, the first is manual setting, the second is network synchronization setting, and the third is camera setting. When the user finds that the time of the electronic equipment with the camera held by the user is not correct, the step of setting the time in the third mode is as follows:
a: a user opens a time setting panel of the electronic equipment and selects a camera device setting mode;
b: the user aims the camera device of the electronic equipment at a reference object with time information and clicks a setting button;
here, the image pickup device may be a camera.
c: the camera device of the electronic equipment takes a picture of the reference object;
d: the electronic equipment automatically analyzes the image, sets the analyzed time information as the system time of the electronic equipment, and displays the time.
Therefore, the electronic equipment provides a new time setting mode, the interestingness of the user in the time setting of the electronic equipment is greatly improved, and the operation is simple and convenient.
An embodiment of the present invention further provides an electronic apparatus, which has an image pickup device, and as shown in fig. 7, the electronic apparatus mainly includes a control unit 61, an analysis unit 62, a setting unit 63, a time zone information determination unit 64, and a display unit 65; wherein,
the control unit 61 is configured to receive a first instruction and control the camera device to perform image acquisition on a reference object;
the analysis unit 62 is configured to analyze the acquired image, and generate a second instruction when analyzing the time information in the acquired image;
the setting unit 63 is configured to execute the second instruction and write the time information into the electronic device;
the time zone information determining unit 64 is configured to obtain the location information of the electronic device according to the GPS information, and determine time zone information according to the location information;
correspondingly, the setting unit 63 is further configured to set the time information as the system time of the electronic device in combination with the time zone information.
The display unit 65 is configured to display time when the setting unit 63 sets the time information as the system time of the electronic device.
Preferably, the display unit 65 is further configured to:
and displaying the time difference between the system time reset and the time before the system time reset.
An embodiment of the present invention further provides an electronic apparatus, which includes an image pickup device, and as shown in fig. 8, the electronic apparatus further includes a control unit 61, an analysis unit 62, a setting unit 63, a display unit 65, a detection unit 66, a network time acquisition unit 67, and a determination unit 68; wherein,
the control unit 61 is configured to receive a first instruction and control the camera device to perform image acquisition on a reference object;
the analysis unit 62 is configured to analyze the acquired image, and generate a second instruction when analyzing the time information in the acquired image;
the setting unit 63 is configured to execute the third instruction, and write the time information into the electronic device;
the display unit 65 is configured to perform time display when the setting unit 63 sets the time information as the system time of the electronic device;
the detection unit 66 is configured to detect whether the electronic device is in a networking state;
the network time obtaining unit 67 is configured to obtain accurate time pushed by a network side when it is determined that the electronic device is in a networking state;
the judging unit 68 is configured to compare whether the current display time is consistent with the accurate time pushed by the network side;
the display unit 65 is further configured to update the current display time of the electronic device to the accurate time pushed by the network side when the judging unit 68 determines that the current display time is inconsistent with the accurate time pushed by the network side;
correspondingly, the setting unit 63 is further configured to set the accurate time pushed by the network side as the system time of the electronic device when the judging unit 68 determines that the current display time is inconsistent with the accurate time pushed by the network side.
Preferably, the electronic device further includes:
a time zone information determining unit 64 configured to acquire position information of the electronic device according to GPS information and determine time zone information according to the position information;
correspondingly, the setting unit 63 is further configured to set the time information as the system time of the electronic device in combination with the time zone information;
preferably, the display unit 65 is further configured to:
and displaying the time difference between the system time reset and the time before the system time reset.
It should be noted that the electronic device according to the embodiment of the present invention may be disposed in a cloud, and the functions of the control Unit 61, the analysis Unit 62, the setting Unit 63, the time zone information determining Unit 64, the display Unit 65, the detection Unit 66, the network time obtaining Unit 67, and the determining Unit 68 according to the embodiment of the present invention may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), or a Digital Signal Processing (DSP) chip in the electronic device.
In summary, the method for setting time by collecting time information in the reference object through the camera device in the embodiment of the invention can quickly set the time of the electronic device, thereby improving the user experience; the method for setting the time is simple and convenient to implement, achieves the effect of what the electronic equipment sees is what the electronic equipment obtains, enables the operation to be more vivid and interesting, and greatly improves the interestingness of the user in setting the time of the electronic equipment.
In the embodiments provided in the present invention, it should be understood that the disclosed method, apparatus and electronic device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit according to the embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (12)
1. A method for setting time, which is applied to an electronic device with an image pickup device, is characterized by comprising the following steps:
receiving a first instruction, and controlling the camera device to acquire an image of a reference object;
analyzing the acquired image, and generating a second instruction when analyzing the time information in the acquired image;
and executing the second instruction, and writing the time information into the electronic equipment.
2. The method of claim 1, wherein when writing the time information to the electronic device, the method further comprises:
acquiring the position information of the electronic equipment according to GPS information, and determining time zone information according to the position information;
and combining the time zone information, setting the time information as the system time of the electronic equipment, and displaying the time.
3. The method of claim 2, wherein the time display is performed, the method further comprising:
and displaying the time difference between the system time reset and the time before the system time reset.
4. The method of claim 2, wherein after the time display, the method comprises:
detecting whether the electronic equipment is in a networking state or not, and acquiring accurate time pushed by a network side when the electronic equipment is determined to be in the networking state;
and comparing whether the current display time is consistent with the accurate time pushed by the network side, and if not, updating the current display time of the electronic equipment to the accurate time pushed by the network side.
5. The method according to claim 1, wherein the time information comprises at least the following information:
hour, minute, second.
6. The method of claim 1, wherein the reference object is a reference object containing time information.
7. An electronic apparatus, wherein the electronic apparatus has an image pickup device; the electronic equipment is characterized by further comprising a control unit, an analysis unit and a setting unit: wherein,
the control unit is used for receiving a first instruction and controlling the camera device to acquire an image of a reference object;
the analysis unit is used for analyzing the acquired image and generating a second instruction when analyzing the time information in the acquired image;
and the setting unit is used for executing the third instruction and writing the time information into the electronic equipment.
8. The electronic device according to claim 7, wherein the electronic device further comprises a time zone information determining unit configured to acquire position information of the electronic device according to GPS information and determine time zone information according to the position information;
correspondingly, the setting unit is further configured to set the time information as the system time of the electronic device in combination with the time zone information;
the electronic equipment further comprises a display unit for displaying time when the setting unit sets the time information as the system time of the electronic equipment.
9. The electronic device of claim 8, wherein the display unit is further configured to:
and displaying the time difference between the system time reset and the time before the system time reset.
10. The electronic device according to claim 7, further comprising a detection unit, a network time acquisition unit, and a determination unit; wherein,
the detection unit is used for detecting whether the electronic equipment is in a networking state;
the network time acquisition unit is used for acquiring accurate time pushed by a network side when the electronic equipment is determined to be in a networking state;
the judging unit is used for comparing whether the current display time is consistent with the accurate time pushed by the network side;
the display unit is further used for updating the current display time of the electronic equipment to the accurate time pushed by the network side when the judging unit determines that the current display time is inconsistent with the accurate time pushed by the network side;
correspondingly, the setting unit is further configured to set the accurate time pushed by the network side as the system time of the electronic device when the judging unit determines that the current display time is inconsistent with the accurate time pushed by the network side.
11. The electronic device of claim 7, wherein the time information comprises at least the following information:
hour, minute, second.
12. The electronic device of claim 7, wherein the reference object is a reference object containing time information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410055180.3A CN104850005A (en) | 2014-02-18 | 2014-02-18 | Electronic device and time setting method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410055180.3A CN104850005A (en) | 2014-02-18 | 2014-02-18 | Electronic device and time setting method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104850005A true CN104850005A (en) | 2015-08-19 |
Family
ID=53849724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410055180.3A Pending CN104850005A (en) | 2014-02-18 | 2014-02-18 | Electronic device and time setting method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104850005A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109163755A (en) * | 2018-09-29 | 2019-01-08 | 惠州市德赛西威汽车电子股份有限公司 | A kind of vehicle entertainment system clock accuracy automatic testing method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201004165Y (en) * | 2006-11-16 | 2008-01-09 | 唐政平 | Watch with global positioning function and automatic time authorization |
CN101393419A (en) * | 2008-10-27 | 2009-03-25 | 深圳华为通信技术有限公司 | Terminal and time collocation method thereof |
CN102202166A (en) * | 2010-03-22 | 2011-09-28 | 英华达(南京)科技有限公司 | Image acquisition apparatus and time adjusting method thereof |
CN102902195A (en) * | 2011-07-28 | 2013-01-30 | 联想移动通信科技有限公司 | Time allocation method and device of terminal units and terminal unit |
CN103197534A (en) * | 2012-01-06 | 2013-07-10 | 中兴通讯股份有限公司 | Time calibration method and device |
CN103576539A (en) * | 2012-08-02 | 2014-02-12 | 北京千橡网景科技发展有限公司 | Time calibration method and device |
-
2014
- 2014-02-18 CN CN201410055180.3A patent/CN104850005A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201004165Y (en) * | 2006-11-16 | 2008-01-09 | 唐政平 | Watch with global positioning function and automatic time authorization |
CN101393419A (en) * | 2008-10-27 | 2009-03-25 | 深圳华为通信技术有限公司 | Terminal and time collocation method thereof |
CN102202166A (en) * | 2010-03-22 | 2011-09-28 | 英华达(南京)科技有限公司 | Image acquisition apparatus and time adjusting method thereof |
CN102902195A (en) * | 2011-07-28 | 2013-01-30 | 联想移动通信科技有限公司 | Time allocation method and device of terminal units and terminal unit |
CN103197534A (en) * | 2012-01-06 | 2013-07-10 | 中兴通讯股份有限公司 | Time calibration method and device |
CN103576539A (en) * | 2012-08-02 | 2014-02-12 | 北京千橡网景科技发展有限公司 | Time calibration method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109163755A (en) * | 2018-09-29 | 2019-01-08 | 惠州市德赛西威汽车电子股份有限公司 | A kind of vehicle entertainment system clock accuracy automatic testing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10715761B2 (en) | Method for providing video content and electronic device for supporting the same | |
CN110352446B (en) | Method and apparatus for obtaining image and recording medium thereof | |
EP3457268B1 (en) | Screen output method and electronic device supporting same | |
US10075629B2 (en) | Electronic device for capturing images while user looks directly at camera | |
CN107665485B (en) | Electronic device and computer-readable recording medium for displaying graphic objects | |
EP3104590A1 (en) | Electronic device and method for displaying image therein | |
EP3086275A1 (en) | Numerical value transfer method, terminal, cloud server, computer program and recording medium | |
EP3101578B1 (en) | Electronic device for performing personal authentication and method thereof | |
CN108427533B (en) | Electronic device and method for determining environment of electronic device | |
KR20170019823A (en) | Method for processing image and electronic device supporting the same | |
JP2014106681A5 (en) | ||
CN108833262B (en) | Session processing method, device, terminal and storage medium | |
US9846529B2 (en) | Method for processing information and electronic device | |
KR102336448B1 (en) | Electronic apparatus and method for photograph extraction | |
JP2017162103A (en) | Inspection work support system, inspection work support method, and inspection work support program | |
JPWO2018158812A1 (en) | Inspection support device, inspection support method and program | |
KR20160114434A (en) | Electronic Device And Method For Taking Images Of The Same | |
CN104834597A (en) | Method and system for measuring application response duration | |
KR102439786B1 (en) | Method for sharing content information and electronic device thereof | |
KR102477522B1 (en) | Electronic device and method for adjusting exposure of camera of the same | |
US20230316529A1 (en) | Image processing method and apparatus, device and storage medium | |
CN112181141A (en) | AR positioning method, AR positioning device, electronic equipment and storage medium | |
KR20200101036A (en) | Electronic device and method providing content associated with image to application | |
KR20170014919A (en) | Electronic apparatus and method for detecting skin condition in electronic apparatus | |
KR102407624B1 (en) | Method for processing image of electronic device and electronic device thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150819 |