CN110134255A - A kind of Multi-function Time input method - Google Patents

A kind of Multi-function Time input method Download PDF

Info

Publication number
CN110134255A
CN110134255A CN201910418010.XA CN201910418010A CN110134255A CN 110134255 A CN110134255 A CN 110134255A CN 201910418010 A CN201910418010 A CN 201910418010A CN 110134255 A CN110134255 A CN 110134255A
Authority
CN
China
Prior art keywords
time
value
input
column
idler wheel
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
Application number
CN201910418010.XA
Other languages
Chinese (zh)
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.)
Shenzhen Witknow Information Technology Co Ltd
Original Assignee
Shenzhen Witknow Information Technology Co Ltd
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 Shenzhen Witknow Information Technology Co Ltd filed Critical Shenzhen Witknow Information Technology Co Ltd
Priority to CN201910418010.XA priority Critical patent/CN110134255A/en
Publication of CN110134255A publication Critical patent/CN110134255A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a kind of Multi-function Time input methods, different time input mode and conversion mode are generated according to the different parameters that application program is passed to, and input mode and conversion mode can be switched by user, these modes include date, time, date-time, week in year, duration, the lunar calendar, the Moslem Calendar, universal time, positive monthly calendar, agriculture monthly calendar etc.;Also support the simultaneous display of related information;When being inputted in a manner of idler wheel, at the same support click and roll, day idler wheel weekend and when idler wheel different periods can be shown with different patterns;This input method, which has, to be skillfully constructed, and code is brief, powerful, provides synchronized decision for user and refers to, input speed faster, it is simple and beautiful the advantages that.

Description

