CN102752019A - Data sending, receiving and transmitting method and system based on headset jack - Google Patents

Data sending, receiving and transmitting method and system based on headset jack Download PDF

Info

Publication number
CN102752019A
CN102752019A CN2011100993966A CN201110099396A CN102752019A CN 102752019 A CN102752019 A CN 102752019A CN 2011100993966 A CN2011100993966 A CN 2011100993966A CN 201110099396 A CN201110099396 A CN 201110099396A CN 102752019 A CN102752019 A CN 102752019A
Authority
CN
China
Prior art keywords
file
earphone jack
audio
frame information
voice messaging
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
CN2011100993966A
Other languages
Chinese (zh)
Other versions
CN102752019B (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 box Mdt InfoTech Ltd
Original Assignee
SHENZHEN IBOXPAY INFORMATION 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 IBOXPAY INFORMATION TECHNOLOGY CO LTD filed Critical SHENZHEN IBOXPAY INFORMATION TECHNOLOGY CO LTD
Priority to CN201110099396.6A priority Critical patent/CN102752019B/en
Publication of CN102752019A publication Critical patent/CN102752019A/en
Application granted granted Critical
Publication of CN102752019B publication Critical patent/CN102752019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is suitable for the field of communication, and provides a data sending, receiving and transmitting method and system based on a headset jack. The method comprises the steps that at the sending side, after a file needing to be sent by a user is confirmed, frame information of the sent file is converted into an audio-format file, and voice information of the audio-format file is played through the headset jack, wherein the voice information comprises an unprocessed format of the file; and at the receiving side, the voice information is received from the headset jack, a recorder is used for recording the voice information into an audio file, the audio file is converted into the frame information, and the frame information is restored to the sent file and then is saved. The data sending, receiving and transmitting method and system based on the headset jack provided by the invention has the advantages that data can be sent on the basis of the headset jack and the applicability is wide.

Description

Data transmission, reception, transmission method and system based on earphone jack
Technical field
The invention belongs to the communications field, relate in particular to a kind of data transmission, reception, transmission method and system based on earphone jack.
Background technology
Existing earphone jack is as shown in Figure 1, wherein:
1, ground wire: be used to connect mobile phone ground and peripheral hardware ground, make system altogether.
2, the sound channel line 1: for peripheral hardware provides power supply, be used for peripheral hardware work power consumption or peripheral hardware battery charge.
3, the sound channel line 2: be the data in mobile phone output line, be used for the asynchronous communication with peripheral hardware, be transferred to peripheral hardware to data in mobile phone.
4, Mike's line: be the peripheral data incoming line, be used for the asynchronous communication of peripheral hardware and mobile phone, transmit into mobile phone to peripheral data.
Existing earphone jack only limits to the reception and the transmission of audio signal, and it can't communicated data signal, and for example MP3, video file or a text then can't pass to other equipment through this earpiece holes.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of data transmission method based on earphone jack, is intended to solve the problem that existing technical scheme can't be carried out data passes through earphone jack.
The embodiment of the invention is achieved in that a kind of data transmission method for uplink based on earphone jack, and said method comprises:
After confirming the file that the user need transmit, the frame information of the file of this transmission is converted to the file of audio format;
The file of this audio format is play voice messaging through earphone jack.
The present invention provides a kind of data receive method based on earphone jack,, said method comprises:
Go out receiving speech information from earphone jack, call phonographic recorder voice messaging is recorded into audio file;
Convert this audio file to frame information, and preserve after this frame information being reduced into the file of transmission.
The present invention provides a kind of data transmission method based on earphone jack again, and said method comprises:
At transmitter side:
After confirming the file that the user need transmit, the frame information of the file of this transmission is converted to the file of audio format;
The file of this audio format is play voice messaging through earphone jack; Wherein said voice messaging comprises the unprocessed form of this document;
At receiver side:
Go out receiving speech information from earphone jack, call phonographic recorder voice messaging is recorded into audio file;
Convert this audio file to frame information, preserve after this frame information being reduced into the file of transmission.
The present invention provides a kind of transmitting terminal device again, and said transmitting terminal device comprises:
Modular converter is used for after confirming the file that the user need transmit, and the frame information of the file of this transmission is converted to the file of audio format;
Playing module is used for the file of this audio format is play voice messaging through earphone jack.
Another receiving end device of the present invention, said device comprises:
Module is recorded in reception, is used for going out receiving speech information from earphone jack, calls phonographic recorder voice messaging is recorded into audio file;
Module is preserved in reduction, is used for converting this audio file to frame information, preserves after this frame information being reduced into the file of transmission.
The present invention provides a kind of data transmission system based on earphone jack, and said system comprises: transmitting terminal device and receiving end device;
This transmitting terminal device is used for after confirming the file that the user need transmit, and the frame information of the file of this transmission is converted to the file of audio format; The file of this audio format is play voice messaging through earphone jack; Wherein said voice messaging comprises the unprocessed form of this document;
This receiving end device is used for going out receiving speech information from earphone jack, calls phonographic recorder voice messaging is recorded into audio file; Convert this audio file to frame information, preserve after this frame information being reduced into the file of transmission.
In embodiments of the present invention; Technical scheme transmitter side provided by the invention is after confirming the file that transmits; This document is sent through earphone jack; After receiver side receives this voice document, preserve after this voice document is reduced into former transfer files, so this technical scheme has the advantage that can transmit file based on earphone jack.
Description of drawings
Fig. 1 is the earphone jack sketch map that this prior art provides;
Fig. 2 is the data transmission method for uplink flow chart based on earphone jack provided by the invention;
Fig. 3 is a character format sketch map provided by the invention;
Fig. 4 is a frame format sketch map provided by the invention;
Fig. 5 is the data receive method flow chart based on earphone jack provided by the invention;
Fig. 6 is the flow chart of the data transmission method based on earphone jack provided by the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
A kind of data transmission method for uplink provided by the invention based on earphone jack, this method is as shown in Figure 2, and this method is accomplished by sending ending equipment, and this method comprises the steps:
S21, after confirming the file that the user need transmit, the frame information of the file of this transmission is converted to the file of audio format;
S22, the file of this audio format is play voice messaging through earphone jack.
Method provided by the invention is when carrying out the data transmission; No matter which kind of form file is; All this document is converted to the file of audio format; And,, supported earphone jack to carry out transfer of data so this method can all send the file of any form through earphone jack through the earphone jack broadcast.
Need to prove that the file of above-mentioned audio format also comprises the unprocessed form of this document, this form is MP4, WORD etc. for example.Behind the unprocessed form that increases file, can be so that receiving terminal reduction frame information.
Need to prove, above-mentioned audio file can for: contain perhaps waveform clocklike of sinusoidal wave and square wave.
Need to prove, the file of above-mentioned conversion audio format with play the file that the audio format that has converted is play on file limit that voice messaging can limit conversion audio format, play after can certainly all converting whole file to audio file.
Need to prove that the character format of above-mentioned frame information is as shown in Figure 3, this frame format is as shown in Figure 4, and wherein this frame information transmits under following communication protocol:
1, on data line, level 0~1V presentation logic " 0 ", level 2~3.3V presentation logic " 1 ".
2, Transmission bit rate: 9600bps or 115200bps.
3, transmission range:<60mm.
4, character format is: 1 start bit+8 bit data positions+1 bit check position+1 position of rest.This character format specifically can be referring to Fig. 3;
5, frame format, this frame format can comprise: frame format is: 1 lead byte+1 start-of-frame+1 control code+1 bit data length+n bit data+1 bit check sign indicating number+1 end mark.Certainly can also increase other content, for example before data, increase by 1 file origin of literary composition, the content of this frame format is as shown in Figure 4.
Wherein, LEAD: preamble field (1 byte).Before main website transmit frame information, send a lead byte earlier, with the recipient that wakes up.
FSB: frame start field (1 byte).
CMD: control code field (1 byte), also claim the information classification sign indicating number.
LEN: data field length field (1 byte).
DATA: data field field (xx byte).
CS: check code field (1 byte) begins to the mould 256 of check code all each bytes before from frame is initial.
With, promptly each byte binary arithmetic with, disregard and surpass 256 overflow value.
FEB: end mark field (1 byte).
6, transmission response: each communication all is to send the request command frame by main website to slave station to begin, and slave station responds according to the requirement of command frame.The response time-delay Td:1ms≤Td≤10ms of frame receives orders.Dead time Tb:01ms≤Tb≤10ms between the byte.
7, error control: the even parity check of byte check digit, frame check be vertical information checking with, reciever no matter test all abandon this information frame to even parity check or vertical information checking and makeing mistakes, will not respond.
The present invention also provides a kind of data receive method based on earphone jack, and this method is accomplished by receiving end device, and this method is as shown in Figure 5, comprising:
S51, go out receiving speech information, call phonographic recorder voice messaging is recorded into audio file from earphone jack;
S52, convert this audio file to frame information, and preserve after this frame information being reduced into the file of transmission.
The form of above-mentioned frame information can be referring to the associated description in the above-mentioned sending method,
After method of reseptance provided by the invention receives voice messaging through earphone jack; The file that this voice messaging is converted to transmission is preserved; So this method can be passed through the earphone jack transfer files, because this method has only been improved the method operating process, do not change the hardware configuration of earphone jack again; Promptly all earphone jacks all can be come transfer files by the way, so this method is with a wide range of applications.
The present invention also provides a kind of data transmission method based on earphone jack, and this method is as shown in Figure 6, comprising:
At transmitter side:
S61, after confirming the file that the user need transmit, the frame information of the file of this transmission is converted to the file of audio format;
S62, the file of this audio format is play voice messaging through earphone jack; Wherein said voice messaging comprises the unprocessed form of this document;
At receiver side:
S63, go out receiving speech information, call phonographic recorder voice messaging is recorded into audio file from earphone jack;
S64, convert this audio file to frame information, preserve after this frame information being reduced into the file of transmission.
Method transmitter side provided by the invention is after confirming the file that transmits; This document is sent through earphone jack; After receiver side receives this voice document, preserve after this voice document is reduced into former transfer files, so this method has the advantage that can transmit file based on earphone jack.
The present invention also provides a kind of transmitting terminal device, and this device comprises:
Modular converter is used for after confirming the file that the user need transmit, and the frame information of the file of this transmission is converted to the file of audio format;
Playing module is used for the file of this audio format is play voice messaging through earphone jack.
Device provided by the invention is when carrying out the data transmission; No matter which kind of form file is; All this document is converted to the file of audio format; And,, supported earphone jack to carry out transfer of data so this device can all send the file of any form through earphone jack through the earphone jack broadcast.
Need to prove that above-mentioned transmitting terminal device can be for having any device of earphone jack, for example computer, mobile phone, PDA, MP3, MP4 or the like.
The present invention also provides a kind of receiving end device, and this device comprises:
Module is recorded in reception, is used for going out receiving speech information from earphone jack, calls phonographic recorder voice messaging is recorded into audio file;
Module is preserved in reduction, is used for converting this audio file to frame information, preserves after this frame information being reduced into the file of transmission.
Need to prove that above-mentioned receiving terminal end device can be for having any device of earphone jack, for example computer, mobile phone, PDA, MP3, MP4 or the like.
After device provided by the invention receives voice messaging through earphone jack; The file that this voice messaging is converted to transmission is preserved; So this device can pass through the earphone jack transfer files; There is this device can be again for having any device of earphone jack, so this device has extensive applicability.
The present invention also provides a kind of data transmission system based on earphone jack, and this system comprises: transmitting terminal device and receiving end device; Wherein:
This transmitting terminal device is used for after confirming the file that the user need transmit, and the frame information of the file of this transmission is converted to the file of audio format; The file of this audio format is play voice messaging through earphone jack; Wherein said voice messaging comprises the unprocessed form of this document;
This receiving end device is used for going out receiving speech information from earphone jack, calls phonographic recorder voice messaging is recorded into audio file; Convert this audio file to frame information, preserve after this frame information being reduced into the file of transmission.
The transmitting terminal device of system provided by the invention is after confirming the file that transmits; This document is sent through earphone jack; After receiving end device receives this voice document, preserve after this voice document is reduced into former transfer files, so this system has the advantage that can transmit file based on earphone jack; Again because this receiving end device and transmitting terminal device are suitable for all devices with earphone jack, so this system has extensive applicability.
Technical scheme provided by the invention has and can transmit data and the advantage with extensive applicability based on earphone jack.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the data transmission method for uplink based on earphone jack is characterized in that, said method comprises:
After confirming the file that the user need transmit, the frame information of the file of this transmission is converted to the file of audio format;
The file of this audio format is play voice messaging through earphone jack.
2. method according to claim 1 is characterized in that, said voice messaging comprises: the unprocessed form of the file of transmission.
3. the data receive method based on earphone jack is characterized in that, said method comprises:
Go out receiving speech information from earphone jack, call phonographic recorder voice messaging is recorded into audio file;
Convert this audio file to frame information, and preserve after this frame information being reduced into the file of transmission.
4. the data transmission method based on earphone jack is characterized in that, said method comprises:
At transmitter side:
After confirming the file that the user need transmit, the frame information of the file of this transmission is converted to the file of audio format;
The file of this audio format is play voice messaging through earphone jack; Wherein said voice messaging comprises the unprocessed form of this document;
At receiver side:
Go out receiving speech information from earphone jack, call phonographic recorder voice messaging is recorded into audio file;
Convert this audio file to frame information, preserve after this frame information being reduced into the file of transmission.
5. a transmitting terminal device is characterized in that, said transmitting terminal device comprises:
Modular converter is used for after confirming the file that the user need transmit, and the frame information of the file of this transmission is converted to the file of audio format;
Playing module is used for the file of this audio format is play voice messaging through earphone jack.
6. transmitting terminal device according to claim 5 is characterized in that, said device is: computer, mobile phone, PDA, MP3 or MP4.
7. a receiving end device is characterized in that, said device comprises:
Module is recorded in reception, is used for going out receiving speech information from earphone jack, calls phonographic recorder voice messaging is recorded into audio file;
Module is preserved in reduction, is used for converting this audio file to frame information, preserves after this frame information being reduced into the file of transmission.
8. receiving end device according to claim 7 is characterized in that, said device is: computer, mobile phone, PDA, MP3 or MP4.
9. the data transmission system based on earphone jack is characterized in that, said system comprises: transmitting terminal device and receiving end device;
This transmitting terminal device is used for after confirming the file that the user need transmit, and the frame information of the file of this transmission is converted to the file of audio format; The file of this audio format is play voice messaging through earphone jack; Wherein said voice messaging comprises the unprocessed form of this document;
This receiving end device is used for going out receiving speech information from earphone jack, calls phonographic recorder voice messaging is recorded into audio file; Convert this audio file to frame information, preserve after this frame information being reduced into the file of transmission.
CN201110099396.6A 2011-04-20 2011-04-20 Data sending, receiving and transmitting method and system based on headset jack Active CN102752019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110099396.6A CN102752019B (en) 2011-04-20 2011-04-20 Data sending, receiving and transmitting method and system based on headset jack

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110099396.6A CN102752019B (en) 2011-04-20 2011-04-20 Data sending, receiving and transmitting method and system based on headset jack

Publications (2)

Publication Number Publication Date
CN102752019A true CN102752019A (en) 2012-10-24
CN102752019B CN102752019B (en) 2015-01-28

Family

ID=47031944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110099396.6A Active CN102752019B (en) 2011-04-20 2011-04-20 Data sending, receiving and transmitting method and system based on headset jack

Country Status (1)

Country Link
CN (1) CN102752019B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220428A (en) * 2013-04-17 2013-07-24 南京三宝科技股份有限公司 Audio signal data communication method for cell phone
CN103500151A (en) * 2013-09-27 2014-01-08 深圳钱盒信息技术有限公司 Method and device for changing peripheral equipment firmware
CN106716981A (en) * 2014-09-29 2017-05-24 高通股份有限公司 Electronics interface for device headset jack

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1427394A (en) * 2002-04-09 2003-07-02 北京无限商机通信技术有限公司 Speech sound browsing network
US20040260551A1 (en) * 2003-06-19 2004-12-23 International Business Machines Corporation System and method for configuring voice readers using semantic analysis
CN1783212A (en) * 2004-10-29 2006-06-07 微软公司 System and method for converting text to speech
CN1937841A (en) * 2005-09-22 2007-03-28 三星电子株式会社 Method of receiving a call in a wireless terminal
CN101435832A (en) * 2008-11-28 2009-05-20 安徽中天电力电子有限责任公司 Method for reading three-charge rate and four-charge rate electrical energy meter of low voltage carrier wave meter reading collection terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1427394A (en) * 2002-04-09 2003-07-02 北京无限商机通信技术有限公司 Speech sound browsing network
US20040260551A1 (en) * 2003-06-19 2004-12-23 International Business Machines Corporation System and method for configuring voice readers using semantic analysis
CN1783212A (en) * 2004-10-29 2006-06-07 微软公司 System and method for converting text to speech
CN1937841A (en) * 2005-09-22 2007-03-28 三星电子株式会社 Method of receiving a call in a wireless terminal
CN101435832A (en) * 2008-11-28 2009-05-20 安徽中天电力电子有限责任公司 Method for reading three-charge rate and four-charge rate electrical energy meter of low voltage carrier wave meter reading collection terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沈昱明: "M-Bus仪表总线协议及其应用", 《工业仪表与自动化装置》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220428A (en) * 2013-04-17 2013-07-24 南京三宝科技股份有限公司 Audio signal data communication method for cell phone
CN103500151A (en) * 2013-09-27 2014-01-08 深圳钱盒信息技术有限公司 Method and device for changing peripheral equipment firmware
CN103500151B (en) * 2013-09-27 2016-06-08 深圳钱盒信息技术有限公司 A kind of method and apparatus changing peripheral equipment firmware
CN106716981A (en) * 2014-09-29 2017-05-24 高通股份有限公司 Electronics interface for device headset jack

Also Published As

Publication number Publication date
CN102752019B (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN108347716B (en) Bluetooth communication system and communication method
WO2010116292A3 (en) Method and system for obtaining radio access network (ran) information of cellular telecommunications networks
CN201860365U (en) Mobile phone device for deaf-mute
HK1046198A1 (en) A dedicated digital-to-analog network audio deviceand method
CN102394979A (en) Method for performing high-speed data transmission through communication earphone interface
CN100477675C (en) Bluetooth handset being able to realize wireless audio output
CN205249440U (en) Take bluetooth headset of alternate form interface
CN102752019B (en) Data sending, receiving and transmitting method and system based on headset jack
CN103067587A (en) Device, mobile phone and method based on audio interface and used for bidirectional data transmission
CN101754421A (en) File transmission method based on Bluetooth transmission protocol, system and mobile terminal
CN101072379A (en) Method for realizing voice short message
CN104038398A (en) Coal mine digital voice communication system based on CAN bus
CN202512625U (en) Mobile payment terminating machine
CN105049090A (en) Solar cell type electronic communication apparatus
CN105243036A (en) Signal conversion apparatus and method
CN102256193B (en) Audio signal receiving device and audio signal transmission system
CN102332949A (en) Compass external talker, compass voice communication system and method
CN105704288A (en) Incoming call information acquisition method and equipment
CN102376308A (en) Device and method for processing pulse-code modulation (PCM) digital signals
CN103841279A (en) Bus-based multi-party communication digital telephone system
CN203387578U (en) Multifunctional Bluetooth peripheral for mobile electronic equipment
CN202309709U (en) Big dipper externally-arranged interphone and big dipper voice communication system
CN210606615U (en) Text-to-speech broadcasting system
CN203563200U (en) Dual-mode mobile phone Bluetooth communication device
CN204859171U (en) Wireless digital walkie -Talkie based on AMBE encoding and decoding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Data sending, receiving and transmitting method and system based on headset jack

Effective date of registration: 20160111

Granted publication date: 20150128

Pledgee: Shenzhen SME financing Company limited by guarantee

Pledgor: Shenzhen Iboxpay Information Technology Co.,Ltd.

Registration number: 2016990000017

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20171106

Granted publication date: 20150128

Pledgee: Shenzhen SME financing Company limited by guarantee

Pledgor: Shenzhen Iboxpay Information Technology Co.,Ltd.

Registration number: 2016990000017

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Guangdong Nanshan District street of Shenzhen city in Guangdong province 518000 software industry base in Shenzhen, fifth building room 505

Patentee after: Shenzhen box Mdt InfoTech Ltd

Address before: 518000 Guangdong Shenzhen city Futian District Huaqiang North Road deep spinning building B1005

Patentee before: Shenzhen Iboxpay Information Technology Co.,Ltd.