CN102594989A - Data communication method, system and terminal - Google Patents

Data communication method, system and terminal Download PDF

Info

Publication number
CN102594989A
CN102594989A CN2012100296656A CN201210029665A CN102594989A CN 102594989 A CN102594989 A CN 102594989A CN 2012100296656 A CN2012100296656 A CN 2012100296656A CN 201210029665 A CN201210029665 A CN 201210029665A CN 102594989 A CN102594989 A CN 102594989A
Authority
CN
China
Prior art keywords
terminal
data
external equipment
analog signal
response data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012100296656A
Other languages
Chinese (zh)
Inventor
魏中华
孙江涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING QIANDAIWANG Corp
Qiandai Beijing Information Technology Co Ltd
Original Assignee
BEIJING QIANDAIWANG Corp
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 BEIJING QIANDAIWANG Corp filed Critical BEIJING QIANDAIWANG Corp
Priority to CN2012100296656A priority Critical patent/CN102594989A/en
Publication of CN102594989A publication Critical patent/CN102594989A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a data communication method, a system and a terminal, wherein the method comprises that the terminal generates instruction data in accordance with user instructions; the instruction data is sent to access equipment of the terminal through an audio interface, so that the access equipment of the terminal processes the instruction data to generate response data; the response data sent by the access equipment of the terminal are received through the audio interface; and the response data are processed. The method, the system and the terminal can resolve the problems that the audio interfaces of the existing terminals only can be communicated with access audio equipment, such as access loudspeaker boxes, microphones and the like in an audio data mode and the application of audio interfaces is restrained.

Description

