[go: up one dir, main page]

CN105024719B - A kind of method and system by usb audio channel transmission data - Google Patents

A kind of method and system by usb audio channel transmission data Download PDF

Info

Publication number
CN105024719B
CN105024719B CN201410169096.4A CN201410169096A CN105024719B CN 105024719 B CN105024719 B CN 105024719B CN 201410169096 A CN201410169096 A CN 201410169096A CN 105024719 B CN105024719 B CN 105024719B
Authority
CN
China
Prior art keywords
data
usb
vop
interaction
speech
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.)
Active
Application number
CN201410169096.4A
Other languages
Chinese (zh)
Other versions
CN105024719A (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.)
Shenzhen Gaoshengke Iot Technology Co ltd
Original Assignee
Shenzhen Goldman Sachs 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 Shenzhen Goldman Sachs Technology Co Ltd filed Critical Shenzhen Goldman Sachs Technology Co Ltd
Priority to CN201410169096.4A priority Critical patent/CN105024719B/en
Publication of CN105024719A publication Critical patent/CN105024719A/en
Application granted granted Critical
Publication of CN105024719B publication Critical patent/CN105024719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The present invention is suitable for communication technique field, provide a kind of method and system by usb audio channel transmission data, the described method includes: non-speech data is sent to speech control interface and converts interaction data for the non-speech data, the interaction data includes data packet, VoP;The interaction data is alternately transmitted to the voice stream interface of data receiver by usb audio channel, wherein the VoP is transmitted in a manner of ISO;By interaction data described in the voice flow interface, report the interaction data to related application;The VoP is parsed according to preset standard description, complete non-speech data is obtained in conjunction with the data packet, the present invention, using USB Mic interface asynchronous transmission mode, data are directly reported to upper application software, application software directly obtains data from USB Mic interface, participates in coordinating without operating system.

Description

