CN103532703B - Data processing method and terminal - Google Patents
Data processing method and terminal Download PDFInfo
- Publication number
- CN103532703B CN103532703B CN201310444831.3A CN201310444831A CN103532703B CN 103532703 B CN103532703 B CN 103532703B CN 201310444831 A CN201310444831 A CN 201310444831A CN 103532703 B CN103532703 B CN 103532703B
- Authority
- CN
- China
- Prior art keywords
- terminal
- app
- key equipment
- cipher key
- intelligent cipher
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a data processing method and a terminal, and relates to the technical field of electronics. Normal communication between the terminal and intelligent key equipment can be ensured. The method comprises the following steps that the terminal acquires a transmission delay parameter when an APP (application) normally communicates with the intelligent key equipment on the terminal; the terminal performs data analysis, waveform processing and signal amplification processing on an audio file to be played within a time specified by the transmission delay parameter to obtain a level signal corresponding to the audio file to be played; the terminal transmits the level signal corresponding to the audio file to be played to the intelligent key equipment through an earphone interface. The data processing method is mainly applied to a process of data communication between the terminal and the intelligent key equipment.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of data processing method and terminal.
Background technology
With the great convenience that brings of developing rapidly of network, people are increasingly dependent on network and carry out various work
Dynamic, the transmission of such as network file, internet bank trade be increasingly becoming people's life, indispensable one in work
Point.As network is a virtual environment after all, too many unsafe factor is there is, and will necessarily be entered in a network environment
The network activity of row data interaction, especially as Internet-based banking services and network activity the transmission of classified papers, to net
The safety of network proposes very high requirement, therefore people start to greatly develop network information security technology.
Digital signature technology be exactly it is a kind of in order to ensure user data in the transmitting procedure of network will not by people malice repair
The network information security technology for changing.After being digitally signed to data, can largely increase the safety of data.But
It is that the development of hacking technique still makes user worry very much, once because malicious attacker controls the computer of user, they
The data occurred in calculator memory can be just intercepted, the interests of computer validated user are damaged.Therefore people develop
A kind of portable removable intelligent cipher key equipment for using, also referred to as USB Key are gone out.This is a kind of with microprocessor
Small hardware equipment, its data communication interface for passing through main frame are set up with main frame and are connected, and the processor in equipment can typically be adopted
Safe design chip is realized, using its built-in security mechanism, realizes that key is generated, key is stored safely and preset AES
Etc. function, the computing related to key is performed inside authenticating device completely, so safety is very high.
But, potential safety hazard is so yet suffered from, after the computer of user suffers the infringement of trojan horse, can be dark
Middle operation subscriber computer, and do not realized by user.If at this moment the USB Key of user forget plug after accessing computer,
Hacker just can forge transaction request message according to the form of network bank business, and by manipulating the computer of user, by what is forged
Transaction request message is sent in USB Key, is signed using private key for user, using signature result and the transaction request report forged
Text carries out online transaction, and these are all carried out in the case of user is completely unwitting, therefore the Account Security prestige to user
The side of body is very big.Therefore, people have developed a kind of modified model intelligent cipher key equipment(USB Key), follow-on intelligent key sets
It is standby to include display screen and confirm button, need the transaction request message of signature send to follow-on intelligent key and set
Standby display screen shown, and show it is errorless after, Jing after user is confirmed by acknowledgement key manually, can be by number of signature
According to being back to calculating.Even if so hacker controls the computer of user, but uncontrollable follow-on intelligent key sets
It is standby, and user can not be controlled confirmed by acknowledgement key manually, therefore safety has obtained large increase.
In prior art, when online transaction is carried out using mobile phone terminal, can be by the audio jack of the intelligent cipher key equipment
The audio interface of mobile phone terminal is accessed, afterwards, by application program corresponding with intelligent cipher key equipment on mobile phone terminal
(Application, APP) and intelligent cipher key equipment between enters row data communication, completes authenticating user identification, online transaction
The operation such as confirmation.
When APP on mobile phone terminal and USB Key enter row data communication, for example, APP passes through earphone interface to intelligent key
When equipment sends audio file, needs are transmitted process to the audio file.If transmission of the mobile phone terminal to the audio file
Process time is long, it will cause proper communication is carried out between APP the and USB Key of mobile phone terminal.
The content of the invention
The present invention provides a kind of data processing method and terminal, main purpose be ensure terminal and intelligent cipher key equipment it
Between carry out proper communication.
To reach above-mentioned purpose, what technical scheme was specifically realized in:
A kind of one aspect of the present invention, there is provided data processing method, including:
Terminal obtains application APP and postpones ginseng with transmission during intelligent cipher key equipment proper communication in the terminal
Number;
Send in time for specifying of delay parameter described, terminal-pair audio file to be played carry out data parsing,
Waveform processing, signal processing and amplifying, obtain the corresponding level signal of the audio file to be played;
The audio file to be played corresponding level signal is sent to the intelligence by earphone interface by the terminal
Key devices.
Wherein, also include:Obtain the audio file to be played;
The terminal obtain APP in the terminal with transmission delay parameter during intelligent cipher key equipment proper communication, bag
Include:
After the APP starts, before obtaining the audio file to be played, the terminal obtains APP in the terminal
Transmission delay parameter during upper and intelligent cipher key equipment proper communication;
Or, after obtaining the audio file to be played, the terminal obtain APP in the terminal with intelligent key
Transmission delay parameter during equipment proper communication.
Wherein, the terminal obtains APP and postpones to join with transmission during intelligent cipher key equipment proper communication in the terminal
Number includes:
The terminal with intelligent cipher key equipment just reads the APP in the terminal from the configuration file of the APP
Transmission delay parameter when normal open is believed.
Wherein, the span for sending delay parameter is [0 millisecond, 100 milliseconds].
Wherein, the value for sending delay parameter is 10 milliseconds.
One aspect of the present invention, also provides a kind of data processing method, including:
Terminal obtains application APP and postpones ginseng with reception during intelligent cipher key equipment proper communication in the terminal
Number;
Receive in time for specifying of delay parameter described, the pending level signal of the terminal-pair carries out sampling, data
Process, obtain the corresponding audio file of the pending level signal.
Wherein, also include:The terminal receives the described pending level that intelligent cipher key equipment sends by microphone interface
Signal;
The terminal obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication, bag
Include:
After the APP starts, the terminal receives the described pending of intelligent cipher key equipment transmission by microphone interface
Before level signal, the terminal obtains APP and postpones ginseng with reception during intelligent cipher key equipment proper communication in the terminal
Number;
Or, the terminal by microphone interface receive intelligent cipher key equipment send described pending level signal it
Afterwards, the terminal obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication.
Wherein, the terminal obtains APP and postpones to join with reception during intelligent cipher key equipment proper communication in the terminal
Number, including:
The terminal with intelligent cipher key equipment just reads the APP in the terminal from the configuration file of the APP
Reception delay parameter when normal open is believed.
Wherein, the span for receiving delay parameter is [100 milliseconds, 300 milliseconds].
A kind of another aspect of the present invention, there is provided terminal, including:
Acquisition module, is prolonged with transmission during intelligent cipher key equipment proper communication in terminal for obtaining application APP
Slow parameter;
Processing module, for sending in the time that delay parameter specifies described, carries out data to audio file to be played
Parsing, waveform processing, signal processing and amplifying, obtain the corresponding level signal of the audio file to be played;
Sending module, it is described for the audio file to be played corresponding level signal is sent to by earphone interface
Intelligent cipher key equipment.
Wherein, the acquisition module, is additionally operable to obtain the audio file to be played;
The acquisition module, specifically for, after the APP starts, before obtaining the audio file to be played, obtaining
APP in the terminal with transmission delay parameter during intelligent cipher key equipment proper communication;
Or, the acquisition module, after obtaining the audio file to be played, obtains APP at the end
With transmission delay parameter during intelligent cipher key equipment proper communication on end.
Wherein, the acquisition module, specifically for the APP is read in the configuration file from the APP in the terminal
Transmission delay parameter during upper and intelligent cipher key equipment proper communication.
Wherein, the span for sending delay parameter is [0 millisecond, 100 milliseconds].
Wherein, the value for sending delay parameter is 10 milliseconds.
Another aspect of the present invention, also provides a kind of terminal, including:
Acquisition module, is prolonged with reception during intelligent cipher key equipment proper communication in terminal for obtaining application APP
Slow parameter;
Processing module, for receiving in time for specifying of delay parameter described, pending level signal is carried out sampling,
Data processing, obtains the corresponding audio file of the pending level signal.
Wherein, the acquisition module, is additionally operable to receive the described pending of intelligent cipher key equipment transmission by microphone interface
Level signal;
The acquisition module, specifically for, after the APP starts, receiving intelligent cipher key equipment by microphone interface and sending
Described pending level signal before, obtain APP prolong with reception during intelligent cipher key equipment proper communication in the terminal
Slow parameter;
Or, the acquisition module is waited to locate described in intelligent cipher key equipment transmission specifically for receiving by microphone interface
Reason level signal after, obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication.
Wherein, the acquisition module, specifically for the APP is read in the configuration file from the APP in the terminal
Reception delay parameter during upper and intelligent cipher key equipment proper communication.
Wherein, the span for receiving delay parameter is [100 milliseconds, 300 milliseconds].
As seen from the above technical solution provided by the invention, terminal to intelligent cipher key equipment send data when, can be with
Obtain transmission delay parameter when APP and intelligent cipher key equipment proper communication, and within the time that the transmission delay parameter specifies,
Terminal-pair audio file to be played carries out data parsing, waveform processing, signal processing and amplifying, obtains the audio frequency to be played
The corresponding level signal of file, that is to say, that transmission processe is postponed terminal the time that control specifies in the transmission delay parameter
It is interior.Thus, it is ensured that during the data that the APP in terminal is sent to intelligent cipher key equipment, data normally can be sent.
When terminal receives the data that intelligent cipher key equipment sends, when can obtain APP and intelligent cipher key equipment proper communication
Reception delay parameter, in the time that the reception delay parameter specifies, the pending level signal of the terminal-pair carries out sampling, number
According to process, the corresponding audio file of the pending level signal is obtained, that is to say, that reception processing is postponed control and existed by terminal
In the time that the reception delay parameter specifies..Thus, it is ensured that the APP in terminal is carried out to the data from intelligent cipher key equipment
Normally receive.
It can be seen that, on the one hand the technical scheme that the present invention is provided can ensure that the APP in terminal is sent to intelligent cipher key equipment
Data when, data normally can be sent, and on the other hand can ensure that the APP in terminal to from intelligent cipher key equipment
Data are normally received.Therefore, it is possible to avoid due to postponing to cause the APP in terminal enter line number with intelligent cipher key equipment
According to the problem of communication, it is ensured that the normal data communication between APP and intelligent cipher key equipment in terminal.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to using needed for embodiment description
Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of flow chart of the data processing method that the embodiment of the present invention 1 is provided;
Fig. 1 a are another kind of flow chart of the data processing method that the embodiment of the present invention 1 is provided;
Fig. 2 is another flow chart for the data processing method that the embodiment of the present invention 1 is provided;
Fig. 2 a are also a kind of flow chart of the data processing method that the embodiment of the present invention 1 is provided;
Fig. 3 is a kind of structural representation of the terminal that the embodiment of the present invention 2 is provided;
Fig. 4 is another structural representation for the terminal that the embodiment of the present invention 2 is provided.
Specific embodiment
With reference to the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Based on this
Inventive embodiment, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art
Example, belongs to protection scope of the present invention.
The embodiment of the present invention is described in further detail below in conjunction with accompanying drawing.
Embodiment 1
As shown in figure 1, the embodiment of the present invention provides a kind of data processing method, a kind of application scenarios that the method is suitable for
For:When in terminal, APP is to intelligent cipher key equipment transmission data, the method comprises the steps:
APP in S100, terminal starts;
The terminal, for example, it may be the electronic equipment such as mobile phone, panel computer, desktop computer.
The APP, for example, it may be client application corresponding with intelligent cipher key equipment, for example, the APP is Mobile banking
Client application, the APP are operated on mobile phone, can be communicated with intelligent cipher key equipment and be handed over completing authentication, mobile phone
Easily etc..
After S101, APP in terminal start, terminal obtain APP in the terminal with the positive normal open of intelligent cipher key equipment
Transmission delay parameter during letter;
Wherein, the acquisition modes for sending delay parameter are as follows:The APP is read from the configuration file of the APP
With reception delay parameter during intelligent cipher key equipment proper communication in the terminal.
Optionally, the span for sending delay parameter is [0 millisecond, 100 milliseconds].
Preferably, the value for sending delay parameter is 10 milliseconds.
For example, tested when the APP in the terminal sends data to intelligent cipher key equipment, drawn APP in terminal
Carry out when data normally send, sending the value of delay parameter with intelligent cipher key equipment.Then by the value of the transmission delay parameter
Write the configuration file of the APP.
When terminal downloads APP from APP provider websites in terminal, the configuration file of the APP is also downloaded to therewith
In the terminal.When APP runs, terminal can read the value for sending delay parameter from the configuration file of APP.
S102, the terminal obtain audio file to be played;
Wherein, so that APP is for Mobile banking's client application as an example, the acquisition modes of the audio file to be played, for example
Can be:Terminal is received and is sent to APP from certificate server(Mobile banking's client application)Signature message, according to this
Signature message generates the corresponding audio file to be played of the signature message.
S103, send in time for specifying of delay parameter described, terminal-pair audio file to be played carries out data
Parsing, waveform processing, signal processing and amplifying, obtain the corresponding level signal of the audio file to be played;
Wherein, terminal-pair audio file to be played carries out data parsing, waveform processing, signal processing and amplifying, obtains described
A kind of implementation of the corresponding level signal of audio file to be played, Ke Yishi:
The audio file to be played can be put into play buffer by terminal, wherein, the play buffer can be in terminal
One piece of region in depositing, the audio file to be played that terminal can be pointed in the play buffer carries out data parsing, at waveform
Reason, signal processing and amplifying, to obtain the corresponding level signal of the audio file to be played.
The corresponding level signal of the audio file to be played is obtained, is also indicated that at the transmission to the audio file to be played
Reason has been completed.
The audio file to be played corresponding level signal is sent to described by S104, the terminal by earphone interface
Intelligent cipher key equipment.
In the embodiment of the present invention, when terminal is to intelligent cipher key equipment transmission data, APP and intelligent cipher key equipment can be obtained
Transmission delay parameter during proper communication, within the time represented by the transmission delay parameter, for example, the transmission delay parameter
Value is 10ms, then complete to carry out audio file to be played within 10ms data parsing, waveform processing, at signal amplification
Reason, obtains the corresponding level signal of the audio file to be played, afterwards, the audio file to be played corresponding level is believed
Number send.Thus, it is ensured that when the APP in terminal is to intelligent cipher key equipment transmission data, data normally can be sent out
Send.
It should be noted that during the data processing method shown in Fig. 1 realizes flow process, being, after APP starts, to obtain to be played
Before audio file, obtain and send delay parameter,(Referring specifically to above-mentioned steps S101-S102).
The another kind of interchangeable of the embodiment of the present invention realizes that flow process is:Audio file to be played is first obtained, is obtained again afterwards
Transmission delay parameter is taken, now, as shown in Figure 1a, above-mentioned steps S101-S102 can replace with below step respectively
S101 '-S102 ' are performed:
S101 ', the terminal obtain audio file to be played;
S102 ', the terminal obtain APP and postpone ginseng with transmission during intelligent cipher key equipment proper communication in the terminal
Number.
As shown in Fig. 2 the embodiment of the present invention also provides a kind of data processing method, the APP in terminal is applied to receive intelligence
During the data that key devices send, the method comprises the steps:
APP in S200, terminal starts;
The terminal, for example, it may be the electronic equipment such as mobile phone, panel computer, desktop computer.
The APP, for example, it may be client application corresponding with intelligent cipher key equipment, for example, the APP is Mobile banking
Client application, the APP are operated on mobile phone, can be communicated with intelligent cipher key equipment and be handed over completing authentication, mobile phone
Easily etc..
After S201, APP in terminal start, terminal obtain APP in the terminal with the positive normal open of intelligent cipher key equipment
Reception delay parameter during letter;
Wherein, the acquisition modes for receiving delay parameter are as follows:The terminal is read from the configuration file of the APP
The APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication.
Optionally, the span for receiving delay parameter is [100 milliseconds, 300 milliseconds].
For example, the APP in the terminal from intelligent cipher key equipment receiving data when tested, draw in terminal
APP carries out the value of reception delay parameter when data are normally received with intelligent cipher key equipment.Then by the reception delay parameter
Value write the configuration file of the APP.
When terminal downloads APP from APP provider websites in terminal, the configuration file of the APP is also downloaded to therewith
In the terminal.When APP runs, terminal can read the value for receiving delay parameter from the configuration file of APP.
S202, the terminal receive the described pending level signal that intelligent cipher key equipment sends by microphone interface;
S203, receive in time for specifying of delay parameter described, the pending level signal of the terminal-pair carries out sampling,
Data processing, obtains the corresponding audio file of the pending level signal.
Wherein, pending level signal is carried out sampling, data processing, obtain the corresponding sound of the pending level signal
A kind of implementation of frequency file, Ke Yishi:
The pending level signal can be put into recording relief area by terminal, wherein, the recording relief area can be in terminal
One piece of region in depositing, the pending level signal that terminal can be pointed in the recording relief area carries out sampling, data processing, obtains
To the corresponding audio file of the pending level signal.
The corresponding audio file of the pending level signal is obtained, is also indicated that and the pending level signal is connect
Receipts process has been completed.
In the embodiment of the present invention, when terminal receives the data that intelligent cipher key equipment sends, APP and intelligent key can be obtained
Reception delay parameter during equipment proper communication, and within the time represented by the reception delay parameter, for example, the reception postpones
The value of parameter is 101ms, then within 101ms, the pending level signal of the terminal-pair carries out sampling, data processing, obtains
Data from intelligent cipher key equipment can be carried out to the corresponding audio file of the pending level signal, that is, terminal
The delay of reception processing is controlled in 101ms.Therefore, it is possible to avoid causing the APP in terminal close with intelligence due to receiving delay
Key equipment cannot enter the problem of row data communication, it is ensured that APP in terminal receive from the data of intelligent cipher key equipment when
Proper communication.
It should be noted that during the data processing method shown in Fig. 2 realizes flow process, being, after APP starts, to receive pending
Before level signal, obtain and receive delay parameter(Referring specifically to above-mentioned steps S201-S202).
The another kind of interchangeable of the embodiment of the present invention realizes that flow process is:Pending level signal is first obtained, is obtained again afterwards
Reception delay parameter is taken, now, as shown in Figure 2 a, above-mentioned steps S201-S202 can replace with below step respectively
S201 '-S202 ' are performed:
S201 ', the terminal receive the described pending level signal that intelligent cipher key equipment sends by microphone interface;
S202 ', the terminal obtain APP and postpone ginseng with reception during intelligent cipher key equipment proper communication in the terminal
Number.
Embodiment 2
As shown in figure 3, the embodiment of the present invention provides a kind of terminal, the terminal can send data to intelligent cipher key equipment
When, to ensure normal data is activation between terminal and intelligent cipher key equipment.
Wherein, the terminal is provided with audio interface, and the intelligent cipher key equipment is provided with audio jack, the sound of the intelligent cipher key equipment
Frequency plug is may be inserted in the audio interface of the terminal, to realize the data communication between terminal and intelligent cipher key equipment.
The terminal, for example, it may be the electronic equipment such as mobile phone, panel computer, desktop computer.
The terminal includes:Acquisition module 31, processing module 32 and sending module 33.
Wherein, acquisition module 31, for obtain application APP in terminal with during intelligent cipher key equipment proper communication
Send delay parameter;
Processing module 32, for sending in the time that delay parameter specifies described, enters line number to audio file to be played
According to parsing, waveform processing, signal processing and amplifying, the corresponding level signal of the audio file to be played is obtained;
Sending module 33, for the audio file to be played corresponding level signal is sent to institute by earphone interface
State intelligent cipher key equipment.
In the embodiment of the present invention, when terminal is to intelligent cipher key equipment transmission data, APP and intelligent cipher key equipment can be obtained
Transmission delay parameter during proper communication, within the time represented by the transmission delay parameter, for example, the transmission delay parameter
Value is 10ms, then complete to carry out audio file to be played within 10ms data parsing, waveform processing, at signal amplification
Reason, obtains the corresponding level signal of the audio file to be played, afterwards, the audio file to be played corresponding level is believed
Number send.Thus, it is ensured that when the APP in terminal is to intelligent cipher key equipment transmission data, data normally can be sent out
Send.
Optionally, the acquisition module 31, is additionally operable to obtain the audio file to be played;
Optionally, the acquisition module 31, specifically for, after the APP starts, obtaining the audio file to be played
Before, obtain APP in the terminal with transmission delay parameter during intelligent cipher key equipment proper communication;
Or, the acquisition module 31, after obtaining the audio file to be played, obtains APP described
With transmission delay parameter during intelligent cipher key equipment proper communication in terminal.
Optionally, the acquisition module 31, specifically for the APP is read in the configuration file from the APP described
With transmission delay parameter during intelligent cipher key equipment proper communication in terminal.
Optionally, the span for sending delay parameter is [0 millisecond, 100 milliseconds].
Preferably, the value for sending delay parameter is 10 milliseconds.
Shown in described Fig. 3, the functional realiey of terminal is referring also to the associated description in method shown in Fig. 1 and Fig. 1 a.
As shown in figure 4, the embodiment of the present invention provides a kind of terminal, the terminal can receive what intelligent cipher key equipment sent
During data, it is ensured that normal data receiver between terminal and intelligent cipher key equipment.
Wherein, the terminal is provided with audio interface, and the intelligent cipher key equipment is provided with audio jack, the sound of the intelligent cipher key equipment
Frequency plug is may be inserted in the audio interface of the terminal, to realize the data communication between terminal and intelligent cipher key equipment.
The terminal, for example, it may be the electronic equipment such as mobile phone, panel computer, desktop computer.
The terminal, including:Acquisition module 41, processing module 42.
Acquisition module 41, for obtain application APP in terminal with reception during intelligent cipher key equipment proper communication
Delay parameter;
Processing module 42, for receiving in the time that delay parameter specifies described, adopts to pending level signal
Sample, data processing, obtain the corresponding audio file of the pending level signal.
In the embodiment of the present invention, when terminal receives the data that intelligent cipher key equipment sends, APP and intelligent key can be obtained
Reception delay parameter during equipment proper communication, and within the time represented by the reception delay parameter, for example, 101ms with
It is interior, complete pending level signal is carried out sampling, data processing, obtain the corresponding audio frequency text of the pending level signal
Part, that is, terminal can the data from intelligent cipher key equipment will be carried out reception processing delay control in 101ms.Cause
And, it is ensured that the APP in terminal is normally received to the data from intelligent cipher key equipment.
Optionally, the acquisition module 41, is additionally operable to be received by microphone interface and is treated described in intelligent cipher key equipment transmission
Process level signal;
Optionally, the acquisition module 41, specifically for, after the APP starts, receiving intelligence by microphone interface close
Key equipment send described pending level signal before, obtain APP in the terminal with intelligent cipher key equipment proper communication
When reception delay parameter;
Optionally, the acquisition module 41, specifically for being received described in intelligent cipher key equipment transmission by microphone interface
After pending level signal, obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication.
Optionally, the acquisition module 41, specifically for the APP is read in the configuration file from the APP described
With reception delay parameter during intelligent cipher key equipment proper communication in terminal.
Optionally, the span for receiving delay parameter is [100 milliseconds, 300 milliseconds].
The functional realiey of the terminal is referring also to the associated description in method shown in Fig. 2-2a.
In flow chart or here any process described otherwise above or method description are construed as, expression includes
It is one or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein the suitable of shown or discussion can not be pressed
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realizing.For example, if realized with hardware, and in another embodiment, can be with well known in the art
Any one of row technology or their combination are realizing:With for the logic gates of logic function is realized to data signal
Discrete logic, the special IC with suitable combinational logic gate circuit, programmable gate array(PGA), scene
Programmable gate array(FPGA)Deng.
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
Suddenly the hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the invention can be integrated in a processing module, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated mould
Block both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as
Fruit using in the form of software function module realize and as independent production marketing or use when, it is also possible to be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
Example ", or the description of " some examples " etc. mean specific features with reference to the embodiment or example description, structure, material or spy
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example are referred to necessarily.And, the specific features of description, structure, material or feature can be any
One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art is in the principle and objective without departing from the present invention
In the case of above-described embodiment can be changed within the scope of the invention, change, replace and modification.The scope of the present invention
Limited by claims and its equivalent.
Claims (10)
1. a kind of data processing method, it is characterised in that include:
Terminal obtain application APP in the terminal with transmission delay parameter during intelligent cipher key equipment proper communication;
Audio file to be played is put into broadcasting buffer area by the terminal, is sent in the time that delay parameter specifies described, right
Audio file described to be played in the broadcasting buffer area carries out data parsing, waveform processing, signal processing and amplifying, obtains
To the corresponding level signal of the audio file to be played;
The audio file to be played corresponding level signal is sent to the intelligent key by earphone interface by the terminal
Equipment.
2. data processing method according to claim 1, it is characterised in that
Methods described also includes:Obtain the audio file to be played;
The terminal obtain APP in the terminal with transmission delay parameter during intelligent cipher key equipment proper communication, including:
After the APP starts, before obtaining the audio file to be played, the terminal obtain APP in the terminal with
Transmission delay parameter during intelligent cipher key equipment proper communication;Or,
After obtaining the audio file to be played, it is normal with intelligent cipher key equipment in the terminal that the terminal obtains APP
Transmission delay parameter during communication.
3. data processing method according to claim 1 and 2, it is characterised in that
The terminal obtains APP to be included with transmission delay parameter during intelligent cipher key equipment proper communication in the terminal:
The terminal read from the configuration file of the APP APP in the terminal with the positive normal open of intelligent cipher key equipment
Transmission delay parameter during letter;
Wherein, the span for sending delay parameter is [0 millisecond, 100 milliseconds], or, the transmission delay parameter
Value is 10 milliseconds.
4. a kind of data processing method, it is characterised in that include:
Terminal obtain application APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication;
Pending level signal is put into recording buffer area by the terminal, is received in the time that delay parameter specifies described, right
Described pending level signal in the recording buffer area carries out sampling, data processing, obtains the pending level
The corresponding audio file of signal.
5. data processing method according to claim 4, it is characterised in that
Methods described also includes:The terminal receives the described pending level letter that intelligent cipher key equipment sends by microphone interface
Number;
The terminal obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication, including:
After the APP starts, the terminal receives the described pending level that intelligent cipher key equipment sends by microphone interface
Before signal, the terminal obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication;Or
Person,
After the terminal receives the described pending level signal that intelligent cipher key equipment sends by microphone interface, the terminal
Obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication.
6. the data processing method according to claim 4 or 5, it is characterised in that
The terminal obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication, including:
The terminal read from the configuration file of the APP APP in the terminal with the positive normal open of intelligent cipher key equipment
Reception delay parameter during letter;
Wherein, the span for receiving delay parameter is [100 milliseconds, 300 milliseconds].
7. a kind of terminal, it is characterised in that include:
Acquisition module, postpones ginseng with transmission during intelligent cipher key equipment proper communication for obtaining application APP in terminal
Number;
Processing module, for sending in time for specifying of delay parameter described, audio file to be played is carried out data parsing,
Waveform processing, signal processing and amplifying, obtain the corresponding level signal of the audio file to be played;
Sending module, for the audio file to be played corresponding level signal is sent to the intelligence by earphone interface
Key devices.
8. terminal according to claim 7, it is characterised in that
The acquisition module, is additionally operable to obtain the audio file to be played;
The acquisition module, specifically for, after the APP starts, before obtaining the audio file to be played, obtaining APP and existing
With transmission delay parameter during intelligent cipher key equipment proper communication in the terminal;Or,
The acquisition module, after obtaining the audio file to be played, obtain APP in the terminal with intelligence
Transmission delay parameter during key devices proper communication.
9. a kind of terminal, it is characterised in that include:
Acquisition module, postpones ginseng with reception during intelligent cipher key equipment proper communication for obtaining application APP in terminal
Number;
Processing module, for receiving in time for specifying of delay parameter described, carries out sampling to pending level signal, data
Process, obtain the corresponding audio file of the pending level signal.
10. terminal according to claim 9, it is characterised in that
The acquisition module, is additionally operable to receive the described pending level signal that intelligent cipher key equipment sends by microphone interface;
The acquisition module, specifically for, after the APP starts, receiving the institute that intelligent cipher key equipment sends by microphone interface
Before stating pending level signal, obtain APP and postpone ginseng with reception during intelligent cipher key equipment proper communication in the terminal
Number;Or, the acquisition module, specifically for receiving the described pending level that intelligent cipher key equipment sends by microphone interface
After signal, obtain APP in the terminal with reception delay parameter during intelligent cipher key equipment proper communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310444831.3A CN103532703B (en) | 2013-09-26 | 2013-09-26 | Data processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310444831.3A CN103532703B (en) | 2013-09-26 | 2013-09-26 | Data processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103532703A CN103532703A (en) | 2014-01-22 |
CN103532703B true CN103532703B (en) | 2017-04-19 |
Family
ID=49934411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310444831.3A Active CN103532703B (en) | 2013-09-26 | 2013-09-26 | Data processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103532703B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103795544B (en) * | 2014-02-12 | 2017-04-19 | 天地融科技股份有限公司 | Audio signal transmitting method, mobile terminal and intelligent secret key device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420299A (en) * | 2008-11-28 | 2009-04-29 | 北京飞天诚信科技有限公司 | Method for enhancing stability of intelligent cipher key equipment and intelligent cipher key equipment |
CN102223234A (en) * | 2011-06-17 | 2011-10-19 | 飞天诚信科技股份有限公司 | Electronic signature system and method based on audio communication |
-
2013
- 2013-09-26 CN CN201310444831.3A patent/CN103532703B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420299A (en) * | 2008-11-28 | 2009-04-29 | 北京飞天诚信科技有限公司 | Method for enhancing stability of intelligent cipher key equipment and intelligent cipher key equipment |
CN102223234A (en) * | 2011-06-17 | 2011-10-19 | 飞天诚信科技股份有限公司 | Electronic signature system and method based on audio communication |
Also Published As
Publication number | Publication date |
---|---|
CN103532703A (en) | 2014-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109600223B (en) | Verification method, activation method, device, equipment and storage medium | |
CN103634109B (en) | Operation right authentication method and device | |
US10194318B2 (en) | Systems and methods for NFC access control in a secure element centric NFC architecture | |
US9635018B2 (en) | User identity verification method and system, password protection apparatus and storage medium | |
CN110826043B (en) | Digital identity application system and method, identity authentication system and method | |
WO2015101273A1 (en) | Security verification method, and related device and system | |
US10002174B2 (en) | System and method for maintaining device state coherency | |
CN106850503B (en) | Login-free identity authentication method and device | |
CN108475304B (en) | Method and device for associating application program and biological characteristics and mobile terminal | |
WO2017147890A1 (en) | Verification code short message display method and mobile terminal | |
CN105678553A (en) | Method, device and system for processing order information | |
CN103152329B (en) | Bluetooth is utilized to carry out identity authentication method and system | |
CN110933109B (en) | Dynamic small program authentication method and device | |
CN109102297A (en) | A kind of voidable method of payment and device | |
CN107809437B (en) | Converged communication login method and device and computer readable storage medium | |
CN103905200A (en) | Identity authentication method and system based on sound wave communications | |
CN110941821A (en) | Data processing method, device and storage medium | |
KR101633965B1 (en) | User security authentication system in internet and method thereof | |
KR100856514B1 (en) | System for sevice authentication | |
CN104901806A (en) | Method, device and system for processing virtual resources | |
KR20150100156A (en) | Method for identifying a client's request signal at game based on web | |
WO2015032255A1 (en) | Intelligent key device, mobile terminal and dynamic password output method and system | |
CN107392034A (en) | A kind of sensitive information guard method, terminal and computer-readable recording medium | |
CN103532703B (en) | Data processing method and terminal | |
CN111666590A (en) | Distributed file secure transmission method, device and system |
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 |