The invention relates to the field of hearing devices and to hearing systems. It relates to methods and apparatuses according to the opening clauses of the claims.
Under a hearing device, a device is understood, which is worn in or adjacent to an individual's ear with the object to improve the individual's acoustical perception. Such improvement may also be barring acoustic signals from being perceived in the sense of hearing protection for the individual. If the hearing device is tailored so as to improve the perception of a hearing impaired individual towards hearing perception of a “standard” individual, then we speak of a hearing-aid device. With respect to the application area, a hearing device may be applied behind the ear, in the ear, completely in the ear canal or may be implanted.
A hearing system comprises at least one hearing device. In case that a hearing system comprises at least one additional device, all devices of the hearing system are operationally connectable within the hearing system. Typically, said additional devices such as another hearing device, a remote control or a remote microphone, are meant to be worn or carried by said individual.
In many modern hearing systems such as binaural hearing systems, two or more devices are wirelessly interconnected. There are several purposes for which it is of interest to synchronize processes such as signal generation or signal processing taking place in different devices of such a hearing system, e.g., in a left and a right hearing device of a binaural hearing system. Several ways to achieve a synchronization of such processes are known:
In EP 1750482, a method for synchronous presentation of signaling beeps in binaural hearing systems is disclosed.
In EP 1624723, a method for increasing the accuracy of a master clock oscillator of a hearing device by exchanging a clock reference from a crystal driven accessory is disclosed.
In EP 1746861, a method of tuning the master clock oscillator of a hearing device by means of a correlation, receiving an external reference signal, is disclosed.
In U.S. 2002/01316131, a binaural hearing system with a communication link is disclosed.
In EP 1715723, a method for establishing a network time and using the network time for the synchronization of events is disclosed.
In EP 1651005, a binaural hearing system and method for time-aligned audio signal perception of sounds generated in the hearing system is disclosed.
A modern digital hearing device usually comprises one or more processors such as a digital signal processor and a controller. Also other devices of a hearing system, such as for example a remote control, can comprise one or more processors. In such hearing devices, it is common to have one scheduler for each of those processors, which schedules—on the lowest scheduling level and therefore as the final authority—the tasks which are to be executed in the corresponding processor. Such a scheduler is realized in the corresponding device in form of software and/or hardware.
One object of the invention is to create a hearing system having an improved performance. In addition, the respective method for operating a hearing system shall be provided, as well the respective use of a scheduling unit in a hearing system.
Another object of the invention is to create a hearing system having an improved behavior.
Another object of the invention is to provide a possibility to realize an improved time synchronization between tasks carried out in different processing units of a hearing system, and in particular between tasks carried out in different devices of a hearing system.
Another object of the invention is to realize a hearing system which is operable in a particularly consistent way.
Another object of the invention is to realize a hearing system which is particularly well-reacting.
Another object of the invention is to realize a hearing system having an improved task handling.
Further objects emerge from the description and embodiments below.
At least one of these objects is at least partially achieved by apparatuses and methods according to the patent claims.
The hearing system comprises
The method for operating a hearing system comprising a first and a second processing unit comprises the step of jointly scheduling at least one task to be executed in said first processing unit and at least one task to be executed in said second processing unit.
The use according to the invention is a use of a scheduling unit in a hearing system comprising a first processing unit and a second processing unit, for jointly scheduling tasks to be executed in said first processing unit and tasks to be executed in said second processing unit.
Through this, an improved performance of the hearing system can be achieved. It is, in particular, possible to reschedule tasks still at a very late point in time. It is possible to consider interdependencies between different devices of the hearing system and/or between tasks being executed or to be executed in said first and in said second processing unit, respectively, still at a very late stage.
Said scheduling unit is generally a task scheduling unit.
Said task is generally a processing task, i.e. instructions to a processor describing when to carry out which processing steps. “Tasks” as they are mentioned here largely correspond to what is referred to as a “process” or what is referred to as a “thread” in the field of computing.
Said processing unit can be, e.g., a CPU (central processing unit), a DSP (digital signal processor), a micro-controller or some other processing hardware.
Said jointly scheduling of said tasks can—at least from a particular point of view—also be referred to as a scheduling of tasks for said first processing unit and of tasks for said second processing unit in a combined fashion.
Viewed from another particular point of view, said jointly scheduling of said tasks means that during scheduling (or at the time of scheduling) of a task to be executed in said first processing unit, tasks to be executed in said second processing unit and possibly also tasks currently executed said second processing unit can be considered, and typically vice versa. The scheduling unit has access to corresponding data and is therefore “aware” of tasks to be executed and typically also currently exectued in said second processing unit (pending tasks and ongoing tasks for the second processing unit). Of course, also pending tasks and ongoing tasks for the first processing unit will usually be considered during scheduling (or at the time of scheduling) of a task to be executed in said first processing unit.
Viewed from another particular point of view, said jointly scheduling of said tasks means that the scheduling of a task to be executed in said first processing unit is dependent on tasks to be executed in said second processing unit and possibly also on tasks currently executed said second processing unit, and typically vice versa.
Viewed from a different angle, according to the invention, the hearing system comprises a storage unit comprising data representative of a task schedule comprising at least one task scheduled for execution in said first processing unit and at least one task scheduled for execution in said second processing unit.
Said scheduling unit can be realized in form of software or in form of hardware or in form of a combination of software and hardware. Said software can run on a processor, e.g., said first and/or said second processor; said hardware can be or comprise an EEPROM, an ASIC, an FPGA or others.
It is possible to provide that said scheduling unit schedules tasks for all processing units of said hearing system. But it is also possible to provide that there are one or more processing units in said hearing system for which tasks are not scheduled by said scheduling unit.
Note that the term “scheduling” as used in this application does not mean providing a schedule to one or more individuals concerning tasks the individual(s) has/have to carry out, such as it is done in electronic agendas, personal organizers and the like.
From the online encyclopedia Wikipedia, the following definition concerning scheduling in the field of computer science has been derived:
(http://en.wikipedia.org/wiki/Scheduling_algorithm)
In a certain view, the term “scheduling” as used in this application approximately corresponds to this Wikipedia understanding of “scheduling” in computer science.
In one embodiment, the hearing system comprises
Typically, said first and second devices are wirelessly interconnectable or wirelessly interconnected.
In one embodiment, the hearing system comprises a storage unit comprising data representative of a task schedule comprising at least one task scheduled for execution in said first processing unit and at least one task scheduled for execution in said second processing unit. Of course, it is possible to provide that, when there are currently no pending tasks, the storage unit can be empty. Said task schedule or, more precisely, said data, are the result of said joint scheduling and are generated by said scheduling unit, respectively. Said task schedule can in particular be considered a joint or common or combined task schedule for said first and said second processing unit. Said task schedule typically is a list of tasks each having assigned a priority, e.g., a scheduled time of execution or a scheduled time by when the task is to be completed (due date).
In one embodiment, said at least one task scheduled for execution in said first processing unit and said at least one task scheduled for execution in said second processing unit are each provided with a priority indicator.
In particular, said priority indicator may comprise a scheduled time of execution for the corresponding task. It is possible to provide that said scheduled time of execution means “as soon as possible”.
Furthermore, it is possible to provide tasks in said task schedule with an indicator indicative of the processing unit in which the task is to be executed and/or with an indicator indicative of that one device which has requested the execution of the corresponding task. The latter can be helpful, e.g., if a requested task has to be scheduled for execution at a particularly late point in time, because it allows to easily provide the requesting device with information stating the delay. The requesting device can thereupon, e.g., inform the user of the hearing system about the delay, in particular if the user had demanded (directly or indirectly) the execution of the respective task.
Furthermore, it is possible to provide tasks in said task schedule with an indicator indicative of the point in time at which the respective task has been requested. This can be very helpful during scheduling, because from this time of request, an order (sequence) of requests can be obtained which can be helpful when assigning priorities to tasks or when rescheduling tasks.
In one embodiment, said storage unit is comprised in at least one device of said hearing system, and a copy of said data representative of said task schedule is stored in at least one other device of said hearing system. In other words, at least two copies of said data exist, which provides some redundancy. This makes the operation of the hearing system safer, in particular if it is to be expected that interconnections between devices of the hearing system are occasionally interrupted.
In one embodiment, said storage unit is distributed among at least two devices of said hearing system. This can be accomplished, e.g., in a time-division-multiplexed fashion.
For example, it is possible to provide that the device which most recently requested the execution of a task will carry out the next step(s) of said joint scheduling. This can be advantageous in terms of stability of the hearing system operation when it is to be expected that interconnections between devices of the hearing system are occasionally interrupted (temporarily lost communication connection). Alternatively, it is of course possible to provide that said storage unit is comprised in one device (“master device”) of the hearing system, and said data representative of said task schedule are, during operation of the hearing system, stored therein.
In one embodiment, said scheduling unit is distributed among at least two devices of said hearing system. This can be accomplished in a time-division-multiplexed fashion, e.g., such that in that device, which most recently requested the execution of a task, said joint scheduling will be carried out. Or, it can be accomplished, e.g., by parallel processing distributed in different devices of the hearing system. Alternatively, it is of course possible to provide that said scheduling unit is comprised in one device (“master device”) of the hearing system.
In one embodiment of the method, said first and said second processing units are each comprised in a different device of said hearing system, and said method comprises the step of operationally interconnecting said two different devices in a wireless fashion.
In one embodiment, the method comprises the step of generating data representative of a task schedule comprising at least one task scheduled for execution in said first processing unit and at least one task scheduled for execution in said second processing unit.
In one embodiment, the method comprises the step of providing each of
In one embodiment, the method comprises the step of storing said data in a distributed fashion in at least two devices of said hearing system.
In one embodiment, the method comprises the step of carrying out said jointly scheduling in a distributed fashion in at least two devices of said hearing system.
Viewed from another different angle, a hearing system according to the invention comprises a scheduling unit adapted to scheduling tasks for at least a first processing unit of the hearing system, wherein said scheduling unit has access to tasks requested for execution in said first processing unit and to tasks requested for execution in a second processing unit of the hearing system. Typically, said scheduling unit schedules tasks for at least said first and said second processing units of the hearing system and has access to data representative of tasks requested for execution in said first processing unit and to data representative of tasks requested for execution in said second processing unit.
The invention comprises methods and uses with features of corresponding hearing systems according to the invention, and vice versa.
The advantages of the methods and uses correspond to the advantages of corresponding apparatuses and vice versa.
Further embodiments and advantages emerge from the dependent claims and the figures.
Below, the invention is described in more detail by means of examples and the included drawings. The figures show schematically:
The reference symbols used in the figures and their meaning are summarized in the list of reference symbols. The described embodiments are meant as examples and shall not confine the invention.
Any of the devices 1A, 1B, 1C, 1D can request the execution of tasks to be executed in one or more processing units 2A, 2B, 2C of the hearing system 1. It shall be assumed that processing unit 2A, e.g., a digital signal processor, is comprised in device 1A, processing unit 2B, e.g., a digital signal processor, is comprised in device 1B, and processing unit 2C, e.g., a controller, is comprised in device 1C, whereas device 1D has no processing unit or has at least no such processing unit of which another device (besides device 1D itself) could request that a task should be executed in it. It is also possible that there are two or more processing units comprised in one or more of the devices 1A, 1B, 1C, 1D.
A task request is typically generated by a device 1A, 1B, 1C, 1D itself or upon a user action. E.g., a classifier in device A could detect that the current acoustic environment has changed and request thereupon the execution of a program change into a corresponding hearing program. Such a program change would have to be carried out by hearing devices 1A, 1B and, more particularly, by processing units 2A and 2B. Another example: The hearing system user toggles a volume switch of device 1D or of hearing device 1A for increasing the output volume of both hearing devices 1A, 1B. That task should then be executed by processing units 2A and 2B. When the execution of a task is requested, it is possible that also the device or processor in which the task is to be executed, is specified, but it is also possible that this will be determined at a later stage, namely during scheduling.
Any task request will be collected (stored) in a storage unit 6. It would also be possible to provide that only a certain kind of tasks, e.g., tasks requested by certain devices or tasks requested for execution in certain devices, are stored in storage unit 6.
From storage unit 6, the requested tasks are fed to a scheduling unit 3, also referred to as joint scheduler 3. Accordingly, joint scheduler 3 is provided with information about all requested tasks, regardless of the processing unit in which the task shall be executed. This makes it possible to provide that joint scheduler 3 generates a joint schedule, i.e. a schedule comprising scheduled tasks for execution in any of the processing units 2A, 2B, 2C. Such a joint schedule (or, more precisely, data representative thereof) are stored in a storage unit 4. And, during the scheduling, joint scheduler 3 can consider interdependencies between tasks requested for execution in any of the processing units 2A, 2B, 2C. Accordingly, by means of a hearing system 1 as shown in
Note that—in contrast thereto—in the state of the art in hearing systems, a scheduler only schedules tasks for one single processing unit and is not “aware” of tasks requested for execution in other processing units. Such a scheduler cannot consider tasks requested for execution in other processing units during scheduling. In case that there is some correlation between a task to be executed in a first processing unit and a task to be executed in a second processing unit, e.g., both tasks shall be executed at approximately the same time, information about this correlation is used before the (separate) schedulers for the first and second processing unit, respectively, are provided with the requested tasks, and said information is neither known to the schedulers, nor used during the separate scheduling processes.
For properly accomplishing the scheduling, joint scheduler 3 has access to storage unit 5 in which rules are stored. Such rules determine or at least influence the behavior of the hearing system 1. For example, the rules can determine, which kind of tasks shall be treated as more important than others.
Said joint schedule can, e.g., be one list comprising the scheduled tasks for execution in whichever processing unit, or be composed of a separate list of scheduled tasks for execution in each of the processing units.
Typically, when a task has been scheduled (and is comprised in said joint schedule), it has been provided with a priority with respect to when it will be executed. A corresponding priority indicator can, e.g., indicate a position in a queue, or indicate a point in time at which the task is scheduled to be executed.
According to the data in the joint schedule, the scheduled tasks will be executed, each one in the processing unit for which it is scheduled.
After scheduling or after execution of a task, the task request can be deleted from storage unit 6.
The joint schedule is, of course, steadily (more or less continuously) being updated or renewed, always considering new requested tasks.
It is possible to realize the components 3, 4, 5, 6 of hearing system 1 according to the invention in various ways, in software, in hardware, in combinations of software and hardware. For the distribution of components 3, 4, 5, 6 among the devices 1A, 1B, 1C, 1D, there are various possible ways. For example, it is possible to choose one “master device”, e.g., device 1C, which then comprises components 3, 4, 5, 6.
As indicated by the three boxes inside the storage unit 6 labeled task requests A, B, and C, respectively, storage unit 6 can be distributed among several devices of the hearing system 1, e.g., as shown, among devices 1A, 1B, 1C.
It is possible to accomplish this in a time-division-multiplexed way, so that—at any time—all current task requests are stored within one of the devices 1A, 1B, 1C.
It is also possible to provide, that storage of task requests takes place simultaneously in all the devices 1A, 1B, 1C and to collect all task requests—as fast as possible—in all the devices 1A, 1B, 1C, 1D. In this case, the scheduling unit 3 will typically have to sort out superfluous multiply-occurring task requests.
Whatsoever, scheduling unit 3 should receive all requested tasks.
As indicated by the three boxes inside scheduling unit 3 labeled scheduler A, B, and C, respectively, scheduling unit 3 can be distributed among several devices of the hearing system 1. This can be accomplished by, e.g., time-division multiplexing. It is possible to provide that that one device which most recently requested a task will accomplish the joint scheduling and, accordingly, update the joint schedule in storage unit 4.
Storage unit 4 comprising the joint schedule can also be distributed among several devices of the hearing system 1, e.g., in a time-division-multiplexed way, preferably along with the joint scheduler 3. The same applies to storage unit 5 comprising the rules.
The invention can have advantages with respect to several aspects, some of which will be discussed below:
1) Re-scheduling of tasks:
There may be situations, in which a requested task becomes out of date, i.e. obsolete. E.g., the hearing system user wants to change from automatic program mode into manual program mode. In response to a corresponding manipulation of a user control of a device of the hearing system, the scheduling unit will schedule a program change task (tskp), e.g., for execution at time tp. However, it can happen that just shortly before time tp, one device of the hearing system requests the execution of another task (tskh) which shall overrule the program change task (tskp), i.e. program change task (tskp) is out of date and invalid.
A joint scheduling mechanism now can remove program change task (tskp) on all respective devices of the hearing system and schedule, also on all respective devices, task tskh, e.g., for execution at a time th.
2) Avoiding data jam in wireless hearing systems
During the operation of a hearing system comprising three or more devices interconnected via a wireless network, one device may request the transmission of a considerable amount of data from each of the other devices of the hearing system via the network. It shall be assumed that the response of the devices to the request is not time critical, e.g., does not have to occur within, e.g., the next 500 ms.
If the above is carried out without a joint scheduling mechanism, it is likely that a tremendous burst of data will be generated in the network, since in all the devices reacting to the request, the response to the request is likely to be scheduled for execution at approximately the same time.
In order to prevent such data transmission bursts in the network, a joint scheduling mechanism can schedule such tasks generating a large flow of data in the network for execution one after the other, i.e. distributed over time.
This way, the data load in the network is spread over time, and a low the peak load in the network is achieved.
3) Time synchronous data logging in several devices
Data logging is a concept known in the art of hearing devices. Data logging can be used in a hearing system for capturing snapshots of the operating state of all devices of the hearing system. Such snapshots may be used, e.g., by the hearing device fitter or by an automated application in the process of fine-tuning the hearing devices of the hearing system. However, such snapshots are most useful if they are captured at rather precisely the same time in all devices of the hearing system. Thus, data logging should be carried out in a time-synchronized way.
A joint scheduling mechanism can greatly facilitate a time synchronization of tasks such as data logging tasks in multiple devices in a hearing system.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP07/64394 | 12/20/2007 | WO | 00 | 6/17/2010 |