CN106209313A - Data transmission method and system - Google Patents

Data transmission method and system Download PDF

Info

Publication number
CN106209313A
CN106209313A CN201610529275.3A CN201610529275A CN106209313A CN 106209313 A CN106209313 A CN 106209313A CN 201610529275 A CN201610529275 A CN 201610529275A CN 106209313 A CN106209313 A CN 106209313A
Authority
CN
China
Prior art keywords
data
audio signal
audio
audio interface
transmitting terminal
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
CN201610529275.3A
Other languages
Chinese (zh)
Other versions
CN106209313B (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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201610529275.3A priority Critical patent/CN106209313B/en
Publication of CN106209313A publication Critical patent/CN106209313A/en
Application granted granted Critical
Publication of CN106209313B publication Critical patent/CN106209313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of data transmission method and system.This data transmission method is implemented by transmitting terminal and receiving terminal, including: the code data being used for verifying data transmission security is encoded to password audio signal according to the coding rule preset by transmitting terminal, is sent to receiving terminal by audio interface;Receiving terminal receives password audio signal by audio interface, according to described coding rule by the code data that password audio signal decoding is correspondence, by audio interface, the first confirmation audio signal is back to transmitting terminal.According to the present invention it is possible to promote the safety by audio interface transmission data.

Description

Data transmission method and system
Technical field
The present invention relates to data transmission technology, more particularly, to a kind of data transmission method and system.
Background technology
Along with the development of network technology, carry out data transmission becoming emerging data transfer means by audio signal.? During being carried out data transmission by audio signal, transmitting terminal convert data to audio interface by audio interface send to Receiving terminal, and receiving terminal is by audio interface reception audio signal, is converted to the data signal of correspondence.
Employing audio signal carries out data transmission, and utilizes the existing audio interface of most of electronic equipment, is not changing electricity On the basis of the hardware configuration of subset, meet the data transfer demands that user is increasing.But, inventor finds, Use during electronic equipment such as mobile phone carries out voice call, the audio signal of user speech call and transmitting for data Audio signal may be transmitted with mobile phone by the audio interface of earphone simultaneously, and the data wherein transmitted are only that user passes through ear The audio interface of machine transmits the private data (password of such as certain application program, instruction etc.) to mobile phone, under this scene, just There may be the other side that the private data transmitted by audio interface can be conversed to capture and intercept the situation causing leakage.And mesh Before, not yet there is the security mechanism by audio interface transmission data.
Therefore, it has been recognised by the inventors that be necessary problems of the prior art are improved.
Summary of the invention
It is an object of the present invention to provide a kind of new solution for being carried out data transmission by audio interface.
According to the first aspect of the invention, it is provided that a kind of data transmission method, implemented by transmitting terminal and receiving terminal, bag Include following steps:
The code data being used for verifying data transmission security is encoded to password sound according to the coding rule preset by transmitting terminal Frequently signal, is sent to receiving terminal by audio interface;
Receiving terminal receives described password audio signal by audio interface, according to described coding rule by described password audio frequency Signal is decoded as the code data of correspondence, and by audio interface, the first confirmation audio signal is back to described transmitting terminal.
In one embodiment, described data transmission method, also include:
Described transmitting terminal receives the first confirmation audio signal by audio interface, by transmission of configuration information according to described coding Rule encoding is configuration audio signal, is sent to receiving terminal by audio interface, and described transmission of configuration information is including at least transmission The coded system of data signal;
Described receiving terminal receives described configuration audio signal by audio interface, according to described coding rule by described configuration Audio signal decoding is corresponding transmission of configuration information, and by audio interface, the second confirmation audio signal is back to described transmission End.
In yet another embodiment, described data transmission method, also include:
Described transmitting terminal receives the second confirmation audio signal by audio interface, will meet described coding by audio interface The data signal of mode sends to described receiving terminal;
Described receiving terminal receives described data signal by audio interface, according to described coded system decoding data signal, 3rd confirmation audio signal is back to described transmitting terminal by audio interface.
In a further embodiment, described data transmission method, also include:
If described transmitting terminal fails to receive the described 3rd by audio interface confirms audio signal, the password number after updating According to the described password audio signal encoded according to described coding rule, send to described receiving terminal;
Receiving terminal receives described password audio signal by audio interface, according to described coding rule by described password audio frequency Signal is decoded as the code data after the renewal of correspondence, and by audio interface, the first confirmation audio signal is back to described transmission End.
Alternatively, described code data includes transmission of configuration information, and described transmission of configuration information transmits including at least data Coded system.
In one embodiment, described coding rule is:
By data symbol each in the data to be encoded of N system, according to default coding pattern, obtain the audio frequency letter of correspondence Number, wherein,
Described N is positive integer, and described N system is the scale meeting N carry, for the numeral by numerical range 0 to N-1 Or the letter representation data of reference numbers;
In described coding pattern, each numeral in N system or the letter of reference numbers, respectively corresponding different preset Audio signal.
Alternatively, described coding rule also includes, different described transmitting terminals is arranged different coding patterns.
According to the second aspect of the invention, it is provided that a kind of data transmission system, including transmitting terminal and receiving terminal:
Described transmitting terminal, for being used for verifying the code data coding of data transmission security according to the coding rule preset For password audio signal, sent to receiving terminal by audio interface;
Described receiving terminal, for receiving described password audio signal by audio interface, according to described coding rule by institute Stating password audio signal decoding is corresponding code data, confirms that by first audio signal is back to described sending out by audio interface Sending end.
In one embodiment, in described data transmission system,
Described transmitting terminal, be additionally operable to by audio interface receive first confirmation audio signal, by transmission of configuration information according to Described coding rule is encoded to configure audio signal, is sent to receiving terminal by audio interface, and described transmission of configuration information is at least Comprise the coded system of transmission data signal;
Described receiving terminal, is additionally operable to receive described configuration audio signal by audio interface, will according to described coding rule Described configuration audio signal decoding is corresponding transmission of configuration information, the second confirmation audio signal is back to by audio interface Described transmitting terminal.
In yet another embodiment, in described data transmission system,
Described transmitting terminal, is additionally operable to receive the second confirmation audio signal by audio interface, will be met by audio interface The data signal of described coded system sends to described receiving terminal;
Described receiving terminal, is additionally operable to receive described data signal by audio interface, according to described coded system solution yardage The number of it is believed that, is back to described transmitting terminal by the 3rd confirmation audio signal by audio interface.
In a further embodiment, in described data transmission system,
Described transmitting terminal, if being additionally operable to fail to receive the described 3rd by audio interface to confirm audio signal, after updating The described password audio signal that encodes according to described coding rule of code data, send to described receiving terminal;
Described receiving terminal, receives described password audio signal by audio interface, according to described coding rule by described close Code audio signal decoding is the code data after corresponding renewal, and by audio interface, the first confirmation audio signal is back to institute State transmitting terminal.
Alternatively, described code data includes transmission of configuration information, and described transmission of configuration information transmits including at least data Coded system.
In one embodiment, described coding rule is:
By data symbol each in the data to be encoded of N system, according to default coding pattern, obtain the audio frequency letter of correspondence Number, wherein,
Described N is positive integer, and described N system is the scale meeting N carry, for the numeral by numerical range 0 to N-1 Or the letter representation data of reference numbers;
In described coding pattern, each numeral in N system or the letter of reference numbers, respectively corresponding different preset Audio signal.
Alternatively, described coding rule also includes, different described transmitting terminals is arranged different coding patterns.
It was found by the inventors of the present invention that in the prior art, a kind of data transmission method and system, Ke Yiti are not yet provided Rise the safety by audio interface transmission data.Therefore, the present invention is to be realized technical assignment or skill to be solved Art problem be that those skilled in the art never expect or it is not expected that, therefore the present invention is a kind of new technical scheme.
By detailed description to the exemplary embodiment of the present invention referring to the drawings, the further feature of the present invention and Advantage will be made apparent from.
Accompanying drawing explanation
Combined in the description and the accompanying drawing of the part that constitutes description shows embodiments of the invention, and even With its explanation together for explaining the principle of the present invention.
Fig. 1 shows a flow chart of the data transmission method of the embodiment of the present invention.
Fig. 2 shows the schematic diagram of the quaternary coding pattern of the embodiment of the present invention.
Fig. 3 shows the schematic diagram of the hexadecimal code pattern of the embodiment of the present invention.
Fig. 4 shows another schematic diagram of the quaternary coding pattern of the embodiment of the present invention.
Fig. 5 shows another flow chart of the data transmission method of the embodiment of the present invention.
Fig. 6 shows another flow chart of the data transmission method of the embodiment of the present invention.
Fig. 7 shows another flow chart of the data transmission method of the embodiment of the present invention.
Fig. 8 shows the schematic block diagram of the data transmission system of the embodiment of the present invention.
Detailed description of the invention
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should also be noted that unless additionally have Body illustrates, the parts illustrated the most in these embodiments and positioned opposite, the numerical expression of step and numerical value are not intended to this The scope of invention.
Description only actually at least one exemplary embodiment is illustrative below, never as to the present invention And any restriction applied or use.
May be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable In the case of when, described technology, method and apparatus should be considered a part for description.
It is shown here that any occurrence should be construed as merely exemplary with in all examples discussed, and not It is as restriction.Therefore, other example of exemplary embodiment can have different values.
It should also be noted that similar label and letter represent similar terms, therefore, the most a certain Xiang Yi in following accompanying drawing Individual accompanying drawing is defined, then need not it is further discussed in accompanying drawing subsequently.
<embodiment>
The general plotting of the embodiment of the present invention, is to provide a kind of by encrypted transmission side during audio interface transmission data Method.The safety by audio interface transmission data can be promoted.The present embodiment utilizes audio interface be encrypted data to pass Defeated method, is applicable not only to the intelligent movable equipment of existing audio interface, applies also for the electronics of other existing audio interface Equipment, such as desk computer, digital home cinema etc., even include earphone.Further, it is also possible to be implemented on audio interface Door control system, punch card system, POS, safety-protection system etc..
A kind of data transmission method that the embodiment of the present invention provides, is implemented by transmitting terminal and receiving terminal.At the present embodiment In, transmitting terminal, receiving terminal are the electronic equipment of existing audio interface, such as Intelligent mobile equipment, mobile phone, panel computer, the palm Computer etc., or the multimedia electronic equipment such as home theater, audio amplifier, earphone, be existing audio interface access control equipment, POS, equipment of checking card, security device etc..As long as have the electronic equipment of audio interface, all can implement as the present invention The transmitting terminal of example or receiving terminal.In one example, transmitting terminal can be earphone, and receiving terminal can be the hands being connected with earphone Machine or computer.Similarly, transmitting terminal can also be mobile phone or computer, and receiving terminal can be the earphone being connected with mobile phone or computer.
A kind of data transmission method that the embodiment of the present invention provides, as it is shown in figure 1, comprise the steps:
Step S1100, the code data being used for verifying data transmission security is compiled by transmitting terminal according to the coding rule preset Code is password audio signal, is sent to receiving terminal by audio interface.
The described code data for verifying data transmission security, can be a string character string, it is also possible to be one piece of data Stream, can with in various password generation method produce, it is also possible to arrange voluntarily according to application scenarios.Password in the present embodiment The content of data can also update when verification data transmission security every time according to the cycle preset.Verification all updates such as every time The content of code data, or every updating the content of code data several times, or length more new password number at regular intervals According to content.
Described default coding rule can be set in advance in transmitting terminal and receiving terminal, it is also possible to by transmitting terminal and reception Front consensus acquisition is carried out data transmission, as long as before making to carry out data transmission between transmitting terminal and receiving terminal all after end start Obtain consistent coding rule.Verification data transmission security code data is encoded to password sound according to the coding rule preset Frequently signal, so for not obtaining the receiving terminal of the coding rule preset identical with transmitting terminal, when receiving password audio signal Correct code data cannot be decoded as.Ensure that password transmission security.Also ensure that the safety of subsequent data transmission.
In one example, the coding rule preset is: by data symbol each in the data to be encoded of N system, according to The coding pattern preset, obtains the audio signal of correspondence, and wherein, described N is positive integer, and described N system is the carry meeting N carry System, for arriving numeral or the letter representation data of reference numbers of N-1 by numerical range 0;In described coding pattern, N system In each numeral or the letter of reference numbers, the respectively corresponding different audio signal preset.
System is the bit method of a kind of specification in prior art.N system is to meet N to enter one enter on a certain computing position Method for position, can be by the numeral of scope of data 0 to N-1 or the letter representation data of reference numbers.Common N system has two to enter System, the quaternary, octal system, hexadecimal etc..Such as, quaternary 0-3 represents data, whenever 4 enter one.The most such as, ten Senary 0-9, and letter A-F represent data, whenever 16 enter one.
In the present embodiment, for the data to be encoded of N system, the audio frequency letter of reply is obtained according to default coding pattern Number.The positive integer N value of N system is different, and the corresponding coding pattern preset is the most different.And in each coding pattern, N enters Each numeral in system or the letter of reference numbers, the most corresponding different audio signal preset.Such as, data to be encoded For the quaternary, corresponding coding pattern is as shown in Figure 2.In Fig. 2, when data are 0,1,2,3, the most corresponding different sound preset Frequently signal.The most such as, data to be encoded are hexadecimal, and corresponding coding pattern is as shown in Figure 3.In Fig. 3, data be 0-9, During A-F (corresponding 10-15), answer the different audio signals preset respectively.
In the present embodiment, the data to each N system, multiple different coding pattern can be preset.If it is each In coding pattern, N system is for the corresponding different audio signal preset of each numeral or letter identifying data, and, no Same data or the corresponding different audio signal preset of letter in same coding pattern.Such as, data to be encoded are four During system, default coding pattern, a kind of as in figure 2 it is shown, another kind as shown in Figure 4.In the diagram, 0-3 is the most corresponding different The audio signal preset.Further, the default sound that the most corresponding for 0-3 in Fig. 4 preset audio signal is the most corresponding with 0-3 in Fig. 2 Frequently signal is the most different.For quarternary data to be encoded, there is also other possible coding patterns preset.Differ at this One enumerates.Data to each N system, preset multiple different coding patterns.So that transmitting terminal is passing with receiving terminal During transmission of data, alternate coding pattern according to preset rule or negotiation alternates coding pattern, improve data transmission further Safety.Such as transmitting terminal is consulted to alternate coding with receiving terminal when every time transmission data pattern, or according to the preset cycle Alternate coding pattern, and transmission data are all changed the most every time, or changes after every n times transmission data, or every certain Time span is changed.Additionally, there is also the mode of the multiple pattern that alternates coding, numerous to list herein.
In some application scenarios, it is understood that there may be multiple transmitting terminals carry out data transmission with corresponding receiving terminal, if these Transmitting terminal all uses identical coding pattern to encode data, then it is possible to existing is not the reception being transmitted with it End, is correctly decoded after receiving data, causes leaking data.Therefore, in one example, described coding rule also includes, to not Same described transmitting terminal arranges different coding patterns.Different transmitting terminals, can be the different product type of identical product type Number transmitting terminal, it is also possible to be the transmitting terminal of different product type, it is also possible to be identical product type identical product model but individual The transmitting terminal that body is different.The scope all related to for different transmitting terminals can be distinguished in this example.To different transmitting terminals, arrange not Same coding pattern, can avoid different transmitting terminals to use identical coding pattern to bring the probability of leakage of data, improve The safety of data transmission.
After step S1100, entering step S1200, receiving terminal receives described password audio signal by audio interface, According to described coding rule by the code data that described password audio signal decoding is correspondence, the first confirmation audio signal is passed through Audio interface is back to described transmitting terminal.
Receiving terminal, before starting data transmission with transmitting terminal, has obtained the coding rule identical with transmitting terminal, according to volume Code rule correctly by the code data that described password audio signal decoding is correspondence, completes the receiving terminal verification by code data Data transmission security.First confirmation audio signal is back to described transmitting terminal by audio interface.Make the transmitting terminal also can be true Recognize verification data transmission security.Described first confirms audio signal, can be by confirming that data are according to the coding identical with transmitting terminal Rule encoding obtains, it is also possible to be to be preset at transmitting terminal sound intermediate frequency signal.As long as can be verified by the correct recognition and verification of transmitting terminal Data transmission security, all can be applicable in the present embodiment.
By step S1100, S1200, between transmitting terminal and receiving terminal, complete data transmission security by audio interface Verification.Guarantee to set up between transmitting terminal and receiving terminal the transmission of safety.Between transmitting terminal and the receiving terminal that can proceed by The process carried out data transmission by audio interface.
The process detailed description of the invention carried out data transmission by audio interface there may be various ways.At this most one by one Enumerate.Completed between transmitting terminal and receiving terminal such as step S1100-S1200 or similar method by what the present embodiment provided After the verification of data transmission security, the method being transmitted data by audio interface, the scope all disclosed at the present embodiment In.
In one example, in the present embodiment provide data transmission method, after step S1200, transmitting terminal with connect It is transmitted configuration information between receiving end to consult.As it is shown in figure 5, concrete implementation includes:
Step S2100, described transmitting terminal receives the first confirmation audio signal by audio interface, by transmission of configuration information root Being encoded to configure audio signal according to described coding rule, sent to receiving terminal by audio interface, described transmission of configuration information is extremely Comprise the coded system of transmission data signal less;
The coded system of described transmission data signal, can be transmission data signal data form, e.g. binary system, Octal system or hexadecimal etc..Can also be the use coding rule of transmission data signal, corresponding coding pattern etc..Will The coded system of transmission data signal is sent to receiving terminal by audio interface.Make receiving terminal permissible after receiving data signal It is correctly decoded according to corresponding coded system.Remaining fails the receiving terminal obtaining the coded system of data signal in reception data Cannot be correctly decoded during signal.Such as, in mobile phone communication, the mobile phone (receiving terminal) that earphone connects to it as transmitting terminal, passes through Audio interface sends normal speech signal and the data signal comprising privacy such as bank cipher, and the opposing party of call cuts immediately Take data signal also cannot crack.Improve the safety of data signal transmission process.
Described transmission of configuration information can also include the content size (length of such as character string of the data signal of transmission Deng), the transmission intercal of data signal etc..In one example, step can be passed through according to the preset cycle by transmitting terminal The transmission of configuration information updated is held consultation by S2100 with receiving terminal, such as, consults every time, or often complete before transmission data Data transfer negotiation several times, or separated in time length holds consultation.The volume between transmitting terminal and receiving terminal can be realized The real-time change of code mode or mechanical periodicity.Improve the safety of data transmission procedure.
After step S2100, entering step S2200, described receiving terminal receives described configuration audio frequency by audio interface Signal, according to described coding rule by the transmission of configuration information that described configuration audio signal decoding is correspondence, confirms sound by second Frequently signal is back to described transmitting terminal by audio interface.
Receiving terminal, before starting transmission of configuration information negotiation with transmitting terminal, has obtained the coding rule identical with transmitting terminal Then, according to coding rule, described configuration audio signal is correctly decoded the transmission of configuration information into correspondence, completes receiving terminal to biography The confirmation of defeated configuration information.Second confirmation audio signal is back to described transmitting terminal by audio interface.Make transmitting terminal also Can confirm that transmission of configuration information completes to consult.Described second confirm audio signal, can by confirm data according to transmitting terminal phase Same coding rule coding obtains, it is also possible to be the audio signal being preset in transmitting terminal.As long as correctly can be known by transmitting terminal Que Ren not complete the negotiation of transmission of configuration information, all can be applicable in the present embodiment.
Under some application scenarios, be there is higher restriction in the transmission delay of data transmission.Transmitting terminal and receiving terminal it Between before data are transmitted, carry out data transmission safe verification, transmission of configuration information is consulted, can increase transmission data transmission Transmission delay.In one example, described code data includes transmission of configuration information, and described transmission of configuration information is including at least number Coded system according to transmission.So, while completed the verification of data transmission security by step S1100, S1200, the completeest Become the negotiation of transmission of configuration information.Transmission delay can be reduced.
In another example, by step S2100-S2200, transmitting terminal completes transmission with receiving terminal by audio interface After configuration information is consulted, the transmission of data signal can be started.Concrete enforcement step as shown in Figure 6, including:
Step S3100, described transmitting terminal receives the second confirmation audio signal by audio interface, will symbol by audio interface The data signal closing described coded system sends to described receiving terminal;
Step S3200, described receiving terminal receives described data signal by audio interface, the 3rd confirmation audio signal is led to Cross audio interface and be back to described transmitting terminal.
Receiving terminal, before starting data transmission with transmitting terminal, has obtained the coding staff of the data signal sent with transmitting terminal Formula, is correctly decoded data signal according to coding rule, completes the DRP data reception process of receiving terminal.Audio signal is confirmed by the 3rd It is back to described transmitting terminal by audio interface.Transmitting terminal also be can confirm that, and data signal transmission completes.Described 3rd confirms Audio signal, can be by confirming that data obtain according to the coding rule coding identical with transmitting terminal, it is also possible to be to be preset at transmission End sound intermediate frequency signal.As long as data transmission can be completed by transmitting terminal correct recognition and verification, all can be applicable in the present embodiment.
In some application scenarios, owing to uncontrollable factor causes the situation of data transmission fails, such as audio interface Unstable properties causes the data failure etc. transmitted by audio interface.In this case, in the present embodiment transmitting terminal by nothing Method receives the 3rd confirmation audio signal of the confirmation data transmission success returned from receiving terminal by audio interface.At an example In, can again initiate the checking procedure of data transmission security between transmitting terminal and receiving terminal.Further, it is also possible to update simultaneously It is transmitted for verifying the code data of data transmission security, improves the safety of data transmission further.Concrete enforcement Step as it is shown in fig. 7, comprises:
Step S4100, if described transmitting terminal fails to receive the described 3rd by audio interface confirms audio signal, will update After the described password audio signal that encodes according to described coding rule of code data, send to described receiving terminal;
Step S4200, receiving terminal receives described password audio signal by audio interface, according to described coding rule by institute State the code data after the renewal that password audio signal decoding is correspondence, the first confirmation audio signal is returned by audio interface To described transmitting terminal.
In one example, after step S4200, it is also possible to continue through step S2100, S2200 completes transmission and joins The negotiation of confidence breath.Further, in another example, it is also possible to carried out data transmission by step S3100, S3200.
Embodiments of the invention also provide for a kind of data transmission system 8000, as shown in Figure 8, including transmitting terminal 8100 and Receiving terminal 8200.For implementing any a burst of data transmission method that the embodiment of the present invention provides, do not repeat them here.
In the present embodiment, transmitting terminal 8100, receiving terminal 8200 are the electronic equipment of existing audio interface, such as intelligence The multimedia electronic equipments such as mobile device, mobile phone, panel computer, palm PC etc., or home theater, audio amplifier, earphone, be The existing access control equipment of audio interface, POS, equipment of checking card, security device etc..As long as the electronics with audio interface sets Standby, all can be as the transmitting terminal of the embodiment of the present invention or receiving terminal.In one example, transmitting terminal can be earphone, connects Receiving end can be the mobile phone or computer being connected with earphone.Similarly, transmitting terminal can also be mobile phone or computer, and receiving terminal can be The earphone being connected with mobile phone or computer.
Data transmission system 8000, including transmitting terminal 8100 and receiving terminal 8200:
Described transmitting terminal 8100, for being used for verifying the code data of data transmission security according to the coding rule preset It is encoded to password audio signal, is sent to receiving terminal by audio interface;
Described receiving terminal 8200, for receiving described password audio signal by audio interface, according to described coding rule It is corresponding code data by described password audio signal decoding, the first confirmation audio signal is back to institute by audio interface State transmitting terminal.
In one example, described code data includes transmission of configuration information, and described transmission of configuration information is including at least number Coded system according to transmission.
In one example, in described data transmission system 8000:
Described transmitting terminal 8100, is additionally operable to receive the first confirmation audio signal, by transmission of configuration information by audio interface It is encoded to configure audio signal according to described coding rule, is sent to receiving terminal by audio interface, described transmission of configuration information Coded system including at least transmission data signal;
Described receiving terminal 8200, is additionally operable to receive described configuration audio signal by audio interface, according to described coding rule Then by the transmission of configuration information that described configuration audio signal decoding is correspondence, the second confirmation audio signal is returned by audio interface It is back to described transmitting terminal.
Alternatively, described transmission of configuration information can also include content size (the such as character string of the data signal transmitted Length etc.), the transmission intercal of data signal etc..
In another example, in described data transmission system 8000:
Described transmitting terminal 8100, is additionally operable to receive the second confirmation audio signal by audio interface, will by audio interface The data signal meeting described coded system sends to described receiving terminal;
Described receiving terminal 8200, is additionally operable to receive described data signal by audio interface, according to described coded system solution Code data signal, is back to described transmitting terminal by the 3rd confirmation audio signal by audio interface.
In further example, in described data transmission system 8000:
Described transmitting terminal 8100, if being additionally operable to fail to receive the described 3rd by audio interface to confirm audio signal, will more The described password audio signal that code data after Xin encodes according to described coding rule, sends to described receiving terminal;
Described receiving terminal 8200, receives described password audio signal by audio interface, according to described coding rule by institute State the code data after the renewal that password audio signal decoding is correspondence, the first confirmation audio signal is returned by audio interface To described transmitting terminal.
In one example, described coding rule is:
By data symbol each in the data to be encoded of N system, according to default coding pattern, obtain the audio frequency letter of correspondence Number, wherein,
Described N is positive integer, and described N system is the scale meeting N carry, for the numeral by numerical range 0 to N-1 Or the letter representation data of reference numbers;
In described coding pattern, each numeral in N system or the letter of reference numbers, respectively corresponding different preset Audio signal.
Further, in another example, described coding rule also includes, different described transmitting terminals is arranged difference Coding pattern.
Embodiments of the invention are described above, according to the present embodiment, it is provided that a kind of transmission side data already in connection with accompanying drawing Method and system.The coding rule preset by basis is passed after encoding the code data being used for verifying data transmission security Defeated, reduce the probability that password is cracked.Promote the safety by audio interface transmission data.Additionally, by the coding preset Rule carries out coded transmission to the transmission of configuration information of data transmission, further by the safety of audio interface transmission data Property.
It will be appreciated by those skilled in the art that, data transmission system in the present invention can be realized by various modes Transmitting terminal and receiving terminal.For example, it is possible to realized the transmission of the data transmission system in the present invention by instruction configuration processor End and receiving terminal.For example, it is possible to instruction is stored in ROM, and when starting the device, instruction is read can compile from ROM Journey device realizes transmitting terminal and the receiving terminal of data transmission system in the present invention.For example, it is possible to by the number in the present invention Transmitting terminal and receiving terminal according to transmission system are cured in dedicated devices (such as ASIC).Data in the present invention can be transmitted The transmitting terminal of system and receiving terminal are divided into separate unit, or they can be combined realization.In the present invention The transmitting terminal of data transmission system and receiving terminal can be realized by the one in above-mentioned various implementations, or permissible Realized by the combination of two or more modes in above-mentioned various implementations.
It is well known by those skilled in the art that along with the development of the such as electronic information technology of large scale integrated circuit technology With the trend of hardware and software, to clearly divide computer system soft and hardware boundary and seem relatively difficult.Because appointing What operation can realize with software, it is also possible to is realized by hardware.The execution of any instruction can be completed by hardware, the most also may be used To be completed by software.Hardware implementations or software implement scheme are used for a certain machine function, depends on price, speed The Non-technical factors such as degree, reliability, memory capacity, change cycle.Therefore, for the ordinary skill of electronic information technical field For personnel, mode the most direct and that a technical scheme is explicitly described is to describe each operation in the program.Knowing In the case of road institute operation to be performed, those skilled in the art directly can set based on to the consideration of described Non-technical factor Count out desired product.
The present invention can be system, method and/or computer program.Computer program can include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer-readable recording medium can be to keep and to store instruction tangible used by instruction execution equipment Equipment.Computer-readable recording medium such as may be-but not limited to-storage device electric, magnetic storage apparatus, optical storage Equipment, electromagnetism storage device, semiconductor memory apparatus or the combination of above-mentioned any appropriate.Computer-readable recording medium More specifically example (non exhaustive list) including: portable computer diskette, hard disk, random access memory (RAM), read-only deposits Reservoir (ROM), erasable type programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable Compact disk read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, such as on it Storage has the punch card of instruction or groove internal projection structure and the combination of above-mentioned any appropriate.Calculating used herein above Machine readable storage medium storing program for executing is not construed as instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations, logical Cross waveguide or the electromagnetic wave (such as, by the light pulse of fiber optic cables) of other transmission mediums propagation or pass through wire transfer The signal of telecommunication.
Computer-readable program instructions as described herein can from computer-readable recording medium download to each calculate/ Processing equipment, or download to outer computer or outer by network, such as the Internet, LAN, wide area network and/or wireless network Portion's storage device.Network can include copper transmission cable, fiber-optic transfer, be wirelessly transferred, router, fire wall, switch, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment receive meter from network Calculation machine readable program instructions, and forward this computer-readable program instructions, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
For perform the present invention operation computer program instructions can be assembly instruction, instruction set architecture (ISA) instruction, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages Source code that combination in any is write or object code, described programming language includes OO programming language such as Smalltalk, C++ etc., and the procedural programming languages of routine such as " C " language or similar programming language.Computer Readable program instructions can perform the most on the user computer, perform the most on the user computer, as one solely Vertical software kit performs, part part on the user computer performs or on the remote computer completely at remote computer Or perform on server.In the situation relating to remote computer, remote computer can be by the network packet of any kind Include LAN (LAN) or wide area network (WAN) is connected to subscriber computer, or, it may be connected to outer computer (such as profit Internet connection is passed through) with ISP.In certain embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as Programmable Logic Device, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), this electronic circuit can perform computer-readable program instructions, thus realize each side of the present invention Face.
Referring herein to method according to embodiments of the present invention, device (system) and computer program flow chart and/ Or block diagram describes various aspects of the invention.Should be appreciated that flow chart and/or each square frame of block diagram and flow chart and/ Or the combination of each square frame in block diagram, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special-purpose computer or other programmable data The processor of processing means, thus produce a kind of machine so that these instructions are by computer or other programmable data When the processor of processing means performs, create the merit of regulation in the one or more square frames in flowchart and/or block diagram The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to Order makes computer, programmable data processing means and/or other equipment work in a specific way, thus, storage has instruction Computer-readable medium then includes a manufacture, and it includes in the one or more square frames in flowchart and/or block diagram The instruction of the various aspects of the function/action of regulation.
Can also computer-readable program instructions be loaded into computer, other programmable data processing means or other On equipment so that perform sequence of operations step on computer, other programmable data processing means or miscellaneous equipment, to produce Raw computer implemented process, so that perform on computer, other programmable data processing means or miscellaneous equipment Function/the action of regulation in one or more square frames in instruction flowchart and/or block diagram.
Flow chart and block diagram in accompanying drawing show the system of multiple embodiments according to the present invention, method and computer journey Architectural framework in the cards, function and the operation of sequence product.In this, each square frame in flow chart or block diagram can generation One module of table, program segment or a part for instruction, a part for described module, program segment or instruction comprises one or more use Executable instruction in the logic function realizing regulation.At some as in the realization of coding, the function marked in square frame is also Can occur to be different from the order marked in accompanying drawing.Such as, two continuous print square frames can essentially be held substantially in parallel OK, they can also perform sometimes in the opposite order, and this is depending on involved function.It is also noted that block diagram and/or The combination of the square frame in each square frame in flow chart and block diagram and/or flow chart, can be with performing the function of regulation or dynamic The special hardware based system made realizes, or can realize with the combination of specialized hardware with computer instruction.Right It is well known that for those skilled in the art, realized by hardware mode, realized by software mode and by software and The mode of combination of hardware realizes being all of equal value.
Being described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and also It is not limited to disclosed each embodiment.In the case of the scope and spirit without departing from illustrated each embodiment, for this skill For the those of ordinary skill in art field, many modifications and changes will be apparent from.The selection of term used herein, purport Explaining the principle of each embodiment, actual application or to the technological improvement in market best, or making the art its Its those of ordinary skill is understood that each embodiment disclosed herein.The scope of the present invention be defined by the appended claims.

Claims (14)

1. a data transmission method, it is characterised in that implemented by transmitting terminal and receiving terminal, comprise the steps:
The code data being used for verifying data transmission security is encoded to password audio frequency letter according to the coding rule preset by transmitting terminal Number, sent to receiving terminal by audio interface;
Receiving terminal receives described password audio signal by audio interface, according to described coding rule by described password audio signal It is decoded as the code data of correspondence, the first confirmation audio signal is back to described transmitting terminal by audio interface.
Data transmission method the most according to claim 1, it is characterised in that also include:
Described transmitting terminal receives the first confirmation audio signal by audio interface, by transmission of configuration information according to described coding rule Being encoded to configure audio signal, sent to receiving terminal by audio interface, described transmission of configuration information is including at least transmission data The coded system of signal;
Described receiving terminal receives described configuration audio signal by audio interface, according to described coding rule by described configuration audio frequency Signal is decoded as the transmission of configuration information of correspondence, and by audio interface, the second confirmation audio signal is back to described transmitting terminal.
Data transmission method the most according to claim 2, it is characterised in that also include:
Described transmitting terminal receives the second confirmation audio signal by audio interface, will meet described coded system by audio interface Data signal send to described receiving terminal;
Described receiving terminal receives described data signal by audio interface, according to described coded system decoding data signal, by Three confirm that audio signal is back to described transmitting terminal by audio interface.
Data transmission method the most according to claim 3, it is characterised in that also include:
If described transmitting terminal fails to receive the described 3rd by audio interface confirms audio signal, the code data root after updating The described password audio signal encoded according to described coding rule, sends to described receiving terminal;
Receiving terminal receives described password audio signal by audio interface, according to described coding rule by described password audio signal It is decoded as the code data after the renewal of correspondence, the first confirmation audio signal is back to described transmitting terminal by audio interface.
Data transmission method the most according to claim 1, it is characterised in that
Described code data includes transmission of configuration information, and described transmission of configuration information is including at least the coded system of data transmission.
6. according to the data transmission method described in claim 1-5 any one, it is characterised in that described coding rule is:
By data symbol each in the data to be encoded of N system, according to default coding pattern, obtain the audio signal of correspondence, Wherein,
Described N is positive integer, and described N system is the scale meeting N carry, for being arrived numeral or the mark of N-1 by numerical range 0 Know the letter representation data of numeral;
In described coding pattern, each numeral in N system or the letter of reference numbers, the most corresponding different audio frequency preset Signal.
Data transmission method the most according to claim 6, it is characterised in that described coding rule also includes, to different Described transmitting terminal arranges different coding patterns.
8. a data transmission system, it is characterised in that include transmitting terminal and receiving terminal:
Described transmitting terminal, for being encoded to close according to the coding rule preset by the code data being used for verifying data transmission security Code audio signal, is sent to receiving terminal by audio interface;
Described receiving terminal, for receiving described password audio signal by audio interface, according to described coding rule by described close Code audio signal decoding is corresponding code data, and by audio interface, the first confirmation audio signal is back to described transmission End.
Data transmission system the most according to claim 8, it is characterised in that
Described transmitting terminal, is additionally operable to receive the first confirmation audio signal, by transmission of configuration information according to described by audio interface Coding rule is encoded to configure audio signal, is sent to receiving terminal by audio interface, and described transmission of configuration information includes at least The coded system of transmission data signal;
Described receiving terminal, is additionally operable to receive described configuration audio signal, according to described coding rule by described by audio interface Configuration audio signal decoding is corresponding transmission of configuration information, confirms that by second audio signal is back to by audio interface described Transmitting terminal.
Data transmission system the most according to claim 9, it is characterised in that
Described transmitting terminal, is additionally operable to receive the second confirmation audio signal by audio interface, will be met by audio interface described The data signal of coded system sends to described receiving terminal;
Described receiving terminal, is additionally operable to receive described data signal by audio interface, according to described coded system decoding data letter Number, the 3rd confirmation audio signal is back to described transmitting terminal by audio interface.
11. data transmission systems according to claim 10, it is characterised in that
Described transmitting terminal, if being additionally operable to fail to receive the described 3rd by audio interface to confirm audio signal, close after updating The described password audio signal that code data encode according to described coding rule, sends to described receiving terminal;
Described receiving terminal, receives described password audio signal by audio interface, according to described coding rule by described password sound Frequently the code data after signal is decoded as the renewal of correspondence, confirms that by first audio signal is back to described sending out by audio interface Sending end.
12. data transmission systems according to claim 8, it is characterised in that
Described code data includes transmission of configuration information, and described transmission of configuration information is including at least the coded system of data transmission.
13. data transmission systems described in-12 any one according to Claim 8, it is characterised in that described coding rule is:
By data symbol each in the data to be encoded of N system, according to default coding pattern, obtain the audio signal of correspondence, Wherein,
Described N is positive integer, and described N system is the scale meeting N carry, for being arrived numeral or the mark of N-1 by numerical range 0 Know the letter representation data of numeral;
In described coding pattern, each numeral in N system or the letter of reference numbers, the most corresponding different audio frequency preset Signal.
14. data transmission systems according to claim 13, it is characterised in that described coding rule also includes, to difference Described transmitting terminal different coding patterns is set.
CN201610529275.3A 2016-07-06 2016-07-06 Data transmission method and system Active CN106209313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610529275.3A CN106209313B (en) 2016-07-06 2016-07-06 Data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610529275.3A CN106209313B (en) 2016-07-06 2016-07-06 Data transmission method and system

Publications (2)

Publication Number Publication Date
CN106209313A true CN106209313A (en) 2016-12-07
CN106209313B CN106209313B (en) 2019-03-29

Family

ID=57465772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610529275.3A Active CN106209313B (en) 2016-07-06 2016-07-06 Data transmission method and system

Country Status (1)

Country Link
CN (1) CN106209313B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492831A (en) * 2018-01-29 2018-09-04 歌尔科技有限公司 A kind of data transmission method, audio frequency apparatus, intelligent terminal
CN111404955A (en) * 2020-03-25 2020-07-10 周晓明 Method and system for transmitting multipoint control channel for issuing information
WO2020220149A1 (en) * 2019-04-30 2020-11-05 徐汉阳 Open-air cinema audio transmission encryption system
CN113193922A (en) * 2021-04-29 2021-07-30 高新兴科技集团股份有限公司 Data transmission method based on audio as carrier, data extraction method and device and computing equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1208294A (en) * 1997-08-13 1999-02-17 索尼株式会社 Data transmitting apparatus and data transmitting method
KR20080107562A (en) * 2007-06-07 2008-12-11 한국전자통신연구원 Apparatus and method for audio decoding using inter-process communication
CN102904718A (en) * 2011-07-25 2013-01-30 付洪军 Audio communication based information security equipment and communication method thereof
CN103067587A (en) * 2012-12-26 2013-04-24 北京大唐智能卡技术有限公司 Device, mobile phone and method based on audio interface and used for bidirectional data transmission
CN103957074A (en) * 2014-04-08 2014-07-30 北京三友伟业科技发展有限公司 Data communication method based on intelligent terminal audio port
CN104240710A (en) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 Information transmission method and system, and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1208294A (en) * 1997-08-13 1999-02-17 索尼株式会社 Data transmitting apparatus and data transmitting method
KR20080107562A (en) * 2007-06-07 2008-12-11 한국전자통신연구원 Apparatus and method for audio decoding using inter-process communication
CN102904718A (en) * 2011-07-25 2013-01-30 付洪军 Audio communication based information security equipment and communication method thereof
CN103067587A (en) * 2012-12-26 2013-04-24 北京大唐智能卡技术有限公司 Device, mobile phone and method based on audio interface and used for bidirectional data transmission
CN104240710A (en) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 Information transmission method and system, and terminal equipment
CN103957074A (en) * 2014-04-08 2014-07-30 北京三友伟业科技发展有限公司 Data communication method based on intelligent terminal audio port

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108492831A (en) * 2018-01-29 2018-09-04 歌尔科技有限公司 A kind of data transmission method, audio frequency apparatus, intelligent terminal
WO2019144726A1 (en) * 2018-01-29 2019-08-01 歌尔股份有限公司 Data transmission method, audio device, and smart terminal
CN108492831B (en) * 2018-01-29 2020-10-27 歌尔科技有限公司 Data transmission method, audio equipment and intelligent terminal
WO2020220149A1 (en) * 2019-04-30 2020-11-05 徐汉阳 Open-air cinema audio transmission encryption system
CN111404955A (en) * 2020-03-25 2020-07-10 周晓明 Method and system for transmitting multipoint control channel for issuing information
CN111404955B (en) * 2020-03-25 2022-04-01 周晓明 Method and system for transmitting data by multipoint control channel for releasing information
CN113193922A (en) * 2021-04-29 2021-07-30 高新兴科技集团股份有限公司 Data transmission method based on audio as carrier, data extraction method and device and computing equipment

