CN106709573A - Method and apparatus for providing date information - Google Patents
Method and apparatus for providing date information Download PDFInfo
- Publication number
- CN106709573A CN106709573A CN201510459685.0A CN201510459685A CN106709573A CN 106709573 A CN106709573 A CN 106709573A CN 201510459685 A CN201510459685 A CN 201510459685A CN 106709573 A CN106709573 A CN 106709573A
- Authority
- CN
- China
- Prior art keywords
- date
- time point
- dimension
- state
- calendar
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a method and apparatus for providing date information. Therefore, switching in different dimension options can be realized according to the set date dimension, so that date information can be inquired quickly; and a user can inquire date information according to a set commonly used time point, so that the inquiring speed of date information can be increased, the user time can be saved, and the user experience can be improved. The method comprises: a date dimension selected by a user is received; according to a system date and a set date range, a date in a selectable state is determined under the date dimension and a calendar under the date dimension is displayed; and an operation instruction of the date dimension by the user is received, the date in the selectable state in the calendar is determined and updated according to the operation instruction of the date dimension and the set date range, and the updated calendar is outputted, wherein the operation instruction of the date dimension is used for realizing switching of the date dimension and date inquiring under the same date dimension.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method for providing temporal information
And device.
Background technology
With the development in epoch, multifarious things makes rapid progress.It is also in changing that software is undisputed
Main flow, technology is also weeded out the old and bring forth the new in development, product, and constantly distillation is pursued most with aspiring after perfection
Excellent experience.Wherein internet industry plays the big ox in software field, either user's body
Test, or technology accumulation, require that product ensures the excellent of the efficient and quality of iteration.
Nowadays be born many visualization products around data for internet, by colorful report
Table represents the trend of all kinds of business, accounting, detail, collects etc..However, static state
Form is effective and useless, can neither contrast history, can not predict future.Then, I
Need form to move up, the real data that can be inquired about in any validity date.This just draws
The concept of date dimension selection, i.e., temporally inquire about form.
At present, have many dates selection controls on the market, be based respectively on Javascript, Jquery,
The like product of the exploitations such as Bootstrap, by date control we can select year (2015),
The moon (in January, 2015), day (on January 1st, 2015), a small number of products are also an option that model
Enclose the date (on January 10,1 day to 2015 January in 2015).Mouse is moved into or clicked on
Control input frame, launches date Selection Floater, then launches the selection region of year, the moon or day,
Click specific date expression, it is also possible to click twice, be respectively Start Date and Close Date,
Finally determine to be inquired about.Have the shortcomings that in existing technical scheme following:
1) view operation of panel is complicated, and the starting point that user begins to use is higher, it is necessary to very long
Cycle could be familiar with using.
2) mode of date of operation is directly, it is necessary to layer upon layer is stirred up and down, Cai Neng
Target date is chosen in corresponding view.
3) it is also the most frequently used time point most to be paid close attention to for user, no easily entrance, every time
It is required for carrying out the operating process of above-mentioned complexity.
The content of the invention
In view of this, the present invention provides a kind of method and apparatus for providing date and time information, Neng Gougen
Date dimension according to setting switches in different dimension options, realizes the fast quick checking of date and time information
Ask;User can be not only increased by the conventional time point Query Dates information of setting simultaneously
The inquiry velocity of date and time information, and the time of user is also saved, finally improve user's
Experience.
To achieve the above object, according to an aspect of the invention, there is provided a kind of provide the date
The method of information.
The method for providing date and time information of the invention includes:Receive the selected date dimension of user;
The date dimension includes:Day dimension, Zhou Weidu and moon dimension;According to system data with
And the date range of setting, it is determined that the date in optional state under the date dimension, and
Show the calendar under the date dimension;Receive operational order of the user to the date dimension, root
Determine according to the operational order of date dimension and the date range of setting and update in calendar in can
The date of state is selected, and exports the calendar after updating;The operational order of the date dimension is used for
Realize date dimension switching and in same date dimension the date inquiry.
Alternatively, also include:User is received to commonly using the operational order at time point, according to conventional
The operational order at time point is switched under corresponding date dimension, then according to conventional time point
Operational order and the date range of setting determine and update the day in optional state in calendar
Phase, and export the calendar after updating;The operational order at the conventional time point is used to realize commonly using
The inquiry at time point.
Alternatively, the conventional time point include general query time point and quick search time point;
When conventional time point is for general query time point, optional state is in the renewal calendar
Include after the step of date:It is described quick according to the date modification in optional state after renewal
The state clicked at the time point in query time point;It it is the quick search time when conventional time point
Include after the step of date of optional state is in during point, in the renewal calendar:Remove and work as
Time point selected state in preceding general query time point.
Alternatively, it is described to be determined according to the operational order of date dimension and the date range of setting
And the step of update in calendar the date in optional state after include:Judge currently common looking into
Whether there is the time point in selected state in inquiry time point, if it is, removing the time point
Selected state;Otherwise, according to renewal after the modification of the time point in optional state it is described fast
The state clicked at the time point in time point is ask in quick checking.
According to another aspect of the present invention, there is provided a kind of device that date and time information is provided.
The device for providing date and time information of the invention includes:Receiver module, for receiving user institute
The date dimension of selection;The date dimension includes:Day dimension, Zhou Weidu and moon dimension;
Determining module, for the date range according to system data and setting, it is determined that on the date
Date in optional state under dimension, and show the calendar under the date dimension;The first information
Module is provided, for receiving operational order of the user to the date dimension, according to date dimension
Operational order and the date range of setting determine and update the day in optional state in calendar
Phase, and export the calendar after updating;The operational order of the date dimension is used to realize that the date ties up
The switching of degree and in same date dimension the date inquiry.
Alternatively, also including the second information providing module, for receiving user to commonly using time point
Operational order, the operational order according to conventional time point is switched under corresponding date dimension,
Then operational order and the date range of setting according to conventional time point determines and updates calendar
In in optional state date, and export update after calendar;The behaviour at the conventional time point
Make instruction for realizing the inquiry at conventional time point.
Alternatively, also including update module;When conventional time point is for general query time point,
For according to the date in optional state after renewal change in quick search time point when
Between put the state clicked on;When conventional time point is for quick search time point, work as removing
Time point selected state in preceding general query time point.
Alternatively, also including judge module, for judge in currently common query time point whether
There is the time point in selected state, if it is, removing the selected state at the time point;It is no
Then, according to renewal after time point in optional state change the quick search time point
Time point the state clicked on.
Technology according to the present invention scheme, due to setting different date dimensions, being capable of basis
The date dimension of setting switches in different dimension options, realizes the quick search of date and time information;
Simultaneously as increased conventional time point, user can be looked into by the conventional time point for setting
Date and time information is ask, the inquiry velocity of date and time information is not only increased, and also save user's
Time, finally improve the experience of user.
Brief description of the drawings
Accompanying drawing does not constitute inappropriate limitation of the present invention for more fully understanding the present invention.Wherein:
Fig. 1 is a kind of schematic diagram of the device of offer date and time information according to embodiments of the present invention;
Fig. 2 is a kind of schematic diagram of the method for offer date and time information according to embodiments of the present invention.
Specific embodiment
One exemplary embodiment of the invention is explained below in conjunction with accompanying drawing, including this hair
They should be thought only exemplary by the various details of bright embodiment to help understanding.
Therefore, it will be appreciated by those of ordinary skill in the art that, the embodiments described herein can be done
Go out various changes and modifications, without departing from scope and spirit of the present invention.Equally, in order to clear
Chu and simplicity, eliminate the description to known function and structure in description below.
Fig. 1 is a kind of schematic diagram of the device of offer date and time information according to embodiments of the present invention.
As shown in figure 1, the embodiment of the present invention offer date and time information device 10 include receiver module 11,
Determining module 12 and the first information provide module;Receiver module 11 is used to receive selected by user
The date dimension selected;The date dimension includes:Day dimension, Zhou Weidu and moon dimension;
Determining module 12 is used for the date range according to system data and setting, it is determined that on the date
Date in optional state under dimension, and show the calendar under the date dimension;The first information
There is provided module 13 is used to receive operational order of the user to the date dimension, according to date dimension
Operational order and the date range of setting determine and update the day in optional state in calendar
Phase, and export the calendar after updating;The operational order of the date dimension is used to realize that the date ties up
The switching of degree and in same date dimension the date inquiry.
The device 10 of the offer date and time information of the embodiment of the present invention may also include the second information and provide mould
Block (not shown), for receiving user to commonly using the operational order at time point, according to normal
It is switched under corresponding date dimension with the operational order at time point, then according to conventional time point
Operational order and the date range of setting determine and update the day in optional state in calendar
Phase, and export the calendar after updating;The operational order at the conventional time point is used to realize commonly using
The inquiry at time point.
The device 10 of the offer date and time information of the embodiment of the present invention may also include update module (in figure
It is not shown);When conventional time point being general query time point, for according to being in after renewal
The date of optional state changes the state clicked at the time point in the quick search time point;
When conventional time point being quick search time point, for removing currently common query time point in
Time point selected state.
The device 10 of the offer date and time information of the embodiment of the present invention may also include judge module (in figure
It is not shown), for judge whether to have in currently common query time point in selected state when
Between point, if it is, removing the selected state at the time point;Otherwise, according to the place after renewal
The shape clicked at the time point in changing the quick search time point in the time point of optional state
State.
Fig. 2 is a kind of schematic diagram of the method for offer date and time information according to embodiments of the present invention.
As shown in Fig. 2 the executive agent of the method is the device 10 of the offer date and time information in Fig. 1,
Mainly comprise the following steps S20 to S22.
Step S20:Receive the selected date dimension of user.Wherein, date dimension includes:Day
Dimension, Zhou Weidu and moon dimension.In the device 10 that date and time information is provided, the date is provided with
Dimension option, including day dimension option, Zhou Weidu options and moon dimension option.User's root
According to the dimension option for needing selection different.
Step S21:According to system data and the date range of setting, it is determined that in date dimension
The degree lower date in optional state, and show the calendar under the date dimension.System data refers to
Be system current date, the date range of setting can be according to current system day settings one
Individual date range, or setting minimum date or setting maximum date;I.e. on the date of setting
In the range of date be optional state;Assuming that in step S20 user selection be moon dimension option,
And the date range of setting be the selected date before be optional state, then system data 20150323
Time point before March in the moon dimension option is optional state, and March is selected state.
Step S22:Operational order of the user to the date dimension is received, according to date dimension
Operational order and the date range of setting determine and update the day in optional state in calendar
Phase, and export the calendar after updating.In this step, the operational order of date dimension is used for real
The switching of existing date dimension and in same date dimension the date inquiry.If user is in day
Switch between dimension, Zhou Weidu and moon dimension, then the basis of device 10 of date and time information is provided
Operational order produced by user's operation switches between corresponding dimension option;Meanwhile, when with
Family is in a dimension option during option date, there is provided the device 10 of date and time information exists according to user
The operational order that is produced during option date and the date range of setting in calendar the date it is optional
State is updated and exports the calendar after updating.In the step s 21, before March and March
Be optional state, then when user click on 2 months when, then according to produce operational order with
And the date range for setting determines 2 months dates before as optional state, and 2 months is selected
Whether state, the device 10 for then providing date and time information judges have in currently common query time point
Time point in selected state, if it is, removing the selected state at the time point;Otherwise,
Time point in optional state after according to renewal change in the quick search time point when
Between put the state clicked on.
Simultaneously, there is provided the device 10 of date and time information can also receive user to commonly using the operation at time point
Instruction, the operational order according to conventional time point is switched under corresponding date dimension, Ran Hougen
Determine and to update be in calendar according to the operational order at conventional time point and the date range of setting
The date of optional state, and export the calendar after updating.Wherein, the operation at time point is commonly used to refer to
The inquiry for realizing conventional time point is made, conventional time point is including general query time point and soon
Time point is ask in quick checking;For example:General query time point include but is not limited to the day before yesterday, nearly 7 days,
Nearly 15 days, this week, last week, this month and last month;Quick search time point includes but does not limit
In the previous day, one day after, upper one week and next week;Different time points are chosen to produce not
Same operational order.
When conventional time point is for general query time point, such as the time point of user's selection is " preceding
My god ", then the device 10 for providing date and time information is automatically switched at selected time point according to user
Under day dimension, therefore, when user have selected the day before yesterday, then provide the basis of device 10 of date and time information
The date range of operational order and setting produced by the time point " day before yesterday " of selection updates day
Date in optional state in going through;Then changed according to the date in optional state after renewal
The state clicked at the time point in the quick search time point.
When conventional time point being quick search time point, such as the time point of user's selection for " on
One week ", then the device 10 for providing date and time information automatically switches at selected time point according to user
To under Zhou Weidu, there is provided time point " the upper one week " institute of the device 10 of date and time information according to selection
The operational order of generation and the date range of setting update the day in optional state in calendar
Phase, and remove the time point selected state in currently common query time point.
Technical scheme according to embodiments of the present invention, due to setting different date dimensions, energy
Enough date dimensions according to setting switch in different dimension options, realize the fast of date and time information
Quick checking is ask;Simultaneously as increased conventional time point, user can be conventional by what is set
Time point Query Dates information, not only increases the inquiry velocity of date and time information, and save
The time of user, finally improve the experience of user.
Above-mentioned specific embodiment, does not constitute limiting the scope of the invention.This area
Technical staff can occur various it is to be understood that depending on design requirement and other factors
The modification of various kinds, combination, sub-portfolio and replacement.It is any within the spirit and principles in the present invention
Modification, equivalent and improvement for being made etc., should be included within the scope of the present invention.
Claims (8)
1. it is a kind of provide date and time information method, it is characterised in that including:
Receive the selected date dimension of user;The date dimension includes:Day dimension, Zhou Wei
Degree and moon dimension;
According to system data and the date range of setting, it is determined that being under the date dimension
The date of optional state, and show the calendar under the date dimension;
Operational order of the user to the date dimension is received, according to the operational order of date dimension
And the date range of setting determines and updates the date in optional state in calendar, and export
Calendar after renewal;The operational order of the date dimension be used to realizing the switching of date dimension with
And in same date dimension the date inquiry.
2. method according to claim 1, it is characterised in that also include:Receive user
Operational order to commonly using time point, the operational order according to conventional time point is switched to corresponding
Under date dimension, operational order and the date range of setting then according to conventional time point is true
Determine and update the date in optional state in calendar, and export the calendar after updating;It is described normal
It is used to realize the inquiry at conventional time point with the operational order at time point.
3. method according to claim 2, it is characterised in that the conventional time point bag
Include general query time point and quick search time point;
When conventional time point is for general query time point, optional shape is in the renewal calendar
Include after the step of date of state:According to the date modification in optional state after renewal
The state clicked at the time point in quick search time point;
When conventional time point is for quick search time point, optional shape is in the renewal calendar
Include after the step of date of state:The time point removed in currently common query time point is chosen
State.
4. method according to claim 3, it is characterised in that described according to date dimension
Operational order and the date range of setting determine and update the day in optional state in calendar
Include after the step of phase:Judge whether have in selected state in currently common query time point
Time point, if it is, removing the selected state at the time point;Otherwise, after according to renewal
Time point in optional state change time point in the quick search time point can point
Hit state.
5. it is a kind of provide date and time information device, it is characterised in that including:
Receiver module, for receiving the selected date dimension of user;The date dimension includes:
Day dimension, Zhou Weidu and moon dimension;
Determining module, for the date range according to system data and setting, it is determined that described
Date in optional state under date dimension, and show the calendar under the date dimension;
The first information provides module, for receiving operational order of the user to the date dimension,
The date range of operational order and setting according to date dimension determines and to update be in calendar
The date of optional state, and export the calendar after updating;The operational order of the date dimension is used
The inquiry on date in the switching for realizing date dimension and in same date dimension.
6. device according to claim 5, it is characterised in that also carried including the second information
For module, for receiving user to commonly using the operational order at time point, according to conventional time point
Operational order is switched under corresponding date dimension, then according to the operational order at conventional time point
And the date range of setting determines and updates the date in optional state in calendar, and export
Calendar after renewal;The operational order at the conventional time point is used to realize looking into for conventional time point
Ask.
7. device according to claim 6, it is characterised in that also including update module;
When conventional time point being general query time point, for according to being in optional shape after renewal
The date of state changes the state clicked at the time point in the quick search time point;
When conventional time point is for quick search time point, for removing currently common query time
Time point selected state in point.
8. device according to claim 7, it is characterised in that also including judge module,
For judging whether there is the time point in selected state in currently common query time point, if
It is then to remove the selected state at the time point;Otherwise, according to renewal after in optional state
Time point change the state clicked at the time point in quick search time point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510459685.0A CN106709573B (en) | 2015-07-30 | 2015-07-30 | Method and device for providing date information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510459685.0A CN106709573B (en) | 2015-07-30 | 2015-07-30 | Method and device for providing date information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106709573A true CN106709573A (en) | 2017-05-24 |
CN106709573B CN106709573B (en) | 2021-07-30 |
Family
ID=58901624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510459685.0A Active CN106709573B (en) | 2015-07-30 | 2015-07-30 | Method and device for providing date information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106709573B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026472A (en) * | 2019-10-28 | 2020-04-17 | 珠海格力电器股份有限公司 | Calendar configuration and date selection method and device, storage medium and electronic equipment |
CN111292059A (en) * | 2020-01-22 | 2020-06-16 | 深圳市道旅旅游科技股份有限公司 | Date selection method and device, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2684306Y (en) * | 2003-07-10 | 2005-03-09 | 王昌平 | A permanent calendar using celestial stem and terrestrial branch to display lunar calendar |
CN102098389A (en) * | 2011-02-16 | 2011-06-15 | 中兴通讯股份有限公司 | Method and device for automatically reminding schedule as well as terminal equipment |
CN104038621A (en) * | 2013-03-06 | 2014-09-10 | 三星电子(中国)研发中心 | Device and method for managing event information in communication terminal |
CN104123633A (en) * | 2014-07-24 | 2014-10-29 | 北京嘉和美康信息技术有限公司 | Calendar control |
CN104598252A (en) * | 2015-02-15 | 2015-05-06 | 北京恒华伟业科技股份有限公司 | Time control as well as method for determining time based on time control |
CN104750348A (en) * | 2013-12-25 | 2015-07-01 | 中国移动通信集团公司 | Calendar interaction method and equipment |
CN104793845A (en) * | 2015-04-01 | 2015-07-22 | 乐视致新电子科技(天津)有限公司 | Date switching display method and date switching display device |
-
2015
- 2015-07-30 CN CN201510459685.0A patent/CN106709573B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2684306Y (en) * | 2003-07-10 | 2005-03-09 | 王昌平 | A permanent calendar using celestial stem and terrestrial branch to display lunar calendar |
CN102098389A (en) * | 2011-02-16 | 2011-06-15 | 中兴通讯股份有限公司 | Method and device for automatically reminding schedule as well as terminal equipment |
CN104038621A (en) * | 2013-03-06 | 2014-09-10 | 三星电子(中国)研发中心 | Device and method for managing event information in communication terminal |
CN104750348A (en) * | 2013-12-25 | 2015-07-01 | 中国移动通信集团公司 | Calendar interaction method and equipment |
CN104123633A (en) * | 2014-07-24 | 2014-10-29 | 北京嘉和美康信息技术有限公司 | Calendar control |
CN104598252A (en) * | 2015-02-15 | 2015-05-06 | 北京恒华伟业科技股份有限公司 | Time control as well as method for determining time based on time control |
CN104793845A (en) * | 2015-04-01 | 2015-07-22 | 乐视致新电子科技(天津)有限公司 | Date switching display method and date switching display device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026472A (en) * | 2019-10-28 | 2020-04-17 | 珠海格力电器股份有限公司 | Calendar configuration and date selection method and device, storage medium and electronic equipment |
CN111292059A (en) * | 2020-01-22 | 2020-06-16 | 深圳市道旅旅游科技股份有限公司 | Date selection method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106709573B (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Hoda et al. | The rise and evolution of agile software development | |
CN1331045C (en) | Software automatic upgrading and updating method under Client/Server frame | |
RU2011140845A (en) | MENU DISPLAY DEVICE, MENU DISPLAY METHOD AND PROGRAM | |
CN105630512A (en) | Method and system for implementing mobile device data tracking through software development toolkit | |
JP6333342B2 (en) | Search method and apparatus based on artificial intelligence | |
DE102017122231A1 (en) | Dynamically generate custom groups of application settings | |
DE202017106467U1 (en) | User state predictions for presenting information | |
CN106709573A (en) | Method and apparatus for providing date information | |
CN106815737A (en) | The method and apparatus for analyzing advertisement delivery effect | |
CN106997360A (en) | The treating method and apparatus of user behavior data | |
US9184994B2 (en) | Downtime calculator | |
Wan Alwi et al. | Targeting multiple water utilities using composite curves | |
CN103793152B (en) | A kind of monitoring system of electric substation picture on-line customization method | |
CN108399037A (en) | A kind of schedule creates, edit methods and intelligent meter | |
CN107122285A (en) | A kind of multithread process control Dynamic Announce and intelligence change System and method for | |
CN102629197A (en) | Flexible screen grouping management system and method | |
JP2016118915A (en) | Distribution apparatus, distribution method, distribution program, terminal device, selection method, and selection program | |
CN106550274A (en) | A kind of personalized customization method and system of intelligent television | |
CN111552549A (en) | Multitask request dynamic configuration method and system for intelligent equipment | |
CN103777945A (en) | System and method for updating standby application list according to using frequency | |
CN106776824A (en) | The level method and system of Android databases | |
CN106600291A (en) | Multi-level agent-based public cloud order delivery method | |
JP2015219765A (en) | Information providing device, information providing method, and information providing program | |
US10762524B2 (en) | Data platform and analytics for predicting media metrics | |
CN104392003A (en) | Displaying method and device for network search keywords |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |