CN106469129A - A kind of equipment method of attachment and device - Google Patents

A kind of equipment method of attachment and device Download PDF

Info

Publication number
CN106469129A
CN106469129A CN201610792296.4A CN201610792296A CN106469129A CN 106469129 A CN106469129 A CN 106469129A CN 201610792296 A CN201610792296 A CN 201610792296A CN 106469129 A CN106469129 A CN 106469129A
Authority
CN
China
Prior art keywords
role
drp
equipment
drp equipment
connection
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.)
Pending
Application number
CN201610792296.4A
Other languages
Chinese (zh)
Inventor
胡稼悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610792296.4A priority Critical patent/CN106469129A/en
Publication of CN106469129A publication Critical patent/CN106469129A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4265Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
    • G06F13/4269Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus using a handshaking protocol, e.g. Centronics connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

Embodiments provide a kind of equipment method of attachment and device, the method includes:The Role Information of first pair of character data port DRP equipment receiving user's input;A described DRP equipment configures the connection role of a described DRP equipment according to described Role Information;A described DRP equipment is connected with the 2nd DRP equipment with described connection role.In the embodiment of the present invention, the role of the first DRP equipment can be configured so that fixing role, and then enhance the controllability of the configuration of role in DRP equipment connection procedure, and avoid the problem that the cruising time of the few consumption of the electricity of DRP equipment of the electricity that unordered random role's configuration causes and the few DRP equipment of electricity reduces.

Description