Also Published As

Publication number Publication date
CN106209313B (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN106209313A (en) Data transmission method and system
CN107249004A (en) A kind of identity identifying method, device and client
CN103124266B (en) Mobile terminal and carry out the method, system and the cloud server that log in by it
CN109391634A (en) Establish method, terminal and the computer readable storage medium of communication
CN107466036A (en) The quick method, equipment and system for establishing Wi Fi connections
CN110096496A (en) A kind of form validation method, relevant apparatus and equipment
CN103636162A (en) Authentication system via two communication devices
CN104349313B (en) Business authorization method, equipment and system
CN103973696B (en) A kind of data processing method of voice call
CN109768975A (en) Cross-platform access method, apparatus and storage medium in open source system
CN106028185A (en) Earphone authentication method and device, electronic equipment and earphone
CN103810017A (en) Method and device for sending and receiving command information
CN109428853A (en) A kind of communication means and relevant device
TW201607357A (en) Toning control method of WiFi device setting by smart device
CN109982150A (en) The trust chain method for building up and Intelligent television terminal of Intelligent television terminal
Ahamad et al. Secure mobile payment framework based on UICC with formal verification
CN102567903A (en) Web application subscription method, device and system
CN108093000A (en) A kind of information query method based on eID authentications, apparatus and system
CN105554750A (en) Transmission method of data frame, and terminal
CN104899500A (en) Lift user permission management system and method
CN104469757B (en) Safe login method
CN109460646A (en) Method for identifying ID, device, system, electronic equipment and readable medium
CN103974243B (en) A kind of data handling system of voice call
CN107294704A (en) The generation method of password, the execution method of password and terminal
CN105491553A (en) Virtual SIM/USIM card management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant