Schedule management method and device
By automatically obtaining and processing schedule information in notification messages, the problem of cumbersome management of schedule information is solved by users manually, improving the reliability and simplicity of schedule management.
Patent Information
- Application Number
- CN202411464634.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-02-07
AI Technical Summary
The existing schedule management method requires users to manually add, delete or change schedule information, resulting in information being easily missed and cumbersome.
By obtaining a notification message and determining its message type, if the message type indicates that it contains schedule information, the corresponding operation instructions are determined and the operation of saving, deleting, or changing schedule information is performed.
Reduces the risk of omission and untimely update of schedule information, improves the reliability of schedule management, and simplifies operational processes.
Smart Images

Figure CN119398733A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic equipment, and specifically relates to a schedule management method and device thereof. Background Art
[0002] In work and life, we will receive meeting and event notification messages from various communication applications. Based on the intelligent information management of electronic devices, these notification contents can be recorded in the schedule management application so that users can check the schedule information in the daily management application to avoid missing meetings or activities due to forgetting the schedule information.
[0003] Currently, schedule management often requires users to manually add schedule information in the schedule management application when receiving such notification messages. However, since the number of such notification messages may be large and come from various different applications, the manual addition method makes it easy for schedule information to be missed and the operation is cumbersome. Therefore, it is necessary to provide a more intelligent schedule management method to simplify the operation of schedule management and improve the reliability of schedule management. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a schedule management method and device thereof, which can solve the problem that schedule information is easily missed and the operation is cumbersome.
[0005] In a first aspect, an embodiment of the present application provides a schedule management method, the method comprising:
[0006] Get notification messages, which are associated with applications;
[0007] In the case where the application associated with the notification message is any application among the preset N applications, determining the message type of the notification message, where N is a positive integer;
[0008] In a case where the message type indicates that the notification message includes schedule information, determining an operation instruction corresponding to the schedule information;
[0009] The target operation is performed according to the operation instruction, and the target operation includes at least one of the following: saving schedule information, deleting schedule information, and changing schedule information.
[0010] In a second aspect, an embodiment of the present application provides a schedule management device, the device comprising:
[0011] An acquisition module is used to acquire notification messages, which are associated with applications;
[0012] A first determination module, configured to determine a message type of the notification message when the application associated with the notification message is any one of N preset applications, where N is a positive integer;
[0013] A second determining module, configured to determine an operation instruction corresponding to the schedule information when the message type indicates that the notification message includes schedule information;
[0014] The execution module is used to execute the target operation according to the operation instruction, and the target operation includes at least one of the following: saving schedule information, deleting schedule information and changing schedule information.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0018] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0019] In an embodiment of the present application, when a notification message is received and it is determined that the application associated with the notification message is a preset application, the message type of the notification message can be determined. If the message type indicates that the notification message includes schedule information, the operation instruction corresponding to the schedule information can be determined, and the operation of saving the schedule information, deleting the schedule information, or changing the schedule information is performed according to the operation instruction. In this way, the risk of missing or untimely updating of schedule information due to manual addition, deletion, or change of schedule information by the user is reduced, the reliability of schedule management can be improved, and the operation of schedule management is simplified. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flowchart of a schedule management method provided in an embodiment of the present application;
[0021] Figure 2 This is one of the interface diagrams in the schedule management method provided in the embodiment of the present application;
[0022] Figure 3 This is the second interface diagram of the schedule management method provided in the embodiment of the present application;
[0023] Figure 4 It is a schematic diagram of a specific scenario implementation of the schedule management method provided in the embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of the vectorization of schedule information in the schedule management method provided in an embodiment of the present application;
[0025] Figure 6 is a schematic diagram of another specific scenario embodiment of the schedule management method provided in an embodiment of the present application;
[0026] Figure 7 It is a structural schematic diagram of a schedule management device provided in an embodiment of the present application;
[0027] Figure 8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0028] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0030] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0031] The schedule management method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0032] Figure 1 : is a flow chart of a schedule management method provided by an embodiment of the present application. The schedule management method may include:
[0033] Step 101: Obtain a notification message, where the notification message is associated with an application.
[0034] In step 101, the notification message is associated with the application, which can be understood as any application (Application, APP) can receive the notification message, that is, the notification message received by it can be associated with the application. The electronic device can obtain the notification message received by the installed APP.
[0035] Step 102: When the application associated with the notification message is any one of the preset N applications, determine the message type of the notification message, where N is a positive integer.
[0036] In step 102, the preset N applications may be applications preset based on user operations, or may be all applications in at least one preset category after classifying all applications in the electronic device.
[0037] As a specific example, in order to meet the different needs of users for schedule management and improve the flexibility of schedule management, the preset N applications can be applications selected by the user based on the user's operation. Figure 2 As shown, based on some operations of the user, the electronic device can display the APP authorization interface 201, and the authorized APP can be considered as the preset application 202. In other words, if the notification message of these applications contains schedule information, the schedule information can be automatically extracted and related operations can be performed, such as saving, deleting or changing the schedule information to manage it. The user can determine the preset application 202 based on his own needs. The following will take the preset application 202 as APP1, APP2 and APP3 as an example for explanation.
[0038] In the case where the application associated with the notification message is any application among the preset N applications, for example, if the application associated with the notification message is APP1, the message type of the notification message can be determined at this time.
[0039] For example, the message type of the notification message may be determined through intent recognition, that is, it may be determined whether the notification message is a notification message related to schedule information or a notification message unrelated to schedule information.
[0040] Step 103: When the message type indicates that the notification message includes schedule information, determine an operation instruction corresponding to the schedule information.
[0041] In step 103, if the message type indicates that the notification message includes schedule information, semantic analysis may be performed on the schedule information to analyze the operation instructions corresponding to the schedule information, that is, to determine whether to save the schedule information, delete the schedule information, or change the schedule information.
[0042] Step 104, performing a target operation according to the operation instruction, where the target operation includes at least one of the following: saving schedule information, deleting schedule information, and changing schedule information.
[0043] In step 104, if the operation instruction is an instruction to save the schedule information, the schedule information extracted from the notification message can be saved so that the subsequent user can view it or remind the user. If the operation instruction is an instruction to delete the schedule information, the target schedule information that matches the schedule information in the notification message can be found from the saved schedule information, and the target schedule information can be deleted. If the operation instruction is an instruction to change the schedule information, the target schedule information that matches the schedule information in the notification message can be found from the saved schedule information, and the target schedule information can be changed, for example, the schedule time or schedule location can be changed.
[0044] In an embodiment of the present application, when a notification message is received and it is determined that the application associated with the notification message is a preset application, the message type of the notification message can be determined. If the message type indicates that the notification message includes schedule information, the operation instruction corresponding to the schedule information can be determined, and the operation of saving the schedule information, deleting the schedule information, or changing the schedule information is performed according to the operation instruction. In this way, the risk of missing or untimely updating of schedule information due to manual addition, deletion, or change of schedule information by the user is reduced, the reliability of schedule management can be improved, and the operation of schedule management is simplified.
[0045] In some embodiments, when the notification message is a group notification message, the notification message is associated with a user tag;
[0046] The above step 102 may include:
[0047] When the application associated with the notification message is any one of the preset N applications, and the associated user tag is any one of the preset M user tags, the message type of the notification message is determined, where M is a positive integer.
[0048] In this embodiment, if the notification message is a group notification message, then the group notification message may be sent to the user or to other people in the group. Based on this, a user tag may be set for the user in advance to match the group notification message. Figure 3 As shown, in response to relevant operations of the user, the electronic device displays a user tag setting interface 301 , and the user tag can be freely set based on the user's needs to obtain a preset user tag 302 .
[0049] The user tag may include a user nickname, a user alias, a user name, the name of the organization to which the user belongs, etc. It is understandable that "everyone" may be used as the user tag by default.
[0050] If the user tag associated with the notification message is any one of the preset M user tags, for example, the notification message is a notification message @ everyone, or a notification message @ user nickname, then the notification message can be considered as a notification message related to the user.
[0051] When the notification message is a notification message associated with a preset application and the notification message is related to the user, the message type of the notification message is determined to determine whether the notification message includes schedule information.
[0052] In this way, notification messages irrelevant to the user can be filtered out based on the user tag, so that schedule information can be automatically extracted from notification messages relevant to the user, thereby improving the reliability of schedule management and simplifying the operation of schedule management.
[0053] In some embodiments, the schedule information includes key information, and the key information includes at least one of the schedule time, schedule content, and the schedule location and an application associated with the notification message;
[0054] When the target operation is to delete schedule information or change schedule information, the above step 104 may include:
[0055] Matching the key information with key information of at least one saved schedule information to determine a similarity corresponding to each saved schedule information;
[0056] Determine the saved schedule information with the greatest similarity as the target schedule information;
[0057] Based on the target schedule information, the target operation is performed according to the operation instruction.
[0058] In this embodiment, the schedule information may include key information, and the key information may be the schedule time and the schedule content. In some examples, the key information may also include at least one of the schedule location and the application associated with the notification message. In order to facilitate understanding of the technical solution of the embodiment of the present application, the following will be described by taking the key information including the schedule time, schedule content, schedule location and the application (i.e., source) associated with the notification message as an example.
[0059] Extracting the schedule information may be extracting the above key information and saving the key information.
[0060] When the target operation is to delete or modify schedule information, it is necessary to find the target schedule information to be deleted or modified from the saved schedule information and delete or modify it.
[0061] For example, the key information of the schedule information can be matched with the key information of at least one saved schedule information, such as matching the schedule time, schedule content, schedule location and application associated with the notification message, to determine the similarity corresponding to each saved schedule information.
[0062] In actual application scenarios, the description of the same schedule information may have some deviations in expression. Based on this, different weights can be assigned to each type of the above key information to calculate the similarity corresponding to each saved schedule information according to the weight.
[0063] For example, if the schedule time of the schedule information matches the schedule information of a saved schedule information, the similarity corresponding to the saved schedule information is recorded as 0.3 points. If the schedule time of the schedule information does not match the schedule information of a saved schedule information, the similarity corresponding to the saved schedule information is recorded as 0 points. If the application associated with the notification message matches the source of a saved schedule information, the similarity corresponding to the saved schedule information is recorded as 0.1 points. If the application associated with the notification message does not match the source of a saved schedule information, the similarity corresponding to the saved schedule information is recorded as 0 points. After matching all key information types, the total score of the similarity is calculated.
[0064] The saved schedule information with the greatest similarity can be determined as the target schedule information. If the operation instruction is to delete the schedule information, the target schedule information can be deleted. If the operation instruction is to change the schedule information, the target schedule information can be changed.
[0065] In this way, based on key information such as schedule time, schedule content, schedule location and source of the schedule information, the target schedule information with the highest similarity can be matched from the saved schedule information to delete or modify the target schedule information, thereby improving the accuracy of the execution object of the target operation and thus improving the reliability of schedule management.
[0066] In some embodiments, when the target operation is to save schedule information, the above step 104 may include:
[0067] Performing vector processing on the schedule information to obtain a vector value of the schedule information;
[0068] Associatively storing schedule information and a vector value of the schedule information;
[0069] The above-mentioned matching the key information with the key information of at least one saved schedule information to determine the similarity corresponding to each saved schedule information may include:
[0070] The cosine similarity between the vector value of each saved schedule information and the vector value of the schedule information is determined as the similarity corresponding to each saved schedule information.
[0071] In this embodiment, the target operation may be to save schedule information. At this time, the schedule information can be extracted from the notification message.
[0072] Exemplarily, as Figure 4 shown, in a specific scenario embodiment, the following steps may be included:
[0073] Step 401, the electronic device may receive a notification message from APP1. The notification message may be: "Hi! Hello, Zhang San. Regarding the xxx review meeting, it will start at xx time and is expected to take 1 hour. Meeting number: xxx".
[0074] Step 402, the electronic device may receive a notification message from APP2. The notification message may be: "Dear parents, this parents' meeting will start at xx time at xx location. I hope everyone can attend on time @所有人".
[0075] Step 403, the electronic device may receive a notification message from APP3. The notification message may be: "[Meeting Notice] Subject: xxx; Time: xxx; Meeting number: xxx; Participants: @Zhang San @xxx".
[0076] Step 404, identify the type of the notification message by intent: It can be determined whether the notification message is a notification message including schedule information through intent recognition.
[0077] Step 405, perform semantic analysis on the operation instruction: When it is determined that the notification message includes schedule information, semantic analysis can be performed on the schedule message, and it can be determined that the operation instruction is to save schedule information.
[0078] Step 406, extract the schedule information: For the operation of saving schedule information, the schedule information can be extracted from the notification messages of APP1, APP2, and APP3 respectively, and four key information, namely content, time, location, and source, can be extracted.
[0079] Step 407, obtain Schedule A.
[0080] Step 408, obtain Schedule B.
[0081] Step 409, obtain Schedule C.
[0082] In some examples, multiple schedules can be arranged in chronological order of time to better manage the schedules.
[0083] Saving the schedule information may also vectorize the schedule information to obtain a vector value of the schedule information, and store the schedule information in association with the vector value of the schedule information. For example, the electronic device may convert the schedule information into a vector value through a vector model, wherein the dimension of the vector value may be determined based on the vector model.
[0084] For example, Figure 5 As shown, in a specific scenario embodiment, schedule A 501 , schedule B 502 and schedule C 503 can be input into the vector model 504 respectively, converted into vector 1 , vector 2 and vector 3 , and vector 1 , vector 2 and vector 3 can be stored in the vector value database 505 .
[0085] When the target operation is to delete or modify schedule information, after the schedule information is vectorized, the target schedule information to be deleted or modified can be determined by the cosine similarity between the vector values.
[0086] For example, to compare whether the vector values of two schedule information are similar, it can generally be measured by calculating the cosine similarity between the two vector values. The range of cosine similarity is generally 0 to 1, the larger the value, the more similar, and 1 means that they are completely identical.
[0087] The vector value of the schedule information may be A, and the vector value of a certain saved schedule information may be B. The calculation formula for the cosine similarity between the vector value of the saved schedule information and the vector value of the schedule information may be as shown in formula (1):
[0088]
[0089] Among them, similarity is the cosine similarity, A is the vector value of the schedule information, B is the vector value of the saved schedule information, A i is the i-th dimension of the vector value of the schedule information, B i is the i-th dimension of the vector value of the saved schedule information.
[0090] The cosine similarity between the vector value of the saved schedule information and the vector value of the schedule information can be determined as the similarity corresponding to the saved schedule information. In other words, the saved schedule information with the largest cosine similarity can be determined as the target schedule information to be deleted or modified.
[0091] like Figure 6 As shown, in a specific scenario embodiment, it may include:
[0092] In step 601, the electronic device may obtain a notification message, which may be: "Dear parents, the parent meeting originally scheduled for xx time is temporarily cancelled due to weather reasons @ everyone".
[0093] Step 602, intent identification of notification message type: intent identification may be used to determine whether the notification message includes schedule information.
[0094] Step 603, semantic analysis of the operation instruction: when it is determined that the notification message includes schedule information, semantic analysis may be performed on the schedule message, and it may be determined that the operation instruction is to delete the schedule information.
[0095] Step 604: input the schedule information into the vector model to obtain the vector value of the schedule information.
[0096] Step 605, matching the vector value of the schedule information with the vector value of the schedule information stored in the vector value database, and finding that the cosine similarity between vector 2 and the vector value of the schedule information is the largest, schedule B corresponding to vector 2 can be determined as the target schedule information.
[0097] Step 606, schedule B is deleted.
[0098] In this way, the schedule information can be vectorized to obtain the vector value of the schedule information, so that the schedule management can be performed based on the vector value, which further simplifies the schedule management process. In addition, the cosine similarity can be calculated based on the vector value, so that the target schedule information with the highest similarity can be matched from the saved schedule information, so that the target schedule information can be deleted or modified, thereby improving the accuracy of the execution object of the target operation and thus improving the reliability of schedule management.
[0099] In some embodiments, determining the saved schedule information with the greatest similarity as the target schedule information may include:
[0100] Determine K preliminary selected vector values whose corresponding cosine similarity is greater than or equal to a preset threshold, the preliminary selected vector value is the vector value of the saved schedule information, and K is a positive integer;
[0101] Determine the target vector value with the largest cosine similarity among the K preliminary selected vector values;
[0102] The saved schedule information associated with the target vector value is determined as the target schedule information.
[0103] In this embodiment, K preliminary vector values whose cosine similarity is greater than or equal to a preset threshold can be determined from the vector values corresponding to at least one saved schedule information. The preset threshold can be set according to actual needs. For example, the preset threshold can be 0.8, which is not specifically limited here.
[0104] A target vector value having the largest cosine similarity among the K initially selected vector values may be determined, and the saved schedule information associated with the target vector value may be determined as the target schedule information.
[0105] In other words, if the maximum cosine similarity between the vector value of at least one saved schedule information and the vector value of the schedule information is less than a preset threshold, it can be considered that there is no target schedule information that needs to be deleted or changed in at least one saved schedule information, and the target operation is not performed.
[0106] In this way, a preset threshold can be set for the cosine similarity. Only when it is greater than or equal to the preset threshold, it is determined that the two schedule information matches. In this way, the accuracy of the execution object of the target operation is further improved, and the reliability of schedule management is further improved.
[0107] In some embodiments, the schedule information includes the schedule time and the schedule location. After step 104, the schedule management method may further include:
[0108] Acquiring environmental information, the environmental information including at least one of a current location, a current time, weather, and a city traffic condition;
[0109] Determine the reminder time and content of the schedule according to the environmental information, schedule time and schedule location;
[0110] Output reminder information of schedule information based on reminder time and reminder content.
[0111] In this embodiment, the electronic device also reminds the schedule information. For example, environmental information can be obtained, and the environmental information can include information such as current time, current location, weather, and city traffic conditions.
[0112] According to the environmental information, the schedule time and the schedule location, the reminder time and reminder content of the schedule are determined, and based on the reminder time and reminder content, the reminder information of the schedule information is output.
[0113] For example, the traffic time can be calculated based on the distance between the current location and the scheduled location, the weather and city traffic conditions, and the reminder time can be determined based on the traffic time. For example, if the traffic time is within 1 hour, the reminder information can be output starting two hours before the start time of the schedule. The reminder content may include weather, city traffic conditions, traffic time, as well as schedule theme, schedule time, schedule location and other information.
[0114] For example, a schedule information may be "The theme is press conference, the time is October 20, 19:00-21:30, the location is the Science and Technology Building, and the source is APP1". It can be combined with environmental information to output a reminder message "Hello user, the "press conference" will start in two hours at the Science and Technology Building. It will rain today. It will take about 45 minutes to drive there and 50 minutes to take the subway."
[0115] In this way, schedule planning can be carried out based on the schedule information combined with the environmental information, and the reminder time and reminder content of the schedule information can be determined to provide intelligent reminders for the schedule information, thereby improving the effect of intelligent schedule management.
[0116] The schedule management method provided in the embodiment of the present application can be executed by a schedule management device. In the embodiment of the present application, the schedule management device provided in the embodiment of the present application is described by taking the schedule management method executed by the schedule management device as an example.
[0117] like Figure 7 As shown, the embodiment of the present application provides a schedule management device 700, and the schedule management device 700 may include:
[0118] An acquisition module 701 is used to acquire a notification message, where the notification message is associated with an application;
[0119] A first determination module 702, configured to determine a message type of the notification message when the application associated with the notification message is any one of N preset applications, where N is a positive integer;
[0120] A second determination module 703, configured to determine an operation instruction corresponding to the schedule information when the message type indicates that the notification message includes schedule information;
[0121] The execution module 704 is used to execute the target operation according to the operation instruction, and the target operation includes at least one of the following: saving schedule information, deleting schedule information and changing schedule information.
[0122] In an embodiment of the present application, when a notification message is received and it is determined that the application associated with the notification message is a preset application, the message type of the notification message can be determined. If the message type indicates that the notification message includes schedule information, the operation instruction corresponding to the schedule information can be determined, and the operation of saving the schedule information, deleting the schedule information, or changing the schedule information is performed according to the operation instruction. In this way, the risk of missing or untimely updating of schedule information due to manual addition, deletion, or change of schedule information by the user is reduced, the reliability of schedule management can be improved, and the operation of schedule management is simplified.
[0123] In some embodiments, the schedule information includes key information, and the key information includes at least one of the schedule time, schedule content, and the schedule location and an application associated with the notification message;
[0124] When the target operation is to delete schedule information or modify schedule information, the execution module 704 may further include:
[0125] A first determining unit, configured to match the key information with key information of at least one saved schedule information, and determine a similarity corresponding to each saved schedule information;
[0126] A second determining unit, configured to determine the saved schedule information with the greatest similarity as the target schedule information;
[0127] The execution unit is used to execute the target operation according to the operation instruction based on the target schedule information.
[0128] In this way, based on key information such as schedule time, schedule content, schedule location and source of the schedule information, the target schedule information with the highest similarity can be matched from the saved schedule information to delete or modify the target schedule information, thereby improving the accuracy of the execution object of the target operation and thus improving the reliability of schedule management.
[0129] In some embodiments, when the target operation is to save schedule information, the execution module 704 may also be used to:
[0130] Performing vector processing on the schedule information to obtain a vector value of the schedule information;
[0131] Associatively storing schedule information and a vector value of the schedule information;
[0132] The first determining unit 702 may also be used to:
[0133] The cosine similarity between the vector value of each saved schedule information and the vector value of the schedule information is determined as the similarity corresponding to each saved schedule information.
[0134] In this way, the schedule information can be vectorized to obtain the vector value of the schedule information, so that the schedule management can be performed based on the vector value, which further simplifies the schedule management process. In addition, the cosine similarity can be calculated based on the vector value, so that the target schedule information with the highest similarity can be matched from the saved schedule information, so that the target schedule information can be deleted or modified, thereby improving the accuracy of the execution object of the target operation and thus improving the reliability of schedule management.
[0135] In some embodiments, the second determining unit 703 may also be used to:
[0136] Determine K preliminary selected vector values whose corresponding cosine similarity is greater than or equal to a preset threshold, the preliminary selected vector value is the vector value of the saved schedule information, and K is a positive integer;
[0137] Determine the target vector value with the largest cosine similarity among the K preliminary selected vector values;
[0138] The saved schedule information associated with the target vector value is determined as the target schedule information.
[0139] In this way, a preset threshold can be set for the cosine similarity. Only when it is greater than or equal to the preset threshold, it is determined that the two schedule information matches. In this way, the accuracy of the execution object of the target operation is further improved, and the reliability of schedule management is further improved.
[0140] In some embodiments, the schedule information includes the schedule time and the schedule location, and the schedule management device 700 may further include:
[0141] An acquisition module, used to acquire environmental information, the environmental information including at least one of the current location, current time, weather and urban road conditions;
[0142] The third determination module is used to determine the reminder time and reminder content of the schedule according to the environmental information, the schedule time and the schedule location;
[0143] The output module is used to output the reminder information of the schedule information based on the reminder time and reminder content.
[0144] In this way, schedule planning can be carried out based on the schedule information combined with the environmental information, and the reminder time and reminder content of the schedule information can be determined to provide intelligent reminders for the schedule information, thereby improving the effect of intelligent schedule management.
[0145] The schedule management device in the embodiment of the present application can be a device, or a component in the device, such as an integrated circuit or a chip. The device can be a terminal, or other devices other than a terminal. Exemplarily, the device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0146] The schedule management device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0147] The schedule management device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0148] Alternatively, if Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801 and a memory 802, wherein the memory 802 stores programs or instructions that can be executed on the processor 801, and when the program or instructions are executed by the processor 801, the various steps of the above-mentioned schedule management method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0149] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0150] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0151] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.
[0152] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0153] The processor 910 may be used for:
[0154] Get notification messages, which are associated with applications;
[0155] In the case where the application associated with the notification message is any application among the preset N applications, determining the message type of the notification message, where N is a positive integer;
[0156] In a case where the message type indicates that the notification message includes schedule information, determining an operation instruction corresponding to the schedule information;
[0157] The target operation is performed according to the operation instruction, and the target operation includes at least one of the following: saving schedule information, deleting schedule information, and changing schedule information.
[0158] In an embodiment of the present application, when a notification message is received and it is determined that the application associated with the notification message is a preset application, the message type of the notification message can be determined. If the message type indicates that the notification message includes schedule information, the operation instruction corresponding to the schedule information can be determined, and the operation of saving the schedule information, deleting the schedule information, or changing the schedule information is performed according to the operation instruction. In this way, the risk of missing or untimely updating of schedule information due to manual addition, deletion, or change of schedule information by the user is reduced, the reliability of schedule management can be improved, and the operation of schedule management is simplified.
[0159] In some embodiments, the schedule information includes key information, and the key information includes at least one of the schedule time, schedule content, and the schedule location and an application associated with the notification message;
[0160] When the target operation is to delete schedule information or modify schedule information, the processor 910 may also be configured to:
[0161] Matching the key information with key information of at least one saved schedule information to determine a similarity corresponding to each saved schedule information;
[0162] Determine the saved schedule information with the greatest similarity as the target schedule information;
[0163] Based on the target schedule information, the target operation is performed according to the operation instruction.
[0164] In this way, based on key information such as schedule time, schedule content, schedule location and source of the schedule information, the target schedule information with the highest similarity can be matched from the saved schedule information to delete or modify the target schedule information, thereby improving the accuracy of the execution object of the target operation and thus improving the reliability of schedule management.
[0165] In some embodiments, when the target operation is to save schedule information, the processor 910 may also be configured to:
[0166] Performing vector processing on the schedule information to obtain a vector value of the schedule information;
[0167] Associatively storing schedule information and a vector value of the schedule information;
[0168] The cosine similarity between the vector value of each saved schedule information and the vector value of the schedule information is determined as the similarity corresponding to each saved schedule information.
[0169] In this way, the schedule information can be vectorized to obtain the vector value of the schedule information, so that the schedule management can be performed based on the vector value, which further simplifies the schedule management process. In addition, the cosine similarity can be calculated based on the vector value, so that the target schedule information with the highest similarity can be matched from the saved schedule information, so that the target schedule information can be deleted or modified, thereby improving the accuracy of the execution object of the target operation and thus improving the reliability of schedule management.
[0170] In some embodiments, the processor 910 may also be configured to:
[0171] Determine K preliminary selected vector values whose corresponding cosine similarity is greater than or equal to a preset threshold, the preliminary selected vector value is the vector value of the saved schedule information, and K is a positive integer;
[0172] Determine the target vector value with the largest cosine similarity among the K preliminary selected vector values;
[0173] The saved schedule information associated with the target vector value is determined as the target schedule information.
[0174] In this way, a preset threshold can be set for the cosine similarity. Only when it is greater than or equal to the preset threshold, it is determined that the two schedule information matches. In this way, the accuracy of the execution object of the target operation is further improved, and the reliability of schedule management is further improved.
[0175] In some embodiments, the schedule information includes the schedule time and the schedule location. The processor 910 may further include:
[0176] An acquisition module, used to acquire environmental information, the environmental information including at least one of the current location, current time, weather and urban road conditions;
[0177] The third determination module is used to determine the reminder time and reminder content of the schedule according to the environmental information, the schedule time and the schedule location;
[0178] The output module is used to output the reminder information of the schedule information based on the reminder time and reminder content.
[0179] In this way, schedule planning can be carried out based on the schedule information combined with the environmental information, and the reminder time and reminder content of the schedule information can be determined to provide intelligent reminders for the schedule information, thereby improving the effect of intelligent schedule management.
[0180] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and at least one of other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0181] The memory 909 can be used to store software programs and various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 909 may include a volatile memory or a non-volatile memory, or the memory 909 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0182] The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 910.
[0183] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned schedule management method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0184] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0185] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned schedule management method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0186] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0187] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned schedule management method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0188] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes 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 one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0189] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0190] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A schedule management method, characterized in that: The method comprises: Obtain a notification message, wherein the notification message is associated with an application; In a case where the application associated with the notification message is any one of N preset applications, determining a message type of the notification message, where N is a positive integer; In a case where the message type indicates that the notification message includes schedule information, determining an operation instruction corresponding to the schedule information; A target operation is performed according to the operation instruction, wherein the target operation includes at least one of the following: saving schedule information, deleting schedule information, and changing schedule information.
2. The method according to claim 1, characterized in that: The schedule information includes key information, and the key information includes at least one of the schedule time, schedule content, and schedule location and the application associated with the notification message; In the case where the target operation is to delete schedule information or to change schedule information, performing the target operation according to the operation instruction includes: Matching the key information with key information of at least one saved schedule information to determine a similarity corresponding to each saved schedule information; Determine the saved schedule information with the greatest similarity as the target schedule information; Based on the target schedule information, a target operation is performed according to the operation instruction.
3. The method according to claim 2, characterized in that In the case where the target operation is to save schedule information, performing the target operation according to the operation instruction includes: Performing vectorization processing on the schedule information to obtain a vector value of the schedule information; storing the schedule information and the vector value of the schedule information in association with each other; The step of matching the key information with key information of at least one saved schedule information to determine the similarity corresponding to each saved schedule information includes: The cosine similarity between the vector value of each saved schedule information and the vector value of the schedule information is determined as the similarity corresponding to each saved schedule information.
4. The method according to claim 3, characterized in that The step of determining the saved schedule information with the greatest similarity as the target schedule information includes: Determine K preliminary selected vector values whose corresponding cosine similarity is greater than or equal to a preset threshold, wherein the preliminary selected vector value is the vector value of the saved schedule information, and K is a positive integer; Determine a target vector value having the largest cosine similarity among the K preliminary selected vector values; The saved schedule information associated with the target vector value is determined as the target schedule information.
5. The method according to claim 1, characterized in that The schedule information includes the schedule time and the schedule location. After performing the target operation according to the operation instruction, the method further includes: Acquiring environmental information, the environmental information including at least one of a current location, a current time, weather, and a city traffic condition; Determining the reminder time and reminder content of the schedule according to the environmental information, the schedule time and the schedule location; Based on the reminder time and reminder content, the reminder information of the schedule information is output.
6. A schedule management device, characterized in that: The device comprises: An acquisition module, used to acquire a notification message, wherein the notification message is associated with an application; A first determination module, configured to determine a message type of the notification message when the application associated with the notification message is any one of N preset applications, where N is a positive integer; A second determining module, configured to determine an operation instruction corresponding to the schedule information when the message type indicates that the notification message includes schedule information; The execution module is used to execute the target operation according to the operation instruction, and the target operation includes at least one of the following: saving schedule information, deleting schedule information and changing schedule information.
7. The device according to claim 6, characterized in that The schedule information includes key information, and the key information includes at least one of the schedule time, schedule content, and schedule location and the application associated with the notification message; In the case where the target operation is to delete schedule information or to modify schedule information, the execution module further includes: A first determining unit, configured to match the key information with key information of at least one saved schedule information, and determine a similarity corresponding to each saved schedule information; A second determining unit, configured to determine the saved schedule information with the greatest similarity as the target schedule information; An execution unit is used to execute a target operation according to the operation instruction based on the target schedule information.
8. The device according to claim 7, characterized in that When the target operation is to save schedule information, the execution module is further configured to: Performing vectorization processing on the schedule information to obtain a vector value of the schedule information; storing the schedule information and the vector value of the schedule information in association with each other; The first determining unit is further configured to: The cosine similarity between the vector value of each saved schedule information and the vector value of the schedule information is determined as the similarity corresponding to each saved schedule information.
9. The device according to claim 8, characterized in that The second determining unit is further configured to: Determine K preliminary selected vector values whose corresponding cosine similarity is greater than or equal to a preset threshold, wherein the preliminary selected vector value is the vector value of the saved schedule information, and K is a positive integer; Determine a target vector value having the largest cosine similarity among the K preliminary selected vector values; The saved schedule information associated with the target vector value is determined as the target schedule information.
10. The device according to claim 6, characterized in that The schedule information includes schedule time and schedule location, and the device further includes: An acquisition module, used to acquire environmental information, wherein the environmental information includes at least one of a current location, a current time, weather, and a city road condition; A third determination module is used to determine the reminder time and reminder content of the schedule according to the environmental information, the schedule time and the schedule location; The output module is used to output the reminder information of the schedule information based on the reminder time and reminder content.