A kind of equipment method of attachment and device
【Technical field】
The present invention relates to communication technical field, more particularly, to a kind of equipment method of attachment and device.
【Background technology】
It is suggested with Type-C interface, this new interface is just with its more slim design, faster transmission speed Degree (highest 10Gbps) and more intrepid power transmission (highest 100W) are more and more paid close attention to by user.
In Type-C agreement, the device role in three kinds of interconnection is suggested:Downstream data ports (Downstream Facing Port, DFP), upstream data port (Upstream Facing Port, UFP) and double character data port (Dual Role Port, DRP).DFP is main equipment, and UFP is from equipment, and two DRP equipment are in interconnection process, one of DFP can be shown as, and another can show as two kinds of roles of UFP, when interconnection in two kinds of equipment role be respectively DFP and During UFP, it is possible to achieve data transfer therebetween, DFP can also be charged to UFP simultaneously.
When the equipment of two pieces DRP is connected, after handshake procedure terminates, an equipment can realize DFP role, another equipment UFP role then can be realized.This DRP realizes DFP role or UFP role is random that is to say, that multiple connect at present Two pieces DRP equipment, each result may be all different.
During realizing the present invention, inventor finds at least there is following technical problem in prior art:
It is random because DRP realizes DFP role or UFP role, this unordered role's method of salary distribution is it may appear that electricity The few DRP equipment of amount is the situation of the DRP equipment charge more than electricity, causes the consumption of the few electricity of DRP equipment of electricity, reduces Cruising time of the few DRP equipment of electricity.
【Content of the invention】
In view of this, a kind of equipment method of attachment and device are embodiments provided, unordered for solving DRP equipment The few consumption of the electricity of DRP equipment of electricity that random role's configuration causes and the cruising time of the few DRP equipment of electricity The problem reducing.
In a first aspect, embodiments providing a kind of equipment method of attachment, wherein, methods described includes:
The Role Information of first pair of character data port DRP equipment receiving user's input;
A described DRP equipment configures the connection role of a described DRP equipment according to described Role Information;
A described DRP equipment is connected with the 2nd DRP equipment with described connection role.
In conjunction with a first aspect, embodiments providing the first possible implementation of first aspect, wherein, institute State Role Information to include:Upstream data port UFP and downstream data ports DFP.
In conjunction with the first possible implementation of first aspect, embodiments provide the second of first aspect Possible implementation, wherein, when the Role Information of the user input that a described DRP equipment receives is UFP, described the One DRP equipment configures the connection role of a described DRP equipment according to described Role Information, including:
A described DRP device configuration register, so that pull down resistor enters enabled state, pull-up resistor enters disabling State.
In conjunction with the first possible implementation of first aspect, embodiments provide first aspect the third Possible implementation, wherein, when the Role Information of the user input that a described DRP equipment receives is DFP, described the One DRP equipment configures the connection role of a described DRP equipment according to described Role Information, including:
A described DRP device configuration register, so that pull-up resistor enters enabled state, pull down resistor enters disabling State.
In conjunction with a first aspect, embodiments providing the 4th kind of possible implementation of first aspect, wherein, institute After a DRP equipment of stating is connected with the 2nd DRP equipment with described connection role, methods described also includes:
When a described DRP equipment is detected a described DRP equipment and is connected disconnection with described 2nd DRP equipment, institute A DRP equipment of stating cancels current connection role configuration, is reduced to DRP role.
Second aspect, embodiments provides a kind of equipment connecting device, and wherein, described device includes:
Receiving unit, for the Role Information of receiving user's input;
Dispensing unit, for configuring the connection role of a described DRP equipment according to described Role Information;
Connection unit, for being connected with the 2nd DRP equipment with described connection role.
In conjunction with second aspect, embodiments provide the first possible implementation of second aspect, wherein, institute State Role Information to include:Upstream data port UFP and downstream data ports DFP.
In conjunction with the first possible implementation of second aspect, embodiments provide the second of second aspect Possible implementation, wherein, when the Role Information of the user input that described receiving unit receives is UFP, described configuration Unit, specifically for:
Configuration register, so that pull down resistor enters enabled state, pull-up resistor enters disabled status.
In conjunction with the first possible implementation of second aspect, embodiments provide second aspect the third Possible implementation, wherein, when the Role Information of the user input that described receiving unit receives is DFP, described configuration Unit, specifically for:
Configuration register, so that pull-up resistor enters enabled state, pull down resistor enters disabled status.
In conjunction with second aspect, embodiments provide the 4th kind of possible implementation of second aspect, wherein, institute State device also to include:Reduction unit;
Described reduction unit, specifically for when a described DRP equipment is connected disconnection with described 2nd DRP equipment, taking The connection role configuration disappearing current, is reduced to DRP role.
Conventionally, as it is random that DRP equipment realizes DFP role or UFP role, DRP equipment cannot be consolidated Determine role, cause the consumption of the few electricity of DRP equipment of electricity, reduce the cruising time of the few DRP equipment of electricity, and existing This problem of technology is compared, in method provided in an embodiment of the present invention, role's letter of a DRP equipment receiving user's input Breath, and the connection role of a described DRP equipment is configured according to described Role Information, and then with described connection role and second DRP equipment connects, and the role of a DRP equipment can be configured so that fixing role, and then enhances DRP equipment connection procedure The controllability of middle role's configuration, and avoid disappearing of the few electricity of DRP equipment of the electricity that unordered random role's configuration causes The problem that the cruising time of consumption and the few DRP equipment of electricity reduces.
【Brief description】
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to use required in embodiment Figure be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, without having to pay creative labor, can also be other attached according to the acquisition of these accompanying drawings Figure.
Fig. 1 shows a kind of schematic flow sheet of the equipment method of attachment providing in the embodiment of the present invention;
Fig. 2 shows the schematic flow sheet of another kind of equipment method of attachment providing in the embodiment of the present invention;
Fig. 3 shows the schematic flow sheet of another the equipment method of attachment providing in the embodiment of the present invention;
Fig. 4 shows a kind of structural representation of the equipment connecting device providing in the embodiment of the present invention;
Fig. 5 shows the structural representation of another kind of equipment connecting device providing in the embodiment of the present invention.
【Specific embodiment】
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is retouched in detail State.
It will be appreciated that described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work all its Its embodiment, broadly falls into the scope of protection of the invention.
The term using in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting The present invention." a kind of ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, represent There may be three kinds of relations, for example, A and/or B, can represent:, there is A and B in individualism A simultaneously, individualism B these three Situation.In addition, character "/" herein, typically represent forward-backward correlation to as if a kind of relation of "or".
It will be appreciated that though terminal may be described using term first, second, third, etc. in embodiments of the present invention, But these terminals should not necessarily be limited by these terms.These terms are only used for terminal is distinguished from each other out.
In addition, used in embodiments of the present invention word " if " can be construed to " and ... when " or " when ... " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as Fruit detection (condition of statement or event) " can be construed to " when determining " or " in response to determining " or " when detection (statement Condition or event) when " or " in response to detect (condition of statement or event) ".
Embodiment one
Embodiments provide a kind of equipment method of attachment, its idiographic flow refers to Fig. 1, it may include walk below Suddenly:
Step 101, the Role Information of a DRP equipment receiving user's input.
Wherein, a DRP equipment is provided with the Role Information selecting for user, this Role Information can include but not limit In:UFP and DFP, after user inputs the Role Information of selection on a DRP equipment, a DRP equipment receiving user's input Role Information.
With a DRP equipment for mobile phone as an example, can increase on this mobile phone in embodiments of the present invention visual User interface control switchs, and this switch can be the switch comprising this two options of DFP and UFP, so that user selects one.One As in the case of, this two options can not be activated simultaneously.After user inputs the Role Information of selection on a user interface, this hands Machine can determine that corresponding Role Information.
Step 102, a DRP equipment configure the connection role of a DRP equipment according to this Role Information.
It should be noted that comprise in the depositor of a DRP equipment collocation channel (Configuration Channel, CC) pin foot has pull-up resistor Rp (wherein, pull-up resistor Rp is current source) and pull down resistor Rd, and a DRP equipment passes through to join Put the control bit of pull-up resistor Rp and pull down resistor Rd in depositor, so that a DRP equipment shows different roles.
On hardware is realized, the depositor in Type-C chip is provided with Rp and Rd in order to realize configuration feature, inside Enable Pin, and be provided with the interface of receipt signal, such as twin wire serial line interface (Inter-Integrated Circuit, I2C Interface), the central processing unit (Central Processing Unit, CPU) in a DRP equipment is configured by this interface Depositor in Type-C chip, thus realize the configuration of different role.
According to the different role information receiving user input, the connection role configuring a DRP equipment can include But it is not limited to following two concrete implementation modes:
Mode one, when the user input that a DRP equipment receives Role Information be UFP when, a DRP device configuration Depositor, so that pull down resistor Rd enters enabled state, pull-up resistor Rp enters disabled status.
Mode two, when the user input that a DRP equipment receives Role Information be DFP when, a DRP device configuration Depositor, so that pull-up resistor Rp enters enabled state, pull down resistor Rd enters disabled status.
It should be noted that a DRP equipment when configuration connects role in addition it is also necessary to enter to adaptation other options such as electric current Row is configured to ensure that corresponding role can correctly enable, and the embodiment of the present invention is not to this detailed statement.
Step 103, a DRP equipment are connected with the 2nd DRP equipment with above-mentioned joint angle color.
After configuring the connection role of a DRP equipment, a DRP equipment waits the connection of the 2nd DRP equipment, when After the connection of the 2nd DRP equipment, a DRP equipment is just connected with the 2nd DRP equipment with above-mentioned joint angle color, realizes DFP angle Color charges and data communication to UFP role.
When the connection role of a DRP equipment of configuration in step 102 is UFP, because a DRP equipment has determined that Role is UFP, and when being attached with the 2nd DRP equipment, the 2nd DRP equipment can show as DFP.Due to a DRP equipment Determine that role is DFP, when being attached with the 2nd DRP equipment, the 2nd DRP equipment can show as UFP.
Further, when a DRP equipment is detected a DRP equipment and is connected disconnection with the 2nd DRP equipment, then this One DRP equipment cancels current connection role configuration, is reduced to DRP role state.
When whether the DRP equipment of detection is connected with the 2nd DRP equipment and disconnects, a DRP equipment can be by detection Whether the voltage of pull-up resistor Rp and pull down resistor Rd changes, and judges whether to disconnect with the 2nd DRP equipment.When detecting first DRP equipment is connected disconnection with the 2nd DRP equipment, then a DRP device configuration register, and the current potential of Rp and Rd in depositor is write Return the corresponding current potential of DRP equipment, that is, then a DRP equipment cancels current connection role configuration, is reduced to DRP role's shape State.
On hardware is realized, the connection of the 2nd DRP equipment enables the detection function of Type-C chip, when the inspection of Type-C chip The DRP equipment that measures is connected disconnection with the 2nd DRP equipment, and, to CPU sending signal, CPU is to Type-C chip for Type-C chip In depositor configured, the current potential of Rp in depositor (wherein, this pull-up resistor Rp be current source) and Rd is write back DRP and sets Standby corresponding current potential, the Role Information user being selected resets, and cancels current connection role configuration, is reduced to DRP Role state.
It should be noted that in the step 101 of the embodiment of the present invention, a DRP equipment can also being provided with and supply user Tri- Role Informations of UFP, DFP and DRP selecting, and then, after a DRP equipment is connected disconnection with the 2nd DRP equipment, the One DRP device configuration register, the current potential of Rp and Rd in depositor is set to the corresponding current potential of DRP role, that is, closes above-mentioned The connection role of configuration, is configured to the original role (DRP) of a DRP equipment.
Conventionally, as it is random that DRP equipment realizes DFP role or UFP role, DRP equipment cannot be consolidated Determine role, cause the consumption of the few electricity of DRP equipment of electricity, reduce the cruising time of the few DRP equipment of electricity, and existing This problem of technology is compared, in method provided in an embodiment of the present invention, role's letter of a DRP equipment receiving user's input Breath, and the connection role of a described DRP equipment is configured according to described Role Information, and then with described connection role and second DRP equipment connects, and the role of a DRP equipment can be configured so that fixing role, and then enhances DRP equipment connection procedure The controllability of middle role's configuration, and avoid disappearing of the few electricity of DRP equipment of the electricity that unordered random role's configuration causes The problem that the cruising time of consumption and the few DRP equipment of electricity reduces.
With reference to embodiment two and embodiment three respectively to a DRP equipment receiving user's input different role information Situation is described in detail.
Embodiment two
In the embodiment of the present invention so that the Role Information of a DRP equipment receiving user's input is as UFP as a example, there is provided another Plant equipment method of attachment, its idiographic flow refers to Fig. 2, it may include following steps:
Step 201, a DRP equipment receive the Role Information of user input UFP.
Step 202, a DRP device configuration register, so that pull down resistor enters enabled state, pull-up resistor enters Disabled status.
First DRP equipment is write to depositor and is read, and is that in depositor, pull-up resistor Rp and pull down resistor Rd sets Put current potential.When the Role Information of user input is UFP, a DRP configuration register, is pull-up resistor Rp and pull down resistor Rd Setting current potential, thus starting Rp, disables Rd, for example, configuration register, corresponding for Rd in depositor current potential is configured to 0, Rp and corresponds to Current potential when being configured to 1, this Rd enables (i.e. Rd starts), and Rp disables.
Step 203, a DRP equipment are connected with the 2nd DRP equipment with the connection role of UFP.
First DRP equipment is connected with the 2nd DRP equipment with the connection role of UFP, and now the 2nd DRP equipment can show as DFP.
Conventionally, as it is random that DRP equipment realizes DFP role or UFP role, DRP equipment cannot be consolidated Determine role, cause the consumption of the few electricity of DRP equipment of electricity, reduce the cruising time of the few DRP equipment of electricity, and existing This problem of technology is compared, in method provided in an embodiment of the present invention, role's letter of a DRP equipment receiving user's input Breath, and the connection role of a described DRP equipment is configured according to described Role Information, and then with described connection role and second DRP equipment connects, and the role of a DRP equipment can be configured so that fixing role, and then enhances DRP equipment connection procedure The controllability of middle role's configuration, and avoid disappearing of the few electricity of DRP equipment of the electricity that unordered random role's configuration causes The problem that the cruising time of consumption and the few DRP equipment of electricity reduces.
Embodiment three
In the embodiment of the present invention so that the Role Information of a DRP equipment receiving user's input is as DFP as a example, there is provided another Plant equipment method of attachment, its idiographic flow refers to Fig. 3, it may include following steps:
Step 301, a DRP equipment receive the Role Information of user input DFP.
Step 302, a DRP device configuration register, so that pull-up resistor enters enabled state and starts, pull down resistor Enter disabled status.
First DRP equipment is write to depositor and is read, and is that in depositor, pull-up resistor Rp and pull down resistor Rd sets Put current potential.When the Role Information of user input is DFP, a DRP configuration register, is pull-up resistor Rp and pull down resistor Rd Setting current potential, thus starting Rp, disables Rd, for example, configuration register, corresponding for Rp in depositor current potential is configured to 0, Rd and corresponds to Current potential when being configured to 1, this Rp enables (i.e. Rp starts), and Rd disables.
Step 303, a DRP equipment are connected with the 2nd DRP equipment with the connection role of DFP.
First DRP equipment is connected with the 2nd DRP equipment with the connection role of DFP, and now the 2nd DRP equipment can show as UFP.
Conventionally, as it is random that DRP equipment realizes DFP role or UFP role, DRP equipment cannot be consolidated Determine role, cause the consumption of the few electricity of DRP equipment of electricity, reduce the cruising time of the few DRP equipment of electricity, and existing This problem of technology is compared, in method provided in an embodiment of the present invention, role's letter of a DRP equipment receiving user's input Breath, and the connection role of a described DRP equipment is configured according to described Role Information, and then with described connection role and second DRP equipment connects, and the role of a DRP equipment can be configured so that fixing role, and then enhances DRP equipment connection procedure The controllability of middle role's configuration, and avoid disappearing of the few electricity of DRP equipment of the electricity that unordered random role's configuration causes The problem that the cruising time of consumption and the few DRP equipment of electricity reduces.
Example IV
Embodiments provide a kind of equipment connecting device, its concrete structure schematic diagram refers to Fig. 4, this device bag Include:
Receiving unit 41, for the Role Information of receiving user's input;
Dispensing unit 42, for configuring the connection role of a described DRP equipment according to described Role Information;
Connection unit 43, for being connected with the 2nd DRP equipment with described connection role.
Wherein, described Role Information includes:Upstream data port UFP and downstream data ports DFP.
Wherein, when the Role Information of the user input receiving when described receiving unit 41 is UFP, described dispensing unit 42, specifically for:
Configuration register, configuration register, so that pull down resistor enters enabled state, pull-up resistor enters disabling shape State.
Wherein, when the Role Information of the user input receiving when described receiving unit 41 is DFP, described dispensing unit 42, specifically for:
Configuration register, so that pull-up resistor enters enabled state, pull down resistor enters disabled status.
Embodiments provide the device that another kind of equipment connects, its concrete structure schematic diagram refers to Fig. 5, described Device also includes:Reduction unit 44;
Described reduction unit 44, if being connected disconnection specifically for a described DRP equipment with described 2nd DRP equipment, Cancel current connection role configuration, be reduced to DRP role.
Conventionally, as it is random that DRP equipment realizes DFP role or UFP role, DRP equipment cannot be consolidated Determine role, cause the consumption of the few electricity of DRP equipment of electricity, reduce the cruising time of the few DRP equipment of electricity, and existing This problem of technology is compared, in method provided in an embodiment of the present invention, role's letter of a DRP equipment receiving user's input Breath, and the connection role of a described DRP equipment is configured according to described Role Information, and then with described connection role and second DRP equipment connects, and the role of a DRP equipment can be configured so that fixing role, and then enhances DRP equipment connection procedure The controllability of middle role's configuration, and avoid disappearing of the few electricity of DRP equipment of the electricity that unordered random role's configuration causes The problem that the cruising time of consumption and the few DRP equipment of electricity reduces.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed apparatus and method in several embodiments provided by the present invention, can be passed through it Its mode is realized.For example, device embodiment described above is only schematically, for example, the division of described unit, and only It is only a kind of division of logic function, actual can have other dividing mode when realizing, and for example, multiple units or assembly can be tied Close or be desirably integrated into another system, or some features can be ignored, or do not execute.Another, shown or discussed Coupling each other or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or logical Letter connects, and can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part 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.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs 's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form that hardware adds SFU software functional unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer Device (can be personal computer, server, or network equipment etc.) or processor (Processor) execution the present invention each The part steps of embodiment methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various Can be with the medium of store program codes.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.

