CN112995404B - Schedule creating method and device, electronic equipment and readable storage medium - Google Patents
Schedule creating method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN112995404B CN112995404B CN202110269918.6A CN202110269918A CN112995404B CN 112995404 B CN112995404 B CN 112995404B CN 202110269918 A CN202110269918 A CN 202110269918A CN 112995404 B CN112995404 B CN 112995404B
- Authority
- CN
- China
- Prior art keywords
- schedule
- target
- input
- time
- time interval
- 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.)
- Active
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a schedule creating method and device, and belongs to the technical field of communication. The schedule creating method comprises the following steps: displaying a calendar page corresponding to a target date, wherein the calendar page comprises weather information of the target date; displaying an input page according to a first input to the calendar page; and responding to a second input to the input page, creating a target schedule in the target date, and displaying the target schedule on the calendar page. According to the method and the device, the process of creating the schedule according to the weather is simplified, the schedule creating efficiency is improved, and the schedule creating experience is optimized.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a schedule creating method and device.
Background
At present, in the process of using electronic equipment by a user, when the user needs to be reminded of doing some thing, the user generally needs to open a calendar to build a new schedule and remind within a fixed time.
When a new schedule related to weather is created, a user is required to open an application capable of checking the weather first, and the new schedule is created according to the weather condition. For example, when a weekend event is scheduled, an indoor table game or an outdoor mountain climbing can be scheduled, a user needs to open a weather application to check the weather of the day, if the weather is sunny, a mountain climbing schedule can be newly built, and if the weather is rainy, a table game schedule can be newly built, so that the user needs to judge the journey of the weekend based on the weather condition.
Disclosure of Invention
An object of the embodiments of the present application is to provide a schedule creating method and apparatus, so as to solve the problems in the prior art that when a new schedule related to weather is created, a weather application and a schedule application need to be sequentially started, which is time consuming and inefficient.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a schedule creating method, including:
displaying a calendar page corresponding to a target date, wherein the calendar page comprises weather information of the target date;
displaying an input page according to a first input to the calendar page;
and responding to a second input to the input page, creating a target schedule in the target date, and displaying the target schedule on the calendar page.
In a second aspect, an embodiment of the present application provides a schedule creating apparatus, including:
the first display module is used for displaying a calendar page corresponding to a target date, and the calendar page comprises weather information of the target date;
the second display module is used for displaying an input page according to the first input of the calendar page;
and the creating and displaying module is used for responding to second input of the input page, creating a target schedule in the target date and displaying the target schedule on the calendar page.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, implement the steps in the schedule creation method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the schedule creation method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the schedule creation method according to the first aspect.
In the embodiment of the application, the weather information of the target date is displayed on the calendar page corresponding to the target date, so that a user can know the weather condition of the target date on the calendar page conveniently, the input page is displayed according to the first input of the calendar page, and the target schedule is created and displayed on the calendar page in response to the second input of the input page.
Drawings
Fig. 1 is a flowchart illustrating a schedule creation method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of displaying a time axis of a target date and weather information on a calendar page according to an embodiment of the present application;
fig. 3a is a schematic diagram illustrating an example of determining a first time period according to an embodiment of the present application;
FIG. 3b is a schematic diagram of a display input page provided by an embodiment of the present application;
FIG. 4a is a schematic diagram of displaying a hill climbing schedule according to an embodiment of the present disclosure;
FIG. 4b is a diagram of a drag display control provided by an embodiment of the present application;
FIG. 4c is a schematic diagram illustrating a display control provided by an embodiment of the present application being displayed during a second period of time;
FIG. 5 is a schematic diagram of creating a target schedule provided by an embodiment of the application;
fig. 6 is a block diagram of a schedule creating apparatus provided in an embodiment of the present application;
FIG. 7 is a block diagram of an electronic device provided by an embodiment of the application;
fig. 8 is a second schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in other sequences than those illustrated or otherwise described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense to distinguish one object from another, and not necessarily to limit the number of objects, e.g., the first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The schedule creation method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart illustrating a schedule creation method provided in an embodiment of the present application, where the method is applied to an electronic device. As shown in fig. 1, the schedule creation method may include:
The electronic device may first present a display interface including a plurality of dates, determine a target date based on a selection of a user among the plurality of dates, where the number of the target dates is at least one, and after determining the target date, display a calendar page corresponding to the target date, where the calendar page corresponding to the target date may include at least one target date in a selected state and other dates, or may include only the at least one target date. The calendar page may display weather information of at least one target date, and in the case that the number of the target dates is at least two, the calendar page may display weather information corresponding to each target date, for example, the calendar page may be divided into different areas, and one area displays the weather information corresponding to one target date. The weather information of the target date may include weather states respectively corresponding to different periods of the target date. After the user selects the target date, the weather information of the target date is displayed on the calendar page, so that the user can know the weather condition of the selected target date on the calendar page conveniently, and the user can create a corresponding schedule based on the weather condition.
And 102, displaying an input page according to the first input of the calendar page.
After the calendar page displays the weather information of the target date, a first input performed by the user on the calendar page may be received, the first input may be an input performed on a preset control or a specific area within the calendar page, and after the first input by the user is received, the input page may be displayed according to the first input. The input page can be in a popup form or a page form.
In the case where the number of target dates is at least two, only one input page may be displayed according to the first input, or input pages having the same number as the target dates may be displayed.
After the input page is displayed, a second input performed by the user on the input page can be received, the second input performed by the user is an input associated with creating the target schedule, and in response to the second input by the user, a target schedule corresponding to the target date can be created. After the target schedule is created, the created target schedule can be displayed on the calendar page corresponding to the target date, so that the user can know the created schedule based on the calendar.
When the number of the target dates is two or more, if one input page is displayed in response to the first input, one or at least two same target schedules can be created and displayed on the calendar page through one operation, and if the input pages with the same number as the target dates are displayed in response to the first input, corresponding target schedules can be created for different target dates respectively.
According to the implementation process, the weather information of the target date is displayed on the calendar page corresponding to the target date, so that a user can know the weather condition of the target date on the calendar page conveniently, the input page is displayed according to the first input of the calendar page, the target schedule is created and displayed on the calendar page in response to the second input of the input page, the process of creating the schedule according to the weather is simplified, the schedule creating efficiency is improved, and the schedule creating experience is optimized.
It should be noted that, after the target schedule is created for the target date, the target date may be highlighted with a date different from other dates without schedules, for example, a preset mark is displayed in the upper right corner of the target date, and the target date is bold, enlarged or displayed in a specific color.
In an optional embodiment of the present application, the calendar page includes a time axis corresponding to the target date and including a plurality of times, and the weather information of the target date includes weather states corresponding to at least one of the times, respectively;
the displaying an input page according to a first input to the calendar page, comprising:
displaying the input page according to the first input of the first time and the second time on the time axis;
and under the condition that the first input is received, determining a first time interval corresponding to the target schedule according to the first time and the second time.
After the target date is selected, a time axis corresponding to the target date may be displayed on a calendar page corresponding to the target date, and at least two time axes may be displayed for a case where the number of the target dates is at least two. The time axis includes a plurality of times, and correspondingly, the weather information of the target date may include a weather status corresponding to at least one time on the time axis. By displaying the weather information of the target date based on the time axis, the user can observe the time and the weather conveniently, and further determine the schedule and the corresponding time. As shown in fig. 2, No. 10/month 29 indicates the target date in the selected state, the time axis corresponding to No. 10/month 29 is displayed on the calendar page corresponding to the target date, and rainy weather is displayed at 10 points on the time axis, and sunny weather is displayed at 13 points and 16 points on the time axis.
When the input page is displayed according to a first input to the calendar page, a first input performed by a user for a first time and a second time on the time axis may be received, and the input page may be displayed according to the first input. For example, the input page is displayed according to a long press input performed after the user selects the first time and the second time by two fingers, or the input page is displayed by receiving a slide input of the user from the first time to the second time.
After receiving a first input performed by a user at a first time and a second time, the electronic device may determine a first time period corresponding to the target schedule based on the first input, that is, determine the first time period according to the first time and the second time, where a start time of the first time period is the first time, and an end time of the first time period is the second time.
The process of determining the first period based on the first input for the first time and the second time and displaying the input page will be explained below by a specific example. Referring to fig. 3a, after 13 points and 15 points are selected by two fingers of the user, and a long press is performed for three seconds, the starting time of the first time period is determined to be 13 points, and the ending time of the first time period is determined to be 15 points. Referring to fig. 3b, after the user selects 13 and 15 points and presses for three seconds, an input page is displayed, where the input page is used to obtain the schedule content input by the user. For the case that the number of the target dates is at least two, the number of the time axes included in the calendar page may be at least two, and correspondingly, the weather information of each target date includes a weather state corresponding to at least one time on the corresponding time axis. When the user performs the first input on one of the time axes, one input page may be displayed, and at this time, the input page may be associated with one or at least two target dates.
According to the implementation process, the time shaft corresponding to the target date is displayed on the calendar page, and the weather state corresponding to at least one moment on the time shaft is displayed, so that a user can clearly know the weather conditions of the target date at different moments, the input page is displayed and the first period is determined according to the first input of the user on the time shaft, the user can build a new schedule on the input page based on the weather conditions, and the reasonability of schedule creation can be guaranteed.
In an optional embodiment of the present application, the displaying the input page according to the first input of the first time and the second time on the time axis includes:
in response to the first input, displaying an input popup, the input page being displayed in a popup form;
or alternatively
And responding to the first input, displaying an input popup window comprising a detail control, and displaying a schedule editing page under the condition that third input to the detail control is monitored, wherein the input page is the schedule editing page.
When the input page is displayed according to the first input, the input popup may be directly displayed according to the first input performed by the user for the first time and the second time on the time axis, that is, the input page is displayed in the form of the input popup. The input popup can be understood as a quick input page capable of meeting the requirements of a user, and the user can directly input schedule content in the input popup to create a new schedule and ensure the quickness of schedule creation.
When the input page is displayed according to the first input, the input popup window comprising the detail control can be displayed according to the first input executed by the user at the first moment and the second moment on the time axis, the third input executed by the user on the detail control can be received aiming at the condition that the shortcut input page cannot meet the user requirement, and the user can jump to the schedule editing page under the condition that the third input is received, namely, the input page can be displayed in the form of the schedule editing page, and the user can be ensured to newly build a detailed schedule on the schedule editing page based on the requirement.
For example, the two cases are described by specific examples, and referring to fig. 3b, an input popup is displayed on a calendar page, where the input popup includes an input box, a new control, a cancel control, and a detail control. Aiming at the condition that the user newly builds the schedule by inputting the pop-up window, after the user inputs the schedule content in the input box, the schedule can be newly built according to the input executed by the user on the newly-built control, and the schedule can be cancelled according to the input executed by the user on the cancellation control. And for the condition that the user newly builds the schedule through the schedule editing page, when third input to the detail control is received, the user can respond to the third input and jump to the schedule editing page for displaying, so that the user newly builds the schedule on the schedule editing page.
According to the implementation process, the input page is presented in a popup window form or a schedule editing page form, the display form of the input page can be enriched, and a user selects the input page in a corresponding form to establish a schedule according to requirements.
In an optional embodiment of the present application, the creating a target schedule within the target date in response to the second input to the input page and displaying the target schedule on the calendar page includes:
acquiring schedule content in response to the second input;
creating the target schedule according to the schedule content and the first period;
and displaying the schedule content corresponding to the target schedule through a display control in the first period.
When creating the target schedule and displaying the target schedule on the calendar page in response to the second input performed by the user on the input page, the schedule content input by the user on the input page may be firstly acquired in response to the second input, wherein the schedule content may be manually input or selected on the input page by the user when the second input is performed on the input page. Since the first period corresponding to the target schedule can be determined based on the first input, the target schedule can be created according to the schedule content and the predetermined first period after the schedule content is acquired. After the target schedule is created, because the target schedule corresponds to the first period, the created schedule content can be shown through the display control at the first period corresponding to the time axis. For example, if the schedule content is mountain climbing, the schedule content "mountain climbing" may be displayed through the display control in the first period, as shown in fig. 4a, and the mountain climbing schedule is displayed in the first period (12 to 13) of the target date.
For the case that the number of the target dates is at least two, the number of the display controls may also be at least two, the target schedules corresponding to the target dates may be the same or different, and correspondingly, the corresponding positions of the display controls on the time axis may also be the same or different.
According to the implementation process, the schedule content is acquired based on the second input of the user, the target schedule is created according to the schedule content and the predetermined first time period, the schedule can be reasonably arranged by the user, the schedule content corresponding to the target schedule is displayed in the first time period, the user can be prompted, the user can know the created schedule based on the time axis, and the user can reasonably arrange time to execute the corresponding schedule.
In an optional embodiment of the present application, after creating and presenting the target schedule, the method further comprises:
under the condition that the weather state corresponding to the first time interval changes and the schedule content is not supported, controlling the display control to move to a second time interval so as to update the first time interval corresponding to the target schedule to the second time interval;
and the weather state corresponding to the second time interval supports the schedule content.
Since the longer and inaccurate weather forecast time interval, the weather condition of the first time period may change near the target date. After the target schedule is created and displayed on the calendar page, the display control displayed in the first period can be controlled to move to the second period for displaying aiming at the condition that the weather state corresponding to the first period changes and the schedule content is not supported, so that the target schedule is updated, and the first period corresponding to the target schedule is updated to the second period. The second period is a period in which the corresponding weather status can support the schedule content.
Whether the weather state supports the schedule content or not can be determined according to the matching degree of the weather state and the type of the schedule content, when the matching degree of the weather state and the type of the schedule content is larger than or equal to a preset threshold value, the weather state can support the schedule content, and when the matching degree of the weather state and the type of the schedule content is smaller than the preset threshold value, the weather state does not support the schedule content. The weather conditions may include temperature, wind, sunny, rainy, cloudy, etc. parameters. For example, the type of the schedule content is outdoor activity, when the weather state is sunny, the matching degree between the weather state and the outdoor activity is greater than a preset threshold, and at this time, the weather state can support the schedule content; when the weather state is rainy, the matching degree of the weather state and outdoor activities is smaller than a preset threshold, and at the moment, the schedule content is not supported by the weather state. Or, the type of the schedule content is outdoor activity, when the weather state is 37 ℃ high temperature, the matching degree of the weather state and the outdoor activity is smaller than a preset threshold, and at this time, the schedule content is not supported by the weather state. Or the type of the schedule content is indoor activity, when the weather state is sunny day or cloudy day, the matching degree of the weather state and the indoor activity is larger than the preset threshold value, and the weather state can support the schedule content at the moment.
When the target schedule is updated and the display control is controlled to move to the second time interval, the target schedule can be executed according to the triggering of the user, and the target schedule can also be actively executed by the electronic equipment. For the case of execution according to the trigger of the user, a fourth input executed by the user on a display control (at least one in number) for displaying schedule content may be received, and after the fourth input is received, the display control may be controlled to move to a second period where the weather state can support the schedule content corresponding to the target schedule, so as to update the first period corresponding to the target schedule to the second period. The fourth input may be a dragging input of the user on the time axis for dragging the display control from the first time period to the second time period, or an input which is executed by the user on the time axis for the second time period and meets a preset characteristic, and at this time, the display control may automatically move to the second time period. For example, a user creates a schedule of climbing mountain from 12 o 'clock to 13 o' clock of sunday on monday, and when friday comes, the user finds that the time period of sunday is rainy, and at this time, the user can press the display control for displaying the content of the schedule of climbing mountain for a long time, so that the display control enters a dragging state, and then the display control is dragged to a sunny time period to change the schedule time. Referring to fig. 4b and 4c, the user drags the display control for displaying the mountain climbing schedule content to a desired time coordinate, such as 16 to 17 points, according to the time axis and the weather information, so as to update the target schedule, and arrange to perform outdoor mountain climbing activities on a sunny day.
Aiming at the situation that the electronic equipment actively updates the target schedule and controls the display control to move to the second time interval, when the weather state corresponding to the first time interval is monitored to change and the schedule content is not supported, the display control displayed at the first time interval is actively controlled to move to the second time interval so as to update the time interval corresponding to the target schedule, and before the display control is controlled to move, information for reminding a user of changing the time interval corresponding to the target schedule can be output, and the target schedule is updated according to the confirmation of the user.
According to the implementation process, when the weather of the first period corresponding to the target schedule changes, the input executed by the user can be received, the schedule period can be triggered and changed according to the input of the user, active intervention based on the user can be realized to adjust the schedule to the period selected by the user, the requirement of the user can be met, schedule period updating can also be triggered actively, updating operation is executed according to confirmation of the user, the schedule can be adjusted to a reasonable period, the rationality of schedule arrangement is guaranteed, meanwhile, the schedule period can be updated flexibly according to the position of a control, and convenience in schedule adjustment is guaranteed.
In an optional embodiment of the present application, the target schedule is created based on schedule content, the first time period, and a target weather state selected by a user; the method further comprises the following steps:
When the time interval between the starting time and the current time of the first time interval is less than a preset time, monitoring whether the weather state of the first time interval is the target weather state;
maintaining the target schedule when the weather state of the first period is the target weather state;
and updating or canceling the target schedule under the condition that the weather state in the first period is not the target weather state.
In order to ensure that the user performs activities corresponding to the target schedule in the appropriate weather, the user may add weather requirements under the conditions of selecting time periods and inputting schedule contents when creating the target schedule, for example, as shown in fig. 5, the user newly creates a schedule of climbing mountains from 12 o ' clock to 13 o ' clock in 29 o ' clock in 10 months, and additionally selects the weather in a sunny day, which is the target weather state selected by the user. After the target schedule is created based on the schedule content, the first time period and the target weather state selected by the user, when the starting time of the first time period is close to, namely, the time interval with the starting time of the first time period is less than the preset time length, whether the weather state of the first time period is the target weather state selected by the user is monitored, and the weather of the first time period can be checked in advance. The preset time period can be set according to requirements, such as 24 hours, 12 hours and the like.
The created target schedule may be maintained when the weather state of the first period is the target weather state selected by the user. For example, a user creates a schedule of climbing mountains from 12 o 'clock to 13 o' clock on weekdays, additionally selects weather on a sunny day, acquires weather forecast on the weekdays on saturday, and if the weather is sunny from 12 o 'clock to 13 o' clock, the user does not perform processing and continues to maintain the schedule.
When the weather state in the first period is not the target weather state selected by the user, the prompt message for updating or canceling the target schedule can be output, and the target schedule can be updated or canceled according to the confirmation of the user. When the number of the target schedules is at least two, whether the weather state of the first period is the target weather state or not can be monitored for each target schedule.
Wherein the updating or canceling the target schedule includes:
detecting whether a third time period in which the weather state is the target weather state exists in the target date;
under the condition that the third time interval exists in the target date, displaying first prompt information for adjusting the schedule content to the third time interval, and responding to the confirmation operation of the first prompt information to update the first time interval corresponding to the target schedule to the third time interval;
And under the condition that the third period does not exist in the target date, displaying second prompt information for canceling the target schedule, and responding to confirmation operation of the second prompt information to cancel the target schedule.
When the weather state in the first period is not the target weather state, the process of updating the target schedule specifically includes: and detecting whether a third time period with the weather state as the target weather state exists in the target date, if so, generating and displaying first prompt information for adjusting the schedule content to the third time period, prompting the user to adjust the target schedule to the third time period, after receiving confirmation operation of the user on the first prompt information, determining that the user agrees to schedule adjustment, updating the first time period corresponding to the target schedule to the third time period, and automatically performing dynamic adjustment on the schedule time period according to the weather state.
Under the condition that the weather state in the first period is not the target weather state, the process of canceling the target schedule specifically comprises the following steps: and detecting whether a third time period with the weather state being the target weather state exists in the target date, if not, determining that the user cannot perform activities corresponding to the target schedule on the target date, generating and displaying second prompt information for canceling the target schedule, prompting the user to cancel the target schedule, after receiving confirmation operation of the user on the second prompt information, determining that the user agrees to cancel the target schedule, executing the operation of canceling the target schedule, and updating the calendar page.
For example, a user creates a schedule of climbing up mountain from 12 o 'clock to 13 o' clock of sunday on monday, additionally selects weather on sunny days, acquires weather forecast of sunday on saturday, determines that 12 o 'clock to 13 o' clock of sunday is rainy, and at this time, may output prompt information for adjusting the climbing schedule to a time period of sunny weather (e.g., 16 o 'clock to 17 o' clock), and dynamically adjusts the climbing schedule to the time period of sunny weather according to the confirmation of the user. If there is rain all the time in the day of the week, outputting prompt information for canceling the mountain climbing schedule to prompt the user to cancel the mountain climbing schedule, and dynamically canceling the mountain climbing schedule according to the confirmation of the user.
In the implementation process of the application, the target schedule is created based on the schedule content, the first time period and the weather selected by the user, the weather state of the first time period is monitored when the first time period is close to, the target schedule can be kept when the monitored weather state is the weather selected by the user, and the target schedule can be updated or cancelled according to the confirmation of the user when the monitored weather state does not belong to the weather selected by the user, so that the schedule time period can be dynamically adjusted or the target schedule can be dynamically cancelled.
In the implementation process of the schedule creating method provided by the embodiment of the application, the weather information of the target date is displayed on the calendar page corresponding to the target date, so that a user can know the weather condition of the target date on the calendar page conveniently, the input page is displayed according to the first input to the calendar page, and the target schedule is created and displayed on the calendar page in response to the second input to the input page.
Furthermore, by displaying the time axis corresponding to the target date and displaying the weather state corresponding to at least one moment on the time axis, a user can clearly know the weather conditions of the target date at different moments, the schedule period is determined based on the weather conditions, and the schedule is newly built, so that the reasonability of schedule creation can be ensured; the display form of the input page can be enriched by presenting the input page in a popup form or a schedule editing page form; when the weather of the first time period corresponding to the target schedule changes, the schedule is adjusted to the time period selected by the user or the time period corresponding to the schedule is actively adjusted based on the active intervention of the user, so that the rationality of schedule arrangement can be ensured; the target schedule is created based on the schedule content, the first time period and the weather selected by the user, when the weather state of the first time period is monitored to be the weather selected by the user, the target schedule can be kept, and when the monitored weather state does not belong to the weather selected by the user, the target schedule can be updated or cancelled according to the confirmation of the user, so that the schedule time period can be dynamically adjusted or the schedule can be dynamically cancelled.
It should be noted that, in the schedule creating method provided in the embodiment of the present application, the execution main body may be a schedule creating device, or a control module in the schedule creating device for executing the schedule creating method. The embodiment of the present application takes a schedule creating device as an example to execute a schedule creating method, and illustrates the schedule creating device provided in the embodiment of the present application.
Fig. 6 is a schematic block diagram of a schedule creating apparatus provided in an embodiment of the present application, and the schedule creating apparatus is applied to an electronic device.
As shown in fig. 6, the schedule creation apparatus includes:
a first display module 601, configured to display a calendar page corresponding to a target date, where the calendar page includes weather information of the target date;
a second display module 602, configured to display an input page according to a first input to the calendar page;
a creating and displaying module 603, configured to create a target schedule within the target date in response to a second input to the input page, and display the target schedule on the calendar page.
Optionally, the calendar page includes a time axis corresponding to the target date and including a plurality of times, and the weather information of the target date includes weather states corresponding to at least one of the times respectively;
the second display module includes:
the display submodule is used for displaying the input page according to the first input of the first time and the second time on the time axis;
and under the condition that the first input is received, determining a first time interval corresponding to the target schedule according to the first time and the second time.
Optionally, the display sub-module is further configured to:
in response to the first input, displaying an input popup, the input page being displayed in a popup form;
or
And responding to the first input, displaying an input popup window comprising a detail control, and displaying a schedule editing page under the condition that third input to the detail control is monitored, wherein the input page is the schedule editing page.
Optionally, the creating and displaying module includes:
the obtaining submodule is used for responding to the second input and obtaining the schedule content;
the creating sub-module creates the target schedule according to the schedule content and the first time period;
and the display sub-module displays the schedule content corresponding to the target schedule through a display control at the first time period.
Optionally, the apparatus further comprises:
the control module is used for controlling the display control to move to a second time interval under the condition that the weather state corresponding to the first time interval changes and the schedule content is not supported, so that the first time interval corresponding to the target schedule is updated to the second time interval;
and the weather state corresponding to the second time interval supports the schedule content.
Optionally, the target schedule is created based on the schedule content, the first time period, and a target weather state selected by the user; the device further comprises:
the monitoring module is used for monitoring whether the weather state of the first time interval is the target weather state or not when the time interval between the starting time of the first time interval and the current time is less than the preset time;
the maintaining module is used for maintaining the target schedule under the condition that the weather state in the first period is the target weather state;
and the processing module is used for updating or canceling the target schedule under the condition that the weather state in the first period is not the target weather state.
Optionally, the processing module includes:
the detection submodule is used for detecting whether a third time period that the weather state is the target weather state exists in the target date or not;
the first processing submodule is used for displaying first prompt information for adjusting the schedule content to the third time interval under the condition that the third time interval exists in the target date, and updating the first time interval corresponding to the target schedule to the third time interval in response to the confirmation operation of the first prompt information;
And the second processing submodule is used for displaying second prompt information for canceling the target schedule under the condition that the third time interval does not exist in the target date, and canceling the target schedule in response to the confirmation operation of the second prompt information.
The schedule creation device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The schedule creation apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The schedule creating device provided in the embodiment of the present application can implement each process implemented by the schedule creating method embodiment shown in fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the schedule creation method in the embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 806 is configured to: displaying a calendar page corresponding to a target date, wherein the calendar page comprises weather information of the target date, and displaying an input page according to a first input to the calendar page; the processor 810 is configured to: in response to a second input to the input page, a target schedule within the target date is created and the display unit 806 is controlled to display the target schedule on the calendar page.
Optionally, the calendar page includes a time axis corresponding to the target date and including a plurality of times, and the weather information of the target date includes weather states corresponding to at least one of the times respectively; when displaying an input page according to a first input to the calendar page, the display unit 806 is further configured to: displaying the input page according to the first input of the first time and the second time on the time axis; and under the condition that the first input is received, determining a first time interval corresponding to the target schedule according to the first time and the second time.
Optionally, when the input page is displayed according to the first input of the first time and the second time on the time axis, the display unit 806 is further configured to: in response to the first input, displaying an input popup, the input page being displayed in a popup form; or; and responding to the first input, displaying an input popup window comprising a detail control, and displaying a schedule editing page under the condition that third input to the detail control is monitored, wherein the input page is the schedule editing page.
Optionally, in response to the second input to the input page, creating a target schedule within the target date, and displaying the target schedule on the calendar page, the processor 810 is further configured to: acquiring schedule content in response to the second input; creating the target schedule according to the schedule content and the first period; the control display unit 806 displays the schedule content corresponding to the target schedule through the display control at the first time period.
Optionally, in a case that the weather state corresponding to the first period changes and the schedule content is not supported, the processor 810 is further configured to: controlling the display control to move to a second time interval so as to update the first time interval corresponding to the target schedule to the second time interval; and the weather state corresponding to the second time interval supports the schedule content.
Optionally, the target schedule is created based on the schedule content, the first time period, and a target weather state selected by the user; processor 810 is further configured to: when the time interval between the starting time and the current time of the first time interval is less than a preset time, monitoring whether the weather state of the first time interval is the target weather state; maintaining the target schedule when the weather state of the first period is the target weather state; and updating or canceling the target schedule under the condition that the weather state in the first period is not the target weather state.
Optionally, when the target schedule is updated or cancelled, the processor 810 is further configured to: detecting whether a third time period in which the weather state is the target weather state exists in the target date; when the third period exists in the target date, the control display unit 806 displays first prompt information for adjusting the schedule content to the third period, and updates the first period corresponding to the target schedule to the third period in response to a confirmation operation of the first prompt information; in a case where the third period does not exist within the target date, the control display unit 806 displays second prompt information for canceling the target schedule, and cancels the target schedule in response to a confirmation operation of the second prompt information.
Therefore, the weather information of the target date is displayed on the calendar page corresponding to the target date, a user can know the weather condition of the target date on the calendar page conveniently, the input page is displayed according to the first input of the calendar page, the target schedule is created and displayed on the calendar page in response to the second input of the input page, the process of creating the schedule according to the weather is simplified, the schedule creating efficiency is improved, and the schedule creating experience is optimized.
Furthermore, by displaying the time axis corresponding to the target date and displaying the weather state corresponding to at least one moment on the time axis, a user can clearly know the weather conditions of the target date at different moments, the schedule period is determined based on the weather conditions, and the schedule is newly built, so that the reasonability of schedule creation can be ensured; the display form of the input page can be enriched by presenting the input page in a popup form or a schedule editing page form; when the weather of the first time period corresponding to the target schedule changes, the schedule is adjusted to the time period selected by the user or the time period corresponding to the schedule is actively adjusted based on the active intervention of the user, so that the rationality of schedule arrangement can be ensured; the target schedule is created based on the schedule content, the first time period and the weather selected by the user, when the weather state of the first time period is monitored to be the weather selected by the user, the target schedule can be kept, and when the monitored weather state does not belong to the weather selected by the user, the target schedule can be updated or cancelled according to the confirmation of the user, so that the schedule time period can be dynamically adjusted or the schedule can be dynamically cancelled.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which primarily handles operating systems, user pages, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the schedule creation method in the embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the schedule creation method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A schedule creation method, comprising:
displaying a calendar page corresponding to a target date, wherein the calendar page comprises weather information of the target date;
displaying an input page according to a first input to the calendar page;
creating a target schedule within the target date in response to a second input to the input page and displaying the target schedule on the calendar page;
the calendar page comprises a time shaft which is corresponding to the target date and comprises a plurality of moments, and the weather information of the target date comprises weather states which are respectively corresponding to at least one moment on the time shaft;
the displaying an input page according to a first input to the calendar page, comprising:
displaying the input page according to the first input of the first time and the second time on the time axis;
the creating a target schedule within the target date and displaying the target schedule on the calendar page in response to a second input to the input page, comprising:
acquiring schedule content in response to the second input;
creating the target schedule according to the schedule content and the first period;
Displaying schedule content corresponding to the target schedule through a display control;
the first time interval is determined according to the first time and the second time, and the display position of the first time interval corresponds to the display position of the target schedule;
the method further comprises the following steps:
under the condition that the weather state corresponding to the first time interval changes and the schedule content is not supported, controlling the display control to move to a second time interval so as to update the first time interval corresponding to the target schedule to the second time interval;
the weather state corresponding to the second time interval supports the schedule content;
the controlling the display control to move to a second period of time to update the first period of time corresponding to the target schedule to the second period of time includes:
receiving a fourth input executed by the user on the display control;
responding to the fourth input, controlling the display control to move to the second time interval so as to update the first time interval corresponding to the target schedule to be the second time interval;
the fourth input is a dragging input of a user dragging the display control from the first time period to the second time period on the time axis.
2. The schedule creating method according to claim 1, comprising:
and under the condition that the first input is received, determining a first time interval corresponding to the target schedule according to the first time and the second time.
3. The schedule creating method according to claim 2, wherein the displaying the input page according to the first input of the first time and the second time on the time axis includes:
in response to the first input, displaying an input popup, the input page being displayed in a popup form;
or alternatively
And responding to the first input, displaying an input popup window comprising a detail control, and displaying a schedule editing page under the condition that third input to the detail control is monitored, wherein the input page is the schedule editing page.
4. The schedule creation method of claim 2, wherein the target schedule is created based on schedule content, the first time period, and a target weather condition selected by a user;
the method further comprises the following steps:
when the time interval between the starting time and the current time of the first time interval is less than a preset time, monitoring whether the weather state of the first time interval is the target weather state;
Maintaining the target schedule when the weather state of the first period is the target weather state;
and updating or canceling the target schedule under the condition that the weather state in the first period is not the target weather state.
5. The schedule creation method of claim 4, wherein the updating or canceling the target schedule comprises:
detecting whether a third time period in which the weather state is the target weather state exists in the target date;
under the condition that the third time interval exists in the target date, displaying first prompt information for adjusting the schedule content to the third time interval, and responding to the confirmation operation of the first prompt information to update the first time interval corresponding to the target schedule to the third time interval;
and under the condition that the third period does not exist in the target date, displaying second prompt information for canceling the target schedule, and responding to confirmation operation of the second prompt information to cancel the target schedule.
6. A schedule creation apparatus, comprising:
the first display module is used for displaying a calendar page corresponding to a target date, and the calendar page comprises weather information of the target date;
The second display module is used for displaying an input page according to the first input of the calendar page;
a creation display module for creating a target schedule within the target date in response to a second input to the input page and displaying the target schedule on the calendar page;
the calendar page comprises a time shaft which is corresponding to the target date and comprises a plurality of moments, and the weather information of the target date comprises weather states which are respectively corresponding to at least one moment on the time shaft;
the second display module is specifically configured to display the input page according to the first input of the first time and the second time on the time axis;
the creation display module is specifically configured to respond to the second input and obtain schedule content; creating the target schedule according to the schedule content and the first period; displaying schedule content corresponding to the target schedule through a display control;
the first time interval is determined according to the first time and the second time, and the display position of the first time interval corresponds to the display position of the target schedule;
the device is further configured to control the display control to move to a second time interval to update the first time interval corresponding to the target schedule to the second time interval when the weather state corresponding to the first time interval changes and the schedule content is not supported;
The weather state corresponding to the second time interval supports the schedule content;
the controlling the display control to move to a second time interval so as to update the first time interval corresponding to the target schedule to the second time interval comprises:
receiving a fourth input executed by the user on the display control; responding to the fourth input, controlling the display control to move to the second time interval so as to update the first time interval corresponding to the target schedule to be the second time interval; the fourth input is a dragging input of a user dragging the display control from the first time period to the second time period on the time axis.
7. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the schedule creation method according to any of claims 1 to 5.
8. A readable storage medium, characterized in that a program or instructions are stored thereon, which program or instructions, when executed by a processor, implement the steps of the schedule creation method according to any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110269918.6A CN112995404B (en) | 2021-03-12 | 2021-03-12 | Schedule creating method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110269918.6A CN112995404B (en) | 2021-03-12 | 2021-03-12 | Schedule creating method and device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112995404A CN112995404A (en) | 2021-06-18 |
CN112995404B true CN112995404B (en) | 2022-07-29 |
Family
ID=76335097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110269918.6A Active CN112995404B (en) | 2021-03-12 | 2021-03-12 | Schedule creating method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112995404B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806359A (en) * | 2021-06-28 | 2021-12-17 | 深圳云之家网络有限公司 | Calendar data storage method and device, computer equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014051332A1 (en) * | 2012-09-25 | 2014-04-03 | 삼성전자주식회사 | Electronic device for providing schedule comprising weather information, and method therefor |
JP6721200B1 (en) * | 2019-10-25 | 2020-07-08 | Vesta株式会社 | Program, method and information processing apparatus |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7752188B2 (en) * | 2007-02-16 | 2010-07-06 | Sony Ericsson Mobile Communications Ab | Weather information in a calendar |
TWI494802B (en) * | 2012-01-04 | 2015-08-01 | Asustek Comp Inc | Operating method and portable electronic device using the same |
CN103369146A (en) * | 2013-07-18 | 2013-10-23 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and schedule displaying method |
US20160253632A1 (en) * | 2014-07-03 | 2016-09-01 | Eun Uk WON | Method for controlling calendar and recording medium having program for performing the same |
CN105260181A (en) * | 2015-09-28 | 2016-01-20 | 北京橙鑫数据科技有限公司 | Information display and reminding method and apparatus |
CN105975509A (en) * | 2016-04-27 | 2016-09-28 | 珠海市魅族科技有限公司 | Journey information revision method and terminal |
CN106293406A (en) * | 2016-07-28 | 2017-01-04 | 乐视控股(北京)有限公司 | A kind of calendar information adding method and terminal unit |
CN106372844B (en) * | 2016-08-19 | 2020-08-28 | 网易(杭州)网络有限公司 | Schedule creating method and device |
CN106453949B (en) * | 2016-11-17 | 2019-07-26 | 维沃移动通信有限公司 | A kind of method and mobile terminal creating schedule |
CN108399037A (en) * | 2017-02-07 | 2018-08-14 | 阿里巴巴集团控股有限公司 | A kind of schedule creates, edit methods and intelligent meter |
CN107783712A (en) * | 2017-11-15 | 2018-03-09 | 宁波麦度智联科技股份有限公司 | A kind of schedule clone method and system |
JP7209218B2 (en) * | 2019-03-19 | 2023-01-20 | トヨタ自動車株式会社 | Program, information processing method, and information processing apparatus |
CN110673917A (en) * | 2019-09-26 | 2020-01-10 | 北京小米移动软件有限公司 | Information management method and device |
CN111126958B (en) * | 2019-12-23 | 2023-09-26 | 腾讯科技(深圳)有限公司 | Schedule creation method, schedule creation device, schedule creation equipment and storage medium |
-
2021
- 2021-03-12 CN CN202110269918.6A patent/CN112995404B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014051332A1 (en) * | 2012-09-25 | 2014-04-03 | 삼성전자주식회사 | Electronic device for providing schedule comprising weather information, and method therefor |
JP6721200B1 (en) * | 2019-10-25 | 2020-07-08 | Vesta株式会社 | Program, method and information processing apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN112995404A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112148174B (en) | Application information display method and device and electronic equipment | |
CN112214142B (en) | Application information display method and device, electronic equipment and storage medium | |
CN111857509A (en) | Split screen display method and device and electronic equipment | |
CN112997134B (en) | Application icon display method and device, storage medium and electronic equipment | |
CN112148166A (en) | Desktop component management method and device | |
CN112148181B (en) | Menu display method and device, electronic equipment and storage medium | |
CN107977248B (en) | Display method of desktop pendant and mobile terminal | |
US9992440B2 (en) | Method, apparatus and computer program product for configuration of a display screen | |
CN112162807A (en) | Function execution method and device | |
US7930651B2 (en) | Agenda display in an electronic device | |
US12014035B2 (en) | Display method and apparatus for message detail page, and electronic device | |
CN102968314B (en) | Quarter-bell control method, device and equipment | |
CN111752451A (en) | Information display method and device and electronic equipment | |
US20240201825A1 (en) | Event trigger control method and apparatus, electronic device, and medium | |
CN110581922A (en) | Alarm clock setting method and terminal equipment | |
CN112995404B (en) | Schedule creating method and device, electronic equipment and readable storage medium | |
CN113360037B (en) | Method and device for setting application program use duration | |
CN113709306B (en) | Session processing method and device and electronic equipment | |
CN111857465B (en) | Application icon sorting method and device and electronic equipment | |
CN112099682A (en) | Icon display method and device and electronic equipment | |
US20170185360A1 (en) | Information Processing Apparatus, Information Processing Method, And Non-Transitory Computer-Readable Recording Medium | |
CN111897475A (en) | Message viewing method and device | |
CN111314561A (en) | Intelligent reminding method, terminal and storage medium | |
EP4383650A1 (en) | Information display method and apparatus, and electronic device | |
CN114244952B (en) | Alarm clock processing method and device, electronic equipment and medium |
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 |