A kind of method and system by usb audio channel transmission data
Technical field
The invention belongs to communication technique field more particularly to a kind of method by usb audio channel transmission data and it is System.
Background technique
With the rapid development of computer hardware, peripheral equipment is increasing, keyboard, mouse, modem, printer, Already for well known to compuman, digital camera, MP3 walkman come one after another scanner, so more equipment, how to access a People's computer? USB interface plug and play has become important one of data access, and existing USB transmission data method is Transmission method is interrupted by USB flash memory data block or HID, need to be uniformly responsible for managing data transmission by operating system, when simultaneously When plugging multiple USB while needing a large amount of transmission data, operating system execution efficiency is then relatively low, and application software can not be read in time Data influence the execution efficiency and terminal client experience of application software.
Summary of the invention
The embodiment of the invention provides a kind of method and system by usb audio channel transmission data, it is intended to solve existing When having technology to have multiple USB while needing a large amount of transmission data, operating system execution efficiency is then relatively low, and application software can not be timely Read data, the low problem of execution efficiency.
On the one hand, a kind of method by usb audio channel transmission data is provided, which comprises
Non-speech data is sent to speech control interface and converts interaction data, the friendship for the non-speech data Mutual data include data packet, VoP;
The interaction data is alternately transmitted to the voice stream interface of data receiver by usb audio channel, wherein institute VoP is stated to transmit in a manner of ISO;
By interaction data described in the voice flow interface, report the interaction data to related application;
The VoP is parsed according to preset standard description, obtains complete non-speech data in conjunction with the data packet.
On the other hand, a kind of system by usb audio channel transmission data is provided, the system comprises:
Data transmitting terminal and data receiver, the data transmitting terminal include:
Data conversion unit, for non-speech data to be sent to speech control interface and converts the non-speech data For interaction data, the interaction data includes data packet, VoP;
Data transmission unit, for the interaction data to be alternately transmitted to data receiver by usb audio channel Voice stream interface, wherein the VoP is transmitted in a manner of ISO;
The data receiver includes:
Data receipt unit, for reporting the interaction data by interaction data described in the voice flow interface To related application;
Data parsing unit is obtained for parsing the VoP according to preset standard description in conjunction with the data packet Take whole non-speech data.
In the embodiment of the present invention, non-speech data is sent to speech control interface and converts the non-speech data to Interaction data, the interaction data include data packet, VoP;By usb audio channel alternately by the interaction data It is transmitted to the voice stream interface of data receiver, wherein the VoP is transmitted in a manner of ISO;It is connect by the voice flow Mouth receives the interaction data, reports the interaction data to related application;The voice number is parsed according to preset standard description According to packet, complete non-speech data is obtained in conjunction with the data packet, the present invention using USB Mic interface asynchronous transmission mode, will count According to upper application software is directly reported to, application software directly obtains data from USB Mic interface, participates in association without operating system It adjusts.
Detailed description of the invention
Fig. 1 is the implementation flow chart for the method by usb audio channel transmission data that the embodiment of the present invention one provides;
Fig. 2 is the topological structure schematic diagram for the USB microphone that the embodiment of the present invention one provides;
Fig. 3 is the concrete structure diagram of the system provided by Embodiment 2 of the present invention by usb audio channel transmission data.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In embodiments of the present invention, non-speech data is sent to speech control interface and converts the non-speech data For interaction data, the interaction data includes data packet, VoP;By usb audio channel alternately by the interactive number According to the voice stream interface for being transmitted to data receiver, wherein the VoP is transmitted in a manner of ISO;Pass through the voice flow Interaction data described in interface reports the interaction data to related application;The voice is parsed according to preset standard description Data packet obtains complete non-speech data in conjunction with the data packet.
Realization of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Fig. 1 shows the implementation process of the method by usb audio channel transmission data of the offer of the embodiment of the present invention one, Details are as follows:
It should be noted that the present invention is suitable for Android, Windows system and has USB Microphone interface Intelligent terminal.
In step s101, non-speech data is sent to speech control interface and converts friendship for the non-speech data Mutual data, the interaction data include data packet, VoP.
In the present embodiment, the non-speech data is the non-audio data of data transmitting terminal storage.The data packet is USB format non-audio data, one size are 16K sampling, and 16, the VoP is to be converted into usb audio to lead to The non-audio data of the microphone data format of road transmission, one size are that 16K is sampled, 16.
In step s 102, the interaction data is alternately transmitted to the voice of data receiver by usb audio channel Stream interface, wherein the VoP is transmitted in a manner of ISO.
In the present embodiment, the usb audio channel, that is, USB Microphone interface, also referred to as USB Mic interface.Data The interaction data is alternately transmitted to the voice stream interface of data receiver by usb audio channel by transmitting terminal, wherein described VoP is transmitted in a manner of ISO, is equivalent to 32 bytes of every millisecond of biography in this way, format table specific as follows:
In step s 103, by interaction data described in the voice flow interface, report the interaction data to phase Close application.
In the present embodiment, data receiver reports the friendship by interaction data described in the voice flow interface Mutual data are participated in related application without system.
In step S104, the VoP is parsed according to preset standard description, has been obtained in conjunction with the data packet Whole non-speech data.
In the present embodiment, data receiver parses the VoP according to preset standard description, in conjunction with the number Complete non-speech data is obtained according to packet, upper application software directly reads data, and it is high-efficient, across hardware platform, it is widely used.
The present embodiment can achieve using USB Mic interface asynchronous transmission mode, data be directly reported to upper layer application Software, application software directly obtain data from USB Mic interface, participate in coordinating without operating system.
Embodiment two
Fig. 3 shows the specific structure of the system provided by Embodiment 2 of the present invention by usb audio channel transmission data Block diagram, for ease of description, only parts related to embodiments of the present invention are shown.In the present embodiment, this passes through usb audio The system of channel transmission data includes: data transmitting terminal 1 and data receiver 2, and the data transmitting terminal 1 includes:
Data conversion unit 11, for non-speech data to be sent to speech control interface and turns the non-speech data Interaction data is turned to, the interaction data includes data packet, VoP;
Data transmission unit 12, for the interaction data to be alternately transmitted to data receiver by usb audio channel Voice stream interface, wherein the VoP is transmitted in a manner of ISO;
The data receiver 2 includes:
Data receipt unit 21, for reporting the interactive number by interaction data described in the voice flow interface According to related application;
Data parsing unit 22, for parsing the VoP according to preset standard description, in conjunction with the data packet Obtain complete non-speech data.
The present embodiment can achieve using USB Mic interface asynchronous transmission mode, data be directly reported to upper layer application Software, application software directly obtain data from USB Mic interface, participate in coordinating without operating system.
Further, the interaction data is specially 32bit.
System provided in an embodiment of the present invention by usb audio channel transmission data can be applied in aforementioned corresponding side In method embodiment one, details are referring to the description of above-described embodiment one, and details are not described herein.
It is worth noting that, included each unit is only drawn according to function logic in the above system embodiment Point, but be not limited to the above division, as long as corresponding functions can be realized;In addition, each functional unit is specific Title is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
In addition, those of ordinary skill in the art will appreciate that realizing all or part of the steps in the various embodiments described above method It is that relevant hardware can be instructed to complete by program, corresponding program can store to be situated between in a computer-readable storage In matter, the storage medium, such as ROM/RAM, disk or CD.The foregoing is merely presently preferred embodiments of the present invention and , it is not intended to limit the invention, any modifications, equivalent replacements, and improvements done within the spirit and principles of the present invention Deng should all be included in the protection scope of the present invention.

