CN103873711A - VOIP phone-based virtual USB (universal serial bus) sound card creation method - Google Patents

VOIP phone-based virtual USB (universal serial bus) sound card creation method Download PDF

Info

Publication number
CN103873711A
CN103873711A CN201410094583.9A CN201410094583A CN103873711A CN 103873711 A CN103873711 A CN 103873711A CN 201410094583 A CN201410094583 A CN 201410094583A CN 103873711 A CN103873711 A CN 103873711A
Authority
CN
China
Prior art keywords
sound card
voip phone
virtual
usb
software
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.)
Pending
Application number
CN201410094583.9A
Other languages
Chinese (zh)
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.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology Co Ltd
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 Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN201410094583.9A priority Critical patent/CN103873711A/en
Publication of CN103873711A publication Critical patent/CN103873711A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a VOIP phone-based virtual USB (universal serial bus) sound card creation method, which comprises the following steps: installing virtual sound card software in a PC (personal computer), wherein the virtual sound card software comprises an application layer and a drive layer; inputting an IP of a VOIP phone on the application layer and performing connection; then calling the drive layer by the VOIP phone, and submitting date of a virtual USB sound card to the drive layer, and at the same time, simulating a virtual USB sound card on a Windows virtual bus by the drive layer; when voice needs to be played, sending voice data to USB sound card drive software on the PC through voice software on the PC, sending the voice data to the virtual USB sound card through the USB sound card drive software, then sequentially sending to the drive layer, the application layer and the VOIP phone, and playing the voice data by the VOIP phone. According to the VOIP phone-based virtual USB sound card creation method, the VOIP phone is virtually served as the sound card of the computer, thus a USB connecting line does not need to be plugged to the PC, and thus the use of a user is convenient.

Description

