PDF (1120K)
摘要
本文提出一种基于OpenAI Whisper模型的实时语音识别系统。该系统创新性地采用多线程生产者-消费者架构,通过UDP协议接收语音记录仪的监听语音流,转存为WAV格式语音文件并实时识别。针对实际应用场景,通过GPU加速优化及引入微调后的Whisper-small模型有效提高了识别准确率,同时实现了端到端延迟小于1秒的实时处理性能,为民航空管管制语音转文字服务提供了一种轻量级、可扩展的工程解决方案。
Abstract
This paper presents a real-time speech recognition system based on the OpenAI Whisper model. The system innovatively adopts a multi-threaded producer-consumer architecture, receiving audio streams from voice recorders via the UDP protocol, converting them into WAV format files, and performing real-time recognition. For practical applications, the system achieves improved recognition accuracy through GPU-accelerated optimization and the use of a fine-tuned Whisper-small model, while delivering end-to-end processing latency below 1 second. This provides a lightweight, scalable engineering solution for aviation air traffic control's speech-to-text services.
关键词
Key words
[Author(id=1331982590349423146, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, orderNo=0, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1331982590416532012, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, authorId=1331982590349423146, language=EN, stringName=Peng Zhao, firstName=Peng, middleName=null, lastName=Zhao, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=Chongqing Civil Aviation Air Traffic Control Bureau, Chongqing, 401120, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1331982590471057965, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, authorId=1331982590349423146, language=CN, stringName=赵鹏, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=民航重庆空管分局, 中国· 重庆 401120, bio={"content":"赵鹏(1976-),男,中国重庆人,硕士,高级工程师,从事空中交通管理通信、导航、监视研究。
"}, bioImg=null, bioContent=赵鹏(1976-),男,中国重庆人,硕士,高级工程师,从事空中交通管理通信、导航、监视研究。
, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1331982590265537062, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, xref=null, ext=[AuthorCompanyExt(id=1331982590282314279, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, companyId=1331982590265537062, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=Chongqing Civil Aviation Air Traffic Control Bureau, Chongqing, 401120, China), AuthorCompanyExt(id=1331982590299091496, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, companyId=1331982590265537062, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=民航重庆空管分局, 中国· 重庆 401120)])]), Author(id=1331982590529778223, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, orderNo=1, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1331982590596887089, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, authorId=1331982590529778223, language=EN, stringName=Bin Long, firstName=Bin, middleName=null, lastName=Long, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=Chongqing Civil Aviation Air Traffic Control Bureau, Chongqing, 401120, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1331982590651413042, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, authorId=1331982590529778223, language=CN, stringName=龙滨, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=民航重庆空管分局, 中国· 重庆 401120, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1331982590265537062, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, xref=null, ext=[AuthorCompanyExt(id=1331982590282314279, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, companyId=1331982590265537062, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=Chongqing Civil Aviation Air Traffic Control Bureau, Chongqing, 401120, China), AuthorCompanyExt(id=1331982590299091496, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, companyId=1331982590265537062, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=民航重庆空管分局, 中国· 重庆 401120)])]), Author(id=1331982590705938996, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, orderNo=2, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1331982590773047862, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, authorId=1331982590705938996, language=EN, stringName=Weihua Gao, firstName=Weihua, middleName=null, lastName=Gao, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=Chongqing Civil Aviation Air Traffic Control Bureau, Chongqing, 401120, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1331982590823379511, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, authorId=1331982590705938996, language=CN, stringName=高卫华, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=民航重庆空管分局, 中国· 重庆 401120, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1331982590265537062, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, xref=null, ext=[AuthorCompanyExt(id=1331982590282314279, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, companyId=1331982590265537062, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=Chongqing Civil Aviation Air Traffic Control Bureau, Chongqing, 401120, China), AuthorCompanyExt(id=1331982590299091496, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331953218024820870, companyId=1331982590265537062, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=民航重庆空管分局, 中国· 重庆 401120)])])]
赵鹏,龙滨,高卫华.
基于Whisper 的实时管制语音识别系统设计与实现[J].
信息科学与工程研究, 2025, 6(12): 34-37 DOI:10.12349/iser.v6i12.8472
| [1] |
Radford A, et al. Robust Speech Recognition via Large-Scale Weak Supervision[C]. ICML, 2023.
|
| [2] |
Chen, Y., et al. (2025). Generative AI for Character Animation: A Comprehensive Survey. arXiv:2504.19056.
|
| [3] |
Watanabe, S., et al. (2017). Hybrid CTC/Attention Architecture for End-to-End Speech Recognition. IEEE Journal of Selected Topics in Signal Processing.
|
| [4] |
Li, B., et al. (2020). Transformer Transducer: One Model Unifying Streaming and Non-Streaming Speech Recognition. arXiv:2010.03192.
|
| [5] |
OpenReview. (2025). Dual-Mode ASR: Unify and Improve Streaming ASR with Full-Context Modeling. OpenReview Preprint.
|