A kind of Multi-function Time input method
Technical field
The present invention relates to a kind of time input methods, belong to software systems input field, according to its purposes and operating feature We are named as " Multi-function Time input method ", and this input mode is suitable for the application of any required input time, when input Between mode have date, time, date+time, solar calendar, the lunar calendar, the Moslem Calendar (Islam is gone through), duration, zebra time, and synchronize aobvious Show the scaling results between different time type, may also display the related information of the time, is particularly suitable for touch panel device and small The time of screen equipment inputs.
Background technique
Have in current software system various by keyboard typing, monthly calendar selection or the input times information such as idler wheel Mode, wherein keyboard typing input has the shortcomings that format is nonstandard, input or modifies slow-footed, and monthly calendar input pattern is switching Especially inconvenient when time and month, idler wheel input mode general date and time in small screen device needs separately input, Or Sunday Saturday cannot be shown simultaneously;Above-mentioned input mode cannot obtain the corresponding relationship on a variety of dates simultaneously, such as input sun Corresponding lunar date or Moslem Calendar date are lasted, input Beijing time cannot see the zebra time in other cities simultaneously, it is known that Time started, input duration cannot see that end time or end of input time cannot see duration simultaneously simultaneously, can not be defeated See when entering the date current year which week or input current year in which week it is all what time cannot see it being any day any moon simultaneously, less together Associated information such as weather, planned, in custom another day compatibility and incompatibility of drugs are seen when inputting or changing the date;Above-mentioned input side Method has been unable to meet decision of the touch panel devices such as mobile phone using more and more frequent and user to input efficiency and selection time The higher and higher demands such as reference are provided.And above-mentioned input mode can not neatly show date the lattice of time in application interface Formula and a variety of requirements for meeting program time calculating and record.
Summary of the invention
In order to solve existing time input method format is single, input speed is slow, input when cannot be with reference to agriculture It goes through, zebra time, countdown, Sunday Saturday and the problems such as related information, the present invention provides one kind to be called by level of application It is one-hand operation, simple and quick and mention and with parameter definition multiple input modes and conversion mode and result passback format For the time input method can switching input mode and scaling results at any time, related information can be provided.
The technical measures implementing above-mentioned purpose of the present invention and using are as described below:
A kind of Multi-function Time input method, includes the following steps:
1) call instruction and parameter of application program input field are received, parameter includes but is not limited to time type parameter n, format ginseng Number gs, returns type parameter tp, with reference to value parameter me;
2) time input method main interface is generated, input area, conversion column, input switch key and acknowledgement key are equipped with;Wherein, input area Content and pattern are generated according to time type parameter n, if time parameter n is defined as the pattern that input area to be generated when being idler wheel, Each character of time parameter n is corresponding to generate a column idler wheel, i.e. character length of the columns of idler wheel equal to time parameter n, each The value of character represents the time property of corresponding idler wheel candidate item as " year, month, day, hour, min, second, which week, all several, which days " In a certain kind;
3) format on conversion column determines that the initial value on the column that converts has original in application program input field by incoming format parameter gs Then it is equal to the original value when value, if determining initial value without original value according to incoming reference value parameter me, that is, referring to Value is equal to current time plus or minus the value of me, and the unit of me is the minimal adjustment chronomere of current roller group;If me is not When setting, then initial value is the value of this input method last input, if it does not exist the value Shi Zewei current time of last input;
It 4) is corresponding time value according to the type of decomposition of each column idler wheel by the initial value on the column that converts, and roll each idler wheel to make it The candidate item for being directed at intermediate selected areas is the time value;
5) above-mentioned conversion column is clicked by pop-up conversion pattern selection interface, is equipped with " solar calendar ", " lunar calendar ", " Moslem Calendar ", " week in year ", Multiple city selection keies of " duration ", " Julian date " and zebra time click the pattern and numerical value on conversion column after above-mentioned selection key Corresponding format and value will be switched to, and returns to time input method main interface;
6) input pattern selection interface will be popped up by clicking above-mentioned input switch key, be equipped with " solar calendar ", " lunar calendar ", " week in year ", " when Length ", multiple city selection keies of " positive monthly calendar ", " agriculture monthly calendar " and zebra time, input area will switch after clicking above-mentioned selection key At corresponding format, and return to time input method main interface;
7) if input area is idler wheel, idler wheel is clicked, the numerical value of corresponding position will turn to the selected areas among idler wheel;Use hand Refer to or mouse rotation roller, idler wheel will do underdrive, selected areas certain row candidate item will be directed at after stopping, after rotation stops, Value in conversion column dynamically will be converted and be shown according to the format of the value of candidate item in selected areas and conversion column;
8) " positive monthly calendar " or " Yin Yueli " in input pattern selection interface are clicked, what is produced in input area will make by solar calendar or lunar calendar Every month be range ephemeris of the moon, click ephemeris of the moon in date candidate item, correspond to date value will be passed to conversion column and by The format on conversion column is dynamically converted and is shown;
9) conversion pattern selection interface is additionally provided with " information " key, conversion selection interface is closed after click and in the life of the top of main interface At related information area;Related information area is equipped with association type list of labels and related information details area, related information details area Content will be according to the type Dynamically Announce being selected in the current time converted in column and association type list;
10) acknowledgement key is clicked, then the value in column that converts returns to application program after converting pattern according to passback type parameter tp Input field, the value in column that converts is converted into standard time value and passes to application program simultaneously, is then shut off this Multi-function Time Input method.
Further, the main interface of time input method is equipped with input area, conversion column, input switch key and acknowledgement key;Wherein, Input area is generated according to incoming time type parameter n, and n is a digit strings, if time parameter n is defined as input area and to give birth to At pattern be idler wheel when, each character of time parameter n is corresponding to generate a column idler wheel, i.e. the columns of idler wheel is equal to time parameter The character length of n, the value of each character represent the time property of corresponding idler wheel candidate item as " year, month, day, hour, min, the second, which A certain kind in week, all several, which days ".
Further, the format on column of converting determines that the initial value on the column that converts is in application program by incoming format parameter gs Input field, which has, is then equal to the original value when original value, if being determined without original value according to incoming reference value parameter me Initial value, i.e. reference value are equal to current time plus or minus the value of me, when the unit of me is the minimal adjustment of current roller group Between unit;If me is not set, initial value is the value of this input method last input, if it does not exist the value Shi Zewei of last input Current time;If input mode is idler wheel, which will be decomposed into the corresponding time according to the time property of each column idler wheel Value, and rolling each idler wheel makes it be directed at the candidate item of the intermediate selected areas time value.
Further, the initial format on column of converting is determined that conversion will be popped up by clicking conversion column by incoming format parameter gs Pattern selection interface is equipped with " solar calendar ", " lunar calendar ", " Moslem Calendar ", multiple cities of " week in year ", " duration ", " Julian date " and universal time City's selection key is clicked and converts the pattern on column after above-mentioned selection key and numerical value will switch to corresponding format and value, and returns to the time Input method main interface converts column will be after switching pattern.
Further, input pattern selection interface will be popped up by clicking above-mentioned input switch key, be equipped with " solar calendar ", " agriculture Go through ", " year week ", " duration ", multiple city selection keies of " positive monthly calendar ", " agriculture monthly calendar " and universal time, after clicking above-mentioned selection key Input area will switch to corresponding format, and return to time input method main interface.
Further, conversion pattern selection interface is additionally provided with " information " key, conversion selection interface is closed after click and in master The top at interface generates related information area;Related information area is equipped with association type list of labels and related information details area, association It is equipped with the option-tags such as " compatibility and incompatibility of drugs ", " weather ", " commemoration day ", " plan ", " history " in class label list, is associated with after click The content in message details area will be according to the type Dynamically Announce being selected in the current time converted in column and association type list.
Further, if input area is idler wheel, idler wheel is clicked, the numerical value of corresponding position will turn among idler wheel Selected areas;With finger or mouse rotation roller, idler wheel will do underdrive, certain row candidate item will be directed at selected areas after stopping, After rotation stops, the value to convert in column will dynamically be converted simultaneously according to the format of the value of candidate item in selected areas and conversion column Display;Day idler wheel if it exists corresponds to the candidate item font different from other date candidate items that the date is Saturday and Sunday Color or background color indicate;Hour idler wheel if it exists, daytime the font face different with the candidate item in the morning from night or afternoon Color or background colour indicate.
Further, " positive monthly calendar " or " Yin Yueli " in input pattern selection interface are clicked, will be generated by sun in input area It goes through or the every month of lunar calendar is the ephemeris of the moon of range, ephemeris of the moon first trip is equipped with " week is several " column, and lower section is that the date of 7 column multirows is candidate Item matrix is clicked in date candidate item matrix wherein the date candidate item within the scope of this non-month is shown with slightly deep background colour Date candidate item, corresponding to date value will be passed to conversion column and is dynamically converted and shown by the format on conversion column.
Further, when input mode and conversion column display mode only one be duration when, another when Between value be in the Custom Attributes of current time or application program input field time of object for being directed toward subtract or plus duration and Obtained time value.
Further, this input method will return the time value for corresponding to format to application program with aobvious by passback type parameter tp Show in corresponding input field, while the time format of Transfer Standards in case of calculating or being saved to application program, the standard Time format, which is not switched input mode and conversion mode by user, to be influenced.
Further, used every time universal time or after, conversion pattern selection interface is popped up in next time in the city chosen Or or when input pattern selection interface will be aligned to the foremost of universal time candidate item.
From These characteristics it is found that the present invention program has the following advantages compared with existing technical solution:
1, different input mode and conversion mode can be generated according to the parameter of input, meets difference should scene the needs of, Such as survive date idler wheel, time wheel, date-time idler wheel, week in year idler wheel, when long wheel and monthly calendar.
2, input mode and conversion mode can be clicked the needs of switching, meeting user instantly by user in use; Such as known time started and duration end of conversion time, when setting plan, learns the zebra time in another city simultaneously Deng.
3, input mode includes the idler wheel for being suitble to touch screen and monthly calendar with mouse action equipment, wherein date idler wheel and when Between idler wheel can occur simultaneously, while support click select and roll selection, input speed is faster;Monthly calendar is divided into positive monthly calendar and agriculture Monthly calendar is more convenient to be checked.
4, the date that user candidate can be reminded by pattern (such as font color or background color) is all several or in afternoon in the morning Or day and night.
5, can be converted by parameter setting the column date display format and return to the time format of application program, such as Chinese " time-division date " or character " --:: " etc., meet different common demands.
6, the Dynamically Announce of related information is provided, to provide decision references when user's input time.
7, the time value format of application program standard is returned to simultaneously, which is not switched input method by user Or the influence of conversion mode, meet the requirement that program is saved and calculated.
As can be seen above, Multi-function Time input method of the invention is opposite with prior art, is skillfully constructed, code letter It is short, it is powerful, more reference informations and input method are provided in inputting date temporal information, input speed is faster, simple Clean beauty;Particularly suitable for information inputs and lunar calendar solar calendars such as dates, time, duration in touch panel device, small screen device The Moslem Calendar, inquiry of zebra time etc..
Detailed description of the invention
Fig. 1 is logical schematic of the invention;
Fig. 2 is the embodiment schematic diagram that input mode of the present invention includes date and time idler wheel;
Fig. 3 is another embodiment schematic diagram that input mode of the present invention is time wheel;
Fig. 4 is the embodiment schematic diagram that input mode of the present invention is date idler wheel;
Fig. 5 is the schematic diagram of conversion pattern selection interface of the embodiment of the present invention;
Fig. 6 is the schematic diagram that Fig. 1 embodiment conversion column is switched to lunar calendar pattern;
Fig. 7 is the schematic diagram that Fig. 3 embodiment conversion column is switched to week in year pattern;
Fig. 8 is the schematic diagram that Fig. 1 embodiment conversion column is switched to duration pattern;
Fig. 9 Fig. 1 embodiment conversion column is switched to the schematic diagram in universal time New York;
Figure 10 is the schematic diagram of input pattern of embodiment of the present invention selection interface;
Figure 11 is that Fig. 3 embodiment input pattern is switched to the lunar calendar, and shows the schematic diagram of related information;
Figure 12 is that Fig. 1 embodiment input pattern is switched to duration, and shows the schematic diagram of related information;
Figure 13 is the schematic diagram that Fig. 3 embodiment input pattern is switched to week in year;
Figure 14 is the schematic diagram that Fig. 3 embodiment input pattern is switched to positive monthly calendar, conversion column is switched to solar calendar;
Figure 15 is the schematic diagram that Fig. 3 embodiment input pattern is switched to agriculture monthly calendar, conversion column is switched to the lunar calendar.
Specific embodiment
The principle of the present invention is further described presently in connection with preferred embodiment shown in the drawings.
By Fig. 1, Fig. 2, Fig. 5, Fig. 7, Figure 10, Figure 11, Figure 14, Figure 15 it is found that the present invention includes the following steps:
1) call instruction and parameter of application program input field are received, parameter includes but is not limited to time type parameter n, format ginseng Number gs, returns type parameter tp, with reference to value parameter me;
2) time input method main interface 1 is generated, input area 11, conversion column 12, input switch key 13 and acknowledgement key 14 are equipped with;Its In, the content and pattern of input area 11 are generated according to time type parameter n;
3) format on conversion column 12 is determined by incoming format parameter gs, and the initial value on conversion column 12 has in application program input field Then it is equal to the original value when original value, if determining initial value according to incoming reference value parameter me without original value;
It 4) is corresponding time value according to the type of decomposition of each column idler wheel by the initial value on the column 12 that converts, and roll each idler wheel to make Its candidate item for being directed at intermediate selected areas is the time value;
5) above-mentioned conversion column 12 is clicked by pop-up conversion pattern selection interface 2, is equipped with " solar calendar " 21, " lunar calendar " 22, " Moslem Calendar " 23, " week in year " 24, " duration " 25, multiple city selection keies 28 of " Julian date " 26 and universal time are changed after clicking above-mentioned selection key The pattern and numerical value for calculating column 12 will switch to corresponding format and value, and return to time input method main interface;
6) input pattern selection interface 3 will be popped up by clicking above-mentioned input switch key 13, be equipped with " solar calendar " 31, " lunar calendar " 32, " year It is all " 33, " duration " 34, multiple city selection keies 37 of " positive monthly calendar " 35, " agriculture monthly calendar " 36 and universal time, click above-mentioned selection key Input area 11 will switch to corresponding format afterwards, and return to time input method main interface 1;
7) if input area 11 is idler wheel, idler wheel is clicked, the numerical value of corresponding position will turn to the selected areas among idler wheel 10; With finger or mouse rotation roller, idler wheel will do underdrive, and selected areas certain row candidate item will be directed at after stopping, and rotation stops Afterwards, the value to convert in column 12 dynamically will be converted and be shown according to the format of the value of candidate item in selected areas 10 and conversion column 12 Show;
8) " positive monthly calendar " 35 or " Yin Yueli " 36 in input pattern selection interface 3 are clicked, what is produced in input area 11 will make by sun It goes through or lunar calendar every month is the ephemeris of the moon of range, click the date candidate item in ephemeris of the moon, correspondence date value, which will be passed to, changes It calculates column 12 and is dynamically converted and shown by the format on conversion column 12;
9) conversion pattern selection interface 2 is additionally provided with " information " 27 key, conversion selection interface 2 is closed after click and in main interface 1 Top generates related information area 4;Related information area 4 is equipped with association type list of labels 41 and related information details area 42, association The content in message details area 42 will be moved according to the type being selected in the current time converted in column 12 and association type list 41 State is shown;
10) acknowledgement key 4 is clicked, then the value in column 12 that converts returns to after converting pattern according to passback type parameter tp using journey The input field of sequence, the value in column 12 that converts are converted into standard time value and pass to application program simultaneously, are then shut off multi-functional Time input method.
By Fig. 2, Fig. 3, Fig. 4 it is found that three implementation columns of the invention, the main interface 1 of time input method are designed with input area 11, convert column 12, input switch key 13 and acknowledgement key 14;Wherein, input area 11 is generated according to incoming time type parameter n, n For a digit strings, if time parameter n is defined as the pattern that input area to be generated when being idler wheel, each word of time parameter n Symbol is corresponding to generate a column idler wheel, i.e. character length of the columns of idler wheel equal to time parameter n, and the value of each character represents corresponding rolling The time property of candidate item is taken turns as a certain kind in " year, month, day, hour, min, second, which week, all several, which days ".Fig. 2 when Between type parameter be " 01234 ", generate " year, month, day, hour, min " five column idler wheel;The time type parameter of Fig. 3 is " 34 ", is generated " when, be divided to " two column idler wheels;Time type parameter is " 012 ", generates " year, month, day " three column idler wheel.
By Fig. 2, Fig. 3, Fig. 4 it is found that three implementation columns of the invention, the format on the column 12 that converts is by incoming format parameter gs It determines, wherein the format parameter gs of Fig. 2 is " --: ", and the format parameter gs of Fig. 3 is " time-division ", and the format parameter gs of Fig. 4 is " date ";The initial value on conversion column 12 is then equal to the original value when application program input field has original value, if without original Initial value, then determine initial value according to incoming reference value parameter me, i.e., reference value is equal to current time plus or minus me Value, the unit of me is the minimal adjustment chronomere of current roller group;If me is not set, initial value is this input method last The value of input, the value Shi Zewei current time that last inputs if it does not exist;If input mode is idler wheel, the initial value is by basis The time property of each column idler wheel is decomposed into corresponding time value, and rolling each idler wheel makes it be directed at the candidate of intermediate selected areas 10 Item is the time value.
By Fig. 5, Fig. 6, Fig. 7, Fig. 8, Fig. 9 it is found that the initial format on conversion column 12 is determined by incoming format parameter gs, point Conversion column 12 is hit by pop-up conversion pattern selection interface 2, is equipped with " solar calendar " 21, " lunar calendar " 22, " Moslem Calendar " 23, " week in year " 24, " when Length " 25, multiple city selection keies 28 of " Julian date " 26 and universal time click the pattern sum number on conversion column 12 after above-mentioned selection key Value will switch to corresponding format and value, and returning to time input method main interface conversion column will be after switching pattern.Fig. 6, which is shown, to be changed State when column is switched to lunar calendar pattern is calculated, Fig. 7 shows state when conversion column is switched to week in year pattern, indicates current date When the year week in which week it is several, Fig. 8 shows that conversion column is switched to the state of duration pattern, and Fig. 9 shows the switching of conversion column State when to universal time New York.
By Figure 10, Figure 11, Figure 12, Figure 13, Fig. 9 it is found that input pattern selection interface will be popped up by clicking input switch key 13 3, it is equipped with the multiple of " solar calendar " 31, " lunar calendar " 32, " week in year " 33, " duration " 34, " positive monthly calendar " 35, " agriculture monthly calendar " 36 and universal time City selection key 37, input area 11 will switch to corresponding format after clicking above-mentioned selection key, and return to the main boundary of time input method Face 1.Figure 11 shows state when input area is switched to lunar calendar idler wheel pattern, and Figure 12 shows long wheel when input area is switched to State when pattern, Figure 13 show that input area is switched to the state of week in year idler wheel pattern.
By Fig. 5, Figure 11, Figure 12 it is found that conversion pattern selection interface 2 is additionally provided with " information " 27 key, conversion is closed after click Selection interface 2 simultaneously generates related information area 4 in the top of main interface 1;Related information area 4 is equipped with 41 He of association type list of labels Related information details area 42 is associated in class label list and is equipped with " compatibility and incompatibility of drugs ", " weather ", " commemoration day ", " plan ", " history " Etc. option-tags, after click the content in related information details area 42 will according in current conversion column 12 time and association type column The type Dynamically Announce being selected in table 41.Figure 11 shows that related information is the state of " compatibility and incompatibility of drugs " classification, and Figure 12 shows pass Join the state that information is " weather " classification.
By Fig. 2, Fig. 3, Fig. 4, Fig. 6, Fig. 7, Fig. 8, Fig. 9, Figure 11 it is found that clicking idler wheel if input area 11 is idler wheel, The numerical value of corresponding position will turn to the selected areas among idler wheel 10;With finger or mouse rotation roller, idler wheel will do deceleration and turn It is dynamic, selected areas certain row candidate item will be directed at after stopping, after rotation stops, the value in column 12 that converts will be according to waiting in selected areas 10 The value of option and the format on conversion column 12 are dynamically converted and are shown;Day idler wheel if it exists, correspond to the date be Saturday and The candidate item on Sunday is indicated with the font color or background color different from other date candidate items;Hour idler wheel if it exists is white Its font color different with the candidate item in the morning from night or afternoon or background colour indicate.
It is defeated by Figure 10, Figure 14, Figure 15 it is found that clicking " positive monthly calendar " 35 or " Yin Yueli " 36 in input pattern selection interface 3 Entering the ephemeris of the moon in area 11 by generation by the every month of solar calendar or lunar calendar for range, ephemeris of the moon first trip is equipped with " week is several " column 15, under Side is the date candidate item matrix 16 of 7 column multirows, wherein the date candidate item within the scope of this non-month is shown with slightly deep background colour, The date candidate item in date candidate item matrix 16 is clicked, corresponding to date value will be passed to conversion column 12 and by conversion column 12 Format is dynamically converted and is shown.Figure 14 shows that input area is the state of " positive monthly calendar ", and Figure 12 shows that input area is The state of " agriculture monthly calendar ".
It is another by Fig. 1, Fig. 8, Figure 12 it is found that when input mode and the display mode on the column that converts, only one is duration Outer one time value be in the Custom Attributes of current time or application program input field time of object for being directed toward subtract or In addition time value obtained from duration.
As shown in Figure 1, this input method will be returned by passback type parameter tp the time value of corresponding format to application program with It is shown in corresponding input field, while the time format of Transfer Standards in case of calculating or being saved, the standard to application program Time format not by user switch input mode and conversion mode influenced.
By Fig. 5, Figure 10, Fig. 9 it is found that after using universal time 28 or 37 every time, in next time, pop-up is changed in the city chosen Calculate pattern selection interface 2 or or when input pattern selection interface 3 will be aligned to the foremost of universal time candidate item.
Compared with the prior art, Multi-function Time input method of the present invention takes full advantage of different parameters and carrys out shape At different input modes, convert pattern and support user switch input mode and conversion pattern, be skillfully constructed, code is brief, It is powerful, it can sufficiently meet and rapidly input date-time without application program and user and provide conversion and related information As reference, and operation is easily mastered, and is believed particularly suitable for the date, time, duration etc. in touch panel device, small screen device Breath input and the lunar calendar solar calendar Moslem Calendar, the inquiry of zebra time etc..
The present invention only illustrates some preferred embodiments in the present specification, is not to limit it.The professional technician Design and spirit can make various variations or modification in appearance according to the present invention, such as can be by above structure original Reason changes the arrangement mode of zebra time city option, increases common collection function, or preferentially shows used option etc. recently. Therefore these should be belonged to the scope of protection of the present invention.

