Movatterモバイル変換


[0]ホーム

URL:


CN105024719A - Data transmission method through USB audio channel and system thereof - Google Patents

Data transmission method through USB audio channel and system thereof
Download PDF

Info

Publication number
CN105024719A
CN105024719ACN201410169096.4ACN201410169096ACN105024719ACN 105024719 ACN105024719 ACN 105024719ACN 201410169096 ACN201410169096 ACN 201410169096ACN 105024719 ACN105024719 ACN 105024719A
Authority
CN
China
Prior art keywords
data
vop
speech
interaction data
interface
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
CN201410169096.4A
Other languages
Chinese (zh)
Other versions
CN105024719B (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 MEMSART 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 MEMSART TECHNOLOGY Co LtdfiledCriticalSHENZHEN MEMSART TECHNOLOGY Co Ltd
Priority to CN201410169096.4ApriorityCriticalpatent/CN105024719B/en
Publication of CN105024719ApublicationCriticalpatent/CN105024719A/en
Application grantedgrantedCritical
Publication of CN105024719BpublicationCriticalpatent/CN105024719B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention is suitable for the technical field of communication, and provides a data transmission method through a USB audio channel and a system thereof. The method comprises the steps that non-voice data are transmitted to a voice control interface and the non-voice data are converted into interactive data, and the interactive data include data packets and voice data packets; the interactive data are transmitted to the voice stream interface of a data receiving end in an alternating way via the USB audio channel, and the voice data packets can also be transmitted in an ISO mode; the interactive data are received via the voice stream interface, and the interactive data are reported to the related applications; and the voice data packets are described and parsed according to the preset standard, and the complete non-voice data are acquired through combination of the data packets. A USB Mic interface asynchronous transmission mode is adopted to directly report the data to upper layer application software, and application software directly acquires the data from the USB Mic interface with no requirement for coordination of an operating system.

Description

A kind of method and system by usb audio channel transmission data
Technical field
The invention belongs to communication technique field, particularly relate to a kind of method and system by usb audio channel transmission data.
Background technology
Along with computer hardware develop rapidly, ancillary equipment is increasing, keyboard, mouse, modulator-demodulator, printer, scanner is that compuman is in common knowledge already, digital camera, MP3 walkman comes one after another, so many equipment, how to access personal computer? USB interface plug and play has become one of important data access, it is by USB flash memory data block or HID interrupt transfer method that existing USB transmits data method, need be unified to be in charge of transfer of data by operating system, when to plug multiple USB and need to transmit data in a large number simultaneously simultaneously, operating system execution efficiency is then on the low side, application software cannot read data in time, the execution efficiency and the terminal client that affect application software are experienced.
Summary of the invention
Embodiments provide a kind of method and system by usb audio channel transmission data, be intended to solve prior art when having multiple USB to need to transmit data in a large number simultaneously, operating system execution efficiency is then on the low side, and application software cannot read data in time, the problem that execution efficiency is low.
On the one hand, provide a kind of method by usb audio channel transmission data, described method comprises:
Non-speech data is sent to speech control interface and described non-speech data is converted into interaction data, described interaction data comprises packet, VoP;
Alternately described interaction data is transferred to the voice flow interface of data receiver by usb audio passage, wherein said VoP transmits in ISO mode;
By interaction data described in described voice flow interface, report described interaction data to related application;
Describe according to preset standard and resolve described VoP, obtain complete non-speech data in conjunction with described packet.
On the other hand, provide a kind of system by usb audio channel transmission data, described system comprises:
Data transmitting terminal and data receiver, described data transmitting terminal comprises:
Data transformations unit, for non-speech data being sent to speech control interface and described non-speech data being converted into interaction data, described interaction data comprises packet, VoP;
Data transmission unit, for alternately described interaction data to be transferred to the voice flow interface of data receiver by usb audio passage, wherein said VoP transmits in ISO mode;
Described data receiver comprises:
Data receipt unit, for by interaction data described in described voice flow interface, reports described interaction data to related application;
Data Analysis unit, resolving described VoP for describing according to preset standard, obtaining complete non-speech data in conjunction with described packet.
In the embodiment of the present invention, non-speech data is sent to speech control interface and described non-speech data is converted into interaction data, described interaction data comprises packet, VoP; Alternately described interaction data is transferred to the voice flow interface of data receiver by usb audio passage, wherein said VoP transmits in ISO mode; By interaction data described in described voice flow interface, report described interaction data to related application; Describe according to preset standard and resolve described VoP, complete non-speech data is obtained in conjunction with described packet, the present invention, adopt USB Mic interface asynchronous transmission mode, data are directly reported upper application software, application software directly obtains data from USB Mic interface, participates in coordinating without the need to operating system.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of 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 of the USB microphone that the embodiment of the present invention one provides;
Fig. 3 is the concrete structure figure of the system by usb audio channel transmission data that the embodiment of the present invention two provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, non-speech data is sent to speech control interface and described non-speech data is converted into interaction data, described interaction data comprises packet, VoP; Alternately described interaction data is transferred to the voice flow interface of data receiver by usb audio passage, wherein said VoP transmits in ISO mode; By interaction data described in described voice flow interface, report described interaction data to related application; Describe according to preset standard and resolve described VoP, obtain complete non-speech data in conjunction with described packet.
Below in conjunction with specific embodiment, realization of the present invention is described in detail:
Embodiment one
Fig. 1 shows the realization flow of the method by usb audio channel transmission data that the embodiment of the present invention one provides, and details are as follows:
It should be noted that, the present invention is applicable to Android, Windows system and has the intelligent terminal of USBMicrophone interface.
In step S101, non-speech data is sent to speech control interface and described non-speech data is converted into interaction data, described interaction data comprises packet, VoP.
In the present embodiment, described non-speech data is the non-audio data that data transmitting terminal stores.Described packet is USB form non-audio data, and the size of one is 16K sampling, and 16, described VoP is the non-audio data of the microphone data form being converted into usb audio channel transfer, and the size of one is 16K sampling, 16.
In step s 102, alternately described interaction data is transferred to the voice flow interface of data receiver by usb audio passage, wherein said VoP transmits in ISO mode.
In the present embodiment, described usb audio passage and USB Microphone interface, also claim USB Mic interface.Described interaction data is alternately transferred to the voice flow interface of data receiver by data transmitting terminal by usb audio passage, wherein said VoP transmits in ISO mode, is equivalent to every millisecond like this and passes 32 bytes, its form table specific as follows:
In step s 103, by interaction data described in described voice flow interface, report described interaction data to related application.
In the present embodiment, data receiver, by interaction data described in described voice flow interface, reports described interaction data to related application, participates in without the need to system.
In step S104, describe according to preset standard and resolve described VoP, obtain complete non-speech data in conjunction with described packet.
In the present embodiment, data receiver describes according to preset standard and resolves described VoP, and obtain complete non-speech data in conjunction with described packet, upper application software directly reads data, and efficiency is high, across hardware platform, is widely used.
The present embodiment, can reach and adopt USB Mic interface asynchronous transmission mode, data are directly reported upper application software, and application software directly obtains data from USB Mic interface, participates in coordinating without the need to operating system.
Embodiment two
Fig. 3 shows the concrete structure block diagram of the system by usb audio channel transmission data that the embodiment of the present invention two provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.In the present embodiment, should be comprised by the system of usb audio channel transmission data: data transmitting terminal 1 and data receiver 2, described data transmitting terminal 1 comprises:
Data transformations unit 11, for non-speech data being sent to speech control interface and described non-speech data being converted into interaction data, described interaction data comprises packet, VoP;
Data transmission unit 12, for alternately described interaction data to be transferred to the voice flow interface of data receiver by usb audio passage, wherein said VoP transmits in ISO mode;
Described data receiver 2 comprises:
Data receipt unit 21, for by interaction data described in described voice flow interface, reports described interaction data to related application;
Data Analysis unit 22, resolving described VoP for describing according to preset standard, obtaining complete non-speech data in conjunction with described packet.
The present embodiment, can reach and adopt USB Mic interface asynchronous transmission mode, data are directly reported upper application software, and application software directly obtains data from USB Mic interface, participates in coordinating without the need to operating system.
Further, described interaction data is specially 32bit position.
The system by usb audio channel transmission data that the embodiment of the present invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details, see the description of above-described embodiment one, do not repeat them here.
It should be noted that in said system embodiment, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realized in the various embodiments described above method is that the hardware that can carry out instruction relevant by program has come, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (4)

CN201410169096.4A2014-04-232014-04-23A kind of method and system by usb audio channel transmission dataActiveCN105024719B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410169096.4ACN105024719B (en)2014-04-232014-04-23A kind of method and system by usb audio channel transmission data

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410169096.4ACN105024719B (en)2014-04-232014-04-23A kind of method and system by usb audio channel transmission data

Publications (2)

Publication NumberPublication Date
CN105024719Atrue CN105024719A (en)2015-11-04
CN105024719B CN105024719B (en)2019-07-12

Family

ID=54414470

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410169096.4AActiveCN105024719B (en)2014-04-232014-04-23A kind of method and system by usb audio channel transmission data

Country Status (1)

CountryLink
CN (1)CN105024719B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002218445A (en)*2001-01-162002-08-02Hitachi Kokusai Electric Inc Video data transmission system
CN1617605A (en)*2003-11-122005-05-18皇家飞利浦电子股份有限公司Method and device for transmitting non-voice data in voice channel
US20080247484A1 (en)*2007-04-032008-10-09General Motors CorporationMethod for data communication via a voice channel of a wireless communication network using continuous signal modulation
CN201383560Y (en)*2009-03-252010-01-13深圳市三木通信技术有限公司Data cable, mobile communication terminal playing system and acoustic system
CN101764986A (en)*2009-12-242010-06-30中兴通讯股份有限公司Wireless terminal and realization method of video telephone function thereof
CN102685061A (en)*2000-06-222012-09-19爱尔比奎特公司System used for data communications over digital wireless telecommunications networks
CN102832968A (en)*2012-07-272012-12-19武汉大学Method for performing communication between mobile phone and equipment by using audio interface

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102685061A (en)*2000-06-222012-09-19爱尔比奎特公司System used for data communications over digital wireless telecommunications networks
JP2002218445A (en)*2001-01-162002-08-02Hitachi Kokusai Electric Inc Video data transmission system
CN1617605A (en)*2003-11-122005-05-18皇家飞利浦电子股份有限公司Method and device for transmitting non-voice data in voice channel
US20080247484A1 (en)*2007-04-032008-10-09General Motors CorporationMethod for data communication via a voice channel of a wireless communication network using continuous signal modulation
CN201383560Y (en)*2009-03-252010-01-13深圳市三木通信技术有限公司Data cable, mobile communication terminal playing system and acoustic system
CN101764986A (en)*2009-12-242010-06-30中兴通讯股份有限公司Wireless terminal and realization method of video telephone function thereof
CN102832968A (en)*2012-07-272012-12-19武汉大学Method for performing communication between mobile phone and equipment by using audio interface

Also Published As

Publication numberPublication date
CN105024719B (en)2019-07-12

Similar Documents

PublicationPublication DateTitle
EP3629561A1 (en)Data transmission method and system, and bluetooth headphone
CN101882116A (en)Method for realizing audio transmission and mobile terminal
TWI593270B (en) System and method for effectively mixing network telephone data
ATE350853T1 (en) DATA SHARING IN A MULTIMEDIA COMMUNICATION SYSTEM
TW200729819A (en)Methods, media, and devices for moving a connection from one point of access to another point of access
CN109524004B (en) A method for realizing parallel transmission of multi-channel audio and data, an external voice interaction device and system
CN102098304A (en)Method for simultaneously recording and uploading audio/video of mobile phone
Pham et al.Streaming the sound of smart cities: Experimentations on the smartsantander test-bed
WO2022227818A1 (en)Method and apparatus for network configuration, and smart home device
CN102891796A (en)Mining intelligent transmission gateway
SA520411143B1 (en)Systems and Methods for Securely Transferring Selective Datasets Between Terminals
CN114666776A (en) Data transmission method, apparatus, device and readable storage medium
WO2012011651A3 (en)System and method for providing contents through a network by an apparatus which cannot access any network
CN106941501A (en) A data communication method and device
CN116935864A (en) A semantic communication method, device and system
CN101651838A (en)Method, system and device for transmitting video data
CN102629927A (en)Receiving and transmitting method and device as well as processing system for RTP (Real-time Transport Protocol) media data
CN102625105A (en)Multi-channel video encoding and decoding data transmission method and device based on single chip
CN105024719A (en)Data transmission method through USB audio channel and system thereof
CN104836598A (en)Method, device and system of business processing based on near field communication
US20150256964A1 (en)Virtual bluetooth device
CN102938733A (en)Message forwarding method as well as routing equipment and recognition equipment thereof
CN102752019A (en)Data sending, receiving and transmitting method and system based on headset jack
CN103716357A (en)Mobile information synchronization method and apparatus, and mobile communication terminal
TWI523461B (en) Communication system and method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C41Transfer of patent application or patent right or utility model
TA01Transfer 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.

GR01Patent grant
GR01Patent grant
CP02Change 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.

CP02Change in the address of a patent holder

[8]ページ先頭

©2009-2025 Movatter.jp