CN1558645A - A telephone set with perpetual calendar and realizing method thereof - Google Patents
A telephone set with perpetual calendar and realizing method thereof Download PDFInfo
- Publication number
- CN1558645A CN1558645A CNA200310117646XA CN200310117646A CN1558645A CN 1558645 A CN1558645 A CN 1558645A CN A200310117646X A CNA200310117646X A CN A200310117646XA CN 200310117646 A CN200310117646 A CN 200310117646A CN 1558645 A CN1558645 A CN 1558645A
- Authority
- CN
- China
- Prior art keywords
- calendar
- day
- telephone set
- solar
- date
- 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
Images
Abstract
The invention discloses a telephone set with a permanent calendar, wherein the permanent calendar employs a binary system compression storing technology, the permanent calendar of the telephone set includes a solar calendar portion and a lunar calendar portion, whose processing flow paths are also disclosed in the invention. The telephone set also possesses clock and alarm clock functions.
Description
[technical field]
The present invention relates to a kind of telephone set, relate in particular to telephone set and its implementation of a kind of tool perpetual calendar.
[background technology]
It number is 00124970.3 patent application document that a kind of telephone set of tool perpetual calendar can be consulted Chinese patent application, its denomination of invention is an intelligent network telephone, the operating procedure of this perpetual calendar is as follows: at first enter the perpetual calendar interface, can see from the display screen of telephone set that on the upper left side, interface two drop-down menus are arranged, can select time, the month that to inquire about; On the interface be that the calendar that unit shows is changed with the replacing of selecting, click the concrete date, so just selected the exact date that to inquire about with the sky.There is " today " command key in the lower right corner, interface, and click can be got back to the same day.But the perpetual calendar of this telephone set can not be with 24 solar term in every year, Chinese traditional important festivals (as: Lantern Festival, the Dragon Boat Festival, the mid-autumn, New Year's Eve etc.) and every month day off (be Saturday, Sunday, May Day, 11 and New Year's Day) show with special sign, therefore for busy business people, be inconvenient to inquire about festivals or holidays and day off.
[summary of the invention]
Be inconvenient to inquire about the shortcoming on festivals or holidays and day off for the perpetual calendar that overcomes existing telephone set, the invention provides telephone set and its implementation of a kind of tool perpetual calendar, it is convenient to inquire about festivals or holidays and day off.
For realizing purpose of the present invention, the technical solution adopted in the present invention is: a kind of telephone set of tool perpetual calendar is provided, and this perpetual calendar adopts the binary compression memory technology, and the perpetual calendar of this telephone set comprises solar calendar and lunar calendar two parts:
The handling process of this solar calendar part is: current time of reading system at first after the system start-up, the current then solar calendar date is set to the current date of system, and show solar calendar date in this January, and therefrom find out all day offs in this January and show with special display mode;
The handling process of this lunar calendar part is: current time of reading system at first during system start-up, then according to current time of system sense data and calculate corresponding lunar calendar period from compaction table, the display string of this lunar calendar day of regeneration, if this day is solar term day, then point out solar term information, if this day for Chinese traditional festival point out red-letter day information, and shown with special display mode red-letter day, otherwise normally show lunar date.
This telephone set also has clock and alarm clock function, and this Clock Subsystem handling process may further comprise the steps:
201. read quarter-bell after the system start-up file is set;
202. show the quarter-bell icon;
203. obtain system time;
204. the initialization pointer comprises the width of angle, display mode (simulation type and numeric type), position, pointer of size, the pointer of pointer and radius etc.;
205. drafting clock face;
206. drafting pointer;
207. whether judgement time is 500ms, if then execution in step 208, if not then execution in step 209, promptly get the primary system time and draw pointer one time every 500ms, once draw before preceding 500ms wipes, back 500ms draws current pointer, thereby has guaranteed the accuracy of clock time;
208. obtain system time, return step 206 then;
209. judge whether to close timing routine, if, then finish this Clock Subsystem, if not, step 207 then returned.
When the user need reset quarter-bell, system accepted quarter-bell earlier file is set, and showed the quarter-bell icon then, returned step 205 at last.
The present invention has following beneficial effect:
Because this perpetual calendar adopts binary compression memory technology, therefore spent internal memory and arithmetic speed are all very fast, and it combines tables look-up and the mode of computing, like this shared system space of whole application program less;
Remedied the deficiency of conventional telephone set function, made telephone set possess the dual-use function of Electronic desk calendar and common alarm clock simultaneously;
Telephone set of the present invention has powerful electronics lunar calendar prompt facility: not only have the prompting of the common lunar calendar, have the automatic prompt facility of Chinese traditional festivals or holidays, 24 solar term in addition, solved troubling of busy business people's look round for lunar calendar basis;
Practical nothing operation automatic return function: whenever after the system start-up return current date after showing yin, yang calendar date next day automatically and do not have the operation certain hour through one day, really accomplished automation, intellectuality.
[description of drawings]
Fig. 1 is the perpetual calendar subsystem lunar calendar process chart of the telephone set of tool perpetual calendar of the present invention.
Fig. 2 is the Clock Subsystem process chart of the telephone set of tool perpetual calendar of the present invention.
Fig. 3 is the perpetual calendar function interface figure of the telephone set of tool perpetual calendar of the present invention.
Fig. 4 is the figure pattern time showing surface chart of the telephone set of tool perpetual calendar of the present invention.
Fig. 5 is that the quarter-bell of the telephone set of tool perpetual calendar of the present invention is provided with surface chart.
[embodiment]
The telephone set of tool perpetual calendar of the present invention is realized on Linux, the telephone set of tool perpetual calendar of the present invention can search in the period of the 1900-2050 corresponding lunar calendar of solar calendar, annual 24 solar term, China traditional important festivals (as: Lantern Festival fast, easily, the Dragon Boat Festival, the mid-autumn, New Year's Eve etc.), also can find easily simultaneously every month day off (be Saturday, Sunday, May Day, 11 and New Year's Day), therefore solved the inconvenience that busy business people browses wall calendar.In addition, the telephone set of tool perpetual calendar of the present invention also has clock, and its subsidiary alarm very easily conveniently uses and operates.Perpetual calendar of the present invention adopts comparatively advanced binary compression memory technology, has improved arithmetic speed with respect to the PDA product, has saved memory space.
Perpetual calendar of the present invention is divided into solar calendar and lunar calendar two parts.Wherein the handling process of solar calendar part is: current time of reading system at first after the system start-up, the current then solar calendar date is set to the current date of system, and show solar calendar date in this January, and therefrom find out this January all day offs (be Saturday, Sunday, May Day, 11 and New Year's Day) be mark with differences such as redness or flickers.Its time span without limits.
See also Fig. 1, the perpetual calendar subsystem lunar calendar handling process of the telephone set of tool perpetual calendar of the present invention may further comprise the steps:
101. the current time of reading system after the system start-up;
102. the current solar calendar date is set to the current date of system;
103. also calculate corresponding lunar date and solar term code name fast according to sense data from compaction table of current solar calendar date;
104. judge whether to be solar term or traditional festival;
105. if this day is solar term day, then point out solar term information; If this day for Chinese traditional festival point out red-letter day information, otherwise normally show lunar date;
106. generate the display string of this lunar calendar day;
107. with festivals or holidays numeral show with distinguishing marks such as redness or flickers;
108. judge whether the solar calendar year, month, day is operated, if then execution in step 109, if not then execution in step 110;
109. obtain solar calendar option date, and return step 103;
110. judge whether bolt down procedure, if, system finishing then, if not, step 101 then returned.
See also Fig. 2, the Clock Subsystem handling process of the telephone set of tool perpetual calendar of the present invention may further comprise the steps:
201. read quarter-bell after the system start-up file is set;
202. show the quarter-bell icon;
203. obtain system time;
204. the initialization pointer comprises the width of angle, display mode (simulation type and numeric type), position, pointer of size, the pointer of pointer and radius etc.;
205. drafting clock face;
206. drafting pointer;
207. whether judgement time is 500ms, if then execution in step 208, if not then execution in step 209, promptly get the primary system time and draw pointer one time every 500ms, once draw before preceding 500ms wipes, back 500ms draws current pointer, thereby has guaranteed the accuracy of clock time;
208. obtain system time, return step 206 then;
209. judge whether to close timing routine, if, then finish this Clock Subsystem, if not, step 207 then returned.
When the user need reset quarter-bell, system accepted quarter-bell earlier file is set, and showed the quarter-bell icon then, returned step 205 at last.
Seeing also Fig. 3, is the perpetual calendar function interface figure of the telephone set of tool perpetual calendar of the present invention.After any one day of solar calendar, demonstrate corresponding lunar calendar above clicking.If solar calendar date above not having to select then prompt between current lunar time is after consulting yin, yang and going through, if calendar was not operated and also can be automatically reset between current yin, yang lasts in two minutes.
Seeing also Fig. 4, is the figure pattern time showing surface chart of the telephone set of tool perpetual calendar of the present invention.It is the interface that presents after the digit mode button by clicking, and it can select 12 or 24 hours patterns.If wherein during 12 hours patterns, the morning, afternoon, evening, literal can be presented on the screen.
Seeing also Fig. 5, is that the quarter-bell of the telephone set of tool perpetual calendar of the present invention is provided with surface chart.It is by clicking quarter-bell the interface that presents behind the button to be set, and it comprises quarter-bell unlatching or the off option, quarter-bell prompt options (comprising single prompting and prompting every day), quarter-bell time option and determining and cancel button the quarter-bell setting.It uses and operation is very easy.
The present invention has realized the Chinese traditional solar term and the realization of lunar calendar for the first time on Linux, and spent internal memory and the arithmetic speed of native system all is very fast, it combines the mode of tabling look-up with computing, like this shared also not enough 20K of system space of whole application program, may operate on the machine of 48M-90MIPS speed, other generally more than 100-150K, and can only operate on the machine of 150MIPS.
Claims (10)
1. the telephone set of a tool perpetual calendar, the perpetual calendar of this telephone set comprises solar calendar and lunar calendar two parts, it is characterized in that:
The handling process of this solar calendar part is: current time of reading system at first after the system start-up, the current then solar calendar date is set to the current date of system, and show solar calendar date in this January, and therefrom find out all day offs in this January and show with special display mode;
The handling process of this lunar calendar part is: current time of reading system at first during system start-up, then according to current time of system sense data and calculate corresponding lunar calendar period from compaction table, the display string of this lunar calendar day of regeneration, if this day is solar term day, then point out solar term information, if this day for Chinese traditional festival point out red-letter day information, and shown with special display mode red-letter day, otherwise normally show lunar date.
2. telephone set according to claim 1 is characterized in that: be Saturday, Sunday, May Day, 11 and New Year's Day this day off.
3. telephone set according to claim 1 is characterized in that: be Lantern Festival, the Dragon Boat Festival, the mid-autumn and New Year's Eve this red-letter day.
4. telephone set according to claim 1 is characterized in that: this perpetual calendar adopts the binary compression memory technology.
5. telephone set according to claim 1 is characterized in that: this telephone set also has time clock feature.
6. telephone set according to claim 5 is characterized in that the Clock Subsystem handling process of this telephone set may further comprise the steps:
(203). obtain system time;
(204). the initialization pointer;
(205). draw clock face;
(206). draw pointer;
(207). whether judgement time is the time of presetting, if, execution in step (208) then, if not, execution in step (209) then;
(208). obtain system time, return step (206) then;
(209). judge whether to close timing routine, if, then finish this Clock Subsystem, if not, step (207) then returned.
7. telephone set according to claim 6 is characterized in that: this telephone set also has alarm.
8. telephone set according to claim 7, it is characterized in that: after step (203) also comprises system start-up before, read quarter-bell file is set, the step that shows the quarter-bell icon then, when the user need reset quarter-bell, system accepts quarter-bell earlier file is set, show the quarter-bell icon then, return step (205) at last.
9. the perpetual calendar subsystem lunar calendar processing method of the telephone set of a tool perpetual calendar is characterized in that may further comprise the steps:
(101). the current time of reading system after the system start-up;
(102). the current solar calendar date is set to the current date of system;
(103). also calculate corresponding lunar date and solar term code name fast according to sense data from compaction table of current solar calendar date;
(104). judge whether to be solar term or traditional festival;
(105) if. this day is solar term day, then points out solar term information; If this day for Chinese traditional festival point out red-letter day information, otherwise normally show lunar date;
(106). generate the display string of this lunar calendar day;
(107). with festivals or holidays numeral show with special display mode;
(108). judge whether the solar calendar year, month, day is operated, if, execution in step (109) then, if not, execution in step (110) then;
(109). obtain solar calendar option date, and return step (103);
(110). judge whether bolt down procedure, if, system finishing then, if not, step (101) then returned.
10. the perpetual calendar subsystem solar calendar processing method of the telephone set of a tool perpetual calendar, it is characterized in that may further comprise the steps: current time of reading system at first after the system start-up, the current then solar calendar date is set to the current date of system, and show solar calendar date in this January, and therefrom find out all day offs in this January, comprise Saturday, Sunday, May Day, 11 and New Year's Day, and show with special display mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200310117646XA CN1558645A (en) | 2003-12-24 | 2003-12-24 | A telephone set with perpetual calendar and realizing method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA200310117646XA CN1558645A (en) | 2003-12-24 | 2003-12-24 | A telephone set with perpetual calendar and realizing method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1558645A true CN1558645A (en) | 2004-12-29 |
Family
ID=34337902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA200310117646XA Pending CN1558645A (en) | 2003-12-24 | 2003-12-24 | A telephone set with perpetual calendar and realizing method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1558645A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621571A (en) * | 2009-08-10 | 2010-01-06 | 上海闻泰电子科技有限公司 | Method for automatically displaying holiday greetings in mobile phone |
CN101971603A (en) * | 2007-07-11 | 2011-02-09 | 索尼爱立信移动通讯股份有限公司 | Stylized interactive icon for portable mobile communications device |
CN109490614A (en) * | 2018-12-11 | 2019-03-19 | 哈尔滨工程大学 | One kind being based on the adjustable digital galvanometer of STM32 range |
-
2003
- 2003-12-24 CN CNA200310117646XA patent/CN1558645A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101971603A (en) * | 2007-07-11 | 2011-02-09 | 索尼爱立信移动通讯股份有限公司 | Stylized interactive icon for portable mobile communications device |
CN101621571A (en) * | 2009-08-10 | 2010-01-06 | 上海闻泰电子科技有限公司 | Method for automatically displaying holiday greetings in mobile phone |
CN109490614A (en) * | 2018-12-11 | 2019-03-19 | 哈尔滨工程大学 | One kind being based on the adjustable digital galvanometer of STM32 range |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1218280C (en) | Apparatus and method for transfering and looking up multiple caught images | |
CN1278533C (en) | Handset capable of automatically recording characters and images, and method of recording and processing thereof | |
CN1178958A (en) | Direct-viewing based on gesture image user interface method | |
CN1558645A (en) | A telephone set with perpetual calendar and realizing method thereof | |
CN1558646A (en) | An electronic memo implementing a variety of reminding manners in telephone set | |
CN1427325A (en) | Digital small keyboard stroke multifunction Chinese character natural input method | |
CN1492705A (en) | Method for arranging telephnoe numbers according to using frequency | |
CN1722063A (en) | Gesture identification system and its method | |
CN1217521C (en) | Mobile communication electronic equipment capable of automatically simplifying function selection and its method | |
CN1304103A (en) | Daylight saving time and time-zone time difference regutation device for PDA and its method | |
CN1142476C (en) | Method for defining function key by user itself | |
CN1302038A (en) | Realizing method for personal web page reading mechanism | |
CN1571560A (en) | Intelligent adjusting system for handset operating interface and method therof | |
CN1258942C (en) | Mobile communication terminal with time, data automatic calibration function | |
EP3588205B1 (en) | Learning method for preventing to turn on the screen of a smartwatch by false touch of a metal hand | |
CN1431845A (en) | Method of making clocks in mobile phone become digital graphics | |
CN2378754Y (en) | Luminous key board | |
CN2690988Y (en) | ICP/IP charging machine | |
CN2543108Y (en) | Calendar watch with digital hand | |
CN2132354Y (en) | Telephone set with electronic communication record | |
CN1039907A (en) | Lunar calendar arithmetic unit | |
CN2718587Y (en) | Information button card electric energy meter one-control-many controller | |
CN2746672Y (en) | Electrophone with touch screen | |
CN1746869A (en) | Portable memory device and data processing method | |
CN1136492C (en) | Korean language database under UCDOS platform and its inputting method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |