CN103491235A - Method and terminals for data transmission - Google Patents

Method and terminals for data transmission Download PDF

Info

Publication number
CN103491235A
CN103491235A CN201210193836.9A CN201210193836A CN103491235A CN 103491235 A CN103491235 A CN 103491235A CN 201210193836 A CN201210193836 A CN 201210193836A CN 103491235 A CN103491235 A CN 103491235A
Authority
CN
China
Prior art keywords
terminal
interface
data
working method
file
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
CN201210193836.9A
Other languages
Chinese (zh)
Other versions
CN103491235B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210193836.9A priority Critical patent/CN103491235B/en
Publication of CN103491235A publication Critical patent/CN103491235A/en
Application granted granted Critical
Publication of CN103491235B publication Critical patent/CN103491235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, terminals and a data line for data transmission. The method is applied to the first terminal, the first terminal is provided with a first interface, and the first interface has a first operation mode for transmitting audio signals and a second operation mode for transmitting binary data signals. The method comprises the steps that when the first interface is connected with a second interface of the second terminal, the first terminal is set to be in the first operation mode; when the second terminal connected with the first interface is audio equipment, the first terminal is set to be in the second operation mode. According to the method, the terminals and the data line, data transmission is achieved by means of earphone interfaces and the like existing in the terminals, functions of terminal interfaces in the prior art can be expanded, and the data transmission can become simpler and is not disturbed by other signal sources.

Description

