CN103888588B - Terminal arranges method and the system of clock - Google Patents
Terminal arranges method and the system of clock Download PDFInfo
- Publication number
- CN103888588B CN103888588B CN201210558494.6A CN201210558494A CN103888588B CN 103888588 B CN103888588 B CN 103888588B CN 201210558494 A CN201210558494 A CN 201210558494A CN 103888588 B CN103888588 B CN 103888588B
- Authority
- CN
- China
- Prior art keywords
- clock
- time
- graphic
- terminal
- module
- 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.)
- Expired - Fee Related
Links
Landscapes
- Electric Clocks (AREA)
Abstract
Provide method and system that clock is set in a kind of terminal. This clock setting system comprises: photo module, is activated to be taken pictures by clock, thus obtains clock graphic; Clock identification module, identifies the time shown by clock graphic that photo module obtains; Time checking module, it is determined that whether the time shown by clock graphic adapts to the display format of terminal; Shown set of time is System Clock time according to the determination result of time checking module by clock setting module.
Description
Technical field
The present invention relates to a kind of terminal with camera function, more particularly, it relates to a kind of have the method and system that arrange clock in the terminal of camera function.
Background technology
In actual life, when we arrange clock for mobile phone, it is generally required to arranged by cell phone clock according to a standard times (time shown by the dial plate clock of such as family), namely manually input this standard times. But, manually input brings user the experience of difference.
Prior art also discloses by sending short messages to network, utilize network side clock to arrange the clock setting mode of terminal clock, but this is also inconvenient in our real life.
Summary of the invention
It is an object of the invention to provide a kind of system and method that can carry out clock setting quickly and easily.
According to an aspect of the present invention, it is provided that a kind of comprise: photo module having the clock setting system arranging clock in the terminal of camera function, it is activated to be taken pictures by clock, thus obtains clock graphic; Clock identification module, identifies the time shown by clock graphic that photo module obtains; Time checking module, it is determined that whether the time shown by clock graphic adapts to the display format of terminal; Shown set of time is System Clock time according to the determination result of time checking module by clock setting module.
Preferably, described clock can comprise dial plate clock and digital dock.
Preferably, when dial plate clock is taken pictures by photo module, clock identification module can identify hour hands, minute hand and second hand according to the width of each indicator in dial plate clock graphic and length, calculates the time shown by clock graphic by identifying angulation between each indicator and the line pointing to 12 directions by initial point of the center of dial plate.
Preferably, when digital dock is taken pictures by photo module, clock identification module can identify the time shown by clock graphic according to the numeral in clock graphic.
Preferably, the time shown by the clock graphic identified can be sent to time checking module by clock identification module in a predetermined format.
Preferably, time checking module can determine whether the shown time is more than or equal to 12 and whether corresponding with the time display form of terminal.
Preferably, the time display form of terminal can comprise 24 hours systems and 12 hours systems, wherein, when the time display form of terminal is 24 hours standards, when determining that the shown time is more than or equal at 12, the shown time is sent to clock setting module; If it is determined that the shown time is less than 12 points, user is then pointed out to select the morning or afternoon, subsequently, shown time and user are selected morning or afternoon information be sent to clock setting module, when the time display form of terminal is 12 hours standards, the time shown by the clock graphic identified is sent to clock setting module by time checking module.
Preferably, when the time display form of terminal is 24 hours standards, when determining that the shown time is more than or equal to 12, shown set of time can be directly System Clock time by clock setting module; When determining that the shown time is less than at 12, if user selects afternoon, then clock setting module is by adding that by the hours in the shown time set of time obtained is System Clock time by 12, if user selects the morning, then shown set of time is directly System Clock time by clock setting module; When the time display form of terminal is 12 hours standards, when determining that the shown time is more than or equal at 12, it is System Clock time that the hours in the shown time is subtracted 12 by the set of time obtained by clock setting module; When determining that the shown time is less than at 12, shown set of time is directly System Clock time by clock setting module.
Preferably, time checking module also can determine that whether the time shown by clock graphic is more than 24 points, if it exceeds, then send misinformation.
According to a further aspect in the invention, it is provided that a kind of have the method arranging clock in the terminal of camera function, and described method comprises: start camera function to be taken pictures by clock, thus obtain clock graphic; Identify the time shown by clock graphic obtained; Determine whether the time shown by clock graphic adapts to the display format of terminal; It is System Clock time according to determination result by shown set of time.
Preferably, described clock can comprise dial plate clock and digital dock.
Preferably, when dial plate clock is taken pictures, identify that the step of the time shown by clock graphic obtained can comprise: identify hour hands, minute hand and second hand according to the width of each indicator in dial plate clock graphic and length, calculate the time shown by clock graphic by identifying angulation between each indicator and the line pointing to 12 directions by initial point of the center of dial plate.
Preferably, when digital dock being taken pictures, identify that the step of the time shown by clock graphic obtained can comprise: identify the time shown by clock graphic according to the numeral in clock graphic.
Preferably, after identifying the time shown by the clock graphic obtained, the time shown by the clock graphic identified is sent in a predetermined format.
Preferably, it is determined that the step whether time shown by clock graphic adapts to the display format of terminal can comprise: determine whether the shown time is more than or equal to 12 and whether corresponding with the time display form of terminal.
Preferably, the time display form of terminal can comprise 24 hours systems and 12 hours systems, according to determination result, the step that shown set of time is System Clock time is comprised: when the time display form of terminal is 24 hours standards, when determining that the shown time is more than or equal at 12, it is System Clock time by shown set of time; If it is determined that the shown time is less than 12 points, then points out user to select the morning or afternoon, if user selects afternoon, then the hours in the shown time is added 12, be System Clock time by the set of time obtained subsequently; If user selects the morning, then it is System Clock time by the set of time of display; When the time display form of terminal is 12 hours standards, when determining that the shown time is more than or equal at 12, the hours in the shown time is subtracted 12, it is System Clock time by the set of time obtained subsequently; If it is determined that the shown time is less than 12 points, then it is System Clock time by shown set of time.
Preferably, it is determined that the step whether time shown by clock graphic adapts to the display format of terminal can also comprise: the time shown by clock graphic of determining whether more than 24 points, if it exceeds, then send misinformation.
Part in ensuing description is set forth the present invention other in and/or advantage, some will be clearly by describing, or can learn through the enforcement of the present invention.
Accompanying drawing explanation
By the description carried out below in conjunction with accompanying drawing, the object of the present invention will become apparent, wherein:
Fig. 1 be illustrate according to embodiments of the present invention at the block diagram with the system arranging clock in the terminal of camera function;
Fig. 2 be illustrate according to embodiments of the present invention at the schema with the method arranging clock in the terminal of camera function;
Fig. 3 is the schematic diagram illustrating dial plate clock;
Fig. 4 is the schematic diagram illustrating digital dock.
Embodiment
Now, describing embodiments of the invention in detail, its example represents in the accompanying drawings, and wherein, identical label represents identical parts all the time. Below by way of embodiment being described with reference to the drawings to explain the present invention.
Fig. 1 be illustrate according to embodiments of the present invention there is the clock setting system arranging clock in the terminal of camera function.
As shown in Figure 1, clock setting system according to the present invention comprises: photo module 101, clock identification module 102, time checking module 103 and clock setting module 104.
When user wants terminal is arranged clock, photo module 101 is activated, and to be taken pictures by clock (such as, the dial plate clock shown in Fig. 3 or as shown in Figure 4 digital dock), thus obtains clock graphic. Here the camera that photo module 101 can be implemented as in terminal.
Clock identification module 102 identifies the time shown by the clock graphic that photo module 101 obtains. Clock identification module 102 can identify the time shown by dial plate clock graphic and digital clock image. Such as, if dial plate clock is taken pictures by photo module 101, then clock identification module 102 identifies hour hands, minute hand and second hand according to the width of each indicator in dial plate clock graphic and length. By identifying angulation between each indicator and the line pointing to 12 directions by initial point of the center of dial plate, and calculating the time shown by clock graphic according to this angle, the shown time comprises Hour Minute Second. It is to be understood that when being taken pictures by the dial plate clock not comprising second hand, the shown time can not comprise the second. In this case, can be defaulted as " 0 " or other values the second. Although here by identifying the time shown by clock graphic according to angle between each indicator and the line pointing to 12 directions, it should be appreciated that the technician of this area can adopt other modes to identify the time shown by clock graphic.
If digital dock is taken pictures by photo module 101, then clock identification module 102 identifies the time shown by clock graphic according to the numeral in clock graphic, and the shown time comprises Hour Minute Second. Such as, the time of display in the digital dock shown in Fig. 4, ": " can be identified as separator by clock identification module 102, is therefore positioned at numeral " 15 " expression hour of first, numeral " 59 " expression minute being positioned at the 2nd, the numeral " 16 " being positioned at the 3rd represents the second.
Time shown by the clock graphic identified is sent to time checking module 103 by clock identification module 102 in a predetermined format.
Time checking module 103 determines whether the time shown by clock graphic adapts to the display format of terminal. That is, time checking module 103 determines whether the shown time is more than or equal to 12 and whether corresponding with the time display form of terminal.
When the time display form of terminal is 24 hours standards, when determining that the shown time is more than or equal to 12, then the shown time is sent to clock setting module 104. If it is determined that the shown time is less than 12 points, then user is pointed out to select the morning or afternoon. Subsequently, morning of shown time and user being selected or afternoon information be sent to clock setting module 104. If it is to be understood that make mistakes in digital dock, when such as demonstrating the time more than 24, then time checking module 103 sends misinformation.
When the time display form of terminal is 12 hours standards, the time shown by the clock graphic identified directly is sent to clock setting module 104 by time checking module 103 in a predetermined format.
Shown set of time is System Clock time for the determination result according to time checking module 103 by clock setting module 104.
That is, when the time display form of terminal is 24 hours standards, when clock checking module 103 determines that the shown time is more than or equal to 12, clock setting module 104 is direct is System Clock time by shown set of time. When determining that the shown time is less than at 12, the set of time of correspondence is System Clock time according to the selection of user by clock setting module 104. Such as, for the dial plate clock of Fig. 3, if user selects afternoon, then hour 1 in the shown time is added 12 (namely 13) by clock setting module 104, is set to System Clock time by 13: 0: 35. If user selects the morning, then clock setting module 104 is directly by the shown time, namely within 1: 0: 35, is set to System Clock time.
And when the time display form of terminal is 12 hours standards, when clock checking module 103 determines that the shown time is more than or equal at 12, hours in the shown time is subtracted 12 by clock setting module 104, is System Clock time by the set of time obtained. For the digital dock of Fig. 4, hours 15 in the shown time are subtracted 12 (namely 3) by clock setting module 104, are set to System Clock time by 3: 59: 16. When clock checking module 103 determines that the shown time is less than at 12, clock setting module 104 is direct is System Clock time by shown set of time.
Fig. 2 be illustrate according to embodiments of the present invention at the schema with the method arranging clock in the terminal of camera function.
When user wants terminal is arranged clock, in step S201, start photo module 101 to be taken pictures by clock, thus obtain clock graphic.
In step S202, identify the time shown by clock graphic obtained. Such as can identify the time shown by dial plate clock graphic and digital clock image. Such as, if dial plate clock is taken pictures by photo module 101, then width and length according to each indicator in dial plate clock graphic identifies hour hands, minute hand and second hand. By identifying angulation between each indicator and the line pointing to 12 directions by initial point of the center of dial plate, and calculating the time shown by clock graphic according to this angle, the shown time comprises Hour Minute Second. It is to be understood that when being taken pictures by the dial plate clock not comprising second hand, the shown time can not comprise the second. In this case, can be defaulted as " 0 " or other values the second. Although here by identifying the time shown by clock graphic according to angle between each indicator and the line pointing to 12 directions, but the technician of this area should be appreciated that other modes can be adopted to identify the time shown by clock graphic. If digital dock is taken pictures by photo module 101, then identifying the time shown by clock graphic according to the numeral in clock graphic, the shown time comprises Hour Minute Second.
In step S203, it is determined that the time display form of terminal is 24 hours systems or 12 hours systems.
If determining that the time display form of terminal is 12 hours systems in step S203, then step S204 determines whether the shown time is more than or equal to 12 points. If it is determined that the shown time is more than or equal to 12 points, then in step S205, the hours in the shown time is subtracted 12, it is System Clock time in step S209 by the set of time obtained subsequently. If determining that the shown time is less than 12 points in step S204, then it is System Clock time in step S209 by shown set of time.
If determining that the time display form of terminal is 24 hours systems in step S203, then in step S206, it is determined that whether the shown time is more than or equal to 12 points. If it is determined that the shown time is more than or equal to 12 points, then it is System Clock time in step S209 by shown set of time. If it is determined that the shown time is less than 12 points, then user is pointed out to select the morning or afternoon in step S207. If selecting afternoon in step S207 user, then in step S208, the hours in the shown time being added 12, being System Clock time in step S209 by the set of time obtained subsequently. If selecting the morning in step S207 user, then it is System Clock time in step S209 by the set of time of display.
Although above the present invention has, for what the dial plate clock of standard shape and digital dock described the present invention, the method arranging clock in the terminal of camera function, it should be understood that the clock of various form can be taken pictures and be carried out system clock setting according to the shown time by the method according to the present invention.
It is to be understood that the terminal of the present invention comprises any type of terminal having camera function and have clock function.
By adopt the present invention there is the system and method arranging clock in the terminal of camera function, when can facilitate user couple, simplify traditional-handwork pair time step and enhance Consumer's Experience.
Although specifically showing with reference to embodiments of the invention and describe the present invention, but the technician of this area should be appreciated that, when not departing from the spirit and scope of the present invention being defined by the claims, it is possible to it is carried out the various changes in form and details.
Claims (9)
1. there is the clock setting system arranging clock in the terminal of camera function, comprising:
Photo module, is activated to be taken pictures by clock, thus obtains clock graphic;
Clock identification module, identifies the time shown by clock graphic that photo module obtains;
Time checking module, it is determined that whether the time shown by clock graphic adapts to the display format of terminal;
Shown set of time is System Clock time according to the determination result of time checking module by clock setting module;
Wherein, the time shown by the clock graphic identified is sent to time checking module by clock identification module in a predetermined format;
Time checking module determines that whether the time shown by clock graphic is more than 24 points, if it exceeds, then send misinformation;
Time checking module determines whether the time shown by clock graphic is more than or equal to 12 points;
When the time display form of terminal is 24 hours standards, when time checking module determines that the time shown by clock graphic is more than or equal to 12, then the time shown by clock graphic is sent to clock setting module by time checking module; If time checking module determines that the time shown by clock graphic is less than 12 points, user is then pointed out to select the morning or afternoon, subsequently, the time shown by clock graphic and user are selected by time checking module morning or afternoon information be sent to clock setting module;
When the time display form of terminal is 12 hours standards, the time shown by the clock graphic identified directly is sent to clock setting module by time checking module;
Set of time shown by clock graphic, when the time display form of terminal is 24 hours standards, when clock checking module determines that the time shown by clock graphic is more than or equal to 12, is directly System Clock time by clock setting module; When clock checking module determines that the time shown by clock graphic is less than at 12, if user selects afternoon, then the hours in the time shown by clock graphic is added that 12 set of times obtained are System Clock time by clock setting module, if user selects the morning, then the set of time shown by clock graphic is directly System Clock time by clock setting module;
When the time display form of terminal is 12 hours standards, when clock checking module determines that the time shown by clock graphic is more than or equal at 12, it is System Clock time that the hours in the time shown by clock graphic is subtracted 12 set of times obtained by clock setting module; When clock checking module determines that the time shown by clock graphic is less than at 12, the set of time shown by clock graphic is directly System Clock time by clock setting module.
2. clock setting system as claimed in claim 1, wherein, described clock comprises dial plate clock and digital dock.
3. clock setting system as claimed in claim 2, wherein, when dial plate clock is taken pictures by photo module, clock identification module identifies hour hands, minute hand and second hand according to the width of each indicator in dial plate clock graphic and length, calculates the time shown by clock graphic by identifying angulation between each indicator and the line pointing to 12 directions by initial point of the center of dial plate.
4. clock setting system as claimed in claim 2, wherein, when digital dock is taken pictures by photo module, clock identification module identifies the time shown by clock graphic according to the numeral in clock graphic.
5. having the method arranging clock in the terminal of camera function, described method comprises:
Start camera function to be taken pictures by clock, thus obtain clock graphic;
Identify the time shown by clock graphic obtained;
Send the time shown by the clock graphic identified in a predetermined format;
Determine whether the time shown by clock graphic adapts to the display format of terminal, where it is determined that whether the time shown by clock graphic is more than 24 points, if it exceeds, then send misinformation;
It is System Clock time according to determination result by shown set of time;
Wherein, the time display form of terminal comprises 24 hours systems and 12 hours systems, the step that shown set of time is System Clock time is comprised according to determination result:
When the time display form of terminal is 24 hours standards, when determining that the shown time is more than or equal at 12, it is System Clock time by shown set of time; If it is determined that the shown time is less than 12 points, then points out user to select the morning or afternoon, if user selects afternoon, then the hours in the shown time is added 12, be System Clock time by the set of time obtained subsequently; If user selects the morning, then it is System Clock time by the set of time of display;
When the time display form of terminal is 12 hours standards, when determining that the shown time is more than or equal at 12, the hours in the shown time is subtracted 12, it is System Clock time by the set of time obtained subsequently; If it is determined that the shown time is less than 12 points, then it is System Clock time by shown set of time.
6. method as claimed in claim 5, wherein, described clock comprises dial plate clock and digital dock.
7. method as claimed in claim 6, wherein, when being taken pictures by dial plate clock, identifies that the step of the time shown by clock graphic obtained comprises:
Width and length according to each indicator in dial plate clock graphic identify hour hands, minute hand and second hand, calculate the time shown by clock graphic by identifying angulation between each indicator and the line pointing to 12 directions by initial point of the center of dial plate.
8. method as claimed in claim 6, wherein, when digital dock being taken pictures, identifies that the step of the time shown by clock graphic obtained comprises: identify the time shown by clock graphic according to the numeral in clock graphic.
9. method as claimed in claim 5, where it is determined that the step of the display format that whether adapts to terminal of the time shown by clock graphic comprises: determine whether the shown time is more than or equal to 12 and whether corresponding with the time display form of terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210558494.6A CN103888588B (en) | 2012-12-20 | 2012-12-20 | Terminal arranges method and the system of clock |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210558494.6A CN103888588B (en) | 2012-12-20 | 2012-12-20 | Terminal arranges method and the system of clock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103888588A CN103888588A (en) | 2014-06-25 |
CN103888588B true CN103888588B (en) | 2016-06-01 |
Family
ID=50957303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210558494.6A Expired - Fee Related CN103888588B (en) | 2012-12-20 | 2012-12-20 | Terminal arranges method and the system of clock |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103888588B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174228A (en) * | 2006-10-31 | 2008-05-07 | 英业达股份有限公司 | Time information processing system and method thereof |
CN101393419A (en) * | 2008-10-27 | 2009-03-25 | 深圳华为通信技术有限公司 | Terminal and time collocation method thereof |
TW201201562A (en) * | 2010-06-22 | 2012-01-01 | Chi Mei Comm Systems Inc | Electronic device and method for setting system time of the electronic device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050151849A1 (en) * | 2004-01-13 | 2005-07-14 | Andrew Fitzhugh | Method and system for image driven clock synchronization |
-
2012
- 2012-12-20 CN CN201210558494.6A patent/CN103888588B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174228A (en) * | 2006-10-31 | 2008-05-07 | 英业达股份有限公司 | Time information processing system and method thereof |
CN101393419A (en) * | 2008-10-27 | 2009-03-25 | 深圳华为通信技术有限公司 | Terminal and time collocation method thereof |
TW201201562A (en) * | 2010-06-22 | 2012-01-01 | Chi Mei Comm Systems Inc | Electronic device and method for setting system time of the electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN103888588A (en) | 2014-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10681200B2 (en) | Message processing method and system, and related device | |
EP3139645A1 (en) | Method and system for transferring and sharing information among mobile devices | |
CN108021642B (en) | Application program recommendation method and device, mobile terminal and storage medium | |
RU2014123372A (en) | USING BIO SENSORS FOR TRANSFER OF EMOTIONS BY DATA NETWORK SERVICES | |
WO2008022198A3 (en) | Friends finder service for a mobile device in a network | |
CN111190512B (en) | Message processing method and device | |
CN102711039A (en) | Wallpaper treatment method and device | |
CN101997978A (en) | Mobile terminal operating mode processing method and mobile terminal | |
CN103365964A (en) | Information recommendation method as well as related equipment and system | |
CN103428250A (en) | Equipment matching Method, server and terminal device | |
CN103810010A (en) | Information processing method and first electronic device terminal | |
CN104184898A (en) | Incoming call information display processing method and device | |
CN105072242A (en) | Method for voice prompt and mobile terminal | |
CN105005489B (en) | A kind of the starting method and terminal device of terminal device | |
CN105988841A (en) | Update method of application program, and mobile terminal | |
CN104469838A (en) | Network detection system and method for mobile terminal | |
CN104216982A (en) | Information processing method and electronic equipment | |
KR20160042491A (en) | Method and Electronic Device for displaying time | |
WO2014181479A1 (en) | Management device | |
CN102123203A (en) | Wallpaper replacing method and system of mobile communication terminal | |
WO2014036879A1 (en) | Method, device, and terminal for sns system application prompt | |
CN103701836A (en) | Information processing method, terminal equipment and server | |
CN103888588B (en) | Terminal arranges method and the system of clock | |
CN103000074A (en) | Conversion method and conversion system for electronic maps with height information | |
CN104301235A (en) | Network flow control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160601 Termination date: 20181220 |
|
CF01 | Termination of patent right due to non-payment of annual fee |