Dynamic mailbox size configuration by self modification based on historical behavior
View Patent ↗The present invention relates generally to call control system sub-processes for a telephone private branch exchange, and, more particularly, to the configuration of mailboxes for those sub-processes. A call control system comprising a plurality of processes, a mailbox for each of said processes, and wherein one of said processes, is responsive to a fullness measure of corresponding said mailbox, for altering the size of said corresponding mailbox during run time is provided.
1. A software control system comprising:
a plurality of processes processed by one or more processors, each having an associated mailbox of predetermined size into which messages are delivered for subsequent processing;
a persistent memory for storing a file to be accessed when said system is initially powered and when said system is reset, said file comprising a characteristic of said mailbox including at least an initial size and a current size of said mailbox, last change, growth algorithm and history, said system uses said characteristic to configure said associated mailbox; and
a message subsystem for altering the size of said mailbox during run time responsive to a fullness measure thereof, said fullness measure is a threshold number of messages for said associated mailbox, and for updating said file in said persistent memory to reflect said altered size of said mailbox;
wherein said history and threshold indicate if a message has been lost on overflow and said system updates said history according to current activity and said history and said threshold are updated when the messages in said associated mailbox exceed the threshold, and
wherein at subsequent system reset, said mailbox will be configured according to said updated file.
2. The software control system according to claim 1 wherein at least one of said processes receives device state change messages via said associated mailbox.
3. The software control system according to claim 1 wherein said characteristics include a stabilizer for increasing stability of the threshold, and decreasing oscillation.
4. The software control system according to claim 3 wherein said stabilizer is varied after a change of said threshold.
5. The software control system of claim 1 comprising a telephony system.
6. The software control system of claim 5 wherein said plurality of processes comprises call control processes.
7. A method of managing mailboxes in a software control system comprising the steps of:
(a) providing a plurality of processes processed by one or more processors, each having an associated mailbox of predetermined size into which messages are delivered for subsequent processing;
(b) retrieving a file from persistent memory when said system is initially powered and when said system is reset, said file comprising a characteristic of said mailbox including at least an initial size and a current size of said mailbox, last change, growth algorithm and history, said system uses said characteristic to configure said associated mailbox;
(c) altering the size of said mailbox during run time responsive to a fullness measure thereof, said fullness measure is a threshold number of messages for said associated mailbox, said history and threshold indicate if a message has been lost on overflow and said system updates said history according to current activity and said history and said threshold are updated when the messages in said associated mailbox exceed the threshold;
(d) updating said file in said persistent memory to reflect said altered size of said mailbox; and
(e) repeating steps (b) through (e), wherein at subsequent system reset said mailbox will be configured according to said updated file.
8. The method according to claim 7 further comprising receiving device state change messages via said associated mailbox.
9. The method according to claim 7 further comprising the steps:
configuring said system according to default values in the event said file is absent, and
suspending any alteration according to step (c) until such time as the system is subsequently reconfigured.
10. The method according to claim 7 wherein said providing of said plurality of processes according to step (a) is made according to said characteristics of said mailbox.
11. The method according to claim 7 wherein said characteristics include a stabilizer for increasing the stability of the threshold, and decreasing oscillation.
12. The method according to claim 11 further comprising varying said stabilizer after a change of said threshold.
13. The method according to claim 11 wherein selection of the highest threshold changes is made irrespective of said stabilizer.
14. The method of claim 7 comprising a telephony software control system and said providing step comprises providing a plurality of call control processes.