A kind of data transmission method and terminal
Technical field
The present invention relates to the Data Control field, particularly relate to a kind of data transmission method and terminal.
Background technology
At present electronic equipment, especially such as terminals such as mobile phones, all have audio interface, for example the 3.5mm earphone interface usually.And the function of the earphone interface of current most of terminal is all more single, with the audio frequency apparatus such as earphone, is connected, thereby realizes the function of listening to the music and receiving calls.
But, when the user need to be transmitted a business card or picture to other users' terminal, can only be transmitted by bluetooth or wifi.The mode more complicated of these wireless transmission and be subject to environmental limitations, while in environment, having larger interference signal source, above-mentioned wireless transmission method can't be used.
Summary of the invention
The purpose of this invention is to provide a kind of data transmission method and terminal, can utilize existing Interface realization transfer of data on terminal, the method for reduced data transmission.
For achieving the above object, the invention provides following scheme:
A kind of data transmission method, be applied to first terminal, and described first terminal has first interface, and described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal, and described method comprises:
When described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
When the second terminal be connected with described first interface is audio frequency apparatus, described first terminal is set to the second working method.
Optionally, described first terminal is set to the first working method, comprising:
Obtain the second end message be connected with described first interface;
Judge that whether described the second end message meets the first default trigger condition, obtains the first judged result;
When described the first judged result shows that described the second end message meets the first default trigger condition, described electric terminal is set to the first working method; The described first default trigger condition be described first interface with described the second terminal the second interface be connected.
Optionally, described first terminal is set to the second working method, comprising:
Obtain the second end message be connected with described first interface;
Judge that whether described the second end message meets the second default trigger condition, obtains the second judged result;
When described the second judged result shows that described the second end message meets the second default trigger condition, described electric terminal is set to the second working method; The described second default trigger condition is audio frequency apparatus for the second terminal be connected with described first interface.
Optionally, the second working method of described transmission binary data signal comprises the transmission data, and/or receives data, and described transmission data comprise:
Obtain the file data information that needs transmission;
Described file data information is converted to binary data;
Described binary data is converted to the analog signal with predetermined period and amplitude;
The data wire that has respectively plug by the two ends that are connected with described first interface is sent to described the second terminal by described analog signal;
Described reception data comprise:
The data wire that has respectively plug by the two ends that are connected with described first interface receives the analog signal that described the second terminal sends;
According to described predetermined period and amplitude, by described analog signal conversion, be binary data;
According to described binary data, obtain described file data information.
Optionally, described according to described binary data, obtain described file data information, comprising:
Obtain the header file information in described binary data, described header file information is, when described file data information is converted to binary data, according to file type, to generate;
According to described header file information, described binary data is reduced into to the file of respective type.
A kind of terminal, described terminal has first interface, and described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal, and described terminal comprises:
The first working method arranges module, and for when described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
The second working method arranges module, and while for the second terminal when being connected with described first interface, being audio frequency apparatus, described first terminal is set to the second working method.
Optionally, described the first working method arranges module, comprising:
The second end message acquiring unit, for obtaining the second end message be connected with described first interface;
Whether the first judging unit, meet the first default trigger condition for judging described the second end message, obtains the first judged result;
The first working method setting unit, when showing that when described the first judged result described the second end message meets the first default trigger condition, described electric terminal is set to the first working method; The described first default trigger condition be described first interface with described the second terminal the second interface be connected.
Optionally, described the second working method arranges module, comprising:
The second end message acquiring unit, for obtaining the second end message be connected with described first interface;
Whether the second judging unit, meet the second default trigger condition for judging described the second end message, obtains the second judged result;
The second working method setting unit, when showing that when described the second judged result described the second end message meets the second default trigger condition, described electric terminal is set to the second working method; The described second default trigger condition is audio frequency apparatus for the second terminal be connected with described first interface.
Optionally, described terminal has the data transmission blocks be applied under the second working method, and/or data reception module, and described data transmission blocks comprises:
The first file data information acquisition unit, need for obtaining the file data information sent;
The first binary data converting unit, for being converted to binary data by described file data information;
The analog signal conversion unit, for being converted to described binary data the analog signal with predetermined period and amplitude;
The analog signal transmitting element, the data wire that has respectively plug for the two ends by being connected with described first interface is sent to described external connection apparatus by described analog signal;
Described data reception module comprises:
The analog signal receiving element, the data wire that has respectively plug for the two ends by being connected with described first interface receives the analog signal that described external connection apparatus sends;
The second binary data converting unit, for according to described predetermined period and amplitude, is binary data by described analog signal conversion;
The second file data information acquisition unit, for according to described binary data, obtain and need the described file data information received.
Optionally, described the second file data information acquisition unit comprises:
Header file acquisition of information subelement, for obtaining the header file information of described binary data, described header file information is, when described file data information is converted to binary data, according to file type, to generate;
File is atomic unit also, for according to described header file information, described binary data is reduced into to the file of respective type.
A kind of data wire, the two ends of described data wire all have the plug be complementary with interface, when the plug at the two ends of described data wire is connected with the second interface of the first interface of first terminal and the second terminal respectively, described data wire is for transmitting binary data signal.
Optionally, described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal, and described first terminal comprises:
The first working method arranges module, and for when described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
The second working method arranges module, and while for the second terminal when being connected with described first interface, being audio frequency apparatus, described first terminal is set to the second working method.
Optionally, described plug is at least supported three road signals, and described three road signals comprise input signal, output signal and ground signalling.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
Data transmission method of the present invention, by utilizing the Interface realization transfer of data such as existing earphone interface on terminal, expanded the function of terminal interface of the prior art, can make transfer of data become more simple, and not be subject to the interference of other signal sources.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart that Fig. 1 is data transmission method of the present invention;
Fig. 2 is the flow chart that described first terminal of the present invention is set to the first working method;
Fig. 3 is the flow chart that described first terminal of the present invention is set to the second working method;
Fig. 4 sends the flow chart of data under the second working method of the present invention;
Fig. 5 receives the flow chart of data under the second working method of the present invention;
The structure chart that Fig. 6 is terminal of the present invention;
Fig. 7 is the structure chart that the first working method of the present invention arranges module;
Fig. 8 is the structure chart that the second working method of the present invention arranges module;
Fig. 9 is data transmission blocks structure chart of the present invention;
Figure 10 is data reception block structural diagram of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Data transmission method of the present invention, be applied to first terminal, and described first terminal has first interface, and described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal.A concrete example can be: the 3.5mm earphone interface on mobile phone, can be used for transmitting voice signal, and also can be used for the transfer files data.
The flow chart that Fig. 1 is data transmission method of the present invention.As shown in Figure 1, described method can comprise:
Step 101: when described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
Concrete, described interface can be audio interface, for example the 3.5mm earphone interface.Described first interface can be connected by data wire disclosed by the invention with the second interface.Now, described first terminal is set to the first working method, can pass through first interface transfer files data, and can not carry out the action played sound.
Step 102: when the second terminal be connected with described first interface is audio frequency apparatus, described first terminal is set to the second working method.
Concrete, the second terminal can be the equipment such as earphone.Now, described first terminal is set to the second working method, can carry out the action such as play sound.
Data transmission method of the present invention, by utilizing the Interface realization transfer of data such as existing earphone interface on terminal, expanded the function of terminal interface of the prior art, can make transfer of data become more simple, and not be subject to the interference of other signal sources.
For ease of understanding, below the setting up procedure about the first working method and the second working method in method of the present invention is specifically described.
Fig. 2 is the flow chart that described first terminal of the present invention is set to the first working method.As shown in Figure 2, described first terminal is set to the first working method and can comprises:
Step 201: obtain the second end message be connected with described first interface;
Step 202: judge that whether described the second end message meets the first default trigger condition, obtains the first judged result;
Step 203: when described the first judged result shows that described the second end message meets the first default trigger condition, described electric terminal is set to the first working method; The described first default trigger condition be described first interface with described the second terminal the second interface be connected.
Concrete, can whether be square wave by the waveform that judges the signal that described first interface is inputted, judge whether to meet the first default trigger condition.Because, when carrying out the file data transmission, in the mode of binary data, transmitted, so, when the transmission binary data, the waveform of signal is square wave, can be by waveform being judged to judge whether meet the first default trigger condition.
Fig. 3 is the flow chart that described first terminal of the present invention is set to the second working method.As shown in Figure 3, described first terminal is set to the second working method and can comprises:
Step 301: obtain the second end message be connected with described first interface;
Step 302: judge that whether described the second end message meets the second default trigger condition, obtains the second judged result;
Step 303: when described the second judged result shows that described the second end message meets the second default trigger condition, described electric terminal is set to the second working method; The described second default trigger condition is audio frequency apparatus for the second terminal be connected with described first interface.
Concrete, can whether be non-square wave by the waveform that judges the signal that described first interface is inputted, judge whether to meet the second default trigger condition.
The second working method of the transmission binary data signal in the present invention comprises the transmission data, and/or receives data.
Fig. 4 sends the flow chart of data under the second working method of the present invention.As shown in Figure 4, sending data can comprise:
Step 401: obtain the file data information that needs transmission;
Described file can be various types of files, word document for example, MP3 music file, avi video file etc.
Step 402: described file data information is converted to binary data;
Because dissimilar file, its coded format is not identical yet, has plenty of binary format, has plenty of hexadecimal format etc.Exactly the file data that is not binary data is converted to binary data in this step.After being converted to binary data, in data, only comprise " 0 ", " 1 " two kinds of signals.
Step 403: described binary data is converted to the analog signal with predetermined period and amplitude;
For above-mentioned binary data is sent by audio interface such as earphone interfaces, need to be converted into analog signal.When being converted to analog signal, " 1 " can be sent the form with high level, " 0 " is sent with low level form.The level value that specifically " 0 " and " 1 " adopts is default amplitude.If send continuously a plurality of " 1 ", lasting high level may appear, can to it, be identified according to predetermined period.For example, when predetermined period is 1 second, if there is the lasting high level of 2 seconds, mean to send two " 1 " signals.
Step 404: the data wire that has respectively plug by the two ends that are connected with described first interface is sent to described the second terminal by described analog signal.
Fig. 5 receives the flow chart of data under the second working method of the present invention.As shown in Figure 5, receiving data can comprise:
Step 501: the data wire that has respectively plug by the two ends that are connected with described first interface receives the analog signal that described the second terminal sends;
Step 502: according to described predetermined period and amplitude, be binary data by described analog signal conversion;
Step 503: according to described binary data, obtain described file data information.
This process is the inverse process that sends data.Concrete, step 502 can comprise: obtain the header file information in described binary data, described header file information is, when described file data information is converted to binary data, according to file type, to generate;
According to described header file information, described binary data is reduced into to the file of respective type.In the present invention, when in transmission binary data and prior art, one of difference of transmission of audio signal is described file data information is converted to binary data, according to file type, generate header file information.
The invention also discloses a kind of terminal.Described terminal has first interface, and described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal.Concrete, described terminal can be a mobile phone, on this mobile phone, has earphone interface.This mobile phone is by described earphone interface, not only can the transmission of audio signal, carry out the function played sound, and can also transmit binary data, realize the function of transfer files.
The structure chart that Fig. 6 is terminal of the present invention.As shown in Figure 6, described terminal comprises:
The first working method arranges module 601, and for when described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
The second working method arranges module 602, and while for the second terminal when being connected with described first interface, being audio frequency apparatus, described first terminal is set to the second working method.
Fig. 7 is the structure chart that the first working method of the present invention arranges module.As shown in Figure 7, described the first working method arranges module, can comprise:
The second end message acquiring unit 701, for obtaining the second end message be connected with described first interface;
Whether the first judging unit 702, meet the first default trigger condition for judging described the second end message, obtains the first judged result;
The first working method setting unit 703, when showing that when described the first judged result described the second end message meets the first default trigger condition, described electric terminal is set to the first working method; The described first default trigger condition be described first interface with described the second terminal the second interface be connected.
Fig. 8 is the structure chart that the second working method of the present invention arranges module.As shown in Figure 8, described the second working method arranges module, can comprise:
The second end message acquiring unit 801, for obtaining the second end message be connected with described first interface;
Whether the second judging unit 802, meet the second default trigger condition for judging described the second end message, obtains the second judged result;
The second working method setting unit 803, when showing that when described judged result described the second end message meets the second default trigger condition, described electric terminal is set to the second working method; The described second default trigger condition is audio frequency apparatus for the second terminal be connected with described first interface.
Described terminal in the present invention has the data transmission blocks be applied under the second working method, and/or data reception module.
Fig. 9 is data transmission blocks structure chart of the present invention.As shown in Figure 9, described data transmission blocks can comprise:
The first file data information acquisition unit 901, need for obtaining the file data information sent;
The first binary data converting unit 902, for being converted to binary data by described file data information;
Analog signal conversion unit 903, for being converted to described binary data the analog signal with predetermined period and amplitude;
Analog signal transmitting element 904, the data wire that has respectively plug for the two ends by being connected with described first interface is sent to described external connection apparatus by described analog signal.
Figure 10 is data reception block structural diagram of the present invention.As shown in figure 10, described data reception module can comprise:
Analog signal receiving element 1001, the data wire that has respectively plug for the two ends by being connected with described first interface receives the analog signal that described external connection apparatus sends;
The second binary data converting unit 1002, for according to described predetermined period and amplitude, is binary data by described analog signal conversion;
The second file data information acquisition unit 1003, for according to described binary data, obtain and need the described file data information received.
Concrete, described the second file data information acquisition unit 1003 can also comprise:
Header file acquisition of information subelement, for obtaining the header file information of described binary data, described header file information is, when described file data information is converted to binary data, according to file type, to generate;
File is atomic unit also, for according to described header file information, described binary data is reduced into to the file of respective type.
The invention also discloses a kind of data wire.The two ends of described data wire all have the plug be complementary with interface, and when the plug at the two ends of described data wire is connected with the second interface of the first interface of first terminal and the second terminal respectively, described data wire is for transmitting binary data signal.
Concrete, described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal, and described first terminal comprises:
The first working method arranges module, and for when described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
The second working method arranges module, and while for the second terminal when being connected with described first interface, being audio frequency apparatus, described first terminal is set to the second working method.
Described plug is at least supported three road signals, and described three road signals comprise input signal, output signal and ground signalling.
In addition, the plug of data wire of the present invention also can adopt the 3.5mm headset plug with four road signal paths of the prior art.Concrete, the four road signal paths that headset plug of the prior art has are respectively L channel, R channel, microphone input, and ground signalling.Adopt method of the present invention to carry out binary data when transmission, can adopt any a-road-through road in L channel or R channel as the data transmission line road, adopt the microphone input channel as the data receiver circuit, the ground signalling ground connection that remains unchanged.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades only is used for an entity or operation are separated with another entity or operating space, and not necessarily requires or imply between these entities or operation the relation of any this reality or sequentially of existing.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make the process, method, article or the equipment that comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.In the situation that not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential hardware platform by software and realize, can certainly all by hardware, implement, but in a lot of situation, the former is better execution mode.Understanding based on such, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For the disclosed terminal of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates and gets final product referring to method.
Applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. a data transmission method, be applied to first terminal, it is characterized in that, described first terminal has first interface, described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal, and described method comprises:
When described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
When the second terminal be connected with described first interface is audio frequency apparatus, described first terminal is set to the second working method.
2. method according to claim 1, is characterized in that, described first terminal is set to the first working method, comprising:
Obtain the second end message be connected with described first interface;
Judge that whether described the second end message meets the first default trigger condition, obtains the first judged result;
When described the first judged result shows that described the second end message meets the first default trigger condition, described electric terminal is set to the first working method; The described first default trigger condition be described first interface with described the second terminal the second interface be connected.
3. method according to claim 1, is characterized in that, described first terminal is set to the second working method, comprising:
Obtain the second end message be connected with described first interface;
Judge that whether described the second end message meets the second default trigger condition, obtains the second judged result;
When described the second judged result shows that described the second end message meets the second default trigger condition, described electric terminal is set to the second working method; The described second default trigger condition is audio frequency apparatus for the second terminal be connected with described first interface.
4. method according to claim 1, is characterized in that, the second working method of described transmission binary data signal comprises the transmission data, and/or receive data, and described transmission data comprise:
Obtain the file data information that needs transmission;
Described file data information is converted to binary data;
Described binary data is converted to the analog signal with predetermined period and amplitude;
The data wire that has respectively plug by the two ends that are connected with described first interface is sent to described the second terminal by described analog signal;
Described reception data comprise:
The data wire that has respectively plug by the two ends that are connected with described first interface receives the analog signal that described the second terminal sends;
According to described predetermined period and amplitude, by described analog signal conversion, be binary data;
According to described binary data, obtain described file data information.
5. method according to claim 4, is characterized in that, described according to described binary data, obtains described file data information, comprising:
Obtain the header file information in described binary data, described header file information is, when described file data information is converted to binary data, according to file type, to generate;
According to described header file information, described binary data is reduced into to the file of respective type.
6. a terminal, is characterized in that, described terminal has first interface, and described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal, and described terminal comprises:
The first working method arranges module, and for when described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
The second working method arranges module, and while for the second terminal when being connected with described first interface, being audio frequency apparatus, described first terminal is set to the second working method.
7. terminal according to claim 6, is characterized in that, described the first working method arranges module, comprising:
The second end message acquiring unit, for obtaining the second end message be connected with described first interface;
Whether the first judging unit, meet the first default trigger condition for judging described the second end message, obtains the first judged result;
The first working method setting unit, when showing that when described the first judged result described the second end message meets the first default trigger condition, described electric terminal is set to the first working method; The described first default trigger condition be described first interface with described the second terminal the second interface be connected.
8. terminal according to claim 6, is characterized in that, described the second working method arranges module, comprising:
The second end message acquiring unit, for obtaining the second end message be connected with described first interface;
Whether the second judging unit, meet the second default trigger condition for judging described the second end message, obtains the second judged result;
The second working method setting unit, when showing that when described the second judged result described the second end message meets the second default trigger condition, described electric terminal is set to the second working method; The described second default trigger condition is audio frequency apparatus for the second terminal be connected with described first interface.
9. terminal according to claim 6, is characterized in that, described terminal has the data transmission blocks be applied under the second working method, and/or data reception module, and described data transmission blocks comprises:
The first file data information acquisition unit, need for obtaining the file data information sent;
The first binary data converting unit, for being converted to binary data by described file data information;
The analog signal conversion unit, for being converted to described binary data the analog signal with predetermined period and amplitude;
The analog signal transmitting element, the data wire that has respectively plug for the two ends by being connected with described first interface is sent to described external connection apparatus by described analog signal;
Described data reception module comprises:
The analog signal receiving element, the data wire that has respectively plug for the two ends by being connected with described first interface receives the analog signal that described external connection apparatus sends;
The second binary data converting unit, for according to described predetermined period and amplitude, is binary data by described analog signal conversion;
The second file data information acquisition unit, for according to described binary data, obtain and need the described file data information received.
10. terminal according to claim 9, is characterized in that, described the second file data information acquisition unit comprises:
Header file acquisition of information subelement, for obtaining the header file information of described binary data, described header file information is, when described file data information is converted to binary data, according to file type, to generate;
File is atomic unit also, for according to described header file information, described binary data is reduced into to the file of respective type.
A 11. data wire, it is characterized in that, the two ends of described data wire all have the plug be complementary with interface, and when the plug at the two ends of described data wire is connected with the second interface of the first interface of first terminal and the second terminal respectively, described data wire is for transmitting binary data signal.
12. data wire according to claim 11, is characterized in that, described first interface has the first working method of transmission of audio signal and the second working method of transmission binary data signal, and described first terminal comprises:
The first working method arranges module, and for when described first interface is connected with the second interface of the second terminal, described first terminal is set to the first working method;
The second working method arranges module, and while for the second terminal when being connected with described first interface, being audio frequency apparatus, described first terminal is set to the second working method.
13. data wire according to claim 11, is characterized in that, described plug is at least supported three road signals, and described three road signals comprise input signal, output signal and ground signalling.
CN201210193836.9A 2012-06-12 2012-06-12 A kind of data transmission method and terminal Active CN103491235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210193836.9A CN103491235B (en) 2012-06-12 2012-06-12 A kind of data transmission method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210193836.9A CN103491235B (en) 2012-06-12 2012-06-12 A kind of data transmission method and terminal

Publications (2)

Publication Number Publication Date
CN103491235A true CN103491235A (en) 2014-01-01
CN103491235B CN103491235B (en) 2016-12-21

Family

ID=49831186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210193836.9A Active CN103491235B (en) 2012-06-12 2012-06-12 A kind of data transmission method and terminal

Country Status (1)

Country Link
CN (1) CN103491235B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818889A (en) * 2005-02-08 2006-08-16 台均科技(深圳)有限公司 Audio/USB signal multiplexing line, broadcasting memory and multiplexing transmitting broadcasting memory system
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN201805529U (en) * 2010-09-09 2011-04-20 惠州Tcl移动通信有限公司 Earphone interface shared by serial port download line and earphone, and mobile terminal shared thereby
CN102082846A (en) * 2010-12-02 2011-06-01 惠州Tcl移动通信有限公司 Terminal equipment with plurality of externally arranged shared interfaces
CN202167034U (en) * 2011-07-19 2012-03-14 深圳市江波龙电子有限公司 Peripheral application device and mobile terminal system
CN102394979A (en) * 2011-11-07 2012-03-28 武汉天喻信息产业股份有限公司 Method for performing high-speed data transmission through communication earphone interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818889A (en) * 2005-02-08 2006-08-16 台均科技(深圳)有限公司 Audio/USB signal multiplexing line, broadcasting memory and multiplexing transmitting broadcasting memory system
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN201805529U (en) * 2010-09-09 2011-04-20 惠州Tcl移动通信有限公司 Earphone interface shared by serial port download line and earphone, and mobile terminal shared thereby
CN102082846A (en) * 2010-12-02 2011-06-01 惠州Tcl移动通信有限公司 Terminal equipment with plurality of externally arranged shared interfaces
CN202167034U (en) * 2011-07-19 2012-03-14 深圳市江波龙电子有限公司 Peripheral application device and mobile terminal system
CN102394979A (en) * 2011-11-07 2012-03-28 武汉天喻信息产业股份有限公司 Method for performing high-speed data transmission through communication earphone interface