Claims (10)

1. a kind of equipment method of attachment is it is characterised in that methods described includes:
The Role Information of first pair of character data port DRP equipment receiving user's input;
A described DRP equipment configures the connection role of a described DRP equipment according to described Role Information;
A described DRP equipment is connected with the 2nd DRP equipment with described connection role.
2. the method for claim 1 is it is characterised in that described Role Information includes:Upstream data port UFP and descending FPDP DFP.
3. method as claimed in claim 2 is it is characterised in that the angle of the user input receiving when a described DRP equipment When color information is UFP, a described DRP equipment configures the connection role of a described DRP equipment, bag according to described Role Information Include:
A described DRP device configuration register, so that pull down resistor enters enabled state, pull-up resistor enters disabling shape State.
4. method as claimed in claim 2 is it is characterised in that the angle of the user input receiving when a described DRP equipment When color information is DFP, a described DRP equipment configures the connection role of a described DRP equipment, bag according to described Role Information Include:
A described DRP device configuration register, so that pull-up resistor enters enabled state, pull down resistor enters disabling shape State.
5. the method for claim 1 is it is characterised in that a described DRP equipment is with described connection role and the 2nd DRP After equipment connects, methods described also includes:
When a described DRP equipment is detected a described DRP equipment and is connected disconnection with described 2nd DRP equipment, described the One DRP equipment cancels current connection role configuration, is reduced to DRP role.
6. a kind of equipment connecting device is it is characterised in that described device includes:
Receiving unit, for the Role Information of receiving user's input;
Dispensing unit, for configuring the connection role of a described DRP equipment according to described Role Information;
Connection unit, for being connected with the 2nd DRP equipment with described connection role.
7. device as claimed in claim 6 is it is characterised in that described Role Information includes:Upstream data port UFP and descending FPDP DFP.
8. device as claimed in claim 7 is it is characterised in that role's letter of the user input receiving when described receiving unit When ceasing for UFP, described dispensing unit, specifically for:
Configuration register, so that pull down resistor enters enabled state, pull-up resistor enters disabled status.
9. device as claimed in claim 7 is it is characterised in that role's letter of the user input receiving when described receiving unit When ceasing for DFP, described dispensing unit, specifically for:
Configuration register, so that pull-up resistor enters enabled state, pull down resistor enters disabled status.
10. device as claimed in claim 7 is it is characterised in that described device also includes:Reduction unit;
Described reduction unit, specifically for when a described DRP equipment is connected disconnection with described 2nd DRP equipment, cancelling and working as Front connection role configuration, is reduced to DRP role.
CN201610792296.4A 2016-08-31 2016-08-31 A kind of equipment method of attachment and device Pending CN106469129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610792296.4A CN106469129A (en) 2016-08-31 2016-08-31 A kind of equipment method of attachment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610792296.4A CN106469129A (en) 2016-08-31 2016-08-31 A kind of equipment method of attachment and device

Publications (1)

Publication Number Publication Date
CN106469129A true CN106469129A (en) 2017-03-01

Family

ID=58230410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610792296.4A Pending CN106469129A (en) 2016-08-31 2016-08-31 A kind of equipment method of attachment and device

Country Status (1)

Country Link
CN (1) CN106469129A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595352A (en) * 2018-05-14 2018-09-28 维沃移动通信有限公司 A kind of guard method of mobile terminal and device
CN109344108A (en) * 2018-09-10 2019-02-15 普联技术有限公司 A kind of Type-C interface equipment, communication means and communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226516A (en) * 2007-01-15 2008-07-23 奇岩电子股份有限公司 Device and method capable of automatically switching into USB host or peripherals
CN204633058U (en) * 2015-05-18 2015-09-09 特通科技有限公司 USB Type-C connector modules
US20150261714A1 (en) * 2014-03-13 2015-09-17 Nokia Corporation Method, apparatus, and computer program product for entering accessory docking mode in usb type c
CN204668678U (en) * 2015-04-14 2015-09-23 赵振涛 A kind of Multifunctional USB C-Type interface data wire
US20150268688A1 (en) * 2014-03-24 2015-09-24 Nokia Corporation Pull-down circuitry for an apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226516A (en) * 2007-01-15 2008-07-23 奇岩电子股份有限公司 Device and method capable of automatically switching into USB host or peripherals
US20150261714A1 (en) * 2014-03-13 2015-09-17 Nokia Corporation Method, apparatus, and computer program product for entering accessory docking mode in usb type c
US20150268688A1 (en) * 2014-03-24 2015-09-24 Nokia Corporation Pull-down circuitry for an apparatus
CN204668678U (en) * 2015-04-14 2015-09-23 赵振涛 A kind of Multifunctional USB C-Type interface data wire
CN204633058U (en) * 2015-05-18 2015-09-09 特通科技有限公司 USB Type-C connector modules

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595352A (en) * 2018-05-14 2018-09-28 维沃移动通信有限公司 A kind of guard method of mobile terminal and device
CN108595352B (en) * 2018-05-14 2020-07-31 维沃移动通信有限公司 Protection method and device for mobile terminal
CN109344108A (en) * 2018-09-10 2019-02-15 普联技术有限公司 A kind of Type-C interface equipment, communication means and communication system
CN109344108B (en) * 2018-09-10 2021-02-09 普联技术有限公司 Type-C interface equipment, communication method and communication system

