Disclosure of Invention
The embodiment of the invention provides an event marking method and device of an electronic calendar, and aims to solve the problem that a calendar event marking scheme in the prior art is complicated in steps.
In order to solve the technical problem, the invention provides an event marking method of an electronic calendar, wherein the method comprises the following steps: entering a mark mode of the electronic calendar; according to the date selected by the user on the electronic calendar, marking the event corresponding to the date; displaying the marked electronic calendar.
Further, entering a flag mode of the electronic calendar, comprising: long pressing or double clicking the electronic calendar to enter a marking mode of the electronic calendar; or clicking a mark button on the electronic calendar to enter a mark mode of the electronic calendar; or clicking a function button on the electronic calendar to enter a function interface; and clicking a marking button on the functional interface to enter a marking mode of the electronic calendar.
Further, according to the date selected by the user on the electronic calendar, marking the event corresponding to the date, including: determining whether the date selected by the user on the electronic calendar is a consecutive date or an alternate date; if the date is the continuous date, marking the event corresponding to the continuous date as a continuous event or a rest day; and if the interval date is the interval date, marking the event corresponding to the interval date as a common event or a rest day.
Further, the method further comprises: if it is monitored that the user clicks on a selected date again, the date is deselected.
Further, after marking the event corresponding to the date, the method further comprises: and editing the event start-stop time points of the date according to the editing request of the user.
Further, the electronic calendar after displaying the mark includes: and displaying the dates corresponding to the continuous events, the common events or the rest days on the electronic calendar in a distinguishing way.
The invention provides an event marking device of an electronic calendar, wherein the device comprises: the mode switching module is used for entering a marking mode of the electronic calendar; the event marking module is used for marking the event corresponding to the date according to the date selected by the user on the electronic calendar; and the display module is used for displaying the marked electronic calendar.
Further, the mode switching module includes: the first switching unit is used for long-pressing or double-clicking the electronic calendar to enter a marking mode of the electronic calendar; or the second switching unit is used for clicking a mark button on the electronic calendar to enter a mark mode of the electronic calendar; or, the third switching unit is used for clicking a function button on the electronic calendar to enter a function interface; and clicking a marking button on the functional interface to enter a marking mode of the electronic calendar.
Further, the event marking module comprises: a judging unit configured to judge whether a date selected by a user on the electronic calendar is a consecutive date or an alternate date; the device comprises a first marking unit, a second marking unit and a judging unit, wherein the first marking unit is used for marking the event corresponding to the continuous date as a continuous event or a holiday when the date selected by the user is the continuous date; and the second marking unit is used for marking the event corresponding to the interval date as a common event or a holiday when the date selected by the user is the interval date.
Further, the apparatus further comprises: and the time editing module is used for editing the event start-stop time points of the dates according to the editing request of the user.
Further, the display module is further configured to display the dates corresponding to the continuous events, the common events or the holidays on the electronic calendar in a differentiated manner.
According to the invention, through the rapid marking function, the user can establish the event on the electronic calendar through simple steps, the event establishing step on the electronic calendar is shortened, the efficiency of marking the event by the user is greatly improved, and the user experience is improved.
Detailed Description
The invention is described in further detail below with reference to the figures and the examples, but without limiting the invention.
When a user uses the paper table board for a day, the user can record the own schedule by directly checking or continuously marking the date. The quick marking function of the invention simulates the behavior habit of the user, and when the quick marking function mode is adopted, the system can click or select the date on the interface of the electronic calendar, automatically identify the selected date, intelligently judge whether the event is a common event or a continuous event according to whether the date has an interval, and mark the holiday, thereby greatly improving the efficiency of marking the event by the user. This is described below by means of preferred embodiments.
Fig. 1 is a flowchart of an event marking method of an electronic calendar according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, entering a marking mode of the electronic calendar.
And step S104, marking the event corresponding to the date according to the date selected by the user on the electronic calendar.
And step S106, displaying the marked electronic calendar.
By the method, the user can establish the event on the electronic calendar through simple steps, the event establishing step on the electronic calendar is shortened, the efficiency of marking the event by the user is greatly improved, and the user experience is improved.
In step S102, the switching of the electronic calendar from the normal mode to the flag mode may be triggered at least by:
(1) long pressing or double clicking the electronic calendar on a moon view interface of the electronic calendar to enter a marking mode of the electronic calendar;
(2) clicking a mark button (such as a 'quick mark' button) on the electronic calendar to enter a mark mode of the electronic calendar;
(3) clicking a function button (e.g., more button) on the electronic calendar to enter a function interface, clicking a mark button on the function interface to enter a mark mode of the electronic calendar.
When the electronic calendar needs to be switched back to the normal mode from the mark mode, the electronic calendar can be realized by clicking the button for exiting the mark mode. Of course, the names of the above buttons are not limited in the present invention.
In step S104, after the user selects a date on the electronic calendar, it needs to be determined whether the date selected by the user on the electronic calendar is a continuous date or an interval date, and if the date selected by the user on the electronic calendar is a continuous date, an event corresponding to the continuous date is marked as a continuous event or a holiday; and if the interval date is the interval date, marking the event corresponding to the interval date as a common event or a rest day. Based on this, whether the date that can intelligent judgement user selected is continuous reduces the operating procedure.
Fig. 2 is a schematic interface diagram of an electronic calendar flag mode according to an embodiment of the present invention, as shown in fig. 2, an interface of an electronic calendar is displayed by taking a month view as an example, the electronic calendar shown in fig. 2 is in the flag mode, the flag mode can be exited by clicking an "exit flag mode" button on the upper right corner of the interface, and the electronic calendar is switched back to the normal mode. The user can switch months by sliding the interface left or right.
Fig. 3 is a schematic diagram of an interface for a user to select consecutive dates according to an embodiment of the present invention, and as shown in fig. 3, the user may select four consecutive dates from 7/month 6 to 7/month 8 by a way of sliding or clicking, and the user may deselect a selected date if the user clicks on the selected date. The user-selected consecutive dates are displayed in the interface operation area, and the user can select to mark the consecutive dates as holidays or consecutive events. After the confirmation, the interface will turn to fig. 4, fig. 4 is a schematic diagram of a continuous event editing interface according to an embodiment of the present invention, and as shown in fig. 4, the start and end time points of the event on the continuous date can be edited according to the editing request of the user, and then the operation can be completed by clicking v after inputting the remark of the event.
Fig. 5 is a schematic diagram of an interface for selecting an interval date according to an embodiment of the present invention, and as shown in fig. 5, the user may select five intervals of dates 7-month-8, 7-month-11, 7-month-17, 7-month-24, and 7-month-25 by clicking, and the user may deselect the selected date by clicking again on the selected date. The interval date selected by the user is displayed in the interface operation area, and the user can select to mark the several interval dates as holidays or common events. After the confirmation, the interface will turn to fig. 6, fig. 6 is a schematic diagram of a general event editing interface according to an embodiment of the present invention, and as shown in fig. 6, the start and end time points of the event of the interval date can be edited according to the editing request of the user, and then the operation can be completed by clicking v after inputting the remark of the event.
After identifying an event, it is necessary to display the date corresponding to a continuous event, a general event or a holiday on the electronic calendar. In order to make the user more clearly aware, the dates corresponding to the continuous events, the common events or the rest days can be displayed in different colors or different marks. Fig. 7 is a schematic diagram illustrating the display of the holiday on the electronic calendar according to the embodiment of the present invention, as shown in fig. 7, in the normal mode of the electronic calendar, the date corresponding to the holiday is marked, so that the user can visually check the holiday, and the user experience is improved.
Corresponding to the method for marking events of the electronic calendar introduced in fig. 1, the present embodiment provides an event marking device of an electronic calendar, such as the structural block diagram of the event marking device of the electronic calendar shown in fig. 8, and the device includes:
a mode switching module 10 for entering a mark mode of the electronic calendar;
the event marking module 20 is used for marking the events corresponding to the dates according to the dates selected by the user on the electronic calendar;
and the display module 30 is used for displaying the marked electronic calendar.
By the device, the user can establish the event on the electronic calendar through simple steps, the event establishing step on the electronic calendar is shortened, the efficiency of marking the event by the user is greatly improved, and the user experience is improved.
In this embodiment, the mode switching module 10 may include: the first switching unit is used for long-pressing or double-clicking the electronic calendar to enter a marking mode of the electronic calendar; or the second switching unit is used for clicking a mark button on the electronic calendar to enter a mark mode of the electronic calendar; or the third switching unit is used for clicking a function button on the electronic calendar to enter a function interface; and clicking a mark button on the functional interface to enter a mark mode of the electronic calendar. When the electronic calendar needs to be switched back to the normal mode from the mark mode, the electronic calendar can be realized by clicking the button for exiting the mark mode. Of course, the names of the above buttons are not limited in the present invention.
In this embodiment, the event marking module 20 may include: a judging unit for judging whether the date selected by the user on the electronic calendar is a consecutive date or an alternate date; the first marking unit is used for marking the events corresponding to the continuous dates as continuous events or holidays when the dates selected by the user are the continuous dates; and the second marking unit is used for marking the event corresponding to the interval date as a common event or a holiday when the date selected by the user is the interval date. Based on this, whether the date that can intelligent judgement user selected is continuous reduces the operating procedure.
In order to improve the user experience, the apparatus further includes: and the time editing module is used for editing the start and stop time points of the events of the date according to the editing request of the user. Therefore, the time of the event is marked more accurately, and the use by a user is facilitated.
After identifying an event, it is necessary to display the date corresponding to a continuous event, a general event or a holiday on the electronic calendar. In order to make the user more clearly aware, the dates corresponding to the continuous events, the common events or the rest days can be displayed in different colors or different marks. Based on this, the display module 30 is also used for displaying the dates corresponding to the continuous events, the common events or the rest days in a distinguishing way on the electronic calendar. The user can more intuitively check the marked event of the user, and the user experience is improved.
As apparent from the above description, the present invention can achieve the following objects:
1) the quick marking function can be operated once, and the same events with different dates can be established.
2) The system can be operated once through the quick marking function, automatically identifies continuous dates and quickly establishes continuous events.
3) The rest days can be marked and are visually distinguished on the normal view, so that the schedule and the rest day arrangement of the user are clear at a glance.
Of course, the above is a preferred embodiment of the present invention. It should be noted that, for a person skilled in the art, several modifications and refinements can be made without departing from the basic principle of the invention, and these modifications and refinements are also considered to be within the protective scope of the invention.