Schedule generation method and device, electronic equipment and computer readable storage medium
By displaying the scanning window in the target application, automatically identifying and scanning the target content containing time information, and generating a schedule, the problem of inefficient import of agenda information in traditional schedule management is solved, and more efficient and accurate schedule management is achieved.
Patent Information
- Application Number
- CN202311761498.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2025-06-20
AI Technical Summary
When establishing a schedule, the traditional agenda management method has low efficiency in importing agenda information, requiring manual input of a large amount of information, which consumes a lot of manpower and material resources.
By responding to the trigger operation of the target application, the scanning window is displayed, the object to be identified is scanned, the target content containing time information is identified, and the target schedule is generated in the order of time information.
It realizes automatic acquisition of schedule information through the scanning window, avoid manual input, improves the efficiency of importing schedule information, and improves the accuracy of schedule generation.
Smart Images

Figure CN120181818A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information processing technologies, and in particular, to a schedule generation method, apparatus, electronic device, and computer-readable storage medium. Background Art
[0002] As the pace of people's production and life is getting faster and faster, there are more and more daily affairs to be processed, and the need to effectively manage schedules is becoming more and more urgent. People often manage schedules through applications such as calendars or to-do lists installed on terminal devices. For example, they use a calendar APP to record the time of meeting schedules, such as booking train tickets, airplane tickets, meeting times, and addresses.
[0003] Currently, when creating a schedule, it is usually done by manually entering schedule content, start time, end time, schedule location, schedule reminder time, and reminder frequency. After the user finishes entering them in sequence, a corresponding calendar record is generated for storage, and the user is reminded when the reminder time of the schedule arrives. However, the traditional method has a low import efficiency of schedule information during the process of creating a schedule. Summary of the Invention
[0004] Embodiments of this application provide a schedule generation method, apparatus, electronic device, and computer-readable storage medium, which can improve the import efficiency of schedule information.
[0005] In a first aspect, this application provides a schedule generation method. The method includes:
[0006] In response to a trigger operation on a target application, display a scanning window of the target application;
[0007] Scan a target object through the scanning window to obtain an object scan result;
[0008] Identify target content containing time information in the object scan result;
[0009] Generate a target schedule from the target content in the order corresponding to the time information.
[0010] In a second aspect, this application also provides a schedule generation apparatus. The apparatus includes:
[0011] An application trigger module, configured to display a scanning window of the target application in response to a trigger operation on the target application;
[0012] An object scan module, configured to scan a target object through the scanning window to obtain an object scan result;
[0013] A content identification module, configured to identify target content containing time information in the object scan result;
[0014] A schedule generation module, configured to generate a target schedule for the target content in the order corresponding to the time information.
[0015] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0016] In response to a trigger operation on a target application, display a scanning window of the target application;
[0017] Scan an object to be recognized through the scanning window to obtain an object scanning result;
[0018] Identify target content including time information in the object scanning result;
[0019] Generate a target schedule for the target content in the order corresponding to the time information.
[0020] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0021] In response to a trigger operation on a target application, display a scanning window of the target application;
[0022] Scan an object to be recognized through the scanning window to obtain an object scanning result;
[0023] Identify target content including time information in the object scanning result;
[0024] Generate a target schedule for the target content in the order corresponding to the time information.
[0025] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0026] In response to a trigger operation on a target application, display a scanning window of the target application;
[0027] Scan an object to be recognized through the scanning window to obtain an object scanning result;
[0028] Identify target content including time information in the object scanning result;
[0029] Generate a target schedule for the target content in the order corresponding to the time information.
[0030] The above schedule generation method, device, electronic device, computer-readable storage medium, and computer program product can display a scanning window of a target application in response to a trigger operation on the target application, scan a to-be-identified object through the scanning window to obtain an object scanning result, identify target content containing time information in the object scanning result, and generate a target schedule based on the target content in the order corresponding to the time information. This can achieve automatic acquisition of schedule information through the scanning window, avoid the situation of consuming a large amount of manpower and material resources for manual input of schedule information, improve the import efficiency of schedule information, and moreover, automatically identify the target content in the to-be-identified object and generate a schedule based on the target content, which can improve the accuracy of the generated schedule. Brief Description of the Drawings
[0031] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0032] Figure 1 It is an application environment diagram of the schedule generation method in an embodiment;
[0033] Figure 2 It is a flowchart of the schedule generation method in an embodiment;
[0034] Figure 3 It is a flowchart of step 202 in an embodiment;
[0035] Figure 4 It is a trigger schematic diagram of the target application in an embodiment;
[0036] Figure 5 It is a structural block diagram of the schedule generation device in an embodiment;
[0037] Figure 6 It is an internal structure diagram of a computer device in an embodiment. Detailed Embodiments
[0038] In order to make the objectives, technical solutions, and advantages of the present application clearer, the following further details the present application in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] The log generation method provided by the embodiments of the present application can be applied to, for example Figure 1In the application environment shown. Among them, the electronic device 100 responds to a trigger operation on the target application, displays the scanning window 102 of the target application, scans the note 104 through the scanning window to obtain a note scanning result, identifies the target content containing time information in the note scanning result, and generates a target schedule for the target content according to the order corresponding to the time information. Among them, the electronic device can be a terminal or a server. The terminal can be, but is not limited to, various personal computers, cameras, scanners, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server can be implemented by an independent server or a server cluster composed of multiple servers. It can be understood that this method can also be applied to the server alone, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server.
[0040] In one embodiment, as Figure 2 shown, a schedule generation method is provided, including the following steps 202 to step 208.
[0041] Step 202, in response to a trigger operation on the target application, display the scanning window of the target application.
[0042] The electronic device responds to a trigger operation on the target application and displays the scanning window of the target application. This scanning window can scan an object within the field of view of the scanning window. For example, the scanning window scans an object within the field of view of the scanning window to obtain an image corresponding to the scanned object. Optionally, the scanning window of the target application can be dynamically displayed. For example, at least one dynamic scanning line is displayed in the scanning window, and this dynamic scanning line can repeatedly move in the scanning window in the direction from top to bottom.
[0043] In this embodiment, by responding to the trigger of the target application, the target application is run. The target application can display the scanning window and scan an object within the field of view of the scanning window. The target application can be a camera application, a schedule application, a scanning application, etc. The application type of the target application is not specifically limited here.
[0044] Optionally, in response to a preset trigger operation, application icons of optional applications are displayed. In response to the selection trigger of the application icon of the target application among the optional applications, and in response to the trigger of a lift operation, the target application is opened and a scanning window of the target application is displayed. For example, the application icon of the target application is usually displayed on a Graphical User Interface (GUI). The electronic device, in response to the trigger of a preset swipe gesture, displays the application icons of the optional applications. In response to the selection trigger of the trigger area of the target application among the optional applications, the marking information of the application icon of the target application is displayed. After the marking information is displayed, in response to the trigger of a lift operation, the scanning window of the target application is displayed.
[0045] Optionally, the scanning window can be communicatively connected to the camera of the electronic device through a target interface. In response to a trigger operation on the target application, the target application opens the target interface for communicating with the camera, obtains an object within the field of view of the camera through this target interface, and scans the object. It can be understood that the field of view of the camera can be used as the field of view of the scanning window.
[0046] Step 204: Scan the object to be recognized through the scanning window to obtain an object scanning result.
[0047] The electronic device can scan the object to be recognized located within the field of view of the scanning window through the scanning window to obtain an object scanning result. Among them, the object scanning result can be an image corresponding to the object to be recognized, or the specific content of the object to be recognized. For example, if the object to be recognized is a sticky note, the object scanning result can be an image corresponding to the sticky note, or the text, pattern, or table on the sticky note, etc.
[0048] Optionally, the electronic device can take a photo of the object to be recognized through the scanning window to obtain an image corresponding to the object to be recognized. Or, the electronic device can perform a scanning and recognition on the object to be recognized through the scanning window to obtain the content of the object to be recognized.
[0049] Optionally, according to the hardware resources of the electronic device, the object to be recognized corresponding to a corresponding amount of computation can be scanned through the scanning window to obtain an object scanning result. For example, for less hardware resources, the object to be recognized with a smaller amount of computation is recognized. The hardware resources include memory resources, processor resources, etc.
[0050] Step 206: Identify the target content containing time information in the object scanning result.
[0051] The object scan result includes all the content of the object to be recognized, and the content containing time information in the recognized object scan result is used as the target content. Optionally, the content in the object scan result can be recognized through an artificial intelligence model. For example, through the artificial intelligence model, the text, pictures, and tables in the object scan result can be recognized, and then through semantic recognition or keyword recognition, the target content containing time information can be recognized. The content with time semantics recognized through semantic recognition or the content corresponding to the keywords related to time is used as the target content.
[0052] Optionally, according to the application information of the currently running application, the content containing time information and corresponding to the category of the application information of the currently running application in the object scan result can be recognized as the target content. The currently running applications include the applications running in the background. It can be understood that for the applications that have not received a running trigger for a long time, the electronic device can close the corresponding applications. For example, if the current holder of the electronic device is traveling, the currently running applications are mostly travel-related applications, such as map applications, food applications, travel applications, strategy applications, etc. Then, the electronic device focuses on recognizing the content containing time information and corresponding to the travel category of the application information of the currently running application as the target content. The category corresponding to the application information of the currently running application can be a travel category, an office category, a game category, a travel category, a game category, etc.
[0053] Optionally, according to the battery power corresponding to the electronic device, the content containing time information and whose time information is within a preset time period in the object scan result can be recognized as the target content. For example, the preset time period can be a time period with a higher priority or the time period closest to the current moment. It can be understood that the preset time period can be set by the user customarily.
[0054] In an optional embodiment, the content of the object scan result can be recognized through a machine learning method to obtain an object recognition result, and then the target content containing time information can be recognized through an artificial intelligence model.
[0055] Optionally, when the target phrase or target sentence corresponding to the time information is recognized, semantic recognition of the context information can be performed, and the content associated with the target phrase or target sentence, as well as the target phrase or target sentence, can be used as the target content. For example, the content corresponding to being able to form a complete event with the target phrase or target sentence can be used as the target content. Another example is that the target sentence corresponding to the time information is "XX year XX month XX day, regarding XX contacting XX", then the content corresponding to being able to express a complete "contact event" with this target sentence can be used as the target content.
[0056] In one example, the electronic device scans the sticky note through the scanning window to obtain the sticky note image corresponding to the sticky note, and uses a multi-modal recognition model to recognize the text, images, tables, and voices in the sticky note image to obtain the sticky note recognition result. The sticky note recognition result is organized into a prompt in a preset format. The prompt is used to provide the context of the input information and the parameter information of the input model to the artificial intelligence model. The prompt is sent to GPT (Generative Pre-Trained Transformer), and GPT uses the artificial intelligence model to recognize the target content containing time information in the sticky note recognition result. GPT is a deep learning model for text generation based on the Internet and trained with available data. Alternatively, the artificial intelligence large model can be used to recognize the text, images, tables, and voices in the sticky note image to obtain the sticky note recognition result, and the target content containing time information is recognized and filtered from the sticky note recognition result.
[0057] Step 208: Generate a target schedule according to the chronological order corresponding to the time information for the target content.
[0058] After obtaining at least one target content containing time information, a target schedule is generated according to the chronological order corresponding to the time information. The target schedule may include schedule tags such as time tags, event tags, location tags, and person tags, and the schedule tags are used to represent the schedule information of the target schedule.
[0059] Optionally, according to the chronological order corresponding to the time information and the event category corresponding to the target content, different categories of target schedules can be generated for the target content. That is, for each category of target schedule, it is arranged according to the chronological order corresponding to the time information. For example, the semantic information corresponding to the target content is recognized, and according to the semantic information corresponding to the target content, the event information corresponding to the target content can be determined. According to the event information corresponding to the target content, the event category corresponding to the target content is obtained. The event category may be, for example, a travel event category, an office event category, a life event category, etc.
[0060] Optionally, the time tag and the corresponding event tag in the target content are recognized, the time tags are arranged in chronological order to obtain a time tag list, and the target content is correspondingly filled into the event tags corresponding to the time tag list to obtain the target schedule.
[0061] Optionally, a preview page corresponding to the target schedule can be displayed. In response to an edit trigger operation, the target schedule is edited to obtain an edited target schedule. In response to a save trigger operation, the edited target schedule is saved and the edited target schedule is displayed.
[0062] In the above schedule generation method, by responding to a trigger operation on a target application, a scanning window of the target application is displayed, the object to be recognized is scanned through the scanning window to obtain an object scanning result, the target content containing time information in the object scanning result is recognized, and the target content is generated into a target schedule according to the chronological order corresponding to the time information. It is possible to automatically obtain schedule information through the scanning window, avoid the situation of consuming a large amount of manpower and material resources for manual input of schedule information, improve the import efficiency of schedule information, and moreover, automatically recognize the target content in the object to be recognized and generate a schedule according to the target content, which can improve the accuracy of the generated schedule, ensure the quality of the schedule, and is also beneficial to improving the schedule generation efficiency and enhancing the user experience.
[0063] In one embodiment, as Figure 3 shown, step 202 of displaying the scanning window of the target application in response to a trigger operation on the target application includes the following steps 302 to 306.
[0064] Step 302, in response to the trigger of a preset swipe gesture, display the application icons of optional applications.
[0065] In response to the trigger of a preset swipe gesture, the application icons of the optional applications installed on the electronic device can be displayed on the desktop. The preset swipe gesture can be, for example, a swipe gesture of a preset pattern, a swipe gesture in a preset direction, or a swipe gesture at a preset angle, etc. The application icons of the optional applications can be displayed in a dynamic display manner. For example, the application icons can be cyclically scrolled and displayed through an icon list, or the application icons of all applications can be displayed in an array.
[0066] In an optional embodiment, the preset sliding gesture may start from the right-angle vertex of the electronic device and slide along the diagonal direction of the electronic device to a preset position. Understandably, the sliding trajectory of the preset sliding gesture may be a straight-line trajectory along the diagonal of the electronic device, or may not be a straight-line trajectory. For example, it may slide from the lower left corner of the electronic device towards the upper right corner, or start from the lower right corner of the electronic device and slide towards the upper left corner of the electronic device, or slide from the upper left corner of the electronic device towards the lower right corner, or slide from the upper right corner of the electronic device towards the lower left corner, etc. When the sliding trajectory reaches the preset position, the application icons of the optional applications are displayed. It may be that when the sliding trajectory reaches an arc area at a preset distance from the starting right-angle vertex, the application icons of the optional applications are displayed. For example, if sliding starts from the lower left corner of the electronic device, when the sliding trajectory reaches 3 cm or 4.5 cm from the lower left vertex, the application icons of the optional applications are displayed. Optionally, when the sliding trajectory reaches 3 cm from the lower left vertex, the application icons of the first part of the optional applications are displayed, and when the sliding trajectory reaches 4.5 cm from the lower left vertex, the application icons of the second part of the optional applications are displayed. Moreover, the application icons of the first part of the optional applications may be displayed in an arc area with the lower left vertex as the center and a radius of 3 cm, and the application icons of the second part of the optional applications may be displayed in an arc area with the lower left vertex as the center and a radius of 4.5 cm.
[0067] Step 304, in response to a selection operation on the trigger area corresponding to the target application in the optional applications, display the marking information of the application icon of the target application; wherein, the marking information is used to indicate that the application icon of the target application is selected.
[0068] The marking information can be understood as a prompt information used to indicate that the application icon of the target application is selected. The marking information may be, for example, a highlighted display information, a prominent display information, or other display prompt information. The electronic device displays the marking information of the application icon of the target application in response to a selection operation on the trigger area corresponding to the target application in the optional applications. Among them, the trigger area corresponding to the target application may be the area corresponding to the application icon of the target application, or may be an area covering the application icon. The area of the trigger area corresponding to the target application may be larger than the area of the application icon of the target application. Optionally, the trigger area corresponding to the target application may include a magnetic attraction area, which is beneficial to improving the trigger sensitivity and trigger speed.
[0069] In an example, in response to a selection operation on the trigger area corresponding to the target application in the optional applications, the application icon of the target application is highlighted to indicate that the application icon of the target application is selected.
[0070] Step 306, after displaying the marking information, in response to the trigger of a lift operation, display the scanning window of the target application.
[0071] In this embodiment, after the mark information is displayed, in response to the triggering of the lifting operation, the target application is run and the scanning window of the target application is displayed. Optionally, in response to the triggering of the lifting operation, the application icon of the optional application disappears, and the scanning window of the target application is displayed on the display interface.
[0072] In one example, if Figure 4 As shown, in response to the triggering of a preset sliding gesture, the preset sliding gesture is sliding from the lower left corner of the electronic device along the diagonal direction toward the upper right corner. When the sliding reaches 3 cm from the lower left corner vertex, the application icon of the optional application corresponding to the first arc area 402 is displayed. The sliding continues. When the sliding reaches 4.5 cm from the lower left corner vertex, the application icon of the optional application in the second arc area 404 is displayed. In response to the selection operation of the trigger area 408 corresponding to the target application 406 in the optional application, the application icon of the target application is highlighted. After the application icon of the target application is highlighted, in response to the triggering of the lifting operation, the scanning window 410 of the target application is displayed, and at the same time, the optional application icon disappears (not shown in the figure).
[0073] In this embodiment, in response to the triggering of a preset sliding gesture, the application icon of the optional application is displayed, and in response to the selection operation of the trigger area corresponding to the target application in the optional application, the marking information of the application icon of the target application is displayed. After displaying the marking information, in response to the triggering of a lift operation, the scanning window of the target application is displayed. The target application can be opened with a single lift operation, and the target application can be quickly called out, thereby quickly opening the scanning window of the target application, improving the convenience of scanning and opening, and thereby improving the efficiency of schedule generation.
[0074] In some embodiments, after displaying the mark information of the application icon of the target application in response to the selection operation of the trigger area corresponding to the target application among the selectable applications, the method further includes:
[0075] In response to the moving out operation of the triggering area corresponding to the target application, the mark information of the application icon of the target application disappears.
[0076] In this embodiment, after the electronic device displays the marking information of the application icon of the target application in response to the selection operation of the trigger area corresponding to the target application among the optional applications, the marking information of the application icon of the target application disappears in response to the removal operation of the trigger area corresponding to the target application. The disappearance of the marking information of the application icon of the target application indicates that the application icon of the target application has not been selected.
[0077] Optionally, in response to a selection operation on a trigger area corresponding to a target application in an optional application, the electronic device highlights the application icon of the target application. When the finger leaves the trigger area of the target application, the electronic device responds to the removal operation of the trigger area corresponding to the target application, and the application icon of the target application is no longer highlighted, but returns to the display mode before highlighting.
[0078] In an optional application scenario, the user selects a first application. The electronic device responds to the selection operation on the trigger area corresponding to the first application in the optional application and displays the marker information of the application icon of the first application. When the user swipes out of the trigger area of the first application, the electronic device responds to the removal operation of the trigger area corresponding to the first application, and the marker information of the application icon of the first application disappears. When the user continues to swipe and reaches the trigger area of the second application, the electronic device responds to the selection operation on the trigger area corresponding to the second application and displays the marker information of the application icon of the second application. When the user lifts the finger, the electronic device responds to the trigger of the lift operation and opens and runs the second application. Herein, the second application may be the target application.
[0079] In this embodiment, after displaying the marker information of the application icon of the target application in response to the selection operation on the trigger area corresponding to the target application in the optional application, and in response to the removal operation of the trigger area corresponding to the target application, the marker information of the application icon of the target application disappears, which can realize the cancellation of the selected target application at any time. If the wrong application is selected, the selection can be cancelled by swiping out of the trigger area of the selected application, and then the target application can be selected continuously, improving the convenience of selecting and cancelling the target application and enhancing the user experience.
[0080] In some embodiments, the object to be recognized is scanned through a scanning window to obtain an object scanning result, including: taking a photo of the object to be recognized through the scanning window to obtain an image corresponding to the object to be recognized.
[0081] In this embodiment, the object scanning result includes the captured image. The object to be recognized can be photographed through the scanning window to obtain an image corresponding to the object to be recognized. Optionally, the scanning window of the target application is connected to the camera of the electronic device. When the scanning window is opened, the object to be recognized is photographed through the camera to obtain an image corresponding to the object to be recognized, and the image corresponding to the object to be recognized can be stored in the storage path corresponding to the target application.
[0082] Among them, the scanning window can take multiple photos of the object to be recognized, and correspondingly obtain multiple images corresponding to the object to be recognized. Then, the multiple images are respectively recognized to obtain the target content containing time information in each image. The target content obtained by corresponding recognition of the multiple images is merged to obtain the merged target content. According to the chronological order corresponding to the time information, the merged target content is generated into a target schedule.
[0083] In this embodiment, by taking a photo of the object to be recognized through the scanning window to obtain an image corresponding to the object to be recognized, it is possible to quickly obtain the image of the object to be recognized and recognize the content in the object to be recognized from the image, thereby improving the recognition efficiency of the target content.
[0084] In some embodiments, generating a target schedule from the target content according to the chronological order corresponding to the time information includes:
[0085] Extracting the time tags and key event information of the key events in the target content; sorting the time tags according to the chronological order to obtain a time tag list; and correspondingly filling the key event information into the event tags corresponding to the time tag list to obtain the target schedule.
[0086] In this embodiment, after obtaining the target content, the electronic device can extract the time tags of the key events in the target content and the corresponding key event information, sort the time tags according to the chronological order to obtain a time tag list. The time tag list can at least include time tags and event tags. Then, the key event information is filled into the event tags corresponding to the time tags in the time tag list to obtain the target schedule of the key events. Among them, the key events can be user-defined events, and the key events include events with a relatively high degree of importance, urgent events, or specific types of events, etc. The time tags and key event tags of the key events in the target content can be extracted according to the keywords or semantics of the key events.
[0087] In an example, the time tags of the key events extracted from the target content are respectively "Time A", "Time C", and "Time B", and the corresponding key event information is: "Event Information 1", "Event Information 3", and "Event Information 2", that is, "Event Information 1" corresponds to "Time A", "Event Information 3" corresponds to "Time C", and "Event Information 2" corresponds to "Time B". Sorting the time tags according to the chronological order gives: "Time A", "Time B", "Time C", and the obtained time tag list is shown in Table 1 below.
[0088] Table 1 Time Tag List
[0089] Serial number Time label Event label 1 Time A 2 Time B 3 Time C
[0090] Fill the key event information into the event tags corresponding to the time tags in the time tag list to obtain the target schedule. The target schedule can be represented in the form of a schedule table, and the schedule table of the target schedule is shown in Table 2 below.
[0091] Table 2 Schedule Table
[0092] Serial number Time label Event label 1 Time A Event information 1 2 Time B Event information 2 3 Time C Event information 3
[0093] In this embodiment, by extracting the time tags of key events and the key event information in the target content, sorting the time tags according to the chronological order to obtain a time tag list, and filling the key event information into the event tags corresponding to the time tag list, the target schedule can be obtained, which can realize the recognition of key events, generate corresponding schedules for key events, thereby improving the intelligence of schedule generation and the user experience at the same time.
[0094] In some embodiments, generating the target schedule from the target content includes:
[0095] Generate different types of target schedules from the target content according to the event category corresponding to the target content.
[0096] In this embodiment, different types of target schedules are generated from the target content according to the event category corresponding to the target content. Among them, the event category corresponding to the target content may include but is not limited to travel category, office category, travel category, etc. For example, if the event category corresponding to the target content is the travel category, then generate a travel-type target schedule from the target content; if the event category corresponding to the target content is the office category, then generate an office-type target schedule from the target content.
[0097] Optionally, identify the event category corresponding to the target content. If the event category of the target content belongs to a preset category, generate a corresponding type of target schedule from the target content according to the format corresponding to the event category.
[0098] In this embodiment, different types of target schedules are generated from the target content according to the event category corresponding to the target content, thereby realizing the diversification of schedule types. By using different types of schedules to prompt the user to distinguish different categories of events, the prompting intensity for the user can be enhanced and the user experience can be improved.
[0099] In some embodiments, the above method further includes:
[0100] Identify whether there is associated event information associated with a preset application in the event information of the target schedule; when there is associated event information associated with the preset application in the event information of the target schedule and the preset duration has elapsed since the time corresponding to the time tag of the associated event information, send the prompt information corresponding to the associated event information to the preset application through the interface between the target application and the preset application.
[0101] In this embodiment, an interface that enables communication between the two parties is set between the target application and the preset application, and the preset application can be other applications except the target application. The electronic device identifies whether there is associated event information associated with the preset application in the event information of the target schedule. If there is associated event information associated with the preset application in the event information of the target schedule, when the preset duration has elapsed since the time corresponding to the time tag of the associated event information, send the prompt information corresponding to the associated event information to the preset application through the interface between the target application and the preset application, and the preset application gives a prompt according to the prompt information. For example, the preset application pops up and displays the prompt information on the desktop, or displays the prompt information in the conversation window of the target application and pops up to display the conversation window. Among them, the preset duration can be set according to actual needs. For example, the preset duration can be 5 minutes, 10 minutes, 15 minutes, or 30 minutes, etc. The prompt information can include the associated event information or summary information of the associated event information.
[0102] In an example, if the event information in the target schedule is "at 15:30, send XX message to XX through Application A", it means that there is associated event information associated with Application A in the event information, and Application A is the preset application. Then, when 15 minutes have elapsed since the time "15:30" corresponding to the time tag of the associated event information, that is, at "15:15", send the prompt information corresponding to the associated event information to Application A through the interface between the target application and Application A, and Application A gives a prompt for the prompt information.
[0103] Optionally, when there is associated event information associated with the preset application in the event information of the target schedule and the preset duration has elapsed since the time corresponding to the time tag of the associated event information, send the prompt information corresponding to the associated event information to the preset application through the interface between the target application and the preset application, and the preset application displays the prompt information corresponding to the associated event information. The target application can also display the prompt information corresponding to the associated event information, that is, it is possible to achieve simultaneous prompting of the associated event information by the target application and the preset application.
[0104] In this embodiment, when there is associated event information in the event information of the target schedule that is associated with a preset application, and when the preset duration of time corresponding to the time tag of the associated event information is reached, the prompt information corresponding to the associated event information is sent to the preset application through the interface between the target application and the preset application. That is, the preset application is used to prompt the associated event information associated with the preset application, indicating that the event information corresponding to the schedule is associated with the preset application. In other words, the user is prompted to complete the work related to the preset application, which can achieve a more effective prompt for the user.
[0105] In one embodiment, the user selects the camera application on the interface of the mobile operating system or the desktop operating system of the electronic device. The electronic device responds to the trigger operation of the camera application, displays the shooting window of the camera, scans the sticky note through the shooting window of the camera to obtain the sticky note image corresponding to the sticky note, uses the multimodal recognition model to recognize the text, pictures, tables, etc. on the sticky note image to obtain the sticky note recognition result, organizes the sticky note recognition result into a prompt in a preset format, and transmits the prompt to the GPT background. The GPT background is used to instruct the intelligent large model to recognize whether there is target content containing event information in the sticky note recognition result. If target content containing time information is recognized, the time tag and event information in the target content are extracted, the time tags are sorted according to the chronological order to obtain a time tag list, the event information is correspondingly filled into the event tags in the time tag list to obtain the target schedule, and the preview page corresponding to the target schedule is displayed. In response to the edit trigger operation, the target schedule is edited to obtain the edited target schedule. In response to the save trigger operation, the edited target schedule is saved, and the edited target schedule is displayed. It is recognized whether there is associated event information in the event information of the target schedule that is associated with a preset application. When there is associated event information in the event information of the target schedule that is associated with a preset application, and when the preset duration of time corresponding to the time tag of the associated event information is reached, the prompt information corresponding to the associated event information is sent to the preset application through the interface between the target application and the preset application, and the preset application can display the prompt information corresponding to the associated event information. The schedule generation solution provided in this embodiment can significantly improve the import efficiency and generation efficiency of schedule information, improve the accuracy of schedule generation, enhance the prompt intensity for users, thereby reducing the probability of users forgetting things and improving the user experience.
[0106] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0107] Based on the same inventive concept, an embodiment of the present application also provides a schedule generation device for implementing the schedule generation method described above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the schedule generation device provided below can refer to the limitations on the schedule generation method in the above text, and will not be repeated here.
[0108] In one embodiment, as Figure 5 shown, a schedule generation device is provided, including an application trigger module 502, an object scanning module 504, a content recognition module 506, and a schedule generation module 508, where:
[0109] The application trigger module 502 is configured to display a scanning window of the target application in response to a trigger operation on the target application;
[0110] The object scanning module 504 is configured to scan the object to be recognized through the scanning window to obtain an object scanning result;
[0111] The content recognition module 506 is configured to recognize target content including time information in the object scanning result;
[0112] The schedule generation module 508 is configured to generate a target schedule for the target content in the order corresponding to the time information.
[0113] In one embodiment, the application trigger module 502 is further configured to display application icons of selectable applications in response to a trigger of a preset swipe gesture; display marking information of the application icon corresponding to the target application in response to a selection operation on the trigger area corresponding to the target application in the selectable applications; the marking information is used to indicate that the application icon of the target application is selected; after displaying the marking information, display the scanning window of the target application in response to a trigger of a lift operation.
[0114] In one embodiment, the schedule generation device further includes an application cancellation module, configured to, after displaying the marked information of the application icon of the target application in response to a selection operation on the trigger area corresponding to the target application in the selectable applications, make the marked information of the application icon of the target application disappear in response to a removal operation on the trigger area corresponding to the target application.
[0115] In one embodiment, the object scanning module 504 is further configured to take a photo of the object to be recognized through the scanning window to obtain an image corresponding to the object to be recognized.
[0116] In one embodiment, the schedule generation module 508 is further configured to extract the time tags and key event information of the key events in the target content; sort the time tags according to the chronological order to obtain a time tag list; and fill the key event information into the event tags corresponding to the time tag list to obtain the target schedule.
[0117] In one embodiment, the schedule generation module 508 is further configured to generate different types of target schedules according to the event categories corresponding to the target content.
[0118] In one embodiment, the schedule generation device further includes an application association module, configured to identify whether there is associated event information associated with a preset application in the event information of the target schedule; when there is associated event information associated with the preset application in the event information of the target schedule and a preset time duration has elapsed since the time corresponding to the time tag of the associated event information, send the prompt information corresponding to the associated event information to the preset application through the interface between the target application and the preset application.
[0119] Each module in the above schedule generation device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0120] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 6As shown in the figure. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a schedule generation method. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0121] Those skilled in the art can understand that Figure 6 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0122] The embodiment of the present application also provides a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, cause the processors to execute the steps of the schedule generation method.
[0123] The embodiment of the present application also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the schedule generation method.
[0124] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of the relevant data need to comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0125] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0126] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0127] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A schedule generation method, characterized in that, Including: In response to a trigger operation on a target application, display a scanning window of the target application; Scan a to-be-identified object through the scanning window to obtain an object scanning result; Identify target content containing time information in the object scanning result; Generate a target schedule from the target content in the order corresponding to the time information.
2. The method according to claim 1, characterized in that, The step of "In response to a trigger operation on a target application, display a scanning window of the target application" includes: In response to the trigger of a preset sliding gesture, display application icons of selectable applications; In response to a selection operation on a trigger area corresponding to the target application among the selectable applications, display marking information of the application icon of the target application; the marking information is used to indicate that the application icon of the target application is selected; After displaying the marking information, in response to the trigger of a lift operation, display the scanning window of the target application.
3. The method according to claim 2, characterized in that, After the step of "In response to a selection operation on a trigger area corresponding to the target application among the selectable applications, display marking information of the application icon of the target application", the method further includes: In response to a removal operation on the trigger area corresponding to the target application, the marking information of the application icon of the target application disappears.
4. The method according to claim 1, characterized in that, The step of "Scan a to-be-identified object through the scanning window to obtain an object scanning result" includes: Take a photo of the to-be-identified object through the scanning window to obtain an image corresponding to the to-be-identified object.
5. The method according to claim 1, characterized in that, The step of "Generate a target schedule from the target content in the order corresponding to the time information" includes: Extract the time tag and key event information of the key event in the target content; Sort the time tags according to the chronological order to obtain a time tag list; Fill the key event information into the event tags corresponding to the time tag list to obtain the target schedule.
6. The method according to claim 1, characterized in that, The step of "Generate a target schedule from the target content" includes: Generate different types of target schedules from the target content according to the event category corresponding to the target content.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Identify whether there is associated event information associated with a preset application in the event information of the target schedule; When there is associated event information associated with a preset application in the event information of the target schedule and a preset time duration has elapsed since the time corresponding to the time tag of the associated event information, send the prompt information corresponding to the associated event information to the preset application through an interface between the target application and the preset application.
8. A schedule generation device, characterized in that, Including: An application trigger module, configured to display a scanning window of the target application in response to a trigger operation on the target application; An object scanning module, configured to scan a to-be-identified object through the scanning window to obtain an object scanning result; A content recognition module, configured to identify target content containing time information in the object scanning result; A schedule generation module, configured to generate a target schedule from the target content in the order corresponding to the time information.
9. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the computer program is executed by the processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.