Similar Documents

Publication Publication Date Title
US7293118B1 (en) Apparatus and method for dynamically providing hub or host operations
CN101601001B (en) Multiple connections to a single serial interface
TWI356295B (en) Usb device and method for charging the same
TWI353098B (en) Method for rapidly charging a universal serial bus
CN106104506B (en) For entering the method, apparatus and computer program product of attachment joint mode in USB c-type interface
EP1912125B1 (en) Electronic machine, connected machine identifying method for electronic machine and control system
US7895386B2 (en) USB interface provided with host/device function and its control method
US8402175B2 (en) Method and apparatus for determining external connection device in mobile terminal
TWI497272B (en) Usb hub for supplying power and method thereof
CN101426038B (en) Portable electronic device and accessory identification method
CN105183679B (en) A kind of electronic equipment and information processing method
CN103024195B (en) Smart mobile terminal and implementation method of charging of smart mobile terminal
CN104881387B (en) A kind of USB connection methods and usb hub
US9590441B2 (en) Multi-standard compliant USB battery charging scheme with detection of host disconnection in ACA-DOCK mode
WO2022063067A1 (en) Power adapter, terminal device, electronic device, and charging control method thereof
TW200939010A (en) Computer system and power saving method
EP3706007A1 (en) Electronic device having usb type-c interface, control method, and readable storage medium
CN106451400B (en) A kind of protection circuit and method of supplying power to
CN106469129A (en) A kind of equipment method of attachment and device
CN109254210A (en) Electronic device port type detection method, apparatus, detection circuit and electronic equipment
CN108647047A (en) A kind of awakening method and system based on mobile terminal
CN107480084A (en) Type C mobile terminals charge and data transmission method, device and storage medium
CN110191215B (en) Terminal and processing method
US7870408B2 (en) Universal serial bus wakeup circuit
CN102749958B (en) Mainboard and server adopting same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170301