Summary of the invention
In order to solve in background technology when user needs transfer of data and is connected with computer by intelligent terminal, computer also repeatedly can charge to intelligent terminal, thus reduce the problem of the battery of intelligent terminal, embodiments provide a kind of data connecting line, for the control method of data connecting line and device.Described technical scheme is as follows:
First aspect, provides a kind of data connecting line, and described data connecting line, comprising:
First USB plug, the second USB plug, for the wire group that is electrically connected described first USB plug and described second USB plug and the switch block be arranged in described wire group;
Described switch block can in the first conducting state, switch between the second conducting state and the 3rd conducting state;
When described switch block is in the first conducting state, the wire conducting for charging in described wire group;
When described switch block is in the second conducting state, for the wire conducting of transfer of data in described wire group;
When described switch block is in the 3rd conducting state, for charging and the equal conducting of wire of transfer of data in described wire group.
Preferably, described data connecting line, also comprises: the control assembly be electrical connected with described wire group and described switch block;
Described control assembly, for according to the signal determination operation type in described wire group, described action type comprises charging operations, data transfer operation and charging and data transfer operation simultaneously;
Described control assembly, if when the action type also for determining is charging operations, then controls described switch block and is in the first conducting state;
If the action type determined is data transfer operation, then controls described switch block and be in the second conducting state;
If the action type determined for charging and data transfer operation simultaneously, then controls described switch block and is in the 3rd conducting state.
Preferably, the described wire for charging, comprises power lead and earth lead; The described wire for transfer of data, comprises the first data conductor and the second data conductor;
Described control assembly, for according to the voltage on described power lead and/or current detecting to current be charged as effectively charge time, determine that described action type is charging operations;
Described control assembly, time also for there is data-signal in described first data conductor and/or described second data conductor, determines that described action type is data transfer operation;
Described control assembly, also for being charged as effective charging according to the voltage on described power lead and/or current detecting to current, and when there is data-signal in described first data conductor and/or described second data conductor, determine that described action type is for charging and data transfer operation simultaneously.
Preferably, described switch block, comprises and is arranged at described the first switch on the wire charged and is arranged at described second switch on the wire of transfer of data;
Described control assembly, for when described action type is charging operations, controls described first switch and is in conducting state and controls described second switch and be in cut-off state;
Described control assembly, also for when described action type is data transfer operation, controls described first switch and is in cut-off state and controls described second switch and be in conducting state;
Described control assembly, also for when described action type be simultaneously charging and data transfer operation time, control described first switch and described second switch is all in conducting state.
Second aspect, provides a kind of control method for data connecting line, and described method comprises:
According to the signal determination operation type in wire group in described data connecting line, described action type comprises charging operations, data transfer operation and charges and data transfer operation simultaneously;
If the action type determined is charging operations, then controls the switch block be arranged in described wire group and be in the first conducting state, making the wire conducting for charging in described wire group;
If the action type determined is data transfer operation, then controls described switch block and be in the second conducting state, make the wire conducting for transfer of data in described wire group;
If the action type determined is charging and data transfer operation simultaneously, then controls described switch block and be in the 3rd conducting state, making in described wire group for charging and the equal conducting of wire of transfer of data.
Preferably, the described wire for charging, comprises power lead and earth lead; The described wire for transfer of data, comprises the first data conductor and the second data conductor, described according to the signal determination operation type in wire group in described data connecting line, comprising:
According to the voltage on described power lead and/or current detecting to current be charged as effectively charge time, determine that described action type is charging operations;
When described first data conductor and/or described second data conductor exist data-signal, determine that described action type is data transfer operation;
Effective charging is being charged as to current according to the voltage on described power lead and/or current detecting, and when there is data-signal in described first data conductor and/or described second data conductor, determine that described action type is for charging and data transfer operation simultaneously.
Preferably, described switch block, comprises and is arranged at described the first switch on the wire charged and is arranged at described second switch on the wire of transfer of data,
Described, control the switch block be arranged in described wire group and be in the first conducting state, comprising:
Control described first switch to be in conducting state and to control described second switch and be in cut-off state;
Described, control described switch block and be in the second conducting state, comprising:
Control described first switch to be in cut-off state and to control described second switch and be in conducting state;
Described, control described switch block and be in the 3rd conducting state, comprising:
Control described first switch and described second switch is all in conducting state.
The third aspect, provides a kind of control device of data connecting line, and described device comprises:
Operation determination module, for according to the signal determination operation type in wire group in described data connecting line, described action type comprises charging operations, data transfer operation and charging and data transfer operation simultaneously;
First control module, if the action type determined for described operation determination module is charging operations, then controls the switch block be arranged in described wire group and is in the first conducting state, making the wire conducting for charging in described wire group;
Second control module, if the action type determined for described operation determination module is data transfer operation, then controls described switch block and is in the second conducting state, make the wire conducting for transfer of data in described wire group;
3rd control module, if the action type determined for described operation determination module is charging and data transfer operation simultaneously, then controls described switch block and is in the 3rd conducting state, makes in described wire group for charging and the equal conducting of wire of transfer of data.
Preferably, the described wire for charging, comprises power lead and earth lead; The described wire for transfer of data, comprises the first data conductor and the second data conductor, and described operation determination module, comprising:
First determining unit, for according to the voltage on described power lead and/or current detecting to current be charged as effectively charge time, determine that described action type is charging operations;
Second determining unit, during for there is data-signal in described first data conductor and/or described second data conductor, determines that described action type is data transfer operation;
3rd determining unit, for being charged as effective charging according to the voltage on described power lead and/or current detecting to current, and when there is data-signal in described first data conductor and/or described second data conductor, determine that described action type is for charging and data transfer operation simultaneously.
Preferably, described switch block, comprises and is arranged at described the first switch on the wire charged and is arranged at described second switch on the wire of transfer of data,
Described first control module, if the action type for determining is charging operations, then controls described first switch and is in conducting state and controls described second switch and be in cut-off state, making the wire conducting for charging in described wire group;
Described second control module, if the action type for determining is data transfer operation, then controls described first switch and is in cut-off state and controls described second switch and be in conducting state, make the wire conducting for transfer of data in described wire group;
Described 3rd control module, if be charging and data transfer operation simultaneously for the action type determined, then controls described first switch and described second switch is all in conducting state, makes in described wire group for charging and the equal conducting of wire of transfer of data.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By arranging switch block in the wire group of data connecting line, thus according to user's request control switch parts switch between three kinds of conducting states realize respectively charging operations, data transfer operation and simultaneously charging and data transfer operation; Solve when intelligent terminal only needs transfer of data and do not need to charge, the scheme that background technology provides still can consume certain charging times, thus reduces the problem of intelligent terminal battery; Reach and only have when switch block is in the first conducting state and the 3rd conducting state, for the wire that charges just conducting thus the effect of charging for intelligent terminal in wire group.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Please refer to Fig. 2, it illustrates the structural representation of the data connecting line that the embodiment of the present invention one provides, this data connecting line comprises the first USB plug 210, second USB plug 220, for the wire group 230 that is electrically connected the first USB plug and the second USB plug and the switch block 240 be arranged in wire group;
Wherein, switch block 240 can in the first conducting state, switch between the second conducting state and the 3rd conducting state;
When switch block 240 is in the first conducting state, the wire conducting for charging in wire group 230;
When switch block 240 is in the second conducting state, for the wire conducting of transfer of data in wire group 230;
When switch block 240 is in the 3rd conducting state, for charging and the equal conducting of wire of transfer of data in wire group 230.
In sum, the data connecting line that the present embodiment provides, by arranging switch block in the wire group of data connecting line, thus according to user's request control switch parts switch between three kinds of conducting states realize respectively charging operations, data transfer operation and simultaneously charging and data transfer operation; Solve when intelligent terminal only needs transfer of data and do not need to charge, the scheme that background technology provides still can consume certain charging times, thus reduces the problem of intelligent terminal battery; Reach and only have when switch block is in the first conducting state and the 3rd conducting state, for the wire that charges just conducting thus the effect of charging for intelligent terminal in wire group.
Embodiment two
Please refer to Fig. 3, it illustrates the structural representation of the data connecting line that the embodiment of the present invention two provides, this data connecting line comprises the first USB plug 210, second USB plug 220, the wire group 230 for being electrically connected the first USB plug and the second USB plug, the control assembly 250 that is arranged at the switch block 240 in wire group 230 and is electrical connected with wire group 230 and switch block 240.
Wherein, switch block 240 can in the first conducting state, switch between the second conducting state and the 3rd conducting state;
When switch block 240 is in the first conducting state, the wire conducting for charging in wire group 230;
When switch block 240 is in the second conducting state, for the wire conducting of transfer of data in wire group 230;
When switch block 240 is in the 3rd conducting state, for charging and the equal conducting of wire of transfer of data in wire group 230.
Control assembly 250 is for according to the signal determination operation type in wire group 230; Wherein, action type can comprise charging operations, data transfer operation and charge and data transfer operation simultaneously.
If when the action type of control assembly 250 also for determining is charging operations, then control switch parts 240 are in the first conducting state;
If the action type determined is data transfer operation, then control switch parts 240 are in the second conducting state;
If the action type determined is for charging and data transfer operation simultaneously, then control switch parts 240 are in the 3rd conducting state.
Please refer to Fig. 4, because the wire for charging can comprise power lead and earth lead, the wire for transfer of data can comprise the first data conductor and the second data conductor, so in a kind of implementation of the present embodiment,
Control assembly 250 for according to the combine detection of both the voltage on power lead, electric current or voltage and current to current be charged as effectively charge time, determination operation type is charging operations.Due to when both the voltage of intelligent terminal, electric current or voltage and current are lower than certain threshold value, can be judged to be that the electricity of now intelligent terminal is not enough, also namely now need for intelligent terminal charging, so control assembly 250 can judge currently to be charged as effective charging, action type is defined as charging operations;
When control assembly 250 also exists data-signal in the combination in the first data conductor, the second data conductor or the first data conductor and the second data conductor, determination operation type is data transfer operation.When there is transfer of data between intelligent terminal and computer, data transfer signal can be there is in combination for wire also i.e. the first data conductor, the second data conductor or the first data conductor and second data conductor of transfer of data, so when control assembly 250 detect there is data-signal in above-mentioned wire time, action type is defined as data transfer operation by control assembly 250.
Control assembly 250 is also for being charged as effective charging in the combine detection according to the voltage on power lead, electric current or voltage and current to current, and when there is data-signal in the first data conductor, the second data conductor or the first data conductor and the second data conductor, determination operation type is charge and data transfer operation simultaneously.When being combined to lower than first threshold of the voltage on power lead, electric current or voltage and current being detected when control assembly 250, illustrate that the electricity of now intelligent terminal is not enough, also namely now need for intelligent terminal charging; Meanwhile, when control assembly 250 detects and there is data-signal in the combination of the first data conductor, the second data conductor or the first data conductor and the second data conductor, illustrate that now intelligent terminal needs to carry out transfer of data between computer; In sum, control assembly 250 can determine that action type is now charge and data transfer operation simultaneously.
Preferably, switch block 240 can comprise the first switch on the wire that is arranged at for charging and be arranged at the second switch on the wire of transfer of data, and in the present embodiment, first switch can be the switch be arranged in power lead, second switch can be arranged on the switch in the first data conductor or the second data conductor, second switch can also comprise the switch be arranged in the first data conductor and the switch be arranged in the second data conductor, and the position of the present embodiment to the first switch and second switch does not limit.And in the present embodiment,
Control assembly 250 for when action type is charging operations, control the first switch be in conducting state and control second switch be in cut-off state; Due to when the action type that control assembly 250 is determined is charging operations, the computer be connected with intelligent terminal only needs for intelligent terminal charges, so now the second switch on the wire of transfer of data by the first switch-linear hybrid on the wire for charging in conducting state, and can be arranged on cut-off state by control assembly 250 simultaneously.
Control assembly 250 also for when action type is data transfer operation, control the first switch be in cut-off state and control second switch be in conducting state; When the action type that control assembly 250 is determined is data transfer operation, the computer be now connected with intelligent terminal does not need for intelligent terminal charges, only need between intelligent terminal and computer to carry out transfer of data, so, now the second switch on the wire of transfer of data by the first switch-linear hybrid on the wire for charging in cut-off state, and can be arranged on conducting state by control assembly 250 simultaneously.
Control assembly 250 also for when action type be simultaneously charging and data transfer operation time, control the first switch and second switch is all in conducting state.The action type determined when control assembly 250 is charge and data transfer operation simultaneously, then now need between intelligent terminal and computer to carry out transfer of data, and it is intelligent terminal charging that computer needs by charging conductor, so now, the first switch on the wire for charging and the second switch on the wire of transfer of data all can be arranged on conducting state by control assembly 250.
It should be added that, the control assembly 250 shown in Fig. 3 is the structural representation of its correspondence, and when actual realization, can be chip piece can be also the device be made up of polylith chip, the present embodiment limit this; And the first switch and second switch can be any one in sensitive switch, ship type switch, toggle switch, toggle switch, push-button switch, key switch, rocker switch and MOS switch, and the present embodiment does not also limit its way of realization.
In sum, the data connecting line that the present embodiment provides, by arranging switch block in the wire group of data connecting line, thus according to user's request control switch parts switch between three kinds of conducting states realize respectively charging operations, data transfer operation and simultaneously charging and data transfer operation; Solve when intelligent terminal only needs transfer of data and do not need to charge, the scheme that background technology provides still can consume certain charging times, thus reduces the problem of intelligent terminal battery; Reach and only have when switch block is in the first conducting state and the 3rd conducting state, for the wire that charges just conducting thus the effect of charging for intelligent terminal in wire group.In the present embodiment simultaneously, by arranging a control assembly be electrical connected with wire group and switch block, reach and can detect according to control assembly the conducting state that the action type obtained carrys out control switch parts, thus only have when intelligent terminal needs charging, just can conducting thus the effect of charging for intelligent terminal for the wire that charges in wire group.
It should be added that, above-described embodiment is just arranged in wire group 230 for switch block 240, can also be arranged in the second USB plug 220 as shown in Figure 5 when actual realization, or in the first USB plug 210, the present embodiment does not limit the position that switch block 240 is arranged; And the easy full of beard of those skilled in the art and, control assembly 250 also can be arranged in the first USB plug 210 or the second USB plug 220, and the present embodiment does not limit the position that control assembly 250 is arranged.
Embodiment three
Please refer to Fig. 6, it illustrates the method flow diagram of the control method for data connecting line that the embodiment of the present invention three provides, this control method may be used for the data connecting line of the intelligent terminal of such as mobile phone, MP3, MP4 or digital camera and so on, and this control method comprises:
Step 301, according to the signal determination operation type in wire group in data connecting line;
When intelligent terminal is connected with computer by data connecting line, the control assembly in data connecting line can according to the signal determination operation type in wire group in data connecting line.Wherein, action type comprises charging operations, data transfer operation and charges and data transfer operation simultaneously.
Step 302, if the action type determined is charging operations, then controls the switch block be arranged in wire group and is in the first conducting state, making the wire conducting for charging in wire group;
Step 303, if the action type determined is data transfer operation, then control switch parts are in the second conducting state, make the wire conducting for transfer of data in wire group;
Step 304, if the action type determined is charging and data transfer operation simultaneously, then control switch parts are in the 3rd conducting state, make in wire group for charging and the equal conducting of wire of transfer of data.
In sum, the control method for data connecting line that the present embodiment provides, by according to the signal determination operation type in wire group in data connecting line, thus only have when the action type determined be charging operations or simultaneously charging and data transfer operation time, just understand conducting for the wire that charges in wire group; Solve when intelligent terminal only needs transfer of data and do not need to charge, the scheme that background technology provides still can consume certain charging times, thus reduces the problem of intelligent terminal battery; Reach and can flexibly select the effect of action type according to user's request.
Embodiment four
Please refer to Fig. 7, it illustrates the control method for data connecting line that the embodiment of the present invention four provides, this control method may be used in the data wire of the intelligent terminal of such as mobile phone, MP3, MP4 or digital camera and so on, and this control method comprises:
Step 401, according to the signal determination operation type in wire group in data connecting line;
When intelligent terminal is connected with computer by data connecting line, the control assembly in data connecting line can according to the signal determination operation type in wire group in data connecting line.Wherein, action type comprises charging operations, data transfer operation and charges and data transfer operation simultaneously.
Owing to comprising power lead and earth lead for the wire charged in data connecting line, wire for transfer of data comprises the first data conductor and the second data conductor, so the difference of content according to different operating type detection, the step according to the signal determination operation type in wire group in data connecting line can comprise following three sub-steps:
The first, according to the combine detection of the voltage on power lead, electric current or voltage and current to current be charged as effectively charge time, determination operation type is charging operations;
After intelligent terminal is connected with computer by data connecting line, control assembly can detect the signal in voltage in power lead or electric current and the first data conductor or the second data conductor, because the electricity when intelligent terminal is less than predetermined value, also when namely intelligent terminal needs to charge, the voltage of intelligent terminal, the combination of electric current or voltage and current can lower than certain threshold value, so the voltage in power lead detected when control assembly, when the combination of electric current or voltage and current is lower than certain threshold value, control assembly can judge that now intelligent terminal electricity deficiency needs as its charging, also namely currently effective charging is charged as, thus determination operation type is charging operations.In actual implementation procedure, control assembly can also adopt the mode of intelligent terminal charger judgement battery electric quantity to detect, and the present embodiment does not limit this.
The second, when the first data conductor, the second data conductor or the first data conductor and the second data conductor exist data-signal, determination operation type is data transfer operation;
When intelligent terminal is connected with computer by data connecting line, and user by the data copy in intelligent terminal in computer, or during from computer download data, data-signal can be there is in first data conductor and the second data conductor, so after control assembly detects the signal in voltage in power lead or electric current and the first data conductor or the second data conductor, when the testing result of control assembly is the first data conductor, data-signal is there is in the combination of the second data conductor or the first data conductor and the second data conductor, then illustrate user intelligent terminal is connected with computer target time transfer of data, so now action type can be defined as data transfer operation by control assembly.
3rd, be charged as effective charging according to the voltage on power lead and/or current detecting to current, and when there is data-signal in the first data conductor and/or the second data conductor, determination operation type is charge and data transfer operation simultaneously.
Detect that when control assembly the combination of the voltage in power lead, electric current or voltage and current is lower than certain threshold value, and when there is data-signal in the first data conductor, the second data conductor or the first data conductor and the second data conductor, control assembly can determination operation type be charge and data transfer operation simultaneously, performing step with reference to the first sub-step and the second sub-step, can not repeat them here.
Step 402, if the action type determined is charging operations, then control the first switch be in conducting state and control second switch be in cut-off state, make the wire conducting for charging in wire group;
Comprise the first switch on the wire be arranged at for charging due to switch block and be arranged at the second switch on the wire of transfer of data, so, when the action type that control assembly is determined is charging operations, control assembly can control the first switch and be in conducting state and control second switch and be in cut-off state, thus makes the wire conducting for charging in wire group.
Step 403, if the action type determined is data transfer operation, then control the first switch be in cut-off state and control second switch be in conducting state, make the wire conducting for transfer of data in wire group;
Similar with step 402, the action type determined when control assembly is data transfer operation, then control assembly controls the first switch and is in cut-off state and controls second switch and be in conducting state, thus makes the wire conducting for transfer of data in wire group.
Step 404, if the action type determined is charging and data transfer operation simultaneously, then controls the first switch and second switch is all in conducting state, makes in wire group for charging and the equal conducting of wire of transfer of data.
When the action type that control assembly is determined is for charging and data transfer operation simultaneously, control assembly can control the first switch and second switch is all in conducting state, thus user in wire group is charged and the equal conducting of wire of transfer of data.
In sum, the control method for data connecting line that the present embodiment provides, by according to the signal determination operation type in wire group in data connecting line, thus only have when the action type determined be charging operations or simultaneously charging and data transfer operation time, just understand conducting for the wire that charges in wire group; Solve when intelligent terminal only needs transfer of data and do not need to charge, the scheme that background technology provides still can consume certain charging times, thus reduces the problem of intelligent terminal battery; Reach and can flexibly select the effect of action type according to user's request.In the present embodiment simultaneously, by arranging the first switch and arrange second switch in the wire for charging in for the wire of transfer of data, reach and can be realized charging operations, data transfer operation and charging and the effect of transfer of data three kinds of action types simultaneously by the state controlling the first switch and second switch respectively.
Embodiment five
Please refer to Fig. 8, it illustrates the control device for data connecting line that the embodiment of the present invention five provides, this control device comprises: operation determination module 510, first control module 520, second control module 530 and the 3rd control module 540.
Operation determination module 510, for according to the signal determination operation type in wire group in described data connecting line, described action type comprises charging operations, data transfer operation and charging and data transfer operation simultaneously;
First control module 520, if the action type determined for described operation determination module 510 is charging operations, then controls the switch block be arranged in described wire group and is in the first conducting state, making the wire conducting for charging in described wire group;
Second control module 530, if the action type determined for described operation determination module 510 is data transfer operation, then controls described switch block and is in the second conducting state, make the wire conducting for transfer of data in described wire group;
3rd control module 540, if the action type determined for described operation determination module 510 is charge and data transfer operation simultaneously, then controlling described switch block and be in the 3rd conducting state, making in described wire group for charging and the equal conducting of wire of transfer of data.
In sum, the present embodiment provide for the control device in data connecting line, by according to the signal determination operation type in wire group in data connecting line, thus only have when the action type determined be charging operations or simultaneously charging and data transfer operation time, just understand conducting for the wire that charges in wire group; Solve when intelligent terminal only needs transfer of data and do not need to charge, the scheme that background technology provides still can consume certain charging times, thus reduces the problem of intelligent terminal battery; Reach and can flexibly select the effect of action type according to user's request.
Embodiment six
The embodiment of the present invention six provides a kind of control device for data connecting line, and this control device comprises: operation determination module 510, first control module 520, second control module 530 and the 3rd control module 540.
Operation determination module 510, for according to the signal determination operation type in wire group in described data connecting line, described action type comprises charging operations, data transfer operation and charging and data transfer operation simultaneously;
First control module 520, if the action type determined for described operation determination module 510 is charging operations, then controls the switch block be arranged in described wire group and is in the first conducting state, making the wire conducting for charging in described wire group;
Second control module 530, if the action type determined for described operation determination module 510 is data transfer operation, then controls described switch block and is in the second conducting state, make the wire conducting for transfer of data in described wire group;
3rd control module 540, if the action type determined for described operation determination module 510 is charge and data transfer operation simultaneously, then controlling described switch block and be in the 3rd conducting state, making in described wire group for charging and the equal conducting of wire of transfer of data.
Preferably, please refer to Fig. 9, the described wire for charging, comprises power lead and earth lead; The described wire for transfer of data, comprises the first data conductor and the second data conductor, and described operation determination module 510, comprising: the first determining unit 512, second determining unit 514 and the 3rd determining unit 516;
First determining unit 512, for according to the voltage on described power lead and/or current detecting to current be charged as effectively charge time, determine that described action type is charging operations;
Second determining unit 514, during for there is data-signal in described first data conductor and/or described second data conductor, determines that described action type is data transfer operation;
3rd determining unit 516, for being charged as effective charging according to the voltage on described power lead and/or current detecting to current, and when there is data-signal in described first data conductor and/or described second data conductor, determine that described action type is for charging and data transfer operation simultaneously.
Preferably, described switch block, comprises and is arranged at described the first switch on the wire charged and is arranged at described second switch on the wire of transfer of data,
Described first control module 520, if the action type for determining is charging operations, then controls described first switch and is in conducting state and controls described second switch and be in cut-off state, making the wire conducting for charging in described wire group;
Described second control module 530, if the action type for determining is data transfer operation, then controls described first switch and is in cut-off state and controls described second switch and be in conducting state, make the wire conducting for transfer of data in described wire group;
Described 3rd control module 540, if the action type for determining is charge and data transfer operation simultaneously, then controlling described first switch and described second switch is all in conducting state, making in described wire group for charging and the equal conducting of wire of transfer of data.
In sum, the control device for data connecting line that the present embodiment provides, by according to the signal determination operation type in wire group in data connecting line, thus only have when the action type determined be charging operations or simultaneously charging and data transfer operation time, just understand conducting for the wire that charges in wire group; Solve when intelligent terminal only needs transfer of data and do not need to charge, the scheme that background technology provides still can consume certain charging times, thus reduces the problem of intelligent terminal battery; Reach and can flexibly select the effect of action type according to user's request.In the present embodiment simultaneously, by arranging the first switch and arrange second switch in the wire for charging in for the wire of transfer of data, reach and can be realized charging operations, data transfer operation and charging and the effect of transfer of data three kinds of action types simultaneously by the state controlling the first switch and second switch.
It should be noted that: the control device for data connecting line that above-described embodiment provides is when the operation that control data connecting line performs, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the control device for data connecting line that above-described embodiment provides belongs to same design with the embodiment of the method for the control method for data connecting line, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.