Data communications method and system, terminal
Technical field
The present invention relates to communication technical field, relate in particular to a kind of data communications method and system, terminal.
Background technology
In the prior art, the COBBAIF at terminals such as computer can only with external audio frequency apparatus, carry out communicating by letter of voice data like external speaker equipment with microphone etc., the application of COBBAIF is restricted.
Summary of the invention
The present invention provides a kind of data communications method and system, terminal, can solve existing terminal COBBAIF can only with external audio frequency apparatus, carry out communicating by letter of voice data, the problem that the application of COBBAIF is restricted like external speaker equipment and microphone etc.
The embodiment of the invention provides a kind of data communications method on the one hand, comprising:
The terminal generates director data according to user instruction;
Said director data is sent to the terminal external equipment through COBBAIF, so that response data is handled and generated to said terminal external equipment to said director data;
Receive the response data that said terminal external equipment sends through COBBAIF;
Said response data is handled.
The embodiment of the invention provides a kind of terminal on the other hand, comprising:
Instruction module is used for generating director data according to user instruction;
Communication module; Be used for said director data is sent to the terminal external equipment through COBBAIF; So that response data is handled and generated to said terminal external equipment to said director data, receive the response data that said terminal external equipment sends through COBBAIF;
Processing module is used for said response data is handled.
The another aspect of the embodiment of the invention provides a kind of data communication system, comprising: terminal and terminal external equipment;
Said terminal is above-mentioned terminal;
Said terminal external equipment is used to receive the director data that send at said terminal, and response data is handled and generated to said director data, and said response data is sent to said terminal.
The embodiment of the invention adopts the terminal to send director data through COBBAIF and gives the terminal external equipment; The terminal external equipment is handled and is generated response data and returns to the terminal to director data; The terminal receives response data through COBBAIF and carries out the technological means of handled; Can solve existing terminal COBBAIF can only with external audio frequency apparatus, carry out communicating by letter of voice data, the problem that the application of COBBAIF is restricted like external speaker equipment and microphone etc.Owing to all have COBBAIF usually on the terminal, so have excellent universality.
Description of drawings
The schematic flow sheet of the data communications method that Fig. 1 provides for the embodiment of the invention one;
The structural representation at the terminal that Fig. 2 provides for the embodiment of the invention two;
The structural representation of the data communication system that Fig. 3 provides for the embodiment of the invention three.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing below, technical scheme of the present invention is carried out clear, intactly description.
The schematic flow sheet of the data communications method that Fig. 1 provides for the embodiment of the invention one.As shown in Figure 1, this data communications method may further comprise the steps:
Step 101, the terminal generates director data according to user instruction.
In practical application, the terminal provides operation interface to the user, listed in this operation interface that the user can select, to whole list of instructions that the terminal external equipment sends, the user can select arbitrary instruction wherein.The terminal is selected according to the user, generates the corresponding instruction data, and wherein, said director data is different from the voice data of prior art sound intermediate frequency interface transmission.
Step 102, said director data is sent to the terminal external equipment through COBBAIF, so that response data is handled and generated to said terminal external equipment to said director data.
Particularly, terminal (like computer) COBBAIF through self directly is connected with the communication interface of terminal external equipment with data wire.Usually; COBBAIF only is applicable to transmission of analogue signal, and accordingly, step 102 is specially: the terminal is modulated to first analog signal with said director data; Said first analog signal comprises director data, and said first analog signal is sent to the terminal external equipment through COBBAIF.
In practical application, the terminal can utilize the modulation module that carries to convert the director data of digital signal form into carried director data first analog signal, and first analog signal is sent to the terminal external equipment through COBBAIF.
Correspondingly, the communication interface of terminal external equipment receives first analog signal from COBBAIF, comprises director data in this first analog signal; The terminal external equipment carries out demodulation process to first analog signal that is received, and particularly, the terminal is become digital signal through first analog signal conversion that COBBAIF sends over, and obtains director data; The terminal external equipment is carried out the corresponding instruction operation according to director data, particularly, according to and the terminal between the pairing command content of this director data of making an appointment, carry out corresponding operating, and generate response data.Wherein, response data can be the execution result of instruction data.For instance; The terminal external equipment comprises the memory module of the accounts information that stores fiscard; And the instruction " 00B082000A " of making an appointment between terminal external equipment and the terminal one and being used for reading of data; Wherein B0 represents reading command, the command file that 82 expressions are read, the length that 0A indicates to read.Then when the terminal external equipment received this instruction of sending at the terminal, the data that read 10 bytes were as response data.
The terminal external equipment carries out modulation treatment with the response data that generates, and particularly, modulation is meant that the response data with digital signal form converts second analog signal of having carried response data into, and with this second analog signal through being sent to the COBBAIF at terminal.
Step 103, receive the response data that said terminal external equipment sends through COBBAIF.
Particularly, second analog signal that send through COBBAIF receiving terminal external equipment at the terminal, said second analog signal comprises said response data, and said second analog signal is carried out demodulation process, and obtains said response data.Second analog signal that end-on is received is carried out demodulation, is meant second analog signal conversion is become digital signal, obtains the response data that second analog signal is carried.
Step 104, said response data is handled.
Handled is carried out according to the response data that demodulates in the terminal, and for example, determining whether needs next the bar director data that sends or notify user's operating result etc.
It is pointed out that if the response data that obtains in the step 103 is encrypted, then also need before the step 104 earlier said response data to be deciphered.
Further, COBBAIF generally includes two kinds of data input and output (I/O) mouth, and a kind of is the audio frequency horn mouth that is used for externally sending data, and a kind of is the audio microphone mouth that is used for receiving from the outside data.Correspondingly, step 102 is specially:
Said director data is sent to the terminal external equipment through the audio frequency horn mouth.
Step 103 is specially:
Receive the response data that said terminal external equipment sends through the audio microphone mouth.
Further, present embodiment also comprises:
Said terminal supplies power for said terminal external equipment through COBBAIF.
Usually, the audio frequency horn mouth comprises left and right two sound channels, and present embodiment can be used for one of them sound channel between terminal and terminal external equipment, to transmit data, and another sound channel can be used for to the terminal external equipment electric energy being provided by the terminal.
The embodiment of the invention adopts the terminal to send director data through COBBAIF and gives the terminal external equipment; The terminal external equipment is handled and is generated response data and returns to the terminal to director data; The terminal receives response data through COBBAIF and carries out the technological means of handled; Can solve existing terminal COBBAIF can only with external audio frequency apparatus, carry out communicating by letter of voice data, the problem that the application of COBBAIF is restricted like external speaker equipment and microphone etc.Owing to all have COBBAIF usually on the terminal, so have excellent universality.Further, can also realize the coded communication between terminal and the terminal external equipment, improve the fail safe of communication.Especially when utilizing the data of communicating by letter between terminal external equipment and the terminal for need fail safe higher data; For example the terminal external equipment is the accounts information memory device that stores the accounts information of fiscard; When financial transaction was carried out through the accounts information that from account information storing device, reads fiscard in the terminal, it is particularly important that this coded communication just becomes.
The structural representation at the terminal that Fig. 2 provides for the embodiment of the invention two.As shown in Figure 2, this terminal comprises:
Instruction module 21 is used for generating director data according to user instruction;
Communication module 22; Be used for said director data is sent to the terminal external equipment through COBBAIF; So that response data is handled and generated to said terminal external equipment to said director data, receive the response data that said terminal external equipment sends through COBBAIF;
Processing module 23 is used for said response data is handled.
Wherein, COBBAIF comprises audio frequency horn mouth and audio microphone mouth, and communication module 22 specifically comprises:
Modulating unit 221 is used for said director data is modulated to first analog signal, and said first analog signal comprises director data;
First communication unit 222 is used for said first analog signal is sent to the terminal external equipment through the audio frequency horn mouth;
Second communication unit 223 is used for receiving second analog signal that said terminal external equipment sends through the audio microphone mouth, and said second analog signal comprises said response data;
Demodulating unit 224 is used for said second analog signal is carried out demodulation process, and obtains said response data.
For instance, if the response data that demodulating unit 224 demodulates is that processing module 23 specifically can be deciphered said response data before said response data is handled through the data after the encryption.
Above-mentioned terminal also comprises:
Supply module is used to utilize the bell-mouthed sound channel of said audio frequency, and external equipment provides electric energy to said terminal;
Further, first communication unit 222 specifically is used for said first analog signal is sent to the terminal external equipment through bell-mouthed another sound channel of said audio frequency.
The method of method embodiment shown in Figure 1 can be specifically carried out at the said terminal of present embodiment, and it realizes that principle and technique effect repeat no more.
The structural representation of the data communication system that Fig. 3 provides for the embodiment of the invention three comprises: terminal 31 and terminal external equipment 32;
Terminal 31 is the foregoing description two described terminals;
Terminal external equipment 32 is used to receive the director data that send at said terminal, and response data is handled and generated to said director data, and said response data is sent to said terminal.
The said system of present embodiment can realize the method for method embodiment shown in Figure 1, and it realizes that principle and technique effect repeat no more.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (10)