Virtual USB sound card creation method based on VOIP phone
Technical field
The present invention is specifically related to a kind of virtual USB sound card creation method based on VOIP phone.
Background technology
PC will use sound device to broadcast and record, and must access sound card and just can complete this function.And USB phone can only be modeled to a hardware sound card by the shorter USB line of length, this will take the USB mouth of a PC, and USB line is more thick and stiff, uses and inconvenience.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of virtual USB sound card creation method based on VOIP phone, and the sound card using VOIP phone as computer uses.
The present invention solves the problems of the technologies described above by the following technical programs: a kind of virtual USB sound card creation method based on VOIP phone, comprises the following steps:
Step 1: a virtual sound card software is installed on PC, and described virtual sound card software comprises application layer and drives layer;
Step 2: input the IP of a VOIP phone in described application layer, and carry out communication by network Socket with this VOIP phone and be connected; Then described VOIP phone calls described driving layer, and submits virtual USB sound card data to this driving layer, and simultaneously described driving layer simulates a virtual USB sound card on the virtual bus of Windows;
Step 3: in the time that need are play voice, voice software on PC sends to the USB driver of sound card software on PC by speech data by audio interface, USB driver of sound card software sends to described virtual USB sound card speech data again, sends to described virtual bus; Then described driving layer captures speech data from virtual bus, and sends to described application layer; Last described application layer sends to VOIP phone by network Socket by speech data, by VOIP phone, described speech data is play, thereby the sound card equipment that VOIP phone is modeled to PC is realized to voice play function.
Further, also comprise step 4:
Step 4: in the time that the microphone of VOIP phone is received acoustic information, VOIP phone is processed described acoustic information, by network Socket, acoustic information is sent to described application layer simultaneously, is forwarded to described driving layer by application layer; Then acoustic information is packaged into usb bus data by described driving layer, then issue described virtual USB sound card, sends to the virtual bus of Windows; USB driver of sound card software on PC captures described usb bus data from virtual bus, and submit to the voice software on PC by audio interface, described voice software just may be read into the microphone voice information of sending from VOIP phone, thereby the sound card equipment using VOIP phone as PC realizes voice recording function.
Beneficial effect of the present invention is: VOIP phone by network, is invented to the sound card equipment of computer, and to realize, microphone and the loud speaker that computer expert crosses VOIP recorded, playback; Be USB wiring without the wiring of inserting connection VOIP phone on PC, facilitate user in the situation that there is no sound card, to use VOIP phone as sound card, can use the voice call of VOIP telephone handle as chat tool under the windows platforms such as QQ voice, Skype, facilitate voice-enabled chat.
Brief description of the drawings
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the algorithm flow chart that the present invention is based on the virtual USB sound card creation method of VOIP phone.
Embodiment
Refer to Fig. 1, a kind of virtual USB sound card creation method based on VOIP phone, comprises the following steps:
Step 1: a virtual sound card software is installed on PC, and described virtual sound card software comprises application layer and drives layer; The driving (driving layer) that first PC will install a virtual sound card software, this driving is by the virtual bus mechanism of Windows, transmission and the living data message of USB device, to virtual bus, so just can be drawn up virtual USB sound card at Windows counterdie.
Step 2: input the IP of a VOIP phone in described application layer, and carry out communication by network Socket with this VOIP phone and be connected; Then described VOIP phone calls described driving layer, and submits virtual USB sound card data to this driving layer, and simultaneously described driving layer simulates a virtual USB sound card on the virtual bus of Windows;
Step 3: in the time that need are play voice, voice software on PC (is QQ voice, the application software such as Skype) speech data is sent to the USB driver of sound card software (as USBAudio.sys etc.) on PC by audio interface, USB driver of sound card software sends to described virtual USB sound card speech data again, send to described virtual bus, because described virtual USB sound card is virtual, so speech data will directly send to the virtual bus of Windows; Then described driving layer captures speech data from virtual bus, and sends to described application layer; Last described application layer sends to VOIP phone by network Socket by speech data, by VOIP phone, described speech data is play, thereby is realized the sound card equipment that VOIP phone is modeled to PC.
Step 4: in the time that the microphone of VOIP phone is received acoustic information, VOIP phone is processed described acoustic information, by network Socket, acoustic information is sent to described application layer simultaneously, is forwarded to described driving layer by application layer, then acoustic information is packaged into usb bus data by described driving layer, re-send to the virtual bus of Windows, issue described virtual USB sound card, because virtual USB sound card is virtual, so for Windows, just be equivalent to really receive the microphone voice information of sound card, so the drive softwares such as the USBAudio.sys under Windows will capture these acoustic informations, be that USB driver of sound card software on PC captures described usb bus data from virtual bus, and submit to the voice software QQ on PC by audio interface, Skype etc., described voice software just may be read into the microphone voice information of sending from VOIP phone, thereby the sound card equipment using VOIP phone as PC realizes voice recording function.
For example scene 1:
In the computer of little A, there is no sound card, only have a VOIP phone of supporting virtual USB sound card of the present invention, want to listen the music in computer.So carried out following steps:
(1) virtual sound card software is installed on PC.
(2) in virtual sound card software, fill in the IP of VOIP phone, and connect.
(3) in the sound card equipment of computer, will have more the audio frequency apparatus of VOIP Phone, open music file and will in the loud speaker at VOIP phone, broadcast music.
Now little A successfully uses VOIP phone as the sound card equipment that becomes PC, has enjoyed music.
Scene 2:
The computer of little B has sound card, and often with QQ voice and customer communication, headset in tow, be worn on the head and be difficult to be subject to, but he has a VOIP phone of supporting virtual USB sound card of the present invention.So he has carried out following steps:
(1) virtual sound card software is installed on PC.
(2) in virtual sound card software, fill in the IP of VOIP phone, and connect.
(3) in the sound card equipment of computer, will have more the audio frequency apparatus of VOIP Phone, in QQ speech ciphering equipment manager, select the audio frequency apparatus of VOIP Phone.
(4) carry out QQ voice, can use the handle of VOIP phone to exchange easily with the other side.
Now, little B successfully uses the handle of VOIP phone to carry out exchanging with customer voice as the instrument of QQ voice on computer.
The present invention by network, invents the sound card equipment of computer by VOIP phone, and to realize, microphone and the loud speaker that computer expert crosses VOIP recorded, playback; Without insert the wiring that connects VOIP phone on PC, facilitate user in the situation that there is no sound card, to use VOIP phone as sound card, can use the voice call of VOIP telephone handle as chat tool under the windows platforms such as QQ voice, Skype, facilitate voice-enabled chat.