Claims (10)

1. a kind of Multi-function Time input method, includes the following steps:
1) call instruction and parameter of application program input field are received, parameter includes but is not limited to time type parameter n, format ginseng Number gs, returns type parameter tp, with reference to value parameter me;
2) time input method main interface (1) is generated, be equipped with input area (11), conversion column (12), input switch key (13) and confirmed Key (14);Wherein, the content of input area (11) and pattern are generated according to time type parameter n;
3) format of conversion column (12) is determined by incoming format parameter gs, and the initial value of conversion column (12) is inputted in application program Column, which has, is then equal to the original value when original value, if being determined according to incoming reference value parameter me initial without original value Value;
4) it is corresponding time value according to the type of decomposition of each column idler wheel by the initial value of conversion column (12), and rolls each idler wheel It is set to be directed at the candidate item of the intermediate selected areas time value;
5) it clicks above-mentioned conversion column (12) pop-up converts pattern selection interface (2), is equipped with " solar calendar " (21), " lunar calendar " (22), " Moslem Calendar " (23), multiple city selection keies of " week in year " (24), " duration " (25), " Julian date " (26) and universal time (28), it clicks and converts the pattern of column (12) after above-mentioned selection key and numerical value will switch to corresponding format and value, and return to the time Input method main interface;
6) input pattern selection interface (3) will be popped up by clicking above-mentioned input switch key (13), be equipped with " solar calendar " (31), " lunar calendar " (32), multiple city selection keies of " week in year " (33), " duration " (34), " positive monthly calendar " (35), " agriculture monthly calendar " (36) and universal time (37), input area (11) will switch to corresponding format after clicking above-mentioned selection key, and return to time input method main interface (1);
7) input area if (11) are idler wheel, idler wheel is clicked, the numerical value of corresponding position will turn to the selected areas among idler wheel (10);With finger or mouse rotation roller, idler wheel will do underdrive, certain row candidate item will be directed at selected areas after stopping, and be turned It is dynamic stop after, value in conversion column (12) will be according to the value of selected areas (10) interior candidate item and the format of conversion column (12) dynamically It is converted and is shown;
8) it clicks in input pattern selection interface (3) " positive monthly calendar " (35) or " Yin Yueli " (36), is produced in input area (11) It will make the ephemeris of the moon by solar calendar or lunar calendar range every month, click the date candidate item in ephemeris of the moon, corresponding to date value will It passes to conversion column (12) and is dynamically converted and shown by the format of conversion column (12);
9) conversion pattern selection interface (2) is additionally provided with " information " (27) key, conversion selection interface (2) is closed after click and on main boundary The top in face (1) generates related information area (4);Related information area (4) is equipped with association type list of labels (41) and related information The content in details area (42), related information details area (42) will be according to the current time converted in column (12) and association type list (41) the type Dynamically Announce being selected in;
10) acknowledgement key (4) are clicked, then the value in column (12) that converts will be answered according to returning to after passback type parameter tp conversion pattern With the input field of program, be converted into standard time value passes to application program to the value in column (12) that converts simultaneously, is then shut off this Multi-function Time input method.
2. Multi-function Time input method according to claim 1, it is characterised in that: the main interface (1) of time input method Equipped with input area (11), conversion column (12), input switch key (13) and acknowledgement key (14);Wherein, input area (11) are according to incoming Time type parameter n generate, n is a digit strings, if it is idler wheel that time parameter n, which is defined as pattern that input area to be generated, When, each character of time parameter n is corresponding to generate a column idler wheel, i.e. character length of the columns of idler wheel equal to time parameter n, often The value of a character represent corresponding idler wheel candidate item time property be " year, month, day, hour, min, the second, which week, it is all it is several, which It " in a certain kind.
3. Multi-function Time input method according to claim 1, it is characterised in that: the format of conversion column (12) is by being passed to Format parameter gs determine that be then equal to this when application program input field has original value original for the initial value of conversion column (12) Value, if determining initial value according to incoming reference value parameter me, i.e. reference value is added equal to current time without original value Or the value of me is subtracted, the unit of me is the minimal adjustment chronomere of current roller group;If me is not set, initial value is this The value of input method last input, the value Shi Zewei current time that last inputs if it does not exist;If input mode is idler wheel, this is first Initial value will be decomposed into corresponding time value according to the time property of each column idler wheel, and rolling each idler wheel makes its alignment is intermediate to choose The candidate item in area (10) is the time value.
4. Multi-function Time input method according to claim 1, it is characterised in that: conversion column (12) initial format by Incoming format parameter gs determines, click conversion column (12) will pop-up conversion pattern selection interface (2), be equipped with " solar calendar " (21), " lunar calendar " (22), " Moslem Calendar " (23), multiple cities choosing of " week in year " (24), " duration " (25), " Julian date " (26) and universal time Key (28) are selected, clicks and converts the pattern of column (12) after above-mentioned selection key and numerical value will switch to corresponding format and value, and return to Time input method main interface converts column for after switching pattern, and input pattern selection will be popped up by clicking above-mentioned input switch key (13) Interface (3) is equipped with " solar calendar " (31), " lunar calendar " (32), " week in year " (33), " duration " (34), " positive monthly calendar " (35), " agriculture monthly calendar " (36) and multiple city selection keies (37) of universal time, input area (11) will switch to corresponding lattice after clicking above-mentioned selection key Formula, and return to time input method main interface (1).
5. Multi-function Time input method according to claim 1, it is characterised in that: conversion pattern selection interface (2) is also Conversion selection interface (2) is closed equipped with " information " (27) key, after click and generates related information area in the top of main interface (1) (4);Related information area (4) is equipped with association type list of labels (41) and related information details area (42), association class label column The option-tags such as " compatibility and incompatibility of drugs ", " weather ", " commemoration day ", " plan ", " history ", related information details area after click are equipped in table (42) content will be aobvious according to the type dynamic being selected in the current time converted in column (12) and association type list (41) Show.
6. Multi-function Time input method according to claim 1, it is characterised in that: if input area (11) are idler wheel, Idler wheel is clicked, the numerical value of corresponding position will turn to the selected areas among idler wheel (10);With finger or mouse rotation roller, rolling Wheel will do underdrive, selected areas certain row candidate item will be directed at after stopping, after rotation stops, the value in conversion column (12) is by root It is dynamically converted and is shown according to the value of selected areas (10) interior candidate item and the format of conversion column (12);Day idler wheel if it exists, Its correspondence date is indicated for the candidate item on Saturday and Sunday with the font color or background color different from other date candidate items; Hour idler wheel if it exists, daytime the font color different with the candidate item in the morning from night or afternoon or background colour indicate.
7. Multi-function Time input method according to claim 1, it is characterised in that: click input pattern selection interface (3) in " positive monthly calendar " (35) or " Yin Yueli " (36), generation is pressed into the every month of solar calendar or lunar calendar as range in input area (11) Ephemeris of the moon, ephemeris of the moon first trip is equipped with " week several " column (15), and lower section is the date candidate item matrix (16) of 7 column multirows, wherein non- Date candidate item within the scope of this month shows that the date clicked in date candidate item matrix (16) is candidate with slightly deep background colour , corresponding to date value will be passed to conversion column (12) and is dynamically converted and shown by the format of conversion column (12).
8. Multi-function Time input method according to claim 1, it is characterised in that: aobvious when input mode and conversion column Show mode only one for duration when, the time value of another is the customized category of current time or application program input field Property in time of object for being directed toward subtract or plus time value obtained from duration.
9. Multi-function Time input method according to claim 1, it is characterised in that: this input method will be by passback type ginseng The time value that number tp return corresponding formats is shown in corresponding input field to application program, while by the time of Transfer Standards For format to application program in case calculating or saving, the time format of the standard is not switched input mode and the mode that converts by user It influences.
10. Multi-function Time input method according to claim 1, it is characterised in that: used universal time (28) every time Or after (37), the city chosen next time pop up conversion pattern selection interface (2) or or whens input pattern selection interface (3) will It is aligned to the foremost of universal time candidate item.
CN201910418010.XA 2019-05-20 2019-05-20 A kind of Multi-function Time input method Pending CN110134255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910418010.XA CN110134255A (en) 2019-05-20 2019-05-20 A kind of Multi-function Time input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910418010.XA CN110134255A (en) 2019-05-20 2019-05-20 A kind of Multi-function Time input method