Claims (2)

1. a kind of method by usb audio channel transmission data, which is characterized in that be applied to multiple USB and need simultaneously largely When transmitting data;The described method includes:
Non-speech data is sent to speech control interface and converts interaction data, the interactive number for the non-speech data According to including data packet, VoP;
The data packet is USB format non-audio data, and the VoP is the Mike for being converted into usb audio channel transfer The non-audio data of wind data format;
The interaction data is alternately transmitted to the voice stream interface of data receiver by usb audio channel, wherein the language Sound data packet is transmitted in a manner of ISO;
By interaction data described in the voice flow interface, report the interaction data to related application;
The VoP is parsed according to preset standard description, obtains complete non-speech data in conjunction with the data packet;
The interaction data is specially 32bit.
2. a kind of system by usb audio channel transmission data, which is characterized in that be applied to multiple USB and need simultaneously largely When transmitting data;The system comprises data transmitting terminal and data receiver, the data transmitting terminal includes:
Data conversion unit, for non-speech data to be sent to speech control interface and converts friendship for the non-speech data Mutual data, the interaction data include data packet, VoP;
The data packet is USB format non-audio data, and the VoP is the Mike for being converted into usb audio channel transfer The non-audio data of wind data format;
Data transmission unit, for the interaction data to be alternately transmitted to the voice of data receiver by usb audio channel Stream interface, wherein the VoP is transmitted in a manner of ISO;
The data receiver includes:
Data receipt unit, for reporting the interaction data to phase by interaction data described in the voice flow interface Close application;
Data parsing unit has been obtained for parsing the VoP according to preset standard description in conjunction with the data packet Whole non-speech data;
The interaction data is specially 32bit.
CN201410169096.4A 2014-04-23 2014-04-23 A kind of method and system by usb audio channel transmission data Active CN105024719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410169096.4A CN105024719B (en) 2014-04-23 2014-04-23 A kind of method and system by usb audio channel transmission data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410169096.4A CN105024719B (en) 2014-04-23 2014-04-23 A kind of method and system by usb audio channel transmission data

Publications (2)

Publication Number Publication Date
CN105024719A CN105024719A (en) 2015-11-04
CN105024719B true CN105024719B (en) 2019-07-12

Family

ID=54414470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410169096.4A Active CN105024719B (en) 2014-04-23 2014-04-23 A kind of method and system by usb audio channel transmission data

Country Status (1)

