This application is based upon and claims the benefit of priority from Japanese patent application No. 2009-266324, filed on Nov. 24, 2009, the disclosure of which is incorporated herein in its entirety by reference.
The present invention relates to a system, a method for controlling a system and a program thereof. More particularly, it rerates to a system, a method for controlling a system and a program thereof capable of referring to, registering, and correcting of management information, such as schedule and reservation of a meeting room, by transmission and reception of emails.
It is known Schedule management devices capable of referring to and correcting a schedule by transmission and reception of emails. Japanese Unexamined Patent Publication No. 2003-058514 (Patent Document 1) and Japanese Unexamined Patent Publication No. 2006-113956 (Patent Document 2) disclose examples of such conventional schedule management devices.
As shown in
Moreover, a schedule management device of Patent Document 2 performs a morphological analysis of a new email in response to storing the new email in an email information file, and extracts schedule related words. Then, when the schedule word necessary for creation of the schedule is not clear, the schedule management device of Patent Document 2 extracts a quotation source email from the email information file and extracts an expression corresponding to the undetermined schedule word from the extracted email, in order to convert this undetermined schedule word to an absolute expression.
However, for example, the schedule management device of Patent Document 1 refuses the registration when the time and the date coincide with one another between the schedule described in the email and the already registered schedule. As result, it cannot perform a partial correction such that only a site where the schedule is carried out is altered with respect to the already registered schedule. That is, the conventional schedule management device is not capable of performing the correction that unerringly reflects a user's intention.
Moreover, the schedule management device of Patent Document 1 fixes the correction of the schedule by a user confirming the correction of the schedule later. However, the user must conduct operations of perusal and confirmation of the schedule in addition to transmission/reception of the email, which therefore puts a load on the user. Consequently, there is a problem that the operations cannot to be simple.
On the other hand, the schedule management device of Patent Document 2 is one that extracts a quotation source email of the email, when the schedule management device receives an email requiring alteration and deletion of the schedule and the schedule word necessary for the creation of the schedule is not clear. However, it is not one that unerringly and simply makes the correction of the schedule by transmission/reception of emails.
The present invention is made in consideration of the above point, and provides a system, a method for controlling a system and a program thereof that markedly improves user's usability.
Anon-limiting feature of the invention provides a notice email with management information transmitted to a user terminal. A correction email that describes correction management information to the management information described in the transmitted notice email is received at a receiver. An email search unit searches the transmitted notice email corresponding to the correction email. A difference extraction unit configured to extract a difference between the correction management information described in the correction email and the management information described in the transmitted notice email. A correction unit corrects the corresponding management information of the management unit according to the difference extraction result of the difference extraction unit.
According to another feature of the invention there is provided a method for carrying out the correction of information using difference information between transmitted management information and correction management information received from a user.
The above and other aspects of the present invention will become more apparent by describing in detail exemplary embodiment thereof with reference to the attached drawings in which:
A first exemplary embodiment of the present invention will be explained in detail with reference to drawings.
The schedule management unit 2 stores and manages a master schedule. The email management unit 3 stores and manages sent emails and received emails related to the master schedule. The email creation unit 4 creates a schedule notice email based on the master schedule stored in the schedule management unit 2. The schedule registration unit 5 registers and corrects the master schedule to the schedule management unit 2. The difference extraction unit 6 calculates a difference of schedule information described in the schedule notice emails. The control unit 7 comprehensively controls the whole of the schedule management device 1. The communication control unit 8 controls transmission and reception of emails to/from the outside
The hard disk drive 15 stores the schedule information. It has a schedule database 211, an email database 22 for storing emails that were transmitted and received, and a program file 23. The program file 23 is read into the random access memory 14, and controls an operation of the central processing unit 13. The input device 12 is an input device, such as a keyboard, and the output device 16 is an output device, such as a display terminal. The communication controller 17 is a network adapter, such as a cable LAN adapter and a wireless LAN adapter, and has a function for communicating via a LAN/WAN.
A schedule management program 37 has a schedule management program 31, an email management program 32, an email creation program 33, a schedule registration program 34, a difference extraction program 35, and a whole control program 36. The central processing unit 13 is configured to control respective subprograms of the schedule management program 31, the email management program 32, the email creation program 33, the schedule registration program 34, and the difference extraction program 35 to operate by executing the whole control program 36.
The schedule management program 31 stores and manages the schedule information by controlling the schedule database 21 on the hard disk drive 15. The email management program 32 controls the email database 42, and stores and manages the emails. The email creation program 33 creates and transmits an email that describes the schedule information. The difference extraction program 35 extracts a difference of pieces of the schedule information described in the emails. The schedule registration program 34 refers to a difference bulletin of the schedule that the difference extraction program 35 outputs, and updates the schedule information stored in the schedule database 41 so that the schedule information may become consistent with this. Incidentally, the schedule management program 31, the email management program 32, the email creation program 33, the schedule registration program 34, and the difference extraction program 35 are executed by the central processing unit 13.
The schedule management program 31 is a computer program that makes the central processing unit 13 perform a processing corresponding to the schedule management unit 2. The email management program 32 is a computer program that makes the central processing unit 13 perform a processing corresponding to the email management unit 3. The email creation program 33 is a computer program that makes the central processing unit 13 perform a processing corresponding to the email creation unit 4. The schedule registration program 34 is a computer program that makes the central processing unit 13 perform a processing corresponding to the schedule registration unit 5. The difference extraction program 35 is a computer program that makes the central processing unit 13 perform a processing corresponding to the difference extraction unit 6. The whole control program 36 is a computer program that makes the central processing unit 13 perform a processing corresponding to the control unit 7.
Next, an operation of the schedule management device 1 of this embodiment will be explained with reference to a flowchart of
The schedule management device 1 of this embodiment has a function of transmitting to a user (a user's information processor etc.) a content of the registered master schedule every day at an appointed time as an email. Moreover, the schedule management device 1 of this embodiment has a function that, when receiving an email instructing correction of the master schedule from the user (the user's information processor etc.), corrects the master schedule stored in the schedule management unit 2 according to the content of the email.
In order to realize these functions, upon being activated, the control unit 7 of the schedule management device 1 determines whether the current time has become a transmission time of the schedule notice email specified in advance (Step S1).
When it has become the transmission time (Step S1: YES), the control unit 7 of the schedule management device 1 creates the schedule notice email based on the latest master schedule stored in the schedule management unit 2 by the email creation unit 4, and transmits it to the user (Step S2). After transmission completes, the control unit 7 of the schedule management device 1 stores that schedule notice email in the email management unit 3, and the process returns to Step S1 again. On the other hand, when it has not become the transmission time (Step S1: NO), the control unit 7 of the schedule management device 1 checks whether the email related to a schedule correction arrived by the communication control unit 8 (Step S3).
When the email arrived (Step S3: YES), the control unit 7 of the schedule management device 1 processes the received email by the email management unit 3 (Step S4). At this Step S4, a schedule correction processing according to the content of the receive email is performed. Details of the processing will be described later. On the other hand, when the email did not arrive (Step S4: NO), the control unit 7 of schedule management device determines whether termination, such as power off (OFF) of the whole device, was instructed (Step S5).
If the termination was not instructed (Step S5: NO), the control unit 7 of the schedule management device 1 makes the process return to Step S1 again. That is, the control unit 7 of the schedule management device 1 repeats a loop of waiting two events, Step S2 and Step S4, until the termination is instructed. On the other hand, if the termination was instructed (Step S5: YES), the control unit 7 of the schedule management device 1 terminates the operation.
Next, details of a processing of received emails (Step S4) will be explained with reference to a flowchart of
First, the control unit 7 of the schedule management device 1 checks whether the received email is the correction email (a reply email to the schedule notice email or an email based on a transfer email that quotes the reply email (this will be described later) (Step S11). Then, if the received email is the correction email (Step S11: YES), the control unit 7 of the schedule management device 1 stores the correction email in the email management unit 3 (Step S12). Next, the control unit 7 of the schedule management device 1 searches the schedule notice email that was a reply source of the correction email from among emails stored in the email management unit 3 by the email management unit 3 (Step S13). Usually, since a message ID of the schedule notice email (that will be described later) used as a source when performing a reply and email transmission is recorded in a header of the correction email, the email management unit 3 can search the schedule notice email by using the message ID as a clue.
Next, the control unit 7 of the schedule management device 1 calculates a difference between the schedule information described in the correction email and the schedule information of the schedule notice email that was used as its reply source by the difference extraction unit 6 (Step S14). The difference becomes a content that the user who made the correction email wishes to alter. Next, the control unit 7 of the schedule management device 1 checks whether the difference and the master schedule stored in the schedule management unit 2 are consistent with each other by the schedule registration unit (Step S15).
When they are consistent (Step S15: YES), the control unit 7 of the schedule management device 1 makes the master schedule to which the schedule management unit 2 corresponds reflect the difference of the schedule calculated by the schedule registration unit 5 (the master schedule is corrected) (Step S16), and after that, terminates the “processing of received email.” On the other hand, if they are not consistent (Step S15: NO), the control unit 7 of the schedule management device 1 sends out the user a communication email that correction of the schedule is failed by the schedule registration unit 5 (Step S17), and after that, terminates the “processing of received email.”
Seeing the above operations from a viewpoint of the user, first the user can receive the latest schedule information by email every day at a fixed time. This is a result of the processing of Step S2. Next, if the user refers to the transmitted schedule notice email and wishes to correct the schedule, the user sends a reply email, an email based on transfer, or the like back to the schedule management device 1, with the corrected schedule information.
When the schedule management device 1 receives the reply email, the email based on transfer, or the like, a difference between it and the schedule notice email that was used as a reply source is calculated (Step S14). The difference is a portion that the user wishes to correct. If the difference is consistent with the master schedule stored in the schedule management unit 2, the correction result will be reflected in the master schedule (Step S16). Moreover, if they are not consistent, the inconsistency will be informed by email (Step S17).
That is, in this embodiment, at Step S14, a difference between a description content of the schedule notice email (an original email that the user used at the time of the schedule correction) and a description content of the correction email is extracted. What the user intends to correct is only the portion of the difference. And any portion that is not altered from the description content of the original email other than the difference must not be corrected even if it differs from the latest master schedule of the schedule management unit 2. In this case, it is not necessary to correct the master schedule in the schedule management unit 2.
On the other hand, even if the description content of the correction email after the schedule correction agrees with the latest master schedule stored in the schedule management unit, there is a possibility that the user judged a correction content based on the schedule information that was not the latest if the description content of the schedule notice email is different from the latest master schedule; therefore, it is risky to make the correction content reflect on the master schedule unconditionally. In this case, a more unerring schedule correction can be urged by transmitting the latest schedule to the user and asking the user for reconfirmation or by other ways.
Thus, since the schedule management device 1 judges the necessity for correction by obtaining a difference between the schedule information described in the schedule notice email that the correction email considered as a reference and the corrected schedule information described in the correction email. As a result, it is possible to perform the schedule correction that unerringly catches such correction intention of the user as cannot be judged only by checking the correction email after user correction.
Incidentally, there are various methods for calculation of the difference in this embodiment. For example, it can be comparison by a diff command of UNIX (registered trademark) on a line-to-line basis. Generally, whatever kind of algorithm may be adopted as long as it is a calculation method capable of obtaining a difference with a line as a unit.
Moreover, in this embodiment, the user can perform reference and the correction of the schedule simply on an email basis. Especially, since the difference extraction unit 6 unerringly understands the user's correction intention and makes it reflected in the master schedule, the schedule correction can be carried out unerringly with the user' intention reflected correctly despite a simple interface on the email basis.
Next, an operation of this embodiment will be explained in detail using a concrete example. In this example, it is set that the schedule management device 1 sends out the schedule notice email every day at 3:00 a.m.
Moreover, three-day-after schedules including that day of transmission are described in the schedule notice email: specifically, four schedules up to the day off schedule on 17 July are entered in an email text in four lines. Moreover, a character string containing a sending date is automatically generated and is inserted into a subject (Subject). The message ID is information for identifying the email globally and uniquely: The message ID is a unique number which is automatically given to every email by using information such as the sending date, a sending time, a sender, a send domain and a random number by the mailer (hereinafter this email is called an email 1).
A message ID of the email 1 is described in the references of the email header of the email 2, indicating that the email 1 gives rise to a reply source of the email 2. When the user creates an email based on a reply function, a transfer function, etc. of the mailer, normally such a description of references is automatically given by the mailer.
The control unit 7 of the schedule management device 1 will start the “processing of received email” of Step S4 upon reception of the email 2. First, the control unit 7 of the schedule management device 1 checks whether the received email is the correction email at Step S11, and stores the received email 2 in the email management unit 3 at Step S12. Next, the control unit 7 of the schedule management device 1 searches a schedule notice email giving rise to the reply source of the email 2 by the email management unit 3 at Step S13. Since, in the email 2, 2009071603000012345@mail.xxx.yyy.co.jp that is a message ID of the reply source email is stored in its header, the control unit 7 of the schedule management device 1 can find the email 1 that is pertinent by searching the email management unit 3 using the message ID as a clue.
Here, the email is stored in the email management unit 3 with the message ID included in the index so that the email can be searched by using the message ID as a key to the index. However, if the email can be searched by using the message ID as a key, a concrete storage method is not limited to this embodiment. For example, it may be all right to perform the storage method in such a way that all the emails are simply stored in plain text (Plain text), and when performing a search using the message ID as a key, all the emails are put in full text search with a character string of the message ID.
Next, the control unit 7 of the schedule management device 1 extracts a difference between the schedule information described in the text of the email 1 and the schedule information described in the text of the email 2 by the difference extraction unit 6 at Step S13.
Next, the control unit 7 of the schedule management device 1 updates the master schedule of the schedule management unit 2 by the schedule registration unit 5 based on this difference extraction result. What the schedule registration unit 5 considers as a processing object is only this difference extraction result. And a schedule that is described in a text of the email 2 but that is not described in the difference extraction result does not become an object that is reflected in the master schedule stored in the schedule management unit 2. In other words, any portion that was not altered when the user created the email 2 is not reflected as a correction point to the master schedule by the schedule registration unit 5. Thus, a user 2's correction intention can be unerringly determined by the difference extraction processing done by the difference extraction unit 6.
Next, the control unit 7 of the schedule management device 1 checks whether the extracted difference extraction result and the master schedule are consistent with each other by the schedule registration unit 5 (Step S15). Specifically, the control unit 7 of the schedule management device 1 checks whether there exits a line whose content coincides with that of the line described as (del) in the master schedule.
If it does not exist (Step S15: NO), the control unit 7 of the schedule management device 1 recognizes that the user tried to alter it by referring to the master schedule that was already deleted, and determines that a difference extraction result and the master schedule are not consistent with each other. On the other hand, if it exists (Step S14: YES), the control unit 7 of the schedule management device 1 recognizes that the user tried to make an alteration to the master schedule and corrected it, and determines that the difference extraction result and the master schedule are consistent with each other.
Since in Example 1, the content of the master schedule at the time of Step S15 is as described in
Next, in the situation of exemplary embodiment 1, another user (the user 2) sends an email (an email 3) shown in
The user 2 creates the email 3 of
Here, since the update by the email 2 is one that is related to only ID1 (technical meeting) of the schedule and the update by the email 3 is one that is related to only ID2 (sales strategy meeting) of the schedule. Therefore, a difference calculated based on the email 2 and a difference calculated based on the email 3 are independent of each other. Therefore, since the schedule management device 1 can obtain a like state of
On the other hand, in Patent Document 1, the master schedule of the schedule management unit 2 will not be corrected when the schedule management unit 2 sends the email 3 in a state shown in
Next, with respect to this email 3 as an example, a principle that the schedule correction reflecting to user's intention can be performed by obtaining a difference between the email after the correction and the email giving rise to the reply source is described in detail. For example, the email 3 has a schedule indicating that a technical meeting is held in Room #101 from 10:00 to 11:00.
On the other hand, at a time when applying the schedule correction by the email 3, a content different from this (a new schedule corrected by the email 2) is stored in the master schedule of the schedule management unit 2, as shown in FIG. 9. Both a description of the first line “16 Jul. 2009 from 10:00 to 11:00 Room #101 Technical meeting” of the text of the email 3 and a description of the second line “16 Jul. 2009 from 13:00 to 15:00 Room #203 Sales strategy meeting” are different contents from those of the master schedule of the schedule management unit 2.
However, it cannot be determined only from the content of the email 3 whether this is a correction request to the current master schedule or is a part of the schedule that was referred to at the time of correction and is remaining as it is.
In this case, even if the content of the email 3 is compared with the master schedule, it is difficult to rightly determine that the first line of the text of the email 3 must not be reflected in the master schedule, but only the second line must be reflected. If both the first line and the second line of the email 3 are made to be reflected in the master schedule as corrections thereto, the schedule of the technical meeting that the user 1 corrected with the email 2 will return to a state before the correction against the user's intention, as shown in
The control unit 7 of the schedule management device 1 of this embodiment can unerringly judge the user's intention, for example: what the user intends to correct is only “16 Jul. 2009 13:00 to 15:00 Room #203 Sales strategy meeting” in the second line in which a difference occurs among the description contents of the email 3; and since a difference does not occur in “16 Jul. 2009 10:00 to 11:00 Room #101 Technical meeting,” the user does not intend the correction, by obtaining a difference between the description contents of the email giving rise to the reply source and description contents of the reply email after the correction by the difference extraction unit 6.
In this way, the control unit 7 of the schedule management device 1, reflecting the user's intention rightly, can take in only the content of the second line as the correction of the master schedule in the schedule management unit 2. That is, even if ID1 of the schedule that was not altered by the user has a content different from the master schedule at the time of the application, the schedule management device 1 of this embodiment can determine unerringly that it is not necessary to update the master schedule by making this reflect therein by obtaining a difference of these two emails using information that the email 3 is created on a base of the email 1.
In this way, according to this embodiment, the user's correction intention can be judged unerringly by obtaining a difference between the description content of the schedule notice email giving rise to the reply source and the description content of the correction email after the correction by the difference extraction unit 6. Therefore, it is possible to unerringly perform the correction of the schedule even on the email basis. Since the user can correct the master schedule of the schedule management device 1 by quoting the schedule notice email and sending the correction email after editing only the correction points without accessing to the schedule management device 1, it is possible for the user to easily perform the schedule correction.
Incidentally, there is no possibility that either del) or add) among differences may not exist, depending on the correction content by the user. When del) does not exist, it means that the user simply adds a schedule without deleting anything from the description of the original email. In this case, since there is not a line of del) that should be subjected to consistency checking, the consistency between the difference extraction result and the master schedule is always secured, and it is simply added to the master schedule. On the other hand, when there is no add), it means that the user performed only deletion from the original email. In this case, after checking consistency between the difference extraction result and the master schedule, a processing of deleting a pertinent master schedule is performed.
A difference of the result caused by a difference of the schedule notice email giving rise to a reply operation, a transfer operation, etc. will be explained specifically below.
Even if the email 4 is transmitted to the schedule management device 1, when the difference extraction result with the email 1 is intended to be applied to the schedule management unit 2, inconsistency between the master schedule and it is detected. This is because the email 4, the email 1 that is the original email, and the master schedule become inconsistent with one another as a result that the master schedule was updated by the email 2. For this reason, the correction instructed by the email 4 is not applied to the master schedule, and the master schedule of the schedule management unit 2 will be in the state of
This is a state after ID1 of the schedule shown in
On the other hand, when the user intends to apply a difference extraction result between the email 5 and the email 2 to the schedule management unit 2, consistency between the master schedule and it is detected. Therefore, the email 5 is applied to the master schedule by the schedule registration unit 5, the correction is reflected, and the master schedule is updated to a state shown in
Thus, in this embodiment, even when the contents of emails each instructing the content of the correction by the user are exactly the same, if the user performs a reply or mail transmission based on transfer after referring to the email (the email 2) that is consistent with the latest master schedule, the correction will be reflected. On the other hand, if the user creates and sends the reply email or the email based on transfer by referring to the email (the email 1) that is not consistent with the latest master schedule and further by correcting an entry that is not consistent, the correction will not be reflected after detecting inconsistency.
That is, in this embodiment, it is possible for the schedule management device 1 to prevent erroneous update of the master schedule that is different from the user's intention. Because, even if the contents of the emails each having an instruction content of correction by the user are exactly the same, the schedule management device 1 can check consistency between the schedule information that the user referred to and the master schedule.
The present invention can also be modified variously and be carried out in other way than having been mentioned above.
That is, in the present invention, it is possible not only to perform the schedule correction processing based on the reply email to the schedule notice email, but also to perform the schedule correction processing with an email based on a transfer email that the other people sent to the schedule management device by quoting the reply email. In this case, in this embodiment, if an email that is a quotation source of the received email cannot be found from the email management unit 3, the processing of the correction email may be put in pending (is interrupted) and the processing may be resumed after the email of the quotation source arrived. Thereby, in the present invention, even if an order of emails by which the emails reach the schedule management device is inverted due to a problem on a delivery path of the emails, it is possible to perform a correct schedule correction processing. On the other hand, in the conventional schedule management device that performs a schedule update processing in the order whereby the emails reach, if the order of arrival of the emails is inverted, there is a risk that the correction that the user does not intend will be performed.
Moreover, in the above-mentioned explanation, although object persons of the schedule were not specified, in the present invention, it is also possible to manage an item as to whose action schedule it is like other items (date, time, place, etc.). By carrying out the present invention in this way, the present invention can be used in order to manage a schedule of a group consisting of a plurality of members. In this case, what is necessary is to configure the contents of the schedule management unit 2 shown in
Furthermore, in the present invention, as another modification, for example, if a schedule correction content transmitted by email and the master schedule are not consistent with each other, the schedule correction can be performed not only by replying that the update cannot be done simply because of inconsistency but also by transmitting the latest master schedule simultaneously and allowing the schedule to be corrected again using the master schedule as a base. When it is executed in this way, since the user can create the correction email by referring to the latest master schedule, the next correction email has a very high possibility that the correction is consistent with the master schedule and is registered. That is, by performing in this way, even if the schedule correction on the email basis failed, in the present invention, it becomes possible to succeed in the schedule correction with a high probability by retrying it only once.
Furthermore, in the present invention, if the schedule correction content transmitted by email and the master schedule are not consistent with each other, the processing may be realized so that the latest master schedule and the difference information that was not consistent may be both included in a reply to the user from the system. In this way, it is possible to show a point that the user should note in the re-correction.
In this case, a portion that was not consistent may be displayed in bold letters or italics, or may be displayed using a symbol * or the like intelligibly.
Furthermore, although regarding a relationship of the reply and the reply source among emails, the example was explained by assuming that it is stored in the references in the header, in addition to this, the present invention can use various techniques in order to identify the relationship of the reply source (the transfer source) of an email and the reply (mail transmission based on transfer). For example, it is often the case that when doing a reply (mail transmission based on transfer), almost the whole portion of the email of the reply source (the transfer source) is quoted in the end of the email. In this case, since the email of the quotation source can be identified with a relatively high accuracy by establishing matching of a sentence or a character string appeared in a quotation portion, the present invention can be modified in a form that uses a technique of identifying the email of the reply source (the transfer source) by establishing matching of a sentence and a character string appeared in a quotation portion.
Furthermore, it is possible to apply the present invention also to various managements other than the management of a schedule. For example, as a management system for reserving facilities of rooms, equipment, etc., it is possible to realize reference, registration, and correction functions by email with exactly the same method. Especially, it is possible to simply and unerringly perform correction of reservation on the email basis. Generally, it is possible to apply the idea of the present invention to systems each having a database in general. The present invention is extensively applicable to a case where the contents of the database can be written out as a text file, such as a ToDo list that lists what should be done, in addition to the schedule management and facility reservation. For example, an email transmitted from the system with its content in a text form is revised and corrected, if needed, and is sent back to the system. The system compares the received email and the text of the sent email giving rise to the reply source, and extracts a difference. It judges this difference to be the correction content that the user intends, and updates the database if possible. The present invention can apply extensively to any application that follows the above scheme.
Number | Date | Country | Kind |
---|---|---|---|
2009-266324 | Nov 2009 | JP | national |