1. a data communications method is characterized in that, comprising:
The terminal generates director data according to user instruction;
Said director data is sent to the terminal external equipment through COBBAIF, so that response data is handled and generated to said terminal external equipment to said director data;
Receive the response data that said terminal external equipment sends through COBBAIF;
Said response data is handled.
2. data communications method according to claim 1 is characterized in that, said COBBAIF comprises audio frequency horn mouth and audio microphone mouth, saidly said director data is sent to the terminal external equipment through COBBAIF specifically comprises:
Said terminal is modulated to first analog signal with said director data, and said first analog signal comprises director data;
Said first analog signal is sent to the terminal external equipment through the audio frequency horn mouth;
Saidly receive the response data that said terminal external equipment returns through COBBAIF and specifically comprise:
Said terminal receives second analog signal that said terminal external equipment sends through the audio microphone mouth, and said second analog signal comprises said response data;
Said second analog signal is carried out demodulation, and obtain said response data.
3. according to the data communications method described in the claim 2, it is characterized in that, said said response data is handled before, also comprise:
Said response data is deciphered.
4. data communications method according to claim 2 is characterized in that, also comprises:
Said terminal supplies power to said terminal external equipment through COBBAIF.
5. data communications method according to claim 4 is characterized in that, said terminal supplies power to said terminal external equipment through COBBAIF and specifically comprises:
Through the bell-mouthed sound channel of said audio frequency, external equipment provides electric energy to said terminal;
Saidly said first analog signal sent to the terminal external equipment through the audio frequency horn mouth specifically comprise:
Said first analog signal is sent to the terminal external equipment through bell-mouthed another sound channel of said audio frequency.
6. a terminal is characterized in that, comprising:
Instruction module is used for generating director data according to user instruction;
Communication module; Be used for said director data is sent to the terminal external equipment through COBBAIF; So that response data is handled and generated to said terminal external equipment to said director data, receive the response data that said terminal external equipment sends through COBBAIF;
Processing module is used for said response data is handled.
7. terminal according to claim 6 is characterized in that, said COBBAIF comprises audio frequency horn mouth and audio microphone mouth, and said communication module specifically comprises:
Modulating unit is used for said director data is modulated to first analog signal, and said first analog signal comprises director data;
First communication unit is used for said first analog signal is sent to the terminal external equipment through the audio frequency horn mouth;
The second communication unit is used for receiving second analog signal that said terminal external equipment sends through the audio microphone mouth, and said second analog signal comprises said response data;
Demodulating unit is used for said second analog signal is carried out demodulation process, and obtains said response data.
8. terminal according to claim 7 is characterized in that, said processing module also is used for before said response data is handled, said response data being deciphered.
9. terminal according to claim 7 is characterized in that, said terminal also comprises:
Supply module is used for the bell-mouthed sound channel of said audio frequency, and external equipment provides electric energy to said terminal;
Said first communication unit specifically is used for said first analog signal is sent to the terminal external equipment through bell-mouthed another sound channel of said audio frequency.
10. a data communication system is characterized in that, comprising: terminal and terminal external equipment;
Said terminal is like each described terminal among the claim 6-9;
Said terminal external equipment is used to receive the director data that send at said terminal, and response data is handled and generated to said director data, and said response data is sent to said terminal.
CN2012100296656A 2012-02-10 2012-02-10 Data communication method, system and terminal Pending CN102594989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100296656A CN102594989A (en) 2012-02-10 2012-02-10 Data communication method, system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100296656A CN102594989A (en) 2012-02-10 2012-02-10 Data communication method, system and terminal

