CN105183679B - A kind of electronic equipment and information processing method - Google Patents

A kind of electronic equipment and information processing method Download PDF

Info

Publication number
CN105183679B
CN105183679B CN201510550163.1A CN201510550163A CN105183679B CN 105183679 B CN105183679 B CN 105183679B CN 201510550163 A CN201510550163 A CN 201510550163A CN 105183679 B CN105183679 B CN 105183679B
Authority
CN
China
Prior art keywords
usb interface
unit
logic unit
access device
micro
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510550163.1A
Other languages
Chinese (zh)
Other versions
CN105183679A (en
Inventor
宋建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510550163.1A priority Critical patent/CN105183679B/en
Publication of CN105183679A publication Critical patent/CN105183679A/en
Application granted granted Critical
Publication of CN105183679B publication Critical patent/CN105183679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • 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/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

The embodiment of the invention discloses a kind of electronic equipment and information processing methods.The electronic equipment includes embedded Control component, and the embedded Control component includes: micro-control unit;Further include: collocation channel logic (CC logic) unit and communication unit;The micro-control unit is electrically connected with the CC logic unit, and the CC logic unit is electrically connected with universal serial bus (USB) interface for the first kind being arranged in the electronic equipment;The USB interface of the first kind supports the two-sided insertion of USB connector of access device;The communication unit communicates between the USB interface of the first kind and the CC logic unit and the CC logic unit and the micro-control unit for supporting.

Description

A kind of electronic equipment and information processing method
Technical field
The present invention relates to the information processing technologies, and in particular to a kind of electronic equipment and information processing method.
Background technique
With the continuous development of electronic technology, universal serial bus (USB, Universal Serial Bus) technology also exists It continues to develop, occurs USB-C type (Type-C) interface at present.This Type-C USB interface supports the two-sided insertion of USB interface, Solve the problems, such as that USB interface can only be inserted into according to a direction;And Type-C USB interface has faster transmission speed (highest 10Gbps), bigger power transmission (highest 100W) and two-way power transmission are based on this, Type-C USB interface Function it is also various, such as carry out data transmission, charged, as video-out port link external display device etc.. The watt level as needed for different functions is different, internal in electronic equipment (such as notebook), it will usually to each Increase between Type-C USB interface and embedded controller (EC, Embedded Controller) power output (PD, Power Delivery) controller, with the difference of the equipment accessed according to Type-C USB interface, control exports different function Rate.
But if each Type-C USB interface increases a PD control device, electronics can be greatly increased and set The size of printed circuit board (PCB, Printed Circuit Board) in standby, is unable to satisfy the requirement of lesser PCB, and And layout difficulty is also increased to the component in PCB.
Summary of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of electronic equipment and information processing method, Without increasing PD control device just power control can be realized to the distinct device that Type-C USB interface accesses.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of electronic equipment, the electronic equipment includes embedded Control component, described embedding Entering formula control assembly includes: micro-control unit;Further include: collocation channel logic (CC logic) unit and communication unit;
The micro-control unit is electrically connected with the CC logic unit, and the CC logic unit and setting are in the electricity The general-purpose serial bus USB interface of the first kind in sub- equipment is electrically connected;The USB interface of the first kind supports access to set The two-sided insertion of standby USB connector;
The communication unit, for supporting the USB interface of the first kind and the CC logic unit and described It is communicated between CC logic unit and the micro-control unit.
In above scheme, the CC logic unit, for when the corresponding sense of USB interface for detecting the first kind When parameter being answered to reach preset threshold, determine that the USB interface of the first kind has access device access, Xiang Suoshu micro-control unit The first information is sent, and establishes the communication link between the USB interface of the first kind.
In above scheme, the CC logic unit, the access that the USB interface for obtaining the first kind accesses is set The description information is sent to the micro-control unit by standby description information;
The micro-control unit, the description information for being sent based on the CC logic unit determine the access device Attribute information, the power parameter that the access device needs is determined based on the attribute information, the power parameter is sent To the CC logic unit;
The CC logic unit, the power parameter for being also used to determine based on the micro-control unit is to output to described the The power of the USB interface of one type is controlled.
In above scheme, the electronic equipment further includes power switch unit, one end of the power switch unit and institute The electrical connection of CC logic unit is stated, the other end is connected with the power output end in the electronic equipment;
The CC logic unit, when being also used to detect that the USB interface of the first kind has access device access, control It makes the power switch unit and is in closed state, to provide the USB interface of power output to the first kind;It is also used to examine When measuring the USB interface of the first kind without access device access, controls the power switch unit and be in an off state.
In above scheme, the communication unit is the physical layer PHY integrated circuit that the embedded Control component is arranged in.
In above scheme, the microcontroller chip is also used to detect described at least two when the CC logic unit It is the USB of described at least two first kind according to preset rules when the USB interface of the first kind has access device access Interface configuration preference level parameter controls the USB interface of described at least two first kind based on the priority parameters Power.
In above scheme, the microcontroller chip connects for the USB interface when described at least two first kind When entering equipment access, the description information of at least two access devices is obtained, determines described at least two based on the description information The attribute information of access device;When the attribute for the access device that the USB interface of at least two first kind accesses has at least When part is identical, the priority parameters of the USB interface of at least two first kind of the identical access device access of attribute are obtained, The USB interface for determining the high first kind of priority enables the USB interface of the first kind and to the first kind The power of USB interface is controlled.
The embodiment of the invention also provides a kind of information processing method, the information processing method is applied to electronic equipment In, the electronic equipment includes embedded Control component, and the embedded Control component includes: micro-control unit;Further include: match Set channel logic (CC logic) unit and communication unit;The described method includes:
The CC logic unit obtains the description information of the access device of the USB interface access of the first kind, will The description information is sent to the micro-control unit;
The description information that the micro-control unit is sent based on the CC logic unit determines the category of the access device Property information, the power parameter that the access device needs is determined based on the attribute information, the power parameter is sent to institute State CC logic unit;
The CC logic unit is based on the determining power parameter of the micro-control unit to output to the first kind The power of USB interface controlled.
In above scheme, the CC logic unit obtains the access device of the USB interface access of the first kind Before description information, the method also includes:
The CC logic unit detects that the corresponding sensed parameter of the USB interface of the first kind reaches preset threshold When, determining that the USB interface of the first kind has access device access, Xiang Suoshu micro-control unit sends the first information, and Establish the communication link between the USB interface of the first kind.
In above scheme, when the CC logic unit detects that the USB interface of at least two first kind connects When entering equipment access, the method also includes:
The microcontroller chip configures preferential according to the USB interface that preset rules are described at least two first kind Grade parameter, the power of the USB interface of described at least two first kind is controlled based on the priority parameters.
Electronic equipment and information processing method provided in an embodiment of the present invention, the electronic equipment include embedded Control group Part, the embedded Control component includes: micro-control unit;Further include: collocation channel logic (CC logic) unit and communication Unit;The micro-control unit is electrically connected with the CC logic unit, and the CC logic unit and setting are in the electronics The USB interface of the first kind in equipment is electrically connected;The USB interface of the first kind supports the USB connector of access device Two-sided insertion;The communication unit, for supporting the USB interface and the CC logic unit, Yi Jisuo of the first kind It states and is communicated between CC logic unit and the micro-control unit.In this way, using the technical solution of the embodiment of the present invention, without increasing Add PD control device just can realize power control to the distinct device that Type-C USB interface (i.e. the USB interface of the first kind) accesses System, the size without increasing the PCB in electronic equipment just can be realized Type-C USB interface (i.e. the USB interface of the first kind) Functional requirement, without increase PCB in component layout difficulty, improve industrial ease for operation.
Detailed description of the invention
Fig. 1 is the first composed structure schematic diagram of the electronic equipment of the embodiment of the present invention;
Fig. 2 is second of composed structure schematic diagram of the electronic equipment of the embodiment of the present invention;
Fig. 3 a and Fig. 3 b are the electronic equipment of the embodiment of the present invention and the Structure Comparison schematic diagram of the prior art;
Fig. 4 is the first flow diagram of the information processing method of the embodiment of the present invention;
Fig. 5 is second of flow diagram of the information processing method of the embodiment of the present invention;
Fig. 6 is the third flow diagram of the information processing method of the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
Embodiment one
The embodiment of the invention provides a kind of electronic equipment.Fig. 1 is the first group of the electronic equipment of the embodiment of the present invention At structural schematic diagram;As shown in Figure 1, the electronic equipment includes embedded Control component 11, the embedded Control component 11 It include: micro-control unit 111;The electronic equipment further include: collocation channel logic (CC logic) unit 112 and communication unit 113;
The micro-control unit 111 is electrically connected with the CC logic unit 112, the CC logic unit 112 with set Set the USB interface electrical connection of the first kind in the electronic equipment;The USB interface of the first kind supports access device The two-sided insertion of USB connector;
The communication unit 113, for support the first kind USB interface and the CC logic unit 112, with And it is communicated between the CC logic unit 112 and the micro-control unit 111.
In the present embodiment, the embedded Control component 11 is specifically as follows embedded controller (EC, Embedded Controller) chip, then the electronic equipment is the electronic equipment for being provided with EC chip, such as laptop, super basis electricity Brain is also possible to be provided with the desktop computer etc. of EC chip.The embedded Control component 11 usually has data processing Function and store function are provided with micro-control unit 111 in the embedded Control component 11 as an implementation (MCU, Microcontroller Unit) and nonvolatile memory, the nonvolatile memory are specifically as follows flash memory (Flash Rom)。
In the present embodiment, the micro-control unit 111 in the embedded Control component 11 is mainly used for the first kind The equipment of USB interface access carries out power control;Certainly, in other embodiments, in the embedded Control component 11 Micro-control unit 111 is also used to carry out system in booting or shutdown process the electronic equipment global management, and The input operation of keyboard is controlled etc..
In the present embodiment, the electronic equipment further includes CC logic unit 112, the CC logic unit 112 and institute The USB interface electrical connection for stating the first kind, is examined for whether the USB interface to the first kind to be inserted into access device The connection of data link and power supply link (VBUS) is established and is managed in the USB interface of survey and the first kind.As one Kind embodiment, the CC logic unit 112 can be real by four pins (PIN) in the embedded Control component 11 It is existing.In the present embodiment, the USB interface of the first kind supports the two-sided insertion of USB connector of access device, it can be understood as The two array of pins arrangement symmetrical above and below of the USB interface of the first kind, does not distinguish front or back;As a kind of embodiment party Formula, the USB interface of the first kind are that USB-C type (Type-C) interface is not limited to USB-C type (Type-C) interface certainly, All two sides are identical, the USB interface of the two-sided insertion of USB connector of access device is supported to belong to the guarantor of the embodiment of the present invention Protect range.
In the present embodiment, it is provided with communication unit 113 in the electronic equipment, is preset in the communication unit 113 There is communication protocol and matching rule of shaking hands, for the USB interface and the CC logic unit 112 of the first kind, and Communication between the CC logic unit 112 and the micro-control unit 111 is supported.As an implementation, described logical Letter unit 113 can specifically be realized by physical layer (PHY) integrated circuit being arranged in the embedded Control component 11.
It, just can be to Type-C USB interface (i.e. without increasing PD control device using the technical solution of the embodiment of the present invention The USB interface of the first kind) access distinct device realize power control, without increasing the size of the PCB in electronic equipment just The functional requirement that can be realized Type-C USB interface (i.e. the USB interface of the first kind), without the component increased in PCB Layout difficulty, improve industrial ease for operation.
Embodiment two
The embodiment of the invention also provides a kind of electronic equipment.Shown in referring to Fig.1, the electronic equipment includes embedded control Component 11 processed, the embedded Control component 11 include: micro-control unit 111;The electronic equipment further include: CC logic is mono- Member 112 and communication unit 113;
The micro-control unit 111 is electrically connected with the CC logic unit 112, the CC logic unit 112 with set Set the USB interface electrical connection of the first kind in the electronic equipment;The USB interface of the first kind supports access device The two-sided insertion of USB connector;
The communication unit 113, for support the first kind USB interface and the CC logic unit 112, with And it is communicated between the CC logic unit 112 and the micro-control unit 111;
Wherein, the CC logic unit 112, for when the corresponding induction of USB interface for detecting the first kind When parameter reaches preset threshold, determine that the USB interface of the first kind has access device access, Xiang Suoshu micro-control unit 111 send the first information, and establish the communication link between the USB interface of the first kind.
In the present embodiment, the embedded Control component 11 is specifically as follows EC chip, then the electronic equipment is setting There is the electronic equipment of EC chip, such as laptop, super basis computer, is also possible to be provided with the desktop computer etc. of EC chip Deng.The embedded Control component 11 usually has data processing function and store function, as an implementation, described embedding Enter to be provided with micro-control unit 111 (MCU) and nonvolatile memory, the nonvolatile memory tool in formula control assembly 11 Body can be flash memory (Flash Rom).
In the present embodiment, the micro-control unit 111 in the embedded Control component 11 is mainly used for the first kind The equipment of USB interface access carries out power control;Certainly, in other embodiments, in the embedded Control component 11 Micro-control unit 111 is also used to carry out system in booting or shutdown process the electronic equipment global management, and The input operation of keyboard is controlled etc..
In the present embodiment, the electronic equipment further includes CC logic unit 112, the CC logic unit 112 and institute The USB interface electrical connection for stating the first kind, is examined for whether the USB interface to the first kind to be inserted into access device The connection of data link and power supply link (VBUS) is established and is managed in the USB interface of survey and the first kind.As one Kind embodiment, the CC logic unit 112 can be real by four pins (PIN) in the embedded Control component 11 It is existing.In the present embodiment, the USB interface of the first kind supports the two-sided insertion of USB connector of access device, it can be understood as The two array of pins arrangement symmetrical above and below of the USB interface of the first kind, does not distinguish front or back;As a kind of embodiment party Formula, the USB interface of the first kind are that USB-C type (Type-C) interface is not limited to USB-C type (Type-C) interface certainly, All two sides are identical, the USB interface of the two-sided insertion of USB connector of access device is supported to belong to the guarantor of the embodiment of the present invention Protect range.
In the present embodiment, it is provided with communication unit 113 in the electronic equipment, is preset in the communication unit 113 There is communication protocol and matching rule of shaking hands, for the USB interface and the CC logic unit 112 of the first kind, and Communication between the CC logic unit 112 and the micro-control unit 111 is supported.As an implementation, described logical Letter unit 113 can specifically be realized by physical layer (PHY) integrated circuit being arranged in the embedded Control component 11.
In the present embodiment, when the USB interface of the first kind has access device access, the CC logic unit 112 It can detect that the corresponding voltage of the USB interface of the first kind is high potential, i.e. voltage value reaches preset threshold.Usual situation Under, pull-up resistor has been all connected on D+ the or D- signal wire of the USB interface of each first kind;For at full speed and high-speed equipment, The pull-up resistor is connected on D+ signal wire;For low-speed device, the pull-up resistor is connected on D- signal wire;When connecing When entering equipment and being inserted into the USB interface of the first kind, it is based on the pull-up resistor, the CC logic unit 112 can detect High potential, to identify that the USB interface of the first kind has access device access.The CC logic unit 112 is based on The communication unit 113 to the micro-control unit 111 send the first information, and based on the communication unit 113 establish with Communication link between the USB interface of the first kind.
It, just can be to Type-C USB interface (i.e. without increasing PD control device using the technical solution of the embodiment of the present invention The USB interface of the first kind) access distinct device realize power control, without increasing the size of the PCB in electronic equipment just The functional requirement that can be realized Type-C USB interface (i.e. the USB interface of the first kind), without the component increased in PCB Layout difficulty, improve industrial ease for operation.
Embodiment three
The embodiment of the invention also provides a kind of electronic equipment, and shown referring to Fig.1, the electronic equipment includes embedded control Component 11 processed, the embedded Control component 11 include: micro-control unit 111;The electronic equipment further include: CC logic is mono- Member 112 and communication unit 113;
The micro-control unit 111 is electrically connected with the CC logic unit 112, the CC logic unit 112 with set Set the general-purpose serial bus USB interface electrical connection of the first kind in the electronic equipment;The USB interface of the first kind Support the two-sided insertion of USB connector of access device;
The communication unit 113, for support the first kind USB interface and the CC logic unit 112, with And it is communicated between the CC logic unit 112 and the micro-control unit 111;
Wherein, the CC logic unit 112, the access device that the USB interface for obtaining the first kind accesses Description information, the description information is sent to the micro-control unit 111;
The micro-control unit 111, description information for being sent based on the CC logic unit 112 determine described in connect The attribute information for entering equipment determines the power parameter that the access device needs based on the attribute information, the power is joined Number is sent to the CC logic unit 112;
The CC logic unit 112, be also used to based on the micro-control unit 111 determine power parameter to output extremely The power of the USB interface of the first kind is controlled.
In the present embodiment, the embedded Control component 11 is specifically as follows EC chip, then the electronic equipment is setting There is the electronic equipment of EC chip, such as laptop, super basis computer, is also possible to be provided with the desktop computer etc. of EC chip Deng.The embedded Control component 11 usually has data processing function and store function, as an implementation, described embedding Enter to be provided with micro-control unit 111 (MCU) and nonvolatile memory, the nonvolatile memory tool in formula control assembly 11 Body can be flash memory (Flash Rom).
In the present embodiment, the micro-control unit 111 in the embedded Control component 11 is mainly used for the first kind The equipment of USB interface access carries out power control;Certainly, in other embodiments, in the embedded Control component 11 Micro-control unit 111 is also used to carry out system in booting or shutdown process the electronic equipment global management, and The input operation of keyboard is controlled etc..
In the present embodiment, the electronic equipment further includes CC logic unit 112, the CC logic unit 112 and institute The USB interface electrical connection for stating the first kind, is examined for whether the USB interface to the first kind to be inserted into access device The connection of data link and power supply link (VBUS) is established and is managed in the USB interface of survey and the first kind.As one Kind embodiment, the CC logic unit 112 can be real by four pins (PIN) in the embedded Control component 11 It is existing.In the present embodiment, the USB interface of the first kind supports the two-sided insertion of USB connector of access device, it can be understood as The two array of pins arrangement symmetrical above and below of the USB interface of the first kind, does not distinguish front or back;As a kind of embodiment party Formula, the USB interface of the first kind are that USB-C type (Type-C) interface is not limited to USB-C type (Type-C) interface certainly, All two sides are identical, the USB interface of the two-sided insertion of USB connector of access device is supported to belong to the guarantor of the embodiment of the present invention Protect range.
In the present embodiment, it is provided with communication unit 113 in the electronic equipment, is preset in the communication unit 113 There is communication protocol and matching rule of shaking hands, for the USB interface and the CC logic unit 112 of the first kind, and Communication between the CC logic unit 112 and the micro-control unit 111 is supported.As an implementation, described logical Letter unit 113 can specifically be realized by physical layer (PHY) integrated circuit being arranged in the embedded Control component 11.
In the present embodiment, the CC logic unit 112 establishes the communication chain between the USB interface of the first kind Road and to the micro-control unit 111 send the first information after, the micro-control unit 111 pass through the CC logic The access device that unit 112 is accessed to the USB interface of the first kind sends Get_Device_Descriptor instruction, with The description information of the access device is obtained, the description information can be production firm's identification code of the access device (VID, Vendor ID) and product ID (PID, Product ID);The micro-control unit 111 also passes through the CC The access device that logic unit 112 is accessed to the USB interface of the first kind sends Get_Device_Configuration Instruction, to obtain the configuration information of the access device.
The micro-control unit 111 determines the attribute information of the access device, the attribute based on the description information The access device is charging equipment or input equipment (such as keyboard, mouse, handwriting pad etc.) or defeated to information for identification Equipment (such as audio output apparatus, picture output device) out.Based on the difference of the attribute information, described control unit is true The power parameter that the fixed access information needs, is sent to the CC logic unit 112 for the power parameter, by the CC Logic unit 112 carries out power control to the USB interface of the first kind.
It, just can be to Type-C USB interface (i.e. without increasing PD control device using the technical solution of the embodiment of the present invention The USB interface of the first kind) access distinct device realize power control, without increasing the size of the PCB in electronic equipment just The functional requirement that can be realized Type-C USB interface (i.e. the USB interface of the first kind), without the component increased in PCB Layout difficulty, improve industrial ease for operation.
Example IV
The embodiment of the invention also provides a kind of electronic equipment.Fig. 2 is second of the electronic equipment of the embodiment of the present invention Composed structure schematic diagram;As shown in Fig. 2, the electronic equipment includes embedded Control component 11, the embedded Control component 11 include: micro-control unit 111;The electronic equipment further include: CC logic unit 112, communication unit 113 and power switch Unit 12;
The micro-control unit 111 is electrically connected with the CC logic unit 112, the CC logic unit 112 with set Set the general-purpose serial bus USB interface electrical connection of the first kind in the electronic equipment;The USB interface of the first kind Support the two-sided insertion of USB connector of access device;
The communication unit 113, for support the first kind USB interface and the CC logic unit 112, with And it is communicated between the CC logic unit 112 and the micro-control unit 111;
One end of the power switch unit 12 is electrically connected with the CC logic unit 112, the other end and the electronics Power output end in equipment is connected;
Wherein, the CC logic unit 112, for when the corresponding induction of USB interface for detecting the first kind When parameter reaches preset threshold, determine that the USB interface of the first kind has access device access, Xiang Suoshu micro-control unit 111 send the first information, and establish the communication link between the USB interface of the first kind;
The CC logic unit 112, is also used to detect that the USB interface of the first kind has access device access When, it controls the power switch unit 12 and is in closed state, to provide the USB interface of power output to the first kind; When being also used to detect the USB interface of the first kind without access device access, controls the power switch unit 12 and be in Off-state.
In the present embodiment, the embedded Control component 11 is specifically as follows EC chip, then the electronic equipment is setting There is the electronic equipment of EC chip, such as laptop, super basis computer, is also possible to be provided with the desktop computer etc. of EC chip Deng.The embedded Control component 11 usually has data processing function and store function, as an implementation, described embedding Enter to be provided with micro-control unit 111 (MCU) and nonvolatile memory, the nonvolatile memory tool in formula control assembly 11 Body can be flash memory (Flash Rom).
In the present embodiment, the micro-control unit 111 in the embedded Control component 11 is mainly used for the first kind The equipment of USB interface access carries out power control;Certainly, in other embodiments, in the embedded Control component 11 Micro-control unit 111 is also used to carry out system in booting or shutdown process the electronic equipment global management, and The input operation of keyboard is controlled etc..
In the present embodiment, the electronic equipment further includes CC logic unit 112, the CC logic unit 112 and institute The USB interface electrical connection for stating the first kind, is examined for whether the USB interface to the first kind to be inserted into access device The connection of data link and power supply link (VBUS) is established and is managed in the USB interface of survey and the first kind.As one Kind embodiment, the CC logic unit 112 can be real by four pins (PIN) in the embedded Control component 11 It is existing.In the present embodiment, the USB interface of the first kind supports the two-sided insertion of USB connector of access device, it can be understood as The two array of pins arrangement symmetrical above and below of the USB interface of the first kind, does not distinguish front or back;As a kind of embodiment party Formula, the USB interface of the first kind are that USB-C type (Type-C) interface is not limited to USB-C type (Type-C) interface certainly, All two sides are identical, the USB interface of the two-sided insertion of USB connector of access device is supported to belong to the guarantor of the embodiment of the present invention Protect range.
In the present embodiment, it is provided with communication unit 113 in the electronic equipment, is preset in the communication unit 113 There is communication protocol and matching rule of shaking hands, for the USB interface and the CC logic unit 112 of the first kind, and Communication between the CC logic unit 112 and the micro-control unit 111 is supported.As an implementation, described logical Letter unit 113 can specifically be realized by physical layer (PHY) integrated circuit being arranged in the embedded Control component 11.
In the present embodiment, power switch unit 12 is provided in the electronic equipment, the CC logic unit 112 is based on The ON/OFF whether USB interface of the first kind has access device access to control the power switch unit 12, to pass through The ON/OFF for stating power switch unit 12 decides whether the work for meeting access device for the USB interface output of the first kind The power of condition.
Further, the micro-control unit 111 obtains the first kind by the CC logic unit 112 The description information of the access device of USB interface access, the description information can be the VID and PID of the access device;It is based on The description information determines the attribute information of the access device, and the access device is charging to the attribute information for identification (such as audio output apparatus, video export for equipment or input equipment (such as keyboard, mouse, handwriting pad etc.) or output equipment Equipment etc.).Based on the difference of the attribute information, described control unit determines the power parameter that the access information needs, The power parameter is sent to the CC logic unit 112;The CC logic unit 112 is based on the power parameter pair The power switch unit 12 carries out the control of power output, so that the USB interface acquisition of the first kind meets condition Power.
It, just can be to Type-C USB interface (i.e. without increasing PD control device using the technical solution of the embodiment of the present invention The USB interface of the first kind) access distinct device realize power control, without increasing the size of the PCB in electronic equipment just The functional requirement that can be realized Type-C USB interface (i.e. the USB interface of the first kind), without the component increased in PCB Layout difficulty, improve industrial ease for operation.
Embodiment five
The embodiment of the invention also provides a kind of electronic equipment, and referring to Fig.1 or shown in Fig. 2, the electronic equipment includes embedding Enter formula control assembly 11, the embedded Control component 11 includes: micro-control unit 111;The electronic equipment further include: CC Logic unit 112 and communication unit 113;
The micro-control unit 111 is electrically connected with the CC logic unit 112, the CC logic unit 112 with set Set the USB interface electrical connection of the first kind in the electronic equipment;The USB interface of the first kind supports access device The two-sided insertion of USB connector;
The communication unit 113, for support the first kind USB interface and the CC logic unit 112, with And it is communicated between the CC logic unit 112 and the micro-control unit 111;
Wherein, the microcontroller chip is also used to detect at least two described first when the CC logic unit 112 It is the USB interface of described at least two first kind according to preset rules when the USB interface of type has access device access Configuration preference level parameter controls the USB interface of described at least two first kind based on the priority parameters.
As an implementation, the microcontroller chip connects for the USB when described at least two first kind When mouth has access device access, the description information of at least two access devices is obtained, it is described extremely based on description information determination The attribute information of few two access devices;When the attribute for the access device that the USB interface of at least two first kind accesses When having at least partly identical, the preferential of the USB interface of at least two first kind of the identical access device access of attribute is obtained Grade parameter, determines the USB interface of the high first kind of priority, enables the USB interface of the first kind and to described first The power of the USB interface of type is controlled.
In the present embodiment, the embedded Control component 11 is specifically as follows EC chip, then the electronic equipment is setting There is the electronic equipment of EC chip, such as laptop, super basis computer, is also possible to be provided with the desktop computer etc. of EC chip Deng.The embedded Control component 11 usually has data processing function and store function, as an implementation, described embedding Enter to be provided with micro-control unit 111 (MCU) and nonvolatile memory, the nonvolatile memory tool in formula control assembly 11 Body can be flash memory (Flash Rom).
In the present embodiment, the micro-control unit 111 in the embedded Control component 11 is mainly used for the first kind The equipment of USB interface access carries out power control;Certainly, in other embodiments, in the embedded Control component 11 Micro-control unit 111 is also used to carry out system in booting or shutdown process the electronic equipment global management, and The input operation of keyboard is controlled etc..
In the present embodiment, the electronic equipment further includes collocation channel logic (CC logic) unit, the collocation channel Logic (CC logic) unit is electrically connected with the USB interface of the first kind, is for the USB interface to the first kind No insertion access device detected and the USB interface of the first kind in data link and power supply link (VBUS) Connection is established and management.As an implementation, collocation channel logic (CC logic) unit can pass through the insertion Four pins (PIN) in formula control assembly 11 are realized.In the present embodiment, the USB interface of the first kind supports access to set The two-sided insertion of standby USB connector, it can be understood as the two array of pins arrangement symmetrical above and below of the USB interface of the first kind, Do not distinguish front or back;As an implementation, the USB interface of the first kind is USB-C type (Type-C) interface, Certainly, it is not limited to USB-C type (Type-C) interface, all two sides are identical, support the two-sided insertion of USB connector of access device USB interface belong to the protection scope of the embodiment of the present invention.
In the present embodiment, it is provided with communication unit 113 in the electronic equipment, is preset in the communication unit 113 There is communication protocol and matching rule of shaking hands, for the USB interface and the CC logic unit 112 of the first kind, and Communication between the CC logic unit 112 and the micro-control unit 111 is supported.As an implementation, described logical Letter unit 113 can specifically be realized by physical layer (PHY) integrated circuit being arranged in the embedded Control component 11.
In the present embodiment, when the USB interface of the first kind has access device access, the CC logic unit 112 It can detect that the corresponding voltage of the USB interface of the first kind is high potential, i.e. voltage value reaches preset threshold.Usual situation Under, pull-up resistor has been all connected on D+ the or D- signal wire of the USB interface of each first kind;For at full speed and high-speed equipment, The pull-up resistor is connected on D+ signal wire;For low-speed device, the pull-up resistor is connected on D- signal wire;When connecing When entering equipment and being inserted into the USB interface of the first kind, it is based on the pull-up resistor, the CC logic unit 112 can detect High potential, to identify that the USB interface of the first kind has access device access.The CC logic unit 112 is based on The communication unit 113 to the micro-control unit 111 send the first information, and based on the communication unit 113 establish with Communication link between the USB interface of the first kind.
In the present embodiment, when the CC logic unit 112 detects that the USB interface of at least two first kind has access When equipment accesses, the microcontroller chip obtains retouching for the access device of the USB interface access of at least two first kind Information is stated, the attribute information of at least two access devices is determined based on the description information.When at least two first kind USB interface access access device when having at least partly identical, such as USB has been accessed by the USB interface of four first kind Equipment, wherein there are two the access devices that the USB interface of the first kind accesses to belong to character inputting device, such as two first kind The USB interface of type has accessed keyboard;The then priority ginseng of USB interface of the microcontroller chip based on described two first kind Number determines the USB interface of the wherein high first kind of priority, enables the USB interface of the first kind, control described first The power of the USB interface of type;Meanwhile the USB interface of another first kind is shielded, so that another first kind The access device of USB interface not can be carried out any operation.
In the present embodiment, the USB interface (being specifically as follows Type-C USB interface) of the first kind is passed as high speed Defeated interface, power transmission can be two-way, i.e., the described electronic equipment can charge for access device, opposite, it is described Access device may be the electronic equipment charging;In this way, the USB interface to the first kind carries out priority parameters It is pre-configured with, it, not only can be in order to carry out power control to the USB interface of the first kind based on the priority parameters The power parameter of transmission is controlled, the direction of power transmission can also be controlled.
It, just can be to Type-C USB interface (i.e. without increasing PD control device using the technical solution of the embodiment of the present invention The USB interface of the first kind) access distinct device realize power control, without increasing the size of the PCB in electronic equipment just The functional requirement that can be realized Type-C USB interface (i.e. the USB interface of the first kind), without the component increased in PCB Layout difficulty, improve industrial ease for operation.
Shown in any embodiment based on embodiment one to embodiment five, the electronic equipment of the embodiment of the present invention is in original electricity It is improved on the basis of EC in sub- equipment, realizes the power to the USB interface (such as Type-C USB interface) of the first kind Control.Fig. 3 a and Fig. 3 b are the electronic equipment of the embodiment of the present invention and the Structure Comparison schematic diagram of the prior art;As shown in Figure 3a, For the structural representation of electronic equipment in the prior art, including mutually independent EC and power output controller, and for each The USB interface (such as Type-C USB interface) of a first kind is required to increase a power output controller;And from Fig. 3 a As can be seen that EC and power output controller include: the MCU for information processing, the flash memory for storage (Flash Rom) With the physical layer (PHY) for supporting data communication.Based on this, the module of the electronic equipment of the embodiment of the present invention to identical function It is integrated, as shown in Figure 3b, i.e., realizes the place of the power control to the USB interface of the first kind using the function of the MCU of EC Reason, that is, utilizing the partial simulation of the MCU of EC is the PD MCU controlled for power output;Utilize the flash memory (Flash Rom) of EC Storage region of the part as power control;It is used to support the data of power control using the part of the physical layer (PHY) of EC Transmission;In addition, the CC logic is detected for the access device of the USB interface to the first kind, Yi Jipei Channel is set, the connection of data and VBUS the USB device are established and managed, is based on this, in the present embodiment, the CC Logic is realized by four pins of the EC in conjunction with the MCU in the EC.
It can be seen that the electronic equipment of the present embodiment just can be to Type-C USB interface (i.e. without increasing PD control device The USB interface of the first kind) access distinct device realize power control, without increasing the size of the PCB in electronic equipment just The functional requirement that can be realized Type-C USB interface (i.e. the USB interface of the first kind), without the component increased in PCB Layout difficulty, improve industrial ease for operation.
Embodiment six
It is described the embodiment of the invention also provides a kind of information processing method based on each electronic equipment embodiment of the present invention Information processing method is applied in electronic equipment, and the electronic equipment includes embedded Control component, the embedded Control group Part includes: micro-control unit;Further include: CC logic unit and communication unit.Fig. 4 is the information processing side of the embodiment of the present invention The first flow diagram of method, as shown in figure 4, the information processing method includes:
Step 401:CC logic unit obtains the description letter of the access device of the USB interface access of the first kind Breath, is sent to micro-control unit for description information.
Here, the CC logic unit establishes communication link, Yi Jixiang between the USB interface of the first kind After the micro-control unit sends the first information, the micro-control unit is by the CC logic unit to the first kind The access device of the USB interface access of type sends Get_Device_Descriptor instruction, to obtain retouching for the access device Information is stated, the description information can be known for the production firm's identification code (VID, Vendor ID) and product of the access device Other code (PID, Product ID);The micro-control unit is also by the CC logic unit to the USB of the first kind The access device of interface access sends Get_Device_Configuration instruction, with obtain the access device with confidence Breath.
Step 402: the description information that the micro-control unit is sent based on the CC logic unit determines the access The attribute information of equipment determines the power parameter that the access device needs based on the attribute information, by the power parameter It is sent to the CC logic unit.
Here, the micro-control unit determines the attribute information of the access device, the category based on the description information Property information for identification the access device be charging equipment or input equipment (such as keyboard, mouse, handwriting pad etc.) or Output equipment (such as audio output apparatus, picture output device).Based on the difference of the attribute information, described control unit It determines the power parameter that the access information needs, the power parameter is sent to the CC logic unit, by the CC Logic unit carries out power control to the USB interface of the first kind.
Step 403: the power parameter that the CC logic unit is determined based on the micro-control unit is to output to described The power of the USB interface of the first kind is controlled.
As an implementation, the electronic equipment further includes power switch unit, and the one of the power switch unit End is electrically connected with the CC logic unit, and the other end is connected with the power output end in the electronic equipment;The then CC When logic unit detects that the USB interface of the first kind has access device access, controls the power switch unit and be in Closed state, to provide the USB interface of power output to the first kind;It is also used to detect the USB of the first kind When interface is accessed without access device, controls the power switch unit and be in an off state.
In the present embodiment, the function of the micro-control unit of the electronic equipment, CC logic unit and communication unit can join According to previous embodiment one into embodiment five described in any embodiment, which is not described herein again.
Embodiment seven
The embodiment of the invention also provides a kind of information processing method, the information processing method is applied to electronic equipment In, the electronic equipment includes embedded Control component, and the embedded Control component includes: micro-control unit;Further include: match Set channel logic (CC logic) unit and communication unit.Fig. 5 is second of stream of the information processing method of the embodiment of the present invention Journey schematic diagram, as shown in figure 5, the information processing method includes:
Step 501:CC logic unit detects that the corresponding sensed parameter of the USB interface of the first kind reaches default It when threshold value, determines that the USB interface of the first kind has access device access, sends the first information to micro-control unit, and Establish the communication link between the USB interface of the first kind.
Here, when the USB interface of the first kind has access device access, the CC logic unit can detect institute The corresponding voltage of USB interface for stating the first kind is high potential, i.e. voltage value reaches preset threshold.Under normal conditions, Mei Ge Pull-up resistor has been all connected on D+ the or D- signal wire of the USB interface of one type;For full speed and high-speed equipment, the pull-up electricity Resistance is connected on D+ signal wire;For low-speed device, the pull-up resistor is connected on D- signal wire;When there is access device insertion When the USB interface of the first kind, it is based on the pull-up resistor, the CC logic unit can detect high potential, to know Not Chu the USB interface of the first kind have access device access.The CC logic unit be based on the communication unit 113 to The micro-control unit sends the first information, and based on the communication unit establish with the USB interface of the first kind it Between communication link.
Step 502: the CC logic unit obtains the description of the access device of the USB interface access of the first kind Description information is sent to the micro-control unit by information.
Here, the CC logic unit establishes communication link, Yi Jixiang between the USB interface of the first kind After the micro-control unit sends the first information, the micro-control unit is by the CC logic unit to the first kind The access device of the USB interface access of type sends Get_Device_Descriptor instruction, to obtain retouching for the access device Information is stated, the description information can be known for the production firm's identification code (VID, Vendor ID) and product of the access device Other code (PID, Product ID);The micro-control unit is also by the CC logic unit to the USB of the first kind The access device of interface access sends Get_Device_Configuration instruction, with obtain the access device with confidence Breath.
Step 503: the description information that the micro-control unit is sent based on the CC logic unit determines the access The attribute information of equipment determines the power parameter that the access device needs based on the attribute information, by the power parameter It is sent to the CC logic unit.
Here, the micro-control unit determines the attribute information of the access device, the category based on the description information Property information for identification the access device be charging equipment or input equipment (such as keyboard, mouse, handwriting pad etc.) or Output equipment (such as audio output apparatus, picture output device).Based on the difference of the attribute information, described control unit It determines the power parameter that the access information needs, the power parameter is sent to the CC logic unit, by the CC Logic unit carries out power control to the USB interface of the first kind.
Step 504: the power parameter that the CC logic unit is determined based on the micro-control unit is to output to described The power of the USB interface of the first kind is controlled.
As an implementation, the electronic equipment further includes power switch unit, and the one of the power switch unit End is electrically connected with the CC logic unit, and the other end is connected with the power output end in the electronic equipment;The then CC When logic unit detects that the USB interface of the first kind has access device access, controls the power switch unit and be in Closed state, to provide the USB interface of power output to the first kind;It is also used to detect the USB of the first kind When interface is accessed without access device, controls the power switch unit and be in an off state.
In the present embodiment, the function of the micro-control unit of the electronic equipment, CC logic unit and communication unit can join According to previous embodiment one into embodiment five described in any embodiment, which is not described herein again.
Embodiment eight
The embodiment of the invention also provides a kind of information processing methods.The information processing method is applied to electronic equipment In, the electronic equipment includes embedded Control component, and the embedded Control component includes: micro-control unit;Further include: match Set channel logic CC logic unit and communication unit.Fig. 6 is the third process of the information processing method of the embodiment of the present invention Schematic diagram, as shown in fig. 6, the information processing method includes:
Step 601:CC logic unit detects that the corresponding sensed parameter of the USB interface of the first kind reaches default It when threshold value, determines that the USB interface of the first kind has access device access, sends the first information to micro-control unit, and Establish the communication link between the USB interface of the first kind.
Here, when the USB interface of the first kind has access device access, the CC logic unit can detect institute The corresponding voltage of USB interface for stating the first kind is high potential, i.e. voltage value reaches preset threshold.Under normal conditions, Mei Ge Pull-up resistor has been all connected on D+ the or D- signal wire of the USB interface of one type;For full speed and high-speed equipment, the pull-up electricity Resistance is connected on D+ signal wire;For low-speed device, the pull-up resistor is connected on D- signal wire;When there is access device insertion When the USB interface of the first kind, it is based on the pull-up resistor, the CC logic unit can detect high potential, to know Not Chu the USB interface of the first kind have access device access.The CC logic unit be based on the communication unit 113 to The micro-control unit sends the first information, and based on the communication unit establish with the USB interface of the first kind it Between communication link.
Step 602: when the CC logic unit detects that the USB interface of at least two first kind has access to set When standby access, the microcontroller chip is excellent according to the USB interface configuration that preset rules are described at least two first kind First grade parameter controls the power of the USB interface of described at least two first kind based on the priority parameters.
Here, when the USB interface of described at least two first kind has access device access, the micro-control coremaking Piece obtains the description information of at least two access devices, and the category of at least two access device is determined based on the description information Property information;When the attribute for the access device that the USB interface of at least two first kind accesses has at least partly identical, obtain The priority parameters for taking the USB interface of at least two first kind of the identical access device access of attribute, determine priority height The first kind USB interface, enable the power of the USB interface of the first kind and the USB interface to the first kind It is controlled.
Specifically, when the CC logic unit detects that the USB interface of at least two first kind has access device to connect Fashionable, the microcontroller chip obtains the description information of the access device of the USB interface access of at least two first kind, The attribute information of at least two access devices is determined based on the description information.When the USB of at least two first kind connects When the access device of mouth access has at least partly identical, such as USB device is accessed by the USB interface of four first kind, In there are two the first kind USB interface access access device belong to character inputting device, such as the USB of two first kind Interface has accessed keyboard;The then priority parameters of USB interface of the microcontroller chip based on described two first kind determine The wherein USB interface of the high first kind of priority, enables the USB interface of the first kind, controls the first kind The power of USB interface;Meanwhile the USB interface of another first kind is shielded, so that the USB of another first kind connects The access device of mouth not can be carried out any operation.
In the present embodiment, the USB interface (being specifically as follows Type-C USB interface) of the first kind is passed as high speed Defeated interface, power transmission can be two-way, i.e., the described electronic equipment can charge for access device, opposite, it is described Access device may be the electronic equipment charging;In this way, the USB interface to the first kind carries out priority parameters It is pre-configured with, it, not only can be in order to carry out power control to the USB interface of the first kind based on the priority parameters The power parameter of transmission is controlled, the direction of power transmission can also be controlled.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or The various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: that movable storage device, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (7)

1. a kind of electronic equipment, the electronic equipment includes embedded Control component, and the embedded Control component includes: micro-control Unit processed;Further include: collocation channel logic CC logic unit and communication unit;
The micro-control unit is electrically connected with the CC logic unit, and the CC logic unit is set with setting in the electronics The general-purpose serial bus USB interface electrical connection of the first kind in standby;The USB interface of the first kind supports access device The two-sided insertion of USB connector;
The communication unit, for supporting the USB interface and the CC logic unit and the CC of the first kind It is communicated between logic unit and the micro-control unit;
The CC logic unit, the description information for the access device that the USB interface for obtaining the first kind accesses, will The description information is sent to the micro-control unit;
The micro-control unit, the description information for being sent based on the CC logic unit determine the category of the access device Property information, the power parameter that the access device needs is determined based on the attribute information, the power parameter is sent to institute State CC logic unit;
The CC logic unit, the power parameter for being also used to determine based on the micro-control unit is to output to the first kind The power of the USB interface of type is controlled;
The micro-control unit is also used to detect that the USB of at least two first kind connects when the CC logic unit It is the USB interface configuration preference level of described at least two first kind according to preset rules when mouth has access device access Parameter controls the power parameter and power of the USB interface of described at least two first kind based on the priority parameters The direction of transmission;
The CC logic unit, for the pull-up resistor on the signal wire based on the USB interface for being connected to the first kind, The variation for detecting the corresponding sensed parameter of USB interface of the first kind, identifies whether the USB interface of the first kind has Access device access.
2. electronic equipment according to claim 1, which is characterized in that the CC logic unit detects institute for working as When stating the corresponding sensed parameter of USB interface of the first kind and reaching preset threshold, determine that the USB interface of the first kind connects Enter equipment access, Xiang Suoshu micro-control unit sends the first information, and establishes between the USB interface of the first kind Communication link.
3. electronic equipment according to claim 2, which is characterized in that the electronic equipment further includes power switch unit, One end of the power switch unit is electrically connected with the CC logic unit, and the other end and the power supply in the electronic equipment are defeated Outlet is connected;
The CC logic unit when being also used to detect that the USB interface of the first kind has access device access, controls institute It states power switch unit and is in closed state, to provide the USB interface of power output to the first kind;It is also used to detect When the USB interface of the first kind is accessed without access device, controls the power switch unit and be in an off state.
4. electronic equipment according to claim 1, which is characterized in that the communication unit is to be arranged in the embedded control The physical layer PHY integrated circuit of component processed.
5. electronic equipment according to claim 1, which is characterized in that the microcontroller chip, for when described at least two When the USB interface of a first kind has access device access, the description information of at least two access devices is obtained, is based on institute State the attribute information that description information determines at least two access device;When the USB interface of at least two first kind When the attribute of the access device of access has at least partly identical, at least two first of the identical access device access of attribute are obtained The priority parameters of the USB interface of type determine the USB interface of the high first kind of priority, and it is high to enable the priority The power of the USB interface of the first kind and the USB interface of the first kind high to the priority controls.
6. a kind of information processing method, the information processing method is applied in electronic equipment, and the electronic equipment includes insertion Formula control assembly, the embedded Control component includes: micro-control unit;Further include: collocation channel logic CC logic unit And communication unit;The described method includes:
The CC logic unit obtains the description information of the access device of the USB interface access of the first kind, by the description Information is sent to the micro-control unit;
The description information that the micro-control unit is sent based on the CC logic unit determines the attribute letter of the access device Breath determines the power parameter that the access device needs based on the attribute information, the power parameter is sent to the CC Logic unit;
The CC logic unit is based on the determining power parameter of the micro-control unit to the USB of output to the first kind The power of interface is controlled;
When the CC logic unit detects that the USB interfaces of at least two first kind has access device access, institute State method further include: the micro-control unit is matched according to the USB interface that preset rules are described at least two first kind Priority parameters are set, the power ginseng of the USB interface of described at least two first kind is controlled based on the priority parameters Several and power transmission direction;
Wherein, the pull-up resistor on the signal wire of the CC logic unit based on the USB interface for being connected to the first kind, The variation for detecting the corresponding sensed parameter of USB interface of the first kind, identifies whether the USB interface of the first kind has Access device access.
7. according to the method described in claim 6, it is characterized in that, the CC logic unit obtains the first kind Before the description information of the access device of USB interface access, the method also includes:
When the CC logic unit detects that the corresponding sensed parameter of the USB interface of the first kind reaches preset threshold, Determine that the USB interface of the first kind has access device access, Xiang Suoshu micro-control unit sends the first information, and establishes Communication link between the USB interface of the first kind.
CN201510550163.1A 2015-09-01 2015-09-01 A kind of electronic equipment and information processing method Active CN105183679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510550163.1A CN105183679B (en) 2015-09-01 2015-09-01 A kind of electronic equipment and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510550163.1A CN105183679B (en) 2015-09-01 2015-09-01 A kind of electronic equipment and information processing method

Publications (2)

Publication Number Publication Date
CN105183679A CN105183679A (en) 2015-12-23
CN105183679B true CN105183679B (en) 2019-03-29

Family

ID=54905769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510550163.1A Active CN105183679B (en) 2015-09-01 2015-09-01 A kind of electronic equipment and information processing method

Country Status (1)

Country Link
CN (1) CN105183679B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677285A (en) * 2015-12-31 2016-06-15 联想(北京)有限公司 All-in-one machine control method, electronic device and all-in-one machine control system
CN105677405B (en) * 2015-12-31 2019-12-24 联想(北京)有限公司 Positive and negative interface processing method and electronic equipment
CN105760331B (en) * 2016-02-22 2018-10-16 英特格灵芯片(天津)有限公司 A kind of transmitter being applied in USB-PD communications
CN105893305A (en) * 2016-03-29 2016-08-24 乐视控股(北京)有限公司 Intelligent mobile terminal USB TYPE-C interface system
CN109478176B (en) * 2016-04-12 2020-12-08 华为技术有限公司 Method, device and system for identifying opposite terminal equipment by USB Type-C port equipment
CN108268090A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 A kind of interface protector, mobile terminal and method
CN108110839B (en) * 2017-12-28 2021-08-24 合肥联宝信息技术有限公司 Power supply control method and electronic equipment
CN109346883B (en) * 2018-09-20 2020-09-01 合肥联宝信息技术有限公司 System for realizing positive and negative insertion of Type-C interface
CN110492717A (en) * 2019-07-01 2019-11-22 联想(北京)有限公司 A kind of processing equipment and processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1632774A (en) * 2004-04-30 2005-06-29 山东新北洋信息技术股份有限公司 Identification method for USB interface equipment
CN101917497A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface
CN102833387A (en) * 2011-06-15 2012-12-19 中兴通讯股份有限公司 Mobile terminal and processing method thereof
CN102955557A (en) * 2011-08-19 2013-03-06 宏碁股份有限公司 Device and method for USB (universal serial bus) charging
CN204179435U (en) * 2014-09-26 2015-02-25 特通科技有限公司 There is the enlargement module of USB C-Type connector

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4643726B2 (en) * 2009-05-26 2011-03-02 株式会社東芝 Information processing apparatus and power supply method
CN202564998U (en) * 2012-05-26 2012-11-28 深圳市奥尼电子工业有限公司 Intelligent multi-interface charger
CN102938573B (en) * 2012-11-12 2014-08-13 广东欧珀移动通信有限公司 Intelligent charging device and charging method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1632774A (en) * 2004-04-30 2005-06-29 山东新北洋信息技术股份有限公司 Identification method for USB interface equipment
CN101917497A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface
CN102833387A (en) * 2011-06-15 2012-12-19 中兴通讯股份有限公司 Mobile terminal and processing method thereof
CN102955557A (en) * 2011-08-19 2013-03-06 宏碁股份有限公司 Device and method for USB (universal serial bus) charging
CN204179435U (en) * 2014-09-26 2015-02-25 特通科技有限公司 There is the enlargement module of USB C-Type connector

Also Published As

Publication number Publication date
CN105183679A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105183679B (en) A kind of electronic equipment and information processing method
US7895386B2 (en) USB interface provided with host/device function and its control method
US9129065B2 (en) USB device and control method thereof
US8769317B2 (en) USB hub for supplying power upon determination whether a USB device is chargeable according to data transfer rate of the USB device
CN108259803A (en) Electric terminal equipment, television terminal, signal input circuit and method
US20160004287A1 (en) Portable electronic device and power management method thereof
US10042801B2 (en) System for detecting universal serial bus (USB) device and method thereof
CN102087624B (en) Circuit structure and method for realizing USB interface functional verification test on the basis of FPGA module
EP2860638B1 (en) Serial communication over communication control pin
CN108920397B (en) Device identification method and device, storage medium and electronic device
CN106201758B (en) A kind of method and device that server node hard disk powers on
CN104932662B (en) A kind of control method and electronic equipment
CN112799985B (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN108228509A (en) A kind of USB interface switching device and electronic equipment
CN104067200A (en) Communication and monitoring of a battery via a single wire
WO2022063067A1 (en) Power adapter, terminal device, electronic device, and charging control method thereof
CN109739787A (en) A kind of mainboard, video card, electronic equipment and data transmission method
CN206353652U (en) USB transmission line, mobile terminal
CN108563537A (en) A kind of USB principals and subordinates detection device and method
CN107203483A (en) The interface circuit and electronic equipment of a kind of electronic equipment
CN212846570U (en) Type-C interface circuit and touch-control all-in-one
CN107153456A (en) OTG connections control method, OTG connection control devices and electronic equipment
CN205983460U (en) Serial receiving and dispatching interface module and USB interface module sharing port circuit
CN106708429A (en) Detection circuit
CN106294252B (en) Ultrahigh speed chip interconnection means and its connection control method

Legal Events

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