CN104821995B - A kind of data transfer management method and device - Google Patents
A kind of data transfer management method and device Download PDFInfo
- Publication number
- CN104821995B CN104821995B CN201510280665.7A CN201510280665A CN104821995B CN 104821995 B CN104821995 B CN 104821995B CN 201510280665 A CN201510280665 A CN 201510280665A CN 104821995 B CN104821995 B CN 104821995B
- Authority
- CN
- China
- Prior art keywords
- data
- transmission rate
- transmission
- phone
- preset
- 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.)
- Expired - Fee Related
Links
- 238000007726 management method Methods 0.000 title claims abstract description 115
- 238000012546 transfer Methods 0.000 title claims abstract description 55
- 230000005540 biological transmission Effects 0.000 claims abstract description 283
- 238000000034 method Methods 0.000 claims abstract description 17
- 238000001514 detection method Methods 0.000 claims description 44
- 238000011084 recovery Methods 0.000 claims description 12
- 230000009467 reduction Effects 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 abstract description 25
- 230000006854 communication Effects 0.000 abstract description 16
- 238000012790 confirmation Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000005611 electricity Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 210000004209 hair Anatomy 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 241000937378 Everettia interior Species 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of data transfer management method and device, the method includes:When detected phone incoming call event or phone exhalation event occur when, detect whether data pass through USB be transmitted and the data transmission rate be more than preset transmission rate;If the USB is transmitted and the transmission rate of the data is more than the preset transmission rate there are data to pass through, the transmission rate is reduced to below the preset transmission rate or suspended the transmission of the data.Because the present invention is by reducing transmission rate, so that the transmission voltage of USB interface is raised, the antijamming capability of USB data transmission is strengthened, and thus can be solved the problems, such as present in prior art because of USB data transmission abnormal interrupt caused by the influence of the electromagnetic interference by being produced in phone incoming call or communication process.
Description
Technical field
The invention belongs to field of mobile terminals, more particularly to a kind of data transfer management method and device.
Background technology
With the development of computer and mobile communication technology, the mobile terminal such as mobile phone, panel computer has become people's life
An essential part in work.And the appearance and hair of USB (Universal Serial Bus, USB) technology
Exhibition, even more for the data transfer between mobile terminal and other equipment is provided a great convenience.But conventionally, as
Structure design and the requirement of industrial design, USB line road are typically laid out among the day space of lines of mobile phone, and this results in work as electricity
Words incoming call, or voice power it is excessive when, the data transfer carried out via the USB line road will be because by antenna transceiving radio frequency signal
And produce electromagnetic interference influence and be forced interrupt (that is, USB goes offline), so as to influence being normally carried out for USB data transmission.Cause
How this, preventing the abnormal interrupt of USB data transmission when there is phone incoming call or in communication process, is that current industry is badly in need of
The big problem for solving.
The content of the invention
The present invention provides a kind of data transfer management method and apparatus, can prevent USB data transmission from ought have phone incoming call
When or the abnormal interrupt in communication process.
First aspect present invention provides a kind of data transfer management method, including:
When phone incoming call event has been detected or phone exhalation event occurs, detect whether that data pass through general string
Row bus interface is transmitted and the transmission rate of the data is more than preset transmission rate;
If the USB is transmitted and the transmission rate of the data is more than institute to have data to pass through
Preset transmission rate is stated, then the transmission rate is reduced to below the preset transmission rate or suspended the biography of the data
It is defeated.
It is described by transmission rate drop with reference in a first aspect, in the first possible implementation of first aspect
Below as little as described preset transmission rate or suspend the transmission of the data, including:
Output prompt message, to point out transmission of the user to the data to be managed;
Judge whether the management instruction that the user triggers according to the prompt message is received in preset time period;
If receiving the management instruction in the preset time period, when the management instruction is for the first management instruction,
The transmission rate of the data is reduced to below the preset transmission rate, when the management instruction is the second management instruction
When, suspend the transmission of the data.
With reference to the first possible implementation of first aspect, in second possible implementation of first aspect
In, described to judge whether to receive in preset time period after the management that user trigger according to the prompt message instructs, the side
Method also includes:
If not receiving the management instruction in the preset time period, the transmission rate is reduced to the preset biography
Below defeated speed.
With reference to the first possible implementation of first aspect, in the third possible implementation of first aspect
In, if after the transmission rate is reduced to below the preset transmission rate, methods described also includes:
At the end of the phone incoming call event or the phone exhalation event is detected, recover the transmission speed of the data
Rate.
With reference to the first possible implementation of first aspect, in the 4th kind of possible implementation of first aspect
In, if after suspending the transmission of the data, methods described also includes:
At the end of the phone incoming call event or the phone exhalation event is detected, recover the transmission of the data.
Second aspect present invention provides a kind of data transfer management device, including:
Detection unit, for detecting whether having phone incoming call event or phone exhalation event;
The detection unit, is additionally operable to when phone incoming call event has been detected or phone exhalation event occurs, and detection is
It is no have data pass through USB be transmitted and the data transmission rate be more than preset transmission rate;
Administrative unit, is carried out if having detected data for the detection unit and having passed through the USB
The transmission rate of transmission and the data is more than the preset transmission rate, then the transmission rate is reduced into the preset biography
Below defeated speed or suspend the transmission of the data.
With reference to second aspect, in the first possible implementation of second aspect, the administrative unit includes:
Prompt message output unit, for exporting prompt message, to point out transmission of the user to the data to be managed;
Judging unit, for judging whether to be received in preset time period the user according to the prompt message output unit
The management instruction of the prompt message triggering of output;
The judging unit, if being additionally operable to receive the management instruction in the preset time period, judges the management
The type of instruction;
Reduction unit, for when the judging unit judged result for it is described management instruction for first management instruction when,
The transmission rate of the data is reduced to below the preset transmission rate;
Pause unit, for when the judging unit judged result for it is described management instruction for second management instruction when,
Suspend the transmission of the data.
With reference to the first possible implementation of second aspect, in second possible implementation of second aspect
In, the reduction unit, if being additionally operable to the judged result of the judging unit not receive the pipe in the preset time period
, then be reduced to the transmission rate below the preset transmission rate by reason instruction.
With reference to the first possible implementation of second aspect, in the third possible implementation of second aspect
In, the detection unit is additionally operable to detect whether the phone incoming call event or phone exhalation event terminate;
The administrative unit also includes:
Transmission rate recovery unit, for detecting the phone incoming call event or the phone is exhaled when the detection unit
At the end of outgoing event, recover the transmission rate of the data.
With reference to the first possible implementation of second aspect, in the 4th kind of possible implementation of second aspect
In, the administrative unit also includes:
Transmission recovery unit, for detecting the phone incoming call event or phone exhalation thing when the detection unit
At the end of part, recover the transmission of the data.
Third aspect present invention provides a kind of mobile terminal, and the mobile terminal includes above-mentioned data transfer management device.
Knowable to the invention described above technical scheme, the present invention works as the electricity for detecting and causing USB data transmission abnormal interrupt
Talk about incoming call event or phone exhalation event occur, and there are data to pass through USB interface to enter with the speed more than preset transmission rate
During row transmission, one, by reducing transmission rate so that the transmission voltage of USB interface is raised, USB data transmission it is anti-interference
Ability is strengthened, another one, by before abnormal interrupt occurs, actively suspending the current USB data transmission for carrying out, waits to cause
After the event that abnormal interrupt occurs terminates, then recover the data transfer suspended, thus can solve present in prior art because receiving
USB data transmission abnormal interrupt problem caused by the influence of the electromagnetic interference produced in phone incoming call or communication process, from
And improve the normal transmission rate of data.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
Other accompanying drawings are obtained with according to these accompanying drawings.
Fig. 1 is that the data transfer management method that first embodiment of the invention is provided realizes schematic flow sheet;
Fig. 2 is that the data transfer management method that second embodiment of the invention is provided realizes schematic flow sheet;
Fig. 3 is the structural representation of the data transfer management device that third embodiment of the invention is provided;
Fig. 4 is the structural representation of the data transfer management device that fourth embodiment of the invention is provided.
Specific embodiment
To enable that goal of the invention of the invention, feature, advantage are more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, the common skill in this area
The every other embodiment that art personnel are obtained under the premise of creative work is not made, belongs to the model of present invention protection
Enclose.
The following data transfer management method and device for implementing to exemplify of the present invention, can be applied to support that radio telephone leads to
In the mobile terminal of words function, such as:Smart mobile phone, PDA (Personal Digital Assistant, personal digital assistant),
Panel computer etc..
First embodiment
Refer to accompanying drawing 1, the data transfer management method that accompanying drawing 1 is provided for first embodiment of the invention realizes that flow is shown
It is intended to, comprises the following steps S101 to step S102:
S101, when phone incoming call event has been detected or phone exhalation event occurs, has detected whether that data are passed through
USB is transmitted and the transmission rate of the data is more than preset transmission rate;
When mobile terminal receives BBP by application processor (Application Processor, AP)
What (Baseband Processor, BP) sent listens to what calling entered on PCH (Paging Channel, PCH)
During notification message, confirmation detects phone incoming call event.When detecting user and carrying out triggering the operation called,
Confirmation detects phone exhalation event.
When phone incoming call event has been detected or phone exhalation event occurs, whether detection USB interface is in idle shape
Whether state, i.e. have data to pass through USB interface and be transmitted, if having data to pass through USB interface being transmitted, detection should
Whether the transmission rate of data is more than preset transmission rate.
Current USB interface mainly has the multiple standards such as USB1.0, USB1.1, USB2.0, USB3.0, USB4.0, corresponds to
Different standards, in the data transmission obtainable transmission rate can be, but not limited to include following several:Low speed (Low
Speed), transmission rate is 1.5Mbps (megabit per second);At full speed (Full Speed), transmission rate is 12Mbps;(High at a high speed
Speed), transmission rate is 480Mbps;Hypervelocity (Super Speed), transmission rate is 5Gbps (gigabit/second).Preferably,
Preset transmission rate is low speed 1.5Mbps.
S102, if there is data to pass through, the USB is transmitted and the transmission rate of the data is more than this
Preset transmission rate, then be reduced to below the preset transmission rate or suspend the transmission of the data by the transmission rate.
If when phone incoming call event has been detected or phone exhalation event occurs, thering are data to pass through USB interface with big
It is transmitted in the speed of preset transmission rate, then the transmission rate that the transmission rate of the data is USB interface is reduced to this
Below preset transmission rate so that the data can only be transmitted with relatively low speed, after transmission rate declines, USB interface
Transmission voltage raise, the antijamming capability of USB data transmission is strengthened, so as to can prevent USB data transmission from being exhaled in phone
There is abnormal interrupt in fashionable or communication process.
Or, if there are data to pass through USB interface being transmitted with the speed more than preset transmission rate, suspend USB
The data transfer that interface is currently carried out, at the end of phone incoming call event or phone exhalation event, recovers the data transfer.
It is to be appreciated that when data are transmitted with low speed by USB interface, will not produce substantially because by electromagnetic interference
Influence and abnormal interrupt problem, therefore when detected phone incoming call event or phone exhalation event occur when, if countless
It is transmitted according to USB interface is passed through, or, although there are data to pass through USB interface and be transmitted, but the transmission of the data is fast
Rate is less than or equal to preset transmission rate, then the data transfer carried out by the USB interface is not managed, but directly right
Phone incoming call event or phone the exhalation event for detecting carry out subsequent treatment.
A kind of data transfer management method that the present embodiment is provided, USB data transmission abnormal interrupt is caused when having detected
Phone incoming call event or phone exhalation event occur, and there are data to pass through USB interface with the speed more than preset transmission rate
When rate is transmitted, the transmission rate of the data is reduced to below the preset transmission rate or suspended the transmission of the data.This
Invention one, by reducing transmission rate so that the transmission voltage of USB interface is raised, the antijamming capability of USB data transmission is obtained
To enhancing, another one, by before abnormal interrupt occurs, actively suspending the current USB data transmission for carrying out, in exception to be caused
After the disconnected event for occurring terminates, then recover the data transfer suspended, thus can solve present in prior art because by phone
USB data transmission abnormal interrupt problem caused by the influence of the electromagnetic interference produced in incoming call or communication process, so as to improve
The normal transmission rate of data.
Second embodiment
Refer to accompanying drawing 2, the data transfer management method that accompanying drawing 2 is provided for second embodiment of the invention realizes that flow is shown
It is intended to, comprises the following steps S201 to step S209:
S201, when phone incoming call event has been detected or phone exhalation event occurs, has detected whether that data are passed through
USB is transmitted and the transmission rate of the data is more than preset transmission rate;
When mobile terminal receives when listening to the notification message for having calling to enter on PCH of BP transmissions by AP,
Confirmation detects phone incoming call event.When detecting user and carrying out triggering the operation called, for example, when detection
During to user input telephone number and click to dial key, confirmation detects phone exhalation event.
When phone incoming call event has been detected or phone exhalation event occurs, whether detection USB interface is in idle shape
Whether state, i.e. have data to pass through USB interface and be transmitted, if having data to pass through USB interface being transmitted, detection should
Whether the transmission rate of data is more than preset transmission rate.
Current USB interface mainly has the multiple standards such as USB1.0, USB1.1, USB2.0, USB3.0, USB4.0, corresponds to
Different standards, in the data transmission obtainable transmission rate can be, but not limited to include following several:Low speed, transmission rate
It is 1.5Mbps;At full speed, transmission rate is 12Mbps;At a high speed, transmission rate is 480Mbps;Hypervelocity, transmission rate is 5Gbps.
Preferably, preset transmission rate is low speed 1.5Mbps.
S202, if there is data to pass through, the USB is transmitted and the transmission rate of the data is more than this
Preset transmission rate, then export prompt message, to point out transmission of the user to the data to be managed;
Specifically, prompt message includes:For pointing out the selection text information that triggering management is instructed, being managed for triggering first
Manage first button and the second button for triggering the second management instruction of instruction.Wherein, the first management instruction, for instructing
The transmission rate of USB interface is reduced to below preset transmission rate.Second management instruction, is currently connect for suspending by USB
The data transfer that mouth is carried out.Further, prompt message may also include prompting audio-frequency information or video information.
It is to be appreciated that when data are transmitted with low speed by USB interface, will not produce substantially because by electromagnetic interference
Influence and abnormal interrupt problem, therefore when detected phone incoming call event or phone exhalation event occur when, if countless
The i.e. USB interface is transmitted in idle condition according to USB interface is passed through, or, although there are data to pass through USB interface and enter
Row is transmitted, but the transmission rate of the data is just transmitted less than or equal to preset transmission rate, the i.e. data with low speed, then not
Data transfer to being carried out by the USB interface is managed, but directly the phone incoming call event or phone that detect are exhaled
Outgoing event carries out subsequent treatment, e.g., when detect be phone incoming call event when, then when user's press-to-talk key is detected,
Set up sound circuit with base station to be connected, proceed by call, or, when detect be phone exhalation event when, then with base station
Service connection is set up, is externally called.
S203, judges whether the management instruction that the user triggers according to the prompt message is received in preset time period;
While prompt message is exported, into countdown.Judge preset time period, such as whether receive user in 2 seconds
The management instruction that prompt message according to output is triggered, i.e. interior during judging countdown, if receive user according to output
The management instruction of prompt message triggering.
Further, also count down information can be exported while prompt message is exported, is referred to pointing out user to trigger management
The timeliness of order.
If the interior management instruction for receiving user's triggering, performs step S204 during countdown;If interior during countdown
The management instruction of user's triggering is not received, then performs step S209.
S204, judges the type of management instruction;
If receiving management instruction in the preset time period, the type of management instruction is judged, i.e. judge that the management refers to
Order is the first management instruction or the second management instruction, and when management instruction is for the first management instruction, performs step S205;
When management instruction is for the second management instruction, step S206 is performed.
S205, when management instruction is for the first management instruction, the preset transmission is reduced to by the transmission rate of the data
Below speed;
When the management instruction of user's triggering is for the first management instruction, the transmission rate of USB interface is down to preset transmission
Below speed so that data can only be transmitted with relatively low speed, after transmission rate declines, the transmission voltage of USB interface
Raise, the antijamming capability of USB data transmission is strengthened, so as to USB data transmission can be prevented when there is phone incoming call or logical
There is abnormal interrupt during words.
S206, at the end of the phone incoming call event or the phone exhalation event is detected, recovers the transmission speed of the data
Rate;
When termination of a call is detected, confirm that phone incoming call event or phone exhalation event terminate, recover the biography of USB interface
Level when defeated speed to phone incoming call event or phone exhalation event occurs.Specifically, termination of a call can include following several
The situation of kind:User is received calls, refusal receives calls, termination is dialled and is hung up the telephone after conversing.
S207, when management instruction is for the second management instruction, suspends the transmission of the data;
When the management instruction of user's triggering is for the second management instruction, the current data transfer for carrying out of pause USB interface is protected
Stay USB transmission data scene, the communication information of the data that record USB interface is currently being transmitted.
S208, at the end of the phone incoming call event or the phone exhalation event is detected, recovers the transmission of the data;
When termination of a call is detected, confirm that phone incoming call event or phone exhalation event terminate, according to the pause of record
The communication information of the data that USB interface is currently being transmitted during data transfer, recovers USB transmission data scene, proceeds original
Some data transfers.
S209, the transmission rate is reduced to below the preset transmission rate.
If exceeding preset time period, the management instruction of user's triggering is not received, be then down to the transmission rate of USB interface pre-
Put below transmission rate, and perform step S206:At the end of phone incoming call event or phone exhalation event is detected, recovering should
The transmission rate of USB interface.
A kind of data transfer management method that the present embodiment is provided, USB data transmission abnormal interrupt is caused when having detected
Phone incoming call event or phone exhalation event occur, and there are data to pass through USB interface with the speed more than preset transmission rate
When rate is transmitted, the transmission rate of the data is reduced to below the preset transmission rate or suspended the transmission of the data.This
Invention one, by reducing transmission rate so that the transmission voltage of USB interface is raised, the antijamming capability of USB data transmission is obtained
To enhancing, another one, by before abnormal interrupt occurs, actively suspending the current USB data transmission for carrying out, in exception to be caused
After the disconnected event for occurring terminates, then recover the data transfer suspended, thus can solve present in prior art because by phone
USB data transmission abnormal interrupt problem caused by the influence of the electromagnetic interference produced in incoming call or communication process, so as to improve
The normal transmission rate of data.
3rd embodiment
Accompanying drawing 3 is referred to, accompanying drawing 3 is the structural representation of the data transfer management device that third embodiment of the invention is provided
Figure.For convenience of description, illustrate only the part related to the embodiment of the present invention.The data transfer management device of the example of accompanying drawing 3
Can be the executive agent of the data transfer management method that previous embodiment is provided, it can be mobile terminal or therein one
Individual functional module.The data transfer management device of the example of accompanying drawing 3, mainly includes:Detection unit 301 and administrative unit 302, each work(
Energy unit describes in detail as follows:
Detection unit 301, for detecting whether having phone incoming call event or phone exhalation event.
Detection unit 301 by AP receive BP send listen to have on PCH calling enter notification message
When, confirmation detects phone incoming call event.Detection unit 301 trigger the operation called detecting user
When, confirmation detects phone exhalation event.
Detection unit 301, is additionally operable to, when phone incoming call event has been detected or phone exhalation event occurs, detect whether
USB is transmitted and the transmission rate of the data is more than preset transmission rate to have data to pass through.
Detection unit 301 continues to detect USB interface when phone incoming call event has been detected or phone exhalation event occurs
Whether whether idle condition is in, i.e. there are data to pass through USB interface and be transmitted, if there are data to pass through USB interface carrying out
Whether transmission, then further detect the transmission rate of the data more than preset transmission rate.
Current USB interface mainly has the multiple standards such as USB1.0, USB1.1, USB2.0, USB3.0, USB4.0, corresponds to
Different standards, in the data transmission obtainable transmission rate can be, but not limited to include following several:Low speed, transmission rate
It is 1.5Mbps;At full speed, transmission rate is 12Mbps;At a high speed, transmission rate is 480Mbps;Hypervelocity, transmission rate is 5Gbps.
Preferably, preset transmission rate is low speed 1.5Mbps.
Administrative unit 302, is carried out if having detected data for detection unit 301 and having passed through the USB
Transmission and the data transmission rate be more than the preset transmission rate, then by the transmission rate be reduced to the preset transmission rate with
Transmission that is lower or suspending the data.
If detection unit 301 is detected when having phone incoming call event or phone exhalation event occurs, there are data to pass through
USB interface is transmitted with the speed more than preset transmission rate, then testing result is notified into administrative unit 302 so that management
Be reduced to the transmission rate that the transmission rate of the data is USB interface below the preset transmission rate by unit 302 so that the number
According to that can only be transmitted with relatively low speed, after transmission rate declines, the transmission voltage of USB interface is raised, USB data transmission
Antijamming capability strengthened so that in USB data transmission being prevented in phone incoming call or in communication process and occurring exception
It is disconnected.
Or, if there are data to pass through USB interface being transmitted with the speed more than preset transmission rate, detection is tied
Fruit notifies administrative unit 302 so that the current data transfer for carrying out of the pause USB interface of administrative unit 302, when phone incoming call event
Or at the end of phone exhalation event, recover the data transfer.
It is to be appreciated that when data are transmitted with low speed by USB interface, will not produce substantially because by electromagnetic interference
Influence and abnormal interrupt problem, therefore when detection unit 301 detected phone incoming call event or phone exhalation event hair
When raw, if no data passes through USB interface and is transmitted, or, although there are data to pass through USB interface and be transmitted, but should
The transmission rate of data is less than or equal to preset transmission rate, then testing result is notified into administrative unit 302 so that administrative unit
302 data transfer not to being carried out by the USB interface is managed, but the directly phone incoming call event or electricity to detecting
Words exhalation event carries out subsequent treatment.
It should be noted that in the implementation method of the data transfer management device of the example of the figures above 3, each functional unit
Division is merely illustrative of, can as needed in practical application, such as the realization of the configuration requirement or software of corresponding hardware
Convenient consideration, and above-mentioned functions distribution is completed by different functional units, will the data transfer management device it is interior
Portion's structure is divided into different functional units, to complete all or part of function described above.And, in practical application,
Corresponding functional unit in the present embodiment can be realized by corresponding hardware, it is also possible to be performed by corresponding hardware corresponding
Software is completed;Each embodiment that this specification is provided can all apply foregoing description principle.
Knowable to the data transfer management device of the example of above-mentioned accompanying drawing 3, in having detected and having caused USB data transmission exception
Disconnected phone incoming call event or phone exhalation event occur, and have data to pass through USB interface with more than preset transmission rate
When speed is transmitted, the transmission rate of the data is reduced to below the preset transmission rate or suspended the transmission of the data.
One of the present invention, by reducing transmission rate so that the transmission voltage of USB interface is raised, the antijamming capability of USB data transmission
Strengthened, another one, by before abnormal interrupt occurs, actively suspending the current USB data transmission for carrying out, exception to be caused
After the event that interruption occurs terminates, then recover the data transfer suspended, thus can solve present in prior art because by electricity
USB data transmission abnormal interrupt problem caused by the influence of the electromagnetic interference produced in words incoming call or communication process, so as to carry
The normal transmission rate of data high.
Fourth embodiment
Accompanying drawing 4 is referred to, accompanying drawing 4 is the structural representation of the data transfer management device that fourth embodiment of the invention is provided
Figure.For convenience of description, illustrate only the part related to the embodiment of the present invention.The data transfer management device of the example of accompanying drawing 4
Can be the executive agent of the data transfer management method that previous embodiment is provided, it can be mobile terminal or therein one
Individual functional module.The data transfer management device of the example of accompanying drawing 4, mainly includes:Detection unit 41 and administrative unit 42, each function
Unit describes in detail as follows:
Detection unit 41, for detecting whether having phone incoming call event or phone exhalation event.
When by AP receive BP send listen to have on PCH calling enter notification message when, detection unit
41 confirm to detect phone incoming call event.When detecting user and carrying out triggering the operation called, for example, when inspection
When measuring user input telephone number and click to dial key, detection unit 41 confirms to detect phone exhalation event.
Detection unit 41, is additionally operable to, when phone incoming call event has been detected or phone exhalation event occurs, detect whether
USB is transmitted and the transmission rate of the data is more than preset transmission rate to have data to pass through.
Detection unit 41 continues to detect USB interface when phone incoming call event has been detected or phone exhalation event occurs
Whether whether idle condition is in, i.e. there are data to pass through USB interface and be transmitted, if there are data to pass through USB interface carrying out
Whether transmission, then further detect the transmission rate of the data more than preset transmission rate.
Current USB interface mainly has the multiple standards such as USB1.0, USB1.1, USB2.0, USB3.0, USB4.0, corresponds to
Different standards, in the data transmission obtainable transmission rate can be, but not limited to include following several:Low speed, transmission rate
It is 1.5Mbps;At full speed, transmission rate is 12Mbps;At a high speed, transmission rate is 480Mbps;Hypervelocity, transmission rate is 5Gbps.
Preferably, preset transmission rate is low speed 1.5Mbps.
Administrative unit 42, is passed if having detected data for detection unit 41 and having passed through the USB
Defeated and the data transmission rate is more than the preset transmission rate, then the transmission rate is reduced to below the preset transmission rate
Or suspend the transmission of the data.
Further, administrative unit 42 includes:Prompt message output unit 421, judging unit 422, reduction unit 423 with
And pause unit 424.
Prompt message output unit 421, for exporting prompt message, to point out transmission of the user to the data to manage
Reason.
Specifically, prompt message includes:For pointing out the selection text information that triggering management is instructed, being managed for triggering first
Manage first button and the second button for triggering the second management instruction of instruction.Wherein, the first management instruction, for instructing
The transmission rate of USB interface is reduced to below preset transmission rate.Second management instruction, is currently connect for suspending by USB
The data transfer that mouth is carried out.Further, prompt message may also include prompting audio-frequency information or video information.
Prompt message output unit 421 detection unit 41 detected data pass through USB interface be transmitted and should
When the transmission rate of data is more than preset transmission rate, above-mentioned prompt message is exported to user.
Judging unit 422, for judging whether to be received in preset time period the user according to prompt message output unit 421
The management instruction of the prompt message triggering of output.
While prompt message output unit 421 exports prompt message, judging unit 422 enters countdown, and judges
Whether preset time period, such as receive the management instruction that user triggers according to the prompt message of output, i.e. judge to fall to count in 2 seconds
When during it is interior, if receive user according to output prompt message trigger management instruction.
Further, prompt message output unit 421 can also export count down information while prompt message is exported,
To point out user to trigger the timeliness of management instruction.
Judging unit 422, if being additionally operable to receive management instruction in the preset time period, judges the class of management instruction
Type.
Judge the type of the management instruction of user's triggering, i.e. judge that management instruction is the first management instruction or second
Management instruction.
Reduction unit 423, for when judging unit 422 judged result for the management instruction for first management instruction when,
The transmission rate of the data is reduced to below the preset transmission rate.
When the management instruction of user's triggering is for the first management instruction, the transmission rate of USB interface drops in reduction unit 423
To preset transmission rate so that data can only be transmitted with relatively low speed, after transmission rate declines, USB interface
Transmission voltage raise, the antijamming capability of USB data transmission strengthened, so as to can prevent the USB data transmission from having phone
There is abnormal interrupt during incoming call or in communication process.
Pause unit 424, for when judging unit 422 judged result for the management instruction for second management instruction when,
Suspend the transmission of the data.
When the management instruction of user's triggering is the second management instruction, the pause pause USB interface of unit 424 is currently carried out
Data transfer, retains USB transmission data scene, the communication information of the data that record USB interface is currently being transmitted.
Further, reduction unit 423, if being additionally operable to the judged result of judging unit 422 not connect in the preset time period
Management instruction is received, then the transmission rate is reduced to below the preset transmission rate.
Further, detection unit 41, are additionally operable to detect whether the phone incoming call event or phone exhalation event terminate.
Detection unit 41 confirms that phone incoming call event or phone exhalation event terminate when termination of a call is detected.Wherein,
Termination of a call can specifically include following several situations:User is received calls, refusal receives calls, termination is dialled and after conversing
Hang up the telephone.
Administrative unit 42 also includes:Transmission rate recovery unit 425.
Transmission rate recovery unit 425, for detecting the phone incoming call event or phone exhalation when detection unit 41
At the end of event, recover the transmission rate of the data.
When termination of a call is detected, detection unit 41 confirms that phone incoming call event or phone exhalation event terminate, and will
Confirm result notification transmission rate recovery unit 425 so that transmission rate recovery unit 425 recovers the transmission rate of USB interface
Level when occurring to phone incoming call event or phone exhalation event.
Further, administrative unit 42 also includes:Transmission recovery unit 426.
Transmission recovery unit 426, for detecting the phone incoming call event or phone exhalation event when detection unit 41
At the end of, recover the transmission of the data.
When termination of a call is detected, detection unit 41 confirms that phone incoming call event or phone exhalation event terminate, and will
Confirm result notification transmission recovery unit 426 so that USB connects when transmission recovery unit 426 is according to the pause data transfer for recording
The communication information of the current data transmitted of mouth, recovers USB transmission data scene, proceeds original data transfer.
It is to be appreciated that when data are transmitted with low speed by USB interface, will not produce substantially because by electromagnetic interference
Influence and abnormal interrupt problem, therefore when detection unit 301 detected phone incoming call event or phone exhalation event hair
When raw, if no data passes through USB interface and is transmitted the i.e. USB interface in idle condition, or, although there are data just to lead to
USB interface is crossed to be transmitted, but the transmission rate of the data is just entered less than or equal to preset transmission rate, the i.e. data with low speed
Row transmission, then data transfer of the administrative unit 42 not to being carried out by the USB interface is managed, but directly to detecting
Phone incoming call event or phone exhalation event carry out subsequent treatment, e.g., when detect be phone incoming call event when, then detection
During to user's press-to-talk key, set up sound circuit with base station and be connected, proceed by call, or, it is phone when what is detected
During exhalation event, then service connection is set up with base station, externally called.
Knowable to the data transfer management device of the example of above-mentioned accompanying drawing 4, cause USB data transmission exception when having detected
Phone incoming call event or phone the exhalation event of interruption occur, and have data to pass through USB interface with more than preset transmission rate
Speed when being transmitted, the transmission rate of the data is reduced to below the preset transmission rate or suspended the biography of the data
It is defeated.One of the present invention, by reducing transmission rate so that the transmission voltage of USB interface is raised, USB data transmission it is anti-interference
Ability is strengthened, another one, by before abnormal interrupt occurs, actively suspending the current USB data transmission for carrying out, waits to cause
After the event that abnormal interrupt occurs terminates, then recover the data transfer suspended, thus can solve present in prior art because receiving
USB data transmission abnormal interrupt problem caused by the influence of the electromagnetic interference produced in phone incoming call or communication process, from
And improve the normal transmission rate of data.
The embodiment of the present invention also provides a kind of mobile terminal, and the mobile terminal includes that the data that accompanying drawing 3 or accompanying drawing 4 are provided are passed
Defeated managing device.
It should be noted that the content such as information exchange, implementation procedure between each module/unit of said apparatus, due to
The inventive method embodiment is based on same design, and the technique effect that it brings is identical with the inventive method embodiment, particular content
Reference can be made to the narration in the inventive method embodiment, here is omitted.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can be by it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces
Letter connection, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing 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 according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words 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 used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for foregoing each method embodiment, in order to simplicity is described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because
According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
It is more than to a kind of description of data transfer management method and device provided by the present invention, for the one of this area
As technical staff, according to the embodiment of the present invention thought, will change in specific embodiments and applications, it is comprehensive
On, this specification content should not be construed as limiting the invention.
Claims (7)
1. a kind of data transfer management method, it is characterised in that methods described includes:
When phone incoming call event has been detected or phone exhalation event occurs, detect whether that data pass through general serial total
Line interface is transmitted and the transmission rate of the data is more than preset transmission rate;
If have data pass through the USB be transmitted and the data transmission rate more than described pre-
Transmission rate is put, then the transmission rate is reduced to below the preset transmission rate or suspended the transmission of the data;
If after the transmission rate is reduced to below the preset transmission rate, when detect the phone incoming call event or
At the end of the phone exhalation event, recover the transmission rate of the data;
If after suspending the transmission of the data, when detect the phone incoming call event or the phone exhalation event terminate
When, recover the transmission of the data.
2. method according to claim 1, it is characterised in that described that the transmission rate is reduced to the preset transmission
Below speed or suspend the transmission of the data, including:
Output prompt message, to point out transmission of the user to the data to be managed;
Judge whether the management instruction that the user triggers according to the prompt message is received in preset time period;
If receiving the management instruction in the preset time period, when the management instruction is for the first management instruction, by institute
The transmission rate for stating data is reduced to below the preset transmission rate, when the management instruction is for the second management instruction, temporarily
Stop the transmission of the data.
3. method according to claim 2, it is characterised in that it is described judge whether to be received in preset time period user according to
After the management instruction of the prompt message triggering, methods described also includes:
If not receiving the management instruction in the preset time period, the transmission rate is reduced to the preset transmission speed
Below rate.
4. a kind of data transfer management device, it is characterised in that described device includes:
Detection unit, for detecting whether having phone incoming call event or phone exhalation event;
The detection unit, is additionally operable to, when phone incoming call event has been detected or phone exhalation event occurs, detect whether
Data pass through USB be transmitted and the data transmission rate be more than preset transmission rate;
Administrative unit, is transmitted if having detected data for the detection unit and having passed through the USB
And the transmission rate of the data is more than the preset transmission rate, then the transmission rate is reduced to the preset transmission speed
Below rate or suspend the transmission of the data;
The detection unit, is additionally operable to detect whether the phone incoming call event or phone exhalation event terminate;
The administrative unit also includes:
Transmission rate recovery unit, for detecting the phone incoming call event or phone exhalation thing when the detection unit
At the end of part, recover the transmission rate of the data;
Transmission recovery unit, for detecting the phone incoming call event or phone exhalation event knot when the detection unit
Shu Shi, recovers the transmission of the data.
5. device according to claim 4, it is characterised in that the administrative unit includes:
Prompt message output unit, for exporting prompt message, to point out transmission of the user to the data to be managed;
Judging unit, for judging that whether the user is received in preset time period to be exported according to the prompt message output unit
The prompt message triggering management instruction;
The judging unit, if being additionally operable to receive the management instruction in the preset time period, judges the management instruction
Type;
Reduction unit, for when the judged result of the judging unit manages instruction for the management instruction for first, by institute
The transmission rate for stating data is reduced to below the preset transmission rate;
Pause unit, for when the judging unit judged result for it is described management instruction for second management instruction when, pause
The transmission of the data.
6. device according to claim 5, it is characterised in that
The reduction unit, if being additionally operable to the judged result of the judging unit not receive the pipe in the preset time period
, then be reduced to the transmission rate below the preset transmission rate by reason instruction.
7. a kind of mobile terminal, it is characterised in that the mobile terminal includes the data described in claim 4 to 6 any one
Transmission management device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510280665.7A CN104821995B (en) | 2015-05-27 | 2015-05-27 | A kind of data transfer management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510280665.7A CN104821995B (en) | 2015-05-27 | 2015-05-27 | A kind of data transfer management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104821995A CN104821995A (en) | 2015-08-05 |
CN104821995B true CN104821995B (en) | 2017-06-06 |
Family
ID=53732155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510280665.7A Expired - Fee Related CN104821995B (en) | 2015-05-27 | 2015-05-27 | A kind of data transfer management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104821995B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105406896A (en) * | 2015-10-19 | 2016-03-16 | 联想(北京)有限公司 | Electronic equipment and control method |
CN105827271A (en) * | 2015-11-30 | 2016-08-03 | 维沃移动通信有限公司 | Mobile communication method and mobile communication device |
CN105893311A (en) * | 2016-03-28 | 2016-08-24 | 青岛海信电器股份有限公司 | Universal serial bus interface drive configuration method and device |
CN106454944A (en) * | 2016-09-20 | 2017-02-22 | 乐视控股(北京)有限公司 | Data transmission method, apparatus and terminal |
CN107959545A (en) * | 2016-10-17 | 2018-04-24 | 中兴通讯股份有限公司 | Data transmission method and device, mobile phone, data card |
CN108092986B (en) * | 2017-12-27 | 2021-06-08 | 深圳市泰衡诺科技有限公司 | Data transmission method and device of mobile terminal |
CN109586808B (en) * | 2018-12-25 | 2021-04-27 | 深圳市普威技术有限公司 | Device for preventing USB3.0 equipment from interfering WIFI module |
CN109743141B (en) * | 2019-02-21 | 2021-10-22 | 维沃移动通信有限公司 | Data transmission adjusting method and terminal equipment |
CN109921959A (en) * | 2019-03-22 | 2019-06-21 | 维沃移动通信有限公司 | A kind of parameter regulation means and communication equipment |
CN112148529B (en) * | 2020-09-24 | 2024-06-21 | 杭州海康机器人股份有限公司 | Data transmission method, device, camera, computing device and storage medium |
CN112235404B (en) * | 2020-10-14 | 2023-05-09 | 歌尔科技有限公司 | Method and equipment for silent upgrading of earphone and charging box |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929505A (en) * | 2006-09-25 | 2007-03-14 | 深圳市杰特电信控股有限公司 | Mobile phone with independent moving hard disk |
JP4905794B2 (en) * | 2007-04-26 | 2012-03-28 | 京セラ株式会社 | Data processing system, data transmission method in the same system, and portable wireless terminal device |
JP4921281B2 (en) * | 2007-08-14 | 2012-04-25 | キヤノン株式会社 | Communication apparatus and communication control method |
CN103178924B (en) * | 2011-12-20 | 2018-04-17 | 国民技术股份有限公司 | A kind of data transmission method and terminal |
US9378177B2 (en) * | 2012-07-06 | 2016-06-28 | Texas Instruments Incorporated | WiFi USB protocol |
CN103490829B (en) * | 2013-10-14 | 2015-12-09 | Tcl通讯(宁波)有限公司 | A kind of method and apparatus preventing radiofrequency signal from disturbing |
-
2015
- 2015-05-27 CN CN201510280665.7A patent/CN104821995B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN104821995A (en) | 2015-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104821995B (en) | A kind of data transfer management method and device | |
CN108924887A (en) | Data service switching method and equipment | |
CN104703267B (en) | The terminal communicating method and device of a kind of power saving | |
CN104469778B (en) | Intelligent terminal communication monitoring method and intelligent terminal | |
CN103076977B (en) | A kind of method and system of the transmission of trigger message in the standby state | |
CN103873322B (en) | A kind of information processing method and communication terminal | |
CN109121216A (en) | A kind of radio frequency resource distribution method, user equipment and the device with store function | |
CN104703236A (en) | Network switching method and device for terminal communication | |
CN107371221A (en) | Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network | |
CN104038639B (en) | A kind of terminal called method and terminal | |
CN102123511B (en) | Mobile network data transmission method and system as well as mobile terminal | |
CN103249104A (en) | Data transmission method and device | |
CN103279447B (en) | Information processing method, device and terminal | |
CN110536389A (en) | Method and device for reducing power consumption of terminal equipment and terminal equipment | |
CN106951281A (en) | The mode switching method of a kind of electronic equipment and electronic equipment | |
CN104837186B (en) | A kind of terminal speech communication means and device | |
CN106375584A (en) | Voice signal control method and device | |
CN105764038A (en) | Call forwarding control method and system | |
CN104660638B (en) | Data transmission method and system | |
CN103797777B (en) | Netwrok device, terminal device and voice business control method | |
CN105657701B (en) | A kind of call method and device based on eSIM card | |
CN104717346A (en) | Call hanging-up method and device | |
CN105487637A (en) | Radio-frequency link control method and apparatus | |
CN104902084A (en) | Intelligent conversation method, device and equipment | |
CN105142166B (en) | The transmission method and device of smart mobile phone signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170606 |