Also Published As

Publication number Publication date
CN103491235B (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN101286770B (en) Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP
CN203289452U (en) Wireless audio system based on acoustic wave communication pairing
CN108399917B (en) Speech processing method, apparatus and computer readable storage medium
CN102497475A (en) Non-wireless communication using sound
CN103391118A (en) Bluetooth headset and audio sharing method by virtue of Bluetooth headsets
CN203504561U (en) Vehicle bluetooth multimedia system
CN103167371A (en) Bluetooth headset with record storage function and vehicle with same
CN102201826B (en) Audio signal switching and receiving device and audio signal transmission system
CN101232742B (en) Earphone device capable of switching signal transmission
CN102387429B (en) Audio signal switching device and audio signal transmission system
CN104364777A (en) Protocol translating adapter
US20040122542A1 (en) Bluetooth dongle and method for transmitting voice through bluetooth dongle
CN204559840U (en) A kind of earphone with Data Control plate
US20090082890A1 (en) Wireless audio adapter
CN103067455A (en) Voice talkback implementation method and device based on Internet
CN104092648A (en) File request method and device
CN103686295A (en) Method and system allowing set top box and mobile terminal to share Bluetooth function
WO2017185602A1 (en) Earphone mode switching method and electronic device
US20160285952A1 (en) Conveying data between devices in wireless personal area network
CN103491235A (en) Method and terminals for data transmission
CN103338416A (en) Music sharing system and method of wireless card earphone
CN105321538A (en) Audio data recording method and apparatus
CN112379450B (en) Signal-to-noise ratio acquisition method and device for time-frequency electromagnetic square wave signal
CN103986818A (en) Information processing method and electronic device
JP3117272U (en) Wireless transceiver for audio signals

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