Claims (2)

1. the virtual USB sound card creation method based on VOIP phone, is characterized in that: comprise the following steps:
Step 1: a virtual sound card software is installed on PC, and described virtual sound card software comprises application layer and drives layer;
Step 2: input the IP of a VOIP phone in described application layer, and carry out communication by network Socket with this VOIP phone and be connected; Then described VOIP phone calls described driving layer, and submits virtual USB sound card data to this driving layer, and simultaneously described driving layer simulates a virtual USB sound card on the virtual bus of Windows;
Step 3: in the time that need are play voice, voice software on PC sends to the USB driver of sound card software on PC by speech data by audio interface, USB driver of sound card software sends to described virtual USB sound card speech data again, sends to described virtual bus; Then described driving layer captures speech data from virtual bus, and sends to described application layer; Last described application layer sends to VOIP phone by network Socket by speech data, by VOIP phone, described speech data is play, thereby the sound card equipment that VOIP phone is modeled to PC is realized to voice play function.
2. the virtual USB sound card creation method based on VOIP phone as claimed in claim 1, is characterized in that: also comprise step 4:
Step 4: in the time that the microphone of VOIP phone is received acoustic information, VOIP phone is processed described acoustic information, by network Socket, acoustic information is sent to described application layer simultaneously, is forwarded to described driving layer by application layer; Then acoustic information is packaged into usb bus data by described driving layer, then issue described virtual USB sound card, sends to the virtual bus of Windows; USB driver of sound card software on PC captures described usb bus data from virtual bus, and submit to the voice software on PC by audio interface, described voice software just may be read into the microphone voice information of sending from VOIP phone, thereby the sound card equipment using VOIP phone as PC realizes voice recording function.
CN201410094583.9A 2014-03-14 2014-03-14 VOIP phone-based virtual USB (universal serial bus) sound card creation method Pending CN103873711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410094583.9A CN103873711A (en) 2014-03-14 2014-03-14 VOIP phone-based virtual USB (universal serial bus) sound card creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410094583.9A CN103873711A (en) 2014-03-14 2014-03-14 VOIP phone-based virtual USB (universal serial bus) sound card creation method

Publications (1)

Publication Number Publication Date
CN103873711A true CN103873711A (en) 2014-06-18

Family

ID=50911819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410094583.9A Pending CN103873711A (en) 2014-03-14 2014-03-14 VOIP phone-based virtual USB (universal serial bus) sound card creation method

Country Status (1)