Publications (1)

Publication Number Publication Date
CN110134255A true CN110134255A (en) 2019-08-16

Family

ID=67571344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910418010.XA Pending CN110134255A (en) 2019-05-20 2019-05-20 A kind of Multi-function Time input method

Country Status (1)

Country Link
CN (1) CN110134255A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813479A (en) * 2020-07-06 2020-10-23 北京飞漫软件技术有限公司 Method and system for constructing roller object
CN112558839A (en) * 2020-12-25 2021-03-26 福建利利普光电科技有限公司 Digital input keyboard capable of switching input modes and control method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710321A (en) * 2009-10-28 2010-05-19 金蝶软件(中国)有限公司 Method and device for querying database date and database
CN101977295A (en) * 2010-10-18 2011-02-16 深圳市同洲电子股份有限公司 Digital television terminal and multifunction search method and device thereof
CN104423371A (en) * 2013-08-08 2015-03-18 克洛纳测量技术有限公司 Method for parameterization of a field device and corresponding field device
CN104951922A (en) * 2014-03-26 2015-09-30 上海宝信软件股份有限公司 Method for rapid and flexibly defining time period
CN105068801A (en) * 2015-08-06 2015-11-18 福建天晴数码有限公司 Method and system for modifying json date format
CN105677212A (en) * 2015-12-31 2016-06-15 浙江慧脑信息科技有限公司 Multi-functional time input method
CN106682874A (en) * 2016-12-21 2017-05-17 西安大唐电信有限公司 Travelled distance data reduction and progressive display method based on calendar mode
CN106775725A (en) * 2016-12-19 2017-05-31 网易(杭州)网络有限公司 A kind of visual configuration edit methods and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710321A (en) * 2009-10-28 2010-05-19 金蝶软件(中国)有限公司 Method and device for querying database date and database
CN101977295A (en) * 2010-10-18 2011-02-16 深圳市同洲电子股份有限公司 Digital television terminal and multifunction search method and device thereof
CN104423371A (en) * 2013-08-08 2015-03-18 克洛纳测量技术有限公司 Method for parameterization of a field device and corresponding field device
CN104951922A (en) * 2014-03-26 2015-09-30 上海宝信软件股份有限公司 Method for rapid and flexibly defining time period
CN105068801A (en) * 2015-08-06 2015-11-18 福建天晴数码有限公司 Method and system for modifying json date format
CN105677212A (en) * 2015-12-31 2016-06-15 浙江慧脑信息科技有限公司 Multi-functional time input method
CN106775725A (en) * 2016-12-19 2017-05-31 网易(杭州)网络有限公司 A kind of visual configuration edit methods and device
CN106682874A (en) * 2016-12-21 2017-05-17 西安大唐电信有限公司 Travelled distance data reduction and progressive display method based on calendar mode

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813479A (en) * 2020-07-06 2020-10-23 北京飞漫软件技术有限公司 Method and system for constructing roller object
CN112558839A (en) * 2020-12-25 2021-03-26 福建利利普光电科技有限公司 Digital input keyboard capable of switching input modes and control method thereof

