Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Embodiment one
Embodiments of the invention provide a kind of schedule correlating method, and are as shown in Figure 1, comprising:
101, receive the calendar information of user's input and from said calendar information, extract keyword message.
Wherein, the calendar information of said user's input can be a detailed incident, and said detailed incident can be the incident that comprises information such as time, place and person.For example, " I go to Hong Kong Saturday with mother ", the personage is " I and mother ", and the time is " Saturday ", and the place is " Hong Kong ".Said calendar information also can be not detailed incident, for example, " going to Hong Kong ", the place is " Hong Kong ", does not have personage and time.And, when receiving the calendar information of user's input, distribute the schedule numbering can also for said calendar information.The corresponding unique schedule numbering of each bar calendar information in the schedule database when arbitrary calendar information in the demonstration schedule database, can also show the numbering of this calendar information, distinguishes different calendar informations.Said keyword message can be the particular content in the said calendar information, comprises time, place and/or personage etc.Said keyword message can comprise a plurality of key words, but is a key word at least.For example, calendar information is " I go to Hong Kong Saturday with mother ", can extract the key word of " I ", " mother ", this schedule of " Saturday ", " Hong Kong " conduct " I go to Hong Kong Saturday with mother ".Said extraction keyword message can select particular content in the calendar information as said keyword message through the user, also can be according to syntax rule, and the information such as time, place and/or personage in the calendar information extracted are as said keyword message.
102, according to said keyword message inquiry schedule database, obtain related calendar information with said keyword message coupling.
Wherein, Exist the calendar information of having stored key word to be arranged correspondence in the said schedule database; Need to prove, can key word be arranged the equal correspondence of each bar calendar information for the calendar information of having stored in the schedule database; Also can have the part calendar information not have key word, can also be that a calendar information is to there being a plurality of key words.Said according to said keyword query schedule database, also can be the key word library in the inquiry schedule database.Stored key word in the said key word library, the corresponding respectively corresponding calendar information of each key word.
Concrete; If said calendar information is only to there being a said keyword message; Each key word that then can said keyword message is corresponding with each bar calendar information in the said schedule database relatively; If the said key word identical with said keyword message arranged in the said schedule database, then obtain the corresponding calendar information of the said key word identical as related calendar information with said keyword message; If do not have the said key word identical in the said schedule database, then can not obtain related calendar information with said keyword message.Perhaps; If a plurality of said keyword messages are arranged; Then with each keyword message in a plurality of said keyword messages successively with said schedule database in the said key word of corresponding each of each bar calendar information relatively; If there be not the key word identical in the said schedule database with said keyword message; Then obtain the corresponding calendar information of the key word identical as related calendar information,, then can not obtain related calendar information if there be not the key word identical in the said schedule database with said keyword message with said keyword message.
103, according to the related calendar information of said calendar information with said keyword message coupling, display message.
Wherein, said display message comprises showing calendar information and/or said related calendar information.The method of display message can for: after receiving said calendar information,, show said calendar information and said related calendar information if obtain the related calendar information of said coupling.If do not obtain the related calendar information of said coupling, show said calendar information.
The schedule correlating method that the embodiment of the invention provides; Calendar information through receiving user's input also extracts keyword message from said calendar information, according to said keyword message inquiry schedule database, obtain the related calendar information with said keyword message coupling; According to the related calendar information of said calendar information with said keyword message coupling; Display message, the said coupling with keyword message can be that a keyword message coupling also can be a plurality of keyword messages couplings, enlarged the schedule association range; More effective related calendar information improves user experience.
Embodiment two
The embodiment of the invention provides a kind of schedule correlating method, and is as shown in Figure 2, comprising:
201, receive said calendar information.
Wherein, said calendar information can comprise information such as personage, time, place, behavior.For example, " I go to Hong Kong Saturday with mother ", the personage is " I " and " mother ", and the time is " Saturday ", and the place is " Hong Kong ".Said calendar information can only comprise single information, for example, " going to Hong Kong ", said calendar information can also only comprise time or place, for example, " Saturday ", or " Hong Kong ".It is understandable that more than just list and lifted limited event information, said event information can also be the form that other present embodiments are not enumerated, the embodiment of the invention is not done qualification.
Further; In order to reduce the calculated amount of inquiry schedule database, reduce the scope of related calendar information, can be provided with according to user's request and allow related calendar information; Therefore; The method of present embodiment can also may further comprise thesteps 202, when receiving said calendar information, also receives the type of said calendar information.
202, receive the type that the user selects to confirm said calendar information, wherein said type comprises the first kind and second type.
Wherein, the type of said calendar information can be selected to confirm according to the user, can select to confirm that the type of said calendar information is the first kind or second type according to the user.The said first kind and said second type can be stored in the same schedule database with different type identifications, also can distinguish the position that calendar information is stored in schedule database, and the first kind storehouse and second typelib are arranged in the said schedule database.For example, said calendar information is the first kind, and then said calendar information can be stored first kind storehouse; Said calendar information is second type, and then said calendar information can be stored second typelib.The calendar information of the said first kind can be to allow to carry out related calendar information, and the calendar information of second type can be not allow related calendar information.After said calendar information storage, can in the calendar information database, find related calendar information through the type and the said keyword message of said calendar information.Search in the process of related calendar information, can only inquire about the calendar information of the first kind, the calendar information of second type can be not associated, can not become related calendar information yet.
Perhaps; After said second type information storage; Can extract the corresponding keyword message of calendar information of said second type, and the key word of second type information is not stored, carry out subsequent step; Also can not extract the corresponding keyword message of calendar information of said second type, not carry out subsequent step.
It is understandable that the type of each calendar information in the schedule database can the time be set in storage, also can after storage, the selection according to the user set, thereby the type of calendar information is set, adjust the scope of related calendar information according to user's request.
203, with said calendar information according to said type stores.If the type of said calendar information is the first kind, then execution instep 204; If the type of said calendar information is second type, then execution instep 205.
Wherein, can be in schedule database with said calendar information and said type corresponding stored, as a calendar entries, further, every calendar information in schedule database, storing all is provided with corresponding type.Perhaps, also can store said calendar information into store described in first kind storehouse or second typelib in the schedule database particular content, confirm according to the type of said calendar information according to the type of said calendar information.
204, extract and store the corresponding keyword message of said calendar information.
Wherein, the said first kind can be the type of associable calendar information.Said extraction is also stored the corresponding keyword message of said calendar information.Can select particular content in the calendar information as said keyword message through the user; Also can be according to syntax rule; Information such as time, place and/or personage in the extraction calendar information are stored in said keyword message in the key word library in the schedule database as said keyword message then.
205, preserve said calendar information.
Wherein, said second type can be the type of the calendar information that can not associate.When said calendar information is second type, be that the calendar information storage of second type gets final product with the type of said calendar information, the type that can store said calendar information is the keyword message of the calendar information of second type.
206, the inquiry schedule database compares said keyword message with the corresponding key word of calendar information in the schedule database.If key word and said keyword message that the calendar information in the said schedule database is corresponding are complementary, then execution instep 207; If key word and said keyword message that the calendar information in the said schedule database is corresponding do not match, then execution instep 210.
Wherein, Said keyword message can be first key word; The key word that calendar information in the said schedule database is corresponding can be second key word, and said second key word is at least one corresponding second key word of calendar information of the first kind of having stored in the schedule database.During the inquiry schedule database; Can judge the type of the calendar information of having stored in the schedule database; If having stored the type of calendar information is the first kind; Said second key word of each that can each said first key word is corresponding with each said first kind calendar information successively relatively, if any first key word is identical with second key word in the schedule database, the key word and the said keyword message of the calendar information correspondence in the then said schedule database are complementary; The calendar information that extracts said schedule database continues execution instep 208 as related calendar information.If second key word in any first key word and the schedule database is all inequality; Key word and said keyword message that calendar information in the then said schedule database is corresponding do not match; Can confirm does not have the related calendar information relevant with said calendar information, execution instep 211 in the schedule database.
Perhaps, in another kind of application scenarios, according to type the calendar information in the schedule database is stored respectively, promptly the calendar information of the first kind is stored in first kind storehouse, and the calendar information of second type is stored in second typelib.At this moment, inquire about said first kind storehouse, said second key word of each that can each said first key word is corresponding with each bar calendar information in the said first kind storehouse relatively.If any first key word is identical with second key word in the schedule database; Key word and said keyword message that calendar information in the then said schedule database is corresponding are complementary; The calendar information that extracts said schedule database continues execution instep 207 as related calendar information.If second key word in any first key word and the schedule database is all inequality; Key word and said keyword message that calendar information in the then said schedule database is corresponding do not match; Can confirm does not have the related calendar information relevant with said calendar information, execution instep 210 in the schedule database.
207, the calendar information that extracts said schedule database is as related calendar information.
Wherein, Said first key word can have a plurality of; Each said second key word that each said first key word is corresponding with each said first kind calendar information successively relatively after; If second keyword matching in any first key word and the schedule database, key word and said keyword message that the calendar information in the then said schedule database is corresponding are complementary, and the calendar information that extracts said schedule database is as related calendar information.The quantity of said related calendar information can be by the match condition decision of said first key word and said second key word, and second key word of coupling is many more, and related calendar information also maybe be many more.
For example, calendar information is " going to Hong Kong Saturday ", and first key word that this calendar information is corresponding is " Saturday " and " Hong Kong ".Other first kind calendar informations of having stored in addition in the first kind storehouse, for example, " remembering to call A when going to Hong Kong ", second key word that this first kind calendar information is corresponding is " Hong Kong " and contact person " A ".Search " Saturday " key word library in first kind storehouse according to first key word; Do not find and key word identical key word Saturday; According to first key word " Hong Kong ", search the key word library in the new storehouse of the first kind, found second key word " Hong Kong " identical with first key word " Hong Kong "; The calendar information that second key word " Hong Kong " is corresponding is " remembering to call A when going to Hong Kong ", extracts first kind calendar information and " remembers to call A when going to Hong Kong " as related calendar information.
Further, in a kind of application scenarios of the embodiment of the invention, the user checks related schedule for ease, and this method can also may further comprise the steps:
208, show calendar information and with said related calendar information.
Wherein, said demonstration calendar information and said related calendar information can be selected the said related calendar information and the said calendar information that show according to user's needs.Said selection provides with the said related schedule that need show each selects control to realize.
For example said calendar information is " going to Hong Kong Saturday ", and related calendar information is " remembering to call A when going to Hong Kong ".Can show " remembering to call A when going to Hong Kong ", " going to Hong Kong Saturday " perhaps according to user's needs after the then said calendar information storage, choosing then only shows " remembering to call A when going to Hong Kong " or " going to Hong Kong Saturday ".
Further, in the prompting calendar information, in time point out related calendar information, this method can also may further comprise the steps:
209, when triggering the said calendar information of prompting, trigger the said related calendar information of prompting.
Wherein, The said calendar information of mentioning in the present embodiment; The schedule prompting can be set, said calendar information is provided with the schedule prompt time, detect prompt time and whether arrive; If prompt time arrives, then can point out said calendar information and show the content that said calendar information is corresponding with modes such as quarter-bells.Further, can be after the prompt time that detects calendar information arrive, point out said calendar information with said related calendar information and show said calendar information and the corresponding content of said related calendar information with quarter-bell or other modes.
210, confirm not have related calendar information.
Wherein, If any in said first key word and said second key word do not match, key word and said keyword message that the calendar information in the then said schedule database is corresponding do not match, and can think not have the related calendar information related with said calendar information; Execution instep 208; Also can only show said calendar information, perhaps also can point out the user not find related calendar information, so that the user confirms.
Optional, as shown in Figure 3 in the another kind of application scenarios of the embodiment of the invention, for many calendar informations are carried out integrated management, this method can also may further comprise the steps:
211, generate new calendar information and storage according to said calendar information with said related calendar information.
Wherein, said related calendar information can be one, also can be a plurality of.The calendar information that said generation is new; Can be according to said first calendar informations of signature analysis and said related calendar information such as the subject of grammer, predicate, object, attribute, the adverbial modifiers; Obtain said calendar information and information such as said related calendar information time corresponding, place, personage, behavior; Reconfigure information such as place, personage, behavior according to said grammar property, obtain said new calendar information.Further; Because new calendar information is combined to generate by calendar information and related calendar information; The new calendar information that generates has reached the purpose of integrated management schedule; If upgrade calendar information once more and then can carry out association to new calendar information again, the type that therefore can set said new calendar information is second type.Perhaps can change the type of said new calendar information according to user's needs.The said new corresponding key word of calendar information can comprise said calendar information corresponding key word information and the corresponding keyword message of said related calendar information.
For example, calendar information is that " going to Hong Kong Saturday ", related calendar information are " remembering to call A when going to Hong Kong ", and analyzing said calendar information time corresponding according to grammar property is " Saturday "; The place is " Hong Kong "; Behavior is " going to Hong Kong ", " calling ", and analyzing the corresponding personage of said related calendar information according to grammar property is " A ", and the place is " Hong Kong "; Behavior is " going to Hong Kong "; According to grammar property, reconfigure said place, personage, behavioural information, obtain new calendar information and be " going to Saturday Hong Kong to call A ".The key word of the calendar information that this is new is that " Saturday ", " Hong Kong " reach " A ".
Further, in the prompting calendar information, in time point out new calendar information, this method can also may further comprise the steps:
212, when triggering the said calendar information of prompting, trigger the said new calendar information of prompting.
Wherein, The said calendar information of mentioning in the present embodiment; The schedule prompting can be set, said calendar information is provided with the schedule prompt time, detect prompt time and whether arrive; If prompt time arrives, then can point out said calendar information and show the content that said calendar information is corresponding with modes such as quarter-bells.Further; If there be the said related calendar information related with said calendar information; Can obtain said new calendar information according to said related calendar information and said calendar information, and said new calendar information has identical schedule prompt time with said calendar information.After detecting said calendar information prompt time and arriving, can point out said calendar information with said new calendar information and/or said related calendar information and show said calendar information and said new calendar information and/or the corresponding content of said related calendar information with quarter-bell or other modes.
The schedule correlating method that the embodiment of the invention provides; Calendar information through receiving user's input also extracts keyword message from said calendar information, according to said keyword message inquiry schedule database, obtain the related calendar information with said keyword message coupling; According to the related calendar information of said calendar information with said keyword matching; Display message, the said coupling with keyword message can be that a keyword message coupling also can be a plurality of keyword messages couplings, enlarged the schedule association range; More effective related calendar information improves user experience.
And; Can generate new calendar information and storage with said related calendar information according to said calendar information; Said calendar information, said new calendar information and said related calendar information are provided with type; Show said related calendar information according to user's needs, make schedule show that regulations are clear, make things convenient for the user to check.
Embodiment three
The embodiment of the invention provides a kind of schedule associated apparatus, and is as shown in Figure 4, comprising: receivingelement 31,query unit 32,display unit 33.
Receivingelement 31 is used for receiving the calendar information of user's input and extracts keyword message from said calendar information.
Query unit 32 is used for inquiring about schedule database according to the keyword message that said receivingelement 31 extracts, and obtains the related calendar information with said keyword message coupling.
Display unit 33, the said calendar information that is used for receiving and the saidquery unit 32 related calendar information with said keyword matching that obtain, display message according to said receivingelement 31.
Further, as shown in Figure 5, said receiving element can comprise:first receiver module 311,second receiver module 312,type block 313,first memory module 314,second memory module 315.
First receiver module 311 is used to receive said calendar information.
Second receiver module 312 is used to receive the type that the user selects to confirm said calendar information, and wherein said type comprises the first kind and second type.
Type block 313, the said type stores that the said calendar information that is used for that saidfirst receiver module 311 is received is accepted according to saidsecond receiver module 312.
The corresponding keyword message of said calendar information that saidfirst receiver module 311 receives is extracted and stored tofirst memory module 314 when the type of the said calendar information that is used for receiving when saidsecond receiver module 312 is the first kind.
Second memory module 315 when the type of the said calendar information that is used for receiving when saidsecond receiver module 312 is second type, is preserved said calendar information.
Further, saidquery unit 32 can comprise:enquiry module 321, relatingmodule 322.
Enquiry module 321 is used to inquire about schedule database, and the keyword message that saidkeyword module 321 is extracted compares with the corresponding key word of calendar information in the schedule database.
Relatingmodule 322 is used for being complementary when the calendar information of said schedule database corresponding key word and said keyword message, and the calendar information that then extracts said schedule database is as related calendar information.
Further, saiddisplay unit 33 also be used to show calendar information and with said related calendar information, and/or, the new schedule information that is associated with said calendar information and said related calendar information that shows that key word according to said coupling generates.
Further, this schedule associated apparatus can also comprise:Tip element 34.
Tip element 34 is used for when triggering the said calendar information of prompting, triggering said related calendar information of prompting and/or said new schedule information.
The schedule associated apparatus that the embodiment of the invention provides; Calendar information through receiving user's input also extracts keyword message from said calendar information, according to said keyword message inquiry schedule database, obtain the related calendar information with said keyword message coupling; According to the related calendar information of said calendar information with said keyword matching; Display message, the said coupling with keyword message can be that a keyword message coupling also can be a plurality of keyword messages couplings, enlarged the schedule association range; More effective related calendar information improves user experience.
And; Can generate new calendar information and storage with said related calendar information according to said calendar information; Said calendar information, said new calendar information and said related calendar information are provided with type; Show said related calendar information according to user's needs, make schedule show that regulations are clear, make things convenient for the user to check.
Through the description of above embodiment, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computing machine; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of said claim.