Country Link
CN (1) CN105024719B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002218445A (en) * 2001-01-16 2002-08-02 Hitachi Kokusai Electric Inc Video data transmission system
CN1617605A (en) * 2003-11-12 2005-05-18 皇家飞利浦电子股份有限公司 Method and device for transmitting non-voice data in voice channel
CN201383560Y (en) * 2009-03-25 2010-01-13 深圳市三木通信技术有限公司 Data cable, mobile communication terminal playing system and acoustic system
CN101764986A (en) * 2009-12-24 2010-06-30 中兴通讯股份有限公司 Wireless terminal and realization method of video telephone function thereof
CN102685061A (en) * 2000-06-22 2012-09-19 爱尔比奎特公司 System used for data communications over digital wireless telecommunications networks
CN102832968A (en) * 2012-07-27 2012-12-19 武汉大学 Method for performing communication between mobile phone and equipment by using audio interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9048784B2 (en) * 2007-04-03 2015-06-02 General Motors Llc Method for data communication via a voice channel of a wireless communication network using continuous signal modulation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685061A (en) * 2000-06-22 2012-09-19 爱尔比奎特公司 System used for data communications over digital wireless telecommunications networks
JP2002218445A (en) * 2001-01-16 2002-08-02 Hitachi Kokusai Electric Inc Video data transmission system
CN1617605A (en) * 2003-11-12 2005-05-18 皇家飞利浦电子股份有限公司 Method and device for transmitting non-voice data in voice channel
CN201383560Y (en) * 2009-03-25 2010-01-13 深圳市三木通信技术有限公司 Data cable, mobile communication terminal playing system and acoustic system
CN101764986A (en) * 2009-12-24 2010-06-30 中兴通讯股份有限公司 Wireless terminal and realization method of video telephone function thereof
CN102832968A (en) * 2012-07-27 2012-12-19 武汉大学 Method for performing communication between mobile phone and equipment by using audio interface

Also Published As

Publication number Publication date
CN105024719A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
KR102569374B1 (en) How to operate a Bluetooth device
CN104917671B (en) Audio-frequency processing method and device based on mobile terminal
CN101313525B (en) Infrastructure for enabling high quality real-time audio
CN109785841B (en) Bluetooth intelligent equipment voice interaction system and method
EP2423806B1 (en) Method and device for transmitting universal serial bus audio data through a wireless data terminal
WO2008022088A3 (en) Method and system for communicating across telephone and data networks
WO2022151778A1 (en) Audio data transmission method, electronic device and storage medium
CN113689864B (en) Audio data processing method and device and storage medium
CN104052846A (en) Voice communication method and system in game application
CN108718361A (en) Audio file playback method and wireless listening device
US20240056207A1 (en) Audio broadcasting methods and devices
CN110880949B (en) Bluetooth communication method, device and system
CN105323250B (en) A kind of data transmission method based on PTT public network cluster intercom system
CN103428175A (en) Real-time voice intercom system based on heterogeneous mobile IP networks
CN105024719B (en) A kind of method and system by usb audio channel transmission data
CN102377675B (en) Dynamic bandwidth distribution method, device and system
CN112153427B (en) Method and equipment for transmitting multimedia data
CN204906681U (en) Many headsets interpretation device
WO2020232631A1 (en) Voice frequency division transmission method, source terminal, playback terminal, source terminal circuit and playback terminal circuit
CN108833708B (en) Incoming call information acquisition method
CN110034858A (en) Data packet retransmission method and device, mobile terminal and storage medium
CN102752019B (en) Data sending, receiving and transmitting method and system based on headset jack
CN104469393B (en) Obtain the method and system of high in the clouds simulator audio
CN103888629B (en) Apparatus for performing voice compression/conference exchange processing on PCM voice
CN106488348A (en) Wireless mic software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160516

Address after: 518000 Guangdong city of Shenzhen province Baoan District Xixiang Street Silver Road No. 4 Baoan Chi D block 101

Applicant after: SHENZHEN GAOSHENGKE IOT TECHNOLOGY CO.,LTD.

Address before: 518000, Guangdong, Shenzhen, Nanshan District, Nantou, Shennan Avenue and former sea, southeast corner coast times apartment, east block, 2106

Applicant before: SHENZHEN MEMSART TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 518000 101-206, Building B, Zone A, Fuhai International Science Park, No. 306, Qiaohe Road, Heping Community, Fuhai Street, Bao'an District, Shenzhen, Guangdong

Patentee after: SHENZHEN GAOSHENGKE IOT TECHNOLOGY CO.,LTD.

Address before: 518000 101, Building D, Bao'an Smart Valley, No. 4, Yintian Road, Xixiang Street, Bao'an District, Shenzhen, Guangdong

Patentee before: SHENZHEN GAOSHENGKE IOT TECHNOLOGY CO.,LTD.