Similar Documents

Publication Publication Date Title
DE69808498T3 (en) SYSTEM FOR REDUCING THE MERCHANTABILITY OF A RESTRICTED KEYBOARD
CN102520822A (en) Touch-recognizable touch screen for mobile phone for the visually impaired and response manner thereof
CN202372956U (en) Touch screen with a touch identification function and for a mobile phone for sight-impaired people
US20050017952A1 (en) Method for entering a character sequence into an electronic device as well as an electronic device for performing said method
CN110134255A (en) A kind of Multi-function Time input method
EP0163690A1 (en) Color and positionally coded permutative one-handed keyboard.
CN102103454A (en) Human-machine interface for predicting user input in real time
CN102520868A (en) Method for rapidly inputting license plate numbers to PDA (personal digital assistant) equipment through virtual keyboard
CN102779002A (en) Touch screen keyboard and input method thereof
CN101673144A (en) Keyboard and electronic equipment for eliminating language difference
EP2864977A2 (en) Clock objects having visual graphical indicators with interactive time shifting
US4885574A (en) Display and keyboard panel
CN102339202A (en) Electronic device and event display method using same
US5870713A (en) Information processor
CN105677212A (en) Multi-functional time input method
KR20000059919A (en) Method for inputing letters korean character in radio communication terminal
CN102023715B (en) Induction signal inputting method and apparatus
WO2015192276A1 (en) World clock software
CN112256239A (en) Secretary software
CN101118465A (en) Digitization inputting and words information using novel scheme
CN202854938U (en) Convenience multifunctional self-service system
CN100363869C (en) Method for inputting dynamic display window of mobile telecommunication terminal
EP3588205A1 (en) Learning method for preventing intelligent watch from turning on screen due to false touch by metal pointer
CN101533307B (en) A kind of Chinese character input method, keyboard and apply the terminal of this keyboard
CN1326016C (en) Character input method based on keypad

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination