Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, it can comprise first embodiment flow process of the method for the present invention's preview schedule in terminal:
Step S101: the time occupancy obtaining this day schedule according to each schedule item of a day.The schedule of one day comprises some schedule items, and schedule item refers to the item arranging schedule concretely, as in A-day calendar, schedule item is: (1) plan meeting in 9 o'clock to the 12 o'clock morning; (2) plan to meet with Very Important Person 1 o'clock to 4 o'clock afternoon; (3) plan to hold department meeting by 6 o'clock at 4 o'clock; After (4) 6, having dinner and working overtime processes important email to 9 points; The time shared by this day each schedule item that then gets is respectively 3 hours, 3 hours, 2 hours, 3 hours.In concrete enforcement, each schedule item of a day can be obtained, extract the time shared by each schedule item according to each schedule item of a day, then the time occupancy calculating this day schedule effective time of time and one day shared by each schedule item.
Step S102: the mark generating this day according to the time occupancy of described this day schedule.
In concrete enforcement, the rectangular block of pre-set color can be used to identify, and the time occupancy of this day schedule is higher, and identified areas is larger, represents that this sky is busier.
Step S103: the mark of this day described is presented in region corresponding to this day date of calendar figure.Being identified in calendar figure of this day described is displayed, after all above-mentioned process is carried out to the region that every day in calendar figure is corresponding, just can see calendar figure busy idle degrees of each date intuitively.
Embodiments providing by the mark representing certain day busy idle condition being presented in region corresponding to this day date of calendar figure, achieving and pointing out user's day busy idle condition intuitively, facilitating user to arrange new schedule.
Second embodiment flow process of the method for the present invention's preview schedule in terminal is as shown in Figure 1:
Step 201: obtain time and effective time every day shared by one day each schedule item.Effective time every day is the time that can arrange schedule in one day, and as supposed at 9 in the morning to 6 pm in company, rest at 10 in evening, then the effective time can preset one day is 13 hours.Obtain shared by one day each schedule item the time, as in A-day calendar, schedule item is: (1) plan meeting in 9 o'clock to the 12 o'clock morning simultaneously; (2) plan to meet with Very Important Person 1 o'clock to 4 o'clock afternoon; (3) plan to hold department meeting by 6 o'clock at 4 o'clock; After (4) 6, having dinner and working overtime processes important email to 9 points; The time shared by this day each schedule item that then gets is respectively 3 hours, 3 hours, 2 hours, 3 hours.
Step 202: time and calculate the time occupancy of this day schedule effective time every day shared by described one day each schedule item.The time occupancy calculating this day schedule is specially:
wherein, a is time occupancy, t
itime shared by each schedule, T is effective time every day.
Step 203a: the form parameter calculating the mark of this day correspondence according to the time occupancy of described this day schedule.In concrete enforcement, the ratio of the date lattice that can occupy with blueness identifies, and the time occupancy of this day schedule is higher, and in date little space, mark blue region is larger, represents that this sky is busier.Namely the height of the mark of this day correspondence is calculated according to the time occupancy of described this day schedule.
Step 203b: the identification color obtaining this day correspondence according to the time occupancy coupling of described this day schedule.In concrete enforcement, can with the time occupancy of the corresponding different number range of different colours, if time occupancy less than 25% is blue, 25% to 50% is green, and 50% to 75% is yellow, and more than 75% is red.As time occupancy be 55% time, obtain the color of this day corresponding mark for yellow.
In concrete enforcement, step 203a and 203b can sequentially perform, and also can perform one of them step.
Step 204: the mark of this day described is presented in region corresponding to this day date of calendar figure.Identical with the S103 in embodiment above, repeat no more in the present embodiment.
Embodiments provide the method for the busy idle condition in each sky in a kind of fast browsing calendar, the mark representing certain day busy idle condition can be presented in region corresponding to this day date of calendar figure, user can be pointed out day busy idle condition intuitively, facilitate user to arrange new schedule.
Corresponding with the embodiment of the present invention's method of preview schedule in terminal, present invention also offers the embodiment of the device of preview schedule in terminal.
First embodiment block diagram of the device of the present invention's preview schedule in terminal as shown in Figure 3, the device of the adjusting screen display direction in the embodiment of the present invention can be implemented on panel computer, mobile phone, and this device at least can comprise: acquisition module 310, generation module 320, display module 330.Wherein:
Acquisition module 310, for obtaining the time occupancy of this day schedule according to each schedule item of a day.The schedule of one day comprises some schedule items, and schedule item refers to the item arranging schedule concretely, as in A-day calendar, schedule item is: (1) plan meeting in 9 o'clock to the 12 o'clock morning; (2) plan to meet with Very Important Person 1 o'clock to 4 o'clock afternoon; (3) plan to hold department meeting by 6 o'clock at 4 o'clock; After (4) 6, having dinner and working overtime processes important email to 9 points; The time shared by this day each schedule item that then gets is respectively 3 hours, 3 hours, 2 hours, 3 hours.Acquisition module 310 obtains each schedule item of a day, extracts the time shared by each schedule item according to each schedule item of a day, then the time occupancy calculating this day schedule effective time of time and one day shared by each schedule item.
Generation module 320, for generating the mark of this day according to the time occupancy of described this day schedule.In concrete enforcement, generation module 320 can use the rectangular block of pre-set color to identify, and the time occupancy of this day schedule is higher, and the identified areas that generation module 320 generates is larger, represents that this sky is busier.
Display module 330, for being presented at the mark of this day described in region corresponding to this day date of calendar figure.Being identified in calendar figure of this day described displays by display module 330, after all carrying out above-mentioned process, just can see calendar figure busy idle degrees of each date intuitively to the region that every day in calendar figure is corresponding.
Concrete, as shown in Figure 4, described acquisition module 310 at least comprises:
Acquiring unit 311, for obtaining time and effective time every day shared by one day each schedule item.Effective time every day is the time that can arrange schedule in one day, and as supposed at 9 in the morning to 6 pm in company, rest at 10 in evening, the effective time that acquiring unit 311 can be preset one day is 13 hours.Acquiring unit 311 also obtains shared by one day each schedule item the time simultaneously, as in A-day calendar, schedule item is: (1) plan meeting in 9 o'clock to the 12 o'clock morning; (2) plan to meet with Very Important Person 1 o'clock to 4 o'clock afternoon; (3) plan to hold department meeting by 6 o'clock at 4 o'clock; After (4) 6, having dinner and working overtime processes important email to 9 points; Then acquiring unit 311 gets the time shared by this day each schedule item and is respectively 3 hours, 3 hours, 2 hours, 3 hours.
Computing unit 312, for time shared by described one day each schedule item and the time occupancy calculating this day schedule effective time every day.The time occupancy that computing unit 312 calculates this day schedule is specially:
wherein, a is time occupancy, t
itime shared by each schedule, T is effective time every day.
Concrete, as shown in Figure 5, described generation module 320 at least comprises:
First generation unit 321a, for calculating the form parameter of the mark of this day correspondence according to the time occupancy of described this day schedule.In concrete enforcement, the ratio of the date lattice that can occupy with blueness identifies, and the time occupancy of this day schedule is higher, and in date little space, mark blue region is larger, represents that this sky is busier.Namely the first generation unit 321 calculates the height of the mark of this day correspondence according to the time occupancy of described this day schedule.
Second generation unit 321b, for obtaining the identification color of this day correspondence according to the time occupancy coupling of described this day schedule.In concrete enforcement, can with the time occupancy of the corresponding different number range of different colours, if time occupancy less than 25% is blue, 25% to 50% is green, and 50% to 75% is yellow, and more than 75% is red.As time occupancy be 55% time, the second generation unit 322 obtains the color of this day corresponding mark for yellow.
In concrete enforcement, can 321a and 321b be comprised, also can only comprise one of them unit.
The embodiment of the present invention has carried out quantitative statistics analysis to the busy degree of schedule planning, points out user's day busy idle condition intuitively, facilitates user to arrange new schedule advantage.
Device described in the embodiment of the present invention, can comprise: computer, mobile phone, panel computer, notebook computer, digital camera, Digital Video etc.Said apparatus is only citing, and non exhaustive, including but not limited to said apparatus.
Module described in the embodiment of the present invention or unit, universal integrated circuit can be passed through, such as CPU(Central Processing Unit, central processing unit), or by ASIC(Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)) realize.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.