[go: up one dir, main page]

CN104869516A - Resource manager - Google Patents

Resource manager Download PDF

Info

Publication number
CN104869516A
CN104869516A CN201510086785.3A CN201510086785A CN104869516A CN 104869516 A CN104869516 A CN 104869516A CN 201510086785 A CN201510086785 A CN 201510086785A CN 104869516 A CN104869516 A CN 104869516A
Authority
CN
China
Prior art keywords
hearing aid
communication
task
hearing
scheduler
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510086785.3A
Other languages
Chinese (zh)
Other versions
CN104869516B (en
Inventor
奥勒·股迪克森
卡斯滕·费尔叟·约恩森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GN Hearing AS
Original Assignee
GN Resound AS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GN Resound AS filed Critical GN Resound AS
Publication of CN104869516A publication Critical patent/CN104869516A/en
Application granted granted Critical
Publication of CN104869516B publication Critical patent/CN104869516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to resource managers. A hearing aid comprising a power supply connected to supply power to a hearing aid circuit, the hearing aid circuit having: a wireless communication unit configured to communicate with another device; and a scheduler configured to receive communication requests from the communication tasks and schedule each communication task based on the communication task priority and the state of the power supply.

Description

资源管理器resource manager

技术领域technical field

一种新的助听器,其被配置为与其它设备进行无线通信,同时考虑该助听器的电源状态。A new hearing aid configured to communicate wirelessly with other devices while taking into account the power state of the hearing aid.

无线通信可以在便于网络中多个设备互连的无线网络中进行,例如助听器,遥控器,配件设备,移动电话,头戴式耳机,门铃,报警系统,广播系统,等。Wireless communication can take place in a wireless network that facilitates the interconnection of multiple devices in the network, such as hearing aids, remote controls, accessory devices, mobile phones, headsets, doorbells, alarm systems, public address systems, etc.

背景技术Background technique

WO2004/110099公开了一种助听器无线网络,其中,通信协议是单一的,从而仅需少量的代码,并且在操作期间功率消耗量低。此外,采集时间短,并且延迟时间少。WO2004/110099 discloses a wireless network for hearing aids in which the communication protocol is unitary so that only a small amount of code is required and the power consumption during operation is low. In addition, the acquisition time is short and there is little delay time.

发明内容Contents of the invention

提供一种新的助听器,其能够根据多种不同的无线通信协议来执行无线通信。A new hearing aid capable of performing wireless communication according to a plurality of different wireless communication protocols is provided.

提供一种新的助听器,其包括助听器电路,该助听器具有:A new hearing aid is provided comprising a hearing aid circuit having:

输入换能器,该输入换能器被配置为基于施加到所述输入换能器且代表声音的信号,输出音频信号;an input transducer configured to output an audio signal based on a signal applied to the input transducer and representing sound;

听力损失处理器,该听力损失处理器被配置为补偿助听器的用户的听力损失,并且输出听力损失补偿音频信号,例如助听器可以用于恢复响度,以使得如由正常听见的听者所感知的施加信号的响度基本上匹配如用户所感知的听力损失补偿信号的响度;a hearing loss processor configured to compensate for the hearing loss of a user of the hearing aid and to output a hearing loss compensation audio signal, for example the hearing aid may be used to restore loudness such that the applied The loudness of the signal substantially matches the loudness of the hearing loss compensation signal as perceived by the user;

输出换能器,例如接收器、植入式换能器等,该输出换能器被配置为基于听力损失补偿音频信号来输出听觉输出信号,该听觉输出信号能够由人类听觉系统接收,以使得用户听见声音;以及an output transducer, such as a receiver, an implantable transducer, etc., configured to output an auditory output signal based on the hearing loss compensation audio signal, the auditory output signal capable of being received by the human auditory system such that the user hears the sound; and

无线通信单元,该无线通信单元被配置为与另一设备通信。A wireless communication unit configured to communicate with another device.

连接电源以向所述助听器电路供电。A power source is connected to power the hearing aid circuitry.

所述助听器还可以包括具有操作系统的处理器,该操作系统被配置为管理助听器硬件和软件资源,例如包括听力损失处理器和可能的其它处理器以及关联的信号处理算法,无线通信单元,存储器资源,电源,等,并且向将要执行的任务提供公共服务。操作系统可以调度任务以有效地使用助听器源,并且还包括用于成本分配的计算软件,成本分配包括功率消耗,处理器时间,存储,无线传送,和其它资源。The hearing aid may also include a processor with an operating system configured to manage hearing aid hardware and software resources, including for example a hearing loss processor and possibly other processors and associated signal processing algorithms, a wireless communication unit, memory resources, power, etc., and provide public services to the tasks to be performed. The operating system can schedule tasks to efficiently use the hearing aid sources, and also includes computational software for cost allocation, including power consumption, processor time, storage, wireless transmission, and other resources.

虽然任务的应用代码通常由适当助听器处理电路直接执行,但是对于诸如无线通信和存储器分配的各种任务,操作系统用作任务和助听器电路之间的中介,并且将频繁地使系统调用操作系统功能或者将其中断。While the application code for a task is usually executed directly by the appropriate hearing aid processing circuitry, for various tasks such as wireless communication and memory allocation, the operating system acts as an intermediary between the task and the hearing aid circuitry and will frequently cause the system to call operating system functions Or interrupt it.

处理器可以是听力损失处理器,或者无线通信单元可以包括具有操作系统的处理器,或者操作系统可以在各处理器之间进行分配,例如听力损失处理器和无线通信单元处理器以及可能的一个或多个其它的处理器。The processor may be a hearing loss processor, or the wireless communication unit may include a processor with an operating system, or the operating system may be split between the processors, such as the hearing loss processor and the wireless communication unit processor and possibly a or multiple other processors.

具体地,所述操作系统可以被配置为控制所述无线通信单元根据多个通信协议和通信任务的优先级执行与其它设备的通信。Specifically, the operating system may be configured to control the wireless communication unit to perform communication with other devices according to a plurality of communication protocols and priorities of communication tasks.

所述操作系统可以包括调度器,或者所述操作系统可以由调度器组成。调度器可以被配置为接收来自通信任务的通信请求,并且可以基于任务优先级和所述电源的状态,例如电源的电池和/或助听器电路的电容器的放电状态,调度每个通信任务。The operating system may include a scheduler, or the operating system may consist of a scheduler. The scheduler may be configured to receive communication requests from communication tasks and may schedule each communication task based on task priority and the state of said power source, eg a discharge state of a battery of the power source and/or a capacitor of the hearing aid circuit.

提供一种调度助听器的无线通信的新方法,该助听器包括助听器电路,该助听器具有:A new method of scheduling wireless communications for a hearing aid comprising a hearing aid circuit having:

输入换能器,该输入换能器被配置为基于施加到所述输入换能器且代表声音的信号,输出音频信号;an input transducer configured to output an audio signal based on a signal applied to the input transducer and representing sound;

听力损失处理器,该听力损失处理器被配置为补偿助听器的用户的听力损失,并且输出相应的听力损失补偿音频信号;a hearing loss processor configured to compensate for a hearing loss of a user of the hearing aid and output a corresponding hearing loss compensation audio signal;

输出换能器,该输出换能器被配置为基于听力损失补偿音频信号来输出听觉输出信号,该听觉输出信号能够由人类听觉系统接收,以使得用户听见声音;an output transducer configured to output an auditory output signal based on the hearing loss compensated audio signal, the auditory output signal capable of being received by the human auditory system to allow the user to hear the sound;

无线通信单元,该无线通信单元被配置为与另一设备通信;a wireless communication unit configured to communicate with another device;

电源,连接所述电源以向所述助听器电路供电,以及a power supply connected to provide power to the hearing aid circuitry, and

操作系统,该操作系统被配置为控制所述无线通信单元根据各通信协议和优先级与其它设备通信。An operating system configured to control the wireless communication unit to communicate with other devices according to respective communication protocols and priorities.

所述新方法可以包括接收来自所述通信任务的通信请求,并且基于任务优先级和所述电源的状态调度所述通信任务。The new method may include receiving a communication request from the communication task, and scheduling the communication task based on a task priority and a state of the power source.

换能器是将以一种形式的能量的施加到换能器上的信号转换为另一种形式的能量的相应的输出信号。A transducer is one that converts a signal applied to the transducer in one form of energy into a corresponding output signal in another form of energy.

输入换能器可以包括麦克风,该麦克风将施加到麦克风上的声学信号转换为相应的模拟音频信号,其中所述音频信号的瞬时电压随着声学信号的声压持续地变化。The input transducer may include a microphone that converts an acoustic signal applied to the microphone into a corresponding analog audio signal, wherein the instantaneous voltage of the audio signal varies continuously with the sound pressure of the acoustic signal.

输入换能器还可以包括遥感线圈,该遥感线圈将遥感线圈上的变化的磁场转换为相应的变化的模拟音频信号,其中音频信号的瞬时电压随着遥感线圈上的磁场强度变化而持续地变化。遥感线圈可以用于将信号增加到用于在例如教堂、大讲堂、戏院、电影院等公共场所中寻找大量的人的扬声器或者通过例如在火车站,飞机场,购物中心等的扩音系统的语音的噪声比。来自扬声器的语音被转换为具有感应线圈系统(也称为“听力线圈”)的磁场,并且遥感线圈用于磁性拾取磁场传送的语音信号。The input transducer may also include a telecoil that converts the changing magnetic field across the telecoil into a correspondingly varying analog audio signal, wherein the instantaneous voltage of the audio signal varies continuously as the magnetic field strength across the telecoil varies . Telecoils can be used to augment the signal to loudspeakers used to find large numbers of people in public places such as churches, lecture halls, theaters, cinemas, etc. or to voice through public address systems such as in train stations, airports, shopping malls, etc. noise ratio. Speech from the speaker is converted to a magnetic field with an induction coil system (also known as a "hearing coil"), and a telecoil is used to magnetically pick up the speech signal carried by the magnetic field.

输入换能器还可以包括至少两个间隔开的麦克风,和波束形成器,该波束形成器被配置用于将所述至少两个间隔开的麦克风的麦克风输出信号组合为定向的麦克风信号。The input transducer may also include at least two spaced apart microphones, and a beamformer configured to combine the microphone output signals of the at least two spaced apart microphones into a directional microphone signal.

输入换能器可以包括一个或多个麦克风、遥感线圈和开关,例如用于在全向麦克风信号、或定向麦克风信号、或遥感线圈信号中单独地或以任何组合的形式进行选择以作为音频信号。The input transducer may include one or more microphones, telecoils, and switches, for example, to select among omnidirectional microphone signals, or directional microphone signals, or telecoil signals, individually or in any combination, as audio signals .

典型地,通过由模数转换器转换为相应的数字音频信号,使模拟音频信号适合于数字信号处理,从而使得模拟音频信号的振幅由二进制数表示。在这种方式中,呈数值序列形式的离散时间和离散振幅数字音频信号代表连续时间和连续振幅模拟音频信号。Typically, the analog audio signal is adapted for digital signal processing by conversion to a corresponding digital audio signal by an analog-to-digital converter such that the amplitude of the analog audio signal is represented by a binary number. In this manner, a discrete-time and discrete-amplitude digital audio signal in the form of a sequence of values represents a continuous-time and continuous-amplitude analog audio signal.

在整个本公开中,“音频信号”可以用于识别从输入换能器的输出到听力损失处理器的输入的信号路径的任何模拟或数字信号形成部分。Throughout this disclosure, "audio signal" may be used to identify any analog or digital signal forming portion of a signal path from the output of an input transducer to the input of a hearing loss processor.

在整个本公开中,“听力损失补偿音频信号”可以用于识别可经由数模转换器的从听力损失处理器的输出到输出换能器的输入的信号路径的任何模拟或数字信号形成部分。Throughout this disclosure, "hearing loss compensated audio signal" may be used to identify any analog or digital signal forming portion of a signal path from the output of a hearing loss processor to the input of an output transducer that may pass through a digital to analog converter.

无线通信单元可以包括收发器。The wireless communication unit may include a transceiver.

无线通信单元可以是包括无线传送器和无线接收器的设备或电路。传送器和接收器可以分享公共电路和/或单个壳体。可选择地,传送器和接收器也可以不分享电路,而无线通信单元可以包括分别具有传送器和接收器的单独的设备。A wireless communication unit may be a device or circuit including a wireless transmitter and a wireless receiver. The transmitter and receiver can share a common circuit and/or a single housing. Alternatively, the transmitter and receiver may not share circuitry, and the wireless communication unit may comprise separate devices with a transmitter and a receiver, respectively.

无线通信可以根据频率多样化或扩展频谱方案来执行,即由助听器利用的频率范围被分成多个频道,并且无线传送根据预定方案切换频道,以使得在整个频率范围内分配所述传送。Wireless communication may be performed according to a frequency diversification or spread spectrum scheme, ie the frequency range utilized by hearing aids is divided into channels and wireless transmissions switch channels according to a predetermined scheme such that the transmissions are distributed over the entire frequency range.

跳频算法可以设置为允许网络中的设备不依赖于网络的历史地,计算将在任何给定的时间点使用网络中的什么频道,例如伪随机编号发生器基于目前的频道编号计算下一频道编号。这促进了具有助听器的新设备的同步,例如新设备包括与助听器相同的伪随机编号发生器。因此,一旦在请求期间接收到当前频道编号,所述新的设备将计算与助听器相同的下一频道编号。Frequency hopping algorithms can be set up to allow devices in the network to calculate what channel in the network will be in use at any given point in time, independent of the network's history, such as a pseudo-random number generator calculating the next channel based on the current channel number serial number. This facilitates the synchronization of new devices with hearing aids, eg the new device includes the same pseudo-random number generator as the hearing aids. Thus, once the current channel number is received during the request, the new device will calculate the same next channel number as the hearing aid.

网络中的每个设备具有其自己的识别编号,例如32位编号。由于具有带有相同身份的助听器的两个用户的可能性是可以忽略的,所以不需要全球唯一的身份。Each device in the network has its own identification number, for example a 32-bit number. Since the possibility of having two users of a hearing aid with the same identity is negligible, no globally unique identity is required.

优选地,新设备由网络自动辩认并且与网络互连。Preferably, new devices are automatically recognized by the network and interconnected with the network.

根据扩展频谱方案操作的网络的优点在于,由于噪音典型地存在于特殊的频道,所以通信对噪音具有低敏感度,并且通信将仅在特殊的频道中执行很短的时间周期,在此之后,通信将切换到另一频道。An advantage of a network operating according to a spread spectrum scheme is that communication has a low sensitivity to noise since noise is typically present in a particular channel, and communication will only be performed in a particular channel for a short period of time, after which, Communication will switch to another channel.

此外,由于同时使用相同的特定频道的两个网络可能性非常低,所以几个网络可以紧密地共同存在,例如两个或多个助听器用户可以存在于同一个房间,而没有网络干涉。同样地,助听器网络可以与利用相同频带的其它无线网络共存,例如蓝牙网络或其它无线局域网络。Furthermore, since the probability of two networks using the same specific channel at the same time is very low, several networks can co-exist closely, eg two or more hearing aid users can exist in the same room without network interference. Likewise, the hearing aid network can co-exist with other wireless networks utilizing the same frequency band, such as Bluetooth networks or other wireless local area networks.

有利地,助听器可以嵌入双耳助听器系统,其中,两个助听器例如通过无线网络互连用于数字交换数据,例如音频信号,信号处理参数,诸如信号处理程序的识别等控制数据等,并且与诸如远程控制等的其它设备可选地互连。Advantageously, the hearing aids can be embedded in a binaural hearing aid system, in which two hearing aids are interconnected, for example via a wireless network, for digitally exchanging data, such as audio signals, signal processing parameters, control data such as identification of signal processing programs, etc. Other devices such as remote controls are optionally interconnected.

典型地,仅限制量的功率可从助听器的电源获取。例如,典型地,功率由助听器中的传统的ZnO2电池提供。Typically, only a limited amount of power is available from the hearing aid's power supply. For example, power is typically provided by conventional ZnO2 batteries in hearing aids.

在助听器的设计中,尺寸和功率消耗是重要的考虑因素。助听器的尺寸取决于使用的电池的尺寸,并且为了确保助听器紧凑且不引人注意,使用小的电池尺寸,例如“312”和“13”型号。然而,小电池具有相对大的内部电阻。例如“312”电池典型地具有5欧姆的内部电阻,其比AA型电池的内部电阻高两个量级。高的内部电阻使得输出电流增加的情况下输出电压有明显的下降。这可能对于助听器电路的部分操作是特别重要的。Size and power consumption are important considerations in hearing aid design. The size of the hearing aid depends on the size of the battery used, and to ensure that the hearing aid is compact and unobtrusive, small battery sizes are used, such as the "312" and "13" models. However, small batteries have relatively large internal resistances. For example, a "312" battery typically has an internal resistance of 5 ohms, which is two orders of magnitude higher than that of an AA-sized battery. The high internal resistance causes a significant drop in output voltage as the output current increases. This may be particularly important for part of the operation of hearing aid circuits.

助听器的无线通信单元可以包括在无线电芯片中,例如Nordic半导体无线电芯片“"nRF24I01”,其一般在上述传统的ZnO2电池提供的电压下操作。因此,可能需要经由倍压器(电压放大器)将功率提供给无线电芯片。此外,无线电芯片在传送和接收期间获取大量的电流。传统的ZnO2电池仅能够在传送和接收期间在限制时间周期,典型地是1毫秒内,供应无线通信单元获取的所需的电流量。在更长时间周期内连续供应电池所需电流量的情况下,供应电压将下降,并且下降到一定阈值以下,助听器电路具体地是助听器电路的数字部分将不能正确地工作。The wireless communication unit of the hearing aid may be included in a radio chip, such as the Nordic Semiconductor radio chip "nRF24I01", which generally operates at the voltage provided by the traditional ZnO2 battery mentioned above. Therefore, it may be necessary to convert the Power is provided to the radio chip. In addition, the radio chip draws a large amount of current during transmission and reception. A conventional ZnO2 battery can only supply the wireless communication unit during transmission and reception for a limited period of time, typically 1 millisecond. The amount of current required. With the continuous supply of the required amount of current from the battery for a longer period of time, the supply voltage will drop and drop below a certain threshold and the hearing aid circuit, specifically the digital portion of the hearing aid circuit, will not function properly .

此外,即使在通信期间在限制时间周期内已经向无线电芯片提供电流之后,ZnO2电池也需要时间恢复。典型地,无线电芯片占空比,即无线电设备打开的时间相对于无线电设备打开和关断时间之和的百分比,必须保持低于10%。Furthermore, ZnO2 batteries require time to recover even after current has been supplied to the radio chip for a limited period of time during communication. Typically, the radio chip duty cycle, the percentage of time the radio is on relative to the sum of the time the radio is on and off, must remain below 10%.

这个问题可以通过在助听器电路的电源和无线通信单元的源电压输入之间,例如在倍压器的输出和无线电芯片的电源输入之间,将电路与电阻器和电容器连接而得到缓和。电容器将峰值电流传递到无线通信单元,以使得从电源获取的峰值电流变小,并且电阻器将限制在电容器电压下降期间由无线通信单元从电源获取的电流。This problem can be alleviated by connecting the circuit with resistors and capacitors between the power supply of the hearing aid circuit and the source voltage input of the wireless communication unit, eg between the output of the voltage doubler and the power input of the radio chip. The capacitor will pass the peak current to the wireless communication unit so that the peak current drawn from the power supply becomes smaller, and the resistor will limit the current drawn by the wireless communication unit from the power supply during the capacitor voltage drop.

调度器可以被配置为基于当前或最近的通信任务的估计功率消耗,计算用于执行下一通信任务的最早可能启动时间,以便提供例如上述的电池和/或电容器的电源,在当前或最近的通信任务结束和下一通信任务启动之间的恢复时间周期。The scheduler may be configured to calculate the earliest possible start-up time for executing the next communication task based on the estimated power consumption of the current or most recent communication task, in order to provide power such as the aforementioned batteries and/or capacitors, at the current or most recent The recovery time period between the end of a communication task and the start of the next communication task.

由无线通信单元执行的通信任务结束之后应用的恢复时间周期可以被计算为由无线通信单元执行的通信任务的估计持续时间或实际持续时间乘以常数。The resume time period for the application after the communication task performed by the wireless communication unit ends may be calculated as the estimated duration or the actual duration of the communication task performed by the wireless communication unit multiplied by a constant.

估计持续时间可以由通信任务的预处理、传送、接收和后处理所增加的时间周期组成。The estimated duration may consist of time periods added by the pre-processing, transmission, reception and post-processing of the communication task.

实际持续时间可以由无线设备在执行通信任务时实际被供电的期间所增加的时间周期组成。因此,当使用实际持续时间来计算恢复时间周期时,无线设备在执行通信任务期间的可能的掉电周期没有加入到恢复时间周期。The actual duration may consist of an increased period of time during which the wireless device is actually powered while performing a communication task. Therefore, when the actual duration is used to calculate the recovery time period, possible periods of power down of the wireless device during the performance of the communication task are not added to the recovery time period.

常数的范围可以从0.5到2,优选地从0.6到1.8,更优选地从0.7到1.5,最优选地从0.8到1.4。例如,常数可以等于1.125。The constant may range from 0.5 to 2, preferably from 0.6 to 1.8, more preferably from 0.7 to 1.5, most preferably from 0.8 to 1.4. For example, a constant could be equal to 1.125.

由无线通信单元执行的通信任务结束之后应用的恢复时间周期可以由执行通信任务期间从电源获取的电荷或电流计算。The recovery time period applied after the end of the communication task performed by the wireless communication unit may be calculated from the charge or current drawn from the power source during the execution of the communication task.

当计算恢复时间周期时,调度器可以考虑电源状态,即电池的放电状态。例如,上述常数可以按照电池放电状态的函数增加。When calculating the recovery time period, the scheduler can take into account the power state, ie the state of discharge of the battery. For example, the above constants may increase as a function of the state of discharge of the battery.

所述通信请求可以包含通信任务的优先级。The communication request may contain a priority of the communication task.

所述通信请求可以包含用于执行请求的通信任务的启动时间。The communication request may include a start time for performing the requested communication task.

所述通信请求可以包含用于执行请求的通信任务的持续时间。The communication request may include a duration for performing the requested communication task.

所述调度器可以确定所述请求启动时间是不可用的,并且可以向所述请求任务传达必须请求另一启动时间。The scheduler may determine that the requested start time is not available, and may communicate to the requesting task that another start time must be requested.

所述调度器可以确定已经调度的任务例如由于具有更高优先级的请求而不能在调度启动时间处执行,并且可以向所述已经调度的任务传达必须请求新的启动时间。The scheduler may determine that an already scheduled task cannot execute at the scheduled start time, eg, due to a higher priority request, and may communicate to the already scheduled task that a new start time must be requested.

所述调度器可以配置为:在具有更高优先级的通信任务之前,允许具有更低优先级的通信任务执行通信,只要具有更低优先级的通信任务将在电源的适当恢复时间周期的时间结束其通信,以在具有更高优先级的通信任务启动之前消逝。The scheduler may be configured to allow communication tasks with lower priority to perform communications before communication tasks with higher priority, as long as the communication tasks with lower priority will be within the appropriate power recovery time period Ends its communication to die before a communication task with higher priority starts.

所述调度器也可以调度除了无线通信任务以外的其它任务,因此,所述调度器可以被配置为接收来自除了无线通信任务以外的其它任务的任务请求,并且可以根据任务优先级和电源的状态调度每个任务。The scheduler can also schedule tasks other than the wireless communication task, therefore, the scheduler can be configured to receive task requests from tasks other than the wireless communication task, and can Schedule each task.

所述调度器也可以在调度时也可以考虑除了无线通信以外的其它任务的功率消耗。其它任务的例子包括功率消耗算法,闪存中的存储,等。这样的其它任务的恢复时间周期可以以与上述涉及用于无线通信任务的恢复时间周期的解释相同的方式计算。例如由于功率消耗不同,所以对于不同类型的任务,常数可以是不同的。The scheduler may also consider the power consumption of other tasks besides wireless communication when scheduling. Examples of other tasks include power consumption algorithms, storage in flash memory, etc. The recovery time periods for such other tasks may be calculated in the same manner as explained above in relation to recovery time periods for wireless communication tasks. The constants may be different for different types of tasks, eg due to different power consumption.

所述调度器可以被配置为使助听器电路的一个或多个部分掉电,以避免由于功率消耗电路同时操作导致过多的功率消耗。The scheduler may be configured to power down one or more parts of the hearing aid circuitry to avoid excessive power consumption due to simultaneous operation of power consuming circuits.

例如,例如在向闪存写入和/或从闪存读取期间、在执行功率消耗算法期间等,所述调度器可以被配置为在休眠期间内关断无线通信单元。For example, the scheduler may be configured to turn off the wireless communication unit during sleep periods, eg, during writing to and/or reading from flash memory, during execution of power consumption algorithms, etc.

优选地,所述调度器被配置为即使是给定任务的重复执行、可以容易地确定或者已经确定多个启动时间的情况下,例如,流式音频,也调度每个请求任务的下一启动时间,即调度器被配置为不调度给定任务的多个启动时间。在这种方式下,调度任务的数量保持低,从而由于不需要响应新请求的再调度,所以使得调度器保持简单和动态。Preferably, the scheduler is configured to schedule the next launch of each requested task even if multiple launch times, such as streaming audio, are readily determined or have been determined for a given task's repeated execution The time at which the scheduler is configured not to schedule multiple start times for a given task. In this way, the number of scheduled tasks is kept low, thereby keeping the scheduler simple and dynamic since no rescheduling in response to new requests is required.

在通信任务比调度地更早结束或终止的情况下,调度器可以被配置为基于被怀疑的通信任务的实际持续时间和/或实际功率消耗,再计算恢复时间周期。在再计算的恢复时间周期消逝之后,并且直到下一调度任务的调度启动时间,可以有充足的时间来执行另一任务,并且如上所述地,调度器可以被配置为:即使另一任务具有比下一调度任务更低优先级,也允许执行另一任务,只要任务将在关联恢复时间周期的时间结束,以在下一调度任务启动之前消逝。In the event that a communication task ends or terminates earlier than scheduled, the scheduler may be configured to recalculate the recovery time period based on the actual duration and/or actual power consumption of the suspected communication task. After the recomputed recovery time period has elapsed, and until the scheduled start time of the next scheduled task, there may be sufficient time to execute another task, and as described above, the scheduler may be configured such that even if another task has A lower priority than the next scheduled task also allows another task to execute, as long as the task will finish by the time of the associated recovery time period to elapse before the next scheduled task starts.

在新的助听器中的信号处理可以由专用的硬件执行,或者可以在一个或多个信号处理器中执行,或者在专用硬件和一个或多个信号处理器的组合中执行。Signal processing in the new hearing aid may be performed by dedicated hardware, or may be performed in one or more signal processors, or in a combination of dedicated hardware and one or more signal processors.

协议是用于例如在网络中在设备内或设备之间进行数据交换的数字规则的系统。协议限定通信的语法、语义和同步。协议能够在硬件、软件或同时在两者中执行。A protocol is a system of digital rules for exchanging data within or between devices, eg in a network. Protocols define the syntax, semantics, and synchronization of communications. Protocols can be implemented in hardware, software, or both.

通信任务包括请求执行通信的动作,例如将数据包传送到助听器。通信请求可以由需要与助听器的通信单元协同操作的助听器中的另一设备或处理器执行。Communication tasks include actions that require communication to be performed, such as sending a data packet to a hearing aid. The communication request may be executed by another device or processor in the hearing aid that needs to cooperate with the communication unit of the hearing aid.

如在此使用的,术语“处理器”、“信号处理器”、“控制器”、“系统”等用于指代与CPU相关的实体、或者硬件、或者是硬件和软件的组合、或者软件、或者执行中的软件。As used herein, the terms "processor," "signal processor," "controller," "system," and the like are used to refer to a CPU-related entity, or hardware, or a combination of hardware and software, or software , or software in execution.

例如,“处理器”、信号处理器”、“控制器”、“系统”等可以是但不限于是处理器中运行的处理、处理器、对象、可执行的文件、执行的思路、和/或程序。For example, "processor", "signal processor", "controller", "system", etc. may be, but not limited to, processing running in a processor, a processor, an object, an executable file, an execution idea, and/or or program.

通过示例的方式,术语“处理器”、信号处理器”、“控制器”、“系统”等指定在处理器中运行的应用和硬件处理器。一个或多个“处理器”、信号处理器”、“控制器”、“系统”等或其任意组合,可以包含在执行的处理和/或思路中,并且一个或多个“处理器”、信号处理器”、“控制器”、“系统”等或其任意组合,可以在一个硬件处理器中实现,可以在与另一硬件电路的组合中实现,和/或分配在两个或多个硬件处理器之间实现,也可以在与其它的硬件电路组合中实现。By way of example, the terms "processor", "signal processor", "controller", "system", etc. designate applications and hardware processors running in a processor. One or more "processors", signal processors ", "controller", "system", etc. or any combination thereof, may be included in the processing and/or ideas performed, and one or more "processors", "signal processors", "controllers", "systems ” etc., or any combination thereof, may be implemented in one hardware processor, may be implemented in combination with another hardware circuit, and/or distributed between two or more hardware processors, or may be implemented in combination with other hardware circuits Realized in the hardware circuit combination.

此外,处理器(或者类似的术语)可以是能够执行信号处理的任何元件或元件的任何组合。例如,信号处理器可以是ASIC处理器、FPGA处理器、通用处理器、微处理器、电路元件或集成电路。Furthermore, a processor (or similar term) may be any element or combination of elements capable of performing signal processing. For example, a signal processor may be an ASIC processor, FPGA processor, general purpose processor, microprocessor, circuit element, or integrated circuit.

附图说明Description of drawings

在下文中,将参考附图更详细地解释新的方法和助听器,其中In the following, the new method and hearing aid will be explained in more detail with reference to the accompanying drawings, in which

图1示意性地示例了在无线网络中通信的根据所附的权利要求的助听器。Fig. 1 schematically illustrates a hearing aid according to the appended claims communicating in a wireless network.

图2是根据所附的权利要求的一个新的助听器的示意图。Figure 2 is a schematic view of a new hearing aid according to the appended claims.

图3示例了时隙和帧。Figure 3 illustrates slots and frames.

图4示例了各种任务请求,以及Figure 4 illustrates various task requests, and

图5示出了预订列表和优先任务列表。Figure 5 shows a reservation list and a priority task list.

具体实施方式Detailed ways

在下文中,示例了新的方法和助听器的各种例子。然而,根据所附权利要求的新的方法和助听器可以以不同的形式实施,并且不应该构成为限制成在此所述的例子。In the following, various examples of new methods and hearing aids are illustrated. However, the novel method and hearing aid according to the appended claims may be embodied in different forms and should not be construed as limited to the examples described herein.

应该注意,附图是示意性的,并且为了清楚而简化,它们仅示出为了理解新的方法和助听器所必要的细节,而舍掉了其它细节。It should be noted that the figures are schematic and simplified for clarity, they only show details necessary to understand the new method and hearing aid, while other details are left out.

在所有附图中,相同的附图标记指示相同的元件。因此,相同的元件不会在每个附图的描述中详细地描述。The same reference numerals refer to the same elements throughout the drawings. Therefore, the same elements will not be described in detail in the description of each drawing.

图1示意性地示例了双耳助听器10L、10R,即左耳助听器10L和右耳助听器10R,每个都具有用于与无线网络连接的无线通信单元,其中,该无线网络将两个助听器互连,并且将助听器10L、10R和无线网络中的多个其它设备互连。在图1中示例的例子中,门铃、移动电话、无绳电话、电视机和配件设备也连接到无线网络。FIG. 1 schematically illustrates binaural hearing aids 10L, 10R, namely a left ear hearing aid 10L and a right ear hearing aid 10R, each having a wireless communication unit for connecting to a wireless network that connects the two hearing aids to each other. and interconnect the hearing aids 10L, 10R and multiple other devices in the wireless network. In the example illustrated in Figure 1, doorbells, mobile phones, cordless phones, televisions and accessory devices are also connected to the wireless network.

ID识别每个设备。该ID在网络中是唯一的。ID identifies each device. This ID is unique within the network.

图1中示例的助听器网络在2.4GHz的工业科学医疗(ISM)频带中操作。它包括1MHz带宽的80个频道。使用跳频时分复用方案。在采集期间,跳频方案包括为了更快地采集而减少频道的数量,例如少于16个频道,优选地是8个频道。减少后的频道组的成员代表采集频道。优选地,在网络利用的所有频带中,均匀地分配采集频道。The hearing aid network exemplified in Figure 1 operates in the Industrial Scientific Medical (ISM) frequency band at 2.4 GHz. It includes 80 channels of 1MHz bandwidth. Use frequency hopping time division multiplexing scheme. During acquisition, the frequency hopping scheme involves reducing the number of channels for faster acquisition, eg less than 16 channels, preferably 8 channels. The members of the reduced channel group represent acquisition channels. Preferably, the acquisition channels are distributed evenly across all frequency bands utilized by the network.

图2示出新的助听器10的示意图。FIG. 2 shows a schematic view of the new hearing aid 10 .

助听器10具有ZnO2电池12,其连接用于向助听器电路14供电。The hearing aid 10 has a ZnO 2 battery 12 connected for powering the hearing aid circuitry 14 .

助听器电路14包括形式是麦克风16的输入换能器16。当助听器10工作时,麦克风16基于到达麦克风16的声学声音信号输出模拟音频信号18。The hearing aid circuit 14 includes an input transducer 16 in the form of a microphone 16 . When the hearing aid 10 is in operation, the microphone 16 outputs an analog audio signal 18 based on the acoustic sound signal reaching the microphone 16 .

模数转换器20将模拟音频信号18转换为相应的数字音频信号22,用于在助听器电路14中进行数字信号处理。具体地,听力损失处理器24A被配置为补偿助听器10的用户的听力损失。优选地,听力损失处理器24A包括本领域公知的动态范围处理器,用于补偿本领域通常所称的补充的用户的动态范围的附属频率损失。因此,听力损失处理器24A输出数字听力损失补偿音频信号26。助听器可以被配置为恢复响度,以使得如戴上助听器10的用户感知的听力损失补偿信号的响度基本上匹配到达麦克风16的声学声音信号的响度,如由能正常听见的听者已经感知的响度。An analog-to-digital converter 20 converts the analog audio signal 18 into a corresponding digital audio signal 22 for digital signal processing in the hearing aid circuit 14 . In particular, the hearing loss processor 24A is configured to compensate for the hearing loss of the user of the hearing aid 10 . Preferably, the hearing loss processor 24A comprises a dynamic range processor known in the art for compensating for ancillary frequency losses commonly referred to in the art as supplemental user's dynamic range. Accordingly, the hearing loss processor 24A outputs a digital hearing loss compensated audio signal 26 . The hearing aid may be configured to restore the loudness such that the loudness of the hearing loss compensation signal, as perceived by a user wearing the hearing aid 10, substantially matches the loudness of the acoustic sound signal reaching the microphone 16, as would have been perceived by a normally hearing listener .

数模转换器28将数字听力损失补偿音频信号26转换为相应的模拟听力损失补偿音频信号30。A digital-to-analog converter 28 converts the digital hearing loss compensation audio signal 26 into a corresponding analog hearing loss compensation audio signal 30 .

以接收器32形式的输出换能器将模拟听力损失补偿音频信号30转换为相应的声学信号用于向用户的耳膜传送,从而使用户听到到达麦克风的声音;而用户的个人听力损失得到补偿。An output transducer in the form of a receiver 32 converts the analog hearing loss compensating audio signal 30 into a corresponding acoustic signal for transmission to the user's eardrum so that the user hears the sound reaching the microphone; while the user's personal hearing loss is compensated .

听力损失处理器24A形成处理器A的一部分,该处理器A执行助听器的操作系统36A、36B的一部分36A和存储器38A。The hearing loss processor 24A forms part of a processor A which executes a part 36A and memory 38A of the hearing aid's operating system 36A, 36B.

助听器电路14还包括具有无线电设备34的无线通信单元B,该无线电设备被配置为与用于双耳助听器系统的如图1所示的助听器网络中的其它设备无线通信。无线通信单元B包括执行助听器的操作系统36A、36B的一部分36B和存储器38B的处理器,以及执行各种通信协议和其它任务的处理器24B。The hearing aid circuit 14 also includes a wireless communication unit B having a radio 34 configured to communicate wirelessly with other devices in a hearing aid network as shown in FIG. 1 for a binaural hearing aid system. Wireless communication unit B includes a processor that executes a portion 36B and memory 38B of the hearing aid's operating system 36A, 36B, and a processor 24B that executes various communication protocols and other tasks.

助听器10的操作由操作系统36A、36B控制。操作系统36A、36B被配置为管理助听器硬件和软件资源,例如包括听力损失处理器24A和可能的其它处理器以及关联的信号处理算法,无线通信单元B、存储器资源38A、38B、电源12,等,并且,操作系统36A、36B将助听器资源分配给将要执行的任务。Operation of the hearing aid 10 is controlled by the operating system 36A, 36B. Operating system 36A, 36B is configured to manage hearing aid hardware and software resources, including, for example, hearing loss processor 24A and possibly other processors and associated signal processing algorithms, wireless communication unit B, memory resources 38A, 38B, power supply 12, etc. , and the operating system 36A, 36B allocates hearing aid resources to tasks to be performed.

操作系统36A、36B调度任务以有效地使用助听器源,并且还包括用于成本分配的计算软件,成本分配包括功率消耗、处理器时间、存储器位置、无线传送和其它资源。The operating system 36A, 36B schedules tasks to efficiently use the hearing aid sources and also includes computational software for cost allocation including power consumption, processor time, memory location, wireless transmission and other resources.

虽然任务的应用代码通常由助听器电路的适当部分直接执行,但是对于诸如无线通信和存储器分配的各种任务,操作系统用作任务和助听器电路硬件之间的中介,并且将频繁地使系统调用各操作系统功能或者将其中断。While the application code for a task is usually executed directly by the appropriate portion of the hearing aid circuitry, for various tasks such as wireless communication and memory allocation, the operating system acts as an intermediary between the task and the hearing aid circuitry hardware, and will frequently make system calls to various operating system functions or interrupt them.

具体地,操作系统36B控制无线电设备34根据各个通信协议和各个通信任务的优先级,执行与其它设备的无线通信。Specifically, the operating system 36B controls the radio device 34 to perform wireless communication with other devices according to respective communication protocols and priorities of respective communication tasks.

操作系统36B包括调度器40,其接收来自将要执行的任务的请求,包括通信请求。通信请求包括通信任务的优先级、用于执行请求通信任务的请求启动时间和用于执行请求通信任务的期望持续时间。Operating system 36B includes a scheduler 40 that receives requests, including communication requests, from tasks to be performed. The communication request includes a priority of the communication task, a request initiation time for performing the requested communication task, and a desired duration for performing the requested communication task.

调度器40响应于任务请求,基于任务优先级和电容器42的向无线电设备34供电的放电状态以及通过电阻器44由电池12充电调度每个任务。Scheduler 40 schedules each task based on task priority and the state of discharge of capacitor 42 to power radio 34 and charge by battery 12 through resistor 44 in response to task requests.

具有电阻器44和电容器42的电路可以省略,即,电阻器44可能通过短路替代,电容器42可以由开路替代,并且在此情况下,调度器40响应于任务请求,基于任务优先级和电池12的放电状态来调度每个任务。The circuit with resistor 44 and capacitor 42 may be omitted, i.e. resistor 44 may be replaced by a short circuit and capacitor 42 may be replaced by an open circuit, and in this case the scheduler 40 responds to the task request based on the task priority and the battery 12 discharge state to schedule each task.

在电池12和电容器42的组合的示例性例子中,为了在当前或最近通信任务结束和下一通信任务开始之间提供电源的恢复时间周期,调度器40基于当前或最近通信任务的估计功率消耗,计算用于执行下一通信任务的最早可能启动的时间。In the illustrative example of the battery 12 and capacitor 42 combination, in order to provide a recovery time period of power between the end of the current or most recent communication task and the start of the next communication task, scheduler 40 is based on the estimated power consumption of the current or most recent communication task , to calculate the earliest possible start time for executing the next communication task.

由无线电设备34执行的通信任务结束之后应用的恢复时间周期可以被计算为由无线电设备34执行的通信任务的估计持续时间或实际持续时间乘以常数。The resume time period applied after the communication task performed by the radio 34 ends may be calculated as the estimated or actual duration of the communication task performed by the radio 34 multiplied by a constant.

估计持续时间可以由通信任务的预处理、传送、接收和后处理所增加的时间周期组成。The estimated duration may consist of time periods added by the pre-processing, transmission, reception and post-processing of the communication task.

实际持续时间可以由无线电设备34在执行通信任务时实际被供电的期间所增加的时间周期组成。因此,当使用实际持续时间来计算恢复时间周期时,无线电设备34在执行通信任务期间的可能的掉电周期没有加入到恢复时间周期。The actual duration may consist of an increased period of time during which the radio 34 is actually powered while performing a communication task. Thus, when the actual duration is used to calculate the recovery time period, possible periods of power down of the radio 34 while performing a communication task are not added to the recovery time period.

在示例的助听器10中,常数可以等于1.125。In the example hearing aid 10, the constant may be equal to 1.125.

在另一例子中,由无线电设备34执行的通信任务结束之后应用的恢复时间周期可以由执行通信任务期间从电源获取的电荷或电流计算。In another example, the application's recovery time period after a communication task performed by the radio device 34 may be calculated from the charge or current drawn from the power supply during execution of the communication task.

此外,当计算恢复时间周期时,调度器40可以考虑电源状态,即电池12和/或电容器42的放电状态。例如,上述常数可以按照电池12放电的函数增加。Additionally, scheduler 40 may take into account the state of the power supply, ie, the state of discharge of battery 12 and/or capacitor 42 , when calculating the recovery time period. For example, the aforementioned constants may increase as a function of battery 12 discharge.

调度器40可以确定请求启动时间是不可用的,并且可以向所述请求任务传达必须请求另一启动时间。Scheduler 40 may determine that the requested start time is unavailable, and may communicate to the requesting task that another start time must be requested.

调度器40可以确定例如由于具有更高优先级的请求的进入,而使得已经调度的任务不能在调度启动时间处执行,并且可以向所述已经调度的任务传达必须请求新的启动时间。The scheduler 40 may determine that an already scheduled task cannot execute at the scheduled start time, for example due to the incoming request with a higher priority, and may communicate to the already scheduled task that a new start time must be requested.

调度器40可以被配置为:在具有更高优先级的通信任务之前,允许具有更低优先级的通信任务执行通信,只要具有更低优先级的通信任务将在关联恢复时间周期的时间结束其通信,以在具有更高优先级的通信任务启动之前消逝。例如,这可能在比请求持续时间短的时间内终止或结束任务的情况下是有用的。这可以在启动下一调度任务之前,保留将要执行的另一任务的空间。The scheduler 40 may be configured to allow communication tasks with lower priority to perform communications before communication tasks with higher priority, as long as the communication tasks with lower priority will complete their communication tasks by the time of the associated recovery time period. Communications to elapse before higher priority communication tasks are started. This might be useful, for example, in cases where a task is terminated or ended in a shorter time than the requested duration. This reserves space for another task to execute before starting the next scheduled task.

调度器40在调度时也可以考虑除了无线通信以外的其它任务的功率消耗。其它任务的例子包括功率消耗算法、闪存中的存储等。这样的其它任务的恢复时间周期可以以与上述涉及用于无线通信任务的恢复时间周期的解释相同的方式计算。例如由于功率消耗不同,所以对于不同类型的任务,常数可以是不同的。The scheduler 40 may also consider the power consumption of other tasks besides wireless communication when scheduling. Examples of other tasks include power consumption algorithms, storage in flash memory, etc. The recovery time periods for such other tasks may be calculated in the same manner as explained above in relation to recovery time periods for wireless communication tasks. The constants may be different for different types of tasks, eg due to different power consumption.

调度器40可以被配置为使助听器电路的一个或多个部分掉电,以避免由于功率消耗电路同时操作导致过多的功率消耗,例如无线电设备34、闪存、执行信号处理算法的信号处理器等。The scheduler 40 may be configured to power down one or more portions of the hearing aid circuitry to avoid excessive power consumption due to simultaneous operation of power consuming circuits, such as radios 34, flash memory, signal processors executing signal processing algorithms, etc. .

例如,例如在向闪存写入和/或从闪存读取期间、在执行功率消耗算法期间等,调度器40可以被配置为在休眠期间内关断无线电设备34。For example, scheduler 40 may be configured to power down radio 34 during sleep periods, eg, during writes to and/or reads from flash memory, during execution of power consumption algorithms, and the like.

优选地,调度器40被配置为即使是给定任务的重复执行、可以容易地确定或者已经确定多个启动时间的情况下,例如,流式音频,也仅调度每个任务的下一启动时间,即调度器40被配置为不调度给定任务的启动时间次序。在这种方式下,调度任务的数量保持地低,从而由于不需要响应新请求的再调度,所以使得调度器40保持简单和动态。Preferably, the scheduler 40 is configured to only schedule the next start time for each task, even if multiple start times for a given task are repeatedly executed, can be easily determined or have already been determined, e.g. streaming audio , that is, the scheduler 40 is configured not to schedule the start-time order of a given task. In this way, the number of scheduled tasks is kept low, thereby keeping the scheduler 40 simple and dynamic since no rescheduling in response to new requests is required.

在通信任务比调度地更早结束或终止的情况下,调度器40可以被配置为基于被怀疑的通信任务的实际持续时间和/或实际功率消耗,再计算恢复时间周期。在再计算的恢复时间周期消逝之后,并且直到下一调度任务的调度启动时间,可以有充足的时间来执行另一任务,并且如上所述地,调度器40可以被配置为:即使另一任务具有比下一调度任务更低优先级,也允许执行另一任务,只要更低优先级的任务将在更低优先级的任务的关联恢复时间周期的时间结束,以在下一调度任务启动之前消逝。In the event that a communication task ends or terminates earlier than scheduled, the scheduler 40 may be configured to recalculate the recovery time period based on the actual duration and/or actual power consumption of the suspected communication task. After the recalculated recovery time period elapses, and until the scheduled start time of the next scheduled task, there may be sufficient time to execute another task, and as described above, the scheduler 40 may be configured such that even if another task Having a lower priority than the next scheduled task, another task is also allowed to execute, as long as the lower priority task will end at the time of the lower priority task's associated recovery time period to elapse before the next scheduled task starts .

一个示例性的协议在图3中示出,其中,时间分成具有1250μs长度(最小BluetoothTM时隙的长度的两倍)的所谓的时隙。该时隙编号为0至255。An exemplary protocol is shown in FIG. 3 , where time is divided into so-called time slots with a length of 1250 μs (twice the length of the smallest Bluetooth time slot). The slots are numbered from 0 to 255.

256个时隙,即,时隙0至时隙255组成一帧。帧也被编号。256 slots, that is, slot 0 to slot 255 constitute one frame. Frames are also numbered.

在影响时隙长度选择的因素中,是系统所需的较低延迟时间,以及相对于报头和锁相环(PLL)锁定的期望的低开销。Among the factors influencing the choice of slot length are the low latency required by the system, and the desired low overhead with respect to preamble and phase locked loop (PLL) locking.

优选地,时隙的长度是625μS的倍数,便于(即不阻止)能够在BLUETOOTHTM启用设备中实现根据本发明的协议。Preferably, the length of the time slots is a multiple of 625 μS to facilitate (ie not prevent) the ability to implement the protocol according to the invention in a BLUETOOTH enabled device.

每个时隙(除了时隙128)用于一个专用设备的传送,使得防止网络内的数据冲突。任何从机设备可以在时隙128中传送数据,从而在此时隙中可能发生冲突。主机设备传送时隙0中的定时信息。从机设备的时隙和帧计数器与网络的主机设备的各计数器同步。Each time slot (except time slot 128) is used for the transmission of one dedicated device, so that data collisions within the network are prevented. Any slave device may transmit data in time slot 128 such that a collision may occur during this time slot. The host device transmits timing information in slot 0. The slot and frame counters of the slave devices are synchronized with the respective counters of the master device of the network.

设备可以使用用于数据传送的一个或多个时隙。时隙可以在给定设备的制造期间进行分配,或者时隙可以在采集期间动态地分配。优选地,分配表存储在主机设备中。A device may use one or more time slots for data transfer. Time slots can be allocated during manufacture of a given device, or time slots can be allocated dynamically during acquisition. Preferably, the allocation table is stored in the host device.

调度器40的操作如在图4和图5中所示。The operation of the scheduler 40 is as shown in FIGS. 4 and 5 .

图4示例了由两个通信任务,即任务1和任务2进行的通信请求。任务1可以是与例如根据助听器网络通信协议执行的从电视机到助听器的音频流相关的通信任务,并且任务2可以是与根据蓝牙低能量协议执行的智能电话和助听器之间的通信相关的通信任务。每个通信请求包含将执行的通信任务的启动时间、持续时间和优先级。持续时间包括通信任务的预处理、传送、接收和后处理。在图4中,开口区域指示预处理和后处理。Figure 4 illustrates a communication request made by two communication tasks, task 1 and task 2. Task 1 may be a communication task related to, for example, audio streaming from a television set to a hearing aid performed according to the hearing aid network communication protocol, and task 2 may be a communication related to communication between a smartphone and a hearing aid performed according to the Bluetooth low energy protocol Task. Each communication request contains the start time, duration and priority of the communication task to be performed. Duration includes pre-processing, transmission, reception and post-processing of communication tasks. In Fig. 4, open areas indicate pre-processing and post-processing.

在示例的例子中,通信任务1已经形成两个通信请求,以使得音频数据在第一传送(请求1)未成功的情况下能够被再传送。第二请求已经形成为高优先级,以使得在请求时间处执行第二通信任务的可能性高。在图4的例子中,通信任务1具有优先级2,通信任务2具有优先级3,并且通信任务3具有优先级1。最高的优先级具有最低的优先级编号。In the illustrated example, communication task 1 has formed two communication requests so that audio data can be retransmitted if the first transfer (request 1 ) was unsuccessful. The second request has been made high priority such that the probability of executing the second communication task at the time of the request is high. In the example of FIG. 4 , communication task 1 has priority 2 , communication task 2 has priority 3 , and communication task 3 has priority 1 . The highest priority has the lowest priority number.

如果已经接收通信请求,则调度器40计算每个通信请求的结束时间,以作为请求持续时间d和允许电源恢复的恢复时间周期的总和。在示例的例子中,恢复时间周期等于持续时间的9/8倍。If a communication request has been received, the scheduler 40 calculates the end time of each communication request as the sum of the request duration d and the recovery time period to allow power recovery. In the illustrated example, the recovery time period is equal to 9/8 times the duration.

因此,结束时间1=t1+d1+9/8*d1,并且结束时间2=t2+d2+9/8*d2,并且结束时间3=t3+d3+9/8*d3Therefore, end time 1 =t 1 +d 1 +9/8*d 1 , and end time 2 =t 2 +d 2 +9/8*d 2 , and end time 3 =t 3 +d 3 +9/ 8*d 3 .

一些通信任务可以不是活动的。例如,一些时候可以不使用遥控器。活动和非活动的任务被标记为在图5中示出的请求列表中指示。非活动的任务的参数可以是最近通信请求的现在已不用的参数。Some communication tasks may not be active. For example, the remote control may not be used some of the time. Active and inactive tasks are marked as indicated in the request list shown in FIG. 5 . The parameters of the inactive task may be parameters of the most recent communication request, which are now no longer used.

如图5所示,调度器40现在根据请求列表调度通信任务,并且形成通过以优先级顺序列出活动通信请求而形成的示出的优先级列表。然后,调度器识别具有结束时间比具有最高优先级(在示例的例子中的通信请求3)的通信任务的启动时间早的请求的任务。在示例的例子中,以一个相应的任务能够在具有通信请求3的任务启动之前执行的方式,通信请求1和通信请求2都具有比t3早的结束时间。在这种情况下,执行具有最高优先级的通信任务,即具有通信请求1的任务。As shown in FIG. 5, the scheduler 40 now schedules the communication tasks according to the request list and forms the priority list shown by listing the active communication requests in priority order. The scheduler then identifies tasks with requests that end time earlier than the start time of the communication task with the highest priority (communication request 3 in the illustrated example). In the illustrated example, communication request 1 and communication request 2 both have an end time earlier than t3 in such a way that a corresponding task can be executed before the task with communication request 3 is started. In this case, the communication task with the highest priority, ie the task with communication request 1, is executed.

在成功地执行具有通信请求1的任务的情况下,由于音频数据现在已经成功地通信,所以调度器40删除通信请求3,即通信请求1的第二次预定。由于结束时间1大于t2,并且消息被发送到必须进行新通信请求的请求任务,所以调度器40还确定在请求时间处不能执行通信任务2;In the case of successful execution of the task with communication request 1, scheduler 40 deletes communication request 3, the second reservation of communication request 1, since the audio data has now been successfully communicated. Since the end time 1 is greater than t 2 , and the message is sent to the request task that must make a new communication request, the scheduler 40 also determines that the communication task 2 cannot be performed at the request time;

在通信任务1在t1后立刻结束的情况下,例如在由于噪音而没有报头被检测到的情况下,则基于相应的更短的恢复时间的更新计算,来计算新的结束时间,并且在通信请求2的启动时间t2晚于通信任务1的新结束时间的情况下,则由于结束时间t2在更高优先级的通信请求3的启动时间t3之前,所以执行通信任务2。如果结束时间t2已经晚于t3,则通信任务2将被再调度,即调度器40将把消息传送到必须进行新通信请求的请求任务。In case communication task 1 ends immediately after t 1 , e.g. in case no header is detected due to noise, then a new end time is calculated based on an update calculation with a correspondingly shorter recovery time, and at If the start time t2 of the communication request 2 is later than the new end time of the communication task 1, since the end time t2 is before the start time t3 of the higher priority communication request 3 , the communication task 2 is executed. If the end time t2 is already later than t3 , the communication task 2 will be rescheduled, ie the scheduler 40 will pass the message to the requesting task which has to make a new communication request.

在通信任务1在t1后立刻结束的情况下;然而,比之前的例子更晚,以使得新的结束时间晚于t2,则再次地再调度通信任务2,并且执行通信请求3的通信任务。In the case where communication task 1 ends immediately after t1; however, later than in the previous example, so that the new end time is later than t2, communication task 2 is rescheduled again, and communication of communication request 3 is performed Task.

Claims (17)

1.一种包括电源的助听器,连接所述电源以向助听器电路供电,所述助听器具有:1. A hearing aid comprising a power supply connected to power the hearing aid circuitry, the hearing aid having: 输入换能器,所述输入换能器被配置为基于施加到所述输入换能器且代表声音的信号,输出音频信号;an input transducer configured to output an audio signal based on a signal applied to the input transducer and representing sound; 听力损失处理器,所述听力损失处理器被配置为补偿所述助听器的用户的听力损失,并且输出听力损失补偿音频信号;a hearing loss processor configured to compensate for the hearing loss of a user of the hearing aid and output a hearing loss compensation audio signal; 输出换能器,所述输出换能器被配置为基于所述听力损失补偿音频信号来输出听觉输出信号,所述听觉输出信号能够由人类听觉系统接收,以使得用户听见声音;以及an output transducer configured to output an auditory output signal based on the hearing loss compensation audio signal, the auditory output signal being receivable by the human auditory system to enable a user to hear sound; and 无线通信单元,所述无线通信单元被配置为与另一设备通信;以及a wireless communication unit configured to communicate with another device; and 操作系统,所述操作系统被配置为控制所述无线通信单元根据多个通信协议和优先级执行与其它设备的通信,其中,所述操作系统包括:an operating system configured to control the wireless communication unit to perform communications with other devices according to a plurality of communication protocols and priorities, wherein the operating system includes: 调度器,所述调度器被配置为接收来自通信任务的通信请求,并且基于任务优先级和所述电源的状态调度每个所述通信任务。a scheduler configured to receive communication requests from communication tasks and schedule each of the communication tasks based on task priority and a state of the power source. 2.根据权利要求1所述的助听器,其中,所述助听器电路包括电容器,用于向所述无线通信单元提供电流。2. The hearing aid of claim 1, wherein the hearing aid circuit includes a capacitor for supplying current to the wireless communication unit. 3.根据权利要求2所述的助听器,其中,所述助听器电路包括连接在所述电源和所述电容器之间的电阻器。3. The hearing aid of claim 2, wherein the hearing aid circuit includes a resistor connected between the power supply and the capacitor. 4.根据前述权利要求中的任何一项所述的助听器,其中,所述调度器被配置为基于当前或最近的通信任务的估计功率消耗,计算用于执行下一通信任务的最早可能启动时间,以便提供所述电源的恢复时间周期。4. The hearing aid according to any one of the preceding claims, wherein the scheduler is configured to calculate the earliest possible start time for executing the next communication task based on the estimated power consumption of the current or most recent communication task , in order to provide the recovery time period of the power supply. 5.根据权利要求4所述的助听器,其中,所述恢复时间周期是所述当前或最近通信任务的持续时间乘以常数。5. The hearing aid of claim 4, wherein the recovery time period is the duration of the current or most recent communication task multiplied by a constant. 6.根据权利要求4所述的助听器,其中,所述恢复时间周期是在所述当前或最近通信任务的执行期间,从所述电源获取的电流的函数。6. The hearing aid of claim 4, wherein the recovery time period is a function of the current drawn from the power supply during execution of the current or most recent communication task. 7.根据权利要求4至6中的任何一项所述的助听器,其中,所述电源包括电池,并且其中,所述恢复时间周期是所述电池的状态的函数。7. The hearing aid according to any one of claims 4 to 6, wherein the power source comprises a battery, and wherein the recovery time period is a function of the state of the battery. 8.根据前述权利要求中的任何一项所述的助听器,其中,所述通信请求中的至少一个包含所述通信任务的优先级。8. The hearing aid according to any one of the preceding claims, wherein at least one of the communication requests contains a priority of the communication task. 9.根据前述权利要求中的任何一项所述的助听器,其中,所述通信请求中的至少一个包含用于执行请求的通信任务的启动时间。9. The hearing aid according to any one of the preceding claims, wherein at least one of the communication requests contains a start time for performing the requested communication task. 10.根据前述权利要求中的任何一项所述的助听器,其中,所述通信请求中的至少一个包含执行请求的通信任务的持续时间。10. The hearing aid according to any one of the preceding claims, wherein at least one of the communication requests comprises a duration for performing the requested communication task. 11.根据前述权利要求中的任何一项所述的助听器,其中,所述调度器被配置为:在具有更高优先级的通信任务之前,允许具有更低优先级的通信任务执行通信,只要具有所述更低优先级的通信任务将在所述电源的适当恢复时间周期的时间结束其通信,以在具有所述更高优先级的通信任务启动之前消逝。11. The hearing aid according to any one of the preceding claims, wherein the scheduler is configured to allow communication tasks with lower priority to perform communication before communication tasks with higher priority, as long as The communication task with said lower priority will end its communication at the time of the appropriate restoration time period of said power to elapse before the communication task with said higher priority starts. 12.根据前述权利要求中的任何一项所述的助听器,其中,所述调度器被配置为在休眠时间周期内关断所述通信单元。12. The hearing aid according to any one of the preceding claims, wherein the scheduler is configured to switch off the communication unit during sleep time periods. 13.根据前述权利要求中的任何一项所述的助听器,其中,所述调度器被配置为确定所述请求启动时间是不可用的,并且向所述请求任务传达必须请求另一启动时间。13. The hearing aid according to any one of the preceding claims, wherein the scheduler is configured to determine that the requested start time is not available, and to communicate to the requesting task that another start time must be requested. 14.根据前述权利要求中的任何一项所述的助听器,其中,所述调度器被配置为确定已经调度的任务不能在所述调度启动时间处执行,并且向所述已经调度的任务传达必须请求新的启动时间。14. The hearing aid according to any one of the preceding claims, wherein the scheduler is configured to determine that a scheduled task cannot be executed at the scheduled start time, and communicate to the scheduled task that it must Request a new start time. 15.根据前述权利要求中的任何一项所述的助听器,其中,所述调度器被配置为在调度时考虑除了无线通信以外的其它任务的功率消耗。15. The hearing aid according to any one of the preceding claims, wherein the scheduler is configured to take into account power consumption of tasks other than wireless communication when scheduling. 16.根据前述权利要求中的任何一项所述的助听器,其中,所述操作系统的至少一部分包含在所述听力损失处理器中。16. The hearing aid according to any one of the preceding claims, wherein at least part of the operating system is comprised in the hearing loss processor. 17.一种调度助听器的无线通信的方法,所述助听器包括电源,连接所述电源以向助听器电路供电,所述助听器具有:17. A method of scheduling wireless communications for a hearing aid, the hearing aid comprising a power supply connected to power circuitry of the hearing aid, the hearing aid having: 输入换能器,所述输入换能器被配置为基于施加到所述输入换能器且代表声音的信号,输出音频信号;an input transducer configured to output an audio signal based on a signal applied to the input transducer and representing sound; 听力损失处理器,所述听力损失处理器被配置为补偿所述助听器的用户的听力损失,并且输出对应的听力损失补偿音频信号;a hearing loss processor configured to compensate for a hearing loss of a user of the hearing aid and output a corresponding hearing loss compensation audio signal; 输出换能器,所述输出换能器被配置为基于所述听力损失补偿音频信号来输出听觉输出信号,所述听觉输出信号能够由人类听觉系统接收,以使得用户听见声音;an output transducer configured to output an auditory output signal based on the hearing loss compensation audio signal, the auditory output signal being receivable by the human auditory system to allow a user to hear sound; 无线通信单元,所述无线通信单元被配置为与另一设备通信;以及a wireless communication unit configured to communicate with another device; and 操作系统,所述操作系统被配置为控制所述无线通信单元根据具有各通信协议和优先级的多个通信任务与其它设备通信,所述方法包括:an operating system configured to control the wireless communication unit to communicate with other devices according to a plurality of communication tasks having respective communication protocols and priorities, the method comprising: 接收来自所述通信任务的通信请求,receiving a communication request from said communication task, 基于任务优先级和所述电源的状态,调度顺序,根据所述顺序由所述无线通信单元传送具有所述通信请求的通信任务。Based on task priority and the state of the power source, an order is scheduled according to which communication tasks with the communication requests are transmitted by the wireless communication unit.
CN201510086785.3A 2014-02-24 2015-02-17 Resource manager Active CN104869516B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DKPA201400103 2014-02-24
DKPA201400103 2014-02-24

Publications (2)

Publication Number Publication Date
CN104869516A true CN104869516A (en) 2015-08-26
CN104869516B CN104869516B (en) 2020-03-17

Family

ID=53914948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510086785.3A Active CN104869516B (en) 2014-02-24 2015-02-17 Resource manager

Country Status (2)

Country Link
JP (1) JP6633830B2 (en)
CN (1) CN104869516B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024186A (en) * 2016-11-02 2018-05-11 宏碁股份有限公司 Hearing aid and recovery time dynamic adjustment method for wide dynamic range compression of hearing aid
CN110650422A (en) * 2018-06-26 2020-01-03 深圳市智汇声科技有限公司 Hearing assistance method and system, and host and slave thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394308A (en) * 2000-09-22 2003-01-29 索尼株式会社 Arithmetic processing system and control method, task management system and method
JP2003202935A (en) * 2002-01-08 2003-07-18 Mitsubishi Electric Corp Power management system and power management method
US7062304B2 (en) * 2000-08-21 2006-06-13 Texas Instruments Incorporated Task based adaptative profiling and debugging
CN1838077A (en) * 2005-03-25 2006-09-27 株式会社东芝 Schedulability determination method and real-time system
WO2007132023A2 (en) * 2007-07-31 2007-11-22 Phonak Ag Hearing system network with shared transmission capacity and corresponding method for operating a hearing system
CN101118624A (en) * 2006-07-31 2008-02-06 埃森哲全球服务有限公司 Work allocation model
CN101778332A (en) * 2008-12-22 2010-07-14 Gn瑞声达A/S Error correction scheme in hearing system wireless networks
US20100266151A1 (en) * 2007-12-20 2010-10-21 Phonak Ag Hearing system with joint task scheduling
CN102244834A (en) * 2010-04-14 2011-11-16 Gn瑞声达公司 Hearing instrument configured for wireless communication in bursts and a method of supplying power to such

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK1715723T4 (en) * 2006-05-16 2013-03-18 Phonak Ag Hearing system with network time.
US9374787B2 (en) * 2011-02-10 2016-06-21 Alcatel Lucent Method and apparatus of smart power management for mobile communication terminals using power thresholds

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062304B2 (en) * 2000-08-21 2006-06-13 Texas Instruments Incorporated Task based adaptative profiling and debugging
CN1394308A (en) * 2000-09-22 2003-01-29 索尼株式会社 Arithmetic processing system and control method, task management system and method
JP2003202935A (en) * 2002-01-08 2003-07-18 Mitsubishi Electric Corp Power management system and power management method
CN1838077A (en) * 2005-03-25 2006-09-27 株式会社东芝 Schedulability determination method and real-time system
CN101118624A (en) * 2006-07-31 2008-02-06 埃森哲全球服务有限公司 Work allocation model
WO2007132023A2 (en) * 2007-07-31 2007-11-22 Phonak Ag Hearing system network with shared transmission capacity and corresponding method for operating a hearing system
US20100266151A1 (en) * 2007-12-20 2010-10-21 Phonak Ag Hearing system with joint task scheduling
CN101778332A (en) * 2008-12-22 2010-07-14 Gn瑞声达A/S Error correction scheme in hearing system wireless networks
CN102244834A (en) * 2010-04-14 2011-11-16 Gn瑞声达公司 Hearing instrument configured for wireless communication in bursts and a method of supplying power to such

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024186A (en) * 2016-11-02 2018-05-11 宏碁股份有限公司 Hearing aid and recovery time dynamic adjustment method for wide dynamic range compression of hearing aid
CN108024186B (en) * 2016-11-02 2020-07-10 宏碁股份有限公司 Hearing aid and recovery time dynamic adjustment method for wide dynamic range compression
CN110650422A (en) * 2018-06-26 2020-01-03 深圳市智汇声科技有限公司 Hearing assistance method and system, and host and slave thereof

Also Published As

Publication number Publication date
CN104869516B (en) 2020-03-17
JP2015173437A (en) 2015-10-01
JP6633830B2 (en) 2020-01-22

Similar Documents

Publication Publication Date Title
US11463824B2 (en) Method of exchanging data packages of different sizes between first and second portable communication devices
US12075221B2 (en) Audio rendering system
EP2824901B1 (en) Method and apparatus for communication between hearing assistance devices in a Bluetooth network
US9949038B2 (en) Hearing assistance system and method
US9831988B2 (en) Method of exchanging data packages between first and second portable communication devices
US9813815B2 (en) Method of wireless transmission of digital audio
US9819705B2 (en) Method of exchanging data packages between first and second portable communication devices using a favoured frequency band
JP6891242B2 (en) A new way to send digital audio wirelessly
US11051296B2 (en) Multiple transmission network
EP2947803B1 (en) A new method of wireless transmission of digital audio
CN104869516B (en) Resource manager
EP3133759A1 (en) A method of exchanging data packages of different sizes between first and second portable communication devices
US20200162883A1 (en) Communication device having a wireless interface
EP2911415B1 (en) Power supply management for hearing aid
US9602932B2 (en) Resource manager

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant