CN107528973A - A kind of processing method of data, terminal and audio shield - Google Patents

A kind of processing method of data, terminal and audio shield Download PDF

Info

Publication number
CN107528973A
CN107528973A CN201710720994.8A CN201710720994A CN107528973A CN 107528973 A CN107528973 A CN 107528973A CN 201710720994 A CN201710720994 A CN 201710720994A CN 107528973 A CN107528973 A CN 107528973A
Authority
CN
China
Prior art keywords
terminal
audio shield
interaction
shield
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710720994.8A
Other languages
Chinese (zh)
Other versions
CN107528973B (en
Inventor
王建林
张强
侯高鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huada Zhibao Electronic System Co Ltd
Original Assignee
Beijing Huada Zhibao Electronic System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huada Zhibao Electronic System Co Ltd filed Critical Beijing Huada Zhibao Electronic System Co Ltd
Priority to CN201710720994.8A priority Critical patent/CN107528973B/en
Publication of CN107528973A publication Critical patent/CN107528973A/en
Application granted granted Critical
Publication of CN107528973B publication Critical patent/CN107528973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

This application discloses a kind of processing method of data, terminal and audio shield, and for preserving interaction data when terminal receives incoming telephone signal, the interaction data of preservation is extracted at the end of incoming telephone signal.The embodiment of the present application method includes:Terminal establishes the voice communication with audio shield, and carries out data interaction by intended application and audio shield;When terminal monitoring is to incoming telephone signal, terminal is stored in when carrying out data interaction with audio shield in the first interaction data caused by terminal, and the Status register module in notification audio shield is stored in when audio shield and terminal carry out data interaction in the second interaction data caused by audio shield;Afterwards, terminal disconnects the voice communication with audio shield;At the end of terminal monitoring to incoming telephone signal, terminal recovers the connection with the voice communication of audio shield, and the first interaction data is extracted, while notification audio shield extracts the second interaction data, terminal is carried out data interaction by the first interaction data and the second interaction data with audio shield.

Description

A kind of processing method of data, terminal and audio shield
Technical field
The application is related to field of information security technology, more particularly to a kind of processing method of data, terminal and audio shield.
Background technology
With the development of internet and the communication technology, internet finance is in the side such as social activity, traffic, shopping of people Face is widely applied, shopping online, transfer accounts on the net, the internet finance activities such as online payment is made by increasing people With, and terminal (such as mobile phone, tablet personal computer, PC) is also indispensable as people as the carrier of internet finance Equipment, present terminal is due to the problems such as being related to fund security, account number safety, farthest to make people in using terminal Carry out protecting against the viral attack such as Malware, wooden horse during internet finance activities (such as online payment, transfer accounts on the net), Developer further develops the audio shield that can be used in terminal.
Audio shield is the load for the digital certificate of the inner identification identity of network environment and terminal environments (such as mobile phone environment) Body, it can be connected by the COBBAIF of terminal with terminal to realize the authentication of internet finance activities, can also pass through end USB (the english abbreviation at end:USB, English full name:Universal Serial Bus) interface be connected with terminal with The authentication of internet finance activities is realized, is current Web bank and terminal bank client (such as Mobile banking client End) a kind of equipment of level of security highest, before use, to need to use the terminal installation of the audio shield corresponding with audio shield Intended application (such as industrial and commercial Mobile banking's client is installed on mobile phone).
The appearance of audio shield largely solves safety problem of the terminal when carrying out internet finance activities, but If audio shield and terminal are attached by the COBBAIF of terminal, then during the use of the audio shield, if Terminal receives incoming telephone signal (terminal is that can receive the terminal of incoming telephone signal), and because audio shield occupies the audio of terminal Interface, then terminal will be switched off the voice communication between audio shield, so that ongoing between terminal and audio shield Internet finance activities is forced to stop, while caused interaction data can also be lost in terminal and audio shield.Work as incoming telephone signal Terminate (such as hung up after end of conversation, or send a telegram here and automatically hung up when not being picked up) when, the audio between terminal and audio shield is led to Letter recover after, if desired continue the internet finance activities, then need on the basis of above-mentioned caused interaction data after It is continuous to carry out, but now terminal with not having interaction data in audio shield, causes the internet finance activities not continue.
The content of the invention
This application provides a kind of processing method of data, terminal and audio shield, for carrying out telecommunications when terminal receives Number when preserve interaction data, and disconnect voice communication, suspend ongoing internet finance activities, at the end of incoming telephone signal Recover voice communication, and extract the interaction data of preservation, to continue above-mentioned internet finance activities.
Concrete technical scheme includes:
The embodiment of the present application provides a kind of processing method of data, and this method includes:
The voice communication that terminal is established between audio shield, and entered by the intended application installed in the terminal with audio shield Row data interaction, the audio shield are connected by the COBBAIF of the terminal with the terminal;
When the terminal listens to incoming telephone signal by intended application, the terminal preserves the first interaction data, first friendship Mutual data are the terminal when carrying out data interaction by the intended application and the audio shield in interaction data caused by the terminal;
The terminal by the intended application to the audio shield send first notice, this first notify be used for indicate the audio shield In Status register module preserve the second interaction data, second interaction data is that the audio shield and the terminal carry out data interaction When in interaction data caused by the audio shield;
The terminal disconnects the voice communication between the audio shield;
At the end of the terminal listens to the incoming telephone signal by the intended application, the terminal is recovered between the audio shield The voice communication connection;
The terminal extracts first interaction data by the intended application, and is sent by the intended application to the audio shield Second notice, this second notify be used for indicate that the audio shield extracts second interaction data;
The terminal carries out data interaction with the audio shield by first interaction data and the second interaction data.
Alternatively, after the voice communication that the terminal disconnects between the audio shield, this method also includes:
The voice-grade channel for the terminal that the terminal occupies the audio shield switches to second mode, the first mould by first mode Formula includes earphone channel pattern, and second mode includes outer mode playback;
After the connection that the terminal recovers the voice communication between the audio shield, this method also includes:
The voice-grade channel is switched to the first mode by the terminal by the second mode.
Alternatively, before the voice communication that the terminal disconnects between the audio shield, this method also includes:
The terminal obtains the third notice of audio shield transmission, and the third notice is used to indicate that the Status register module has been protected Deposit second interaction data.
Alternatively, this method also includes:
When the terminal listens to incoming telephone signal by intended application, the terminal triggers the terminal by the intended application Timer starts timing;
At the end of the terminal listens to the incoming telephone signal by the intended application, the terminal is triggered by the intended application The timer stops timing;
The terminal obtains target duration, during the target a length of timer start timing to the timer stop timing when It is long;
The connection that the terminal recovers the voice communication between the audio shield includes:
The terminal judges whether the target duration is less than preset time period;
If so, then the terminal recovers the connection of the voice communication between the audio shield.
The embodiment of the present application also provides the processing method of another data, and this method includes:
The voice communication that audio shield is established between terminal, and entered by the intended application installed in the terminal and the terminal Row data interaction, the audio shield are connected by the COBBAIF of the terminal with the terminal;
Before the voice communication that the terminal disconnects between the audio shield, the audio shield obtains the first notice, and this One notifies that second interaction data is the audio for indicating that the Status register module in the audio shield preserves the second interaction data The target is passed through by the terminal in interaction data caused by the audio shield, first notice when shield carries out data interaction with the terminal Using transmission, triggering execution when the transmission of first notice listens to incoming telephone signal by the terminal by the intended application;
After the voice communication that the terminal recovers between the terminal, the audio shield obtains the second notice, and this second Notify to be used to indicate that the audio shield extracts second interaction data, second notice is sent by the terminal by the intended application;
The audio shield carries out data interaction with the terminal by the first interaction data and second interaction data, and this first Interaction data by when the terminal listens to the incoming telephone signal by intended application, the terminal preserve by the intended application with In interaction data caused by the terminal during audio shield progress data interaction.
Alternatively, after the audio shield obtains the first notice, this method also includes:
The audio shield sends third notice to the terminal, and the third notice is used to indicate that the Status register module has preserved this Second interaction data.
The embodiment of the present application provides a kind of terminal, and the terminal includes:
Unit is established, for the voice communication between foundation and audio shield, and passes through the intended application installed in the terminal Data interaction is carried out with audio shield, the audio shield is connected by the COBBAIF of the terminal with the terminal;
Storage unit, should for when the terminal listens to incoming telephone signal by intended application, preserving the first interaction data First interaction data is that the terminal interacts when carrying out data interaction with the audio shield by the intended application caused by the terminal Data;
First transmitting element, for sending the first notice to the audio shield by the intended application, this first notifies to be used for Indicate that the Status register module in the audio shield preserves the second interaction data, second interaction data is the audio shield and the terminal In interaction data caused by the audio shield during progress data interaction;
Unit is disconnected, for disconnecting the voice communication between the audio shield;
Recover connection unit, at the end of listening to the incoming telephone signal by the intended application when the terminal, recover with The connection of the voice communication between the audio shield;
Extraction unit, for extracting first interaction data by the intended application;
Second transmitting element, for sending the second notice to the audio shield by the intended application, this second notifies to be used for Indicate that the audio shield extracts second interaction data;
Data interaction unit, for carrying out data by first interaction data and the second interaction data with the audio shield Interaction.
Alternatively, the terminal also includes:
First switch unit, after the voice communication between switching units disconnection and the audio shield, by this The voice-grade channel for the terminal that audio shield occupies switches to second mode by first mode, and first mode includes earphone passage mould Formula, second mode include outer mode playback;
Second switch unit, will after the connection for recovering the voice communication between the audio shield in the terminal The voice-grade channel switches to the first mode by the second mode.
Alternatively, the terminal also includes:
First acquisition unit, before the voice communication between switching units disconnection and the audio shield, obtain The third notice that the audio shield is sent, the third notice are used to indicate that the Status register module has preserved second interaction data.
Alternatively, the terminal also includes:
First trigger element, for when the terminal listens to incoming telephone signal by intended application, passing through the intended application The timer for triggering the terminal starts timing;
Second trigger element, at the end of listening to the incoming telephone signal by the intended application when the terminal, by this Intended application triggers the timer and stops timing;
Second acquisition unit, for obtaining target duration, a length of timer starts timing to the timer during target Stop the duration of timing;
Judging unit, for judging whether the target duration is less than preset time period, if the judging unit determines the target Length is less than preset time period, then triggers the recovery connection unit and perform corresponding operation.
The application also provides a kind of audio shield, and the audio shield includes:
Establish unit, for the voice communication between foundation and terminal, and by the intended application installed in the terminal with The terminal carries out data interaction, and the audio shield is connected by the COBBAIF of the terminal with the terminal;
First acquisition unit, before the voice communication between terminal disconnection and the audio shield, obtain first Notice, this first notify for indicate the Status register module in the audio shield preserve the second interaction data, this second interaction number According to, in interaction data caused by the audio shield, first notice is by the terminal when carrying out data interaction for the audio shield and the terminal Sent by the intended application, the transmission of first notice triggers when listening to incoming telephone signal by the intended application by the terminal Perform;
Second acquisition unit, after the voice communication between terminal recovery and the terminal, it is logical to obtain second Know, this second notifies to be used to indicate that the audio shield extracts second interaction data, and second notice by the terminal passes through the target Using transmission;
Data interaction unit, for carrying out data friendship by the first interaction data and second interaction data with the terminal Mutually, first interaction data is by when the terminal listens to the incoming telephone signal by intended application, what the terminal preserved passes through this In interaction data caused by the terminal when intended application and audio shield progress data interaction.
Alternatively, the audio shield also includes:
Transmitting element, after obtaining the first notice in the first acquisition unit, third notice is sent to the terminal, should Third notice is used to indicate that the Status register module has preserved second interaction data.
As can be seen from the above technical solutions, the embodiment of the present application has advantages below:
The voice communication that terminal is established between audio shield, and data interaction is carried out by intended application and audio shield, when When terminal monitoring is to incoming telephone signal, terminal is preserved when intended application carries out data interaction with audio shield and handed over caused by terminal first Mutual data, and the Status register module in notification audio shield is stored in the second friendship caused by audio shield when carrying out above-mentioned data interaction Mutual data;Afterwards, terminal disconnects the voice communication between audio shield;At the end of terminal monitoring to incoming telephone signal, then recover The connection of voice communication between audio shield, and the first interaction data is extracted, while notification audio shield extraction the second interaction number According to afterwards, terminal carries out data interaction with audio shield by the first interaction data and the second interaction data.The embodiment of the present application When terminal receives incoming telephone signal, before the voice communication that terminal disconnects between audio shield, in terminal and audio shield Preserve current interaction data so that when ongoing internet finance activities stops, current interaction data will not be lost Abandon;At the end of incoming telephone signal, after the connection that terminal recovers the voice communication between audio shield, terminal and audio shield energy It is enough to continue internet finance activities using the interaction data preserved.
Brief description of the drawings
Fig. 1 is processing method one embodiment schematic diagram of data in the embodiment of the present application;
Fig. 2 is another embodiment schematic diagram of processing method of data in the embodiment of the present application;
Fig. 3 is another embodiment schematic diagram of processing method of data in the embodiment of the present application;
Fig. 4 is another embodiment schematic diagram of processing method of data in the embodiment of the present application;
Fig. 5 is another embodiment schematic diagram of processing method of data in the embodiment of the present application;
Fig. 6 is one embodiment schematic diagram of terminal in the embodiment of the present application;
Fig. 7 is another embodiment schematic diagram of terminal in the embodiment of the present application;
Fig. 8 is one embodiment schematic diagram of the embodiment of the present application sound intermediate frequency shield;
Fig. 9 is another embodiment schematic diagram of the embodiment of the present application sound intermediate frequency shield;
Figure 10 is one embodiment schematic diagram of the embodiment of the present application sound intermediate frequency shield;
Figure 11 is one embodiment schematic diagram of terminal in the embodiment of the present application.
Embodiment
The embodiment of the present application provides a kind of processing method of data, terminal and audio shield, for being received when terminal Interaction data is preserved during incoming telephone signal, and disconnects voice communication, suspends ongoing internet finance activities, works as incoming telephone signal At the end of recover voice communication, and the interaction data of preservation is extracted, to continue above-mentioned internet finance activities.
For ease of understanding, the idiographic flow in the embodiment of the present application is described below, referring to Fig. 1, the application is real Applying processing method one embodiment of data in example includes:
101st, the voice communication that terminal is established between audio shield;
Connected between terminal and audio shield by the COBBAIF of terminal, afterwards, in a network environment, terminal is established and sound Voice communication between frequency shield, and data interaction is carried out by the intended application in terminal and audio shield.
It should be noted that the terminal in the embodiment of the present application be with adapt to audio shield adapter COBBAIF, Possesses the terminal device for receiving the communication functions such as incoming telephone signal, the terminal can be mobile terminal device, for example, handheld device (such as mobile phone, tablet personal computer), wearable device (such as have the intelligent earphone and motion bracelet for receiving incoming telephone signal function), It is understood that in actual applications, terminal can also be the tool of other forms in addition to it can be mobile terminal device The standby terminal device for receiving the communication functions such as incoming telephone signal, for example, PC, network computer, are not limited specifically herein.
It should also be noted that, the intended application installed in terminal is corresponding with audio shield, illustrated by mobile phone of terminal, Assuming that the audio shield is the audio shield that industrial and commercial bank releases, then the intended application on mobile phone is just Mobile banking of industrial and commercial bank Client.It should be noted that the use of audio shield can be in audio shield client, audio shield client corresponding to terminal installation End is mainly managed to audio shield, such as can check the connection status of audio shield, sequence number by the audio shield client, Modify password, certificate etc. is checked, can also be after terminal establishes the audio connection between audio shield directly by installed in end The intended application at end is managed to audio shield, and specific this does not limit.
102nd, when terminal listens to incoming telephone signal by intended application, terminal preserves the first interaction data;
Terminal is established after the voice communication between audio shield, it is possible to carries out data by intended application and audio shield Interaction, if during carrying out data interaction between terminal and audio shield, terminal has been listened to come telecommunications by intended application Number when, terminal will preserve the first interaction data, and first interaction data is that terminal passes through intended application and audio shield and carries out data In interaction data caused by terminal during interaction.
Handed over it should be noted that first interaction data includes terminal with what audio shield had been carried out caused by terminal Mutual data and in the data or instruction not interacted caused by terminal with audio shield.
103rd, terminal sends the first notice to audio shield, and first notifies the Status register module for indicating audio shield to preserve Second interaction data;
When terminal listens to incoming telephone signal by intended application, terminal sends the first notice, the first notice to audio shield Status register module for indicating audio shield preserves the second interaction data, and second interaction data is that audio shield is carried out with terminal In interaction data caused by audio shield during data interaction.
It should be noted that second interaction data include that terminal and audio shield carried out caused by audio shield Interaction data and in the data or instruction not interacted caused by audio shield with terminal.
Do not fixed to the notice of audio shield transmission first with terminal it should also be noted that, terminal preserves the first interaction data Priority sequential, step 102 can be first carried out, step 103 can also be first carried out, step 102 and step can also be performed simultaneously 103, do not limit herein specifically.
104th, terminal disconnects the voice communication between audio shield;
After terminal saves the first interaction data and audio shield saves the second interaction data, terminal will be switched off with Voice communication between audio shield.It should be noted that in the present embodiment, to ensure sound of the terminal between disconnection and audio shield Before frequency communicates, the Status register module in audio shield saves the second interaction data, then is disconnected in terminal between audio shield Voice communication before, terminal can be used to indicate that the Status register module of audio shield to have been protected by obtain that audio shield sends The third notice of the second interaction data is deposited to determine, it is to be understood that in actual applications, terminal is except can be by obtaining The third notice for taking audio shield to send determines that Status register module is saved outside the second interaction data, can also pass through in terminal Intended application sends warning tone again after the third notice for not receiving audio shield transmission in the first preset time period after the first notice The Status register module of frequency shield preserves the second interaction data, does not limit herein specifically.
It should be noted that terminal can not also obtain the third notice of audio shield transmission, and it is logical to send first in terminal Target timer when knowing in triggering terminal starts timing, should when target timer institute timing length reaches the second preset time period Terminal just disconnects the voice communication between audio shield.Terminal specifically meets which kind of condition disconnects and audio shield shield in the present embodiment Between voice communication do not limit herein.
105th, at the end of terminal listens to incoming telephone signal by intended application, terminal recovers the audio between audio shield Communication;
After the voice communication that terminal disconnects between audio shield, if terminal listens to incoming telephone signal by intended application Terminate, then terminal recovers the voice communication between audio shield.
It should be noted that in the present embodiment, incoming telephone signal terminates be that terminal is hung up or conversed after end of conversation The other end hang up or send a telegram here automatically hanging up when not being picked up, do not limit herein specifically.
106th, terminal extracts the first interaction data;
After terminal recovers the voice communication between audio shield, terminal, should by the first interaction data in extraction step 102 First interaction data include that terminal and audio shield carried out in interaction data caused by terminal and caused by terminal The data not interacted with audio shield or instruction.
107th, terminal sends the second notice to audio shield, and second notifies to be used to indicate that audio shield extracts the second interaction data;
Terminal recover and audio shield between voice communication after, terminal will be sent to audio shield second notice, this second lead to Know the second interaction data preserved for indicating the Status register module in audio shield extraction audio shield, the second interaction data bag Include that terminal and audio shield carried out in interaction data caused by audio shield and do not entering caused by audio shield with terminal The data of row interaction or instruction.
Do not fixed to the notice of audio shield transmission second with terminal it should also be noted that, terminal extracts the first interaction data Priority sequential, step 106 can be first carried out, step 107 can also be first carried out, step 106 and step can also be performed simultaneously 107, do not limit herein specifically.
108th, terminal carries out data interaction by the first interaction data and the second interaction data and audio shield.
After terminal extracts the first interaction data and audio shield extracts the second interaction data, terminal can with audio shield To continue data interaction by first interaction data and the second interaction data.
In the embodiment of the present application, the voice communication that terminal is established between audio shield, and pass through intended application and audio Shield carries out data interaction, when terminal monitoring is to incoming telephone signal, when terminal preserves intended application with audio shield progress data interaction In the first interaction data caused by terminal, and the Status register module in notification audio shield is stored in when carrying out above-mentioned data interaction Second interaction data caused by audio shield;Afterwards, terminal disconnects the voice communication between audio shield;When terminal monitoring to incoming call At the end of signal, then recover the connection of the voice communication between audio shield, and extract the first interaction data, while notification audio Shield extracts the second interaction data, and afterwards, terminal carries out data with audio shield by the first interaction data and the second interaction data Interaction.The embodiment of the present application is when terminal receives incoming telephone signal, before the voice communication that terminal disconnects between audio shield, Current interaction data is preserved in terminal and audio shield so that when ongoing internet finance activities stops, currently Interaction data will not abandon;At the end of incoming telephone signal, after the connection that terminal recovers the voice communication between audio shield, Terminal and audio shield can use the interaction data preserved to continue internet finance activities.
Terminal is recovered to go back except can recover at the end of incoming telephone signal is listened to the voice communication between audio shield Can further by judging terminal monitoring at the end of incoming telephone signal with target of the terminal monitoring between during incoming telephone signal when It is long whether to be less than preset time period to determine to recover the voice communication between audio shield, below to specific in the embodiment of the present application Flow is described in detail, and referring specifically to Fig. 2, another embodiment of the processing method of data includes in the embodiment of the present application:
201st, the voice communication that terminal is established between audio shield;
In the present embodiment, step 201 is similar with the step 101 in foregoing embodiment illustrated in fig. 1, specifically no longer superfluous herein State.
202nd, when terminal listens to incoming telephone signal by intended application, terminal preserves the first interaction data, terminal triggering Timer starts timing;
In the present embodiment, in step 202 when terminal listens to incoming telephone signal by intended application, terminal preserves the One interaction data is similar with the step 201 in foregoing embodiment illustrated in fig. 1, and specific here is omitted.
In addition, when terminal listens to incoming telephone signal by intended application, terminal also opens the timer in triggering terminal Beginning timing.
203rd, terminal sends the first notice to audio shield, and first notifies the Status register module for indicating audio shield to preserve Second interaction data;
204th, terminal disconnects the voice communication between audio shield;
In the present embodiment, the step 103 in step 203 to step 204 and foregoing embodiment illustrated in fig. 1 is to step 104 Similar, specific here is omitted.
It should be noted that terminal preserves the first interaction data, triggering timing device starts timing and terminal and sent out to audio shield The first notice is sent to first carry out step 202 without the priority sequential of fixation, step 203 can also be first carried out, can also be simultaneously Step 202 and step 203 are performed, is not limited herein specifically.
205th, at the end of terminal listens to incoming telephone signal by intended application, terminal triggering timing device stops timing;
After the voice communication that terminal disconnects between audio shield, if terminal listens to incoming telephone signal by intended application Terminate, then terminal triggering timing device stops timing.It should be noted that in the present embodiment, incoming telephone signal terminate can be The other end that terminal is hung up or conversed after end of conversation is hung up or sent a telegram here automatically hanging up when not being picked up, it is specific this Place does not limit.
206th, terminal obtains target duration;
After terminal triggering timing device stops timing, terminal will obtain target duration, and a length of timer starts during the target Timing stops the duration of timing to the timer.
207th, terminal judges whether target duration is less than preset time period, if it is not, step 208 is then performed, if so, then performing step Rapid 209;
After terminal obtains target duration, it will determine that whether target duration is less than preset time period, if terminal determines target Length is not less than preset time period, then performs step 208, if terminal determines that target duration is less than preset time period, performs step 209.
It should be noted that the preset time period can be configured according to being actually needed by intended application in terminal, example Such as, it is 10 minutes that can set preset time period, and it is 1 hour that can also set preset time period, is not limited herein specifically.
208th, terminal performs other flows;
If terminal determines that target duration is not less than preset time period, the audio that terminal can no longer be recovered between audio shield is led to Letter, overtime prompting can also be carried out by modes such as vibration or jingle bells, do not limited herein specifically.
209th, terminal recovers the voice communication between audio shield;
If terminal determines that target duration is less than preset time period, then terminal recovers the voice communication between audio shield.
210th, terminal extracts the first interaction data;
211st, terminal sends the second notice to audio shield, and second notifies to be used to indicate that audio shield extracts the second interaction data;
212nd, terminal carries out data interaction by the first interaction data and the second interaction data and audio shield.
In the present embodiment, the step 106 in step 210 to step 212 and foregoing embodiment illustrated in fig. 1 is to step 108 Similar, specific here is omitted.
Do not fixed to the notice of audio shield transmission second with terminal it should also be noted that, terminal extracts the first interaction data Priority sequential, step 210 can be first carried out, step 211 can also be first carried out, step 210 and step can also be performed simultaneously 211, do not limit herein specifically.
In the embodiment of the present application, the voice communication that terminal is established between audio shield, and pass through intended application and audio Shield carries out data interaction, when terminal monitoring is to incoming telephone signal, when terminal preserves intended application with audio shield progress data interaction Timer on the first interaction data caused by terminal, triggering terminal starts timing, and the Status register in notification audio shield Module is stored in the second interaction data caused by audio shield when carrying out above-mentioned data interaction;Afterwards, terminal disconnect with audio shield it Between voice communication;At the end of terminal monitoring to incoming telephone signal, the timer in triggering terminal stops timing, and obtains target Duration, when terminal determines that target duration is less than preset time period, then recover the connection of the voice communication between audio shield, and carry The first interaction data is taken, while notification audio shield extracts the second interaction data, afterwards, terminal interacts number with audio shield by first According to this and the second interaction data carries out data interaction.The embodiment of the present application disconnects when terminal receives incoming telephone signal in terminal Before voice communication between audio shield, current interaction data is preserved in terminal and audio shield so that carry out when Internet finance activities when stopping, current interaction data will not abandon;At the end of incoming telephone signal, in terminal recovery and sound After the connection of voice communication between frequency shield, terminal and audio shield can use the interaction data preserved to continue to interconnect Net finance activities.
Fig. 1 and Fig. 2 is that the processing method of data is described from end side, below from audio shield side to data at Reason method is described, and referring specifically to Fig. 3, another embodiment of the processing method of data includes in the embodiment of the present application:
301st, the voice communication that audio shield is established between terminal;
Connected between audio shield and terminal by the COBBAIF of terminal, afterwards, in a network environment, audio shield establish with Voice communication between terminal, and data interaction is carried out by the intended application in terminal and terminal.
302nd, audio shield obtains the first notice that terminal is sent, and first notifies the Status register module for indicating audio shield Preserve the second interaction data;
Before the voice communication that the terminal disconnects between the audio shield, it is logical that the audio shield obtains first Know, this first notify for indicate the Status register module in audio shield preserve the second interaction data, the second interaction data is sound Sent out when frequency shield carries out data interaction with terminal in interaction data caused by audio shield, the first notice by terminal by intended application Send, triggering execution when the transmission of the first notice listens to incoming telephone signal by terminal by intended application.It should be noted that this What two interaction datas included that terminal and audio shield carried out produces in interaction data caused by audio shield and in audio shield The data not interacted with terminal or instruction.It should also be noted that, voice communication between terminal and audio shield is disconnected Opening can be that disconnection or terminal are monitored by intended application automatically when terminal listens to incoming telephone signal by intended application To after incoming telephone signal, an instruction is sent to audio shield, audio shield is disconnected the voice communication between terminal, specifically herein not Limit.
303rd, audio shield obtains the second notice that terminal is sent, and second notifies to be used to indicate audio shield extraction the second interaction number According to;
After the voice communication that terminal recovers between audio shield, audio shield obtains the second notice, and second notice is used The second interaction data is extracted in instruction audio shield, the second notice is sent by terminal by intended application.It should be noted that terminal The recovery of voice communication between audio shield can be terminal listened to by intended application it is automatic extensive at the end of incoming telephone signal Multiple or terminal is listened to after incoming telephone signal terminates by intended application, and terminal connects with the audio that audio shield is attached The state of mouth is changed into first mode from second mode, and audio shield is recovered and end after detecting the state change by the COBBAIF Voice communication between end, is not limited specifically herein.
304th, audio shield carries out data interaction by the first interaction data and the second interaction data and terminal.
When terminal listens to incoming telephone signal by intended application, terminal will preserve the first interaction data, first interaction Data are terminal when carrying out data interaction by intended application and audio shield in interaction data caused by terminal.Need what is illustrated It is that what first interaction data included that terminal and audio shield carried out produces in interaction data caused by terminal and in terminal The raw data not interacted with audio shield or instruction.The first interaction data is extracted in terminal and audio shield extraction second is handed over After mutual data, terminal continues data by first interaction data and the second interaction data with audio shield can and handed over Mutually.
In the embodiment of the present application, the voice communication that audio shield is established between terminal, and pass through intended application and terminal Data interaction is carried out, before the voice communication that terminal disconnects between audio shield, audio shield obtains the first notice that terminal is sent It is caused in audio shield during indicating that the Status register module of audio shield preserves intended application and audio shield progress data interaction Second interaction data;After the voice communication that terminal recovers between audio shield, audio shield obtains the second notice that terminal is sent To indicate that audio shield extracts the second interaction data, and extracted on the first interaction data and audio shield by being extracted in terminal Second interaction data continues data interaction.The embodiment of the present application when terminal receives incoming telephone signal, terminal disconnect with Before voice communication between audio shield, current interaction data is preserved in terminal and audio shield so that when ongoing When internet finance activities stops, current interaction data will not abandon;At the end of incoming telephone signal, in terminal recovery and audio After the connection of voice communication between shield, terminal and audio shield can use the interaction data preserved to continue internet Finance activities.
Embodiment corresponding to Fig. 1 to Fig. 2 is that the processing method of data is described from end side, real corresponding to Fig. 3 It is that the processing method of data is described from audio shield side to apply example, next by from the data interaction angle of terminal and audio shield Spend and the processing method of data is elaborated, referring specifically to Fig. 4, another reality of the processing method of data in the embodiment of the present application Applying example includes:
401st, in terminal installation targets application;
Answered before internet finance activities is carried out using audio shield, it is necessary to install target corresponding with audio shield in terminal With using terminal as mobile phone citing, it is assumed that the audio shield is the audio shield that industrial and commercial bank releases, then the target on mobile phone Using just be Mobile banking of industrial and commercial bank client.It should be noted that the use of audio shield is also required in sound corresponding to terminal installation Frequency shield client, the audio shield client are mainly managed to audio shield, such as can be checked by the audio shield client The connection status of audio shield, sequence number, Modify password, check certificate etc..
It should be noted that the terminal in the embodiment of the present application be with adapt to audio shield adapter COBBAIF, Possesses the terminal device for receiving the communication functions such as incoming telephone signal, the terminal can be mobile terminal device, for example, handheld device (such as mobile phone, tablet personal computer), wearable device (such as have the intelligent earphone and motion bracelet for receiving incoming telephone signal function), It is understood that in actual applications, terminal can also be the tool of other forms in addition to it can be mobile terminal device The standby terminal device for receiving the communication functions such as incoming telephone signal, for example, PC, network computer, are not limited specifically herein.
402nd, the voice communication that terminal is established between audio shield;
Connected between terminal and audio shield by the COBBAIF of terminal, afterwards, in a network environment, terminal is established and sound Voice communication between frequency shield.
403rd, data interaction is carried out between terminal and audio shield;
Terminal carries out data interaction by the intended application being arranged in terminal with audio shield.
404th, when terminal listens to incoming telephone signal by intended application, terminal preserves the first interaction data;
In the present embodiment, step 404 is similar with the step 102 in foregoing embodiment illustrated in fig. 1, specifically no longer superfluous herein State.
405th, terminal sends the first notice to audio shield;
When terminal listens to incoming telephone signal by intended application, terminal sends the first notice to audio shield, and audio shield obtains The first notice of terminal transmission is got, the Status register module for indicating audio shield is preserved into the second interaction data, second interaction In interaction data caused by audio shield when data are audio shield and terminal progress data interaction.It should be noted that second friendship Mutual data include that terminal and audio shield carried out interaction data caused by audio shield and caused by audio shield not The data interacted with terminal or instruction.
It should be noted that terminal the first interaction data of preservation sends the first notice without fixation with terminal to audio shield Priority sequential, step 404 can be first carried out, step 405 can also be first carried out, step 404 and step can also be performed simultaneously 405, do not limit herein specifically.
406th, audio shield sends third notice to terminal;
After the Status register module of audio shield saves the second interaction data, third notice will be sent to terminal, be used for Indicate that the Status register module of audio shield has saved the second interaction data.
407th, terminal disconnects the voice communication between audio shield;
When terminal obtains the third notice of audio shield transmission, terminal will be switched off the voice communication between audio shield.
408th, terminal switching voice-grade channel pattern;
After the voice communication that terminal disconnects between audio shield, the voice-grade channel for the terminal that terminal occupies audio shield Second mode is switched to by first mode, the first mode includes earphone channel pattern, and the second mode includes outer mode playback.Eventually End switching voice-grade channel pattern process be specially:Terminal sends a finger by low layer driving of the intended application to terminal itself Order, the voice-grade channel that the instruction is used for instruction terminal switch to outer mode playback by earphone channel pattern, now, earphone channel pattern 0 is converted to by 1 so that the earphone such as terminal release earphone left and right acoustic channels, earphone Mike and ground wire leads in the seizure condition of terminal The first peripheral resources taken during road pattern;Correspondingly, the voice-grade channel of terminal switches to outer mode playback by earphone channel pattern When, outer mode playback is converted to 1 in the seizure condition of terminal by 0 so that terminal occupied terminal loudspeaker and outer to put Mike etc. outer The second required peripheral resources during mode playback, make it that terminal can still pass through when audio shield is not pulled out COBBAIF Take the second peripheral resources and make it that the outer mode playback of terminal is available.
409th, at the end of terminal listens to incoming telephone signal by intended application, terminal recovers the audio between audio shield Communication;
410th, terminal extracts the first interaction data;
In the present embodiment, the step 105 in step 409 to step 410 and foregoing embodiment illustrated in fig. 1 is to step 106 Similar, specific here is omitted.
It should be noted that after the connection that terminal recovers the voice communication between audio shield, terminal can be by sound The voice-grade channel for the terminal that frequency shield occupies switches to first mode again by second mode, specifically, in terminal recovery and audio After the connection of voice communication between shield, terminal sends an instruction by low layer driving of the intended application to terminal itself, The voice-grade channel that the instruction is used for instruction terminal switches to earphone channel pattern by outer mode playback, and now, earphone channel pattern exists The seizure condition of terminal is converted to 1 by 0 so that terminal resumes the earphones such as earphone left and right acoustic channels, earphone Mike and ground wire The first peripheral resources that channel pattern discharges in a step 408;Correspondingly, the voice-grade channel of terminal switches to ear by outer mode playback During machine channel pattern, outer mode playback is converted to 0 in the seizure condition of terminal by 1 so that terminal discharges terminal speaker and outer Put the second peripheral resources that the outer mode playback such as Mike takes in a step 408.
411st, terminal sends the second notice to audio shield;
After terminal recovers the voice communication between audio shield, terminal will send the second notice to audio shield, and audio shield obtains After taking second notice, audio shield will extract the second interaction data of Status register module preservation.
It should be noted that terminal the first interaction data of extraction sends the second notice without fixation with terminal to audio shield Priority sequential, step 410 can be first carried out, step 411 can also be first carried out, step 410 and step can also be performed simultaneously 411, do not limit herein specifically.
412nd, terminal carries out data interaction by the first interaction data and the second interaction data and audio shield.
In the present embodiment, step 412 is similar with the step 108 in foregoing embodiment illustrated in fig. 1, specifically no longer superfluous herein State.
In the embodiment of the present application, the voice communication that terminal is established between audio shield, and pass through intended application and audio Shield carries out data interaction, when terminal monitoring is to incoming telephone signal, when terminal preserves intended application with audio shield progress data interaction In the first interaction data caused by terminal, and the Status register module in notification audio shield is stored in when carrying out above-mentioned data interaction Second interaction data caused by audio shield;Afterwards, audio shield is sent third notice to terminal and protected with instruction state registration module The second interaction data is deposited, then, terminal disconnects the voice communication between audio shield, and the audio for the terminal that audio shield is occupied Passage switches to second mode by first mode;At the end of terminal monitoring to incoming telephone signal, then recover between audio shield The connection of voice communication, and second mode is switched into first mode again, and the first interaction data is extracted, while notification audio Shield extracts the second interaction data, and afterwards, terminal carries out data with audio shield by the first interaction data and the second interaction data Interaction.The embodiment of the present application is when terminal receives incoming telephone signal, before the voice communication that terminal disconnects between audio shield, Current interaction data is preserved in terminal and audio shield so that when ongoing internet finance activities stops, currently Interaction data will not abandon;At the end of incoming telephone signal, after the connection that terminal recovers the voice communication between audio shield, Terminal and audio shield can use the interaction data preserved to continue internet finance activities.
For the embodiment of Fig. 4 descriptions, below the specific application scenarios of example one to help to understand Fig. 4 technical side Case:
On May 10th, 2017, Xiao Ming is mounted with Mobile banking of industrial and commercial bank client on mobile phone, while is mounted with audio shield pair The audio shield client answered.On June 15th, 2017, it is small it is red borrowed money 1000 yuan to Xiao Ming, Xiao Ming's just work by being installed on mobile phone Row Mobile banking client carries out remittance of transferring accounts to small red corresponding account.Then, Xiao Ming passes through the industrial and commercial bank on mobile phone Mobile banking's client has carried out following operation:First step:Into personal Web bank's page, select " remittance of transferring accounts ", enter Enter industrial and commercial bank's remittance page, fill in remittance information;Second step:Industrial and commercial bank's remittance page after mobile phone ejection renewal, asks Xiao Ming to confirm Remittance information;Third step:Xiao Ming confirm to click on after remittance information is errorless on industrial and commercial bank's remittance page " it is determined that " button carry out it is true Recognize;Four steps:Mobile phone is verified by Mobile banking of industrial and commercial bank client to digital certificate in audio shield (to ensure remittance Security);5th step:After verifying certificate, mobile phone is communicated by Mobile banking of industrial and commercial bank client with audio shield;The Six steps:Mobile banking of industrial and commercial bank client ejection Password Input frame, Xiao Ming input after password and click on " it is determined that " button;7th step Suddenly:Password Input is correct and mobile phone is by Mobile banking of the industrial and commercial bank client ejection audio shield signature page after verify successfully, now Audio shield shows screen display remittance information;8th step:Xiao Ming's verification remittance information is correct, positive to press subaudio frequency for the first time The acknowledgement key (confirming successfully to need by acknowledgement key twice) of shield.Now, it is (i.e. next to receive the small phone just made for the mobile phone of Xiao Ming Electric signal), mobile phone listens to the incoming telephone signal by Mobile banking of industrial and commercial bank client, and mobile phone just preserves first step to the 8th step In rapid as caused by mobile phone by Mobile banking of industrial and commercial bank client data (i.e. the first interaction data), and to the audio shield being connected The first notice is sent, after audio shield receives first notice, first step is preserved extremely in the Status register module of audio shield In 8th step as caused by audio shield data (i.e. the second interaction data), after audio shield keeps the second interaction data, just to Mobile phone sends third notice, after mobile phone receives third notice, just can determine that audio shield has kept the second interaction data, Mobile phone just disconnects the voice communication between audio shield, and the earphone channel pattern that audio shield occupies is switched to and puts mould outside by mobile phone Formula, so on the premise of Xiao Ming is not from the COBBAIF extraction audio shield of mobile phone, release Xiao Ming is entered by mobile phone industrial and commercial bank The audio shield peripheral resources of mobile phone first occupied under earphone channel pattern when the personal technical account of row is remitted money, when Xiao Ming selects When answering small firm phone, Xiao Ming and the small sound that can just hear other side.Xiao Ming is small just after telephone number on mobile phone is seen, When positive plan is answered, small mobile phone just over there is because poor signal is automatically hung up, and now the mobile phone of Xiao Ming just passes through industrial and commercial bank's hand Machine bank client, which listens to incoming telephone signal, to be terminated, and audio shield reacquires the first peripheral resources under earphone channel pattern, and The second peripheral resources taken under release peripheral mode, the mobile phone of Xiao Ming recover the voice communication between audio shield, Xiao Ming again Mobile phone recover the voice communication between audio shield after, just extract the first interaction data preserved before, and to audio shield hair After sending the second notice, audio shield to receive second notice, the second interaction data, Ran Hou little are also extracted from Status register module It is bright to continue then the 8th step on the basis of the first interaction data of mobile phone extraction and the second interaction data of audio shield extraction The rapid operation carried out below, without being operated again since first step.
Embodiment corresponding to Fig. 4 is that the voice communication that terminal recovers between audio shield is terminated listening to incoming telephone signal Shi Huifu, and actually terminal can also be further by judging that terminal monitoring arrives at the end of incoming telephone signal with terminal monitoring Whether target duration between during electric signal is less than preset time period to determine to recover the voice communication between audio shield, below from The data interaction angle of terminal and audio shield elaborates to the processing method of data in this case, referring specifically to figure 5, another embodiment of processing method of data includes in the embodiment of the present application:
501st, in terminal installation targets application;
502nd, the voice communication that terminal is established between audio shield;
503rd, data interaction is carried out between terminal and audio shield;
In the present embodiment, the step 401 in step 501 to step 503 and foregoing embodiment illustrated in fig. 4 is to step 403 Similar, specific here is omitted.
504th, when terminal listens to incoming telephone signal by intended application, terminal preserves the first interaction data, and triggers end Timer on end starts timing;
In the present embodiment, step 504 is similar with the step 202 in foregoing embodiment illustrated in fig. 2, specifically no longer superfluous herein State.
505th, terminal sends the first notice to audio shield;
506th, audio shield sends third notice to terminal;
507th, terminal disconnects the voice communication between audio shield;
508th, terminal switching voice-grade channel pattern;
In the present embodiment, the step 405 in step 505 to step 508 and foregoing embodiment illustrated in fig. 4 is to step 408 Similar, specific here is omitted.
It should be noted that terminal preserves the first interaction data and triggering timing device starts timing and sent out with terminal to audio shield The first notice is sent to first carry out step 504 without the priority sequential of fixation, step 505 can also be first carried out, can also be simultaneously Step 504 and step 505 are performed, is not limited herein specifically.
509th, at the end of terminal listens to incoming telephone signal by intended application, terminal triggering timing device stops timing, and Obtain target duration;
In the present embodiment, the terminal triggering timing device in step 509 stops in timing and foregoing embodiment illustrated in fig. 2 Step 205 is similar, and the terminal acquisition target duration in step 509 is similar with the step 206 in the embodiment shown in earlier figures 2, It is specific that here is omitted.
It should be noted that after terminal obtains target duration, it will determine that whether target duration is less than preset time period.
510th, terminal recovers the voice communication between audio shield;
If terminal determines that target duration is less than preset time period, then terminal recovers the voice communication between audio shield.
511st, terminal extracts the first interaction data;
In the present embodiment, step 511 is similar with the step 106 in foregoing embodiment illustrated in fig. 1, specifically no longer superfluous herein State.
512nd, terminal sends the second notice to audio shield;
In the present embodiment, step 512 is similar with the step 411 in foregoing embodiment illustrated in fig. 4, specifically no longer superfluous herein State.
513rd, terminal carries out data interaction by the first interaction data and the second interaction data and audio shield.
In the present embodiment, step 513 is similar with the step 108 in foregoing embodiment illustrated in fig. 1, specifically no longer superfluous herein State.
It should be noted that terminal the first interaction data of extraction sends the second notice without fixation with terminal to audio shield Priority sequential, step 511 can be first carried out, step 512 can also be first carried out, step 511 and step can also be performed simultaneously 512, do not limit herein specifically.
In the embodiment of the present application, the voice communication that terminal is established between audio shield, and pass through intended application and audio Shield carries out data interaction, when terminal monitoring is to incoming telephone signal, when terminal preserves intended application with audio shield progress data interaction Timer on the first interaction data caused by terminal, triggering terminal starts timing, and the Status register in notification audio shield Module is stored in the second interaction data caused by audio shield when carrying out above-mentioned data interaction;Afterwards, audio shield sends the to terminal Three notices have preserved the second interaction data with instruction state registration module, and then, the audio that terminal is disconnected between audio shield is led to Letter, and the voice-grade channel for the terminal that audio shield is occupied switches to second mode by first mode;When terminal monitoring arrival telecommunications At the end of number, the timer in triggering terminal stops timing, and obtains target duration, when terminal determines target duration less than preset During duration, then recover the connection of the voice communication between audio shield, and extract the first interaction data, while notification audio shield carries The second interaction data is taken, afterwards, terminal carries out data interaction with audio shield by the first interaction data and the second interaction data. The embodiment of the present application is when terminal receives incoming telephone signal, before the voice communication that terminal disconnects between audio shield, terminal And current interaction data is preserved in audio shield so that when ongoing internet finance activities stops, current friendship Mutual data will not abandon;At the end of incoming telephone signal, after the connection that terminal recovers the voice communication between audio shield, terminal And audio shield can use the interaction data preserved to continue internet finance activities.
For the embodiment of Fig. 5 descriptions, below the specific application scenarios of example one to help to understand Fig. 5 technical side Case:
On May 10th, 2017, Xiao Ming is mounted with Mobile banking of industrial and commercial bank client on mobile phone, while is mounted with audio shield pair The audio shield client answered.On June 15th, 2017, it is small it is red borrowed money 1000 yuan to Xiao Ming, Xiao Ming's just work by being installed on mobile phone Row Mobile banking client carries out remittance of transferring accounts to small red corresponding account.Then, Xiao Ming passes through the industrial and commercial bank on mobile phone Mobile banking's client has carried out following operation:First step:Into personal Web bank's page, select " remittance of transferring accounts ", enter Enter industrial and commercial bank's remittance page, fill in remittance information;Second step:Industrial and commercial bank's remittance page after mobile phone ejection renewal, asks Xiao Ming to confirm Remittance information;Third step:Xiao Ming confirm to click on after remittance information is errorless on industrial and commercial bank's remittance page " it is determined that " button carry out it is true Recognize;Four steps:Mobile phone is verified by Mobile banking of industrial and commercial bank client to digital certificate in audio shield (to ensure remittance Security);5th step:After verifying certificate, mobile phone is communicated by Mobile banking of industrial and commercial bank client with audio shield;The Six steps:Mobile banking of industrial and commercial bank client ejection Password Input frame, Xiao Ming input after password and click on " it is determined that " button;7th step Suddenly:Password Input is correct and mobile phone is by Mobile banking of the industrial and commercial bank client ejection audio shield signature page after verify successfully, now Audio shield shows screen display remittance information;8th step:Xiao Ming's verification remittance information is correct, positive to press subaudio frequency for the first time The acknowledgement key (confirming successfully to need by acknowledgement key twice) of shield.When Xiao Ming proceeds to eight steps, the mobile phone of Xiao Ming receives The small phone (i.e. incoming telephone signal) just made, incoming telephone signal time are 15 days 10 June in 2017:00, mobile phone passes through industrial and commercial bank's mobile phone Bank client listens to the incoming telephone signal, and mobile phone just preserves first step and passes through industrial and commercial bank's mobile phone silver by mobile phone into the 8th step Data caused by row client (i.e. the first interaction data), while mobile phone is triggered on mobile phone by Mobile banking of industrial and commercial bank client Timer starts timing, and sends the first notice to the audio shield being connected, after audio shield receives first notice, in audio First step data (i.e. second interaction data) as caused by audio shield into the 8th step is preserved in the Status register module of shield, After audio shield keeps the second interaction data, third notice just is sent to mobile phone, after mobile phone receives third notice, just can determine that Audio shield has kept the second interaction data, and mobile phone just disconnects the voice communication between audio shield, and mobile phone is by audio shield The earphone channel pattern occupied switches to outer mode playback, does not so extract the premise of audio shield from the COBBAIF of mobile phone in Xiao Ming Under, audio shield is occupied under earphone channel pattern when release Xiao Ming is remitted money by the mobile phone industrial and commercial bank personal technical account of progress The peripheral resources of mobile phone first, when small firm phone is answered in Xiao Ming's selection, Xiao Ming and the small sound that can just hear other side.It is small It is bright see have selected after the phone answer, with after small just call 20 minutes, Xiao Ming has hung up small firm phone, then now small Bright mobile phone just listens to incoming telephone signal by Mobile banking of industrial and commercial bank client to be terminated, and the incoming telephone signal end time is 2017 6 On the moon 15 10:20, the timer that mobile phone is now triggered on mobile phone stops timing, accordingly a length of 20 points during the target of mobile phone acquisition Clock.And Xiao Ming is already provided with preset time period before to mobile phone, the preset time period is 25 minutes, therefore the mobile phone of Xiao Ming determines Target duration is less than preset time period, and the mobile phone of Xiao Ming recovers the voice communication between audio shield, and extracts the preserved before One interaction data, and the second notice is sent to audio shield, after audio shield receives second notice, also from Status register module The second interaction data is extracted, the second interaction data of the first interaction data and the audio shield extraction that then Xiao Ming extracts in mobile phone On the basis of continue then the 8th step and carry out operation below, without being operated again since first step.
The processing method of data in the embodiment of the present application is illustrated Fig. 1 to Fig. 5, and the application is implemented separately below Relevant device in example illustrates, and relevant device includes terminal and audio shield, is provided with terminal corresponding with audio shield Intended application, referring specifically to Fig. 6, one embodiment of terminal includes in the embodiment of the present application:
Unit 601 is established, for the voice communication between foundation and audio shield, and should by the target installed in the terminal Data interaction is carried out with audio shield, the audio shield is connected by the COBBAIF of the terminal with the terminal;
Storage unit 602, for when the terminal listens to incoming telephone signal by intended application, preserving the first interaction number Caused by the terminal when according to, first interaction data, to be the terminal carry out data interaction by the intended application and the audio shield Interaction data;
First transmitting element 603, for sending the first notice to the audio shield by the intended application, first notice is used In indicating the second interaction data of preservation of the Status register module in the audio shield, second interaction data is the audio shield and the end In interaction data caused by the audio shield during progress data interaction of end;
Unit 604 is disconnected, for disconnecting the voice communication between the audio shield;
Recover connection unit 605, at the end of listening to the incoming telephone signal by the intended application when the terminal, recover The connection of the voice communication between the audio shield;
Extraction unit 606, for extracting first interaction data by the intended application;
Second transmitting element 607, for sending the second notice to the audio shield by the intended application, second notice is used In instruction, the audio shield extracts second interaction data;
Data interaction unit 608, for being carried out with the audio shield by first interaction data and the second interaction data Data interaction.
It should be noted that establish unit 601, storage unit 602, the first transmitting element 603 of terminal can be according to building Vertical unit 601, the transmitting element 603 of storage unit 602 and first are linked in sequence, and can also be sent out according to unit 601, first is established Send unit 603 and storage unit 602 to be linked in sequence, do not limit herein specifically;The recovery connection unit 605 of terminal, extraction Unit 606, the second transmitting element 607 can be according to recovery connection unit 605, the transmitting elements 607 of extraction unit 606 and second It is linked in sequence, can also be linked in sequence, has according to connection unit 605, the second transmitting element 607 and extraction unit 606 is recovered Body does not limit herein.
In the embodiment of the present application, the voice communication that unit 601 is established between audio shield is established, and passes through intended application Data interaction is carried out with audio shield, when terminal monitoring is to incoming telephone signal, storage unit 602 preserves intended application and entered with audio shield In the first interaction data caused by terminal during row data interaction, and the first notice is sent to indicate by the first transmitting element 603 Status register module in audio shield is stored in the second interaction data caused by audio shield when carrying out above-mentioned data interaction;Afterwards, Disconnect unit 604 and disconnect voice communication between audio shield;At the end of terminal monitoring to incoming telephone signal, recover connection Unit 605 then recovers the connection of the voice communication between audio shield, and extracts the first interaction data by extraction unit 606, The second notice is sent by the second transmitting element 607 to indicate that audio shield extracts the second interaction data, afterwards, data interaction simultaneously Unit 608 carries out data interaction with audio shield by the first interaction data and the second interaction data.The embodiment of the present application is at end When termination receives incoming telephone signal, before the voice communication that terminal disconnects between audio shield, preserved in terminal and audio shield Current interaction data so that when ongoing internet finance activities stops, current interaction data will not abandon;When At the end of incoming telephone signal, after the connection that terminal recovers the voice communication between audio shield, terminal and audio shield can make Continue internet finance activities with the interaction data preserved.
Terminal can also have more multiple-unit with reality in addition to the unit described in embodiment corresponding to Fig. 6 Now extra function, such as terminal recover voice communication between audio shield except can terminate listening to incoming telephone signal Shi Huifu, can also further by judge terminal monitoring at the end of incoming telephone signal with terminal monitoring between during incoming telephone signal Target duration whether be less than preset time period come determine recover and audio shield between voice communication, referring specifically to Fig. 7, this Shen One embodiment of terminal it please include in embodiment:
Establish unit 701, storage unit 702, the first trigger element 703, the first transmitting element 704, first acquisition unit 705, disconnect unit 706, the first switch unit 707, the second trigger element 708, second acquisition unit 709, judging unit 710, recover connection unit 711, extraction unit 712, the second transmitting element 713, data interaction unit 714, the second switch unit 715;
Unit 701 is established in the present embodiment, storage unit 702, the first transmitting element 704, disconnects unit 706, Recover connection unit 711, extraction unit 712, the second transmitting element 713, the embodiment corresponding with Fig. 6 of data interaction unit 714 In establish unit 601, storage unit 602, the first transmitting element 603, disconnect unit 604, recover connection unit 605, Extraction unit 606, the second transmitting element 607, the function of data interaction unit 608 is similar, and here is omitted;
First acquisition unit 705, before the voice communication between switching units disconnection and the audio shield, obtain The third notice for taking the audio shield to send, the third notice are used to indicate that the Status register module has preserved the second interaction number According to;
And/or
First switch unit 707, for disconnected in the switching units 706 voice communication between the audio shield it Afterwards, the voice-grade channel of the terminal audio shield occupied switches to second mode by first mode, and the first mode includes ear Machine channel pattern, the second mode include outer mode playback;
Second switch unit 715, after the connection for recovering the voice communication between the audio shield in the terminal, The voice-grade channel is switched into the first mode by the second mode;
And/or
First trigger element 703, for when the terminal listens to incoming telephone signal by intended application, being answered by the target Start timing with the timer for triggering the terminal;
Second trigger element 708, at the end of listening to the incoming telephone signal by the intended application when the terminal, passes through The intended application triggers the timer and stops timing;
Second acquisition unit 709, for obtaining target duration, a length of timer starts timing to the timing during target Device stops the duration of timing;
Judging unit 710, for judging whether the target duration is less than preset time period, if the judging unit determines the target Duration is less than preset time period, then triggers the recovery connection unit 711 and perform corresponding operation.
The specific function of terminal and structure in embodiment corresponding to Fig. 6 and Fig. 7 are used to realize earlier figures 1 to Fig. 5 The step of being handled in illustrated embodiment by terminal, specific here is omitted.
Relevant device in the embodiment of the present application is in addition to including terminal, in addition to audio shield corresponding with terminal, tool Body is referring to Fig. 8, one embodiment of the embodiment of the present application sound intermediate frequency shield includes:
Unit 801 is established, for the voice communication between foundation and terminal, and should by the target installed in the terminal Data interaction is carried out with the terminal, the audio shield is connected by the COBBAIF of the terminal with the terminal;
First acquisition unit 802, for disconnect between the audio shield in the terminal the voice communication before, obtain the One notice, this first notify for indicate the Status register module in the audio shield preserve the second interaction data, this second interaction In interaction data caused by the audio shield when data are the audio shield and terminal progress data interaction, first notice is by the end End is sent by the intended application, and the transmission of first notice is touched when listening to incoming telephone signal by the intended application by the terminal Hair performs;
Second acquisition unit 803, for recover between the audio shield in the terminal the voice communication after, obtain the Two notices, this second notifies to be used to indicate that the audio shield extracts second interaction data, and second notice by the terminal passes through this Intended application is sent;
Data interaction unit 804, for entering line number by the first interaction data and second interaction data with the terminal According to interaction, first interaction data is by when the terminal listens to the incoming telephone signal by intended application, the terminal preserves logical In interaction data caused by the terminal when crossing the intended application and audio shield progress data interaction.
In the embodiment of the present application, establish the voice communication that unit 801 is established between terminal, and by intended application with Terminal carries out data interaction, and before the voice communication that terminal disconnects between audio shield, first acquisition unit 802 obtains terminal hair In sound when the first notice sent is to indicate that the Status register module of audio shield preserves intended application and audio shield progress data interaction Second interaction data caused by frequency shield;After the voice communication that terminal recovers between audio shield, second acquisition unit 803 obtains The second notice that terminal is sent is taken to indicate that audio shield extracts the second interaction data, and by data interaction unit 804 with terminal Continue data interaction based on the second interaction data extracted on the first interaction data and audio shield of upper extraction.This Shen Please embodiment when terminal receives incoming telephone signal, terminal disconnect and audio shield between voice communication before, terminal and Current interaction data is preserved in audio shield so that when ongoing internet finance activities stops, current interaction number According to will not abandon;At the end of incoming telephone signal, terminal recover and audio shield between voice communication connection after, terminal and Audio shield can use the interaction data preserved to continue internet finance activities.
Audio shield in addition to the unit described in embodiment corresponding to Fig. 8, can also have more multiple-unit with Realize extra function, such as can indicate that the Status register module of audio shield has been completed to the by sending notice to terminal The preservation of two interaction datas, referring specifically to Fig. 9, one embodiment of terminal includes in the embodiment of the present application:
Establish unit 901, first acquisition unit 902, transmitting element 903, second acquisition unit 904, data interaction unit 905;
Unit 901, first acquisition unit 902, second acquisition unit 904, data interaction unit are established in the present embodiment Unit 801, first acquisition unit 802, second acquisition unit 803, data interaction are established in 905 embodiments corresponding with Fig. 8 The function of unit 804 is similar, and here is omitted;
Transmitting element 903, after obtaining the first notice in the first acquisition unit, threeway is sent to the terminal Know, the third notice is used to indicate that the Status register module has preserved second interaction data.
The specific function of audio shield and structure in embodiment corresponding to Fig. 8 and Fig. 9 are used to realize earlier figures 1 to figure The step of being handled in 5 illustrated embodiments by audio shield, specific here is omitted.
As shown in Figure 10, it is one embodiment schematic diagram of the embodiment of the present application sound intermediate frequency shield, including:
The audio shield 1000 of the embodiment includes:Processor 1001, memory 1002 and it is stored in the memory And the computer program 1003 that can be run on processor 1001, such as show program.Processor 1001 performs computer program The step in the embodiment of the processing method of above-mentioned each data, such as the step 301 shown in Fig. 3 are realized when 1003.Or place Reason device 1001 realizes the function of above-described embodiment sound intermediate frequency shield each unit when performing computer program 1003, such as shown in Fig. 8 Establish the function of unit 801.
Exemplary, computer program 1003 can be divided into one or more units, one or more unit It is stored in memory 1002, and is performed by processor 1001, completes the application.One or more of units can be The series of computation machine programmed instruction section of specific function can be completed, the instruction segment is used to describe computer program 1003 in audio Implementation procedure in shield.For example, computer program 1003 can be divided into connection unit, first acquisition unit, the second acquisition Unit and data interaction unit, each unit concrete function is corresponding with unit corresponding to Fig. 8, to realize corresponding function.
It will be understood by those skilled in the art that the schematic diagram is only the example of audio shield, do not form to audio shield Restriction, can include than illustrating more or less parts, either combine some parts or different parts, such as sound Frequency shield can also include input-output equipment, network access equipment, bus etc..
Alleged processor 1001 can be CPU (english abbreviation:CPU, English full name:Central Processing Unit), it can also be other general processors, digital signal processor (english abbreviation:DSP, English full name: Digital Signal Processor), application specific integrated circuit (english abbreviation:ASIC, English full name:Application Specific Integrated Circuit), ready-made programmable gate array (english abbreviation:FPGA, English full name:Field- Programmable Gate Array) either other PLDs, discrete gate or transistor logic, discrete Nextport hardware component NextPort etc..General processor can be microprocessor or the processor can also be any conventional processor etc., place Reason device 1001 is the control centre of audio shield, utilizes various interfaces and the various pieces of the whole audio shield of connection.
The memory 1002 can be used for storage computer program and/or module, and processor 1001 is by running or performing The computer program and/or module being stored in memory 1002, and the data being stored in memory 1002 are called, realize The various functions of audio shield.Memory 1002 can mainly include storing program area and storage data field, wherein, storing program area can Application program (such as sound-playing function, image player function etc.) needed for storage program area, at least one function etc.;Deposit Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to audio shield.In addition, storage Device can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, plug-in type are hard Disk, intelligent memory card (english abbreviation:SMC, English full name:Smart Media Card), secure digital (english abbreviation:SD, English Literary full name:Secure Digital) card, flash card, at least one disk memory, flush memory device or other volatibility are consolidated State memory device.
If the integrated unit of audio shield is realized in the form of SFU software functional unit and as independent production marketing or made Used time, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-described embodiment All or part of flow in method, by computer program the hardware of correlation can also be instructed to complete, described calculating Machine program can be stored in a computer-readable recording medium, and the computer program can be achieved above-mentioned when being executed by processor The step of each embodiment of the method.Wherein, computer program includes computer program code, and computer program code can be source Code form, object identification code form, executable file or some intermediate forms etc..Computer-readable medium can include:Can Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, the computer of the computer program code Memory, read-only storage (english abbreviation:ROM, English full name:Read-Only Memory), random access memory (English Abbreviation:RAM, English full name:Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium Deng.It should be noted that the content that computer-readable medium includes can be according to legislation in jurisdiction and patent practice It is required that carry out appropriate increase and decrease, such as in some jurisdictions, do not wrapped according to legislation and patent practice, computer-readable medium Include electric carrier signal and telecommunication signal.
The embodiment of the present application additionally provides a kind of terminal, it is necessary to illustrate, the terminal in the embodiment of the present application is that have Adapt to the COBBAIF of audio shield adapter, possess the terminal device for receiving the communication function such as incoming telephone signal, the terminal can be with It is mobile terminal device, for example, handheld device (such as mobile phone, tablet personal computer), wearable device (receive incoming telephone signal as having The intelligent earphone of function and motion bracelet etc.), it is to be understood that in actual applications, terminal is except that can be mobile terminal Can also be the terminal device for possessing the communication functions such as reception incoming telephone signal of other forms, for example, personal electricity outside equipment Brain, network computer, are not limited specifically herein.It is specific as shown in figure 11 so that terminal is mobile phone as an example, for purposes of illustration only, only showing For the related part of the embodiment of the present application, particular technique details does not disclose, refer to the embodiment of the present application method part.
Figure 11 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.Reference chart 11, mobile phone includes:Radio frequency (english abbreviation:RF, English full name:Radio Frequency) it is circuit 1110, memory 1120, defeated Enter unit 1130, display unit 1140, sensor 1150, voicefrequency circuit 1160, Wireless Fidelity (english abbreviation:WiFi, English are complete Claim:Wireless fidelity) part such as module 1170, processor 1180 and power supply 1190.Those skilled in the art can To understand, the handset structure shown in Figure 11 does not form the restriction to mobile phone, can include than illustrating more or less portions Part, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Figure 11:
RF circuits 1110 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, handled to processor 1180;In addition, it is sent to base station by up data are designed.Generally, RF circuits 1110 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (english abbreviation: LNA, English full name:LowNoise Amplifier), duplexer etc..In addition, RF circuits 1110 can also by radio communication with Network and other equipment communication.Above-mentioned radio communication can use any communication standard or agreement, include but is not limited to the whole world and move Dynamic communication system (english abbreviation:GSM, English full name:Global System of Mobile communication), it is general It is grouped wireless service (english abbreviation:GPRS, English full name:General Packet Radio Service), CDMA (English Text abbreviation:CDMA, English full name:Code Division Multiple Access), WCDMA (english abbreviation: WCDMA, English full name:Wideband Code Division Multiple Access), Long Term Evolution (english abbreviation:LTE, English full name:Long Term Evolution), Email, Short Message Service (english abbreviation:SMS, English full name:Short Messaging Service) etc..
Memory 1120 can be used for storage software program and module, and processor 1180 is stored in memory by operation 1120 software program and module, so as to perform the various function application of mobile phone and data processing.Memory 1120 can be led To include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store uses institute according to mobile phone Data (such as voice data, phone directory etc.) of establishment etc..Stored in addition, memory 1120 can include high random access Device, nonvolatile memory can also be included, a for example, at least disk memory, flush memory device or other volatibility are consolidated State memory device.
Input block 1130 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 1130 may include contact panel 1131 and other inputs Equipment 1132.Contact panel 1131, also referred to as touch-screen, collect touch operation (such as user of the user on or near it Use the behaviour of any suitable object such as finger, stylus or annex on contact panel 1131 or near contact panel 1131 Make), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1131 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 1180, and the order sent of reception processing device 1180 and can be performed.In addition, The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 1131.Except touch surface Plate 1131, input block 1130 can also include other input equipments 1132.Specifically, other input equipments 1132 can include But it is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. It is one or more.
Display unit 1140 can be used for display by user input information or be supplied to user information and mobile phone it is each Kind menu.Display unit 1140 may include display panel 1141, optionally, can use liquid crystal display (english abbreviation:LCD, English full name:Liquid Crystal Display), Organic Light Emitting Diode (english abbreviation:OLED, English full name: Organic Light-Emitting Diode) etc. form configure display panel 1141.Further, contact panel 1131 can Display panel 1141 is covered, after contact panel 1131 detects the touch operation on or near it, sends processor to 1180, to determine the type of touch event, are followed by subsequent processing device 1180 and are provided according to the type of touch event on display panel 1141 Corresponding visual output.Although in fig. 11, contact panel 1131 is that the part independent as two comes with display panel 1141 Realize input and the input function of mobile phone, but in some embodiments it is possible to by contact panel 1131 and display panel 1141 Integrate and realize input and the output function of mobile phone.
Mobile phone may also include at least one sensor 1150, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1141, proximity transducer can close display panel when mobile phone is moved in one's ear 1141 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and add The size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 1160, loudspeaker 1161, microphone 1162 can provide the COBBAIF between user and mobile phone.Audio Electric signal after the voice data received conversion can be transferred to loudspeaker 1161, is changed by loudspeaker 1161 by circuit 1160 Exported for voice signal;On the other hand, the voice signal of collection is converted to electric signal by microphone 1162, by voicefrequency circuit 1160 Voice data is converted to after reception, then after voice data output processor 1180 is handled, through RF circuits 1110 to be sent to ratio Such as another mobile phone, or voice data is exported to memory 1120 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 1170 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Figure 11 is shown WiFi module 1170, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 1180 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, By running or performing the software program and/or module that are stored in memory 1120, and call and be stored in memory 1120 Interior data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 1180 may include one or more processing units;Preferably, processor 1180 can integrate application processor and modulation /demodulation processing Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located Manage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1180.
Mobile phone also includes the power supply 1190 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply Management system and processor 1180 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the application Fig. 1 to Fig. 5 embodiment methods describeds All or part of step.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (english abbreviation:ROM, English Literary full name:Read-Only Memory), random access memory (english abbreviation:RAM, English full name:Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Described above, above example is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to before Embodiment is stated the application is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application.

Claims (12)

  1. A kind of 1. processing method of data, it is characterised in that including:
    The voice communication that terminal is established between audio shield, and carried out by the intended application installed in the terminal and audio shield Data interaction, the audio shield are connected by the COBBAIF of the terminal with the terminal;
    When the terminal listens to incoming telephone signal by intended application, the first interaction data of the terminal preservation, described first Interaction data is the terminal when carrying out data interaction by the intended application and the audio shield caused by the terminal Interaction data;
    The terminal sends the first notice by the intended application to the audio shield, described first notify to be used for indicate it is described Status register module in audio shield preserves the second interaction data, and second interaction data is the audio shield and the terminal In interaction data caused by the audio shield during progress data interaction;
    The terminal disconnects the voice communication between the audio shield;
    At the end of the terminal listens to the incoming telephone signal by the intended application, the terminal is recovered and the audio The connection of the voice communication between shield;
    The terminal extracts first interaction data by the intended application, and by the intended application to the audio Shield sends the second notice, and described second notifies to be used to indicate that the audio shield extracts second interaction data;
    The terminal carries out data interaction with the audio shield by first interaction data and the second interaction data.
  2. 2. according to the method for claim 1, it is characterised in that described in being disconnected in the terminal between the audio shield After voice communication, methods described also includes:
    The voice-grade channel for the terminal that the terminal occupies the audio shield switches to second mode by first mode, described First mode includes earphone channel pattern, and the second mode includes outer mode playback;
    After the connection that the terminal recovers the voice communication between the audio shield, methods described also includes:
    The voice-grade channel is switched to the first mode by the terminal by the second mode.
  3. 3. method according to any one of claim 1 to 2, it is characterised in that disconnected and the audio in the terminal Before the voice communication between shield, methods described also includes:
    The terminal obtains the third notice that the audio shield is sent, and the third notice is used for indicative of said status registration module Second interaction data is preserved.
  4. 4. method according to any one of claim 1 to 2, it is characterised in that methods described also includes:
    When the terminal listens to incoming telephone signal by intended application, the terminal triggers the end by the intended application The timer at end starts timing;
    At the end of the terminal listens to the incoming telephone signal by the intended application, the terminal should by the target Stop timing with the timer is triggered;
    The terminal obtains target duration, and a length of timer starts timing to the timer and stops timing during the target Duration;
    The connection that the terminal recovers the voice communication between the audio shield includes:
    The terminal judges whether the target duration is less than preset time period;
    If so, then the terminal recovers the connection of the voice communication between the audio shield.
  5. A kind of 5. processing method of data, it is characterised in that including:
    The voice communication that audio shield is established between terminal, and entered by the intended application installed in the terminal and the terminal Row data interaction, the audio shield are connected by the COBBAIF of the terminal with the terminal;
    Before the voice communication that the terminal disconnects between the audio shield, the audio shield obtains the first notice, Described first notifies for indicating that the Status register module in the audio shield preserves the second interaction data, the second interaction number Notified according to when carrying out data interaction with the terminal for the audio shield in interaction data caused by the audio shield, described first Sent by the terminal by the intended application, the transmission of first notice is supervised by the terminal by the intended application Triggering performs when hearing incoming telephone signal;
    After the voice communication that the terminal recovers between the audio shield, the audio shield obtains the second notice, Described second is notified to be used to indicate that the audio shield extracts second interaction data, and second notice is passed through by the terminal The intended application is sent;
    The audio shield carries out data interaction with the terminal by the first interaction data and second interaction data, described First interaction data is by when the terminal listens to the incoming telephone signal by intended application, what the terminal preserved passes through institute In interaction data caused by the terminal when stating intended application and audio shield progress data interaction.
  6. 6. according to the method for claim 5, it is characterised in that after the audio shield obtains the first notice, the side Method also includes:
    The audio shield sends third notice to the terminal, and the third notice has been protected for indicative of said status registration module Deposit second interaction data.
  7. A kind of 7. terminal, it is characterised in that including:
    Establish unit, for the voice communication between foundation and audio shield, and by the intended application installed in the terminal with Audio shield carries out data interaction, and the audio shield is connected by the COBBAIF of the terminal with the terminal;
    Storage unit, it is described for when the terminal listens to incoming telephone signal by intended application, preserving the first interaction data First interaction data is that the terminal is produced when carrying out data interaction by the intended application and the audio shield in the terminal Raw interaction data;
    First transmitting element, for sending the first notice to the audio shield by the intended application, first notice is used In indicating the second interaction data of preservation of the Status register module in the audio shield, second interaction data is the audio shield With the terminal carry out data interaction when in interaction data caused by the audio shield;
    Unit is disconnected, for disconnecting the voice communication between the audio shield;
    Recover connection unit, at the end of listening to the incoming telephone signal by the intended application when the terminal, recover The connection of the voice communication between the audio shield;
    Extraction unit, for extracting first interaction data by the intended application;
    Second transmitting element, for sending the second notice to the audio shield by the intended application, second notice is used Second interaction data is extracted in the instruction audio shield;
    Data interaction unit, for carrying out data by first interaction data and the second interaction data with the audio shield Interaction.
  8. 8. terminal according to claim 7, it is characterised in that the terminal also includes:
    First switch unit, will after the voice communication between switching units disconnection and the audio shield The voice-grade channel for the terminal that the audio shield occupies switches to second mode by first mode, and the first mode includes ear Machine channel pattern, the second mode include outer mode playback;
    Second switch unit, after the connection for recovering the voice communication between the audio shield in the terminal, The voice-grade channel is switched into the first mode by the second mode.
  9. 9. the terminal according to any one of claim 7 to 8, it is characterised in that the terminal also includes:
    First acquisition unit, before the voice communication between switching units disconnection and the audio shield, obtain The third notice for taking the audio shield to send, the third notice have preserved described second for indicative of said status registration module Interaction data.
  10. 10. the terminal according to any one of claim 7 to 8, it is characterised in that the terminal also includes:
    First trigger element, for when the terminal listens to incoming telephone signal by intended application, passing through the intended application The timer for triggering the terminal starts timing;
    Second trigger element, at the end of listening to the incoming telephone signal by the intended application when the terminal, pass through The intended application triggers the timer and stops timing;
    Second acquisition unit, for obtaining target duration, a length of timer starts timing to the timing during target Device stops the duration of timing;
    Judging unit, for judging whether the target duration is less than preset time period, if the judging unit determines the target Duration is less than preset time period, then triggers the recovery connection unit and perform corresponding operation.
  11. A kind of 11. audio shield, it is characterised in that including:
    Unit is established, for the voice communication between foundation and terminal, and passes through the intended application installed in the terminal and institute State terminal and carry out data interaction, the audio shield is connected by the COBBAIF of the terminal with the terminal;
    First acquisition unit, for disconnect between the audio shield in the terminal the voice communication before, obtain the One notice, described first notifies for indicating that the Status register module in the audio shield preserves the second interaction data, described the It is described in interaction data caused by the audio shield when two interaction datas are the audio shield and terminal progress data interaction First notice is sent by the terminal by the intended application, and the transmission of first notice passes through the mesh by the terminal Triggering performs when mark application listens to incoming telephone signal;
    Second acquisition unit, for recover between the audio shield in the terminal the voice communication after, obtain the Two notices, described second notifies to be used to indicate that the audio shield extracts second interaction data, and second notice is by described Terminal is sent by the intended application;
    Data interaction unit, for carrying out data friendship by the first interaction data and second interaction data with the terminal Mutually, first interaction data is by when the terminal listens to the incoming telephone signal by intended application, the terminal preserves When carrying out data interaction by the intended application and the audio shield in interaction data caused by the terminal.
  12. 12. audio shield according to claim 11, it is characterised in that the audio shield also includes:
    Transmitting element, after obtaining the first notice in the first acquisition unit, third notice, institute are sent to the terminal State third notice and preserve second interaction data for indicative of said status registration module.
CN201710720994.8A 2017-08-21 2017-08-21 Data processing method, terminal and audio shield Active CN107528973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710720994.8A CN107528973B (en) 2017-08-21 2017-08-21 Data processing method, terminal and audio shield

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710720994.8A CN107528973B (en) 2017-08-21 2017-08-21 Data processing method, terminal and audio shield

Publications (2)

Publication Number Publication Date
CN107528973A true CN107528973A (en) 2017-12-29
CN107528973B CN107528973B (en) 2020-04-28

Family

ID=60681647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710720994.8A Active CN107528973B (en) 2017-08-21 2017-08-21 Data processing method, terminal and audio shield

Country Status (1)

Country Link
CN (1) CN107528973B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112735056A (en) * 2020-12-29 2021-04-30 航天信息股份有限公司 Method and system for processing certificate based on terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003010721A2 (en) * 2001-07-25 2003-02-06 Credit Lyonnais Method and system for formal guarantee of a payment, using a portable telephone
CN1767548A (en) * 2004-10-26 2006-05-03 乐金电子(中国)研究开发中心有限公司 Voice communication method when mobile communication terminal executing java application
CN104734750A (en) * 2013-12-18 2015-06-24 深圳市文鼎创数据科技有限公司 Shield and working method thereof, mobile terminal signature method, mobile terminal and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003010721A2 (en) * 2001-07-25 2003-02-06 Credit Lyonnais Method and system for formal guarantee of a payment, using a portable telephone
CN1767548A (en) * 2004-10-26 2006-05-03 乐金电子(中国)研究开发中心有限公司 Voice communication method when mobile communication terminal executing java application
CN104734750A (en) * 2013-12-18 2015-06-24 深圳市文鼎创数据科技有限公司 Shield and working method thereof, mobile terminal signature method, mobile terminal and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112735056A (en) * 2020-12-29 2021-04-30 航天信息股份有限公司 Method and system for processing certificate based on terminal equipment
CN112735056B (en) * 2020-12-29 2023-01-10 航天信息股份有限公司 Method and system for processing certificate based on terminal equipment

Also Published As

Publication number Publication date
CN107528973B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN109067986A (en) Synchronous display method, mobile terminal and the readable storage medium storing program for executing of intelligent wearable device
CN106203290B (en) A kind of fingerprint image acquisition method and terminal
CN106326074B (en) The method of adjustment and mobile terminal of processor operational factor
CN106331372B (en) Data transmission method and mobile terminal
CN106453511A (en) Data backup method and data backup device
CN109190369A (en) A kind of camera control method, terminal and computer storage medium
CN106383654A (en) Touch screen parameter adjustment method and mobile terminal
CN107025395A (en) A kind of fingerprint identification method and mobile terminal
CN106502826A (en) Data backup and transmission method and mobile terminal
CN106934607A (en) A kind of method of payment, payment system service end and payment devices
CN106341809A (en) Data transmission method and apparatus
CN106445457A (en) Headphone sound channel switching method and device
CN106445596A (en) Method and device for managing setting items
CN106326072B (en) The method and mobile terminal of information processing
CN106445743A (en) Data backup transmission method and mobile terminal
CN106484326A (en) A kind of data transmission processing method and mobile terminal
CN107770478A (en) video call method and related product
CN108985047A (en) A kind of unlocking method, terminal, wearable device and computer readable storage medium
CN106027738B (en) A kind of synchronous method of message registration, device and mobile terminal
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN106550152A (en) Realize the method and mobile terminal of modem energy-conservation
CN106339862A (en) Information processing method and mobile terminal
CN106413032A (en) Hotspot establishing method and terminal equipment
CN109979045A (en) A kind of information output method and terminal device
CN106331302A (en) Method and equipment for adding contact

Legal Events

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