CN103812610A - Data communication method, terminal and information safety equipment - Google Patents
Data communication method, terminal and information safety equipment Download PDFInfo
- Publication number
- CN103812610A CN103812610A CN201410052415.3A CN201410052415A CN103812610A CN 103812610 A CN103812610 A CN 103812610A CN 201410052415 A CN201410052415 A CN 201410052415A CN 103812610 A CN103812610 A CN 103812610A
- Authority
- CN
- China
- Prior art keywords
- audio
- frequency test
- terminal
- target code
- information safety
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0015—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
- H04L1/0019—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy in which mode-switching is based on a statistical approach
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0014—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the source coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0015—Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0033—Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the transmitter
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/04—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
- G10L19/16—Vocoder architecture
- G10L19/18—Vocoders using multiple modes
Abstract
The invention provides a data communication method, terminal and information safety equipment. The method is that the terminal codes an audio test data package by using at least two types of coding mode being different to each other to obtain at least two coded audio test data packages; the terminal transmits at least two coded audio test data packages to the information safety equipment through an audio interface; the information safety equipment decodes the coded audio test data packages to obtain at least two audio test data packages, calculates the error rate of each audio test data package and confirms the targeting code mode, and the target coding mode is the coding mode used by the audio test data package with lowest error rate; the information safety equipment sends the mark information of the target coding mode to the terminal; the terminal confirms the target coding mode according to the mark information of the target coding mode.
Description
Technical field
The present invention relates to a kind of electronic technology field, relate in particular to a kind of data communications method, terminal and information safety devices.
Background technology
In the time that mobile phone and information safety devices carry out data communication, for example, mobile phone sends data by audio interface to information safety devices, and mobile phone can adopt certain coded system to encode to sent data, and the data after coding are sent to information safety devices.
Conventionally,, when mobile phone sends data by audio interface, can support Multi-encoding mode.
But in prior art, mobile phone cannot be realized the selection of coded system.
Summary of the invention
The present invention is intended to solve above-mentioned mobile phone and cannot realizes the problem of coding mode selection.
Main purpose of the present invention is to provide a kind of data communications method.
Another object of the present invention is to provide a kind of terminal.
Another object of the present invention is to provide a kind of information safety devices.
For achieving the above object, technical scheme of the present invention is specifically achieved in that
One aspect of the present invention provides a kind of data communications method, comprising:
Terminal adopts at least two kinds of mutually different coded systems to encode to audio-frequency test packet, obtains at least two audio-frequency test packets that adopt after mutually different coded system coding;
Audio-frequency test packet described in described terminal sends to information safety devices by audio interface after at least two codings;
The audio-frequency test packet of described information safety devices after to the coding receiving decoded, and obtains at least two audio-frequency test packets;
Described information safety devices calculates the error rate of each described audio-frequency test packet, and the size of the error rate of more described audio-frequency test packet;
Described information safety devices is determined target code mode, and described target code mode is the coded system of the audio-frequency test packet employing that the error rate is minimum;
Described information safety devices sends response data packet to described terminal, and described response data packet comprises the label information of described target code mode;
Described terminal receives described response data packet;
Described terminal is obtained the label information of described target code mode from described response data packet;
Described terminal is determined described target code mode according to the label information of described target code mode, and described target code mode is for encoding to the data of described information safety devices transmission to described terminal.
Wherein, described information safety devices comprises intelligent cipher key equipment, possesses the adapter equipment that communicates connecting interface with intelligent cipher key equipment.
Wherein, described coded system is frequency shift (FS) modulation FSK coded system, in described FSK coded system, adopt the sine wave that M sampled point acquisition cycle is T1 to carry out presentation logic 0, adopt the sine wave that N sampled point acquisition cycle is T2 to carry out presentation logic 1, M ≠ N, T1 ≠ T2, M and N are positive integer.
The present invention provides a kind of terminal on the other hand, comprising:
Coding unit, for adopting at least two kinds of mutually different coded systems to encode to audio-frequency test packet, obtains at least two audio-frequency test packets that adopt after mutually different coded system coding;
Transmitting element, for the audio-frequency test packet after at least two codings described in sending to information safety devices by audio interface;
Receiving element, the response data packet sending for receiving described information safety devices, described response data packet comprises the label information of described target code mode, described target code mode is the coded system of the audio-frequency test packet employing that the error rate is minimum;
Processing unit, for obtain the label information of described target code mode from described response data packet, and determine described target code mode according to the label information of described target code mode, described target code mode is for encoding to the data of described information safety devices transmission to described terminal.
Wherein, described coded system is frequency shift (FS) modulation FSK coded system, in described FSK coded system, adopt the sine wave that M sampled point acquisition cycle is T1 to carry out presentation logic 0, adopt the sine wave that N sampled point acquisition cycle is T2 to carry out presentation logic 1, M ≠ N, T1 ≠ T2, M and N are positive integer.
Another aspect of the invention also provides a kind of information safety devices, comprising:
Receiving element, at least two of sending for receiving terminal adopt the audio-frequency test packet after mutually different coded system coding;
Decoding unit, decodes for the audio-frequency test packet after the coding that described receiving element is received, and obtains at least two audio-frequency test packets;
Computing unit, for calculating the error rate of each described audio-frequency test packet;
Processing unit, for the size of the error rate of more described audio-frequency test packet, and definite target code mode, described target code mode is the coded system that audio-frequency test packet that the error rate is minimum adopts;
Transmitting element, for sending response data packet to described terminal, described response data packet comprises described target code mode.
Wherein, described information safety devices comprises intelligent cipher key equipment, possesses the adapter equipment that communicates connecting interface with intelligent cipher key equipment.
As seen from the above technical solution provided by the invention, a kind of data communications method provided by the invention, terminal and information safety devices, terminal is by adopting at least two kinds of mutually different coded systems to encode to audio-frequency test packet, obtain at least two audio-frequency test packets that adopt after mutually different coded system coding, and by the audio-frequency test Packet Generation after described at least two codings to information safety devices, described information safety devices can calculate the error rate of each described audio-frequency test packet, and the size of the comparison error rate, draw the minimum error rate, the coded system that the audio-frequency test packet that the error rate is minimum adopts is target code mode, and this target code mode is sent to terminal, so that terminal is follow-up during to described information safety devices transmission data, adopt this target code mode to encode to data waiting for transmission.
The technique scheme that adopts the embodiment of the present invention to provide, terminal can realize the selection to coded system on the one hand, and namely terminal can select the coded system that the error rate is minimum to encode to data; On the other hand, after selecting coded system, can reduce the error rate of transfer of data, improve reliability and the accuracy of transfer of data.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain other accompanying drawings according to these accompanying drawings.
The flow chart of a kind of data communications method that Fig. 1 provides for the embodiment of the present invention 1;
The structural representation of a kind of terminal that Fig. 2 provides for the embodiment of the present invention 2;
The structural representation of a kind of information safety devices that Fig. 3 provides for the embodiment of the present invention 2.
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.Based on embodiments of the invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to protection scope of the present invention.
In description of the invention, it will be appreciated that, term " " center ", " longitudinally ", " laterally ", " on ", D score, " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end ", " interior ", orientation or the position relationship of indications such as " outward " are based on orientation shown in the drawings or position relationship, only the present invention for convenience of description and simplified characterization, rather than device or the element of indication or hint indication must have specific orientation, with specific orientation structure and operation, therefore can not be interpreted as limitation of the present invention.In addition, term " first ", " second " be only for describing object, and can not be interpreted as indication or hint relative importance or quantity or position.
In description of the invention, it should be noted that, unless otherwise clearly defined and limited, term " installation ", " being connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connect integratedly; Can be mechanical connection, can be also electrical connection; Can be to be directly connected, also can indirectly be connected by intermediary, can be the connection of two element internals.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in further detail.
Embodiment 1
The embodiment of the present invention provides a kind of data communications method, and as shown in Figure 1, the method comprises:
101, terminal adopts at least two kinds of mutually different coded systems to encode to audio-frequency test packet, obtains at least two audio-frequency test packets that adopt after mutually different coded system coding;
Wherein, described coded system is frequency shift (FS) modulation (Frequency-Shift Keying, FSK) coded system;
In described FSK coded system, by adopting the sine wave that M sampled point acquisition cycle is T1 to carry out presentation logic 0, by adopting the sine wave that N sampled point acquisition cycle is T2 to carry out presentation logic 1, M ≠ N, T1 ≠ T2, M and N are positive integer.
Wherein, at least two kinds of mutually different coded systems are the downlink data coded system that terminal is supported, the coded system that namely terminal adopts in the time that information safety devices sends data.
In this step, terminal can adopt the downlink data coded system of all kinds of terminal support successively audio-frequency test packet to be encoded, and obtains the audio-frequency test packet after the mutually different downlink data coded system coding of multiple employings.
Exemplarily, described at least two kinds of mutually different coded systems can be but be not limited to several as follows:
FSK-4-8 coded system, this coded system represents that terminal is in the time encoding to data, adopts the sine wave that 4 sampled point acquisition cycles are T1 to carry out presentation logic 0, adopts the sine wave that 8 sampled point acquisition cycles are T2 to carry out presentation logic 1;
FSK-4-10 coded system, this coded system represents that terminal is in the time encoding to data, adopts the sine wave that 4 sampled point acquisition cycles are T1 to carry out presentation logic 0, adopts the sine wave that 10 sampled point acquisition cycles are T2 to carry out presentation logic 1;
FSK-24-36 coded system, represents that terminal, in the time that data are encoded, adopts the sine wave that 24 sampled point acquisition cycles are T1 to carry out presentation logic 0, adopts the sine wave that 36 sampled point acquisition cycles are T2 to carry out presentation logic 1.
In above-mentioned coded system, the sine wave of cycle T 1 is used for presentation logic 0, the sine wave of cycle T 2 is used for presentation logic 1, certainly,, according to the demand of practical application, be used for the sine wave period of presentation logic 0 and logical one can also exchange, namely, the sine wave of cycle T 1 is used for presentation logic 1, and the sine wave of cycle T 2 is used for presentation logic 0, does not limit at this.
Take FSK-4-8 coded system as example, this coded system can also be terminal in the time that data are encoded, adopt the sine wave that 4 sampled point acquisition cycles are T1 to carry out presentation logic 1, adopt the sine wave that 8 sampled point acquisition cycles are T2 to carry out presentation logic 0.
Conventionally,, in the time that data-signal is sampled, the sample frequency of use can be for example 44.1KHz, 48KHz, 10KHz, 8KHz etc.
It is example take sample frequency as 48KHz, in FSK-4-8 coded system, 4 sampled points of sampling can obtain the sine wave that frequency is 48/4=12KHz after data-signal is sampled, the cycle T 1 of this waveform is 1/12KHz, and the sine wave that this cycle T 1 is 1/12KHz is used for presentation logic 0;
After adopting 8 sampled points to sample to data-signal, can obtain the sine wave that frequency is 48/8=6KHz, the cycle T 2 of this waveform is 1/6KHz, and the sine wave that this cycle T 2 is 1/6KHz is used for presentation logic 1.
102, described terminal send to information safety devices by audio interface described in audio-frequency test packet after at least two codings;
Wherein, terminal possesses audio interface, and by this audio interface, described terminal can be connected with information safety devices coupling.
Described information safety devices comprises intelligent cipher key equipment, possesses the adapter equipment that communicates connecting interface with intelligent cipher key equipment.
103, the audio-frequency test packet of described information safety devices after to the coding receiving decoded, and obtains at least two audio-frequency test packets;
Wherein, the mode that the mode that described information safety devices is decoded to the audio-frequency test packet after encoding is encoded to audio-frequency test packet with terminal is corresponding.
For example, after terminal adopts FSK-4-8 coded system to encode to audio-frequency test packet, terminal is by the audio-frequency test Packet Generation after coding during to information safety devices, adopt the sine wave that 4 sampled point acquisition cycles are T1 to carry out transmission logic 1, adopt the sine wave that 8 sampled point acquisition cycles are T2 to carry out transmission logic 0.
Comprise that take the form of audio-frequency test packet synchronous head, start bit, significant bit data, position of rest and synchronous tail are as example, wherein, synchronous head adopts multiple identical bit values to represent, start bit also adopts multiple identical bit values to represent, and the bit value that represents synchronous head is not identical with the bit value that represents start bit, for example synchronous head adopts 8 bits 1 to represent, start bit adopts 4 bits 0 to represent.
When after synchronous head and start bit in the audio-frequency test packet after described information safety devices received code, the sine wave period T1 of presentation logic 1 can be determined according to the wave period of the synchronous head of this audio-frequency test packet, the sine wave period T2 of presentation logic 0 can be determined according to the wave period of start bit; Afterwards, in the time that described information safety devices receives the significant bit data in audio-frequency test packet, if detected when be T1 sinusoidal wave period, be decoded as logical one; If detect when be T2 sinusoidal wave period, be decoded as logical zero.
104, described information safety devices calculates the error rate of each described audio-frequency test packet, and the size of the error rate of more described audio-frequency test packet;
Wherein, the error rate is for representing the accuracy of transfer of data at the appointed time.
The error rate is higher, illustrates that the accuracy of transfer of data is higher; Otherwise the error rate is lower, illustrate that the accuracy of transfer of data is lower.
For the binary bits data that receive, the error rate is the bit number * 100% of the transmission of the bit number that goes wrong/total.
105, described information safety devices is determined target code mode, and described target code mode is the coded system of the audio-frequency test packet employing that the error rate is minimum;
Here select the coded system of the audio-frequency test packet employing that the error rate is minimum, can make follow-up terminal adopt this target code mode to carry out coding transmission to data time, can avoid because coded system is chosen the improper problem that the error rate is higher that causes.Namely, draw by test the coded system that the minimum audio-frequency test packet of the error rate adopts, and adopt this coded system to carry out coding transmission to data to reduce the error rate.
In the present embodiment, the size of the error rate of comparing audio test packet, and the coded system that the minimum audio-frequency test packet of definite error rate adopts is carried out by information safety devices.
Certainly,, according to the needs of practical application, the present embodiment can also provide another kind of alternative implementation:
After information safety devices calculates the error rate size of each audio-frequency test packet, the error rate size of each audio-frequency test packet all can be sent to described terminal, terminal receives the error rate size of each audio-frequency test packet, and by the relatively size of the error rate of described terminal, therefrom determine the coded system of the audio-frequency test packet employing that the error rate is minimum.
106, described information safety devices sends response data packet to described terminal, and described response data packet comprises the label information of described target code mode;
In the present embodiment, select the coded system of the audio-frequency test packet employing that the error rate is minimum as target code mode, and send to terminal, so that this terminal is follow-up during to described information safety devices transmission data, adopt this target code mode to encode to data waiting for transmission, can reduce the error rate of transfer of data, improve reliability and the accuracy of transfer of data.
107, described terminal receives described response data packet;
108, described terminal is obtained the label information of described target code mode from described response data packet;
109, described terminal is determined described target code mode according to the label information of described target code mode, and described target code mode is for encoding to the data of described information safety devices transmission to described terminal.
In the embodiment of the present invention, terminal is by adopting at least two kinds of mutually different coded systems to encode to audio-frequency test packet, obtain at least two audio-frequency test packets that adopt after mutually different coded system coding, and by the audio-frequency test Packet Generation after described at least two codings to information safety devices, described information safety devices can calculate the error rate of each described audio-frequency test packet, and the size of the comparison error rate, draw the minimum error rate, the coded system that the audio-frequency test packet that the error rate is minimum adopts is target code mode, and this target code mode is sent to terminal, so that terminal is follow-up during to described information safety devices transmission data, adopt this target code mode to encode to data waiting for transmission.
The technique scheme that adopts the embodiment of the present invention to provide, terminal can realize the selection to coded system on the one hand, and namely terminal can select the coded system that the error rate is minimum to encode to data; On the other hand, after selecting coded system, can reduce the error rate of transfer of data, improve reliability and the accuracy of transfer of data.
Embodiment 2
The embodiment of the present invention provides a kind of terminal, and as shown in Figure 2, this terminal comprises: coding unit 21, transmitting element 22, receiving element 23 and processing unit 24.
Wherein, described coded system is frequency shift (FS) modulation (Frequency-Shift Keying, FSK) coded system; In described FSK coded system, by adopting the sine wave that M sampled point acquisition cycle is T1 to carry out presentation logic 0, by adopting the sine wave that N sampled point acquisition cycle is T2 to carry out presentation logic 1, M ≠ N, T1 ≠ T2, M and N are positive integer.At least two kinds of mutually different coded systems are the downlink data coded system that terminal is supported, the coded system that namely terminal adopts in the time that information safety devices sends data.Terminal can adopt the downlink data coded system of all kinds of terminal support successively audio-frequency test packet to be encoded, and obtains the audio-frequency test packet after the mutually different downlink data coded system coding of multiple employings.
Transmitting element 22, for the audio-frequency test packet after at least two codings described in sending to information safety devices by audio interface;
Wherein, terminal possesses audio interface, and by this audio interface, described terminal can be connected with information safety devices coupling.Described information safety devices comprises intelligent cipher key equipment, possesses the adapter equipment that communicates connecting interface with intelligent cipher key equipment.
Receiving element 23, the response data packet sending for receiving described information safety devices, described response data packet comprises the label information of described target code mode, described target code mode is the coded system of the audio-frequency test packet employing that the error rate is minimum;
Wherein, the error rate is for representing the accuracy of transfer of data at the appointed time.The error rate is higher, illustrates that the accuracy of transfer of data is higher; Otherwise the error rate is lower, illustrate that the accuracy of transfer of data is lower.
Processing unit 24, for obtain the label information of described target code mode from described response data packet, and determine described target code mode according to the label information of described target code mode, described target code mode is for encoding to the data of described information safety devices transmission to described terminal.
In the embodiment of the present invention, terminal is by adopting at least two kinds of mutually different coded systems to encode to audio-frequency test packet, obtain at least two audio-frequency test packets that adopt after mutually different coded system coding, and by the audio-frequency test Packet Generation after described at least two codings to information safety devices, and the coded system that adopts of the minimum audio-frequency test packet of the error rate that sends of received information safety equipment, be target code mode.Terminal is follow-up during to described information safety devices transmission data, adopts this target code mode to encode to data waiting for transmission.
The technique scheme that adopts the embodiment of the present invention to provide, terminal can realize the selection to coded system on the one hand, and namely terminal can select the coded system that the error rate is minimum to encode to data; On the other hand, after select target coded system, adopt this target code mode to encode to data waiting for transmission, can reduce the error rate of transfer of data, improve reliability and the accuracy of transfer of data.
The function of described terminal realizes can be referring to the associated description of end side in the data communications method in above-described embodiment 1.
The present invention also provides a kind of information safety devices, and as shown in Figure 3, this information safety devices comprises: receiving element 31, decoding unit 32, computing unit 33, processing unit 34 and transmitting element 35.
Receiving element 31, at least two of sending for receiving terminal adopt the audio-frequency test packet after mutually different coded system coding;
Decoding unit 32, decodes for the audio-frequency test packet after the coding that described receiving element is received, and obtains at least two audio-frequency test packets;
Wherein, the mode that the mode that described information safety devices is decoded to the audio-frequency test packet after encoding is encoded to audio-frequency test packet with terminal is corresponding.For example, after terminal adopts FSK-4-8 coded system to encode to audio-frequency test packet, terminal is by the audio-frequency test Packet Generation after coding during to information safety devices, adopt the sine wave that 4 sampled point acquisition cycles are T1 to carry out transmission logic 1, adopt the sine wave that 8 sampled point acquisition cycles are T2 to carry out transmission logic 0.In the time of audio-frequency test packet after described information safety devices received code, if detected when be T1 sinusoidal wave period, be decoded as logical one; If detect when be T2 sinusoidal wave period, be decoded as logical zero.
Wherein, the error rate is for representing the accuracy of transfer of data at the appointed time.The error rate is higher, illustrates that the accuracy of transfer of data is higher; Otherwise the error rate is lower, illustrate that the accuracy of transfer of data is lower.For the binary bits data that receive, the error rate is the bit number * 100% of the transmission of the bit number that goes wrong/total.
Processing unit 34, for the size of the error rate of more described audio-frequency test packet, and definite target code mode, described target code mode is the coded system that audio-frequency test packet that the error rate is minimum adopts;
Transmitting element 35, for sending response data packet to described terminal, described response data packet comprises described target code mode.
Wherein, described information safety devices comprises intelligent cipher key equipment, possesses the adapter equipment that communicates connecting interface with intelligent cipher key equipment.
In the present embodiment, information safety devices can calculate the error rate of each audio-frequency test packet, select the coded system of the audio-frequency test packet employing that the error rate is minimum as target code mode, and send to terminal, so that this terminal is follow-up during to described information safety devices transmission data, adopt this target code mode to encode to data waiting for transmission, can reduce the error rate of transfer of data, improve reliability and the accuracy of transfer of data.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in memory and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, this program, in the time carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, those of ordinary skill in the art can change above-described embodiment within the scope of the invention in the situation that not departing from principle of the present invention and aim, modification, replacement and modification.Scope of the present invention is by claims and be equal to and limit.
Claims (7)
1. a data communications method, is characterized in that, comprising:
Terminal adopts at least two kinds of mutually different coded systems to encode to audio-frequency test packet, obtains at least two audio-frequency test packets that adopt after mutually different coded system coding;
Audio-frequency test packet described in described terminal sends to information safety devices by audio interface after at least two codings;
The audio-frequency test packet of described information safety devices after to the coding receiving decoded, and obtains at least two audio-frequency test packets;
Described information safety devices calculates the error rate of each described audio-frequency test packet, and the size of the error rate of more described audio-frequency test packet;
Described information safety devices is determined target code mode, and described target code mode is the coded system of the audio-frequency test packet employing that the error rate is minimum;
Described information safety devices sends response data packet to described terminal, and described response data packet comprises the label information of described target code mode;
Described terminal receives described response data packet;
Described terminal is obtained the label information of described target code mode from described response data packet;
Described terminal is determined described target code mode according to the label information of described target code mode, and described target code mode is for encoding to the data of described information safety devices transmission to described terminal.
2. data communications method according to claim 1, is characterized in that, described information safety devices comprises intelligent cipher key equipment, possesses the adapter equipment that communicates connecting interface with intelligent cipher key equipment.
3. data communications method according to claim 1, it is characterized in that, described coded system is frequency shift (FS) modulation FSK coded system, in described FSK coded system, adopt the sine wave that M sampled point acquisition cycle is T1 to carry out presentation logic 0, adopt the sine wave that N sampled point acquisition cycle is T2 to come presentation logic 1, M ≠ N, T1 ≠ T2, M and N are positive integer.
4. a terminal, is characterized in that, comprising:
Coding unit, for adopting at least two kinds of mutually different coded systems to encode to audio-frequency test packet, obtains at least two audio-frequency test packets that adopt after mutually different coded system coding;
Transmitting element, for the audio-frequency test packet after at least two codings described in sending to information safety devices by audio interface;
Receiving element, the response data packet sending for receiving described information safety devices, described response data packet comprises the label information of described target code mode, described target code mode is the coded system of the audio-frequency test packet employing that the error rate is minimum;
Processing unit, for obtain the label information of described target code mode from described response data packet, and determine described target code mode according to the label information of described target code mode, described target code mode is for encoding to the data of described information safety devices transmission to described terminal.
5. terminal according to claim 4, it is characterized in that, described coded system is frequency shift (FS) modulation FSK coded system, in described FSK coded system, adopt the sine wave that M sampled point acquisition cycle is T1 to carry out presentation logic 0, adopt the sine wave that N sampled point acquisition cycle is T2 to come presentation logic 1, M ≠ N, T1 ≠ T2, M and N are positive integer.
6. an information safety devices, is characterized in that, comprising:
Receiving element, at least two of sending for receiving terminal adopt the audio-frequency test packet after mutually different coded system coding;
Decoding unit, decodes for the audio-frequency test packet after the coding that described receiving element is received, and obtains at least two audio-frequency test packets;
Computing unit, for calculating the error rate of each described audio-frequency test packet;
Processing unit, for the size of the error rate of more described audio-frequency test packet, and definite target code mode, described target code mode is the coded system that audio-frequency test packet that the error rate is minimum adopts;
Transmitting element, for sending response data packet to described terminal, described response data packet comprises described target code mode.
7. information safety devices according to claim 6, is characterized in that, described information safety devices comprises intelligent cipher key equipment, possesses the adapter equipment that communicates connecting interface with intelligent cipher key equipment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410052415.3A CN103812610B (en) | 2014-02-17 | 2014-02-17 | A kind of data communications method, terminal and information safety devices |
PCT/CN2015/070552 WO2015120758A1 (en) | 2014-02-17 | 2015-01-12 | Data communication method, terminal and information security device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410052415.3A CN103812610B (en) | 2014-02-17 | 2014-02-17 | A kind of data communications method, terminal and information safety devices |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103812610A true CN103812610A (en) | 2014-05-21 |
CN103812610B CN103812610B (en) | 2018-01-16 |
Family
ID=50708865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410052415.3A Active CN103812610B (en) | 2014-02-17 | 2014-02-17 | A kind of data communications method, terminal and information safety devices |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103812610B (en) |
WO (1) | WO2015120758A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103840914A (en) * | 2014-02-17 | 2014-06-04 | 天地融科技股份有限公司 | Data communication method, terminal and information security equipment |
WO2015120758A1 (en) * | 2014-02-17 | 2015-08-20 | 天地融科技股份有限公司 | Data communication method, terminal and information security device |
CN110503965A (en) * | 2019-08-29 | 2019-11-26 | 珠海格力电器股份有限公司 | A kind of selection method and storage medium of modem audio coder & decoder (codec) |
CN112073888A (en) * | 2020-08-06 | 2020-12-11 | 深圳市天视通技术有限公司 | Audio testing method, system, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102339499A (en) * | 2011-09-30 | 2012-02-01 | 重庆南天数据资讯服务有限公司 | System for realizing POS (point of sale) card swiping payment device based on mobile communication terminal |
CN102480473A (en) * | 2010-11-26 | 2012-05-30 | 中国银联股份有限公司 | Security information interaction system and method based on frequency shift keying (FSK) |
CN102769590A (en) * | 2012-06-21 | 2012-11-07 | 天地融科技股份有限公司 | Self-adaptive method, self-adaptive system and self-adaptive device for audio communication modulation modes and electronic signature implement |
CN202795591U (en) * | 2012-07-13 | 2013-03-13 | 成都进界科技有限公司 | Secure identification financial transaction terminal |
CN103138929A (en) * | 2011-12-05 | 2013-06-05 | 赛酷特(北京)信息技术有限公司 | Contactless smart card cellphone authentication equipment based on audio interface |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102739587B (en) * | 2012-06-16 | 2014-05-21 | 天地融科技股份有限公司 | Audio data transmission method |
CN103812610B (en) * | 2014-02-17 | 2018-01-16 | 天地融科技股份有限公司 | A kind of data communications method, terminal and information safety devices |
CN103840914B (en) * | 2014-02-17 | 2017-04-19 | 天地融科技股份有限公司 | Data communication method, terminal and information security equipment |
-
2014
- 2014-02-17 CN CN201410052415.3A patent/CN103812610B/en active Active
-
2015
- 2015-01-12 WO PCT/CN2015/070552 patent/WO2015120758A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102480473A (en) * | 2010-11-26 | 2012-05-30 | 中国银联股份有限公司 | Security information interaction system and method based on frequency shift keying (FSK) |
CN102339499A (en) * | 2011-09-30 | 2012-02-01 | 重庆南天数据资讯服务有限公司 | System for realizing POS (point of sale) card swiping payment device based on mobile communication terminal |
CN103138929A (en) * | 2011-12-05 | 2013-06-05 | 赛酷特(北京)信息技术有限公司 | Contactless smart card cellphone authentication equipment based on audio interface |
CN102769590A (en) * | 2012-06-21 | 2012-11-07 | 天地融科技股份有限公司 | Self-adaptive method, self-adaptive system and self-adaptive device for audio communication modulation modes and electronic signature implement |
CN202795591U (en) * | 2012-07-13 | 2013-03-13 | 成都进界科技有限公司 | Secure identification financial transaction terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103840914A (en) * | 2014-02-17 | 2014-06-04 | 天地融科技股份有限公司 | Data communication method, terminal and information security equipment |
WO2015120758A1 (en) * | 2014-02-17 | 2015-08-20 | 天地融科技股份有限公司 | Data communication method, terminal and information security device |
CN103840914B (en) * | 2014-02-17 | 2017-04-19 | 天地融科技股份有限公司 | Data communication method, terminal and information security equipment |
CN110503965A (en) * | 2019-08-29 | 2019-11-26 | 珠海格力电器股份有限公司 | A kind of selection method and storage medium of modem audio coder & decoder (codec) |
CN110503965B (en) * | 2019-08-29 | 2021-09-14 | 珠海格力电器股份有限公司 | Selection method of modem voice coder-decoder and storage medium |
CN112073888A (en) * | 2020-08-06 | 2020-12-11 | 深圳市天视通技术有限公司 | Audio testing method, system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2015120758A1 (en) | 2015-08-20 |
CN103812610B (en) | 2018-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104954096B (en) | A kind of high-speed synchronous serial communication data transmission method of one master and multiple slaves | |
CN102929824B (en) | A kind of system of multiplexing USB interface transmission data | |
CN103812610A (en) | Data communication method, terminal and information safety equipment | |
CN105049151A (en) | Method for controlling serial port communication and communication serial port | |
WO2017050234A1 (en) | Data transmission method and data processing device | |
JP2018501706A5 (en) | ||
CN106385304B (en) | Data transmission method, equipment and system | |
CN107005346A (en) | Code element changes the error detection constant of clock transcoding | |
CN204633784U (en) | A kind of data transmission device | |
CN103220428A (en) | Audio signal data communication method for cell phone | |
CN103840914A (en) | Data communication method, terminal and information security equipment | |
CN105071912A (en) | Binary digital baseband code element communication method based on dual level | |
CN105160282A (en) | Machine type selecting system and method and domestic appliance | |
KR102189511B1 (en) | Method and apparatus for transmitting data, method and apparatus for receiving data | |
CN104468042A (en) | Data transmission method and system | |
CN106549921B (en) | Data transmission method and device | |
CN101442380B (en) | Method and apparatus for testing error rate based on high speed serial interface encoded mode | |
CN106877873B (en) | FPGA-based Manchester code encoder-decoder and encoding-decoding method | |
CN101814976A (en) | Multi-type network data transmission method and device | |
CN105591716B (en) | A kind of serial data communication method, apparatus and system based on single carrier | |
CN102682772A (en) | Data sending method, data receiving method, data sending equipment and data receiving equipment | |
CN103888108A (en) | Data decoding method and device | |
CN103763066A (en) | Method for carrying out communication between mobile terminal and information security device | |
CN102929825B (en) | A kind of method of multiplexing USB interface transmission data and electric signing tools | |
CN103763065A (en) | Method for carrying out communication between mobile terminal and information security device |
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 |