Publications (1)

Publication Number Publication Date
CN102594989A true CN102594989A (en) 2012-07-18

Family

ID=46483175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100296656A Pending CN102594989A (en) 2012-02-10 2012-02-10 Data communication method, system and terminal

Country Status (1)

Country Link
CN (1) CN102594989A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037045A (en) * 2012-12-14 2013-04-10 钱袋网(北京)信息技术有限公司 USBKEY voice frequency adaptor
CN104735809A (en) * 2013-12-20 2015-06-24 中国银联股份有限公司 Method for communication between terminal and external equipment and terminal
CN110267159A (en) * 2019-05-08 2019-09-20 努比亚技术有限公司 Audio frequency playing method, wearable device, cradle and readable storage medium storing program for executing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070106824A1 (en) * 2005-11-07 2007-05-10 Koichi Hikita Target device in serial communication and external device connected to target device
CN102325213A (en) * 2011-05-27 2012-01-18 钱袋网(北京)信息技术有限公司 Data communication method and external terminal device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070106824A1 (en) * 2005-11-07 2007-05-10 Koichi Hikita Target device in serial communication and external device connected to target device
CN102325213A (en) * 2011-05-27 2012-01-18 钱袋网(北京)信息技术有限公司 Data communication method and external terminal device and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037045A (en) * 2012-12-14 2013-04-10 钱袋网(北京)信息技术有限公司 USBKEY voice frequency adaptor
CN104735809A (en) * 2013-12-20 2015-06-24 中国银联股份有限公司 Method for communication between terminal and external equipment and terminal
CN110267159A (en) * 2019-05-08 2019-09-20 努比亚技术有限公司 Audio frequency playing method, wearable device, cradle and readable storage medium storing program for executing

Similar Documents

Publication Publication Date Title
CN102752058B (en) Audio data transmission system, audio data transmission device and electronic sign tool
CN103702442A (en) WIFI (Wireless Fidelity) cipher sharing method and WIFI cipher sharing system
EP2838235A1 (en) Method, system, device, and electronic signature tool for audio communication modulation scheme self-adaptation
CN102325213A (en) Data communication method and external terminal device and mobile terminal
CN102739587B (en) Audio data transmission method
CN102594989A (en) Data communication method, system and terminal
CN102739323B (en) Audio data transmission method
CN205622822U (en) Two bluetooth speaker
CN104348558A (en) An acoustic wave communication apparatus, a terminal device and an acoustic wave communication system
CN114845280A (en) Data transmission method and device, electronic equipment and storage medium
EP2838236B1 (en) Method, system, device, and electronic signature tool for audio communication modulation scheme self-adaptation
CN103902496B (en) USB KEY protocol conversion devices and method
CN103973442A (en) Verification code transmitting and acquiring methods, mobile phone and electronic equipment
CN112713627B (en) Voltage control method, voltage control device, storage medium, and electronic apparatus
CN110035308A (en) Data processing method, equipment and storage medium
CN202940815U (en) Audio data transmission system, audio data transmission device and electronic sign tool
EP2677727A1 (en) Peripheral device for converting and transmitting digital data via an audio connector
CN105243036A (en) Signal conversion apparatus and method
CN102256193B (en) Audio signal receiving device and audio signal transmission system
CN104023114A (en) Method for information processing and electronic equipment
CN112260754A (en) Passive autonomous visible light communication reverse signal link and communication method thereof
CN102752019A (en) Data sending, receiving and transmitting method and system based on headset jack
CN105206282B (en) noise collection method and device
CN204481825U (en) Near-field Data transmitting device and system
CN103561105A (en) Image transmitting method, sending end and receiving end

Legal Events

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

Application publication date: 20120718