Country Link
CN (1) CN103873711A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159748A (en) * 2015-09-02 2015-12-16 湖南创博龙智信息科技股份有限公司 Hardware simulation method based on windows bottom drive technology
CN111796794A (en) * 2020-07-09 2020-10-20 西安万像电子科技有限公司 Voice data processing method and system and virtual machine
CN112988249A (en) * 2021-03-23 2021-06-18 上海摩勤智能技术有限公司 Method and device for creating sound card, electronic equipment and storage medium
US11223714B2 (en) 2017-08-16 2022-01-11 Unify Patente Gmbh & Co. Kg Telecommunication terminal and method for controlling media streams
US12135915B2 (en) 2021-10-21 2024-11-05 Shure Acquisition Holdings, Inc. Virtual universal serial bus interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767547A (en) * 2004-10-26 2006-05-03 联想(北京)有限公司 Network telephone terminal and network telephone calling, hearing method
US20070280189A1 (en) * 2006-06-04 2007-12-06 Asustek Computer Inc. Voice over Internet protocol system and related wireless local area network device
CN101399568A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Device for using mobile terminal as input output device of computer, system and method thereof
US20120297383A1 (en) * 2011-05-20 2012-11-22 Steven Meisner Methods and systems for virtualizing audio hardware for one or more virtual machines

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767547A (en) * 2004-10-26 2006-05-03 联想(北京)有限公司 Network telephone terminal and network telephone calling, hearing method
US20070280189A1 (en) * 2006-06-04 2007-12-06 Asustek Computer Inc. Voice over Internet protocol system and related wireless local area network device
CN101399568A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Device for using mobile terminal as input output device of computer, system and method thereof
US20120297383A1 (en) * 2011-05-20 2012-11-22 Steven Meisner Methods and systems for virtualizing audio hardware for one or more virtual machines

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159748A (en) * 2015-09-02 2015-12-16 湖南创博龙智信息科技股份有限公司 Hardware simulation method based on windows bottom drive technology
CN105159748B (en) * 2015-09-02 2018-06-19 湖南创博龙智信息科技股份有限公司 A kind of hardware simulation method based on windows bottom layer driving technologies
US11223714B2 (en) 2017-08-16 2022-01-11 Unify Patente Gmbh & Co. Kg Telecommunication terminal and method for controlling media streams
CN111796794A (en) * 2020-07-09 2020-10-20 西安万像电子科技有限公司 Voice data processing method and system and virtual machine
CN111796794B (en) * 2020-07-09 2023-12-22 西安万像电子科技有限公司 Voice data processing method, system and virtual machine
CN112988249A (en) * 2021-03-23 2021-06-18 上海摩勤智能技术有限公司 Method and device for creating sound card, electronic equipment and storage medium
CN112988249B (en) * 2021-03-23 2024-05-28 上海摩勤智能技术有限公司 Method and device for creating sound card, electronic equipment and storage medium
US12135915B2 (en) 2021-10-21 2024-11-05 Shure Acquisition Holdings, Inc. Virtual universal serial bus interface

Similar Documents

Publication Publication Date Title
CN108781241B (en) The device and method eliminated for acoustic echo
CN103312912B (en) A kind of mixer system and method
EP2043336A2 (en) Apparatus having mobile terminal as input/output device of computer and related system and method
US20070110251A1 (en) Detection of device configuration
WO2018152679A1 (en) Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system
CN103873711A (en) VOIP phone-based virtual USB (universal serial bus) sound card creation method
CN106161724A (en) Audio output control method and device
CN105260159B (en) A kind of audio frequency playing method and device
US20110146480A1 (en) Digital audio connections for portable handheld computing devices
CN104168534A (en) Holographic audio device and control method
CN113992965A (en) Low-delay transmission method and system
US11741984B2 (en) Method and apparatus and telephonic system for acoustic scene conversion
WO2020082710A1 (en) Voice interaction control method, apparatus and system for bluetooth speaker
CN204810354U (en) Synchronous audio frequency rerecording device of audio playback and pickup
CN102576300A (en) Portable computer having multiple embedded audio controllers
CN103916425A (en) Method and system for on-line recording, issuing and automatic synchronization to third-party platform
CN106970813A (en) Software updating control method, device and electronic equipment
CN106231109A (en) A kind of communication means and terminal
CN105516605A (en) Shooting method and device
CN106293559A (en) A kind of audio-frequency processing method, the method controlling electronic system and electronic equipment
CN100536510C (en) Access audio frequency output through capturing service
US20080225830A1 (en) Circuit with generating phone-call ring via computer system and internet phone system using the circuit
CN102033731B (en) Voice communication arrangement and program
CN207910970U (en) Earphone can be positioned
JP2009301089A (en) System, method, and program for reproducing voice of character on virtual space

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140618