CN106445858A - Information processing method, information processing module and electronic device - Google Patents

Information processing method, information processing module and electronic device Download PDF

Info

Publication number
CN106445858A
CN106445858A CN201510497580.4A CN201510497580A CN106445858A CN 106445858 A CN106445858 A CN 106445858A CN 201510497580 A CN201510497580 A CN 201510497580A CN 106445858 A CN106445858 A CN 106445858A
Authority
CN
China
Prior art keywords
electronic equipment
information
pin
connection status
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510497580.4A
Other languages
Chinese (zh)
Other versions
CN106445858B (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 CN201510497580.4A priority Critical patent/CN106445858B/en
Publication of CN106445858A publication Critical patent/CN106445858A/en
Application granted granted Critical
Publication of CN106445858B publication Critical patent/CN106445858B/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/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention provides an information processing method, which is applied to a first electronic device with a USB type interface. The method comprises the steps of analyzing the type of a connection state of a second electronic device and the first electronic device; and generating transmission information in combination with the type of the connection of the first electronic device and the second electronic device, and preset information corresponding to the type, and performing data information transmission based on an information transmission channel between the first electronic device and the second electronic device. By adopting the method, the information is transmitted according to the type of the connection of the first electronic device and the second electronic device; the transmission can be performed for different types; the type of the connection of the two electronic devices can be a normal USB connection, so that normal USB data transmission is realized; and the type of the connection of the two electronic devices can be a specific function connection, so that a specific function also can be realized.

Description

A kind of information processing method, information processing module and electronic equipment
Technical field
The present invention relates to electronic device field, in particular, it is to be related to a kind of information processing method, letter Breath processes module and electronic equipment.
Background technology
With the development of electronic technology, a kind of USB (Universal Serial Bus, USB (universal serial bus)) Type C (c-type) is more and more applied to various electronic equipments.
Structural representation for this USB type C interface as shown in Figure 1, this USB type C interface phase Great weight reducing is dimensionally carried out for existing type A (A type) and type B (Type B), only For 8.3*2.5mm, it is more suitable for using in the computing device of increasingly miniaturization.And, this USB type C Interface does not have the requirement in directivity, i.e. positive and negative insertion can complete to match, and this greatly improves USB The ease for use of interface.
However, the information processing manner of some electronic equipments still adopts existing type A in prior art Or the information processing manner of type B, its direct interface is directly replaced with after USB type C interface, When being connected with other electronic equipments, can only be carried out data transmission using normal USB therebetween, and not The specific function being connected based on the two can be carried out, such as this electronic equipment can include Debug Card (debugging Chip), BIOS (Basic Input Output System, basic input output system) Recovery Card (recovery chip) etc..
Therefore, need a kind of information processing method badly, with realize both can guarantee that two electronic equipments be connected when energy Enough carry out normal USB to carry out data transmission it is also possible to carry out the specific function being connected based on the two.
Content of the invention
In view of this, the invention provides a kind of information processing method, solve in prior art it is impossible to Ensure that two electronic equipments can carry out normal USB when being connected and carry out data transmission it is also possible to carry out base The problem of the specific function being connected in the two.
For achieving the above object, the present invention provides following technical scheme:
A kind of information processing method, be applied to one there is general-purpose serial bus USB type C interface first Electronic equipment, methods described includes:
Analyze the type of the second electronic equipment and the connection status of described first electronic equipment;
Type based on described connection status and presupposed information, generate transmission information, and based on described the Information transfer channel between one electronic equipment and described second electronic equipment, described transmission information is sent To described second electronic equipment.
Above-mentioned information processing method is it is preferred that described analysis second electronic equipment and described first electronics The type of the connection status of equipment includes:
Whether the level detecting the first pin of described first electronic equipment is the first level, obtains the first inspection Survey result;
Based on described first testing result to characterize described first pin be the first level when, detect described the The second pin of one electronic equipment and the link information of the second electronic equipment, determine described first electronic equipment Connection status is the first kind;
When non-first level of described first pin is characterized based on described first testing result, determine described first Electronic equipment connection status is Second Type.
Above-mentioned information processing method is it is preferred that the described type based on described connection status and default Information, generates transmission information and includes:
Based on described connection status, receive the presupposed information of the processor transmission of the first electronic equipment;
By described presupposed information converting transmitted information, described transmission information meet described first electronic equipment with Information transfer channel transmission standard between described second electronic equipment.
Above-mentioned information processing method it is preferred that the first electronic equipment connection status be the first kind, institute State and described presupposed information converting transmitted information is included:
The operation information of transmission from the processor of described first electronic equipment is converted to transmission information, with Described transmission information is passed based on the information between described first electronic equipment and described second electronic equipment To described second electronic equipment, described second electronic equipment is divided defeated channel transfer based on described transmission information Analysis obtains the operation troubles of described first electronic equipment.
Above-mentioned information processing method it is preferred that the first electronic equipment connection status be the first kind, institute State and described presupposed information converting transmitted information is included:
The parameter information of transmission from the processor of described first electronic equipment is converted to transmission information, with Described transmission information is passed based on the information between described first electronic equipment and described second electronic equipment To described second electronic equipment, described second electronic equipment is based on described parameter information pair to defeated channel transfer First electronic equipment carries out recovery process.
A kind of information processing module, is applied to the first electronic equipment, including:
Connection detection module, for detecting the company whether with described first electronic equipment for this second electronic equipment Connect;
Processing module, is connected with described connection detection module, for the second electronic equipment and described first electricity During the connection of sub- equipment, the type of the connection status of analysis the second electronic equipment and described first electronic equipment; Type based on described connection status and presupposed information, generate transmission information, and based on described first electricity Information transfer channel between sub- equipment and described second electronic equipment, described transmission information is sent to institute State the second electronic equipment.
Above-mentioned information processing module is it is preferred that described connection detection module includes:
First pin, for being connected with the first pin of the second electronic equipment;
Second pin, for being connected with the second pin of described second electronic equipment;
Connecting detection unit, is connected with described first pin and second pin respectively, for detecting described Whether the level of the first pin of one electronic equipment is the first level, obtains the first testing result;Based on institute State the first testing result and characterize described first pin when being the first level, described first electronic equipment is detected Second pin and the second electronic equipment link information, determine that described first electronic equipment connection status is The first kind;When non-first level of described first pin is characterized based on described first testing result, determine institute Stating the first electronic equipment connection status is Second Type.
Above-mentioned information processing module is it is preferred that described processing module includes:
Functional unit, for when described first electronic equipment connection status is the first kind, receiving described The presupposed information of the processor transmission of the first electronic equipment;
Information unit, for when described first electronic equipment connection status is Second Type, by described Second pin transmission general-purpose serial bus USB information is to the second electronic equipment;
Switch unit, described switch unit respectively with described information unit, functional unit and described first The second pin of electronic equipment is connected, for when described electronic equipment connection status is the first kind, inciting somebody to action The presupposed information that described functional unit sends is forwarded to the second electronic equipment by described second pin;Work as institute When stating the first electronic equipment connection status for Second Type, the data message that described information unit is sent leads to Cross described second pin and be forwarded to the second electronic equipment.
Above-mentioned information processing module is it is preferred that also include:
Power supply, is connected with the 4th pin of described first electronic equipment, when described first electronic equipment connects When state is the first kind, the 4th pin of described first electronic equipment draws with the 4th of the second electronic equipment Foot is connected to form circuit path, then described power supply is used for setting for described second electronics based on described circuit path Standby offer electric energy, so that the first pin of described second electronic equipment is the first level.
Above-mentioned information processing module is it is preferred that also include:
3rd pin, when described first electronic equipment connection status is the first kind, described first electronics 3rd pin of equipment is used for being connected with the 3rd pin of described second electronic equipment, wherein, described second 3rd pin ground connection of electronic equipment;
Power logic module, for described in the Automatic level control of the 3rd pin according to described first electronic equipment The working condition of power supply, when the 3rd pin of described first electronic equipment is the first level, controls described The stopping of power supply exports electric energy to the 4th pin of described first electronic equipment;When described first electronic equipment The 3rd pin when being second electrical level, control the output electric energy of described power supply to described first electronic equipment 4th pin.
A kind of electronic equipment, described electronic equipment includes as the first electronic equipment, described electronic equipment:
Processor, for providing presupposed information;
Information processing module, is connected with described processor, for analyzing the second electronic equipment and described first The type of the connection status of electronic equipment;Type based on described connection status and described presupposed information, Generate transmission information, and passed based on the information between described first electronic equipment and described second electronic equipment Defeated passage, described transmission information is sent to described second electronic equipment.
Understand via above-mentioned technical scheme, compared with prior art, the invention provides at a kind of information Reason method, is applied to first electronic equipment with USB type C interface, and the method includes:Analysis The type of the connection status of the second electronic equipment and described first electronic equipment;In conjunction with this first electronic equipment The type being connected with the second electronic equipment, and the presupposed information corresponding with the type, generate transmission letter Breath, and data letter is carried out based on the information transfer channel between this first electronic equipment and second electronic equipment The transmission of breath.Using the method, the type being connected with the second electronic equipment according to the first electronic equipment is to letter Breath is transmitted, and can be transmitted for dissimilar, and two connected types of electronic equipment can be Normal USB connects, to realize the data transfer of normal USB, the type that two electronic equipments are connected Can be the connection of specific function, then can also realize specific function.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality The accompanying drawing applying required use in example or description of the prior art be briefly described it should be apparent that, below Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not On the premise of paying creative work, other accompanying drawings can also be obtained according to the accompanying drawing providing.
Fig. 1 is the structural representation of USB type C interface;
A kind of flow chart of information processing method embodiment 1 that Fig. 2 provides for the present invention;
A kind of flow chart of information processing method embodiment 2 that Fig. 3 provides for the present invention;
First electronic equipment and second in a kind of information processing method embodiment 2 that Fig. 4 provides for the present invention Electronic equipment connection diagram;
A kind of flow chart of information processing method embodiment 3 that Fig. 5 provides for the present invention;
A kind of flow chart of information processing method embodiment 4 that Fig. 6 provides for the present invention;
A kind of flow chart of information processing method embodiment 5 that Fig. 7 provides for the present invention;
A kind of structural representation of information processing module embodiment 1 that Fig. 8 provides for the present invention;
A kind of structural representation of information processing module embodiment 2 that Fig. 9 provides for the present invention;
A kind of structural representation of information processing module embodiment 3 that Figure 10 provides for the present invention;
A kind of structural representation of information processing module embodiment 4 that Figure 11 provides for the present invention;
First electronic equipment and second in a kind of information processing module embodiment 4 that Figure 12 provides for the present invention The connection diagram of electronic equipment;
A kind of structural representation of information processing module embodiment 5 that Figure 13 provides for the present invention;
The circuit of the first electronic equipment in a kind of information processing module embodiment 5 that Figure 14 provides for the present invention Figure;
In a kind of information processing module embodiment 5 that Figure 15 provides for the present invention, the second electronic equipment is During debug card, the schematic diagram of a scenario that this first electronic equipment is connected with the second electronic equipment;
In a kind of information processing module embodiment 5 that Figure 16 provides for the present invention, the second electronic equipment is During debug card, the second electronic equipment display schematic diagram;
In a kind of information processing module embodiment 5 that Figure 17 provides for the present invention, the second electronic equipment is BIOS During recovery card, the schematic diagram of a scenario that this first electronic equipment is connected with the second electronic equipment;
The structural representation of a kind of electronic equipment embodiment 1 that Figure 18 provides for the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing The every other embodiment being obtained under the premise of going out creative work, broadly falls into the scope of protection of the invention.
Refer to accompanying drawing 2, a kind of flow chart of the information processing method embodiment 1 providing for the present invention, should Method is applied to the first electronic equipment, have in this first electronic equipment USB (Universal Serial Bus, USB (universal serial bus)) type C (c-type) interface, this first electronic equipment is specifically as follows desktop computer, pen The electronics of the forms such as note basis, panel computer, mobile phone, intelligent television, intelligent watch, Wearable sets Standby.
The method may comprise steps of:
Step S201:Analyze the type of the second electronic equipment and the connection status of described first electronic equipment;
Wherein, this second electronic equipment is to be connected with this first electronic equipment by USB type C interface One electronic equipment.
In being embodied as, this second electronic equipment and the first electronic equipment had both passed through this USB type C interface (i.e. this first electronic equipment sets for the second electronics it is also possible to realize electric current transmission to be capable of data transfer Available electricity).
Wherein, due to passing through this USB type C interface between this first electronic equipment and second electronic equipment Data transfer can either be realized it is also possible to realize electric current transmission, in the application mainly for dissimilar enter Row information is processed, to realize to carry out normal USB data transmission when two electronic equipments are connected.
Specifically, based on when between this second electronic equipment and first electronic equipment, generation is connected, judge even Connect the type of state, the type can include the first kind and Second Type.
In being embodied as, this Second Type can be the type of data cube computation, and this first kind can be work( The type that can connect, in the present embodiment, this function connects can also be subdivided into different types of connection, e.g., This Debug Card (test chart) connects, BIOS (Basic Input Output System, basic input Output system) Recovery Card (recover card) various ways such as connects.
Step S202:Type based on described connection status and presupposed information, generate transmission information, and Based on the information transfer channel between described first electronic equipment and described second electronic equipment, by described biography Defeated information sends to described second electronic equipment.
Wherein, the type based on this first electronic equipment and the second electronic equipment connection status and this first The presupposed information of electronic equipment, generates transmission information to be sent, this transmission information can for data message, Electric current or other functions information.
Specifically, when the type of this connection status is the first kind, this transmission information is function information; When the type of this connection status is Second Type, this transmission information is data message.
Wherein, lead to due to having had an information transfer between this first electronic equipment and second electronic equipment Road, and this information transfer channel with this first electronic equipment generate transmission information mate, then can be based on This information transfer channel transmits this transmission information to the second electronic equipment.
It should be noted that when this transmission information is data message, then this second electronic equipment receives After this data message, subsequent treatment can be carried out based on this data message;When this transmission information is circuit, After then this second electronic equipment receives this data message, can be charged or transport based on this data message OK.
To sum up, a kind of information processing method providing in the present embodiment, including:Analyze the second electronic equipment Type with the connection status of described first electronic equipment;Set in conjunction with this first electronic equipment and the second electronics The standby type connecting, and the presupposed information corresponding with the type, generate transmission information, and based on should Information transfer channel between first electronic equipment and the second electronic equipment carries out the transmission of data message.Adopt With the method, according to the type that the first electronic equipment is connected with the second electronic equipment, information is transmitted, Can be transmitted for dissimilar, and two connected types of electronic equipment can for normal USB even Connect, to realize the data transfer of normal USB, two connected types of electronic equipment can be specific work( The connection of energy, then can also realize specific function.
Refer to accompanying drawing 3, a kind of flow chart of the information processing method embodiment 2 providing for the present invention, should Method may comprise steps of:
Step S301:Whether the level detecting the first pin of described first electronic equipment is the first level, Obtain the first testing result;
Wherein, in this first electronic equipment, there is one first pin, this first pin is used for and the second electronics First pin of equipment is connected.
Specifically, when this first pin is the first level, this first electronic equipment and the second electronics are characterized Equipment is connected.
Wherein, shown in Fig. 4 for this first electronic equipment and the second electronic equipment connection diagram, this The pin A of one electronic equipment 401 is corresponding with the pin B of the second electronic equipment 402, when this first electronics When equipment is connected with the second electronic equipment, pin A is connected with pin B.
Specifically, this first level can be high level, when this first electronic equipment is not set with the second electronics When standby connected, the first pin of this first electronic equipment is low level, when this first electronic equipment and second When electronic equipment is connected, the first pin of this first electronic equipment is high level.
In being embodied as, the first pin of this first electronic equipment can have two connection ends, a connection End ground connection, another connection end is used for being connected with the first pin of the second electronic equipment, this second electronic equipment When being connected with the first electronic equipment, the first pin of this second electronic equipment is high level.
Step S302:Based on described first testing result characterize described first pin be the first level when, inspection Measure the second pin of described first electronic equipment and the link information of the second electronic equipment, determine described One electronic equipment connection status is the first kind;
Wherein, when the second pin of this first electronic equipment is connected with the second electronic equipment, it is able to detect that The second pin of this first electronic equipment and the link information of the second electronic equipment.
Wherein, this link information can be for meeting the information of data information transfer rule, such as USB2.0/3.0 The link information of standard.
Specifically, when this first testing result characterizes this first pin for the first level, and detect first During the link information of the second pin of electronic equipment and the second electronic equipment, then can determine that this first electronics sets Standby connection status is the first kind.
In being embodied as, this first kind is the type carrying out function information transmission, such as debug card work( Can information transfer, the transmission of BIOS Recovery Card function information etc.;This Second Type can be for being counted According to the type of transmission, the such as form such as USB connection.
Step S303:When non-first level of described first pin is characterized based on described first testing result, really Fixed described first electronic equipment connection status is Second Type;
Wherein, when this first testing result characterizes this first pin non-first level, then can determine that this first The connection status of electronic equipment is not the first kind, but Second Type.
In being embodied as, when this first level is high level, then this non-first level is low level.
It should be noted that when this first testing result characterizes this first pin for the first level, continuing Carry out detecting the information of the second pin of this first electronic equipment, and work as this first testing result characterize this During non-first level of one pin, then can directly determine that the connection status of this first electronic equipment is Second Type, Need not go again to detect the second pin of the first electronic equipment.
Step S304:Type based on described connection status and presupposed information, generate transmission information, and Based on the information transfer channel between described first electronic equipment and described second electronic equipment, by described biography Defeated information sends to described second electronic equipment.
Wherein, step S304 is consistent with step S202 in embodiment 1, does not repeat in the present embodiment.
To sum up, in the present embodiment provide a kind of information processing method in, this analysis second electronic equipment with The type of the connection status of described first electronic equipment includes:Detect that the first of described first electronic equipment draws Whether the level of foot is the first level, obtains the first testing result;Characterized based on described first testing result Second pin and second electricity of described first electronic equipment when described first pin is the first level, is detected The link information of sub- equipment, determines that described first electronic equipment connection status is the first kind;Based on described When first testing result characterizes described first pin non-first level, determine that described first electronic equipment connects State is Second Type.Using the method it is only necessary to be determined by detecting two pins of the first electronic equipment First electronic equipment and the connection status of the second electronic equipment, process is simple, it is easy to accomplish.
Refer to accompanying drawing 5, a kind of flow chart of the information processing method embodiment 3 providing for the present invention, should Method may comprise steps of:
Step S501:Whether the level detecting the first pin of described first electronic equipment is the first level, Obtain the first testing result;
Step S502:Based on described first testing result characterize described first pin be the first level when, inspection Measure the second pin of described first electronic equipment and the link information of the second electronic equipment, determine described One electronic equipment connection status is the first kind;
Step S503:When non-first level of described first pin is characterized based on described first testing result, really Fixed described first electronic equipment connection status is Second Type;
Wherein, step S501-503 is consistent with step S301-303 in embodiment 2, in the present embodiment not Repeat.
Step S504:Based on described connection status, receive the first electronic equipment processor transmission default Information;
Wherein, be stored with the processor of this first electronic equipment presupposed information, and this presupposed information can be Prestore, alternatively set up and acquire from other memory spaces, after connecting in the present embodiment not The source of this presupposed information is limited.
It should be noted that the connection status based on this first electronic equipment and the second electronic equipment, this The processor transmission of one electronic equipment and the presupposed information of this connection status cooperation.
Specifically, when this connection status is the first kind, this presupposed information can be function information etc., When this connection status is Second Type, this presupposed information is data message.
Step S505:By described presupposed information converting transmitted information, described transmission information meets described first Information transfer channel transmission standard between electronic equipment and described second electronic equipment;
Wherein, this presupposed information may be unsatisfactory for the letter between this first electronic equipment and second electronic equipment The transmission standard of breath transmission channel, this presupposed information is converted to and meets this information transfer channel transmission standard Transmission information so that this presupposed information can be transmitted based on this information transfer channel setting to the second electronics In standby.
It should be noted that in being embodied as, this presupposed information meets the transmission mark of this information transfer channel Standard, then need not be changed, you can omits this step S505.
Step S506:Based on the information transfer between described first electronic equipment and described second electronic equipment Passage, described transmission information is sent to described second electronic equipment.
Wherein, step S506 is consistent with step S304 in embodiment 2, does not repeat in the present embodiment.
To sum up, in a kind of information processing method providing in the present embodiment, should be based on described connection status Type and presupposed information, generate transmission information and include:Based on described connection status, receive the first electronics The presupposed information of the processor transmission of equipment;By described presupposed information converting transmitted information, described transmission letter Breath meets the information transfer channel transmission mark between described first electronic equipment and described second electronic equipment Accurate.Using the method, presupposed information waiting for transmission is changed so that its meet first electronic equipment with The transmission standard of the information transfer channel between the second electronic equipment, only need to carry out simple conversion, process letter Single.
Wherein, this first electronic equipment connection status is the first kind, to realize this first electronic equipment In presupposed information transmit to the second electronic equipment.
Refer to accompanying drawing 6, a kind of flow chart of the information processing method embodiment 4 providing for the present invention, should Method may comprise steps of:
Step S601:Whether the level detecting the first pin of described first electronic equipment is the first level, Obtain the first testing result;
Step S602:Based on described first testing result characterize described first pin be the first level when, inspection Measure the second pin of described first electronic equipment and the link information of the second electronic equipment, determine described One electronic equipment connection status is the first kind,
Step S603:When non-first level of described first pin is characterized based on described first testing result, really Fixed described first electronic equipment connection status is Second Type;
Step S604:Based on described connection status, receive the first electronic equipment processor transmission default Information;
Wherein, step S601-604 is consistent with step S401-404 in embodiment 3, in the present embodiment not Repeat.
Step S605:The operation information of transmission from the processor of described first electronic equipment is converted to biography Defeated information;
Wherein, in the present embodiment, occur wrong (bug) in this first electronic equipment running, then will The operation information that this comprises mistake is stored in this first electronic equipment.
Specifically, this operation information is carried out being converted to transmission information as presupposed information, and transmit to In two electronic equipments, so that this second electronic equipment is based on the analysis of this transmission information and obtains this first electronics The operation troubles of equipment.
It should be noted that this second electronic equipment can be debug card, in this second electronic equipment Display module can be set, shown after the operation troubles obtaining this first electronic equipment with analyzing, carry Show user, user and then can be debugged according to the fault that the content of this display determines this first electronic equipment.
Step S606:Based on the information transfer between described first electronic equipment and described second electronic equipment Passage, described transmission information is sent to described second electronic equipment.
Specifically, this transmission information is based between described first electronic equipment and described second electronic equipment Information transfer channel transmits to described second electronic equipment, and described second electronic equipment is based on described transmission Information analysiss obtain the operation troubles of described first electronic equipment.
Wherein, step S606 is consistent with step S506 in embodiment 3, does not repeat in the present embodiment.
To sum up, in a kind of information processing method providing in the present embodiment, the first electronic equipment connection status For Second Type, then described presupposed information converting transmitted information is included by this:To set from described first electronics In standby processor, the operation information of transmission is converted to transmission information, so that described transmission information is based on institute State the information transfer channel between the first electronic equipment and described second electronic equipment to transmit to the described second electricity After sub- equipment, described second electronic equipment is based on described transmission information analysis and obtains described first electronic equipment Operation troubles.Using the method, can be by USB between this first electronic equipment and second electronic equipment The data transmission channel of type C interface, realizes transmitting the operation information of the first electronic equipment to the second electronics In equipment, to realize the fault of the first electronic equipment is analyzed determining and pointing out user, user and then Can be debugged according to the fault that the content of this display determines this first electronic equipment.
Wherein, this first electronic equipment connection status is the first kind, to realize this first electronic equipment In presupposed information transmit to the second electronic equipment.
Refer to accompanying drawing 7, a kind of flow chart of the information processing method embodiment 5 providing for the present invention, should Method may comprise steps of:
Step S701:Whether the level detecting the first pin of described first electronic equipment is the first level, Obtain the first testing result;
Step S702:Based on described first testing result characterize described first pin be the first level when, inspection Measure the second pin of described first electronic equipment and the link information of the second electronic equipment, determine described One electronic equipment connection status is the first kind,
Step S703:When non-first level of described first pin is characterized based on described first testing result, really Fixed described first electronic equipment connection status is Second Type;
Step S704:Based on described connection status, receive the first electronic equipment processor transmission default Information;
Wherein, step S701-704 is consistent with step S501-504 in embodiment 3, in the present embodiment not Repeat.
Step S705:The parameter information of transmission from the processor of described first electronic equipment is converted to biography Defeated information so that described transmission information be based on described first electronic equipment and described second electronic equipment it Between information transfer channel transmit to described second electronic equipment, described second electronic equipment be based on described Parameter information carries out recovery process to the first electronic equipment;
Wherein, in the present embodiment, be stored with this first electronic equipment parameter information, as BIOS system Canonical parameter, then can realize this second electronic equipment based on parameter information in this first electronic equipment Parameter reconstruction process is carried out to the first electronic equipment.
Specifically, this operation information is carried out being converted to transmission information as presupposed information, and transmit to In two electronic equipments, so that this second electronic equipment is based on the analysis of this transmission information and obtains this first electronics The parameter of equipment, the need of carrying out recovery process, if necessary, is then based on this second electronic equipment In default parameter recovery process is carried out to the parameter information of this first electronic equipment, so that this first electronics is set Standby parameter information recovers preset value.
Step S706:Based on the information transfer between described first electronic equipment and described second electronic equipment Passage, described transmission information is sent to described second electronic equipment.
Wherein, step S706 is consistent with step S506 in embodiment 3, does not repeat in the present embodiment.
To sum up, in a kind of information processing method providing in the present embodiment, this first electronic equipment connects shape State is Second Type, described includes described presupposed information converting transmitted information:Will be from described first electronics In the processor of equipment, the parameter information of transmission is converted to transmission information, so that described transmission information is based on Information transfer channel between described first electronic equipment and described second electronic equipment transmits to described second After electronic equipment, described second electronic equipment is recovered to the first electronic equipment based on described parameter information Process.Using the method, can be by USB type C between this first electronic equipment and second electronic equipment The data transmission channel of interface, realizes transmitting the parameter information of the first electronic equipment to the second electronic equipment In, to realize the parameter of the first electronic equipment is analyzed determining whether to carry out Parameter reconstruction process.
A kind of information processing method is described in detail, for the present invention in the embodiment that the invention described above provides The device that can take various forms of information processing method realize, therefore present invention also offers a kind of information Process module, specific embodiment is given below and is described in detail.
Refer to accompanying drawing 8, a kind of structural representation of the information processing module embodiment 1 providing for the present invention, This information processing module is applied to the first electronic equipment, has USB type C and connect in this first electronic equipment Mouthful, this first electronic equipment is specifically as follows desktop computer, notebook, panel computer, mobile phone, intelligence electricity Electronic equipment depending on, the form such as intelligent watch, Wearable.
This information processing module can include following structure:Connection detection module 801 and processing module 802;
Wherein, this connection detection module 801, whether electric with described first for detecting this second electronic equipment The connection of sub- equipment;
Wherein, this connection detection module 801 is used for detecting whether this first electronic equipment is set with the second electronics Connect between standby, if connected, activate this processing module 802.
In being embodied as, this connection detection module 801 may include multiple pins, the level based on this pin It is analyzed whether this first electronic equipment is connected between the second electronic equipment, can be right in subsequent embodiment The concrete outcome of this connection detection module is explained, is not detailed in the present embodiment.
Wherein, this processing module 802, is connected with described connection detection module 801, for the described second electricity During the connection of sub- equipment and described first electronic equipment, analysis the second electronic equipment is set with described first electronics The type of standby connection status;Type based on described connection status and presupposed information, generate transmission letter Breath, and based on the information transfer channel between described first electronic equipment and described second electronic equipment, will Described transmission information sends to described second electronic equipment.
Wherein, due to passing through this USB type C interface between this first electronic equipment and second electronic equipment Data transfer can either be realized it is also possible to realize electric current transmission, in the application mainly for dissimilar enter Row information is processed, to realize to carry out normal USB data transmission when two electronic equipments are connected.
Specifically, this first electricity that this processing module 802 is obtained based on the detection of this connection detection module 801 Connection between sub- equipment and the second electronic equipment, the type of analysis connection status therebetween, and root According to the type, based on information transfer channel therebetween, described transmission information is sent to described second Electronic equipment, realizes information transfer therebetween.
Specifically, based on when between this second electronic equipment and first electronic equipment, generation is connected, judge even Connect the type of state, the type can include the first kind and Second Type.
In being embodied as, this Second Type can be the type of data cube computation, and this first kind can be work( The type that can connect, in the present embodiment, this function connects can also be subdivided into different types of connection, e.g., The various ways such as this Debug Card connects, BIOS Recovery Card connection.
Wherein, when this function connects connects for Debug Card, then it is right to be can achieve based on this function connects Execution debug operation in first electronic equipment;When this function connects is that BIOS Recovery Card connects When, then it is based on this function connects and can achieve to execution BIOS Recovery operation in the first electronic equipment.
To sum up, a kind of information processing module providing in the present embodiment, according to the first electronic equipment and second The type that electronic equipment connects is transmitted to information, can be transmitted for dissimilar, and two electricity The type that sub- equipment is connected can connect for normal USB, to realize the data transfer of normal USB, Two connected types of electronic equipment can be the connection of specific function, then can also realize specific function.
Refer to accompanying drawing 9, a kind of structural representation of the information processing module embodiment 2 providing for the present invention, This information processing module can include following structure:Connection detection module 901 and processing module 902;
Wherein, this processing module 902 is consistent with the corresponding construction function in embodiment 1, in the present embodiment Do not repeat.
Wherein, this connection detection module 901 includes:First pin 903, second pin 904 and connection inspection Survey unit 905;
Wherein, this first pin 903, for being connected with the first pin of the second electronic equipment;
Wherein, this second pin 904, for being connected with the second pin of described second electronic equipment;
Wherein, this connecting detection unit 905, is connected with described first pin and second pin respectively, is used for Whether the level detecting the first pin of described first electronic equipment is the first level, obtains the first detection knot Really;Based on described first testing result to characterize described first pin be the first level when, detect described the The second pin of one electronic equipment and the link information of the second electronic equipment, determine described first electronic equipment Connection status is the first kind, characterizes non-first level of described first pin based on described first testing result When, determine that described first electronic equipment connection status is Second Type.
Wherein, when this first electronic equipment is connected for the first kind with the second electronic equipment, then this first First pin 903 of electronic equipment is connected with the first pin of the second electronic equipment, and this first electronics sets Standby second pin 904 is connected with the second pin of the second electronic equipment, and is based on this second electronic equipment The first pin high level, the level of the first pin of this first electronic equipment is driven high as high level, During connection between the second pin of the second pin of this first electronic equipment and the second electronic equipment, the two Between transmission channel detection information, when the of second pin and second electronic equipment of this first electronic equipment When two pins are connected, then this first electronic equipment can receive this Air conduct measurement letter based on this second pin Breath, so make the high level based on the first pin of this first electronic equipment for this connecting detection unit and The Air conduct measurement information analysiss of the second pin of this first electronic equipment obtain the connection of this first electronic equipment State is the first kind.
And, when this first electronic equipment is connected for Second Type with the second electronic equipment, then this first electricity First pin 903 of sub- equipment is connected with the first pin of the second electronic equipment, this first electronic equipment The level of the first pin is low level.
To sum up, in a kind of information processing module providing in the present embodiment, connection detection module includes:The One pin, for being connected with the first pin of the second electronic equipment;Second pin, for described second The second pin of electronic equipment is connected;Connecting detection unit, respectively with described first pin and second pin It is connected, whether the level for detecting the first pin of described first electronic equipment is the first level, obtains First testing result;Based on described first testing result characterize described first pin be the first level when, inspection Measure the second pin of described first electronic equipment and the link information of the second electronic equipment, determine described One electronic equipment connection status is the first kind;Described first pin is characterized based on described first testing result During non-first level, determine that described first electronic equipment connection status is Second Type.At this information Reason module is it is only necessary to determine the first electronic equipment and the second electricity by detecting two pins of the first electronic equipment The connection status of sub- equipment, process is simple, it is easy to accomplish.
Refer to accompanying drawing 10, a kind of structural representation of the information processing module embodiment 3 providing for the present invention Figure, this information processing module can include following structure:Connection detection module 1001 and processing module 1002;
Wherein, this connection detection module 1001 is consistent with the corresponding construction function in embodiment 1, this enforcement Do not repeat in example.
Wherein, this processing module 1002 includes:Functional unit 1003, information unit 1004 and switching are single Unit 1005;
Wherein, this functional unit 1003, for being the first kind when described first electronic equipment connection status When, receive the presupposed information of the processor transmission of described first electronic equipment;
Wherein, be stored with the processor of this first electronic equipment presupposed information, and this presupposed information can be Prestore, alternatively set up and acquire from other memory spaces, after connecting in the present embodiment not The source of this presupposed information is limited.
Wherein, the connection status based on this first electronic equipment and the second electronic equipment, this first electronics sets The presupposed information that standby processor transmission is coordinated with this connection status.
Specifically, the functional unit in this processing module corresponding to the connection status of this first electronic equipment is During the first kind, this presupposed information can be function information etc..
Wherein, this information unit 1004, for being Second Type when described first electronic equipment connection status When, USB information is transmitted to the second electronic equipment by described second pin;
Specifically, when this connection status is the first kind, this presupposed information, when this connection status is the During two types, this presupposed information is data message USB information.
Wherein, this switch unit 1005, described switch unit respectively with described information unit, functional unit And the second pin of described first electronic equipment is connected, for being the when described electronic equipment connection status During one type, the presupposed information that described functional unit is sent is forwarded to the second electricity by described second pin Sub- equipment;When described first electronic equipment connection status is Second Type, described information unit is sent Data message the second electronic equipment is forwarded to by described second pin.
Wherein, the function of this switch unit 1005 is to realize information unit, functional unit and the first electronics to set The switching that standby second pin is connected, that is, the second pin realizing information unit with the first electronic equipment is connected And functional unit is connected with the second pin of the first electronic equipment.
It should be noted that in being embodied as, this functional unit can also enter to the presupposed information that it obtains Row conversion, obtains meeting the information transfer channel transmission mark between the first electronic equipment and the second electronic equipment Accurate transmission information.
Wherein, this presupposed information may be unsatisfactory for the letter between this first electronic equipment and second electronic equipment The transmission standard of breath transmission channel, this presupposed information is converted to and meets this information transfer channel transmission standard Transmission information so that this presupposed information can be transmitted based on this information transfer channel setting to the second electronics In standby.
It should be noted that in being embodied as, this presupposed information meets the transmission mark of this information transfer channel Standard, then need not be changed.
To sum up, in a kind of information processing module providing in the present embodiment, this processing module includes:Function Unit, for when described first electronic equipment connection status is the first kind, receiving described first electronics The presupposed information of the processor transmission of equipment;Information unit, for connecting shape when described first electronic equipment When state is Second Type, general-purpose serial bus USB information is transmitted to the second electronics by described second pin Equipment;Switch unit, described switch unit respectively with described information unit, functional unit and described The second pin of one electronic equipment is connected, for when described electronic equipment connection status is the first kind, The presupposed information that described functional unit is sent is forwarded to the second electronic equipment by described second pin;When When described first electronic equipment connection status is Second Type, by the data message of described information unit transmission Second electronic equipment is forwarded to by described second pin.Using this information processing module, will be waiting for transmission Presupposed information is changed so that it meets the information transfer between the first electronic equipment and the second electronic equipment The transmission standard of passage, only need to carry out simple conversion, process is simple.
Refer to accompanying drawing 11, a kind of structural representation of the information processing module embodiment 4 providing for the present invention Figure, this information processing module can include following structure:Connection detection module 1101, processing module 1102 With power supply 1103;
Wherein, the corresponding construction work(in this connection detection module 1101, processing module 1102 and embodiment 1 Can be consistent, do not repeat in the present embodiment.
Wherein, this power supply 1103, is connected with the 4th pin of described first electronic equipment, when described first When electronic equipment connection status is the first kind, the 4th pin of described first electronic equipment and the second electronics 4th pin of equipment is connected to form circuit path, then described power supply is used for based on described circuit path is institute Stating the second electronic equipment provides electric energy, so that the first pin of described second electronic equipment is the first level.
In being embodied as, in this information processing module, may also include power supply 1103, this power supply 1103 and first 4th pin of electronic equipment is connected, when this first electronic equipment and the second electronic equipment carry out the first kind Connection when, this power supply is the 4th of the second electronic equipment to draw by the 4th pin of this first electronic equipment Foot is energized, and being embodied as described second electronic equipment provides electric energy, and then makes the first of the second electronic equipment Pin is the first level, and this first level is high level.
It should be noted that carrying when this second electronic equipment receives the first electronic equipment by the 4th pin For electric energy when, the first pin of this second electronic equipment is low level.
Connection diagram for the first electronic equipment 1201 and the second electronic equipment 1202 as shown in figure 12, Wherein, this first electronic equipment 1201 include power supply 1203, this power supply pass through the 4th pin VBUS with Second electronic equipment the 4th pin VBUS be connected, and the VBUS of this second electronic equipment by its first The level of pin 1203 is drawn high as high level, then in this first electronic equipment the first pin GNG with this First pin 1204 of two electronic equipments is connected, and this first pin GND level is driven high accordingly as height Level.
To sum up, in a kind of information processing module providing in the present embodiment, also include:Power supply, and described 4th pin of the first electronic equipment is connected, when described first electronic equipment connection status is the first kind, 4th pin of the 4th pin of described first electronic equipment and the second electronic equipment is connected to form circuit and leads to Road, then described power supply is used for based on described circuit path is described second electronic equipment offer electric energy, so that The first pin obtaining described second electronic equipment is the first level.Using this information processing module, right with it In the second electronic equipment answered, power supply need not be set, when needing therebetween the connection carrying out the first kind, The electric energy that only need to be provided according to the first electronic equipment as the power supply of the second electronic equipment, abbreviation the second electricity Sub- device structure, and judge connected mode therebetween process simple.
Refer to accompanying drawing 13, a kind of structural representation of the information processing module embodiment 5 providing for the present invention Figure, this information processing module can include following structure:Connection detection module 1301, processing module 1302, Power supply 1303, the 3rd pin 1304 and power logic module 1305;
Wherein, in this connection detection module 1301, processing module 1302, power supply 1303 and embodiment 4 Corresponding construction function consistent, do not repeat in the present embodiment.
Wherein, the 3rd pin 1304, when described first electronic equipment connection status is the first kind, Described 3rd pin is used for being connected with the 3rd pin of described 3rd electronic equipment, wherein, described second electricity 3rd pin ground connection of sub- equipment;
Wherein, this power logic module 1305, for the 3rd pin according to described first electronic equipment The working condition of power supply described in Automatic level control, when the 3rd pin of described first electronic equipment is the first level When, control the stopping of described power supply to export electric energy to the 4th pin of described first electronic equipment;When described When 3rd pin of the first electronic equipment is second electrical level, control the output electric energy of described power supply to described the 4th pin of one electronic equipment.
Wherein, when the connection status of this first electronic equipment and the second electronic equipment is the first kind, this 3rd pin of one electronic equipment is connected with the 3rd pin of the second electronic equipment, this second electronic equipment 3rd pin ground connection, then the 3rd pin of this first electronic equipment is pulled low as second electrical level is low level, Now the 3rd pin based on this first electronic equipment for this power logic module for low level can determine that now with Second electronic equipment is connected, then controlling this power supply 1303 to be based on the 4th pin provides power supply to set to the second electronics In standby.
And, when the 3rd pin of this first electronic equipment is high level for the first level, then control this electricity Source stops the 4th pin to electric energy to the first electronic equipment for the output, does not provide electricity to the second electronic equipment Can, so make this second electronic equipment the first pin be sky, lead to the first of the first electronic equipment to draw Foot is by its ground connection down for low level.
As shown in figure 14, it is the circuit diagram of this first electronic equipment 1401 in the present embodiment, including source (source) and FET (Field Effect Transistor, field-effect transistor), control logic C (use CC Logic represents), south bridge USB (being represented with PCH USB), functional chip S, SW IC (SWitch Integrated Circuit, switch chip), MUX (Multiplexer, multiplexer), R1 and R2.
Wherein, power supply includes source and FET (Field Effect Transistor, field-effect transistor), This CC Logic as power logic module, this PCH USB as information unit, this SW IC conduct Switch unit, this MUX as the element being connected with pin TX output, can by this PCH USB or The information of person SIO transmission is changed, so that it meets this information transfer channel standard.
Wherein, the information transfer channel between this first electronic equipment and second electronic equipment is and pin TX output be connected passage, this passage can using USB2.0/3.0 or SPI (Serial Peripheral Interface (SPI), Serial Peripheral Interface) standard.
It should be noted that when this first electronic equipment is simple mainboard, this MUX can omit, should The pin of SW IC is connected with the second pin of external equipment directly as second pin.
As shown in figure 15, when being that in the present embodiment, this second electronic equipment is debug card, this first The schematic diagram of a scenario that electronic equipment is connected with the second electronic equipment.
Wherein, in this first electronic equipment 1501, power supply source is drawn with VBUS respectively by FET Foot is connected with CC Logic, and this CC Logic is connected with cc pin, and 5V power supply is also by Rp10k simultaneously It is connected with cc pin, PCH USB output pin is connected with an input pin of SW IC, and SIO's is defeated Go out pin UART to be connected with an input pin of SW IC, two output pin GPNO of SIO, PXD_EN is connected with an input pin of SW IC, and this SW IC passes through MUX and pin TX output It is connected, 100k resistance eutral grounding, this pin GND are passed through in one end of the pin GND of this first electronic equipment Also it is connected with the input pin of SIO;The VBUS pin of this second electronic equipment 1502 and the first electronics set Standby 1501 VBUS pin is connected, and the VBUS pin of this second electronic equipment 1502 is by 4.7k electricity Resistance is connected with the first pin VBUS ', and the cc pin of this second electronic equipment 1502 is grounded by Rd5.1k.
Wherein, when the first electronic equipment is connected with the second electronic equipment debug card, this first electronics Equipment CC Logic, down for low level is then turned on by this FET by the cc pin of the second electronic equipment Control the path between this source and VBUS so that the source of this first electronic equipment passes through VBUS There is provided power supply for the second electronic equipment, the first pin VBUS ' of the second electronic equipment is upgraded to high level, will The level of the GND pin of the first electronic equipment is drawn high as high level, and then this SIO is obtained The status information of CPU operation troubles provided SWIC by UART, and then was based on by this MUX This status information is passed to the second electronics and sets by the connection between this TX output pin and second electronic equipment Standby.And this second electronic equipment can analyze the fault obtaining this first electronic equipment according to this status information Situation, is shown in the display module of the second electronic equipment.
As shown in figure 16 when being debug card for the second electronic equipment, this second electronic equipment shows and shows It is intended to, this in figure display digit, according to the numeral of this display, technical staff can learn that this first electronics sets Standby fault, as this in figure show for 0.0., the fault of this first electronic equipment is to cannot be started up.
As shown in figure 17, when being that in the present embodiment, this second electronic equipment is BIOS recovery card, The schematic diagram of a scenario that this first electronic equipment is connected with the second electronic equipment.
Wherein, in this first electronic equipment 1701, power supply source is drawn with VBUS respectively by FET Foot is connected with CC Logic, and this CC Logic is connected with cc pin, and 5V power supply is also by Rp10k simultaneously It is connected with cc pin, an output pin of PCH is connected with an input pin of SW IC by USB3.0, Another output pin of this PCH and the input pin of EC (Embed Controlle, embedded controller) It is connected, between this PCH and EC, also set up a ROM (Read-Only Memory, read only memory),
This EC output pin FSPI is connected with an input pin of SW IC, another output of EC Pin GPIO2 is connected with another input pin of SW IC, and this SW IC passes through MUX and pin TX output is connected, and 100k resistance eutral grounding is passed through in one end of the pin GND of this first electronic equipment, should Pin GND is also connected with EC input pin GPIO1;The VBUS of this second electronic equipment 1702 draws Foot is connected with the VBUS pin of the first electronic equipment 1701, the VBUS of this second electronic equipment 1702 Pin is connected with the first pin VBUS ' by 4.7k resistance, the cc pin of this second electronic equipment 1702 It is grounded by Rd5.1k.
Wherein, when the first electronic equipment is connected with the second electronic equipment BIOS recovery card, this One electronic equipment CC Logic is then passed through this FET by the cc pin of the second electronic equipment down for low level Conducting controls the path between this source and VBUS so that the source of this first electronic equipment passes through VBUS provides power supply for the second electronic equipment, and the first pin VBUS ' of the second electronic equipment is upgraded to high electricity Flat, the level of the GND pin of the first electronic equipment is drawn high as high level, and then makes this EC from PCH Place obtains default BIOS parameter information, and provides SWIC by FSPI, and then passes through this MUX Based on the connection between this TX output pin and second electronic equipment, this BIOS parameter information is passed to Second electronic equipment.And this second electronic equipment can be analyzed according to this BIOS parameter information obtain this first Electronic equipment is processed the need of the recovery carrying out parameter information, and when needed, then this first electronics sets Standby parameter information carries out recovery process.
To sum up, in a kind of information processing module that the present embodiment provides, also include:3rd pin, works as institute When stating the first electronic equipment connection status for the first kind, the 3rd pin of described first electronic equipment is used for It is connected with the 3rd pin of described second electronic equipment, wherein, the 3rd pin of described second electronic equipment Ground connection;Power logic module, for the Automatic level control institute of the 3rd pin according to described first electronic equipment State the working condition of power supply, when the 3rd pin of described first electronic equipment is the first level, control institute The stopping stating power supply exports electric energy to the 4th pin of described first electronic equipment;When described first electronics sets When the 3rd standby pin is second electrical level, the output electric energy controlling described power supply is to described first electronic equipment The 4th pin.Using this information processing module, based on the level of its 3rd pin, control power supply output To the electric current of the second electronic equipment, realize controlling connection side between the first electronic equipment and the second electronic equipment Formula.
A kind of information processing module is described in detail corresponding in the embodiment that the invention described above provides, this Invention additionally provides a kind of electronic equipment of this information processing module of application, and specific embodiment is given below It is described in detail.
The structural representation of the as shown in figure 18 a kind of electronic equipment embodiment 1 providing for the present invention, should Electronic equipment, as the first electronic equipment, has USB type C interface in this first electronic equipment, this One electronic equipment is specifically as follows desktop computer, notebook, panel computer, mobile phone, intelligent television, intelligence The electronic equipment of the forms such as wrist-watch, Wearable.
Wherein, this electronic equipment includes:Processor 1801 and information processing module 1802.
Wherein, this processor 1801, for providing presupposed information;
Wherein, this information processing module 1802, is connected with described processor 1801, for analysis second electricity The type of the connection status of sub- equipment and described first electronic equipment;Type based on described connection status with And described presupposed information, generate transmission information, and based on described first electronic equipment and described second electronics Information transfer channel between equipment, described transmission information is sent to described second electronic equipment.
To sum up, a kind of electronic equipment providing in the present embodiment, according to the first electronic equipment and the second electronics The type that equipment connects is transmitted to information, can be transmitted for dissimilar, and two electronics set The standby type being connected can connect for normal USB, to realize the data transfer of normal USB, two The type that electronic equipment is connected can be the connection of specific function, then can also realize specific function.
In this specification, each embodiment is described by the way of going forward one by one, and each embodiment stresses The difference with other embodiment, between each embodiment identical similar portion mutually referring to. For the device that embodiment provides, because it is corresponding with the method that embodiment provides, so description Fairly simple, correlation in place of referring to method part illustration.
Described above to the embodiment being provided, makes professional and technical personnel in the field be capable of or uses The present invention.Multiple modifications to these embodiments will be aobvious and easy for those skilled in the art See, generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, And it is to fit to the wide scope consistent with principle provided in this article and features of novelty.

Claims (11)

1. a kind of information processing method has general-purpose serial bus USB type it is characterised in that being applied to one First electronic equipment of C interface, methods described includes:
Analyze the type of the second electronic equipment and the connection status of described first electronic equipment;
Type based on described connection status and presupposed information, generate transmission information, and based on described the Information transfer channel between one electronic equipment and described second electronic equipment, described transmission information is sent To described second electronic equipment.
2. according to claim 1 method it is characterised in that described analysis second electronic equipment and institute The type stating the connection status of the first electronic equipment includes:
Whether the level detecting the first pin of described first electronic equipment is the first level, obtains the first inspection Survey result;
Based on described first testing result to characterize described first pin be the first level when, detect described the The second pin of one electronic equipment and the link information of the second electronic equipment, determine described first electronic equipment Connection status is the first kind;
When non-first level of described first pin is characterized based on described first testing result, determine described first Electronic equipment connection status is Second Type.
3. according to claim 2 method it is characterised in that the described class based on described connection status Type and presupposed information, generate transmission information and include:
Based on described connection status, receive the presupposed information of the processor transmission of the first electronic equipment;
By described presupposed information converting transmitted information, described transmission information meet described first electronic equipment with Information transfer channel transmission standard between described second electronic equipment.
4. according to claim 3 method it is characterised in that the first electronic equipment connection status is the Described presupposed information converting transmitted information described is included by one type:
The operation information of transmission from the processor of described first electronic equipment is converted to transmission information, with Described transmission information is passed based on the information between described first electronic equipment and described second electronic equipment To described second electronic equipment, described second electronic equipment is divided defeated channel transfer based on described transmission information Analysis obtains the operation troubles of described first electronic equipment.
5. according to claim 3 method it is characterised in that the first electronic equipment connection status is the Described presupposed information converting transmitted information described is included by one type:
The parameter information of transmission from the processor of described first electronic equipment is converted to transmission information, with Described transmission information is passed based on the information between described first electronic equipment and described second electronic equipment To described second electronic equipment, described second electronic equipment is based on described parameter information pair to defeated channel transfer First electronic equipment carries out recovery process.
6. a kind of information processing module is it is characterised in that be applied to the first electronic equipment, including:
Connection detection module, for detecting the company whether with described first electronic equipment for this second electronic equipment Connect;
Processing module, is connected with described connection detection module, for the second electronic equipment and described first electricity During the connection of sub- equipment, the type of the connection status of analysis the second electronic equipment and described first electronic equipment; Type based on described connection status and presupposed information, generate transmission information, and based on described first electricity Information transfer channel between sub- equipment and described second electronic equipment, described transmission information is sent to institute State the second electronic equipment.
7. information processing module according to claim 6 is it is characterised in that described connecting detection mould Block includes:
First pin, for being connected with the first pin of the second electronic equipment;
Second pin, for being connected with the second pin of described second electronic equipment;
Connecting detection unit, is connected with described first pin and second pin respectively, for detecting described Whether the level of the first pin of one electronic equipment is the first level, obtains the first testing result;Based on institute State the first testing result and characterize described first pin when being the first level, described first electronic equipment is detected Second pin and the second electronic equipment link information, determine that described first electronic equipment connection status is The first kind;When non-first level of described first pin is characterized based on described first testing result, determine institute Stating the first electronic equipment connection status is Second Type.
8. information processing module according to claim 6 is it is characterised in that described processing module bag Include:
Functional unit, for when described first electronic equipment connection status is the first kind, receiving described The presupposed information of the processor transmission of the first electronic equipment;
Information unit, for when described first electronic equipment connection status is Second Type, by described Second pin transmission general-purpose serial bus USB information is to the second electronic equipment;
Switch unit, described switch unit respectively with described information unit, functional unit and described first The second pin of electronic equipment is connected, for when described electronic equipment connection status is the first kind, inciting somebody to action The presupposed information that described functional unit sends is forwarded to the second electronic equipment by described second pin;Work as institute When stating the first electronic equipment connection status for Second Type, the data message that described information unit is sent leads to Cross described second pin and be forwarded to the second electronic equipment.
9. information processing module according to claim 6 is it is characterised in that also include:
Power supply, is connected with the 4th pin of described first electronic equipment, when described first electronic equipment connects When state is the first kind, the 4th pin of described first electronic equipment draws with the 4th of the second electronic equipment Foot is connected to form circuit path, then described power supply is used for setting for described second electronics based on described circuit path Standby offer electric energy, so that the first pin of described second electronic equipment is the first level.
10. according to claim 9 information processing module it is characterised in that also including:
3rd pin, when described first electronic equipment connection status is the first kind, described first electronics 3rd pin of equipment is used for being connected with the 3rd pin of described second electronic equipment, wherein, described second 3rd pin ground connection of electronic equipment;
Power logic module, for described in the Automatic level control of the 3rd pin according to described first electronic equipment The working condition of power supply, when the 3rd pin of described first electronic equipment is the first level, controls described The stopping of power supply exports electric energy to the 4th pin of described first electronic equipment;When described first electronic equipment The 3rd pin when being second electrical level, control the output electric energy of described power supply to described first electronic equipment 4th pin.
11. a kind of electronic equipments are it is characterised in that described electronic equipment is as the first electronic equipment, institute State electronic equipment to include:
Processor, for providing presupposed information;
Information processing module, is connected with described processor, for analyzing the second electronic equipment and described first The type of the connection status of electronic equipment;Type based on described connection status and described presupposed information, Generate transmission information, and passed based on the information between described first electronic equipment and described second electronic equipment Defeated passage, described transmission information is sent to described second electronic equipment.
CN201510497580.4A 2015-08-13 2015-08-13 Information processing method, information processing module and electronic equipment Active CN106445858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510497580.4A CN106445858B (en) 2015-08-13 2015-08-13 Information processing method, information processing module and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510497580.4A CN106445858B (en) 2015-08-13 2015-08-13 Information processing method, information processing module and electronic equipment

Publications (2)

Publication Number Publication Date
CN106445858A true CN106445858A (en) 2017-02-22
CN106445858B CN106445858B (en) 2020-06-23

Family

ID=58093072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510497580.4A Active CN106445858B (en) 2015-08-13 2015-08-13 Information processing method, information processing module and electronic equipment

Country Status (1)

Country Link
CN (1) CN106445858B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107579559A (en) * 2017-08-29 2018-01-12 维沃移动通信有限公司 A kind of Type C interface charging circuit, charge control method and electronic equipment
CN108235129A (en) * 2017-07-20 2018-06-29 青岛海信电器股份有限公司 A kind of control method and television set of television set USB-C interfaces connection external equipment
CN108563594A (en) * 2018-03-26 2018-09-21 联想(北京)有限公司 A kind of data transmission method, device and USB adapter
CN108874713A (en) * 2018-05-31 2018-11-23 联想(北京)有限公司 A kind of information processing method and device
CN109992551A (en) * 2019-04-09 2019-07-09 上海闻泰信息技术有限公司 USB c-type interface message read method and information read circuit
CN110520854A (en) * 2017-10-31 2019-11-29 华为技术有限公司 A kind of electronic equipment, control method and the readable storage medium storing program for executing of USB Type C interface
CN110825682A (en) * 2019-11-05 2020-02-21 维沃移动通信有限公司 USB control method and electronic equipment
US11232057B2 (en) 2017-07-20 2022-01-25 Hisense Visual Technology Co., Ltd. Terminal device and control method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983204A (en) * 2005-12-15 2007-06-20 英业达股份有限公司 Device and method for correcting and repairing BIOS function by LPC interface
CN101739318A (en) * 2008-11-05 2010-06-16 微星科技股份有限公司 Error detection device capable of sharing memory card slot with card reader
CN102207536A (en) * 2010-03-31 2011-10-05 英业达股份有限公司 Signal detection device for circuit board
CN102831039A (en) * 2011-06-13 2012-12-19 精英电脑股份有限公司 Debug card for detecting records of storage motherboard
US9043649B2 (en) * 2012-06-18 2015-05-26 Intel Corporation Method and apparatus for output of high-bandwidth debug data/traces in ICS and SoCs using embedded high speed debug
CN104809092A (en) * 2014-01-29 2015-07-29 英特尔公司 Universal serial bus active cable power management
CN204539366U (en) * 2015-04-16 2015-08-05 炬芯(珠海)科技有限公司 Electronic installation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983204A (en) * 2005-12-15 2007-06-20 英业达股份有限公司 Device and method for correcting and repairing BIOS function by LPC interface
CN101739318A (en) * 2008-11-05 2010-06-16 微星科技股份有限公司 Error detection device capable of sharing memory card slot with card reader
CN102207536A (en) * 2010-03-31 2011-10-05 英业达股份有限公司 Signal detection device for circuit board
CN102831039A (en) * 2011-06-13 2012-12-19 精英电脑股份有限公司 Debug card for detecting records of storage motherboard
US9043649B2 (en) * 2012-06-18 2015-05-26 Intel Corporation Method and apparatus for output of high-bandwidth debug data/traces in ICS and SoCs using embedded high speed debug
CN104809092A (en) * 2014-01-29 2015-07-29 英特尔公司 Universal serial bus active cable power management
CN204539366U (en) * 2015-04-16 2015-08-05 炬芯(珠海)科技有限公司 Electronic installation

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235129A (en) * 2017-07-20 2018-06-29 青岛海信电器股份有限公司 A kind of control method and television set of television set USB-C interfaces connection external equipment
US11232057B2 (en) 2017-07-20 2022-01-25 Hisense Visual Technology Co., Ltd. Terminal device and control method thereof
CN107579559B (en) * 2017-08-29 2019-03-05 维沃移动通信有限公司 A kind of Type-C interface charging circuit, charge control method and electronic equipment
CN107579559A (en) * 2017-08-29 2018-01-12 维沃移动通信有限公司 A kind of Type C interface charging circuit, charge control method and electronic equipment
US11036670B2 (en) 2017-10-31 2021-06-15 Huawei Technolgies Co., Ltd. Electronic device having USB Type-C interface, control method, and readable storage
CN110520854A (en) * 2017-10-31 2019-11-29 华为技术有限公司 A kind of electronic equipment, control method and the readable storage medium storing program for executing of USB Type C interface
CN110520854B (en) * 2017-10-31 2021-03-30 华为技术有限公司 Electronic equipment with USB Type C interface, control method and readable storage medium
CN108563594A (en) * 2018-03-26 2018-09-21 联想(北京)有限公司 A kind of data transmission method, device and USB adapter
CN108563594B (en) * 2018-03-26 2022-03-25 联想(北京)有限公司 Data transmission method and device and USB adapter
CN108874713A (en) * 2018-05-31 2018-11-23 联想(北京)有限公司 A kind of information processing method and device
CN108874713B (en) * 2018-05-31 2021-10-22 联想(北京)有限公司 Information processing method and device
CN109992551A (en) * 2019-04-09 2019-07-09 上海闻泰信息技术有限公司 USB c-type interface message read method and information read circuit
CN109992551B (en) * 2019-04-09 2021-10-26 上海闻泰信息技术有限公司 USB C-type interface information reading method and information reading circuit
CN110825682A (en) * 2019-11-05 2020-02-21 维沃移动通信有限公司 USB control method and electronic equipment

Also Published As

Publication number Publication date
CN106445858B (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN106445858A (en) Information processing method, information processing module and electronic device
CN102692987B (en) Electronic apparatus and electronic apparatus system
CN101894085B (en) Information processing apparatus
CN201540533U (en) Computer system
US20100052620A1 (en) Battery charger ic including built-in usb detection
US20070075680A1 (en) Charging mode control circuit
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN104077203A (en) Method and device for diagnosing computer hardware through USB interface
CN107688521A (en) A kind of server power supply detects circuit and detection method in place
CN202076771U (en) USB OTG circuit and portable electronic device utilizing thereof
TWI501085B (en) Usb interface detection device
TWI468918B (en) Auto-detection control device and method thereof
CN106844277B (en) Server and information transmission method thereof
CN105261278A (en) Camera module group demonstration tool system, and communication and detection method thereof
CN102609339A (en) Embedded main board testing device
TWI449926B (en) Transmitting interface and method for determining transmitting signals
CN104062530B (en) A kind of mobile terminal hardware failure detection device and method
TW200805045A (en) Network control apparatus and method for enabling network chip
CN108631377A (en) Electrifying control circuit and apply its portable power source device
CN210573761U (en) Interface conversion circuit and signal detection device
TW201240348A (en) Interface and apparatus using the interface and protecting method for the apparatus
CN201004222Y (en) Lead bundle detection device based on computer bus interface
CN204272310U (en) Web camera debugging instrument
CN110347139A (en) A kind of test fixture of I2C bus
TWI524177B (en) Debug test circuit and method thereof

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