Schedule creating method and electronic equipment
By using cursor, sliding and drag operations in the calendar application, combined with picture and text recognition technology, automatically fills the schedule setting items, solving the problem of slow schedule creation speed for users through input keyboards and improving the user experience.
Patent Information
- Application Number
- CN202310732674.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-19
- Publication Date
- 2024-12-20
AI Technical Summary
In traditional solutions, users create schedules with input methods on keyboards, which reduces the user experience.
Provides a schedule creation method, displays a new schedule page in a calendar application through electronic devices, uses cursor, sliding and drag operations, combined with picture and text recognition technology, automatically fills the schedule setting items and reduces input operations.
Improves the speed and efficiency of user creation schedules and enhances the user experience.
Smart Images

Figure CN119166029A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a schedule creation method and electronic device. Background Art
[0002] With the development of terminal technology, different types of system applications or third-party applications can be installed on electronic devices. Users can add schedule information in the calendar application of the system application or the third-party application. In this way, the electronic device can send schedule reminders to the user based on the schedule information.
[0003] Schedule information usually includes information such as title, location, time, etc. In traditional solutions, after receiving schedule information, users usually need to remember the schedule information and create schedules through the input method keyboard in the calendar application. In this way, when the schedule information content is large, the user may repeatedly remember the schedule information and input it through the input method keyboard multiple times to create the schedule.
[0004] Therefore, when a user creates a schedule through the input method keyboard, there is a problem of slow creation speed, which reduces the user experience. Summary of the invention
[0005] The present application provides a schedule creation method and electronic device, which can solve the problem of slow creation speed of users creating schedules through input method keyboards in traditional solutions, allowing users to quickly create schedules and improving user experience.
[0006] In a first aspect, the present application provides a schedule creation method, which is applied to an electronic device, including: the electronic device displays a first page when creating a new first schedule in a calendar application, the first page including a first control, a first confirmation button and a first schedule setting item, wherein the cursor is located in the first schedule setting item; in response to a user clicking on the first control, the electronic device displays a first window on the first page, the first window covers part of the content of the first page, the first window includes multiple word segmentation results of a target text, and the target text is obtained by the electronic device performing text recognition on a to-be-recognized image and / or to-be-recognized text; in response to a user sliding operation on the word segmentation result in a first direction, the electronic device fills the word segmentation result corresponding to the first sliding operation to the position after the cursor, or, in response to a user dragging operation on the word segmentation result, the electronic device fills the second word segmentation result corresponding to the dragging operation to the first schedule setting item; in response to the user clicking on the first confirmation button, the electronic device creates the first schedule.
[0007] The method provided in the embodiment of the present application allows the user to operate on a picture or text containing schedule information so that the electronic device recognizes the schedule information of the target text, displays multiple word segmentation results of the target text in the first window, and fills part of the word segmentation results in the first schedule setting item. In this way, the user does not need to create a schedule through the input method keyboard, which solves the problem of slow creation speed of users creating schedules through the input method keyboard in the traditional solution, enables users to quickly create schedules, and improves the user experience.
[0008] In one implementation, before the electronic device displays the first page when creating a new first schedule in a calendar application, it also includes: in response to the user's sharing operation on the first picture, the electronic device displays a second page, the second page includes a first icon; in response to the user's click operation on the first icon, the electronic device displays a third page, the third page includes a cropping frame, wherein part or all of the area of the first picture is located within the cropping frame. Using this implementation, the electronic device can enter the calendar application from the sharing page, crop the first picture in the calendar application, and obtain the picture to be recognized. In this way, the user's cropping operation on the first picture can reduce the amount of recognition of the first picture by the electronic device, shorten the recognition time, enable the user to quickly create a schedule, and improve the user experience.
[0009] In one implementation, the third page also includes a second confirmation button, and the electronic device displays the first page when creating a new first schedule in the calendar application, including: in response to the user's click operation on the second confirmation button, the electronic device crops the portion of the first picture that is within the cropping frame to obtain a picture to be identified; the electronic device performs text recognition on the picture to be identified to obtain a target text; the electronic device obtains the first candidate schedule from the target text; the electronic device displays the first page, and fills the first candidate schedule into the first schedule setting item. With this implementation, the electronic device can display the first candidate schedule in the new schedule page, and can fill the word segmentation results in the first window in the first schedule setting item to create a schedule, so that the user can quickly create a schedule, thereby improving the user experience.
[0010] In one implementation, before the electronic device displays the first page when creating a new first schedule in the calendar application, it also includes: in response to the user's screenshot operation on at least a part of the fourth page, the electronic device obtains the second picture; in response to the user's first operation on the fourth page, the electronic device displays the home screen page, the home screen page includes the second icon; in response to the user's click operation on the second icon, the electronic device displays the fifth page, the fifth page includes a new schedule button, and a first thumbnail located near the new schedule button, the first thumbnail includes a thumbnail of the second picture; in response to the user's click operation on the first thumbnail, the electronic device displays the third page, the third page includes a cropping frame, wherein part or all of the second picture is located in the cropping frame. With this implementation, the electronic device can enter the calendar application from the calendar icon in the home screen page, crop the second picture in the calendar application, and obtain the picture to be recognized. In this way, the user's cropping operation on the second picture can reduce the amount of recognition of the second picture by the electronic device, shorten the recognition time, enable the user to quickly create a schedule, and improve the user experience.
[0011] In one implementation, within the first time period after responding to the user's screenshot operation on at least a portion of the fourth page, if the electronic device receives the user's click operation on the second icon, the electronic device displays the fifth page; within the first time period after responding to the user's screenshot operation on at least a portion of the fourth page, if the electronic device does not receive the user's click operation on the second icon, the electronic device displays the sixth page, and the sixth page includes a new schedule button. In this implementation, if the electronic device receives the user's click operation on the second icon within the first time period, it indicates that the user has a need to create a schedule based on the second picture. Therefore, the electronic device displays the first thumbnail on the fifth page, and the electronic device can display the cropping page in response to the user's click operation on the first thumbnail. Correspondingly, if the electronic device does not receive the user's click operation on the second icon within the first time period, it indicates that the user does not have a need to create a schedule based on the second picture. Therefore, the electronic device does not display the first thumbnail on the sixth page, only displays the new schedule button, and the electronic device can create a new schedule in response to the user's click operation on the new schedule button. In this way, the electronic device can determine the display page according to the user's needs, determine whether the user needs to quickly create a schedule, and improve the user experience.
[0012] In one implementation, the third page also includes a second confirmation button, and the electronic device displays the first page when creating a new first schedule in the calendar application, including: in response to the user's click operation on the second confirmation button, the electronic device crops the portion of the second picture located in the cropping frame to obtain the picture to be identified; the electronic device performs text recognition on the picture to be identified to obtain the target text; the electronic device obtains the first candidate schedule from the target text; the electronic device displays the first page and fills the first candidate schedule into the first schedule setting item. Using this implementation, the electronic device can enter the calendar application from the calendar icon in the main screen page, and crop the second picture in the calendar application to obtain the picture to be identified. In this way, the user's cropping operation on the second picture can reduce the amount of recognition of the second picture by the electronic device, shorten the recognition time, enable the user to quickly create a schedule, and improve the user experience.
[0013] In one implementation, before the electronic device displays the first page when creating a new first schedule in the calendar application, it also includes: in response to the user's copy operation on at least a portion of the text in the seventh page, the electronic device obtains the text to be recognized; in response to the user's second operation on the seventh page, the electronic device displays the home screen page, the home screen page includes a second icon; in response to the user's click operation on the second icon, the electronic device displays the fifth page, the fifth page includes a new schedule button, and a first thumbnail located near the new schedule button, the first thumbnail includes a thumbnail of the text to be recognized. With this implementation, the electronic device can enter the schedule application from the home screen page, display the first candidate schedule in the new schedule page, and can fill the word segmentation result in the first window into the first schedule setting item to create a schedule, so that the user can quickly create a schedule, improving the user experience.
[0014] In one implementation, an electronic device displays a first page when creating a new first schedule in a calendar application, including: in response to a user clicking on a first thumbnail, the electronic device performs text recognition on a to-be-recognized text to obtain a target text; the electronic device obtains a first candidate schedule from the target text; the electronic device displays the first page, and fills the first candidate schedule into a schedule setting item. With this implementation, the electronic device can display the first candidate schedule in the new schedule page, and can fill the word segmentation result in the first window into the first schedule setting item to create a schedule, so that the user can quickly create a schedule, thereby improving the user experience.
[0015] In one implementation, the electronic device displays the first page when creating a new first schedule in a calendar application, including: if the electronic device displays the first page after obtaining a picture to be recognized or text to be recognized, the electronic device displays a second thumbnail in the first control, and the second thumbnail includes a thumbnail of the picture to be recognized or a thumbnail of the text to be recognized; if the electronic device displays the first page without obtaining a picture to be recognized or text to be recognized, the electronic device displays the first control in a preset form. With this implementation, the electronic device can prompt the user that the picture to be recognized or text to be recognized has been obtained by displaying the second thumbnail on the first page, which facilitates the user to create a schedule through the picture to be recognized or text to be recognized, allowing the user to quickly create a schedule and improving the user experience.
[0016] In one implementation, the first window includes a first sub-window and a second sub-window, and in response to a user's click operation on the first control, the electronic device displays the first window on the first page, including: if the target text is the first target text, the electronic device displays the first sub-window in the first window, and displays the third word segmentation result in the first sub-window, wherein the first target text is obtained by the electronic device performing text recognition on the image to be recognized, and the third word segmentation result is the word segmentation result corresponding to the first target text; if the target text is the second target text, the electronic device displays the second sub-window in the first window, and displays the fourth word segmentation result in the second sub-window, wherein the second target text is obtained by the electronic device performing text recognition on the text to be recognized, and the fourth word segmentation result is the word segmentation result corresponding to the second target text. With this implementation, the electronic device can recognize the image to be recognized and the text to be recognized separately, and display different sub-windows for the image to be recognized and the text to be recognized respectively, so that the electronic device provides a variety of ways to create schedules, meets the schedule creation needs in different scenarios, and improves the user experience.
[0017] In one implementation, before the electronic device displays the first page when creating a new first schedule in the calendar application, it also includes: the electronic device displays the home screen page, the home screen page includes the second icon; in response to the user's click operation on the second icon, the electronic device displays the sixth page, the sixth page includes a new schedule button; the electronic device displays the first page when creating a new first schedule in the calendar application, including: in response to the user's click operation on the new schedule button, the electronic device displays the first page. With this implementation, the electronic device can enter the calendar application on the home screen page and create a new schedule in the calendar application. In this scenario, there is no first candidate schedule, and the electronic device can fill the word segmentation result in the first window into the first schedule setting item, so that the user can quickly create a schedule, thereby improving the user experience.
[0018] In one implementation, the first window includes a first sub-window and a second sub-window. In response to a user's click operation on the first control, the electronic device displays the first window on the first page, including: the electronic device displays the first sub-window in the first window, and displays at least one historical image in the first sub-window, and the historical image includes an image saved by the user in the electronic device; or the electronic device displays the second sub-window in the first window, and displays at least one historical text in the second sub-window, and the historical text includes text in the clipboard. With this implementation, the electronic device can select a historical image or a historical text from the first window to obtain an image to be identified or a text to be identified. In this way, the electronic device can obtain a target text from the image to be identified or the text to be identified, and obtain a word segmentation result from the target text, and fill the word segmentation result into the first schedule setting item to create a schedule, so that the user can quickly create a schedule, thereby improving the user experience.
[0019] In one implementation, the target text includes a first target text, the first target text is obtained by the electronic device performing text recognition on the image to be recognized, the word segmentation result includes a third word segmentation result, the third word segmentation result is the word segmentation result corresponding to the first target text, and in response to the user's click operation on the first control, after the electronic device displays the first window on the first page, it also includes: if the electronic device displays the first sub-window in the first window, in response to the user's selection operation of the historical image, the electronic device determines the historical image corresponding to the selection operation as the image to be recognized; the electronic device performs text recognition on the image to be recognized to obtain the first target text; the electronic device performs word segmentation on the first target text to obtain the third word segmentation result; the electronic device displays the third word segmentation result in the first sub-window. With this implementation, the electronic device can recognize the historical image and obtain the third word segmentation result, and fill the third word segmentation result into the first schedule setting item, so that the user can quickly create a schedule, thereby improving the user experience.
[0020] In one implementation, the target text also includes a second target text, the second target text is obtained by the electronic device performing text recognition on the to-be-recognized text, the word segmentation result includes a fourth word segmentation result, the fourth word segmentation result is the word segmentation result corresponding to the second target text, and in response to the user's click operation on the first control, after the electronic device displays the first window on the first page, it also includes: if the electronic device displays the second sub-window in the first window, in response to the user's selection operation of the historical text, the electronic device determines the historical text corresponding to the selection operation as the to-be-recognized text; the electronic device performs text recognition on the to-be-recognized text to obtain the second target text; the electronic device performs word segmentation on the second target text to obtain the fourth word segmentation result; the electronic device displays the fourth word segmentation result in the second sub-window. With this implementation, the electronic device can recognize the historical text to obtain the fourth word segmentation result, and fill the fourth word segmentation result into the first schedule setting item, so that the user can quickly create a schedule, thereby improving the user experience.
[0021] In one implementation, in response to a user's click operation on a first control, after the electronic device displays a first window on a first page, the electronic device further includes: if the electronic device displays a first sub-window in the first window and displays a third word segmentation result in the first sub-window, in response to a user's click operation on a second sub-window, the electronic device displays a second sub-window in the first window and retains the third word segmentation result in the first sub-window; if the electronic device displays a second sub-window in the first window and displays a fourth word segmentation result in the second sub-window, in response to a user's click operation on the first sub-window, the electronic device displays the first sub-window in the first window and retains the fourth word segmentation result in the second sub-window. With this implementation, the electronic device can retain the content in the sub-window during the switching of the sub-window, so that the user can fill in the schedule information according to the word segmentation results corresponding to different target texts, so that the user can quickly create a schedule, thereby improving the user experience.
[0022] In one implementation, the first sub-window includes a first clear button, and the electronic device displays the first sub-window in the first window, and after displaying the third word segmentation result in the first sub-window, further includes: in response to a user clicking the first clear button, the electronic device clears the third word segmentation result; the electronic device displays the first sub-window in the first window, and displays at least one historical picture in the first sub-window, the historical picture including pictures saved by the user in the electronic device. With this implementation, the electronic device can clear the word segmentation results in different sub-windows respectively, and after clearing the third word segmentation result in the first sub-window, the historical picture can be re-selected to obtain a different third word segmentation result, so that the user can quickly create a schedule, thereby improving the user experience.
[0023] In one implementation, the second sub-window includes a second clear button, and after the electronic device displays the second sub-window in the first window and displays the fourth word segmentation result in the second sub-window, the electronic device further includes: in response to a user clicking operation on the second clear button, the electronic device clears the fourth word segmentation result; the electronic device displays the second sub-window in the first window and displays at least one historical text in the second sub-window, the historical text including the text in the clipboard. With this implementation, the electronic device can clear the word segmentation results in different sub-windows respectively, and after clearing the fourth word segmentation result in the second sub-window, the historical text can be re-selected to obtain a different fourth word segmentation result, so that the user can quickly create a schedule, thereby improving the user experience.
[0024] In one implementation, in response to a user's first sliding operation on a word segmentation result in a first direction, the electronic device fills the position after the cursor with the first word segmentation result corresponding to the first sliding operation, and further includes: in response to a user's second sliding operation on the word segmentation result in a second direction, the electronic device deletes the fifth word segmentation result corresponding to the second sliding operation from the first schedule setting item, wherein the second direction is the opposite direction of the first direction. With this implementation, the electronic device can reversely select the word segmentation result through the second sliding operation, and delete the fifth word segmentation result that has been filled in the first schedule setting item. This method is simple and fast, allowing users to quickly modify schedules, thereby improving user experience.
[0025] In a second aspect, the present application provides an electronic device, comprising: a processor and a memory; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the schedule creation method in any implementation of the first aspect.
[0026] In a third aspect, the present application further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the schedule creation method in any implementation of the first aspect.
[0027] In a fourth aspect, the present application further provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute the schedule creation method in any implementation of the first aspect.
[0028] It can be understood that the electronic device of the second aspect, the computer-readable storage medium of the third aspect, and the computer program product of the fourth aspect provided above are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0030] Figure 1A is a schematic diagram of launching a calendar application on an electronic device;
[0031] Figure 1B is a schematic diagram of a calendar page in a calendar application;
[0032] Figure 1C This is the first diagram of the new schedule page in the Calendar application;
[0033] Figure 1D This is the second diagram of the new schedule page in the Calendar application;
[0034] Figure 1E is the third diagram of the new schedule page in the Calendar application;
[0035] Figure 1F This is the first diagram of the new place page in the Calendar application;
[0036] Figure 1G is the second diagram of the New Place page in the Calendar application;
[0037] Figure 1H is the third diagram of the new place page in the Calendar application;
[0038] Figure 2 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0039] Figure 3 is a software structure block diagram of the electronic device provided in the embodiment of the present application;
[0040] Figure 4A This is a schematic diagram of the first page of the gallery provided in the embodiment of the present application;
[0041] Figure 4B This is a schematic diagram of the second page of the gallery provided in the embodiment of the present application;
[0042] Figure 4C This is a schematic diagram of the third page of the gallery provided in the embodiment of the present application;
[0043] Figure 4D This is a schematic diagram of the fourth page of the gallery provided in the embodiment of the present application;
[0044] Figure 4EThis is the first schematic diagram of a clipping page in a calendar application provided in an embodiment of the present application;
[0045] Figure 4F is a second schematic diagram of a clipping page in a calendar application provided in an embodiment of the present application;
[0046] Figure 4G This is the first schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0047] Figure 4H This is a second schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0048] Fig. 4I This is a third schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0049] Figure 4J This is the fourth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application;
[0050] Figure 4K This is the fifth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application;
[0051] Figure 4L This is the sixth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application;
[0052] Figure 4M This is the seventh schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application;
[0053] Figure 4N This is the eighth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application;
[0054] Fig.4O This is the ninth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0055] Figure 4P This is the tenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0056] Figure 5A It is a schematic diagram of the fourth page provided in the embodiment of the present application;
[0057] Figure 5B is a schematic diagram of the home screen page provided in an embodiment of the present application;
[0058] Figure 5C This is a first schematic diagram of a calendar page of a calendar application provided in an embodiment of the present application;
[0059] Figure 5D is a second schematic diagram of a calendar page of a calendar application provided in an embodiment of the present application;
[0060] Fig. 6A This is the first schematic diagram of the seventh page provided in the embodiment of the present application;
[0061] Figure 6B is the second schematic diagram of the seventh page provided in the embodiment of the present application;
[0062] Figure 6C This is the first schematic diagram of the editing page of the calendar application provided in the embodiment of the present application;
[0063] Fig.6D is a second schematic diagram of an editing page of a calendar application provided in an embodiment of the present application;
[0064] Fig. 6E This is the eleventh schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application;
[0065] Fig. 7A This is the twelfth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application;
[0066] Figure 7B This is the thirteenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0067] Figure 7C This is the fourteenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0068] Fig.7D This is the fifteenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0069] Fig. 7E This is the sixteenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0070] Figure 7F This is the seventeenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0071] Figure 7G This is the eighteenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0072] Figure 7H is a schematic diagram of a switching process between a first sub-window and a second sub-window provided in an embodiment of the present application;
[0073] Fig.7I is a schematic diagram of a clearing process of a first sub-window provided in an embodiment of the present application;
[0074] Figure 7J is a schematic diagram of a clearing process of a second sub-window provided in an embodiment of the present application;
[0075] Figure 7K This is the nineteenth schematic diagram of a new schedule page in the calendar application provided in the embodiment of the present application;
[0076] Figure 7L This is the twentieth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application;
[0077] Figure 8 It is a structural diagram of a schedule creation device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] The technical solution of the embodiment of the present application will be clearly described below in conjunction with the drawings in the embodiment of the present application.
[0079] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.
[0080] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0081] The terms used in the implementation method part of this application are only used to explain the specific embodiments of this application, and are not intended to limit this application. The embodiments of this application will be described in detail below in conjunction with the accompanying drawings.
[0082] With the development of terminal technology, different types of system applications or third-party applications can be installed on electronic devices. Users can add schedule information in the calendar application of the system application or the third-party application. In this way, the electronic device can send schedule reminders to the user based on the schedule information.
[0083] Schedule information usually includes information such as title, location, and time, for example: the title is "Psychological Behavior Course", the location is "No. 1 Street", and the time is "8:00". In traditional solutions, after receiving schedule information, users usually need to remember the schedule information and create the schedule through the input method keyboard in the calendar application. In this way, when the schedule information content is large, the user may repeatedly remember the schedule information and input it multiple times through the input method keyboard to create the schedule.
[0084] Figure 1A-1F This is a schematic diagram of a scenario in which a user adds schedule information.
[0085] Figure 1A It is a schematic diagram of launching a calendar application on an electronic device.
[0086] like Figure 1A As shown, the user can click on the calendar icon 1 on the home screen page of the electronic device. In response to the user clicking on the calendar icon 1, the electronic device starts the calendar application.
[0087] Figure 1B is a diagram of a calendar page in the Calendar application.
[0088] like Figure 1B As shown, after the electronic device starts the calendar application, the calendar page is displayed. The calendar page is the first default page displayed after the calendar application is started, usually displaying a calendar or a monthly calendar, and the calendar page includes a new schedule button 2. The user can click the new schedule button 2, and in response to the user clicking the new schedule button 2, the electronic device displays the new schedule page.
[0089] Figure 1C This is the first diagram of the New Event page in the Calendar application.
[0090] Figure 1D is the second diagram of the New Event page in the Calendar application.
[0091] like Figure 1C and Figure 1D As shown, the electronic device displays the input method keyboard by default in the new schedule page. The new schedule page usually includes multiple schedule setting items, for example, the schedule setting items include: title setting item 3, location setting item 4, time setting item 5, reminder setting item 6, account setting item 7 and description setting item 8.
[0092] like Figure 1C As shown, the electronic device displays the input cursor at the initial input position of the title setting item 3 by default, and the user can perform input operations on the title setting item 3 after inputting the cursor. Figure 1CIn the new schedule page shown in FIG. 1 , the input method keyboard covers the reminder setting item 6, the account setting item 7, and the description setting item 8. Therefore, the user can swipe up in the new schedule page. Figure 1D As shown, the electronic device turns off the input method keyboard and displays the reminder setting item 6, the account setting item 7 and the description setting item 8, so that the user can operate any schedule setting item. After the user slides up, the electronic device does not display the input cursor in the schedule setting item.
[0093] Figure 1E is the third diagram of the New Event page in the Calendar application.
[0094] like Figure 1E As shown, the user clicks on any schedule setting item. In response to the user clicking on the schedule setting item, the electronic device displays an input cursor in the schedule setting item clicked by the user, and displays the schedule setting item at a position convenient for the user to operate. For example, the user clicks on the description setting item 8. In response to the user clicking on the description setting item 8, the electronic device displays an input cursor at the initial input position of the description setting item 8, and displays the description setting item 8 above the input method keyboard, so that the user can input the description setting item 8.
[0095] like Figure 1D As shown, if the user clicks on the location setting item 4 in the new schedule page, the electronic device does not display the input cursor at the initial input position of the location setting item 4. In response to the user clicking on the location setting item 4, the electronic device jumps from the new schedule page to the new location page.
[0096] Figure 1F is the first diagram of the new place page in the Calendar application.
[0097] like Figure 1F As shown, the new location page generally includes a location input setting item 9, a current location button 10, and a map point selection button 11. The electronic device displays the input method keyboard by default in the new location page, and displays the input cursor at the initial input position of the location input setting item 9 by default.
[0098] Figure 1G is the second illustration of the New Place page in the Calendar application.
[0099] like Figure 1G As shown, the user can perform input operations on the location input setting item 9 through the input method keyboard. In response to the user's input operation on the location input setting item 9, the electronic device displays the input content in the location input setting item 9, for example, the input content is "No. 1 Street".
[0100] Figure 1His the third illustration of the New Place page in the Calendar application.
[0101] like Figure 1H As shown, the new location page generally includes a return button 12. After the user completes the location input, in response to the user's operation of the return button 12, the electronic device displays the following Figure 1D The new schedule page is shown, and "No. 1 Street" is displayed in the location setting item 4 (not shown in the figure).
[0102] like Figure 1F As shown, the user can also click the current location button 10 in the new location page. In response to the user clicking the current location button 10, the electronic device obtains the current location as "No. 1 Street" and jumps from the new location page back to the new location page. Figure 1D The new schedule page is shown, and "No. 1 Street" is displayed in the location setting item 4. This process is not shown in the drawings, and this application will not be repeated.
[0103] In such Figure 1F As shown, the user can also click the map point selection button 11 in the new location page. In response to the user clicking the map point selection button 11, the electronic device can display the map on the new location page. In response to the user moving the cursor on the map, the electronic device can display the current location as "No. 1 Street" in the location input setting item 9. After the user completes the map point selection, he clicks the return button 12. In response to the user clicking the return button 12, the electronic device displays the following. Figure 1D The new schedule page is shown, and "No. 1 Street" is displayed in the location setting item 4. This process is not shown in the drawings, and this application will not be repeated.
[0104] The above is a scenario in which a user adds schedule information in a traditional solution. In the traditional solution, a user creates a schedule through an input method keyboard, which has a problem of slow creation speed, thereby reducing the user experience.
[0105] In order to solve the above technical problems, an embodiment of the present application provides a schedule creation method.
[0106] The schedule creation method of the embodiment of the present application can be applied to various types of electronic devices that support calendar applications. Among them, electronic devices include but are not limited to mobile phones, tablet computers, personal computers, workstation devices, large-screen devices (such as smart screens, smart TVs, etc.), wearable devices (such as smart bracelets, smart watches), handheld game consoles, home game consoles, virtual reality devices, augmented reality devices, mixed reality devices, etc., in-vehicle smart terminals, etc.
[0107] Figure 2 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application.
[0108] like Figure 2 As shown, the electronic device 100 may include a processor 110, a memory 120A, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 01, an antenna 02, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, a camera 192, a display screen 193, and a subscriber identification module (SIM) card interface 194, etc.
[0109] The sensor module 180 may include a touch sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a geomagnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, etc. The gyroscope sensor 180B, the air pressure sensor 180C, the geomagnetic sensor 180D, the acceleration sensor 180E, etc. may be used to detect the motion state of the electronic device, and therefore, may also be referred to as a motion sensor.
[0110] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0111] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0112] The memory 120A can be used to store computer executable program codes, which include instructions. The memory 120A may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the memory 120A may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the memory 120A, and / or instructions stored in a memory provided in the processor.
[0113] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0114] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0115] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0116] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the memory 120A, the display screen 193, the camera 192, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0117] The wireless communication function of the electronic device 100 can be implemented through the antenna 01, the antenna 02, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0118] Antenna 01 and antenna 02 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 01 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0119] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 01, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 01. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0120] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 193. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0121] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 02, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 02.
[0122] In some embodiments, the antenna 01 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 02 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0123] The electronic device 100 implements the display function through a GPU, a display screen 193, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 193 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0124] The display screen 193 is used to display images, videos, etc. The display screen 193 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 193, where N is a positive integer greater than 1.
[0125] The electronic device 100 can realize the shooting function through ISP, camera 192, video codec, GPU, display screen 193 and application processor.
[0126] The ISP is used to process the data fed back by the camera 192. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 192.
[0127] The camera 192 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, RYYB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 192, where N is a positive integer greater than 1.
[0128] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0129] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0130] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 193, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0131] The SIM card interface 194 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 194 or pulling it out from the SIM card interface 194. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 194 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 194 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 194 can also be compatible with different types of SIM cards. The SIM card interface 194 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0132] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
[0133] Figure 3 It is a software structure block diagram of the electronic device according to an embodiment of the present application.
[0134] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0135] The application layer can include a series of application packages.
[0136] like Figure 3 As shown, the application package may include applications such as battery management, camera, gallery, calendar, call, map, navigation, music, video, short message, etc.
[0137] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0138] like Figure 3 As shown, the application framework layer may include a window manager, an input manager, a sensor manager, a phone manager, a resource manager, a notification manager, and the like.
[0139] The input manager can be used to monitor the user's input events, such as click events and slide events performed by the user's finger on the display screen 193 of the electronic device 100. By monitoring the input events, the electronic device 100 can determine whether the electronic device is being used.
[0140] The sensor manager is used to monitor the data returned by various sensors in the electronic device, such as motion sensor data, proximity light sensor data, temperature sensor data, etc. Using the data returned by each sensor, the electronic device can determine whether it is shaking, or whether the display screen 193 is blocked, etc.
[0141] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0142] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0143] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0144] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0145] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0146] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0147] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0148] A 2D graphics engine is a drawing engine for 2D drawings.
[0149] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0150] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0151] The schedule creation method provided in the embodiment of the present application can be implemented in a calendar application of an electronic device.
[0152] Figure 4A-Figure 4P This is a schematic diagram of the first scenario of the schedule creation method provided in the embodiment of the present application.
[0153] Figure 4A This is a schematic diagram of the first page of the gallery provided in the embodiment of the present application.
[0154] like Figure 4A As shown, in a specific implementation, the electronic device can display at least one picture on the first page of the gallery, and the first page of the gallery includes a selection button 101. In response to the user clicking the selection button 101, the electronic device can display the second page of the gallery.
[0155] Among them, the user's click operation on the selection button 101 can be a click operation of the user through a finger, or a click operation of the user through a stylus pen. The embodiment of the present application does not limit the specific form of the click operation.
[0156] It should be noted that the first page, the second page, etc. of the gallery in the embodiment of the present application only represent the order of the pages in the gallery in the present application, and are not the order of the pages actually displayed in the gallery. The same is true for pages in other applications, and the present application will not elaborate on this.
[0157] Figure 4B This is a schematic diagram of the second page of the gallery provided in the embodiment of the present application.
[0158] like Figure 4B As shown, the second page of the gallery includes a share button 102 and a delete button 103. When the user does not select a picture, the electronic device displays the share button 102 and the delete button 103 in a low-light state, so that the share button 102 and the delete button 103 cannot be selected. In response to the user clicking on at least one picture, the electronic device can determine the at least one picture as the first picture. Among them, the first picture can be a picture including schedule information. In this way, the user sharing the first picture to the calendar application enables the electronic device to quickly create a schedule in the calendar application according to the schedule information in the first picture.
[0159] Figure 4C This is a schematic diagram of the third page of the gallery provided in the embodiment of the present application.
[0160] like Figure 4C As shown, after the user selects the first picture, the electronic device displays the share button 102 and the delete button 103 as highlighted in the third page of the gallery, and displays a selection mark 104 in the lower right corner of the first picture. In response to the user clicking the share button 102, the electronic device can share the first picture.
[0161] Figure 4D This is a schematic diagram of the fourth page of the gallery provided in the embodiment of the present application.
[0162] like Figure 4D As shown, after the user clicks the share button 102, in response to the user clicking the share button 102, the electronic device displays the fourth page of the gallery. The fourth page of the gallery is the share page of the gallery, and the share page includes the first icon 105. In this way, the electronic device can share the first picture to the calendar application corresponding to the first icon 105.
[0163] The sharing operation of the user sharing the first picture to the calendar application includes but is not limited to the operation shown in the above embodiment, and may also be other forms of sharing operations, such as Figure 4A As shown, when the electronic device displays at least one picture on the first page of the gallery, in response to the user's long press operation on the first picture, Figure 4C As shown in FIG. 1 , the electronic device displays the third page of the gallery. In response to the user clicking the share button 102, as shown in FIG. Figure 4DAs shown, the electronic device displays the fourth page of the gallery. In this way, the electronic device omits the step of displaying the second page of the gallery. Therefore, the electronic device provides a variety of sharing methods to meet the user's sharing operation habits, and the embodiment of the present application does not limit the specific form of the sharing operation.
[0164] It should be noted here that the above only takes the sharing process in the gallery as an example. In specific implementation, a sharing process similar to the above embodiment can also be implemented in a chat application or a camera application. The embodiment of the present application does not limit the application that provides the sharing page.
[0165] Figure 4E This is the first schematic diagram of the clipping page in the calendar application provided in the embodiment of the present application.
[0166] like Figure 4E As shown, in one implementation, in response to a user clicking on the first icon 105, the electronic device may display a cropping page. The cropping page may be provided by a calendar application and is used to crop the first image. In this way, the user may use the area of the first image used to create a schedule as the image to be recognized, so as to reduce the text recognition time of the electronic device for the first image and improve the recognition accuracy of the image to be recognized.
[0167] In one implementation, the cropping page includes a cropping frame 106 and a second confirmation button 107. After the user clicks the first icon 105, the electronic device displays the cropping page and displays a partial area of the first image in the cropping frame 106.
[0168] In a specific implementation, in response to the user's click operation on the first icon 105, the electronic device identifies the first picture, determines a partial area of the first picture containing schedule information, highlights the partial area of the first picture in the cropping frame 106, and displays other areas in low light outside the cropping frame 106. In this way, the user can quickly determine the area to be cropped containing schedule information in the first picture, thereby improving the speed of creating a schedule.
[0169] Figure 4F This is a second schematic diagram of a cropped page in a calendar application provided in an embodiment of the present application.
[0170] like Figure 4F As shown, in one implementation, after the user clicks the first icon 105 , the electronic device displays a cropping page and displays the entire area of the first image in a cropping frame 106 .
[0171] In a specific implementation, in response to the user clicking the first icon 105, the electronic device highlights the entire area of the first picture in the cropping frame 106. In this way, the user can manually adjust the cropping area, and the electronic device can obtain a picture to be identified that meets the user's needs.
[0172] It should be noted here that, with respect to the manner in which the electronic device displays a partial area of the first image within the cropping frame 106, or the manner in which the electronic device displays the entire area of the first image within the cropping frame 106, these two display modes of the cropping frame 106 can be set according to user habits, and the embodiment of the present application does not limit the display mode of the cropping frame 106.
[0173] In the above two display modes of the cropping frame 106 , the area within the cropping frame 106 may include a plurality of schedule information, resulting in that the electronic device may not be able to accurately identify the required schedule information.
[0174] In one implementation, in response to the user's adjustment operation on the cropping frame 106, the electronic device adjusts the framed area of the cropping frame 106 (not shown in the drawings). In this way, the electronic device can obtain a picture to be identified that meets the user's needs.
[0175] In a specific implementation, the user can adjust the selected area of the cropping frame 106 by sliding with one finger, or by sliding with two fingers. The embodiment of the present application does not limit the specific form of the adjustment operation.
[0176] For example, there are two schedule information in the first picture, and the schedule information that the user actually needs to obtain is the second schedule information. When the cropping box 106 is selected to the first schedule information by default, the user can adjust the cropping box 106 to the partial area where the second schedule information is located. When the cropping box 106 is selected to the entire area by default, since the cropping box 106 selects two schedule information, the user can adjust the cropping box 106 to the partial area where the second schedule information is located.
[0177] If the schedule information selected by the cropping frame 106 by default is correct, or there is no conflict in schedule information when the cropping frame 106 selects the entire area, the user may not perform any adjustment operation.
[0178] like Figure 4E and Figure 4F As shown, in one implementation, in response to the user clicking the second confirmation button 107, the electronic device crops the portion of the first image within the cropping frame 106 to obtain the image to be identified.
[0179] like Figure 4DAs shown, in one implementation, the calendar application may not set a cropping page. After the user clicks the first icon 105, the electronic device determines the first picture selected by the user as the picture to be identified.
[0180] In this way, Figure 4D As shown, the electronic device can obtain the image to be identified after the user clicks the first icon 105, or, as shown in Figure 4E and Figure 4F As shown, the electronic device can obtain the picture to be identified after the user clicks the second confirmation button 107 .
[0181] In one implementation, the electronic device performs text recognition on the image to be recognized to obtain the target text. For example, the image to be recognized includes schedule information such as "Hello everyone, the psychological behavior course will be held at the lecture hall on No. 1 Street at 8 am on May 3rd. Parents are welcome to bring their children to participate." This schedule information is displayed in the image, so the electronic device needs to perform text recognition on the schedule information to obtain the text corresponding to the text in the image.
[0182] In one implementation, the electronic device obtains the first candidate schedule from the target text. For example, the target text obtained by the electronic device includes: "Hello everyone, the psychological behavior course will be held at the lecture hall on No. 1 Street at 8 am on May 3, and parents are welcome to bring their children to participate." The first candidate schedule obtained by the electronic device from the target text may include "Psychological Behavior Course" as the title, "No. 1 Street" as the location, and "May 3 at 8 am" as the time.
[0183] In one implementation, the electronic device displays the first page when creating a new first schedule in the calendar application, and fills the first candidate schedule in the schedule setting item. The first page may be a new schedule page.
[0184] Figure 4G This is the first schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application.
[0185] like Figure 4G As shown, the new schedule page may include multiple schedule setting items, and the schedule setting items are used to set schedule information. For example, the schedule setting items include a title setting item 108, a location setting item 109, a time setting item 110, a reminder setting item 111, an account setting item 112, and a description setting item 113. The embodiments of the present application include but are not limited to the schedule setting items shown. In actual applications, more schedule setting items can be set according to user needs, and the specific setting methods of each schedule setting item can refer to each other. Among them, the location setting item 109 also includes a location control 1091. In response to the user clicking the location control 1091, the electronic device can jump from the new schedule page to the following. Figure 1F The New Location page is shown.
[0186] In one implementation, the new schedule page may further include a cursor 114. The electronic device displays the first candidate schedule in the schedule setting item, and displays the cursor 114 after the first candidate schedule in the first schedule setting item.
[0187] For example, the electronic device fills "psychological behavior course" into the title setting item 108, fills "No. 1 Street" into the location setting item 109, fills "May 3rd at 8:00 am" into the time setting item 110, and displays a cursor 114 after "psychological behavior course" in the title setting item 108. The first candidate schedule can be the electronic device configured as follows: Figure 4E or Figure 4F In the process of jumping from the cropping page shown in the figure to the new schedule page, the schedule setting items may be filled in, or the electronic device may be configured as follows: Figure 4D The sharing page shown jumps to the new schedule page and fills in the schedule setting items.
[0188] In one implementation, the new schedule page may further include a first confirmation button 115. If the first candidate schedule filled in the schedule setting item by the electronic device meets the user's requirements for creating a schedule, the user may click the first confirmation button 115. In response to the user's click operation on the first confirmation button 115, the electronic device may create the first schedule. If the electronic device needs to add or modify the first candidate schedule, the following steps may be performed.
[0189] In one implementation, in response to the user clicking the cursor 114, the electronic device displays an input method keyboard. In this way, the embodiment of the present application supports adding or modifying the first candidate schedule through the input method keyboard, and also supports adding or modifying the first candidate schedule through the method shown in the following embodiment, providing users with multiple operation modes, which can improve the user experience.
[0190] like Figure 4G As shown, the new schedule page may further include a first control 116, and the first control 116 may be a smart creation label (Table, Tab) entry. The present application does not limit the specific naming and specific display form of the first control 116.
[0191] Figure 4H This is the second schematic diagram of the new schedule page in the calendar application provided in the embodiment of the present application.
[0192] like Figure 4HAs shown, in one implementation, in response to a user's click operation on the first control 116, the electronic device displays a first window on the first page, and the first window covers part of the content of the first page. Among them, the first window includes the word segmentation result of the target text, and the target text is obtained by the electronic device performing text recognition on the image to be recognized and / or the text to be recognized. The first window can be a smart creation window. The first window includes a first sub-window 117 and a second sub-window 118. The first sub-window 117 can be a picture recognition sub-tab, which is used to display the word segmentation result obtained by the electronic device recognizing the image to be recognized. The second sub-window 118 can be a clipboard sub-tab, which is used to display the word segmentation result obtained by the electronic device recognizing the text to be recognized.
[0193] In one implementation, in response to a user clicking operation on the first control 116, the electronic device displays the first window, displays the first sub-window 117 in the first window, and displays the third word segmentation result in the first sub-window 117. The third word segmentation result is a word segmentation result corresponding to the first target text. The first target text is obtained by the electronic device performing text recognition on the image to be recognized.
[0194] For example, the first target text includes: "Hello everyone, the psychology and behavior course will be held in the lecture hall on No. 1 Street at 8 a.m. on May 3. Parents are welcome to bring their children to participate." The electronic device performs word segmentation on the first target text, and the third word segmentation results include: "big", "home", "good", ",","heart", "reason", "behavior", "for", "course", "program", "on", "May 30", "morning", "8", "point", "at", "No. 1", "street", "of", "big", "lecture", "hall", "hold", "organize", "," welcome", "welcome", "home", "head", "lead", "child", "son", "participate", "join", "."
[0195] Among them, the electronic device can segment single characters or words of the first target text, and the embodiment of the present application does not limit the specific segmentation method of the electronic device.
[0196] It should be noted here that when the electronic device displays the third word segmentation result in the first sub-window 117 , the electronic device may highlight the image recognition button in the first sub-window 117 and low-light the clipboard button in the second sub-window 118 .
[0197] Fig. 4I This is the third schematic diagram of the new schedule page in the calendar application provided in the embodiment of the present application.
[0198] like Fig. 4IAs shown, in one implementation, in response to the user's operation of moving the cursor 114 , the electronic device moves the cursor 114 to before or after any character of the first candidate schedule to determine the filling position of the word segmentation result.
[0199] Among them, when the first candidate schedule is included in the schedule setting item, if the user needs to add or modify the first candidate schedule, the user first needs to determine the location of the new or modified location, and move the cursor 114 to the location. For example, the user wants to add the three characters "lecture hall" in the location setting item 109 so that the electronic device can create a specific location. Since the electronic device displays the cursor 114 after the "psychological behavior course" by default, the user needs to click the position after the "street" character in the location setting item 109, and the electronic device moves the cursor 114 to after "No. 1 Street". In this way, the user can further fill in the word segmentation results in the position after the "street" character. In the specific implementation, the user can perform the following steps.
[0200] Figure 4J This is the fourth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application.
[0201] like Figure 4J As shown, in one implementation, in response to a first sliding operation of a user on a word segmentation result in a first direction, the electronic device fills the first word segmentation result corresponding to the first sliding operation to a position after the cursor 114 .
[0202] In one implementation, the electronic device can fill the first word segmentation result into the schedule setting item during the first sliding operation. For example, when the first direction is the user's right sliding direction, the user can perform a sliding operation in the right sliding direction of the word segmentation result. For example, after the electronic device moves the cursor 114 to "No. 1 Street", the user slides on the three word segmentation results of "big", "talk", and "hall". When the first sliding operation slides to the "big" character, the electronic device fills the "big" character into the schedule setting item. When the first sliding operation slides to the "talk" character, the electronic device fills the "talk" character into the schedule setting item. When the first sliding operation slides to the "hall" character, the electronic device fills the "hall" character into the schedule setting item. When the first sliding operation slides to the "hall" character, the electronic device fills the "hall" character into the schedule setting item.
[0203] In this way, during the first sliding operation, the electronic device fills "Grand Lecture Hall" into "No. 1 Street" in the location setting item 109 in sequence according to the sliding direction, and generates "No. 1 Street Lecture Hall".
[0204] In one implementation, after the first sliding operation ends, the electronic device can fill the first word segmentation result into the schedule setting item. For example, when the first direction is the right sliding direction of the user, the user can perform a sliding operation in the right sliding direction of the word segmentation result. For example, after the electronic device moves the cursor 114 to "First Street", the user slides on the three word segmentation results of "big", "lecture", and "hall". The electronic device displays the sliding path on the three word segmentation results of "big", "lecture", and "hall". After the user's finger leaves the screen, the first sliding operation ends. The electronic device fills "big lecture hall" on the sliding path after "First Street" in the location setting item 109, and generates "First Street Big Lecture Hall".
[0205] It should be noted here that the embodiment of the present application does not limit the first direction. The first direction can be the right sliding direction of the user or the left sliding direction of the user.
[0206] Among them, the word segmentation results are arranged in sequence from left to right by default in the first window. Therefore, the word segmentation results selected by the user in the right sliding direction are usually results that conform to the word order. If the user selects word segmentation results in the left sliding direction, the following implementation can be adopted.
[0207] In one implementation, when the first direction is the left sliding direction of the user, the user can perform a sliding operation in the right sliding direction of the word segmentation result. For example, after the electronic device moves the cursor 114 to "First Street", the user slides on the three word segmentation results of "hall", "lecture", and "big". When the first sliding operation slides to the character "hall", the electronic device fills the character "hall" into the schedule setting item. When the first sliding operation slides to the character "lecture", the electronic device fills the character "lecture" into the schedule setting item. When the first sliding operation slides to the character "big", the electronic device fills the character "big" into the schedule setting item.
[0208] In this way, during the first sliding operation, the electronic device sequentially fills "hall lecture big" after "First Street" in the location setting item 109, and generates "First Street Hall Lecture Big".
[0209] In one implementation, when the first direction is the left sliding direction of the user, the user can perform a sliding operation in the left sliding direction of the word segmentation result. For example, after the electronic device moves the cursor 114 to "First Street", the user slides on the three word segmentation results of "hall", "lecture", and "big". The electronic device displays the sliding path on the three word segmentation results of "hall", "lecture", and "big". After the user's finger leaves the screen, the first sliding operation ends. The electronic device fills "hall lecture big" on the sliding path after "First Street" in the location setting item 109, and generates "First Street Hall Lecture Big".
[0210] In one implementation, since the first word segmentation result selected by the user in the left swipe direction may be a result that does not conform to the word order, when the electronic device recognizes that the user is performing a left swipe operation, it can correct the word order of the word segmentation results on the sliding path. For example, the user swipes on the three word segmentation results of "hall", "lecture", and "big". The electronic device displays the sliding path on the three word segmentation results of "hall", "lecture", and "big". After the user's finger leaves the screen, the first sliding operation ends. The electronic device recognizes "halllecturebig" on the sliding path, corrects the word order, corrects "halllecturebig" to "big lecture hall", and fills "big lecture hall" after "First Street" in the location setting item 109 to generate "First Street Big Lecture Hall".
[0211] Figure 4K It is the fifth schematic diagram of the new schedule page in the calendar application provided by the embodiments of the present application.
[0212] As Figure 4K shown, when the user performs the first sliding operation, there may be misoperations, resulting in the situation of filling the useless fifth word segmentation result. For example, the word segmentation result that the user wants to fill is "big lecture hall", but the actually filled word segmentation result is "big lecture hall held". The two characters "held" are the useless fifth word segmentation result. Based on this, the electronic device can perform the following operations to delete the useless fifth word segmentation result.
[0213] Figure 4L It is the sixth schematic diagram of the new schedule page in the calendar application provided by the embodiments of the present application.
[0214] As Figure 4L shown, in one implementation, in response to the user's second sliding operation on the word segmentation results in the second direction, the electronic device deletes the fifth word segmentation result corresponding to the second sliding operation from the schedule setting item, where the second direction is the opposite direction of the first direction.
[0215] For example, the second direction is the user's left swipe direction. After the user performs the above first sliding operation, the finger does not leave the screen and changes the sliding direction to perform the second sliding operation. In this way, the selected path of the first sliding operation can cancel the selected path of the second sliding operation, and the electronic device can delete the fifth word segmentation result corresponding to the second sliding operation from the schedule setting item. For example, the selected path of the first sliding operation includes word segmentation results such as "big lecture hall held", and the selected path of the second sliding operation includes "held". The electronic device can delete "held" from the schedule setting item and only retain "big lecture hall" in the schedule setting item.
[0216] Figure 4M It is the eighth schematic diagram of the new schedule page in the calendar application provided by the embodiments of the present application.
[0217] As Figure 4M shown, in one implementation, in response to a user's drag operation on the word segmentation result, the electronic device fills the second word segmentation result corresponding to the drag operation into the schedule setting item.
[0218] In one implementation, the user clicks on any character in the word segmentation result, long-presses the character, and then drags it to the schedule setting item. For example, the user clicks on the character "大", long-presses the character "大", and drags it to the position after the cursor of the location setting item 109.
[0219] Among them, in the setting items with cursors such as the title setting item 108 and the location setting item 109, the user can fill the schedule setting item either by a sliding operation or by a drag operation. The embodiments of the present application do not limit this.
[0220] In one implementation, in response to the user's drag operation, the electronic device changes the position of the cursor 114 according to the user's drag operation. For example, the electronic device displays "First Street" in the location setting item 109 and displays the cursor 114 after the character "街". The user needs to fill the character "大" between the characters "号" and "街". When the user clicks on the character "大", long-presses the character "大", and drags it near the characters "号" and "街", before the user's finger leaves the screen, the electronic device changes the position of the cursor 114 from after the character "街" to after the character "号". After the user's finger leaves the screen, the electronic device fills the character "大" between the characters "号" and "街" and displays the cursor 114 after the character "大". In this way, during the user's drag operation, the user does not need to consider the position of the cursor 114, and can drag the second word segmentation result to any position in the schedule setting item. The cursor 114 will change its position along with the user's drag operation, meeting the user's input requirements.
[0221] It should be noted here that different schedule setting items have different setting methods. Some schedule setting items can be edited through the cursor 114, such as the title setting item 108, the location setting item 109, etc. Some schedule setting items cannot be edited, such as the time setting item 110.
[0222] Figure 4N is the ninth schematic diagram of the new schedule page in the calendar application provided by the embodiments of the present application.
[0223] As Figure 4N shown, for the schedule setting items that cannot be edited, such as the time setting item 110, the user can usually only perform a drag operation.
[0224] In one implementation, the word segmentation results used to represent the date in the word segmentation results may not be split. For example, "May 30" is displayed in the first window as a word segmentation result. If the correct date is not displayed in the time setting item 110, for example, the time setting item 110 does not recognize the first candidate schedule and only displays the default date "January 1", the user clicks "May 30", long presses the word segmentation result, and drags it to the time setting item 110. In this way, the time setting item 110 can be changed from "January 1" to "May 30".
[0225] like Figure 4N As shown, in one implementation, in response to a user's drag operation on a word segmentation result, the electronic device may display a first identifier 119 near the second word segmentation result when the second word segmentation result corresponding to the drag operation is located in the first drag area, to prompt the user that the first drag area can be used to fill in the second word segmentation result. For example, the first drag area is an area corresponding to the title setting item 108, the location setting item 109, or the time setting item 110. The first identifier 119 can be set to an identifier with a plus sign or a green identifier, indicating that the second word segmentation result can be filled in the first drag area. The embodiment of the present application does not limit the specific form of the first identifier 119. During the user's drag operation, when the finger does not leave the screen, the electronic device displays the first identifier 119 in the first drag area. When the user's finger leaves the screen, the drag operation ends, and the electronic device stops displaying the first identifier 119.
[0226] like Figure 4N As shown, in one implementation, in response to a user's dragging operation on a word segmentation result, the electronic device may display a second identifier 120 near the second word segmentation result when the second word segmentation result corresponding to the dragging operation is located in the second dragging area, to prompt the user that the second dragging area cannot be used to fill the second word segmentation result. For example, the second dragging area is a blank area of the new schedule page. The second identifier 120 can be set to an identifier with a minus sign or a red identifier, indicating that the second word segmentation result cannot be filled in the second dragging area. The embodiment of the present application does not limit the specific form of the second identifier 120. During the user's dragging operation, when the finger does not leave the screen, the electronic device displays the second identifier 120 in the second dragging area. When the user's finger leaves the screen, the dragging operation ends, and the electronic device stops displaying the second identifier 120.
[0227] In one implementation, the first window also includes keys such as a delete key, an enter key, and a space key for users to perform basic input operations. The embodiment of the present application can make specific settings for the first window according to actual conditions.
[0228] In one implementation, if the user does not want to use the method of filling the word segmentation results into the schedule setting items, the user can also use the input method keyboard to perform input operations.
[0229] Fig.4O This is the ninth schematic diagram of the new schedule page in the calendar application provided in the embodiment of the present application.
[0230] like Fig.4O As shown, the electronic device displays the first candidate schedule in the schedule setting item and displays the cursor 114 after the first candidate schedule of the first schedule setting item. In response to the user clicking the cursor 114, the electronic device displays the input method keyboard on the first page and displays the first control 116 near the input method keyboard.
[0231] Figure 4P This is the tenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application.
[0232] like Figure 4P As shown, in one implementation, after the electronic device displays an input method keyboard on a first page and displays a first control 116 near the input method keyboard, in response to a user clicking operation on the first control 116, the electronic device closes the input method keyboard and displays the first window.
[0233] If the electronic device displays the first window, the input method keyboard cannot be displayed. The first window and the input method keyboard cannot exist at the same time. If the electronic device needs to display the input method keyboard, it needs to close the first window in response to the user clicking the first close button 121 in the first window. In this way, the user clicks the cursor 114 in the schedule setting item, such as Fig.4O As shown, the electronic device can display an input method keyboard.
[0234] In this way, after the electronic device enters the calendar application from the sharing page, it can display the first candidate schedule on the first page and fill the word segmentation result in the first window into the schedule setting item to add or modify the first candidate schedule, thereby quickly creating a schedule.
[0235] Figure 5A-5D This is a schematic diagram of a second scenario of the schedule creation method provided in an embodiment of the present application.
[0236] Figure 5A This is a schematic diagram of a page to be identified provided in an embodiment of the present application.
[0237] like Figure 5AAs shown, in one implementation, in response to a user's screenshot operation of at least a portion of the page to be identified, the electronic device obtains a second picture. The page to be identified may be a page with schedule information in any application. For example, the page to be identified may be a page in a chat application, and the page to be identified includes schedule information such as "The completion status of the homework needs to be sent to me before 5 pm on May 1.", "Hello everyone, the psychological behavior course will be held in the lecture hall on No. 1 Street at 8 am on May 3. Parents are welcome to bring their children to participate." In this way, the user can obtain a second picture by taking a screenshot of part or all of the area of the page to be identified. The screenshot operation may be, for example, a three-finger screenshot, a knuckle screenshot, or at least one screenshot method of clicking a screenshot button. The specific operation method of the screenshot operation is not limited in the embodiment of the present application.
[0238] Figure 5B This is a schematic diagram of the home screen page provided in an embodiment of the present application.
[0239] like Figure 5B As shown, in one implementation, in response to a user's swiping operation on a page to be identified, the electronic device displays a home screen page. The home screen page includes a second icon 122, and the second icon 122 can be a calendar icon. Thus, after the user clicks the calendar icon, the electronic device can display a page in a calendar application corresponding to the calendar icon, so that the second picture is shared to the calendar application.
[0240] Among them, the user can also click the Home button to make the electronic device display the home screen page. The embodiment of the present application does not limit the specific operation method of the electronic device displaying the home screen page.
[0241] Figure 5C This is the first schematic diagram of the calendar page of the calendar application provided in the embodiment of the present application.
[0242] like Figure 5C As shown, in one implementation, in response to a user clicking operation on the second icon 122 , the electronic device displays a calendar page in a calendar application.
[0243] In one implementation, within a first time period after the user takes a screenshot of at least a portion of the page to be identified, if the electronic device receives a click operation of the user on the second icon 122, the electronic device displays a calendar page, and displays a new schedule button 123 and a first thumbnail 124 located near the new schedule button 123 on the calendar page. For example, the first time period may be 10 minutes. The first thumbnail 124 includes a thumbnail of the second picture.
[0244] In one implementation, in response to a user's screenshot operation of at least a portion of the page to be identified, the electronic device identifies the second image and determines whether the second image includes schedule information. If the second image includes schedule information, in response to the user's click operation on the second icon 122, the electronic device displays a calendar page in the calendar application, and displays a new schedule button 123 and a first thumbnail 124 located near the new schedule button 123 on the calendar page.
[0245] Figure 5D This is a second schematic diagram of a calendar page of a calendar application provided in an embodiment of the present application.
[0246] like Figure 5D As shown, in one implementation, within a first period of time after responding to a user's screenshot operation on at least a portion of a page to be identified, if the electronic device does not receive a click operation on the second icon 122 by the user, the electronic device displays a calendar page and displays a new schedule button 123 in the calendar page.
[0247] In one implementation, in response to a user's screenshot operation of at least a portion of the page to be identified, the electronic device identifies the second image and determines whether the second image includes schedule information. If the second image does not include schedule information, in response to the user's click operation on the second icon 122, the electronic device displays a calendar page in the calendar application and displays a new schedule button 123 in the calendar page.
[0248] In this way, if the user clicks the second icon 122 within the first time period after the screenshot operation, the user may have a need to create a schedule based on the second picture, so the first thumbnail is displayed in the calendar page. If the user does not click the second icon 122 within the first time period after the screenshot operation, the user may not need to create a schedule based on the second picture, so the first thumbnail is not displayed in the calendar page. Based on the user's needs, the electronic device displays the corresponding page.
[0249] Furthermore, if the electronic device recognizes that the second picture includes schedule information after the user takes a screenshot, the user may need to create a schedule based on the second picture, so the first thumbnail is displayed on the calendar page. If the electronic device does not recognize that the second picture includes schedule information, the user cannot create a schedule based on the second picture, so the first thumbnail is not displayed on the calendar page. Based on the user's needs, the electronic device displays the corresponding page. Figure 4E or Figure 4FAs shown, in one implementation, a calendar page includes a new schedule button 123 and a first thumbnail 124 located near the new schedule button 123. In response to a user clicking the first thumbnail 124, the electronic device displays a cropping page, which includes a cropping frame 106 and a second confirmation button 107. Part or all of the second image is located within the cropping frame 106.
[0250] In one implementation, in response to the user clicking the first confirmation button 115 , the electronic device crops the portion of the second image within the cropping frame 106 to obtain the image to be identified.
[0251] like Figure 5A As shown, in one implementation, the calendar application may not set a crop page, and the electronic device determines the second image obtained by the user's screenshot operation as the image to be identified. In one implementation, the electronic device performs text recognition on the image to be identified to obtain a target text. The electronic device obtains the first candidate schedule from the target text.
[0252] like Figure 4G As shown, the electronic device displays the first page when creating a new first schedule in the calendar application, and fills the first candidate schedule in the schedule setting item.
[0253] In this embodiment, after the electronic device determines the image to be recognized, the remaining operations can refer to the above embodiments. Figure 4G-Figure 4P The schedule creation process involved.
[0254] In this way, after the screenshot operation, the electronic device can enter the calendar application from the main screen page and enter the first page from the first thumbnail 124 of the page to be identified, display the first candidate schedule on the first page, and fill the word segmentation results in the first window into the schedule setting item to add or modify the first candidate schedule, thereby quickly creating a schedule.
[0255] Figure 6A-6B This is a schematic diagram of the third scenario of the schedule creation method provided in the embodiment of the present application.
[0256] Fig. 6A This is the first schematic diagram of a page to be identified provided in an embodiment of the present application.
[0257] like Fig. 6AAs shown, in one implementation, in response to a user's copy operation of at least a portion of the text in the page to be identified, the electronic device obtains the text to be identified. For example, the page to be identified includes: "The completion status of the homework needs to be sent to me before 5 pm on May 1st.", "Hello everyone, the psychological behavior course will be held at the lecture hall on No. 1 Street at 8 am on May 3rd. Parents are welcome to bring their children to participate." and other schedule information. In this way, the user can obtain the text to be identified by copying at least a portion of the text in the page to be identified. For example, the text to be identified is "Hello everyone, the psychological behavior course will be held at the lecture hall on No. 1 Street at 8 am on May 3rd. Parents are welcome to bring their children to participate." The user's copy operation may include long pressing the text to be identified, and the electronic device displays a copy button 125 near the text to be identified, and the user clicks the copy button 125 to copy the text to the clipboard. The embodiment of the present application does not limit the specific operation method of the copy operation.
[0258] Figure 6B This is the second schematic diagram of the page to be identified provided in the embodiment of the present application.
[0259] like Figure 6B As shown, in one implementation, in response to a user swiping up on a page to be identified, the electronic device displays a home screen page.
[0260] Among them, the user can also click the Home button to make the electronic device display the home screen page. The embodiment of the present application does not limit the specific operation method of the electronic device displaying the home screen page.
[0261] like Figure 5B As shown, in one implementation, the home screen page includes a second icon 122, and the second icon 122 may be a calendar icon. In response to a user clicking operation on the second icon 122, the electronic device displays a calendar page in a calendar application.
[0262] In this way, after the user clicks on the calendar icon, the electronic device can display the page in the calendar application corresponding to the calendar icon, so that the text to be recognized is shared with the calendar application.
[0263] like Figure 5C As shown, in one implementation, within a first time period after responding to a user's copy operation on at least a portion of the text in the page to be recognized, if the electronic device receives a user's click operation on the second icon 122, the electronic device displays a calendar page, and displays a new schedule button 123 and a first thumbnail 124 located near the new schedule button 123 in the calendar page. The first thumbnail 124 can be a thumbnail of a picture formed by filling the text to be recognized on a blank background.
[0264] In one implementation, in response to a user copying operation on at least a portion of the text in the page to be recognized, the electronic device recognizes the text to be recognized and determines whether the text to be recognized includes schedule information. If the text to be recognized includes schedule information, in response to a user clicking operation on the second icon 122, the electronic device displays a calendar page in the calendar application, and displays a new schedule button 123 and a first thumbnail 124 located near the new schedule button 123 in the calendar page.
[0265] like Figure 5D As shown, in one implementation, within a first period of time after responding to a user's copy operation on at least a portion of text in a page to be identified, if the electronic device does not receive a click operation on the second icon 122 by the user, the electronic device displays a calendar page and displays a new schedule button 123 in the calendar page.
[0266] In one implementation, in response to a user copying operation on at least a portion of the text in the page to be recognized, the electronic device recognizes the text to be recognized and determines whether the text to be recognized includes schedule information. If the text to be recognized does not include schedule information, in response to a user clicking operation on the second icon 122, the electronic device displays a calendar page in the calendar application and displays a new schedule button 123 in the calendar page.
[0267] Thus, if the user clicks the second icon 122 within the first time period after the copy operation, the user may have a need to create a schedule based on the text to be recognized, so the first thumbnail is displayed in the calendar page; if the user does not click the second icon 122 within the first time period after the copy operation, the user may not need to create a schedule based on the text to be recognized, so the first thumbnail is not displayed in the calendar page. Based on the user's needs, the electronic device displays the corresponding page.
[0268] Furthermore, if the electronic device recognizes that the text to be recognized includes schedule information after the user performs the copy operation, the user may have a need to create a schedule based on the text to be recognized, so the first thumbnail is displayed in the calendar page; if the electronic device does not recognize that the text to be recognized includes schedule information, the user cannot create a schedule based on the text to be recognized, so the first thumbnail is not displayed in the calendar page. Based on the user's needs, the electronic device displays the corresponding page.
[0269] like Figure 5C As shown, in one implementation, in response to a user clicking operation on the first thumbnail 124, the electronic device performs text recognition on the text to be recognized to obtain a target text. The electronic device obtains the first candidate schedule from the target text.
[0270] like Figure 4GAs shown, the electronic device displays the first page when creating a new first schedule in the calendar application, and fills the first candidate schedule in the schedule setting item.
[0271] It should be noted here that the electronic device may have different recognition methods for the image to be recognized and the text to be recognized, but the processing process for the target text is the same.
[0272] like Figure 5C As shown, in one implementation, in response to a user clicking operation on the first thumbnail 124, the electronic device displays an editing page. The editing page is provided by the calendar application and is used to edit the text to be recognized.
[0273] Figure 6C This is the first schematic diagram of the editing page of the calendar application provided in the embodiment of the present application.
[0274] like Figure 6C As shown, the editing page includes a third confirmation button 126 and the text to be recognized in an editable state. After the user clicks the first thumbnail 124, the electronic device simply edits the text to be recognized to delete useless schedule information, reduce the recognition time of the text to be recognized, and improve the recognition accuracy of the text to be recognized.
[0275] In one implementation, in response to a user's editing operation on the text to be recognized, the electronic device edits the text to be recognized to obtain the edited text to be recognized.
[0276] Fig.6D This is a second schematic diagram of the editing page of the calendar application provided in an embodiment of the present application.
[0277] like Fig.6D As shown in the example, the text to be recognized includes: "Hello everyone, the psychology and behavior course will be held at the lecture hall on No. 1 Street at 8 am on May 3rd. Parents are welcome to bring their children to participate." The user edits the text to be recognized, such as deleting some useless schedule information, and the edited text to be recognized is: "The psychology and behavior course will be held at the lecture hall on No. 1 Street at 8 am on May 3rd." In this way, the electronic device can recognize the text to be recognized with fewer characters, reducing the recognition time.
[0278] In one implementation, in response to the user clicking the third confirmation button 126, the electronic device performs text recognition on the edited text to be recognized to obtain the target text. The electronic device obtains the first candidate schedule from the target text.
[0279] like Figure 4G As shown, the electronic device displays the first page when creating a new first schedule in the calendar application, and fills the first candidate schedule in the schedule setting item.
[0280] Fig. 6E This is the eleventh schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application.
[0281] like Fig. 6E In one implementation, in response to a user clicking operation on the first control 116, the electronic device displays the first window, displays the second sub-window 118 in the first window, and displays the fourth word segmentation result in the second sub-window 118. The fourth word segmentation result is a word segmentation result corresponding to the second target text, and the second target text is obtained by the electronic device performing text recognition on the text to be recognized.
[0282] When the electronic device displays the fourth word segmentation result in the second sub-window 118 , the electronic device highlights the clipboard button in the second sub-window 118 and displays the image recognition button in the first sub-window 117 in a low light.
[0283] It should be noted here that if the electronic device displays the first window after the sharing operation or the screenshot operation, the electronic device displays the first sub-window 118 by default in the first window, and if the electronic device displays the first window after the copy operation, the electronic device displays the second sub-window 118 by default in the first window. In this embodiment, the first sub-window 117 and the second sub-window 118 can be switched with each other. When the electronic device displays the first window after the sharing operation or the screenshot operation, and the first sub-window 117 is displayed by default in the first window, if the user switches the first sub-window 117 to the second sub-window 118 in response to the user's switching operation, the historical text is displayed in the second sub-window 118 (the following embodiment is specifically described). When the electronic device displays the first window after the copy operation, and the second sub-window 118 is displayed by default in the first window, if the user switches the second sub-window 118 to the first sub-window 117 in response to the user's switching operation, the historical picture is displayed in the first sub-window 117 (the following embodiment is specifically described).
[0284] In this embodiment, after the electronic device displays the second sub-window 118, the remaining operations can refer to the above embodiment. Figure 4H-4P The schedule creation process involved.
[0285] In this way, after the copy operation, the electronic device can enter the calendar application from the main screen page and enter the first page from the first thumbnail 124 of the page to be identified, display the first candidate schedule on the first page, and fill the word segmentation results in the first window into the schedule setting item to add or modify the first candidate schedule, thereby quickly creating a schedule.
[0286] like Figure 4GAs shown, in one implementation, if the electronic device displays the first page after obtaining the image to be recognized or the text to be recognized, the electronic device displays the second thumbnail in the first control 116, and the second thumbnail includes a thumbnail of the image to be recognized or a thumbnail of the text to be recognized. In this way, the electronic device can prompt the user to use the first window to add or modify the first candidate schedule.
[0287] In the above embodiments, the user enters the calendar application to create a schedule after obtaining the image or text to be recognized. In other embodiments, the user can also directly enter the calendar application to create a schedule based on the historical images or historical texts of the electronic device.
[0288] Figure 7A-7L This is a schematic diagram of the fourth scenario of the schedule creation method provided in the embodiment of the present application.
[0289] like Figure 5B As shown, the electronic device displays a home screen page, and displays the second icon 122 in the home screen page.
[0290] like Figure 5D As shown, in response to the user clicking the second icon 122 , the electronic device displays a new schedule page and displays a new schedule button 123 in the new schedule page.
[0291] Fig. 7A This is the twelfth schematic diagram of the new schedule page in the calendar application provided in the embodiment of the present application.
[0292] like Fig. 7A As shown, in one implementation, in response to a user clicking the new schedule button 123 , the electronic device displays a cursor 114 at a first initial input position corresponding to a first schedule setting item, for example, displays a cursor 114 at an initial input position of a title setting item 108 .
[0293] In one implementation, if the electronic device displays the first page without obtaining the image to be recognized or the text to be recognized, the electronic device displays the first control 116 in a preset form. The first control 116 does not include the second thumbnail and can be a blank element.
[0294] It should be noted here that, since the user directly enters the calendar application, the schedule setting items are all blank setting items, excluding the first candidate schedule.
[0295] Figure 7B This is the thirteenth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application.
[0296] like Figure 7BAs shown, in one implementation, in response to a user clicking operation on the first control 116, the electronic device displays a first window, displays a first sub-window 117 in the first window, and displays at least one historical picture in the first sub-window 117, the historical picture including pictures saved by the user in the electronic device. For example, the historical picture is a picture in a gallery.
[0297] Figure 7C This is the fourteenth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application.
[0298] like Figure 7C As shown, in one implementation, in response to a user's click operation on the first control 116, the electronic device displays the first window, displays the second sub-window 118 in the first window, and displays at least one historical text in the second sub-window 118, where the historical text includes the text in the clipboard. The number of historical texts displayed is determined according to the storage capacity of the clipboard. For example, the user uses the copy operation at 8 a.m. to copy the first text "Hello everyone, the psychological behavior course will be held at the lecture hall on No. 1 Street at 8 a.m., and parents are welcome to bring their children to participate", and the electronic device saves the first text in the clipboard. The user uses the copy operation again at 9 a.m. to copy the second text "The completion status of the homework needs to be sent to me before 5 p.m. on May 1", and the electronic device saves the second text in the clipboard. In this way, if the clipboard can store multiple texts, the electronic device can display the historical texts in the second sub-window 118 in sequence according to the time when the historical texts are pasted to the clipboard, and the most recently copied historical text is preferentially displayed above the second sub-window 118. If the clipboard can only store the most recently copied history text, the electronic device displays a history text in the second sub-window 118 .
[0299] It should be noted that the electronic device can set the first sub-window 117 or the second sub-window 118 to be initially displayed in the first window according to the user's habit. If the user is accustomed to creating a schedule based on the picture to be recognized, in response to the user's click operation on the first control 116, the electronic device displays the first window and displays the first sub-window 117 in the first window. If the user is accustomed to creating a schedule based on the text to be recognized, in response to the user's click operation on the first control 116, the electronic device displays the first window and displays the second sub-window 118 in the first window.
[0300] like Figure 7B As shown, in one implementation, if the electronic device displays the first sub-window 117 in the first window, in response to a user's selection operation on a historical image, the electronic device determines the historical image corresponding to the selection operation as the image to be identified.
[0301] Fig.7DThis is the fifteenth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application.
[0302] like Fig.7D As shown, in one implementation, the electronic device performs text recognition on the image to be recognized to obtain a first target text. The electronic device performs word segmentation on the first target text to obtain a third word segmentation result. When the electronic device performs this process, a "recognizing" view is displayed in the first sub-window 117.
[0303] In one implementation, after the electronic device obtains the first target text, it is not necessary to fill the recognized first target text into the schedule setting item to fill the first candidate schedule in the schedule setting item. The embodiment of the present application can determine whether to fill the first target text into the schedule setting item according to user habits, and the present application is not limited to this.
[0304] Fig. 7E This is the sixteenth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application.
[0305] like Fig. 7E As shown, in one implementation, the electronic device displays the third word segmentation result in the first sub-window 117 .
[0306] In this embodiment, the electronic device fills the third word segmentation result into the schedule setting item in a manner that can refer to the above embodiment. Figure 4H-Figure 4P The schedule creation process involved.
[0307] like Figure 7C As shown, in one implementation, if the electronic device displays the second sub-window 118 in the first window, in response to a user's selection operation on a historical text, the electronic device determines the historical text corresponding to the selection operation as the text to be recognized.
[0308] Figure 7F This is the seventeenth schematic diagram of a new schedule page in the calendar application provided in an embodiment of the present application.
[0309] like Figure 7F As shown, in one implementation, the electronic device performs text recognition on the text to be recognized to obtain a second target text. The electronic device performs word segmentation on the second target text to obtain a fourth word segmentation result. When the electronic device performs this process, a "recognizing" view is displayed in the second sub-window 118.
[0310] Figure 7G This is the eighteenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application.
[0311] like Figure 7GAs shown, in one implementation, the electronic device displays the fourth word segmentation result in the second sub-window 118 .
[0312] In this embodiment, the electronic device fills the fourth word segmentation result into the schedule setting item in a manner that can refer to the above embodiment. Figure 4H-4P The schedule creation process involved.
[0313] Figure 7H It is a schematic diagram of the switching process between the first sub-window and the second sub-window provided in an embodiment of the present application.
[0314] like Figure 7H As shown, in one implementation, if the electronic device displays the first sub-window 117 in the first window and displays the third word segmentation result in the first sub-window 117, in response to the user's click operation on the second sub-window 118, the electronic device displays the second sub-window 118 in the first window and retains the third word segmentation result in the first sub-window 117.
[0315] If the electronic device displays the second sub-window 118 in the first window and displays the fourth word segmentation result in the second sub-window 118 , in response to a user clicking operation on the first sub-window 117 , the electronic device displays the first sub-window 117 in the first window and retains the fourth word segmentation result in the second sub-window 118 .
[0316] In this way, the electronic device can retain the content in the sub-window during the process of switching the sub-window, so that the user can fill in the schedule information according to the word segmentation results corresponding to different target texts, so that the user can quickly create a schedule, thereby improving the user experience.
[0317] Fig.7I It is a schematic diagram of the clearing process of the first sub-window provided in an embodiment of the present application.
[0318] like Fig.7I As shown, in one implementation, the first sub-window 117 includes a first clear button 1171.
[0319] In response to the user clicking the first clear button 1171 , the electronic device clears the third word segmentation result.
[0320] The electronic device displays the first sub-window 117 in the first window, and displays at least one historical picture in the first sub-window 117 .
[0321] In this way, the user can reselect the picture to be identified to create a schedule based on other pictures.
[0322] Figure 7J It is a schematic diagram of the clearing process of the second sub-window provided in an embodiment of the present application.
[0323] like Figure 7J As shown, in one implementation, the second sub-window 118 includes a second clear button 1181.
[0324] In response to the user clicking the second clear button 1181 , the electronic device clears the fourth word segmentation result.
[0325] The electronic device displays the second sub-window 118 in the first window, and displays at least one historical text in the second sub-window 118 .
[0326] In this way, the user can reselect the text to be recognized to create a schedule based on other text.
[0327] In one implementation, the embodiment of the present application is compatible with an input method keyboard.
[0328] Figure 7K This is the nineteenth schematic diagram of a new schedule page in a calendar application provided in an embodiment of the present application.
[0329] like Figure 7K As shown, in one implementation, in response to a user clicking operation on a first initial input position corresponding to a first schedule setting item, the electronic device displays an input method keyboard on a first page and displays a first control 116 near the input method keyboard.
[0330] Figure 7L This is the twentieth schematic diagram of the new schedule page in the calendar application provided in the embodiment of the present application.
[0331] like Figure 7L In one implementation, in response to a user clicking operation on a second schedule setting item, the electronic device displays an input cursor at a second initial input position corresponding to the second schedule setting item.
[0332] In one implementation, in response to a user clicking on a second schedule setting item, after the electronic device displays an input cursor at a second initial input position corresponding to the second schedule setting item, it also includes: in response to a user clicking on the second initial input position, the electronic device displays an input method keyboard on a first page and displays a first control near the input method keyboard.
[0333] In this embodiment, since the electronic device does not obtain the image to be recognized or the text to be recognized before entering the calendar application, the electronic device does not display the first candidate schedule on the first page, and the schedule setting items are all blank setting items. After the word segmentation results are displayed in the first window, the user fills the word segmentation results into the schedule setting items through operations such as the first sliding operation, the second sliding operation, or the drag operation.
[0334] In this way, after the electronic device enters the calendar application from the main screen page, it can identify the historical pictures or historical texts of the electronic device, fill the word segmentation results in the first window into the schedule setting items, and then quickly create a schedule.
[0335] The schedule creation method provided in the embodiment of the present application allows the user to operate on a picture or text containing schedule information so that the electronic device recognizes the schedule information of the target text, displays the word segmentation result of the target text in the first window, and fills the word segmentation result into the schedule setting item. In this way, the user does not need to create a schedule through the input method keyboard, which solves the problem of the slow creation speed of the user creating a schedule through the input method keyboard in the traditional solution, enables the user to quickly create a schedule, and improves the user experience.
[0336] The embodiments provided in the present application above introduce the various schemes of the schedule creation method provided in the present application. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0337] Figure 8 Schematic diagram of the structure of the schedule creation device provided in the embodiment of the present application. Figure 8As shown, the schedule creation device may include: a display screen 1001, a memory 1002, a processor 1003 and a communication module 1004. The above-mentioned components may be connected via one or more communication buses 1005. The display screen 1001 may include a display panel 10011 and a touch sensor 10012, wherein the display panel 10011 is used to display an image, and the touch sensor 10012 may pass the detected touch operation to the application processor to determine the type of touch event, and provide a visual output related to the touch operation through the display panel 10011. The processor 1003 may include one or more processing units, for example: the processor 1003 may include an application processor, a modem processor, a graphics processor, an image signal processor, a controller, a video codec, a digital signal processor, a baseband processor, and / or a neural network processor, etc. Among them, different processing units may be independent devices or integrated in one or more processors. The memory 1002 is coupled to the processor 1003 and is used to store various software programs and / or computer instructions. The memory 1002 may include a volatile memory and / or a non-volatile memory. When the processor executes the computer instructions, the electronic device may perform the various functions or steps in the above method embodiments. The first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule, the first candidate schedule. The present application also provides a computer-readable storage medium, which stores instructions, which, when executed on a computer, enable the computer to perform the above methods.
[0338] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the above-mentioned methods.
[0339] The embodiment of the present application also provides a chip system, which includes a processor for supporting the above-mentioned device to implement the functions involved in the above-mentioned aspects, for example, generating or processing the information involved in the above-mentioned method. In one possible design, the chip system also includes a memory for storing computer instructions and data necessary for the multi-device collaborative device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
[0340] The above specific implementation methods further explain in detail the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above are only specific implementation methods of the embodiments of the present application and are not used to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.
Claims
1. A schedule creation method, characterized in that: Used in electronic equipment, including: The electronic device displays a first page when a first schedule is created in a calendar application, the first page comprising a first control, a first confirmation button and a first schedule setting item, wherein a cursor is located in the first schedule setting item; In response to a user clicking operation on the first control, the electronic device displays a first window on the first page, the first window covering part of the content of the first page, the first window including a plurality of word segmentation results of a target text, the target text being obtained by the electronic device performing text recognition on the image to be recognized and / or the text to be recognized; In response to a first sliding operation of the user on the word segmentation result in a first direction, the electronic device fills the first word segmentation result corresponding to the first sliding operation into the position after the cursor, or, in response to a dragging operation of the user on the word segmentation result, the electronic device fills the second word segmentation result corresponding to the dragging operation into the first schedule setting item; In response to the user clicking the first confirmation button, the electronic device creates the first schedule.
2. The schedule creation method according to claim 1, characterized in that: Before the electronic device displays the first page when creating a new first schedule in the calendar application, the method further includes: In response to a user's sharing operation on the first picture, the electronic device displays a second page, where the second page includes a first icon; In response to a user clicking operation on the first icon, the electronic device displays a third page, where the third page includes a cropping frame, wherein a portion or all of an area of the first picture is located within the cropping frame.
3. The schedule creation method according to claim 2, characterized in that: The third page also includes a second confirmation button, and the electronic device displays the first page when creating a new first schedule in the calendar application, including: In response to a user clicking operation on the second confirmation button, the electronic device crops a portion of the first image within the cropping frame to obtain the image to be identified; The electronic device performs text recognition on the image to be recognized to obtain the target text; The electronic device acquires a first candidate schedule from the target text; The electronic device displays the first page, and fills the first candidate schedule into the first schedule setting item.
4. The schedule creation method according to claim 1, characterized in that: Before the electronic device displays the first page when creating a new first schedule in the calendar application, the method further includes: In response to a user's screenshot operation of at least a portion of a fourth page, the electronic device obtains a second picture; In response to a first operation of the user on the fourth page, the electronic device displays a home screen page, wherein the home screen page includes a second icon; In response to a user clicking operation on the second icon, the electronic device displays a fifth page, the fifth page including a new schedule button and a first thumbnail located near the new schedule button, the first thumbnail including a thumbnail of the second picture; In response to a user clicking operation on the first thumbnail, the electronic device displays a third page, wherein the third page includes a cropping frame, wherein a portion or all of an area of the second image is located within the cropping frame.
5. The schedule creation method according to claim 4, characterized in that: Within a first time period after responding to a user's screenshot operation on at least a portion of the fourth page, if the electronic device receives a click operation on the second icon by the user, the electronic device displays the fifth page; Within a first time period after responding to the user's screenshot operation on at least a portion of the fourth page, if the electronic device does not receive the user's click operation on the second icon, the electronic device displays a sixth page, and the sixth page includes the new schedule button.
6. The schedule creation method according to claim 4, characterized in that: The third page also includes a second confirmation button, and the electronic device displays the first page when creating a new first schedule in the calendar application, including: In response to a user clicking operation on the second confirmation button, the electronic device crops a portion of the second image within the cropping frame to obtain the image to be identified; The electronic device performs text recognition on the image to be recognized to obtain the target text; The electronic device acquires a first candidate schedule from the target text; The electronic device displays the first page, and fills the first candidate schedule into the first schedule setting item.
7. The schedule creation method according to claim 1, characterized in that: Before the electronic device displays the first page when creating a new first schedule in the calendar application, the method further includes: In response to a user copying operation of at least a portion of the text in the seventh page, the electronic device obtains the text to be recognized; In response to a second operation of the user on the seventh page, the electronic device displays a home screen page, wherein the home screen page includes a second icon; In response to the user clicking the second icon, the electronic device displays a fifth page, the fifth page including a new schedule button and a first thumbnail located near the new schedule button, the first thumbnail including a thumbnail of the text to be recognized.
8. The schedule creation method according to claim 7, characterized in that: The electronic device displays a first page when creating a new first schedule in a calendar application, including: In response to a user clicking operation on the first thumbnail, the electronic device performs text recognition on the text to be recognized to obtain the target text; The electronic device acquires a first candidate schedule from the target text; The electronic device displays the first page and fills the first candidate schedule into the schedule setting item.
9. The schedule creation method according to any one of claims 2 to 8, characterized in that: The electronic device displays a first page when creating a new first schedule in a calendar application, including: If the electronic device displays the first page after obtaining the image to be recognized or the text to be recognized, the electronic device displays a second thumbnail in the first control, where the second thumbnail includes a thumbnail of the image to be recognized or a thumbnail of the text to be recognized; If the electronic device displays the first page without obtaining the image to be recognized or the text to be recognized, the electronic device displays the first control in a preset form.
10. The schedule creation method according to any one of claims 3, 6 and 8, characterized in that: The first window includes a first sub-window and a second sub-window, and in response to a user clicking operation on the first control, the electronic device displays the first window on the first page, including: If the target text is a first target text, the electronic device displays the first sub-window in the first window, and displays a third word segmentation result in the first sub-window, wherein the first target text is obtained by the electronic device performing text recognition on the image to be recognized, and the third word segmentation result is the word segmentation result corresponding to the first target text; If the target text is a second target text, the electronic device displays the second sub-window in the first window and displays a fourth word segmentation result in the second sub-window, wherein the second target text is obtained by the electronic device performing text recognition on the text to be recognized, and the fourth word segmentation result is the word segmentation result corresponding to the second target text.
11. The schedule creation method according to claim 1, characterized in that: Before the electronic device displays the first page when creating a new first schedule in the calendar application, the method further includes: The electronic device displays a home screen page, wherein the home screen page includes a second icon; In response to a user clicking operation on the second icon, the electronic device displays a sixth page, wherein the sixth page includes a new schedule button; The electronic device displays a first page when creating a new first schedule in a calendar application, including: In response to a user clicking operation on the new schedule button, the electronic device displays the first page.
12. The schedule creation method according to claim 11, characterized in that: The first window includes a first sub-window and a second sub-window, and in response to a user clicking operation on the first control, the electronic device displays the first window on the first page, including: The electronic device displays the first sub-window in the first window, and displays at least one historical picture in the first sub-window, wherein the historical picture includes pictures saved by a user in the electronic device; Alternatively, the electronic device displays the second sub-window in the first window, and displays at least one historical text in the second sub-window, where the historical text includes the text in the clipboard.
13. The schedule creation method according to claim 12, characterized in that: The target text includes a first target text, the first target text is obtained by the electronic device performing text recognition on the image to be recognized, the word segmentation result includes a third word segmentation result, the third word segmentation result is the word segmentation result corresponding to the first target text, and in response to the user clicking the first control, after the electronic device displays the first window on the first page, further includes: If the electronic device displays the first sub-window in the first window, in response to a user's selection operation on the historical image, the electronic device determines the historical image corresponding to the selection operation as the image to be identified; The electronic device performs text recognition on the image to be recognized to obtain the first target text; The electronic device performs word segmentation on the first target text to obtain the third word segmentation result; The electronic device displays the third word segmentation result in the first sub-window.
14. The schedule creation method according to claim 13, characterized in that: The target text further includes a second target text, the second target text is obtained by the electronic device performing text recognition on the to-be-recognized text, the word segmentation result includes a fourth word segmentation result, the fourth word segmentation result is the word segmentation result corresponding to the second target text, and in response to the user clicking the first control, after the electronic device displays the first window on the first page, further includes: If the electronic device displays the second sub-window in the first window, in response to a user selecting the historical text, the electronic device determines the historical text corresponding to the selection operation as the text to be recognized; The electronic device performs text recognition on the text to be recognized to obtain the second target text; The electronic device performs word segmentation on the second target text to obtain the fourth word segmentation result; The electronic device displays the fourth word segmentation result in the second sub-window.
15. The schedule creation method according to claim 14, characterized in that: In response to the user clicking the first control, after the electronic device displays the first window on the first page, the electronic device further includes: If the electronic device displays the first sub-window in the first window and displays the third word segmentation result in the first sub-window, in response to a user clicking operation on the second sub-window, the electronic device displays the second sub-window in the first window and retains the third word segmentation result in the first sub-window; If the electronic device displays the second sub-window in the first window and displays the fourth word segmentation result in the second sub-window, in response to a user clicking operation on the first sub-window, the electronic device displays the first sub-window in the first window and retains the fourth word segmentation result in the second sub-window.
16. The schedule creation method according to claim 10 or 14, characterized in that: The first sub-window includes a first clear button, and after the electronic device displays the first sub-window in the first window and displays the third word segmentation result in the first sub-window, the electronic device further includes: In response to a user clicking the first clear button, the electronic device clears the third word segmentation result; The electronic device displays the first sub-window in the first window, and displays at least one historical picture in the first sub-window, where the historical picture includes pictures saved by a user in the electronic device.
17. The schedule creation method according to claim 10 or 14, characterized in that: The second sub-window includes a second clear button, and after the electronic device displays the second sub-window in the first window and displays the fourth word segmentation result in the second sub-window, the electronic device further includes: In response to a user clicking operation on the second clear button, the electronic device clears the fourth word segmentation result; The electronic device displays the second sub-window in the first window, and displays at least one historical text in the second sub-window, where the historical text includes text in the clipboard.
18. The schedule creation method according to claim 1, characterized in that: In response to a first sliding operation of the user on the word segmentation result in a first direction, the electronic device fills the first word segmentation result corresponding to the first sliding operation to a position after the cursor, and further includes: In response to a second sliding operation of the user on the word segmentation result in a second direction, the electronic device deletes the fifth word segmentation result corresponding to the second sliding operation from the first schedule setting item, wherein the second direction is opposite to the first direction.
19. An electronic device, characterized in that: include: A processor, a memory and a display screen; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the method described in any one of claims 1-18.
