CN1353348A - Calculator with automatic date memory and calculation functions - Google Patents

Calculator with automatic date memory and calculation functions Download PDF

Info

Publication number
CN1353348A
CN1353348A CN 00127114 CN00127114A CN1353348A CN 1353348 A CN1353348 A CN 1353348A CN 00127114 CN00127114 CN 00127114 CN 00127114 A CN00127114 A CN 00127114A CN 1353348 A CN1353348 A CN 1353348A
Authority
CN
China
Prior art keywords
month
day
fate
initial
current
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.)
Granted
Application number
CN 00127114
Other languages
Chinese (zh)
Other versions
CN1156769C (en
Inventor
陈家旺
李炜
朱怡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
YINGXINDA ELECTRONIC CO Ltd (SHANGHAI)
Original Assignee
YINGXINDA ELECTRONIC CO Ltd (SHANGHAI)
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by YINGXINDA ELECTRONIC CO Ltd (SHANGHAI) filed Critical YINGXINDA ELECTRONIC CO Ltd (SHANGHAI)
Priority to CNB001271148A priority Critical patent/CN1156769C/en
Publication of CN1353348A publication Critical patent/CN1353348A/en
Application granted granted Critical
Publication of CN1156769C publication Critical patent/CN1156769C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

A calculator with automatic date memory and calculation function is composed of input module for inputting working days, number of intervals days and initial date, data module containing three tables of the relation ship between A.D. year and ordinary or leap year, that between month and number of days in one month for ordinary year, and that between month and number of days in one month in leap year, operating module, output module and memory module for storing working day, numer of interval days, initial, date, and several operated results.

Description

Counter with automatic date memory and computing function
The present invention relates to a kind of digital calculator, relate in particular to a kind of digital calculator, can Enough preserve the every date imported and the step of modification with automatic date memory and computing function, and can carry out tracing back before the date and after the computing of tracing back.
In recent years, because semi-conductive quick evolution, make electronic product not only weed out the old and bring forth the new, and additional strong functions of all kinds is an example with simple numerical counter, from having the function of mathematical operation, evolve to simple statistics functions such as having memory mathematical operation formula, compared to computer, personal digital assistant or e-dictionary, the cheapness of digital calculator, ease for operation and convenience make them become necessity in the daily life.
Yet for the industry and commerce activity in modern times, except numeral was key factor, the time is one of key activities factor especially.For example, production line arrangement of time in the industry and purchase the material warehouse entry, cargo transport sailing date arrangement in the commercial activity etc., if everyone needs a personal digital assistant or e-dictionary, or all must just can check or calculate required time-histories by operating computer, even must cooperate year calendar etc. auxiliary, then must increase hardware, manpower and the time cost of industry and commerce activity.
Therefore,, then utilizing under the minimum cost, reaching rapidity and the accuracy of improving the industry and commerce activity if can increase some time functions via existing general digital calculator.
In the foregoing invention background, traditional many shortcomings that digital calculator produced, fundamental purpose of the present invention is to provide a kind of digital calculator, has automatic date memory and computing function.
Another object of the present invention is to provide a kind of and can Enough preserve the every date imported and the step of modification, and can carry out tracing back before the date and after the trace back digital calculator of computing.
According to above-described purpose, the present invention is a kind of counter with date memory and computing function, and this counter comprises input module, data module, arithmetic expression module, output module and storage module at least.But input module input service day, interval fate and origination date.The data module have the corresponding relation in time in Christian era and common year or leap year first table, every month fate of corresponding common year of month relation second show and month corresponding every month leap year fate the 3rd table of relation.The arithmetic expression module has to be counted day arithmetic expression and last fate calculating day, and first table, second that can read working day, interval fate and the origination date and the data module of input module is shown and the 3rd table, and computing obtains a plurality of operation values.The output module reads a plurality of operation values of arithmetic expression module, and with a plurality of operation values outputs.The storage module can store working day, interval fate and origination date and a plurality of operation values.
The inventive method can be widely applied in the digital calculator.When the present invention illustrated the inventive method with a preferred embodiment; The those skilled in the art in present technique field should be appreciated that the many Cis prefaces of Xu Change mutually, and a little general Change that replace of also do not take off From spirit of the present invention and category far and away.
Moreover the present invention is described in detail as follows with synoptic diagram, and when the embodiment of the invention was described in detail in detail, the planimetric map of expression electronic installation and inner structure synoptic diagram can be done local the amplification in order to explanation, but should be with this as the basis that qualification is arranged.Secondly, for schematic appearance, shown each element number, position and function also are not limited to this, and all unit with identical function are all in the scope of the invention.In addition, in the making of reality, should comprise the three dimensions size of length, width and the degree of depth.
Fig. 1 is a system diagram of the present invention;
Fig. 2 is the outward appearance front elevation of digital calculator of the present invention;
Fig. 3 is for using process flow diagram of the present invention; And
Fig. 4 is the process flow diagram of calculation date of the present invention.
The invention provides a kind of counter, comprise input module, data module, arithmetic expression module, output module and storage module at least with date memory and computing function.But input module input service day, fate and origination date at interval.The data module have the corresponding relation in time in Christian era and common year or leap year first table, every month fate of corresponding common year of month relation second show and month corresponding every month leap year fate the 3rd table of relation.The arithmetic expression module has to be counted day arithmetic expression and last fate calculating day, and first table, second that can read working day, interval fate and the origination date and the data module of input module is shown and the 3rd table, and computing obtains a plurality of operation values.The output module reads a plurality of operation values of arithmetic expression module, and with a plurality of operation values outputs.The storage module can store working day, interval fate and origination date and a plurality of operation values.
And the present invention also provides a kind of date memory and operational method that is applied in the counter, and this method comprises sets a working day, an interval fate and an origination date, and then, computing working day and interval fate obtain initial count day.Secondly, counter obtains first counting day, first time and initial month fate with initial time of initial count day and origination date and inquiry of initial month first table, second table and the 3rd table.Then, the automatic computing of counter first counting day, initial month, initial month fate and first time obtain current counting day, first current month, first current month fate and the first current time.Again a current counting day and an initial day addition were obtained for the first last day, last day of computing first, first current month, first current month fate and the first current time obtain the second last day, the second current month, the second current time, and in computation process, counter can store above-mentioned all numerical value and be performed on the storage module.
System diagram of the present invention as shown in Figure 1, counter comprise output module 72, input module 76, arithmetic expression module 73, data module 74 and storage module 75.Input module 76 can be imported a plurality of initial numerical value.Data module 74 stores the data of a plurality of times, month and corresponding relation of date.Arithmetic expression module 73 stores a plurality of arithmetic expressions, can read the initial numerical value of input module 76 and the data of data module 74, obtains a plurality of operation values through these a plurality of arithmetic expression computings.Output module 72 reads a plurality of operation values of this arithmetic expression module 73, and with a plurality of operation values outputs.Storage module 75 can store a plurality of initial numerical value and a plurality of operation values.
With reference to the outward appearance front elevation of the digital calculator of the present invention of Fig. 2, having comprised liquid crystal display screen 11, first merit at least can Key 20, second merit can Key 21, the 3rd merit can Key 22, the 4th merit can Key 23, the 5th merit can Key 24, the 6th merit can Key 25, other these digital Key of base and fortune is calculated Key.Liquid crystal display screen 11 can demonstrate numeral of being imported and the numeral and the date of calculating gained.The date computing mode that the one merit energy Key 20 enters this digital calculator for the user.The 2nd merit energy Key 21 and the 3rd merit energy Key 22 carry out data to the date of being imported for the user under the date computing mode checks.The 4th Gong Neng Key 23 carries out the correction of data for the user to the fate of being imported.Wu Gong Neng Key 24 enters steady job fate storing state for the user under the date computing mode.The work that the 6th Gong Neng Key 25 confirms under the date computing mode for the user.
Fig. 3 shows and uses process flow diagram of the present invention.The user need press merit energy Key 20, be schedule Key, enter the date computing mode (step 31) of this digital calculator, this moment, liquid crystal display screen 11 part zones can show the workday printed words, and the present state of prompting user is a set condition on working day (step 32).This embodiment to set fate be 7 working day decided at the higher level but not officially announced, at first confirm this working day whether correct (step 33) by the user.As being working day 7, then press the 6th Gong Neng Key 25 (steps 34), as not being working day 7, then directly importing correct fate and press the 6th Gong Neng Key 25 (steps 35) again by Shuo Zi Key.After confirming correct work fate, then enter the input (step 36) of origination date, the user can be according to the form on general date, as DD-MM-YY, import date, month and time in regular turn, promptly finish the input of origination date, in addition, the user also can utilize the 2nd merit energy Key 21 and the 3rd merit to make amendment on 22 pairs of dates of being imported of Key, and pressing the 6th merit again can Key 25.
Then, digital calculator can require the user to confirm to enter memory computing or manual calculations (step 37), when the user enters the memory computing, promptly be to see through Wu Gong Neng Key 24 to enter steady job fate storing state (step 38), this moment, digital calculator was stored in a register mode area with the set of number that the user imported automatically, after pressing the 6th merit energy Key 25 again, digital calculator promptly carries out accumulation calculating to this group numeral of being imported, gets calculated value to the end.Enter manual calculations (step 39) and work as the user, then can utilize Yun Suan Key that the initial date is done to increase or reduce the date, then obtain corresponding calculated value.At last, above-mentioned calculated value can be obtained the final date (step 40) according to the unified calculation of being imported on working day.
Moreover, the user can utilize the 2nd merit energy Key 21 and the 3rd merit to check finishing day of each stage by Key 22, simultaneously each step in the computation process is checked, and can utilize the 4th Gong Neng Key 23 to be revised that then this moment, corresponding calculated value also upgraded immediately.Special one carry be, the data that are stored in register mode area can not disappear because of shutdown, as long as there is power supply to exist, then data can keep always, and when the project of next required calculating and the required fate of must working are same as these data, then the user only need import the from date of this project, presses the end value that the 6th Gong Neng Key 25 can obtain upgrading again.
Fig. 4 is the process flow diagram of calculation date of the present invention.When digital calculator of the present invention receives the user from working day of input element input, when reaching the date every other day (step 41), reach every other day between at first inciting somebody to action and be divided by working day (step 42), get and a counting day be multiplied by 7 remainders (step 43) that add after rounding up for the quotient of The above results.Then, according to the time in the date of input, utilize following table one to carry out the inquiry (step 44) in time:
Table one
1996 1997 1998 1999 2000 ...... 2020
.... Leap year Common year Common year Common year Leap year ...... Leap year
As the time be the common time, then utilize table two inquiry month fate (step 45):
Table two
January February March April May ....... Dec
31 28 31 30 31 ....... 31
As the time be the time in leap year, then will count a day first row operation earlier and get a judgment value (step 46), utilize table three inquiry month fate (step 47) again:
Table three
January February March April May ....... Dec
31 29 31 30 31 ....... 31
After step 45 or step 47 obtain current month fate (step 48), just count day comparison (step 49) with current month fate, again to the end fate be current date and current counting day sum (step 50), so calculate the fate (step 51) of the last fate of gained less than current month, then export the result, export the result again otherwise enter another arithmetic expression (step 52).
Digital calculator of the present invention, for example, application in factory, need be ranked according to the source of the material production schedule of each type of production and marketing, time at each type production is generally all fixed, only need input manufacturer material from factory's time and can obtain the time corresponding point, manufacturing plan sheet can be ranked.Chan Pins personnel can obtain the actual production schedule on working day according to the working day of reality nonworkdays being discharged, and these data have versatility, use the digital calculator of the present invention can be with this data storing, and be applied to each different Start Date, and its shirtsleeve operation is applicable to the production and marketing personnel of each basic unit.
The above embodiment only is preferred embodiment of the present invention, this invention of explanation De Ji Intraoperative provides convenience, be not in order to limiting scope of the present invention, all other do not break away from equivalent transformation or the modification of being finished under the disclosed spirit, all should be included in the claim scope of the present invention.

Claims (18)

1. counter with date memory and computing function comprises at least:
The input module, this input module can be imported a plurality of initial numerical value;
The data module, the data of these a plurality of times of data module stores, month and corresponding relation of date;
The arithmetic expression module, a plurality of arithmetic expressions of this arithmetic expression module stores can read this initial numerical value of this input module and this data of this data module, obtain a plurality of operation values through these a plurality of arithmetic expression computings;
The output module, this output module reads these a plurality of operation values of this arithmetic expression module, and should a plurality of operation values export; And
The storage module, this storage module can store these a plurality of initial numerical value and these a plurality of operation values.
2. counter as claimed in claim 1 is characterized in that, above-mentioned a plurality of initial numerical value comprise working day at least, at interval fate and origination date.
3. counter as claimed in claim 2 is characterized in that, above-mentioned a plurality of arithmetic expressions comprise at least:
A counting day arithmetic expression is dividend and this working day to be that divisor obtains a quotient and a remainder with this interval fate, obtains a mantissa with this remainder of method computing that rounds up, and this quotient that adds up this mantissa and seven times obtains an initial count day; And
Last fate arithmetic expression gets a current counting in the future to inquire about this data module this initial count day, obtains a last fate with this current addition in initial day of counting day and this origination date.
4. counter as claimed in claim 3 is characterized in that, above-mentioned last fate arithmetic expression comprises at least:
With initial time of this initial count day and this origination date and inquire about this data module initial month and obtain first counting day, first time and initial month fate;
This first counting day, this initial month of computing, this initial month fate and this first time obtain this current counting day, first current month, first current month fate and the first current time; And
This last fate of computing, this first current month, this first current month fate and this first current time obtain the second current month, the second current time.
5. counter as claimed in claim 1 is characterized in that, above-mentioned data module comprises at least:
First table, this first table is made up of the corresponding relation in time in Christian era and common year or leap year;
Second table, this second table is made up of the relation of every month fate of corresponding common year of month; And
The 3rd table, the 3rd table is made up of the relation of corresponding every month leap year fate of month.
6. counter with date memory and computing function comprises at least:
Input module, but this input module input service day, fate and origination date at interval;
Data module, this data module have the corresponding relation in time in Christian era and common year or leap year first table, every month fate of corresponding common year of month relation second show and month corresponding every month leap year fate the 3rd table of relation;
The arithmetic expression module, this arithmetic expression module has counting day arithmetic expression and last fate to calculate day, can read this first table, this second table and the 3rd table of this working day, this interval fate and this origination date and this data module of this input module, computing obtains a plurality of operation values;
The output module, this output module reads these a plurality of operation values of this arithmetic expression module, and should a plurality of operation values export; And
The storage module, this storage module can store this working day, this interval fate and this origination date and these a plurality of operation values.
7. counter as claimed in claim 6, it is characterized in that, above-mentioned counting day, arithmetic expression was to be dividend and this working day to be that divisor obtains a quotient and a remainder with this interval fate, obtain a mantissa with this remainder of method computing that rounds up, this quotient that adds up this mantissa and seven times obtains an initial count day.
8. counter as claimed in claim 7 is characterized in that comprising at least above-mentioned last fate calculating day:
With initial time of this initial count day and this origination date and inquire about this data module initial month and obtain first counting day, first time and initial month fate;
This first counting day, this initial month of computing, this initial month fate and this first time obtain this current counting day, first current month, first current month fate and the first current time; And
Addition in initial day with this current counting day and this origination date gets fate to the end.
9. one kind is applied to the date computing of counter and the method for memory, and this method comprises at least:
Set a working day, an interval fate and an origination date;
Computing should working day and this interval fate obtain initial count day;
Initial time and the inquiry of initial month with this initial count day and this origination date obtain the first counting day, first time and initial month fate;
This first counting day, this initial month of computing, this initial month fate and this first time obtain a current counting day, first current month, first current month fate and the first current time;
Obtained first last day in initial day of this current counting day of computing and this origination date;
This first last day of computing, this first current month, this first current month fate and this first current time obtain the second last day, the second current month, the second current time; And
Store above-mentioned these all numerical value and be performed on a storage module.
10. method as claimed in claim 9 is characterized in that, above-mentioned first calculation step comprises:
With this interval fate is dividend and this working day to be that divisor obtains a quotient and a remainder;
Obtain a mantissa with this remainder of method computing that rounds up; And
This quotient that adds up this mantissa and seven times obtains this initial count day.
11. method as claimed in claim 9 is characterized in that, above-mentioned query steps comprises at least:
With this initial time inquiry first table of this origination date, this first table is made up of the corresponding relation in Christian era time and common year or leap year;
Obtain this first counting day and this first time this initial count day of computing; And
This initial month and this first time with this origination date inquired about this first table, second table and the 3rd shows to obtain this initial month fate.
12. method as claimed in claim 11 is characterized in that, above-mentioned second table is made up of the relation of every month fate of corresponding common year of month.
13. method as claimed in claim 11 is characterized in that, above-mentioned the 3rd table is made up of the relation of corresponding every month leap year fate of month.
14. method as claimed in claim 9, it is characterized in that, above-mentioned second calculation step is relatively this first counting day and the initially value of month fate, at least comprise when this first counting day during less than the value of this initial month fate, this current counting day is identical with this first counting day, this initial month is identical with this first current month, and this initial month first current month fate of fate and this is identical, and this first time is identical with this first current time.
15. method as claimed in claim 14, it is characterized in that, also comprise when this first counting day is not less than the value of this initial month fate, this current counting day is for this first counting day and be somebody's turn to do the value that initial month fate subtracts each other gained, this initial month of computing obtains this first current month, this first time of computing obtains this first current time, and consults this first current month and this first current time obtains this first current month fate.
16. method as claimed in claim 9 is characterized in that, above-mentioned the 3rd calculation step for should be current counting day with should an initial day addition obtain this first day at last.
17. method as claimed in claim 9, it is characterized in that, above-mentioned the 4th calculation step is this first last day value with this first current month fate relatively, at least comprise when first last day during less than this first current month fate, this first last day identical with this second last day, this first current month is identical with this second current month, and this first current time is identical with this second current time.
18. method as claimed in claim 17, it is characterized in that, also comprise when being not less than the value of this first current month fate this first last day, this second last day value for subtracting each other gained with this first current month fate in this first last day, this first current month of computing obtains this second current month, and this first current time of computing obtains this second current time.
CNB001271148A 2000-11-02 2000-11-02 Calculator with automatic date memory and calculation functions Expired - Fee Related CN1156769C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001271148A CN1156769C (en) 2000-11-02 2000-11-02 Calculator with automatic date memory and calculation functions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001271148A CN1156769C (en) 2000-11-02 2000-11-02 Calculator with automatic date memory and calculation functions

Publications (2)

Publication Number Publication Date
CN1353348A true CN1353348A (en) 2002-06-12
CN1156769C CN1156769C (en) 2004-07-07

Family

ID=4592133

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001271148A Expired - Fee Related CN1156769C (en) 2000-11-02 2000-11-02 Calculator with automatic date memory and calculation functions

Country Status (1)

Country Link
CN (1) CN1156769C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120055A (en) * 2015-06-25 2015-12-02 努比亚技术有限公司 Data processing method and terminal
CN114356183A (en) * 2021-12-31 2022-04-15 挂号网(杭州)科技有限公司 Time input method and device, electronic equipment and storage equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120055A (en) * 2015-06-25 2015-12-02 努比亚技术有限公司 Data processing method and terminal
CN105120055B (en) * 2015-06-25 2019-04-19 努比亚技术有限公司 Data processing method and terminal
CN114356183A (en) * 2021-12-31 2022-04-15 挂号网(杭州)科技有限公司 Time input method and device, electronic equipment and storage equipment

Also Published As

Publication number Publication date
CN1156769C (en) 2004-07-07

Similar Documents

Publication Publication Date Title
Zhang et al. Vertical multinationals and host-country characteristics
US20100198779A1 (en) Data processing system and method for supply chain management
Hasan Direct methods for finding optimal solution of a transportation problem are not always reliable
CN105279143A (en) Periodic report system
CN108183933A (en) Information push method, apparatus and system, electronic equipment and computer storage media
Hamad et al. An enhanced technique to clean data in the data warehouse
CN103942184A (en) Collocation method, generation method and system with addition item summary statement
Dasarathy Image data compression: block truncation coding
CN102222285A (en) Multi-dimensional data linkage computing device and multi-dimensional data linkage computing method
CN101706829A (en) Data storage method and device
CN1353348A (en) Calculator with automatic date memory and calculation functions
Helland et al. Pollution abatement as a barrier to entry
CN115936419B (en) MES-based production monitoring method, device, equipment and storage medium
Pai et al. Effective implementation for introducing ISO/TS 16949 in semiconductor manufacturing industries
JP2014229098A (en) Accounting bookkeeping information processing apparatus, method for controlling the same, and accounting bookkeeping processing device program and recording medium
CN116433399A (en) Long-term money discount calculation method and system based on business bill
Son A framework for modern manufacturing economics
US20040249770A1 (en) Cost computing system and method
JP2005078574A (en) Environmental related data management system, environmental related data management device, environmental related data management method, and program
US20040205523A1 (en) Control chart with single display
JPH10240806A (en) System for supporting mounting-factory development examination
Lelkes et al. Considering production time in allocating costs and estimating profits at a Fortune 500 manufacturing corporation: A case study
Fong et al. Efficiency in shortage reduction when using a more expensive common component
Gusikhin et al. JEDI: Just-in-time execution and distribution information support system for automotive stamping operations
CN101706918A (en) Method and device for urging submission of report form

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee