Schedule creation method, system and device and medium
By receiving natural language messages and using language models to generate schedule description information, schedules are automatically created, solving the problem of cumbersome schedule creation operations in existing OA systems and achieving fast and efficient schedule creation.
Patent Information
- Application Number
- CN202311459055.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-03
- Publication Date
- 2024-11-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing OA system, creating a schedule requires users to manually enter information one by one, which is cumbersome and inefficient.
By receiving messages to be processed in natural language, generating schedule description information using a language model, and automatically creating schedules, users can achieve fast and efficient schedule creation through human-computer dialogue.
Users can quickly create schedules through human-computer interaction without manually entering schedule information, thus improving the efficiency of schedule creation.
Smart Images

Figure CN119005936A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a schedule creation method, system, electronic device, and computer-readable storage medium. Background Art
[0002] With the continuous development of computer technology, office automation (OA), which combines computer technology with modern office, has emerged. Office automation can realize the automatic processing of office affairs, greatly improving the work efficiency of individual or group office affairs.
[0003] Enterprises can use OA systems (such as business platforms and business systems) to assist office work. OA systems usually include a schedule module, which can be used to create and manage user schedules, so that user schedules can be arranged clearly and reasonably.
[0004] Specifically, the user can enter schedule information in the page provided by the schedule module, such as schedule subject, schedule time, schedule participants, etc., to create a schedule. However, the above method requires the user to enter schedule information one by one, which is cumbersome and the efficiency of schedule creation is low. Summary of the invention
[0005] The present application provides a schedule creation method. The method supports users to automatically create schedules through human-computer dialogue, thereby achieving fast and efficient schedule creation. The present application also provides a system, electronic device, computer-readable storage medium, and computer program product corresponding to the above method.
[0006] In a first aspect, the present application provides a schedule creation method, the method comprising:
[0007] receiving a message to be processed representing natural language content, wherein the message to be processed is used to instruct the creation of a target schedule;
[0008] Generate a response message according to the message to be processed, wherein the response message includes schedule description information;
[0009] The target schedule is created according to the schedule description information.
[0010] In some possible implementations, the method further includes:
[0011] The pending message and the response message are presented on the conversation page.
[0012] In some possible implementations, the response message includes a confirmation control, and the creating the target schedule according to the schedule description information includes:
[0013] In response to a trigger operation on the confirmation control, the target schedule is created according to the schedule description information.
[0014] In some possible implementations, the response message includes an edit control, and the method further includes:
[0015] In response to a trigger operation on the editing control, displaying a schedule editing interface, wherein the schedule editing interface is used to edit at least one schedule configuration item indicated by the schedule description information;
[0016] In response to a modification operation on a first schedule configuration item among the at least one schedule configuration item, the first schedule configuration item indicated by the schedule description information in the response message is updated; or, in response to an addition operation on a second schedule configuration item, the second schedule configuration item is added to the schedule description information in the response message.
[0017] In some possible implementations, after creating the target schedule, the method further includes:
[0018] The response message is updated, wherein the updated response message indicates that the target schedule is created successfully.
[0019] In some possible implementations, the schedule configuration items indicated by the schedule description information include at least one of a schedule time period or a usage place, and the schedule description information in the response message includes: a schedule time period that satisfies the common free time periods of multiple schedule participants, multiple schedule time periods that meet the execution frequency of the target schedule, and at least one of a usage place that is idle during the schedule time period.
[0020] In some possible implementations, generating a response message according to the message to be processed includes:
[0021] Sending the message to be processed to a language model, and receiving schedule description information returned by the language model;
[0022] A response message is generated according to the schedule description information.
[0023] In some possible implementations, the schedule configuration item indicated by the schedule description information includes a schedule time period, and sending the to-be-processed message to a language model and receiving the schedule description information returned by the language model includes:
[0024] Sending the to-be-processed message to a language model, and receiving the schedule duration and multiple schedule participants of the target schedule returned by the language model;
[0025] Determine a common free time period that meets the schedule duration of the target schedule from the free time periods of the schedule participants;
[0026] The common idle time period is sent to the language model, and schedule description information returned by the language model is received, wherein the schedule time period indicated by the schedule description information satisfies the common idle time period.
[0027] In some possible implementations, the schedule configuration item indicated by the schedule description information includes a schedule time period, and sending the to-be-processed message to a language model and receiving the schedule description information returned by the language model includes:
[0028] Sending the to-be-processed message to a language model, and receiving the execution frequency of the target schedule returned by the language model;
[0029] Determining multiple execution time periods according to the execution frequency of the target schedule;
[0030] The multiple execution time periods are sent to the language model, and schedule description information returned by the language model is received, where the schedule time period indicated by the schedule description information includes the multiple execution time periods.
[0031] In some possible implementations, the schedule configuration item indicated by the schedule description information includes a usage location, and sending the to-be-processed message to a language model and receiving the schedule description information returned by the language model includes:
[0032] Sending the to-be-processed message to a language model, and receiving the schedule time period of the target schedule returned by the language model;
[0033] Determining, from the free times of a plurality of candidate places, a free place that satisfies the schedule time period;
[0034] The idle place is sent to the language model, and schedule description information returned by the language model is received, wherein the usage place indicated by the schedule description information includes the idle place.
[0035] In some possible implementations, the method further includes:
[0036] The response message is sent to the schedule participant of the target schedule, so that the target schedule is displayed in the schedule information of the schedule participant.
[0037] In a second aspect, the present application provides a schedule creation system, the system comprising:
[0038] An interaction module, configured to receive a message to be processed representing natural language content, wherein the message to be processed is used to instruct the creation of a target schedule;
[0039] A generating module, configured to generate a response message according to the message to be processed, wherein the response message includes schedule description information;
[0040] A creation module is used to create the target schedule according to the schedule description information.
[0041] In some possible implementations, the system further includes a display module, and the display module is used to:
[0042] The pending message and the response message are presented on the conversation page.
[0043] In some possible implementations, the response message includes a confirmation control, and the creation module is specifically configured to:
[0044] In response to a trigger operation on the confirmation control, the target schedule is created according to the schedule description information.
[0045] In some possible implementations, the response message includes an editing control, and the system further includes an editing module, wherein the editing module is configured to:
[0046] In response to a trigger operation on the editing control, displaying a schedule editing interface, wherein the schedule editing interface is used to edit at least one schedule configuration item indicated by the schedule description information;
[0047] In response to a modification operation on a first schedule configuration item among the at least one schedule configuration item, the first schedule configuration item indicated by the schedule description information in the response message is updated; or, in response to an addition operation on a second schedule configuration item, the second schedule configuration item is added to the schedule description information in the response message.
[0048] In some possible implementations, the generating module is further configured to:
[0049] The response message is updated, wherein the updated response message indicates that the target schedule is created successfully.
[0050] In some possible implementations, the schedule configuration items indicated by the schedule description information include at least one of a schedule time period or a usage place, and the schedule description information in the response message includes: a schedule time period that satisfies the common free time periods of multiple schedule participants, multiple schedule time periods that meet the execution frequency of the target schedule, and at least one of a usage place that is idle during the schedule time period.
[0051] In some possible implementations, the generating module is specifically used to:
[0052] Sending the to-be-processed message to a language model, and receiving schedule description information returned by the language model;
[0053] A response message is generated according to the schedule description information.
[0054] In some possible implementations, the schedule configuration item indicated by the schedule description information includes a schedule time period, and the generating module is specifically configured to:
[0055] Sending the to-be-processed message to a language model, and receiving the schedule duration and multiple schedule participants of the target schedule returned by the language model;
[0056] Determine a common free time period that meets the schedule duration of the target schedule from the free time periods of the schedule participants;
[0057] The common idle time period is sent to the language model, and schedule description information returned by the language model is received, wherein the schedule time period indicated by the schedule description information satisfies the common idle time period.
[0058] In some possible implementations, the schedule configuration item indicated by the schedule description information includes a schedule time period, and the generating module is specifically configured to:
[0059] Sending the to-be-processed message to a language model, and receiving the execution frequency of the target schedule returned by the language model;
[0060] Determining multiple execution time periods according to the execution frequency of the target schedule;
[0061] The multiple execution time periods are sent to the language model, and schedule description information returned by the language model is received, where the schedule time period indicated by the schedule description information includes the multiple execution time periods.
[0062] In some possible implementations, the schedule configuration items indicated by the schedule description information include a usage location, and the generating module is specifically configured to:
[0063] Sending the to-be-processed message to a language model, and receiving the schedule time period of the target schedule returned by the language model;
[0064] Determining, from the free times of a plurality of candidate places, a free place that satisfies the schedule time period;
[0065] The idle place is sent to the language model, and schedule description information returned by the language model is received, wherein the usage place indicated by the schedule description information includes the idle place.
[0066] In some possible implementations, the interaction module is further configured to:
[0067] The response message is sent to the schedule participant of the target schedule, so that the target schedule is displayed in the schedule information of the schedule participant.
[0068] In a third aspect, the present application provides an electronic device, the electronic device comprising a processor and a memory. The processor and the memory communicate with each other. The processor is used to execute instructions stored in the memory so that the electronic device executes the schedule creation method in the first aspect or any implementation of the first aspect.
[0069] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, wherein the instructions instruct an electronic device to execute the schedule creation method described in the first aspect or any one of the implementations of the first aspect.
[0070] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the schedule creation method described in the first aspect or any one of the implementations of the first aspect.
[0071] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations.
[0072] It can be seen from the above technical solutions that this application has the following advantages:
[0073] The present application provides a schedule creation method, which first receives a to-be-processed message representing natural language content, wherein the to-be-processed message is used to indicate the creation of a target schedule, and then generates a response message based on the to-be-processed message, the response message including schedule description information, and creates the target schedule based on the schedule description information.
[0074] This method supports users to automatically create schedules through human-computer dialogue. Users only need to input natural language content indicating the intention to create a schedule. The server (such as a digital assistant) can generate a response message for the user input message by analyzing the message input by the user, and automatically create a schedule based on the schedule description information. In this way, users do not need to manually enter schedule information one by one in the schedule creation module, and can achieve fast and efficient schedule creation through human-computer dialogue. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical method of the embodiments of the present application, the drawings required for use in the embodiments are briefly introduced below.
[0076] Figure 1 A schematic diagram of a schedule creation method provided in an embodiment of the present application;
[0077] Figures 2A to 2EA schematic diagram of a conversation page provided in an embodiment of the present application;
[0078] Figure 3 A schematic diagram of the structure of a schedule creation system provided in an embodiment of the present application;
[0079] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0080] The terms "first" and "second" in the embodiments of the present application are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0081] First, some technical terms involved in the embodiments of the present application are introduced.
[0082] With the continuous development of computer technology, office automation (OA), which combines computer technology with modern office, has emerged. Office automation can realize the automatic processing of office affairs, greatly improving the work efficiency of individual or group office affairs.
[0083] Specifically, enterprises can use OA systems (such as business platforms, business systems) to assist office work. OA systems usually include multiple system modules that provide different functions, such as instant messaging modules, form modules, task management modules, meeting modules, and calendar modules.
[0084] The schedule module can be used to create and manage user schedules, so that user schedules can be arranged clearly and reasonably. In addition, the schedule module also supports viewing other users' schedules, so as to intuitively obtain other users' free time and improve collaboration efficiency.
[0085] In the process of creating a schedule, the user can enter schedule information in the page provided by the schedule module, such as schedule subject, schedule time, schedule participants, etc., to achieve schedule creation. However, the above method requires the user to manually enter schedule information one by one in the schedule module, which is cumbersome and the efficiency of schedule creation is low.
[0086] In view of this, the present application provides a schedule creation method. The method first receives a to-be-processed message representing natural language content, wherein the to-be-processed message is used to indicate the creation of a target schedule, then generates a response message according to the to-be-processed message, the response message includes schedule description information, and creates the target schedule according to the schedule description information.
[0087] This method supports users to automatically create schedules through dialogue. Users only need to input natural language content indicating the intention to create a schedule. The server (such as a digital assistant) can generate a response message for the user input message by analyzing the message input by the user, and automatically create a schedule based on the schedule description information. In this way, users do not need to manually enter schedule information one by one in the schedule creation module, and can achieve fast and efficient schedule creation through human-computer dialogue.
[0088] To facilitate understanding of the technical solution provided by the embodiments of the present application, it will be described below with reference to the accompanying drawings.
[0089] See also Figure 1 The embodiment of the present application provides a flow chart of a schedule creation method, which specifically includes:
[0090] S101: receiving a message to be processed representing natural language content.
[0091] The pending message generally refers to a message input by a user during a human-computer dialogue. In an embodiment of the present application, the pending message may indicate the creation of a target schedule. For example, the pending message may include content for describing the target schedule subject, target schedule duration, target schedule participants, and other requirements. In this way, the user indicates the intention to create a schedule by inputting natural language.
[0092] The embodiments of the present application support users to input messages to be processed in different ways. For example, the user can input text, and the message to be processed is generated based on the text input by the user. For another example, when the device used by the user supports voice input, the user can input voice, and the message to be processed is generated by converting the user's voice into text.
[0093] In some possible implementations, the user may enter a message to be processed in a conversation page, where the conversation page refers to a page where the user interacts with the computing device in a conversational manner. For example, the conversation page may be a page provided by a digital assistant.
[0094] Depending on the application scenario, the conversation page can have different forms of expression. For example, when a user uses an independent digital assistant to conduct a human-computer dialogue, the conversation page can be a page loaded in the client corresponding to the digital assistant. For another example, when a user uses a digital assistant deployed in another system (such as a business platform) to conduct a human-computer dialogue, the conversation page can be a page loaded in the client corresponding to the other system. For another example, when a user uses a digital assistant that can be used online to conduct a human-computer dialogue, the conversation page can be a page displayed in a browser.
[0095] In specific implementation, an input box can be presented in the conversation page. The user can trigger the input box to generate an input request, and the server responds to the input request and receives the pending message input by the user. In addition, after receiving the pending message, the pending message can be presented on the conversation page. In this way, when the user has a schedule creation need, the schedule creation process can be started by inputting natural language content on the conversation page.
[0096] S102: Generate a response message according to the message to be processed.
[0097] The reply message can be understood as a message used to reply to a pending message. In an embodiment of the present application, the reply message includes schedule description information. The schedule description information can be used to describe schedule attributes from multiple aspects, and the schedule description information can indicate at least one schedule configuration item, for example, the schedule description information can indicate the schedule time period, schedule participants, and usage location, etc.
[0098] In specific implementation, a response message can be generated with the help of a language model. In some embodiments, the message to be processed can be sent to the language model, the schedule description information returned by the language model is received, and then a response message is generated according to the schedule description information. The language model can be a model with semantic understanding and semantic analysis functions and natural language processing capabilities, such as a deep learning model trained using text data.
[0099] In some embodiments, the language model may be a model deployed on the server side, and the schedule description information returned by the language model may be directly received by inputting the message to be processed into the language model. In other embodiments, the language model may also be an external model, and the schedule description information returned by the language model may be received by calling the language model after obtaining the message to be processed.
[0100] Since the language model has the ability to process natural language, it can analyze the messages to be processed through the language model, identify and understand the user's intention to create a schedule, and return the schedule description information. In this way, the schedule description information is generated with the help of the language model, and the user does not need to manually fill in multiple schedule configuration items.
[0101] Furthermore, after the response message is generated, the response message can be presented on the dialogue page. In this way, on the one hand, by presenting the response message corresponding to the message to be processed, a round of human-computer dialogue is completed. On the other hand, considering that the generated schedule description information may not fully meet the user's needs, the schedule preview can be realized by presenting the response message, which is convenient for the user to confirm the schedule description information.
[0102] In specific implementation, the reply message can be presented in the form of a card message. In this way, at least one schedule configuration item indicated by the schedule description information can be displayed intuitively and clearly on the conversation page, which is convenient for users to preview and supports users to perform subsequent operations on the schedule description information.
[0103] In some embodiments, the schedule configuration items indicated by the schedule description information include a schedule time period. In this case, the schedule description information in the response information includes a schedule time period that satisfies the common free time periods of multiple schedule participants. In other words, in the schedule time period generated in the embodiment of the present application, the schedule participants are all in an idle state.
[0104] In specific implementation, the message to be processed can be sent to the language model, and the language model returns the schedule duration of the target schedule and multiple schedule participants. Then, from the idle time periods of the multiple schedule participants, a common idle time period that meets the schedule duration of the target schedule is determined, and the common idle time period is sent to the language model, and the schedule description information returned by the language model is received, and the schedule description information indicates that the schedule time period meets the common idle time period.
[0105] The following is a specific example. When the message to be processed input by user A is "Please book me a one-hour project discussion meeting with B", the language model performs semantic recognition and semantic understanding on the message to be processed, and the language model can return that the duration of the target schedule is 1 hour, and the schedule participants include user A and user B. At this time, the server can call the schedule interface to query the schedules of user A and user B respectively, for example, using the hour or half-hour as the start time, query from the working time, obtain the free time periods of user A and user B, and determine the common free time period that meets the schedule duration (i.e., meets 1 hour) from the free time periods of user A and user B, and send the common free time period to the language model so that the language model returns the schedule description information.
[0106] In addition, when there are multiple public free time periods, the public free time periods can be sorted according to a certain priority. For example, the public free time period closest to the current time is used as the schedule time period, or the public free time period with the highest priority is used as the schedule time period according to the time interval in which the public free time period is located and the priority of the time interval (for example, the priority of the morning interval is higher than the priority of the afternoon interval). In this way, the schedule time period can be automatically determined according to the public free time periods of the schedule participants, avoiding schedule conflicts caused by schedule participants having other schedules within the schedule time period.
[0107] In other embodiments, the schedule configuration items indicated by the schedule description information include a usage location. In this case, the schedule description information in the response information includes the usage location that is idle during the schedule time period. In other words, the embodiments of the present application also support the reservation of a usage location (e.g., a conference room) during the schedule creation process.
[0108] In specific implementation, the message to be processed can be sent to the language model, and the schedule time period of the target schedule returned by the language model can be received. Then, from the free time of multiple candidate places, an idle place that meets the schedule time period can be determined, and the idle place can be sent to the language model, and the schedule description information returned by the language model can be received. The usage places indicated by the schedule description information include the idle place.
[0109] The following is a specific example. When the message to be processed entered by user A is "Please help me book an offline project discussion with B from 3 to 4 pm today", the language model performs semantic recognition and semantic understanding on the message to be processed. The language model can return that the schedule time period of the target schedule is from 3 to 4 pm today, and the offline project discussion requires the use of a venue (such as a conference room). At this time, the server can query the free time of multiple candidate venues respectively, and determine the free venue that meets the schedule time (that is, meets 3 to 4 pm today) from the free time of multiple candidate venues, and send the free venue to the language model so that the language model returns the schedule description information.
[0110] In addition, when there are multiple vacant places, the vacant places can also be sorted according to a certain priority, for example, the most recently booked vacant place is determined as the use place, or other use places in the building or floor where the most frequently booked use place is located are determined as the use place, which is not limited in the embodiments of the present application.
[0111] It should be noted that the message to be processed may also include content for describing the equipment information required for the schedule, such as content describing equipment information such as video conferencing equipment, sign-in boards, telephones, whiteboards, digital signage, and projectors. At this time, in the process of determining the idle places, the equipment information of the equipment deployed in the candidate places may also be combined to determine the idle places that meet the user's needs. In this way, when the user needs to reserve a place to use in the schedule creation, the place to use is determined in the process of generating the schedule description information.
[0112] In other embodiments, the schedule configuration items indicated by the schedule description information include schedule time periods, and in this case, the schedule description information in the response information includes multiple schedule time periods that meet the execution frequency of the target schedule. In other words, the embodiments of the present application also support the creation of schedules that need to be executed repeatedly.
[0113] In specific implementation, the message to be processed can be sent to the language model, and the execution frequency of the target schedule returned by the language model can be received. Then, based on the execution frequency of the target schedule, multiple execution time periods can be determined, and then the multiple execution time periods can be sent to the language model, and the schedule description information returned by the language model can be received. The schedule description information indicates that the schedule time period includes multiple execution time periods.
[0114] The following is a specific example. When the message to be processed input by user A is "Please book me a project discussion meeting with B from 3:00 to 4:00 p.m. every Tuesday until November 6, 2023", the language model can perform semantic recognition and semantic understanding on the message to be processed, and the language model can recognize that the target schedule is a repetitive schedule, and return the execution frequency of the target schedule as 3:00 to 4:00 p.m. every Tuesday from the current time to November 6, 2023. At this time, the server can determine multiple execution time periods that meet the execution frequency according to the execution frequency of the target schedule, such as 3:00 to 4:00 p.m. on September 12, 2023, 3:00 to 4:00 p.m. on September 19, 2023, 3:00 to 4:00 p.m. on September 26, 2023, and 3:00 to 4:00 p.m. on October 10, 2023. Then, the multiple execution time periods are sent to the language model so that the language model returns the schedule description information.
[0115] It should be noted that when the schedule configuration item also includes a usage location, multiple execution time periods and usage locations corresponding to the multiple execution time periods can be determined in combination with the execution frequency of the target schedule and the idle time of the candidate location. In this way, the embodiment of the present application can identify the creation requirements for repetitive schedules through the language model, thereby realizing the automatic determination of multiple schedule time periods for repetitive schedules.
[0116] S103: Create a target schedule according to the schedule description information.
[0117] In some possible implementations, the response message may include a confirmation control, and in response to a trigger operation on the confirmation control, the target schedule is created according to the schedule description information. In other words, the user can judge whether the schedule configuration items indicated by the schedule description information at this time meet the user's needs by previewing the response message displayed on the dialogue page, and confirm by triggering the control if it meets the user's needs, thereby realizing the automatic creation of the target schedule.
[0118] In specific implementation, the schedule module may be called to fill the schedule configuration items indicated by the schedule description information into the corresponding schedule configuration items in the schedule module, thereby creating a target schedule.
[0119] Furthermore, after the target schedule is created, the response message can be updated, and the updated response message indicates that the target schedule has been successfully created. For example, the description "schedule has been successfully created" can be added to the response message. For another example, when the response message is presented in the form of a card message, the confirmation control in the card message can be modified to a viewing control to indicate that the target schedule has been successfully created. In this way, the user is informed of the creation status of the target schedule in a timely manner, so that the user can view the schedule in a timely manner.
[0120] In addition, the embodiment of the present application also supports sending the target schedule to the schedule participants. In some embodiments, a response message can be sent to the schedule participants of the target schedule to display the target schedule in the schedule information of the schedule participants.
[0121] For example, a response message can be sent to the chat between the current user (i.e., the user who created the target schedule) and the schedule participants, thereby informing the schedule participants of the creation of the target schedule in the form of a chat message. When the schedule participants agree to join the target schedule, the target schedule can be displayed in the schedule information of the schedule participants, thereby achieving efficient schedule management.
[0122] In some possible implementations, the currently generated schedule description information does not meet the user's needs. In this case, the user can modify the schedule configuration items indicated by the schedule description information. In specific implementations, the response message may include an editing control, and in response to a trigger operation on the editing control, a schedule editing interface is displayed. The schedule editing interface is used to edit at least one schedule configuration item indicated by the schedule description information, and in response to a modification operation on a first schedule configuration item in the at least one schedule configuration item, the first schedule configuration item indicated by the schedule description information in the response message is updated. In other words, the user can modify the schedule configuration items generated in the response message, such as modifying the schedule subject, modifying the schedule time, modifying the schedule participants, etc., so as to create a target schedule that meets the user's needs.
[0123] In addition, the user can also add schedule configuration items. In specific implementation, in response to the addition operation for the second schedule configuration item, the second schedule configuration item can be added to the schedule description information of the reply message. In other words, the user can add a schedule configuration item in the reply message, such as adding a new usage place, adding a new schedule description, adding a new meeting minutes, etc., so as to enrich the schedule content.
[0124] Based on the above content description, the embodiment of the present application provides a schedule creation method. The method first receives a message to be processed representing natural language content, wherein the message to be processed is used to indicate the creation of a target schedule, and then generates a response message according to the message to be processed, the response message includes schedule description information, and creates the target schedule according to the schedule description information.
[0125] This method supports users to automatically create schedules through dialogue. Users only need to input natural language content indicating the intention to create a schedule. The server (such as a digital assistant) can generate a response message for the user input message by analyzing the message input by the user, and automatically create a schedule based on the schedule description information. In this way, users do not need to manually enter schedule information one by one in the schedule creation module, and can achieve fast and efficient schedule creation through human-computer dialogue.
[0126] Next, the schedule creation method provided by this application will be described in conjunction with specific application scenarios.
[0127] See also Figure 2A The diagram of a dialogue page shown in the figure includes an input box 201 and a dialogue presentation area 202. Specifically, the input box 201 receives the pending message input by the user, and the dialogue presentation area 202 is used to display the human-computer dialogue content (i.e., the pending message and the response message). The user can trigger the input box 201 and enter the pending message in the input box 201, such as "help me book a project discussion with B at 2 pm today". When the user triggers the send control, the pending message can be displayed in the dialogue presentation area 202.
[0128] Based on the message to be processed, a reply message can be generated. Figure 2B As shown, a response message 203 may be displayed in the conversation presentation area 202 of the conversation page 20. The response message 203 may be presented in the form of a card message, and the response message 203 includes schedule description information, and the schedule description information indicates at least one schedule configuration item, for example, the schedule subject is a project discussion meeting, the schedule time period is from 14:00 to 15:00 on September 12, and the schedule participants are user A and user B.
[0129] In some embodiments, the response message 203 may include more extensive schedule description information. Figure 2C As shown, the schedule configuration items indicated by the schedule description information may also include a usage location and an execution frequency. For example, the usage location is the conference room located in Building A 102, and the execution frequency is every Tuesday before November 6, 2023.
[0130] Furthermore, the user can trigger a confirmation operation or an editing operation on the response message. Figure 2BAs shown, in some embodiments, the reply message 203 provides an editing control, for example, the reply text may be "We will help you arrange a meeting at 2 pm today, please confirm or click here to edit", and when the user clicks the "click here to edit" control, an editing operation on the reply message may be triggered. Similarly, the reply message 203 also provides a trigger confirmation control, for example, a confirmation control is provided in a card message, and when the user triggers the confirmation control, a confirmation operation on the reply message may be triggered.
[0131] like Figure 2C As shown, in other embodiments, an edit control and a confirmation control may be provided in the card message corresponding to the response message 203. When the user triggers the edit control, an edit operation on the response message may be triggered. When the user triggers the confirmation control, a confirmation operation on the response message may be triggered.
[0132] In response to the trigger operation on the editing control, the schedule editing interface can be displayed to modify or add schedule configuration items. Figure 2D As shown, after the user triggers the editing control, the schedule editing interface 204 is displayed on the dialog page 20. The schedule editing interface 204 may include a schedule configuration item editing area ( Figure 2D left area) and the schedule viewing area ( Figure 2D The user can view the schedule of the current user or schedule participant in the schedule viewing area, and modify or add schedule configuration items in the schedule configuration item editing area to edit the schedule description information.
[0133] After the user confirms, the target schedule can be created. Figure 2E As shown, the response message in the conversation presentation area 202 of the conversation page 20 can be updated accordingly, for example, a viewing control is presented in the response message, and the user can view the target schedule by triggering the viewing control. Further, after the user edits the schedule configuration item, the target schedule can be created according to the schedule configuration item edited by the user. At this time, the text "Schedule has been manually created" can be displayed in the response message, so as to intuitively inform the user of the creation of the target schedule.
[0134] Combination of the above Figure 1 and FIG. 2A to FIG. 2E The schedule creation method provided in the embodiment of the present application is introduced in detail. The system and device provided in the embodiment of the present application will be introduced in conjunction with the accompanying drawings.
[0135] See also Figure 3 The structure diagram of the schedule creation system shown in FIG. 30 includes:
[0136] The interaction module 301 is used to receive a message to be processed representing natural language content, wherein the message to be processed is used to instruct the creation of a target schedule;
[0137] A generating module 302, configured to generate a response message according to the message to be processed, wherein the response message includes schedule description information;
[0138] The creation module 303 is used to create the target schedule according to the schedule description information.
[0139] In some possible implementations, the system further includes a display module, and the display module is used to:
[0140] The pending message and the response message are presented on the conversation page.
[0141] In some possible implementations, the response message includes a confirmation control, and the creation module 303 is specifically configured to:
[0142] In response to a trigger operation on the confirmation control, the target schedule is created according to the schedule description information.
[0143] In some possible implementations, the response message includes an editing control, and the system further includes an editing module, wherein the editing module is configured to:
[0144] In response to a trigger operation on the editing control, displaying a schedule editing interface, wherein the schedule editing interface is used to edit at least one schedule configuration item indicated by the schedule description information;
[0145] In response to a modification operation on a first schedule configuration item among the at least one schedule configuration item, the first schedule configuration item indicated by the schedule description information in the response message is updated; or, in response to an addition operation on a second schedule configuration item, the second schedule configuration item is added to the schedule description information in the response message.
[0146] In some possible implementations, the generating module 302 is further configured to:
[0147] The response message is updated, wherein the updated response message indicates that the target schedule is created successfully.
[0148] In some possible implementations, the schedule configuration items indicated by the schedule description information include at least one of a schedule time period or a usage place, and the schedule description information in the response message includes: a schedule time period that satisfies the common free time periods of multiple schedule participants, multiple schedule time periods that meet the execution frequency of the target schedule, and at least one of a usage place that is idle during the schedule time period.
[0149] In some possible implementations, the generating module 302 is specifically configured to:
[0150] Sending the message to be processed to a language model, and receiving schedule description information returned by the language model;
[0151] A response message is generated according to the schedule description information.
[0152] In some possible implementations, the schedule configuration item indicated by the schedule description information includes a schedule time period, and the generating module 302 is specifically configured to:
[0153] Sending the to-be-processed message to a language model, and receiving the schedule duration and multiple schedule participants of the target schedule returned by the language model;
[0154] Determine a common free time period that meets the schedule duration of the target schedule from the free time periods of the schedule participants;
[0155] The common idle time period is sent to the language model, and schedule description information returned by the language model is received, wherein the schedule time period indicated by the schedule description information satisfies the common idle time period.
[0156] In some possible implementations, the schedule configuration item indicated by the schedule description information includes a schedule time period, and the generating module 302 is specifically configured to:
[0157] Sending the to-be-processed message to a language model, and receiving the execution frequency of the target schedule returned by the language model;
[0158] Determining multiple execution time periods according to the execution frequency of the target schedule;
[0159] The multiple execution time periods are sent to the language model, and schedule description information returned by the language model is received, where the schedule time period indicated by the schedule description information includes the multiple execution time periods.
[0160] In some possible implementations, the schedule configuration item indicated by the schedule description information includes a usage location, and the generating module 302 is specifically configured to:
[0161] Sending the to-be-processed message to a language model, and receiving the schedule time period of the target schedule returned by the language model;
[0162] Determining, from the free times of a plurality of candidate places, a free place that satisfies the schedule time period;
[0163] The idle place is sent to the language model, and schedule description information returned by the language model is received, wherein the usage place indicated by the schedule description information includes the idle place.
[0164] In some possible implementations, the interaction module 301 is further configured to:
[0165] The response message is sent to the schedule participant of the target schedule, so that the target schedule is displayed in the schedule information of the schedule participant.
[0166] The schedule creation system 30 according to the embodiment of the present application may correspond to the method described in the embodiment of the present application, and the above and other operations and / or functions of each module / unit of the schedule creation system 30 are respectively to implement Figure 1 For the sake of brevity, the corresponding processes of each method in the illustrated embodiment are not described in detail here.
[0167] The present application also provides an electronic device. The electronic device is specifically used to implement Figure 3 The functionality of the schedule creation system 30 in the illustrated embodiment.
[0168] Figure 4 A schematic diagram of the structure of an electronic device 400 is provided. Figure 4 As shown, the electronic device 400 includes a bus 401, a processor 402, a communication interface 403 and a memory 404. The processor 402, the memory 404 and the communication interface 403 communicate with each other via the bus 401.
[0169] The bus 401 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0170] The processor 402 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0171] The communication interface 403 is used for communicating with the outside. For example, the communication interface 403 can be used for communicating with a terminal.
[0172] The memory 404 may include a volatile memory, such as a random access memory (RAM). The memory 404 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0173] The memory 404 stores executable codes, and the processor 402 executes the executable codes to perform the aforementioned schedule creation method.
[0174] Specifically, in implementing Figure 3 In the case of the embodiment shown, and Figure 3 When each module or unit of the schedule creation system 30 described in the embodiment is implemented by software, Figure 3 The software or program code required for the functions of each module / unit in the schedule creation method may be partially or completely stored in the memory 404. The processor 402 executes the program code corresponding to each unit stored in the memory 404 to perform the above-mentioned schedule creation method.
[0175] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned schedule creation method applied to the schedule creation system 30.
[0176] The embodiment of the present application further provides a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part.
[0177] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer or data center to another website, computer or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
[0178] When the computer program product is executed by a computer, the computer executes any of the aforementioned schedule creation methods. The computer program product may be a software installation package, and when any of the aforementioned schedule creation methods is needed, the computer program product may be downloaded and executed on the computer.
[0179] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to each embodiment of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0180] The units involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the unit / module does not, in some cases, constitute a limitation on the unit itself.
[0181] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0182] In the context of the present application embodiment, machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0183] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0184] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0185] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0186] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0187] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A schedule creation method, characterized in that: The method comprises: receiving a message to be processed representing natural language content, wherein the message to be processed is used to instruct the creation of a target schedule; Generate a response message according to the message to be processed, wherein the response message includes schedule description information; The target schedule is created according to the schedule description information.
2. The method according to claim 1, characterized in that The method further comprises: The pending message and the response message are presented on the conversation page.
3. The method according to claim 1, characterized in that The response message includes a confirmation control, and the creating the target schedule according to the schedule description information includes: In response to a trigger operation on the confirmation control, the target schedule is created according to the schedule description information.
4. The method according to claim 1, characterized in that The response message includes an edit control, and the method further includes: In response to a trigger operation on the editing control, displaying a schedule editing interface, wherein the schedule editing interface is used to edit at least one schedule configuration item indicated by the schedule description information; In response to a modification operation on a first schedule configuration item among the at least one schedule configuration item, the first schedule configuration item indicated by the schedule description information in the response message is updated; or, in response to an addition operation on a second schedule configuration item, the second schedule configuration item is added to the schedule description information in the response message.
5. The method according to claim 1, characterized in that After creating the target schedule, the method further includes: The response message is updated, wherein the updated response message indicates that the target schedule is created successfully.
6. The method according to claim 1, characterized in that The schedule configuration items indicated by the schedule description information include at least one of a schedule time period or a usage place, and the schedule description information in the response message includes: a schedule time period that satisfies the common free time periods of multiple schedule participants, multiple schedule time periods that meet the execution frequency of the target schedule, and at least one of a usage place that is idle during the schedule time period.
7. The method according to claim 1, characterized in that The step of generating a response message according to the message to be processed includes: Sending the message to be processed to a language model, and receiving schedule description information returned by the language model; A response message is generated according to the schedule description information.
8. The method according to claim 7, characterized in that The schedule configuration item indicated by the schedule description information includes a schedule time period, and the sending of the to-be-processed message to a language model and receiving the schedule description information returned by the language model includes: Sending the to-be-processed message to a language model, and receiving the schedule duration and multiple schedule participants of the target schedule returned by the language model; Determine a common free time period that meets the schedule duration of the target schedule from the free time periods of the schedule participants; The common idle time period is sent to the language model, and schedule description information returned by the language model is received, wherein the schedule time period indicated by the schedule description information satisfies the common idle time period.
9. The method according to claim 7, characterized in that: The schedule configuration item indicated by the schedule description information includes a schedule time period, and the sending of the to-be-processed message to a language model and receiving the schedule description information returned by the language model includes: Sending the to-be-processed message to a language model, and receiving the execution frequency of the target schedule returned by the language model; Determining multiple execution time periods according to the execution frequency of the target schedule; The multiple execution time periods are sent to the language model, and schedule description information returned by the language model is received, where the schedule time period indicated by the schedule description information includes the multiple execution time periods.
10. The method according to claim 7, characterized in that The schedule configuration item indicated by the schedule description information includes a usage location, and the sending of the to-be-processed message to a language model and receiving the schedule description information returned by the language model include: Sending the to-be-processed message to a language model, and receiving the schedule time period of the target schedule returned by the language model; Determining, from the free times of a plurality of candidate places, a free place that satisfies the schedule time period; The idle place is sent to the language model, and schedule description information returned by the language model is received, wherein the usage place indicated by the schedule description information includes the idle place.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: The response message is sent to the schedule participant of the target schedule, so that the target schedule is displayed in the schedule information of the schedule participant.
12. A schedule creation system, characterized in that: The system comprises: A receiving module, used for receiving a message to be processed representing natural language content, wherein the message to be processed is used for instructing to create a target schedule; A generating module, configured to generate a response message according to the message to be processed, wherein the response message includes schedule description information; A creation module is used to create the target schedule according to the schedule description information.
13. An electronic device, characterized in that: The electronic device comprises a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The method comprises instructions, wherein the instructions instruct an electronic device to execute the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Schedule creating method and device
CN109558175A
Conference room reservation method, device and equipment and storage medium
CN111639775A
Conference time recommendation method and device, computer equipment and storage medium
CN112990846A
Task creation method and device, electronic equipment and storage medium
CN113011841A
Method and Apparatus for Gathering Participant Free Time to Schedule Events on an Electronic Calendar
US20090018878A1
Cited By
Intelligent device for schedule management and access control method and system thereof
CN121073422A
Application configuration method, application running method, application creation method, and device and medium
WO2026026008A1
