CN106445858B - Information processing method, information processing module and electronic equipment - Google Patents
Information processing method, information processing module and electronic equipment Download PDFInfo
- Publication number
- CN106445858B CN106445858B CN201510497580.4A CN201510497580A CN106445858B CN 106445858 B CN106445858 B CN 106445858B CN 201510497580 A CN201510497580 A CN 201510497580A CN 106445858 B CN106445858 B CN 106445858B
- Authority
- CN
- China
- Prior art keywords
- electronic device
- information
- pin
- type
- electronic equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal 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 first electronic equipment with a USB type C interface and comprises the following steps: analyzing the type of the connection state of a second electronic device and the first electronic device; and generating transmission information by combining the connection type of the first electronic device and the second electronic device and preset information corresponding to the connection type, and transmitting data information 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 connection type of the first electronic equipment and the second electronic equipment, the information can be transmitted according to different types, the connection type of the two electronic equipment can be normal USB connection so as to realize normal USB data transmission, and the connection type of the two electronic equipment can be connection of a specific function so as to realize the specific function.
Description
Technical Field
The present invention relates to the field of electronic devices, and in particular, to an information processing method, an information processing module, and an electronic device.
Background
With the development of electronic technology, a USB (Universal Serial Bus) type C (C-type) is increasingly applied to various electronic devices.
Fig. 1 is a schematic structural diagram of the USB type C interface, which is greatly reduced in size, only 8.3 × 2.5mm, compared to the existing types a (type a) and B (type B), and is more suitable for use in increasingly miniaturized computing devices. Moreover, the USB type C interface has no requirement on directivity, namely the front side and the back side can be matched after being inserted, and the usability of the USB interface is greatly improved.
However, in the prior art, the information processing method of some electronic devices still adopts the existing type a or type b information processing method, and after the direct interface is directly replaced by the USB type C interface, when the electronic device is connected to another electronic device, the two electronic devices can only use the normal USB for data transmission, but cannot perform the specific function based on the connection of the two electronic devices, for example, the electronic device may include a Debug Card (Debug chip), a BIOS (Basic Input Output System ) Recovery Card (restore chip), and the like.
Therefore, there is a need for an information processing method that can ensure that the two electronic devices can perform normal USB data transmission when connected, and can also perform specific functions based on the connection of the two electronic devices.
Disclosure of Invention
In view of this, the present invention provides an information processing method, which solves the problem in the prior art that it is not guaranteed that a normal USB can be performed for data transmission when two electronic devices are connected, and a specific function based on the connection of the two electronic devices can also be performed.
In order to achieve the purpose, the invention provides the following technical scheme:
an information processing method is applied to a first electronic device with a Universal Serial Bus (USB) type C interface, and comprises the following steps:
analyzing the type of the connection state of a second electronic device and the first electronic device;
and generating transmission information based on the type of the connection state and preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
In the above information processing method, it is preferable that the analyzing a type of a connection state of the second electronic device and the first electronic device includes:
detecting whether the level of a first pin of the first electronic device is a first level or not to obtain a first detection result;
when the first detection result represents that the first pin is at a first level, detecting connection information between a second pin of the first electronic device and second electronic device, and determining that the connection state of the first electronic device is a first type;
and when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type.
In the above information processing method, preferably, the generating transmission information based on the type of the connection status and preset information includes:
receiving preset information transmitted by a processor of the first electronic equipment based on the connection state;
and converting the preset information into transmission information, wherein the transmission information conforms to the transmission standard of an information transmission channel between the first electronic equipment and the second electronic equipment.
In the above information processing method, preferably, the connection state of the first electronic device is a first type, and the converting the preset information into the transmission information includes:
converting the operation information transmitted from the processor of the first electronic device into transmission information, so that after the transmission information is transmitted to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device, the second electronic device obtains the operation fault of the first electronic device based on the analysis of the transmission information.
In the above information processing method, preferably, the connection state of the first electronic device is a first type, and the converting the preset information into the transmission information includes:
and converting the parameter information transmitted from the processor of the first electronic device into transmission information, so that after the transmission information is transmitted to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device, the second electronic device performs recovery processing on the first electronic device based on the parameter information.
An information processing module applied to a first electronic device comprises:
the connection detection module is used for detecting whether the second electronic equipment is connected with the first electronic equipment or not;
the processing module is connected with the connection detection module and is used for analyzing the type of the connection state of the second electronic equipment and the first electronic equipment when the second electronic equipment is connected with the first electronic equipment; and generating transmission information based on the type of the connection state and preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
Preferably, the information processing module further includes:
the first pin is used for being connected with a first pin of second electronic equipment;
the second pin is used for being connected with the second pin of the second electronic equipment;
the connection detection unit is respectively connected with the first pin and the second pin and used for detecting whether the level of the first pin of the first electronic equipment is a first level or not to obtain a first detection result; when the first detection result represents that the first pin is at a first level, detecting connection information between a second pin of the first electronic device and second electronic device, and determining that the connection state of the first electronic device is a first type; and when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type.
Preferably, the information processing module includes:
the function unit is used for receiving preset information transmitted by a processor of the first electronic equipment when the connection state of the first electronic equipment is a first type;
the information unit is used for transmitting Universal Serial Bus (USB) information to second electronic equipment through the second pin when the connection state of the first electronic equipment is in a second type;
the switching unit is respectively connected with the information unit, the function unit and the second pin of the first electronic device, and is used for forwarding the preset information sent by the function unit to the second electronic device through the second pin when the connection state of the electronic device is of the first type; and when the connection state of the first electronic equipment is a second type, forwarding the data information sent by the information unit to second electronic equipment through the second pin.
The information processing module described above preferably further includes:
and the power supply is connected with the fourth pin of the first electronic equipment, when the connection state of the first electronic equipment is in a first type, the fourth pin of the first electronic equipment is connected with the fourth pin of the second electronic equipment to form a circuit channel, and the power supply is used for providing electric energy for the second electronic equipment based on the circuit channel so that the first pin of the second electronic equipment is in a first level.
The information processing module described above preferably further includes:
a third pin, when the connection state of the first electronic device is a first type, the third pin of the first electronic device is used for being connected with a third pin of the second electronic device, wherein the third pin of the second electronic device is grounded;
the power supply logic module is used for controlling the working state of the power supply according to the level of the third pin of the first electronic device, and when the third pin of the first electronic device is at the first level, the power supply logic module controls the power supply to stop outputting electric energy to the fourth pin of the first electronic device; and when the third pin of the first electronic device is at a second level, controlling the power supply to output electric energy to the fourth pin of the first electronic device.
An electronic device as a first electronic device, the electronic device comprising:
a processor for providing preset information;
the information processing module is connected with the processor and used for analyzing the type of the connection state of the second electronic equipment and the first electronic equipment; and generating transmission information based on the type of the connection state and the preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
As can be seen from the foregoing technical solutions, compared with the prior art, the present invention provides an information processing method applied to a first electronic device having a USB type C interface, including: analyzing the type of the connection state of a second electronic device and the first electronic device; and generating transmission information by combining the connection type of the first electronic device and the second electronic device and preset information corresponding to the connection type, and transmitting data information 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 connection type of the first electronic equipment and the second electronic equipment, the information can be transmitted according to different types, the connection type of the two electronic equipment can be normal USB connection so as to realize normal USB data transmission, and the connection type of the two electronic equipment can be connection of a specific function so as to realize the specific function.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a USB type C interface;
fig. 2 is a flowchart of an information processing method according to embodiment 1 of the present invention;
fig. 3 is a flowchart of an information processing method according to embodiment 2 of the present invention;
fig. 4 is a schematic diagram illustrating connection between a first electronic device and a second electronic device in embodiment 2 of an information processing method according to the present invention;
fig. 5 is a flowchart of an information processing method according to embodiment 3 of the present invention;
fig. 6 is a flowchart of an information processing method according to embodiment 4 of the present invention;
fig. 7 is a flowchart of an embodiment 5 of an information processing method according to the present invention;
fig. 8 is a schematic structural diagram of an information processing module according to embodiment 1 of the present invention;
fig. 9 is a schematic structural diagram of an information processing module according to embodiment 2 of the present invention;
fig. 10 is a schematic structural diagram of an information processing module according to embodiment 3 of the present invention;
fig. 11 is a schematic structural diagram of an information processing module according to embodiment 4 of the present invention;
fig. 12 is a schematic diagram illustrating a connection between a first electronic device and a second electronic device in an embodiment 4 of an information processing module according to the present invention;
fig. 13 is a schematic structural diagram of an information processing module according to embodiment 5 of the present invention;
fig. 14 is a circuit diagram of a first electronic device in an embodiment 5 of an information processing module according to the present invention;
fig. 15 is a schematic view of a scenario in which, when a second electronic device in an embodiment 5 of an information processing module is a debug card, the first electronic device is connected to the second electronic device;
fig. 16 is a schematic view illustrating a second electronic device in an embodiment 5 of an information processing module according to the present invention, when the second electronic device is a debug card;
fig. 17 is a schematic view of a scenario that when a second electronic device is a bios recovery card in an embodiment 5 of an information processing module according to the present invention, the first electronic device is connected to the second electronic device;
fig. 18 is a schematic structural diagram of an electronic device in embodiment 1 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 2, a flowchart of an embodiment 1 of the information processing method according to the present invention is shown, where the method is applied to a first electronic device, where the first electronic device has a USB (Universal Serial Bus) type C interface, and the first electronic device may be an electronic device in the form of a desktop, a notebook, a tablet computer, a mobile phone, a smart television, a smart watch, a wearable device, and the like.
The method may comprise the steps of:
step S201: analyzing the type of the connection state of a second electronic device and the first electronic device;
the second electronic device is connected with the first electronic device through a USB type C interface.
In a specific implementation, the second electronic device and the first electronic device can realize both data transmission and current transmission through the USB type C interface (i.e., the first electronic device supplies power to the second electronic device).
The first electronic device and the second electronic device can achieve data transmission and current transmission through the USB type C interface, and the USB type C interface is mainly used for processing information of different types so that normal USB data transmission can be achieved when the two electronic devices are connected.
Specifically, the type of the connection state is determined based on the connection between the second electronic device and the first electronic device, and the type may include a first type and a second type.
In a specific implementation, the second type may be a type of data connection, the first type may be a type of functional connection, and in this embodiment, the functional connection may be further subdivided into different types of connections, for example, multiple forms of Debug Card connection, BIOS (Basic Input Output System) Recovery Card connection, and the like.
Step S202: and generating transmission information based on the type of the connection state and preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
The method includes generating transmission information to be sent based on the type of the connection state between the first electronic device and the second electronic device and preset information of the first electronic device, where the transmission information may be data information, current information, or other function information.
Specifically, when the type of the connection state is a first type, the transmission information is function information; when the type of the connection state is a second type, the transmission information is data information.
And the first electronic equipment and the second electronic equipment are provided with an information transmission channel, and the information transmission channel is matched with the transmission information generated in the first electronic equipment, so that the transmission information can be transmitted to the second electronic equipment based on the information transmission channel.
It should be noted that, when the transmission information is data information, the second electronic device may perform subsequent processing based on the data information after receiving the data information; when the transmission information is a circuit, the second electronic device may perform charging or operation based on the data information after receiving the data information.
In summary, an information processing method provided in this embodiment includes: analyzing the type of the connection state of a second electronic device and the first electronic device; and generating transmission information by combining the connection type of the first electronic device and the second electronic device and preset information corresponding to the connection type, and transmitting data information 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 connection type of the first electronic equipment and the second electronic equipment, the information can be transmitted according to different types, the connection type of the two electronic equipment can be normal USB connection so as to realize normal USB data transmission, and the connection type of the two electronic equipment can be connection of a specific function so as to realize the specific function.
Referring to fig. 3, a flowchart of an embodiment 2 of an information processing method according to the present invention is shown, where the method includes the following steps:
step S301: detecting whether the level of a first pin of the first electronic device is a first level or not to obtain a first detection result;
the first electronic device is provided with a first pin, and the first pin is used for being connected with a first pin of the second electronic device.
Specifically, when the first pin is at the first level, it is characterized that the first electronic device is connected to the second electronic device.
Fig. 4 is a schematic diagram illustrating a connection between the first electronic device and the second electronic device, where a pin a of the first electronic device 401 corresponds to a pin B of the second electronic device 402, and when the first electronic device is connected to the second electronic device, the pin a is connected to the pin B.
Specifically, the first level may be a high level, when the first electronic device is not connected to the second electronic device, the first pin of the first electronic device is a low level, and when the first electronic device is connected to the second electronic device, the first pin of the first electronic device is a high level.
In a specific implementation, the first pin of the first electronic device may have two connection terminals, one connection terminal is grounded, the other connection terminal is used for being connected to the first pin of the second electronic device, and when the second electronic device is connected to the first electronic device, the first pin of the second electronic device is at a high level.
Step S302: when the first detection result represents that the first pin is at a first level, detecting connection information between a second pin of the first electronic device and second electronic device, and determining that the connection state of the first electronic device is a first type;
when the second pin of the first electronic device is connected with the second electronic device, the connection information between the second pin of the first electronic device and the second electronic device can be detected.
The connection information may be information satisfying a data information transmission rule, such as connection information of USB2.0/3.0 standard.
Specifically, when the first detection result indicates that the first pin is at the first level and connection information between the second pin of the first electronic device and the second electronic device is detected, it may be determined that the connection state of the first electronic device is the first type.
In specific implementation, the first type is a type for performing function information transmission, such as debug Card function information transmission, BIOS Recovery Card function information transmission, and the like; the second type may be a type for data transmission, such as a USB connection.
Step S303: when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type;
when the first detection result indicates that the first pin is not at the first level, it is determined that the connection state of the first electronic device is not the first type but the second type.
In one embodiment, when the first level is a high level, the non-first level is a low level.
It should be noted that, when the first detection result indicates that the first pin is at the first level, the information of the second pin of the first electronic device continues to be detected, and when the first detection result indicates that the first pin is not at the first level, the connection state of the first electronic device can be directly determined to be the second type, and it is not necessary to detect the second pin of the first electronic device.
Step S304: and generating transmission information based on the type of the connection state and preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
Step S304 is the same as step S202 in embodiment 1, and details are not described in this embodiment.
In summary, in an information processing method provided in this embodiment, the analyzing the type of the connection state between the second electronic device and the first electronic device includes: detecting whether the level of a first pin of the first electronic device is a first level or not to obtain a first detection result; when the first detection result represents that the first pin is at a first level, detecting connection information between a second pin of the first electronic device and second electronic device, and determining that the connection state of the first electronic device is a first type; and when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type. By adopting the method, the connection state of the first electronic equipment and the second electronic equipment is determined only by detecting the two pins of the first electronic equipment, the process is simple, and the method is easy to realize.
Referring to fig. 5, a flowchart of an embodiment 3 of an information processing method according to the present invention is shown, where the method includes the following steps:
step S501: detecting whether the level of a first pin of the first electronic device is a first level or not to obtain a first detection result;
step S502: when the first detection result represents that the first pin is at a first level, detecting connection information between a second pin of the first electronic device and second electronic device, and determining that the connection state of the first electronic device is a first type;
step S503: when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type;
steps S501 to 503 are the same as steps S301 to 303 in embodiment 2, and are not described in detail in this embodiment.
Step S504: receiving preset information transmitted by a processor of the first electronic equipment based on the connection state;
the processor of the first electronic device stores preset information, where the preset information may be pre-stored, or may be obtained from other storage spaces after connection is established, and in this embodiment, the source of the preset information is not limited.
It should be noted that, based on the connection state of the first electronic device and the second electronic device, the processor of the first electronic device transmits preset information matched with the connection state.
Specifically, when the connection status is of the first type, the preset information may be function information or the like, and when the connection status is of the second type, the preset information is data information.
Step S505: converting the preset information into transmission information, wherein the transmission information conforms to the transmission standard of an information transmission channel between the first electronic device and the second electronic device;
the preset information may not meet the transmission standard of an information transmission channel between the first electronic device and the second electronic device, and the preset information is converted into transmission information meeting the transmission standard of the information transmission channel, so that the preset information can be transmitted to the second electronic device based on the information transmission channel.
It should be noted that, in the implementation, the preset information satisfies the transmission standard of the information transmission channel, and the step S505 can be omitted without performing conversion.
Step S506: and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
Step S506 is the same as step S304 in embodiment 2, and is not described in detail in this embodiment.
In summary, in the information processing method provided in this embodiment, the generating transmission information based on the type of the connection status and the preset information includes: receiving preset information transmitted by a processor of the first electronic equipment based on the connection state; and converting the preset information into transmission information, wherein the transmission information conforms to the transmission standard of an information transmission channel between the first electronic equipment and the second electronic equipment. By adopting the method, the preset information to be transmitted is converted to meet the transmission standard of the information transmission channel between the first electronic equipment and the second electronic equipment, and only simple conversion is needed, so that the process is simple.
The first electronic device is connected in a first type to transmit preset information in the first electronic device to a second electronic device.
Referring to fig. 6, a flowchart of an embodiment 4 of an information processing method according to the present invention is shown, where the method includes the following steps:
step S601: detecting whether the level of a first pin of the first electronic device is a first level or not to obtain a first detection result;
step S602: detecting connection information between a second pin of the first electronic equipment and second electronic equipment when the first detection result represents that the first pin is at a first level, determining that the connection state of the first electronic equipment is a first type,
step S603: when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type;
step S604: receiving preset information transmitted by a processor of the first electronic equipment based on the connection state;
steps S601 to 604 are the same as steps S401 to 404 in embodiment 3, and are not described in detail in this embodiment.
Step S605: converting the operation information transmitted from the processor of the first electronic device into transmission information;
in this embodiment, if an error (bug) occurs during the operation of the first electronic device, the operation information including the error is stored in the first electronic device.
Specifically, the operation information is used as preset information to be converted into transmission information, and the transmission information is transmitted to the second electronic device, so that the second electronic device obtains the operation fault of the first electronic device based on the transmission information analysis.
It should be noted that the second electronic device may be a debug card, and a display module may be disposed in the second electronic device to analyze and display the operation failure of the first electronic device, so as to prompt a user, and the user may further determine the failure of the first electronic device according to the displayed content to perform debugging.
Step S606: and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
Specifically, after the transmission information is transmitted to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device, the second electronic device obtains the operation fault of the first electronic device based on the analysis of the transmission information.
Step S606 is the same as step S506 in embodiment 3, and details are not described in this embodiment.
In summary, in an information processing method provided in this embodiment, if the connection status of the first electronic device is the second type, the converting the preset information into the transmission information includes: converting the operation information transmitted from the processor of the first electronic device into transmission information, so that after the transmission information is transmitted to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device, the second electronic device obtains the operation fault of the first electronic device based on the analysis of the transmission information. By adopting the method, the operation information of the first electronic equipment can be transmitted to the second electronic equipment through the data transmission channel of the USB type C interface between the first electronic equipment and the second electronic equipment, so that the fault of the first electronic equipment can be analyzed and determined and the user can be prompted, and the user can further determine the fault of the first electronic equipment according to the displayed content for debugging.
The first electronic device is connected in a first type to transmit preset information in the first electronic device to a second electronic device.
Referring to fig. 7, a flowchart of an embodiment 5 of an information processing method according to the present invention is shown, where the method includes the following steps:
step S701: detecting whether the level of a first pin of the first electronic device is a first level or not to obtain a first detection result;
step S702: detecting connection information between a second pin of the first electronic equipment and second electronic equipment when the first detection result represents that the first pin is at a first level, determining that the connection state of the first electronic equipment is a first type,
step S703: when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type;
step S704: receiving preset information transmitted by a processor of the first electronic equipment based on the connection state;
steps S701 to 704 are the same as steps S501 to 504 in embodiment 3, and details are not repeated in this embodiment.
Step S705: converting the parameter information transmitted from the processor of the first electronic device into transmission information, so that after the transmission information is transmitted to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device, the second electronic device performs recovery processing on the first electronic device based on the parameter information;
in this embodiment, the first electronic device stores parameter information, for example, standard parameters of the BIOS system, and the second electronic device can perform parameter recovery processing on the first electronic device based on the parameter information stored in the first electronic device.
Specifically, the operation information is used as preset information to be converted into transmission information and transmitted to the second electronic device, so that the second electronic device obtains whether the parameter of the first electronic device needs to be restored or not based on the analysis of the transmission information, and if so, the parameter information of the first electronic device is restored based on the preset parameter of the second electronic device, so that the parameter information of the first electronic device is restored to the preset value.
Step S706: and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
Step S706 is the same as step S506 in embodiment 3, and is not described in detail in this embodiment.
In summary, in an information processing method provided in this embodiment, the connection state of the first electronic device is of the second type, and the converting the preset information into the transmission information includes: and converting the parameter information transmitted from the processor of the first electronic device into transmission information, so that after the transmission information is transmitted to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device, the second electronic device performs recovery processing on the first electronic device based on the parameter information. By adopting the method, the parameter information of the first electronic equipment can be transmitted to the second electronic equipment through the data transmission channel of the USB type C interface between the first electronic equipment and the second electronic equipment, so that the parameter of the first electronic equipment is analyzed to determine whether to carry out parameter recovery processing.
The above embodiments provided by the present invention describe an information processing method in detail, and the information processing method of the present invention can be implemented by various types of devices.
Referring to fig. 8, a schematic structural diagram of an embodiment 1 of an information processing module according to the present invention is shown, where the information processing module is applied to a first electronic device, the first electronic device has a USB type C interface, and the first electronic device may be an electronic device in the form of a desktop, a notebook, a tablet computer, a mobile phone, a smart television, a smart watch, a wearable device, or the like.
The information processing module can comprise the following structure: a connection detection module 801 and a processing module 802;
the connection detection module 801 is configured to detect whether the second electronic device is connected to the first electronic device;
the connection detection module 801 is configured to detect whether the first electronic device is connected to a second electronic device, and if so, activate the processing module 802.
In a specific implementation, the connection detection module 801 may include a plurality of pins, and whether the first electronic device is connected to the second electronic device is analyzed based on the level of the pin.
The processing module 802 is connected to the connection detecting module 801, and is configured to analyze a type of a connection state between the second electronic device and the first electronic device when the second electronic device is connected to the first electronic device; and generating transmission information based on the type of the connection state and preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
The first electronic device and the second electronic device can achieve data transmission and current transmission through the USB type C interface, and the USB type C interface is mainly used for processing information of different types so that normal USB data transmission can be achieved when the two electronic devices are connected.
Specifically, the processing module 802 analyzes the type of the connection state between the first electronic device and the second electronic device based on the connection between the first electronic device and the second electronic device detected by the connection detecting module 801, and sends the transmission information to the second electronic device based on the information transmission channel between the first electronic device and the second electronic device according to the type, so as to implement information transmission between the first electronic device and the second electronic device.
Specifically, the type of the connection state is determined based on the connection between the second electronic device and the first electronic device, and the type may include a first type and a second type.
In a specific implementation, the second type may be a type of data connection, the first type may be a type of functional connection, and in this embodiment, the functional connection may be further subdivided into different types of connections, such as a Debug Card connection, a bios recovery Card connection, and other multiple forms.
When the function connection is a Debug Card connection, executing Debug operation in the first electronic equipment based on the function connection; when the function connection is the BIOS Recovery Card connection, the BIOS Recovery operation can be executed in the first electronic device based on the function connection.
In summary, in the information processing module provided in this embodiment, information is transmitted according to a connection type between the first electronic device and the second electronic device, and the information can be transmitted for different types, and a connection type between the two electronic devices can be a normal USB connection to achieve normal USB data transmission, and a connection type between the two electronic devices can be a connection with a specific function, so that the specific function can also be achieved.
Referring to fig. 9, a schematic structural diagram of an embodiment 2 of an information processing module according to the present invention is shown, where the information processing module may include the following structures: a connection detection module 901 and a processing module 902;
the processing module 902 has the same corresponding structure and function as those in embodiment 1, and is not described in detail in this embodiment.
Wherein, the connection detecting module 901 includes: a first pin 903, a second pin 904, and a connection detection unit 905;
the first pin 903 is used for connecting with a first pin of a second electronic device;
the second pin 904 is configured to be connected to a second pin of the second electronic device;
the connection detection unit 905 is connected to the first pin and the second pin, and configured to detect whether a level of the first pin of the first electronic device is a first level, so as to obtain a first detection result; when the first detection result indicates that the first pin is at the first level, connection information between a second pin of the first electronic device and second electronic device is detected, the connection state of the first electronic device is determined to be the first type, and when the first detection result indicates that the first pin is not at the first level, the connection state of the first electronic device is determined to be the second type.
When the first electronic device and the second electronic device are connected in the first type, the first pin 903 of the first electronic device is connected to the first pin of the second electronic device, the second pin 904 of the first electronic device is connected to the second pin of the second electronic device, the level of the first pin of the first electronic device is raised to a high level based on the high level of the first pin of the second electronic device, channel detection information is transmitted between the second pin of the first electronic device and the second pin of the second electronic device when the second pin of the first electronic device is connected to the second pin of the second electronic device, and the channel detection information can be received by the first electronic device based on the second pin when the second pin of the first electronic device is connected to the second pin of the second electronic device, so that the connection detection unit obtains the first electronic device based on the high level of the first pin of the first electronic device and the channel detection information of the second pin of the first electronic device through analysis The connection state of the backup is of the first type.
When the first electronic device and the second electronic device are connected in the second type, the first pin 903 of the first electronic device is connected to the first pin of the second electronic device, and the level of the first pin of the first electronic device is low.
In summary, in an information processing module provided in this embodiment, the connection detection module includes: the first pin is used for being connected with a first pin of second electronic equipment; the second pin is used for being connected with the second pin of the second electronic equipment; the connection detection unit is respectively connected with the first pin and the second pin and used for detecting whether the level of the first pin of the first electronic equipment is a first level or not to obtain a first detection result; when the first detection result represents that the first pin is at a first level, detecting connection information between a second pin of the first electronic device and second electronic device, and determining that the connection state of the first electronic device is a first type; and when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type. By adopting the information processing module, the connection state of the first electronic equipment and the second electronic equipment is determined only by detecting the two pins of the first electronic equipment, the process is simple, and the realization is easy.
Referring to fig. 10, a schematic structural diagram of an embodiment 3 of an information processing module according to the present invention is shown, where the information processing module may include the following structures: a connection detection module 1001 and a processing module 1002;
the connection detection module 1001 has the same structure and function as those in embodiment 1, and details are not described in this embodiment.
Wherein, the processing module 1002 comprises: a function unit 1003, an information unit 1004, and a switching unit 1005;
the functional unit 1003 is configured to receive preset information transmitted by a processor of the first electronic device when the connection state of the first electronic device is the first type;
the processor of the first electronic device stores preset information, where the preset information may be pre-stored, or may be obtained from other storage spaces after connection is established, and in this embodiment, the source of the preset information is not limited.
And the processor of the first electronic equipment transmits preset information matched with the connection state based on the connection state of the first electronic equipment and the second electronic equipment.
Specifically, when the connection status of the functional unit in the processing module corresponding to the first electronic device is of the first type, the preset information may be function information or the like.
The information unit 1004 is configured to transmit USB information to a second electronic device through the second pin when the connection status of the first electronic device is the second type;
specifically, the preset information is data information-USB information when the connection status is of a first type, and the preset information is data information when the connection status is of a second type.
The switching unit 1005 is connected to the information unit, the function unit and the second pin of the first electronic device, respectively, and configured to forward the preset information sent by the function unit to the second electronic device through the second pin when the connection state of the electronic device is the first type; and when the connection state of the first electronic equipment is a second type, forwarding the data information sent by the information unit to second electronic equipment through the second pin.
The switching unit 1005 is used to switch the connection between the information unit and the function unit and the second pin of the first electronic device, that is, the connection between the information unit and the second pin of the first electronic device and the connection between the function unit and the second pin of the first electronic device are realized.
It should be noted that, in a specific implementation, the functional unit may further convert the acquired preset information to obtain transmission information meeting a transmission standard of an information transmission channel between the first electronic device and the second electronic device.
The preset information may not meet the transmission standard of an information transmission channel between the first electronic device and the second electronic device, and the preset information is converted into transmission information meeting the transmission standard of the information transmission channel, so that the preset information can be transmitted to the second electronic device based on the information transmission channel.
It should be noted that, in the specific implementation, if the preset information meets the transmission standard of the information transmission channel, no conversion is needed.
In summary, in an information processing module provided in this embodiment, the processing module includes: the function unit is used for receiving preset information transmitted by a processor of the first electronic equipment when the connection state of the first electronic equipment is a first type; the information unit is used for transmitting Universal Serial Bus (USB) information to second electronic equipment through the second pin when the connection state of the first electronic equipment is in a second type; the switching unit is respectively connected with the information unit, the function unit and the second pin of the first electronic device, and is used for forwarding the preset information sent by the function unit to the second electronic device through the second pin when the connection state of the electronic device is of the first type; and when the connection state of the first electronic equipment is a second type, forwarding the data information sent by the information unit to second electronic equipment through the second pin. By adopting the information processing module, the preset information to be transmitted is converted so as to meet the transmission standard of the information transmission channel between the first electronic equipment and the second electronic equipment, and only simple conversion is needed, so that the process is simple.
Referring to fig. 11, a schematic structural diagram of an embodiment 4 of an information processing module according to the present invention is shown, where the information processing module may include the following structures: a connection detection module 1101, a processing module 1102 and a power supply 1103;
the connection detection module 1101 and the processing module 1102 are consistent with the corresponding structural functions in embodiment 1, and are not described in detail in this embodiment.
The power supply 1103 is connected to the fourth pin of the first electronic device, and when the connection state of the first electronic device is the first type, the fourth pin of the first electronic device is connected to the fourth pin of the second electronic device to form a circuit channel, and the power supply is configured to provide electric energy to the second electronic device based on the circuit channel, so that the first pin of the second electronic device is at the first level.
In a specific implementation, the information processing module may further include a power supply 1103, where the power supply 1103 is connected to a fourth pin of the first electronic device, and when the first electronic device is connected to the second electronic device in the first type, the power supply energizes the fourth pin of the second electronic device through the fourth pin of the first electronic device to supply electric energy to the second electronic device, so that the first pin of the second electronic device is at a first level, and the first level is at a high level.
It should be noted that, when the second electronic device does not receive the power provided by the first electronic device through the fourth pin, the first pin of the second electronic device is at a low level.
Fig. 12 is a schematic diagram illustrating a connection between a first electronic device 1201 and a second electronic device 1202, where the first electronic device 1201 includes a power source 1203 connected to a fourth pin VBUS of the second electronic device through the fourth pin VBUS, and the VBUS of the second electronic device pulls up a level of a first pin 1203 of the second electronic device to a high level, so that a first pin GNG of the first electronic device is connected to a first pin 1204 of the second electronic device, and a level of the first pin GND of the first electronic device is correspondingly pulled up to the high level.
In summary, the information processing module provided in this embodiment further includes: and the power supply is connected with the fourth pin of the first electronic equipment, when the connection state of the first electronic equipment is in a first type, the fourth pin of the first electronic equipment is connected with the fourth pin of the second electronic equipment to form a circuit channel, and the power supply is used for providing electric energy for the second electronic equipment based on the circuit channel so that the first pin of the second electronic equipment is in a first level. By adopting the information processing module, a power supply does not need to be arranged in the second electronic equipment corresponding to the information processing module, when the first type of connection is required between the information processing module and the second electronic equipment, the electric energy provided by the first electronic equipment is only required to be used as the power supply of the second electronic equipment, the structure of the second electronic equipment is simplified, and the process of judging the connection mode between the information processing module and the second electronic equipment is simple.
Referring to fig. 13, a schematic structural diagram of an embodiment 5 of an information processing module according to the present invention is shown, where the information processing module includes the following structures: a connection detection module 1301, a processing module 1302, a power supply 1303, a third pin 1304, and a power supply logic module 1305;
the connection detection module 1301, the processing module 1302, and the power supply 1303 are consistent with the corresponding structural functions in embodiment 4, and are not described in detail in this embodiment.
When the connection state of the first electronic device is the first type, the third pin 1304 is used for being connected with a third pin of the third electronic device, where the third pin of the second electronic device is grounded;
the power logic module 1305 is configured to control a working state of the power supply according to a level of the third pin of the first electronic device, and when the third pin of the first electronic device is at a first level, control the power supply to stop outputting the electric energy to the fourth pin of the first electronic device; and when the third pin of the first electronic device is at a second level, controlling the power supply to output electric energy to the fourth pin of the first electronic device.
When the connection state of the first electronic device and the second electronic device is the first type, the third pin of the first electronic device is connected to the third pin of the second electronic device, the third pin of the second electronic device is grounded, the third pin of the first electronic device is pulled down to the second level, that is, the low level, at this time, the power supply logic module can determine that the third pin of the first electronic device is the low level and is connected to the second electronic device at this time, and then the power supply 1303 is controlled to provide power to the second electronic device based on the fourth pin.
When the third pin of the first electronic device is at the first level, i.e., the high level, the power supply is controlled to stop outputting the electric energy to the fourth pin of the first electronic device, i.e., the electric energy is not provided to the second electronic device, so that the first pin of the second electronic device is empty, and the first pin of the first electronic device is pulled down to the low level by the ground of the first pin.
As shown in fig. 14, a Circuit diagram of the first electronic device 1401 in this embodiment includes a source and a FET (Field Effect Transistor), a control Logic C (denoted by CC Logic), a south bridge USB (denoted by PCH USB), a functional chip S, a SW IC (SWitch chip), a MUX (Multiplexer), R1, and R2.
The power supply includes a source and a FET (Field Effect Transistor), the CCLogic serves as a power logic module, the PCH USB serves as an information unit, the SW IC serves as a switching unit, and the MUX serves as an element connected to a pin TX output, and can convert information transmitted by the PCH USB or SIO so as to satisfy the standard of an information transmission channel.
The information transmission channel between the first electronic device and the second electronic device is a channel connected to the pin TXoutput, and the channel may adopt USB2.0/3.0 or SPI (Serial peripheral interface) standard.
It should be noted that, when the first electronic device is a simple motherboard, the MUX may be omitted, and the pin of the SW IC is directly used as the second pin to connect to the second pin of the external device.
Fig. 15 is a schematic view of a scenario that the first electronic device and the second electronic device are connected when the second electronic device is a debug card in this embodiment.
In the first electronic device 1501, a power source is connected to a VBUS pin and a CC Logic pin through FETs, respectively, the CC Logic pin is connected to a CC pin, a 5V power source is also connected to the CC pin through Rp10k, a PCH USB output pin is connected to one input pin of a SW IC, an UART of an output pin of a SIO is connected to one input pin of a SW IC, two output pins GPNO and PXD _ EN of the SIO are connected to one input pin of the SW IC, the SW IC is connected to a TX output pin through a MUX, one end of a pin GND of the first electronic device is grounded through a 100k resistor, and the pin GND is also connected to an input pin of the SIO; the VBUS pin of the second electronic device 1502 is connected to the VBUS pin of the first electronic device 1501, the VBUS pin of the second electronic device 1502 is connected to the VBUS' pin of the first electronic device 1502 through a 4.7k resistor, and the cc pin of the second electronic device 1502 is grounded through rd5.1 k.
When the first electronic device is connected with the second electronic device, the first electronic device CCLogic is pulled down to a low level by a cc pin of the second electronic device, and then a path between the source and the VBUS is controlled by the FET conduction, so that the source of the first electronic device provides power for the second electronic device through the VBUS, the first pin VBUS' of the second electronic device is raised to a high level, the level of a GND pin of the first electronic device is pulled up to a high level, and further the SIO provides the state information of the CPU operation failure acquired by the SIO through the SWIC through the UART, and further transmits the state information to the second electronic device through the MUX based on the connection between the TXoutput pin and the second electronic device. And the second electronic equipment can analyze the fault condition of the first electronic equipment according to the state information and display the fault condition in a display module of the second electronic equipment.
Fig. 16 shows a schematic diagram of the second electronic device when the second electronic device is a debug card, where numerals are shown in the diagram, and a technician can know the fault of the first electronic device according to the displayed numerals, where the fault of the first electronic device is that the first electronic device cannot be turned on if the displayed numerals are 0.0.
Fig. 17 is a schematic view of a scenario that the first electronic device and the second electronic device are connected when the second electronic device is a BIOS recovery card in this embodiment.
In the first electronic device 1701, a power source is connected to a VBUS pin and a CC pin through FETs, respectively, the CC pin is connected to a CC pin, a 5V power source is also connected to the CC pin through Rp10k, an output pin of a PCH is connected to an input pin of a SW IC through USB3.0, another output pin of the PCH is connected to an input pin of an EC (embedded controller), a ROM (Read-Only Memory) is further provided between the PCH and the EC,
the EC output pin FSPI is connected with one input pin of an SW IC, the other output pin GPIO2 of the EC is connected with the other input pin of the SWIC, the SW IC is connected with a pin TX output through a MUX, one end of a pin GND of the first electronic device is grounded through a 100k resistor, and the pin GND is also connected with an EC input pin GPIO 1; the VBUS pin of the second electronic device 1702 is connected to the VBUS pin of the first electronic device 1701, the VBUS pin of the second electronic device 1702 is connected to the VBUS' pin of the first electronic device 1702 through a 4.7k resistor, and the cc pin of the second electronic device 1702 is grounded through rd5.1k.
When the first electronic device is connected with the second electronic device BIOS recovery card, the first electronic device CC Logic is pulled low to a low level by a CC pin of the second electronic device, then a path between the source and the VBUS is controlled by the FET conduction, so that the source of the first electronic device provides power for the second electronic device through the VBUS, a first pin VBUS' of the second electronic device is raised to a high level, a GND pin of the first electronic device is pulled high to a high level, the EC further obtains preset BIOS parameter information from the PCH, provides the SWIC through the FSPI, and further transfers the BIOS parameter information to the second electronic device through the MUX based on connection between the TX output pin and the second electronic device. And the second electronic device can analyze whether the first electronic device needs to perform recovery processing on the parameter information according to the BIOS parameter information, and when the first electronic device needs to perform recovery processing on the parameter information of the first electronic device.
In summary, the information processing module provided in this embodiment further includes: a third pin, when the connection state of the first electronic device is a first type, the third pin of the first electronic device is used for being connected with a third pin of the second electronic device, wherein the third pin of the second electronic device is grounded; the power supply logic module is used for controlling the working state of the power supply according to the level of the third pin of the first electronic device, and when the third pin of the first electronic device is at the first level, the power supply logic module controls the power supply to stop outputting electric energy to the fourth pin of the first electronic device; and when the third pin of the first electronic device is at a second level, controlling the power supply to output electric energy to the fourth pin of the first electronic device. By adopting the information processing module, the current output from the power supply to the second electronic equipment is controlled based on the level of the third pin of the information processing module, so that the connection mode between the first electronic equipment and the second electronic equipment is controlled.
The above embodiments of the present invention describe an information processing module in detail, and the present invention further provides an electronic device using the information processing module, and the following provides detailed descriptions of specific embodiments.
Fig. 18 is a schematic structural diagram of an embodiment 1 of an electronic device according to the present invention, where the electronic device is used as a first electronic device, the first electronic device has a USB type C interface, and the first electronic device may be specifically an electronic device in the form of a desktop, a notebook, a tablet computer, a mobile phone, a smart television, a smart watch, a wearable device, and the like.
Wherein, this electronic equipment includes: a processor 1801 and an information processing module 1802.
The processor 1801 is configured to provide preset information;
the information processing module 1802 is connected to the processor 1801, and configured to analyze a type of a connection state between a second electronic device and the first electronic device; and generating transmission information based on the type of the connection state and the preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment.
In summary, in the electronic device provided in this embodiment, information is transmitted according to a connection type between the first electronic device and the second electronic device, and the information can be transmitted for different types, a connection type between the two electronic devices can be a normal USB connection to achieve normal USB data transmission, and a connection type between the two electronic devices can be a connection with a specific function to achieve the specific function.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device provided by the embodiment, the description is relatively simple because the device corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
The previous description of the provided embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features provided herein.
Claims (10)
1. An information processing method applied to a first electronic device with a Universal Serial Bus (USB) type C interface, the method comprising:
analyzing types of connection states of a second electronic device and the first electronic device, wherein the types comprise a first type and a second type, the first type is a type of function connection, and the second type is a type of data connection;
generating transmission information based on the type of the connection state and preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment, wherein the information transmission channel is formed by electrically connecting a second pin of the first electronic equipment and a second pin of the second electronic equipment;
wherein sending the transmission information to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device comprises:
when the connection state is of a first type, forwarding the transmission information to second electronic equipment through a second pin; when the connection state is of a second type, forwarding data information to second electronic equipment through the second pin;
when the connection state is of a first type, the transmission information comprises operation information and/or parameter information; when the connection status is of a second type, the transmission information includes data information.
2. The method of claim 1, wherein analyzing the type of connection status of the second electronic device to the first electronic device comprises:
detecting whether the level of a first pin of the first electronic device is a first level or not to obtain a first detection result;
when the first detection result represents that the first pin is at a first level, detecting connection information between a second pin of the first electronic device and second electronic device, and determining that the connection state of the first electronic device is a first type;
and when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type.
3. The method of claim 2, wherein the generating the transmission information based on the type of the connection status and preset information comprises:
receiving preset information transmitted by a processor of the first electronic equipment based on the connection state;
and converting the preset information into transmission information, wherein the transmission information conforms to the transmission standard of an information transmission channel between the first electronic equipment and the second electronic equipment.
4. The method of claim 3, wherein the first electronic device connection status is of a first type, and wherein converting the preset information into the transmission information comprises:
converting the operation information transmitted from the processor of the first electronic device into transmission information, so that after the transmission information is transmitted to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device, the second electronic device obtains the operation fault of the first electronic device based on the analysis of the transmission information.
5. The method of claim 3, wherein the first electronic device connection status is of a first type, and wherein converting the preset information into the transmission information comprises:
and converting the parameter information transmitted from the processor of the first electronic device into transmission information, so that after the transmission information is transmitted to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device, the second electronic device performs recovery processing on the first electronic device based on the parameter information.
6. An information processing module, applied to a first electronic device, comprising:
the connection detection module is used for detecting whether a second electronic device is connected with the first electronic device;
the processing module is connected with the connection detection module and used for analyzing the types of the connection states of the second electronic equipment and the first electronic equipment when the second electronic equipment is connected with the first electronic equipment, wherein the types comprise a first type and a second type, the first type is a function connection type, and the second type is a data connection type; generating transmission information based on the type of the connection state and preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment;
when the connection state is of a first type, the transmission information comprises operation information and/or parameter information; when the connection status is of a second type, the transmission information comprises data information;
wherein the processing module comprises:
the function unit is used for receiving preset information transmitted by a processor of the first electronic equipment when the connection state of the first electronic equipment is a first type;
the information unit is used for transmitting Universal Serial Bus (USB) information to second electronic equipment through a second pin when the connection state of the first electronic equipment is in a second type, and the second pin is used for being connected with the second pin of the second electronic equipment to form an information transmission channel;
the switching unit is respectively connected with the information unit, the function unit and the second pin of the first electronic device, and is used for forwarding the preset information sent by the function unit to the second electronic device through the second pin when the connection state of the electronic device is of the first type; and when the connection state of the first electronic equipment is a second type, forwarding the data information sent by the information unit to second electronic equipment through the second pin.
7. The information processing module of claim 6, wherein the connection detection module comprises:
the first pin is used for being connected with a first pin of second electronic equipment;
the second pin is used for being connected with the second pin of the second electronic equipment;
the connection detection unit is respectively connected with the first pin and the second pin and used for detecting whether the level of the first pin of the first electronic equipment is a first level or not to obtain a first detection result; when the first detection result represents that the first pin is at a first level, detecting connection information between a second pin of the first electronic device and second electronic device, and determining that the connection state of the first electronic device is a first type; and when the first detection result represents that the first pin is not at the first level, determining that the connection state of the first electronic equipment is of a second type.
8. The information processing module of claim 6, further comprising:
and the power supply is connected with the fourth pin of the first electronic equipment, when the connection state of the first electronic equipment is in a first type, the fourth pin of the first electronic equipment is connected with the fourth pin of the second electronic equipment to form a circuit channel, and the power supply is used for providing electric energy for the second electronic equipment based on the circuit channel so that the first pin of the second electronic equipment is in a first level.
9. The information processing module of claim 8, further comprising:
a third pin, when the connection state of the first electronic device is a first type, the third pin of the first electronic device is used for being connected with a third pin of the second electronic device, wherein the third pin of the second electronic device is grounded;
the power supply logic module is used for controlling the working state of the power supply according to the level of the third pin of the first electronic device, and when the third pin of the first electronic device is at the first level, the power supply logic module controls the power supply to stop outputting electric energy to the fourth pin of the first electronic device; and when the third pin of the first electronic device is at a second level, controlling the power supply to output electric energy to the fourth pin of the first electronic device.
10. An electronic device, characterized in that the electronic device is a first electronic device, the electronic device comprising:
a processor for providing preset information;
the information processing module is connected with the processor and used for analyzing the types of the connection state of the second electronic equipment and the first electronic equipment, wherein the types comprise a first type and a second type, the first type is a function connection type, and the second type is a data connection type; generating transmission information based on the type of the connection state and the preset information, and sending the transmission information to the second electronic equipment based on an information transmission channel between the first electronic equipment and the second electronic equipment, wherein the information transmission channel is formed by electrically connecting a second pin of the first electronic equipment and a second pin of the second electronic equipment;
when the connection state is of a first type, the transmission information comprises operation information and/or parameter information; when the connection status is of a second type, the transmission information comprises data information;
wherein sending the transmission information to the second electronic device based on an information transmission channel between the first electronic device and the second electronic device comprises:
when the connection state is of a first type, forwarding the transmission information to second electronic equipment through a second pin; and when the connection state is of a second type, forwarding the data information to second electronic equipment through the second pin.
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 CN106445858A (en) | 2017-02-22 |
| CN106445858B true 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) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019015681A1 (en) | 2017-07-20 | 2019-01-24 | 青岛海信电器股份有限公司 | Terminal device and control method therefor |
| CN107277416A (en) * | 2017-07-20 | 2017-10-20 | 青岛海信电器股份有限公司 | television terminal and control method |
| CN107579559B (en) * | 2017-08-29 | 2019-03-05 | 维沃移动通信有限公司 | A Type-C interface charging circuit, charging control method and electronic device |
| CN110520854B (en) * | 2017-10-31 | 2021-03-30 | 华为技术有限公司 | Electronic device with USB Type C interface, control method and readable storage medium |
| CN108563594B (en) * | 2018-03-26 | 2022-03-25 | 联想(北京)有限公司 | Data transmission method and device and USB adapter |
| CN108874713B (en) * | 2018-05-31 | 2021-10-22 | 联想(北京)有限公司 | Information processing method and device |
| CN109992551B (en) * | 2019-04-09 | 2021-10-26 | 上海闻泰信息技术有限公司 | USB C-type interface information reading method and information reading circuit |
| CN110825682B (en) * | 2019-11-05 | 2022-08-02 | 维沃移动通信有限公司 | USB control method and electronic equipment |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1983204A (en) * | 2005-12-15 | 2007-06-20 | 英业达股份有限公司 | Debugging device using LPC interface and capable of repairing BIOS function and its debugging method |
| 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 | 精英电脑股份有限公司 | A debug card that stores motherboard test records |
| 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 |
-
2015
- 2015-08-13 CN CN201510497580.4A patent/CN106445858B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1983204A (en) * | 2005-12-15 | 2007-06-20 | 英业达股份有限公司 | Debugging device using LPC interface and capable of repairing BIOS function and its debugging method |
| 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 | 精英电脑股份有限公司 | A debug card that stores motherboard test records |
| 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 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106445858A (en) | 2017-02-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5283719B2 (en) | Electronic equipment and electronic equipment system | |
| US10042801B2 (en) | System for detecting universal serial bus (USB) device and method thereof | |
| CN112671084B (en) | USB device and operation method thereof | |
| US9414107B2 (en) | Pluggable electronic device and method for determining output data of pluggable electronic device | |
| US20170005495A1 (en) | Method and apparatus for charging electronic device with usb connection | |
| US11113224B2 (en) | Display driver board with multiple TYPE-C full-function interfaces | |
| US9768640B2 (en) | Switching the power supply source of system to one of a first battery in electronic apparatus and a second battery in extension detachable and attachable to the apparatus | |
| JP2019096282A (en) | Hub | |
| CN108228509B (en) | USB interface switching device and electronic equipment | |
| US20160004650A1 (en) | Portable device, cable assembly, and usb system | |
| CN106445858A (en) | Information processing method, information processing module and electronic device | |
| US9817778B2 (en) | Electronic device and method for communicating with USB device | |
| US9570922B2 (en) | Charging method and electronic device | |
| US9645627B2 (en) | Computer stick docking system and power management method thereof | |
| CN106844277B (en) | Server and information transmission method thereof | |
| US20190278724A1 (en) | Keyboard-video-mouse switch, signal processing method, and non-transitory computer-readable storage medium | |
| US20150253828A1 (en) | Electronic system | |
| US7493507B2 (en) | System for protecting a motherboard while a component is not connected properly to its power source | |
| US11334506B2 (en) | Interface connection device, system and method thereof | |
| US20140201420A1 (en) | Transmission interface system with detection function and method | |
| CN111611182B (en) | Electronic equipment capable of being detected by detection device and detection system | |
| CN105098854A (en) | Charging method and electronic device | |
| CN115528768A (en) | Charging control method and device | |
| CN101840384B (en) | computer device | |
| CN203338238U (en) | Multifunctional pin circuit device |
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 |