Electronic device and control method thereof

By designing multi-functional hardware interfaces and detector controllers in electronic devices, the problem of existing devices being unable to charge and project screens at the same time is solved and the user experience is improved.

CN110309094BActive Publication Date: 2025-01-21LENOVO (BEIJING) LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN201910582847.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-28
Publication Date
2025-01-21
Estimated Expiration
2039-06-28

AI Technical Summary

Technical Problem

Existing thin and light electronic devices cannot meet the user's various needs while charging, such as screen projection display, resulting in the incomplete user experience.

Method used

Design an electronic device that uses at least two hardware interfaces of the same type and provides charging functions, audio output functions, display conversion functions, and data transmission functions through these interfaces. The device also contains detectors and controllers for dynamically controlling the provision of functions based on the joint type.

Benefits of technology

It achieves the goal of ensuring the thinness and lightness of electronic devices while meeting the multiple needs of users at the same time and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110309094B_ABST
    Figure CN110309094B_ABST
Patent Text Reader

Abstract

The present disclosure provides an electronic device, the electronic device includes at least two hardware interfaces, and the at least two hardware interfaces are interfaces of the same type. The functions provided by the electronic device through any one of the at least two hardware interfaces include at least two of the following functions: a charging function, an audio output function, a display conversion function, and a data transmission function. The present disclosure also provides a control method for an electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an electronic device and a control method thereof. Background Art

[0002] With the rapid development of electronic devices, the configuration of electronic devices tends to be thinner and lighter. In order to achieve the thinner and lighter electronic devices, different types of interfaces and interface protocols emerge as the times require.

[0003] In order to achieve thinness and lightness, existing electronic devices often use interfaces that can integrate multiple transmission protocols into one. For example, new electronic devices often integrate charging interfaces, audio interfaces, video interfaces, and data transmission interfaces into a Type-C interface or Lightning interface. However, this setting cannot take into account the user's multiple needs at the same time, for example, it is impossible to display a projection screen while the electronic device is charging. Therefore, the thin and light electronic devices in the prior art still have the technical problem that the user experience is not perfect. Summary of the invention

[0004] One aspect of the present disclosure provides an electronic device for improving user experience. The electronic device includes: at least two hardware interfaces, the at least two hardware interfaces are interfaces of the same type, and the functions provided by the electronic device through any one of the at least two hardware interfaces include at least two of the following functions: a charging function, an audio output function, a display conversion function, and a data transmission function.

[0005] Optionally, the electronic device further comprises: at least two detectors and a controller. The at least two detectors correspond to the at least two hardware interfaces one by one and are used to respectively detect the types of connectors electrically connected to the at least two hardware interfaces. The controller is used to control the functions provided by the electronic device through the one or more hardware interfaces in response to the types of connectors electrically connected to one or more of the at least two hardware interfaces.

[0006] Optionally, the electronic device further comprises a control circuit, which is electrically connected to the controller and is used to switch on the one or more hardware interfaces in response to the control of the controller, so that the electronic device provides the at least two functions through the one or more hardware interfaces.

[0007] Optionally, the control circuit includes at least two load switches and a charging module. The at least two load switches correspond to the at least two hardware interfaces one by one. The at least two hardware interfaces are electrically connected to the charging module through the at least two load switches. The at least two load switches are configured to: in response to the control of the controller, one or more load switches of the at least two load switches connect the first hardware interface of the one or more hardware interfaces to the charging module.

[0008] Optionally, the control circuit further includes at least two first high-speed switches and a coding module. The at least two first high-speed switches correspond to the at least two hardware interfaces one by one. The at least two hardware interfaces are electrically connected to the coding module through the at least two first high-speed switches, respectively. The at least two first high-speed switches are configured as follows: in response to the control of the controller, one or more of the at least two first high-speed switches connect the second hardware interface of the one or more hardware interfaces to the coding module.

[0009] Optionally, the control circuit further includes a first serial physical layer module. The at least two hardware interfaces are electrically connected to the first serial physical layer module through the at least two first high-speed switches, respectively. The at least two first high-speed switches are further configured to: in response to the control of the controller, one or more first high-speed switches of the at least two first high-speed switches connect the third hardware interface of the one or more hardware interfaces to the first serial physical layer module.

[0010] Optionally, the control circuit further comprises a first electronic switch. The first electronic switch is electrically connected to the at least two first high-speed switches and the first serial physical layer module. The first electronic switch is configured to: in response to control by the controller, conduct the first serial physical layer module with the first high-speed switch corresponding to the third hardware interface.

[0011] Optionally, the control circuit further includes at least two second high-speed switches and a display physical layer module. The at least two second high-speed switches correspond to the at least two hardware interfaces one by one. The at least two hardware interfaces are electrically connected to the display physical layer module through the at least two second high-speed switches, respectively. The at least two second high-speed switches are configured as follows: in response to the control of the controller, one or more of the at least two second high-speed switches connect the fourth hardware interface of the one or more hardware interfaces to the display physical layer module.

[0012] Optionally, the control circuit further includes a second electronic switch. The second electronic switch is electrically connected to the at least two second high-speed switches and the display physical layer module. The second electronic switch is configured to: in response to the control of the controller, connect the display physical layer module to the second high-speed switch corresponding to the fourth hardware interface.

[0013] Optionally, the control circuit further includes a second serial physical layer module, and the at least two hardware interfaces are electrically connected to the second serial physical layer module through the at least two second high-speed switches, respectively. The at least two second high-speed switches are further configured to: in response to the control of the controller, one or more second high-speed switches of the at least two second high-speed switches connect the fifth hardware interface of the one or more hardware interfaces to the second serial physical layer module.

[0014] Optionally, the control circuit further comprises a third electronic switch. The third electronic switch is electrically connected to the at least two second high-speed switches and the second serial physical layer module. The third electronic switch is configured to: in response to the control of the controller, conduct the second serial physical layer module with the second high-speed switch corresponding to the fifth hardware interface.

[0015] Optionally, the electronic device further comprises a proportional differential controller. The proportional differential controller is electrically connected to the controller and the at least two hardware interfaces. The proportional differential controller is configured to: when the one or more load switches connect the first hardware interface to the charging module, in response to the control of the controller, change the electrical parameters of the electrical connection between the first hardware interface and the charging module.

[0016] Another aspect of the present disclosure provides a method for controlling an electronic device, the method comprising: in response to an electrical connection between one or more of the at least two hardware interfaces and a connector, determining the type of connector electrically connected to the one or more hardware interfaces; and determining the function provided by the electronic device through the one or more hardware interfaces according to the type of the connector. The function provided by the electronic device through any one of the at least two hardware interfaces includes at least two of the following functions: a charging function, an audio output function, a display conversion function, and a data transmission function. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] For a more complete understanding of the present disclosure and its advantages, reference will now be made to the following description taken in conjunction with the accompanying drawings, in which:

[0018] Figure 1 The application scenario diagram of the electronic device and the control method thereof according to the embodiment of the present disclosure is schematically shown;

[0019] Figure 2 The structure diagram of the electronic device according to the embodiment of the present disclosure is schematically shown;

[0020] Figure 3 A schematic diagram of the structure of an electronic device according to a second embodiment of the present disclosure is shown;

[0021] Figure 4 A flowchart schematically shows a method for controlling an electronic device according to an embodiment of the present disclosure;

[0022] Figure 5 A schematic diagram of the structure of an electronic device according to a third embodiment of the present disclosure is shown;

[0023] Figure 6 A schematic diagram of the structure of an electronic device according to a fourth embodiment of the present disclosure is shown;

[0024] Figure 7 A schematic diagram schematically shows the structure of an electronic device according to a fifth embodiment of the present disclosure; and

[0025] Figure 8 The structural block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0028] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0029] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0030] Some block diagrams and / or flow charts are shown in the accompanying drawings. It should be understood that some boxes or combinations thereof in the block diagrams and / or flow charts can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that these instructions can create a device for implementing the functions / operations described in these block diagrams and / or flow charts when executed by the processor. The technology of the present disclosure can be implemented in the form of hardware and / or software (including firmware, microcode, etc.). In addition, the technology of the present disclosure can take the form of a computer program product on a computer-readable storage medium storing instructions, which can be used by an instruction execution system or used in conjunction with an instruction execution system.

[0031] An embodiment of the present disclosure provides an electronic device and a control method thereof. The electronic device includes: at least two hardware interfaces, and the at least two hardware interfaces are interfaces of the same type. The functions provided by the electronic device through any one of the at least two hardware interfaces include at least two of the following functions: a charging function, an audio output function, a display conversion function, and a data transmission function.

[0032] The electronic device and control method thereof disclosed in the present invention can enable the electronic device to provide multiple functions at the same time by setting at least two hardware interfaces of the same type and providing multiple functions for each hardware interface. For example, the electronic device can provide audio to the user through the inserted audio device while charging. Thus, the electronic device can meet multiple needs of the user at the same time while ensuring the electronic device is light and thin, thereby improving the user experience.

[0033] Figure 1 The following schematically shows an application scenario diagram of an electronic device and a control method thereof according to an embodiment of the present disclosure. It should be noted that: Figure 1The examples shown are merely scenarios in which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0034] like Figure 1 As shown, the application scenario of the embodiment of the present disclosure includes an electronic device 100, wherein the electronic device 100 is provided with at least two hardware interfaces of the same type, such as Figure 1 As shown in the enlarged cross-sectional view of portion A, the at least two hardware interfaces of the same type may include, for example, a hardware interface 110 and a hardware interface 120 .

[0035] The electronic device 100 can be connected to other electronic devices through a provided hardware interface, for example. According to an embodiment of the present disclosure, the electronic device 100 can be provided with a power storage device, for example, to store electrical energy for use by the electronic device or other electronic devices connected through the hardware interface. Specifically, the electronic device 100 includes but is not limited to a smart phone, a tablet computer, a laptop, a smart speaker, or a smart wearable device.

[0036] Among them, the at least two hardware interfaces may be, for example, a USB Type-C interface, a Lightning interface, or any other type of interface that is thin and can provide multiple functions through a communication protocol. The multiple functions provided may include, for example, a charging function, an audio output function, a display conversion function, and / or a data transmission function, so as to charge an electronic device through the provided interface, output audio to a connected audio device, provide display content for a display device connected to the hardware interface, and / or transfer data to a storage device connected to the hardware interface. It is understandable that the types of the above-mentioned at least two hardware interfaces and the functions provided by the hardware interfaces are only used as examples to facilitate understanding of the present disclosure, and the present disclosure does not limit this.

[0037] Among them, at the same time, the functions provided by the electronic device through any two of the at least two hardware interfaces (for example, hardware interface 110 and hardware interface 120) may be the same or different. Correspondingly, the types of other electronic devices connected to any two hardware interfaces at the same time may be the same or different, and the present disclosure does not limit this.

[0038] It should be noted that the electronic device provided in the embodiment of the present disclosure may be the electronic device 100 , and the control method of the electronic device may be executed by the electronic device 100 .

[0039] It should be understood that Figure 1 The types of electronic devices and the specific structures and numbers of hardware interfaces are only for illustration purposes. Any types of electronic devices, any structures and any numbers of hardware interfaces may be provided as required.

[0040] Figure 2 The structural diagram of an electronic device according to an embodiment of the present disclosure is schematically shown.

[0041] like Figure 2 As shown, the electronic device 100 according to the embodiment of the present disclosure includes at least two hardware interfaces.

[0042] Among them, the at least two hardware interfaces are interfaces of the same type, and the functions provided by the electronic device through any one of the at least two hardware interfaces include at least two of the following functions: a charging function, an audio output function, a display conversion function and a data transmission function.

[0043] According to the embodiments of the present disclosure, Figure 2 As shown, the at least two hardware interfaces may be, for example, two hardware interfaces, specifically including a hardware interface 110 and a hardware interface 120. The electronic device may provide the at least two functions to other connected electronic devices through the two hardware interfaces.

[0044] According to an embodiment of the present disclosure, the functions provided by the at least two hardware interfaces can be specifically determined according to the type of other electronic devices connected to each of the at least two hardware interfaces. The functions provided by any two hardware interfaces can be the same function or different functions. For example, when the hardware interface 110 and the hardware interface 120 are both connected to the charging head, the functions provided by the electronic device 100 through the hardware interface 110 and the hardware interface 120 are all charging functions. When the hardware interface 110 is connected to the earphone and the hardware interface 120 is connected to the display device, the function provided by the electronic device 100 through the hardware interface 110 is an audio output function, and the function provided by the hardware interface 120 is a display conversion function. It can be understood that the types of functions provided by the above-mentioned electronic devices through the hardware interface 110 and the hardware interface 120 are only used as examples to facilitate the understanding of the present disclosure, and the present disclosure is not limited to this.

[0045] According to an embodiment of the present disclosure, in order to facilitate the electronic device 100 to determine the functions provided by each hardware interface, such as Figure 2 As shown, the electronic device 100 may also include at least two detectors and a controller 220, for example.

[0046] Among them, the at least two detectors correspond one-to-one to the at least two hardware interfaces, so as to respectively detect the types of connectors electrically connected to the at least two hardware interfaces. According to an embodiment of the present disclosure, when the at least two hardware interfaces include a hardware interface 110 and a hardware interface 120, the at least two detectors may include a first detector 211 and a second detector 212. The first detector 211 is electrically connected to the hardware interface 110, and is used to detect the type of connector electrically connected to the hardware interface 110; the second detector 212 is electrically connected to the hardware interface 120, and is used to detect the type of connector electrically connected to the hardware interface 120.

[0047] According to an embodiment of the present disclosure, at least one of the at least two detectors may be, for example, a chip that supports CC (Configuration Channel) control logic detection, and the type of connector connected to the hardware interface electrically connected to the chip may be determined based on the voltage of the pin of the chip. It is understandable that the type of the at least one detector is only used as an example to facilitate understanding of the present disclosure, and the present disclosure does not limit this.

[0048] The controller 220 is communicatively connected or electrically connected to at least two detectors to control the functions provided by the electronic device through each hardware interface according to the detection result of each of the at least two detectors.

[0049] According to an embodiment of the present disclosure, the controller 220 can, for example, determine the function provided for each hardware interface according to the voltage value of the pin detected by each detector, and control the electronic device 100 to provide the determined function through each hardware interface. For example, when the hardware interface 110 is not connected to other electronic devices, the voltage value of the pin detected by the first detector 211 is 0, and the controller 220 determines that no function is provided through the hardware interface 110. When the hardware interface 110 is connected to other electronic devices of different types, the voltage values ​​of the pins detected by the first detector 211 are different, and the controller 220 determines that different functions are provided through the hardware interface 110 according to the different voltage values. For example, when the hardware interface 110 is electrically connected to the headset, the voltage value of the pin detected by the first detector 211 is 2V, and the controller 220 determines to provide an audio output function through the hardware interface 110. When the hardware interface 110 is electrically connected to the charging head, the voltage value of the pin detected by the first detector 211 is 5V, and the controller 220 determines to provide a charging function through the hardware interface 110. When the hardware interface 110 is electrically connected to the display device, the voltage value of the pin detected by the first detector 211 is 20V, and the controller 220 determines to provide the display conversion function through the hardware interface 110. It can be understood that when the hardware interface 110 is electrically connected to different other electronic devices, the voltage value of the pin detected by the first detector 211 is only used as an example to facilitate understanding of the present disclosure, and the present disclosure is not limited to this.

[0050] In summary, the electronic device of the embodiment of the present disclosure can determine the function provided by any one of the at least two hardware interfaces by the type of the connector electrically connected to the at least two hardware interfaces. The functions provided by any one of the hardware interfaces include at least two, so at least two different functions can be provided to the user at the same time through at least two hardware interfaces, thereby meeting the user's multiple needs at the same time and improving the user experience.

[0051] Figure 3 The schematic diagram shows the structure of an electronic device according to the second embodiment of the present disclosure.

[0052] According to an embodiment of the present disclosure, in order to facilitate the controller 220 to control the functions provided by the electronic device 100 through one or more hardware interfaces of at least two hardware interfaces, such as Figure 3 As shown, the electronic device 100 of the embodiment of the present disclosure further includes a control circuit 330 .

[0053] The control circuit 330 is electrically connected to the controller 220 so that under the control of the controller 220, the control circuit 330 is connected to one or more hardware interfaces of at least two hardware interfaces, thereby controlling the functions provided by the electronic device 100 through the one or more hardware interfaces.

[0054] According to an embodiment of the present disclosure, the control circuit 330 may include, for example, a functional module for providing the at least two functions and an electronic switch connecting the functional module and the hardware interface, and the controller 220 can connect the functional module to one or more hardware interfaces by controlling the electronic switch, thereby providing the functions of the functional module through the one or more hardware interfaces. Among them, the functional module is specifically a module corresponding to the function provided by the electronic device through any hardware interface, and the functional module may include a charging module corresponding to the charging function, a coding module corresponding to the audio output function, a display physical layer module corresponding to the display conversion function, and / or a serial physical layer module corresponding to the data transmission function, etc. Among them, in order to ensure that the electronic device 100 can provide at least two functions through any hardware interface, the functional module may include the above-mentioned at least two modules corresponding to the at least two functions.

[0055] Figure 4 The flowchart of the control method of the electronic device according to the embodiment of the present disclosure is schematically shown.

[0056] like Figure 4 As shown, in order to facilitate the electronic device 100 to provide one of the at least two functions through one or more of the at least two hardware interfaces, the embodiment of the present disclosure further provides a method for controlling the electronic device. The method includes operations S410 to S420.

[0057] In operation S410, in response to electrical connection between one or more of the at least two hardware interfaces and the connector, the type of connector electrically connected to the one or more hardware interfaces is determined. In operation S420, functions provided by the electronic device through the one or more hardware interfaces are determined based on the type of connector.

[0058] Among them, operation S410 may specifically include: first, determining one or more hardware interfaces electrically connected to the connector based on the detection results of at least two detectors corresponding one-to-one to at least two hardware interfaces; and then determining the type of connector electrically connected to the one or more hardware interfaces based on the voltage value of the pin detected by the detector corresponding to the one or more hardware interfaces.

[0059] After operation S420, the embodiment of the present disclosure may further include: connecting the functional modules in the control circuit to one or more hardware interfaces by controlling the electronic switches in the control circuit, so that the electronic device provides the function determined in operation S420 through one or more hardware interfaces.

[0060] Figure 5 The schematic diagram shows the structure of an electronic device according to the third embodiment of the present disclosure.

[0061] According to an embodiment of the present disclosure, in order to facilitate the electronic device to provide a charging function through at least two hardware interfaces, such as Figure 5 As shown, the control circuit 330 of the electronic device 100 of the embodiment of the present disclosure may include, for example, at least two load switches and a charging module 520. Figure 5 As shown, in the case where the at least two hardware interfaces include the hardware interface 110 and the hardware interface 120 , the at least two load switches include a first load switch 511 and a second load switch 512 .

[0062] The at least two load switches correspond to the at least two hardware interfaces one by one, and the first ends of the at least two load switches are electrically connected to the charging module 520, and the second ends are electrically connected to the at least two hardware interfaces respectively. Figure 5 As shown, the first ends of the first load switch 511 and the second load switch 512 are both electrically connected to the charging module 520, the second end of the first load switch 511 is electrically connected to the hardware interface 110, and the second end of the second load switch 512 is electrically connected to the hardware interface 120. Therefore, by controlling the opening and closing of the first end and the second end of the at least two load switches, the first hardware interface among the one or more hardware interfaces can be connected to the charging module 520, so as to provide a charging function through any one of the hardware interfaces.

[0063] According to an embodiment of the present disclosure, one end (a movable end of the first end and the second end) of the at least two load switches is also electrically connected to the controller 220, so that in response to the control of the controller 220, one or more load switches connect the first hardware interface of the one or more hardware interfaces to the charging module 520. The first hardware interface is specifically a hardware interface whose connector type is a charging connector, and the charging module can be, for example, a battery for storing electrical energy in an electronic device.

[0064] Figure 6 A schematic structural diagram of an electronic device according to a fourth embodiment of the present disclosure is schematically shown.

[0065] According to an embodiment of the present disclosure, in order to facilitate the electronic device 100 to provide an audio output function through at least two hardware interfaces, such as Figure 6As shown, the control circuit 330 may further include a coding module 640 and at least two first high-speed switches.

[0066] Wherein, in the case where at least two hardware interfaces include hardware interface 110 and hardware interface 120, at least two first high-speed switches include first high-speed switch 631 and first high-speed switch 632. Wherein, the fixed ends of the at least two first high-speed switches are electrically connected to the encoding and decoding module 640, and the movable ends are electrically connected to at least two hardware interfaces respectively. Therefore, by controlling the opening and closing of the first high-speed switch, the second hardware interface in one or more hardware interfaces can be connected to the encoding and decoding module 640 to provide an audio output function through the second hardware interface. Wherein, the second hardware interface is a hardware interface whose connector type is an audio connector, and the encoding and decoding module 640 can be, for example, a codec in an electronic device for supporting the conversion between digital signals and audio signals, and can be, for example, a CODEC (Coder / Decoder) chip.

[0067] According to an embodiment of the present disclosure, the moving ends of the at least two first high-speed switches may also be electrically connected to the controller 220 , so that in response to the control of the controller 220 , one or more first high-speed switches connect the second hardware interface to the encoding and decoding module 640 .

[0068] According to an embodiment of the present disclosure, in order to facilitate the electronic device 100 to provide a data transmission function through at least two hardware interfaces, such as Figure 6 As shown, the electronic device 100 may also include a first serial physical layer module 650. The first serial physical layer module 650 may be electrically connected to at least two hardware interfaces respectively through at least two first high-speed switches. Then, by controlling the disconnection and closing of the at least two first high-speed switches, the third hardware interface of the at least two hardware interfaces may be connected to the first serial physical layer module 650 to provide a data transmission function through the third hardware interface. Among them, the connector type of the third hardware interface is a data connector. The first serial physical layer module 650 may be, for example, a USB physical interface, specifically a USB2.0PHY (Physical). Therefore, at least two first high-speed switches may also be electrically connected to the controller 220, and one or more of the first high-speed switches may also respond to the control of the controller 220 to connect the third hardware interface of the one or more hardware interfaces to the first serial physical layer module 650.

[0069] According to an embodiment of the present disclosure, in order to facilitate the integration of more functions into the at least two hardware interfaces, the control circuit 330 may include both a coding module 640 and a first serial physical layer module 650. The at least two first high-speed switches may be, for example, single-pole double-throw type switches. The first fixed end of the at least two first high-speed switches is electrically connected to the coding module 640, and the second fixed end is electrically connected to the first serial physical layer module 650. Through the control of the controller connected to the moving end, the moving end of any one of the at least two first high-speed switches can be closed with the first fixed end, or the moving end of the first high-speed switch can be closed with the second fixed end, so as to provide an audio output function or a data transmission function through the hardware interface electrically connected to the first high-speed switch in the at least two hardware interfaces.

[0070] According to an embodiment of the present disclosure, in order to facilitate providing data transmission functions to multiple hardware switches, the control circuit 330 may, for example, include multiple first serial physical layer modules, which are respectively electrically connected to multiple first high-speed switches to provide data transmission functions to hardware interfaces electrically connected to the multiple first high-speed switches.

[0071] According to an embodiment of the present disclosure, in order to facilitate providing a data transmission function to multiple hardware switches, the control circuit 330 may further include, for example, a first electronic switch 660, which may be, for example, a single-pole multi-throw switch or a multi-pole multi-throw switch, wherein the number of fixed ends of the first electronic switch 660 is the same as the number of hardware interfaces with a data transmission function, and the fixed end of the first electronic switch 660 is electrically connected to a first high-speed switch electrically connected to the hardware interface with a data transmission function, and the movable end of the first electronic switch 660 is electrically connected to the first serial physical layer module 650. For the convenience of control, the movable end of the first electronic switch 660 may also be electrically connected to the controller 220. Accordingly, the first electronic switch 660 may, in response to the control of the controller 220, conduct the first serial physical layer module 650 with the first high-speed switch corresponding to the third hardware interface. Therefore, when the controller controls the electronic device to provide a data transmission function through a third hardware interface (for example, hardware interface 110), it is necessary to connect the active end of the first high-speed switch 631 electrically connected to the hardware interface 110 to the stationary end connected to the first electronic switch 660, and connect the active end of the first electronic switch 660 to the stationary end connected to the first serial physical layer module 650.

[0072] Figure 7 A schematic structural diagram of an electronic device according to a fifth embodiment of the present disclosure is schematically shown.

[0073] According to an embodiment of the present disclosure, in order to facilitate the electronic device 100 to provide a display conversion function through at least two hardware interfaces, such as Figure 7As shown, the control circuit 330 of the electronic device 100 of the embodiment of the present disclosure should also include a display physical layer module 720 and at least two second high-speed switches.

[0074] Wherein, in the case where at least two hardware interfaces include hardware interface 110 and hardware interface 120, at least two second high-speed switches include second high-speed switch 711 and second high-speed switch 712. Wherein, the fixed ends of the at least two second high-speed switches are electrically connected to the display physical layer module 720, and the movable ends are electrically connected to at least two hardware interfaces respectively. Therefore, by controlling the opening and closing of the second high-speed switch, the fourth hardware interface among the one or more hardware interfaces can be connected to the display physical layer module 720 to provide a display conversion function through the fourth hardware interface. Wherein, the fourth hardware interface is a hardware interface whose connector type is a video connector, and the display physical layer module 720 can be, for example, a display interface in an electronic device for supporting video transmission, specifically DP PHY (Display Port Physical).

[0075] According to an embodiment of the present disclosure, the active ends of the at least two second high-speed switches may also be electrically connected to the controller 220 so as to enable one or more second high-speed switches to connect the fourth hardware interface to the display physical layer module 720 in response to the control of the controller 220 .

[0076] According to an embodiment of the present disclosure, in order to facilitate providing display conversion functions to multiple hardware switches, the control circuit 330 may, for example, include multiple display physical layer modules, and the multiple display physical layer modules are respectively electrically connected to the multiple second high-speed switches to provide display conversion functions to the hardware interfaces electrically connected to the multiple second high-speed switches.

[0077] According to an embodiment of the present disclosure, in order to facilitate providing a data transmission function to multiple hardware switches, the control circuit 330 may further include a second electronic switch 740, which may be a single-pole multi-throw switch or a multi-pole multi-throw switch, wherein the number of fixed ends of the second electronic switch 740 is the same as the number of hardware interfaces with a display conversion function, and the fixed end of the second electronic switch 740 is electrically connected to a second high-speed switch electrically connected to the hardware interface with a display conversion function, and the movable end of the second electronic switch 740 is electrically connected to the display physical layer module 720. For the convenience of control, the movable end of the second electronic switch may also be electrically connected to the controller 220. Accordingly, the second electronic switch 740 may, in response to the control of the controller 220, connect the display physical layer module 720 to the second high-speed switch corresponding to the fourth hardware interface. Therefore, when the controller controls the display conversion function provided through the fourth hardware interface (for example, the hardware interface 120), it is necessary to connect the moving end of the second high-speed switch 712 electrically connected to the hardware interface 120 to the fixed end connected to the second electronic switch 740, and to connect the moving end of the second electronic switch 740 to the fixed end connected to the display physical layer module 720.

[0078] According to an embodiment of the present disclosure, in order to facilitate the electronic device 100 to provide a high-speed data transmission function through at least two hardware interfaces, such as Figure 7 As shown, the electronic device 100 may also include a second serial physical layer module 730. The second serial physical layer module 730 may be electrically connected to at least two hardware interfaces respectively through at least two second high-speed switches. Then, by controlling the disconnection and closing of the at least two second high-speed switches, the fifth hardware interface of the at least two hardware interfaces may be connected to the second serial physical layer module 730 to provide a data transmission function through the fifth hardware interface. Among them, the fifth hardware interface is a hardware interface whose connector type is a data connector. The second serial physical layer module 730 may be, for example, a USB physical interface, specifically a USB3.0PHY (Physical, physical layer). Therefore, at least two second high-speed switches may also be electrically connected to the controller 220, and one or more of the second high-speed switches may also, in response to the control of the controller, connect the fifth hardware interface of the one or more hardware interfaces to the second serial physical layer module 730.

[0079] According to an embodiment of the present disclosure, in order to facilitate providing high-speed data transmission functions to multiple hardware switches, the control circuit 330 may, for example, include multiple second serial physical layer modules, which are respectively electrically connected to the multiple second high-speed switches to provide data transmission functions to the hardware interfaces electrically connected to the multiple second high-speed switches.

[0080] According to an embodiment of the present disclosure, in order to facilitate providing a high-speed data transmission function to multiple hardware switches, the control circuit 330 may further include a third electronic switch 750, which may be a single-pole multi-throw switch or a multi-pole multi-throw switch, wherein the number of fixed ends of the third electronic switch 750 is the same as the number of hardware switches with a high-speed data transmission function, and the fixed end of the third electronic switch 750 is electrically connected to a second high-speed switch electrically connected to the hardware switch with a high-speed data transmission function, and the movable end of the third electronic switch 750 is electrically connected to the second serial physical layer module 730. For the convenience of control, the movable end of the third electronic switch 750 may also be electrically connected to the controller 220. Accordingly, the third electronic switch 750 may, in response to the control of the controller 220, conduct the second serial physical layer module 730 with the second high-speed switch corresponding to the fifth hardware interface. Therefore, when the controller controls the provision of high-speed data transmission function through the fifth hardware interface (for example, the hardware interface 120), it is necessary to connect the active end of the second high-speed switch 712 electrically connected to the hardware interface 120 to the stationary end connected to the third electronic switch 750, and to connect the active end of the third electronic switch 750 to the stationary end connected to the second serial physical layer module 730.

[0081] According to an embodiment of the present disclosure, in order to facilitate the integration of more functions into the at least two hardware interfaces, the control circuit 330 may include both a display physical layer module 720 and a second serial physical layer module 730. The at least two second high-speed switches may be, for example, single-pole double-throw type switches. The first fixed end of the at least two second high-speed switches is electrically connected to the display physical layer module 720 (specifically, it may be electrically connected to the fixed end of the second electronic switch 740), and the second fixed end is electrically connected to the second serial physical layer module 730 (specifically, it may be electrically connected to the fixed end of the third electronic switch 750). Through the control of the controller connected to the moving end, the moving end of any one of the at least two second high-speed switches may be closed to the first fixed end, or the moving end of the second high-speed switch may be closed to the second fixed end, thereby providing a display conversion function or a data transmission function through the hardware interface electrically connected to the second high-speed switch in the at least two hardware interfaces.

[0082] According to an embodiment of the present disclosure, when at least two second hardware interfaces are Type-C interfaces, according to the design standard and communication protocol of the Type-C interface, such as Figure 7 As shown, the control circuit 330 of the electronic device 100 includes not only a display physical layer module 720 and a second serial physical layer module 730, but also Figure 6 The encoding and decoding module 640 and the first serial physical layer module 650 described above, and Figure 5 The charging module 520 described above. Accordingly, the control circuit further includes Figure 5Description of the load switch and Figure 6 The controller 220 controls the load switch so that the electronic device provides a charging function through the hardware interface. The controller 220 controls the first high-speed switch so that the electronic device provides an audio output function and a low-speed data transmission function through the hardware interface. The controller 220 controls the second high-speed switch so that the electronic device provides a display conversion function and a high-speed data transmission function through the hardware interface, which will not be described in detail here.

[0083] According to an embodiment of the present disclosure, when the electronic device 100 provides a charging function through a hardware interface, in order to improve the charging efficiency, the electronic device may further include a proportional differential controller, which is electrically connected to the controller 220 and at least two hardware interfaces, and is used to change the electrical parameters of the electrical connection between the first hardware interface and the charging module 520 in response to the control of the controller 220 when the load switch connects the first hardware interface to the charging module 520.

[0084] According to an embodiment of the present disclosure, the proportional differential controller may include, for example, at least two proportional differential controllers electrically connected to at least two hardware interfaces, respectively. For example, when the at least two hardware interfaces include a hardware interface 110 and a hardware interface 120, the proportional differential controller includes a first PD (Proportion Differentiation) controller 761 and a second PD controller 762. The first PD controller 761 is electrically connected to the hardware interface 110, and the second PD controller 762 is electrically connected to the hardware interface. Among them, changing the electrical parameters may, for example, be increasing the charging current, etc.

[0085] In summary, any one of the multiple hardware interfaces provided by the electronic device provided by the embodiment of the present disclosure is Figure 7 The result shown can provide all the above four functions (charging function, audio output function, display conversion function and data transmission function). In the case where two or more hardware interfaces of the electronic device are connected to the connector, according to Figure 7 The structure described above may be different. Furthermore, in order to ensure that the electronic device can provide the same function through at least two or more hardware interfaces at the same time, the electronic device of the embodiment of the present disclosure may be provided with multiple charging modules, multiple first serial physical layer modules, multiple display physical layer modules and / or multiple second serial physical layer modules.

[0086] Figure 8 The structural block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown.

[0087] like Figure 8As shown, the electronic device 800 of the embodiment of the present disclosure includes a processor 810, a computer-readable storage medium 820, and a control circuit 830. The electronic device 800 is also provided with an external hardware interface 841 and a hardware interface 842.

[0088] Among them, the hardware interface 841 and the hardware interface 842 are both electrically connected to the control circuit 830, and the control circuit 830 is connected to the processor 810. Under the control of the processor 810, the control circuit 830 can conduct the hardware interface 841 and the hardware interface 842 to provide data transmission function, charging function, audio output function and display conversion function to other electronic devices electrically connected to the hardware interface 841 and the hardware interface 842.

[0089] Specifically, the control circuit 830 can be Figure 3 or Figure 5 to Figure 7 The control circuit 330, the hardware interface 841 and the hardware interface 842 described in any one of the figures are specifically Figure 1 The hardware interface 110 and the hardware interface 120 described in FIG.

[0090] Specifically, the processor 810 may include, for example, a general-purpose microprocessor, an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 810 may also include an onboard memory for cache purposes. The processor 810 may be a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0091] The computer-readable storage medium 820 may be, for example, a non-volatile computer-readable storage medium, specific examples of which include but are not limited to: magnetic storage devices, such as magnetic tapes or hard disks (HDDs); optical storage devices, such as compact disks (CD-ROMs); memories, such as random access memories (RAMs) or flash memories; and the like.

[0092] The computer-readable storage medium 820 may include a computer program 821 , which may include code / computer-executable instructions that, when executed by the processor 810 , cause the processor 810 to control the opening and closing of various switches in the control circuit.

[0093] The computer program 821 may be configured to have, for example, a computer program code including a computer program module. For example, in an example embodiment, the code in the computer program 821 may include one or more program modules, for example, including 821A, module 821B, ... It should be noted that the division method and number of modules are not fixed, and those skilled in the art may use appropriate program modules or program module combinations according to actual conditions, and when these program module combinations are executed by the processor 810, the processor 810 may execute the method according to the embodiment of the present disclosure or any variation thereof.

[0094] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0095] Although the present disclosure has been shown and described with reference to specific exemplary embodiments of the present disclosure, it should be understood by those skilled in the art that various changes in form and details may be made to the present disclosure without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents. Therefore, the scope of the present disclosure should not be limited to the above-mentioned embodiments, but should be determined not only by the appended claims, but also by the equivalents of the appended claims.

Claims

1. An electronic device, comprising: at least two hardware interfaces, the at least two hardware interfaces are interfaces of the same type; the functions provided by the electronic device through any one of the at least two hardware interfaces include at least two of the following functions: a charging function, an audio output function, a display conversion function, and a data transmission function; the first hardware interface is connected to a first PD controller for changing electrical parameters of the electrical connection between the first hardware interface and the charging module; The second hardware interface is connected to a second PD controller for changing electrical parameters of the electrical connection between the second hardware interface and the charging module; A control circuit, the control circuit is used to turn on the one or more hardware interfaces in response to the control of the controller, including: a first load switch corresponding to the first hardware interface, and if the first load switch is closed, the first hardware interface is connected to the charging module, so that the electronic device provides a charging function through the first hardware interface; a second load switch corresponding to the second hardware interface, and if the second load switch is closed, the second hardware interface is connected to the charging module, so that the electronic device provides a charging function through the second hardware interface; Wherein, at the same time, the functions provided by the electronic device through any two of the at least two hardware interfaces are charging functions, including: The first load switch is controlled to be closed and the second load switch is controlled to be closed, the first PD controller changes the electrical parameters of the electrical connection between the first hardware interface and the charging module and the second PD controller changes the electrical parameters of the electrical connection between the second hardware interface and the charging module.

2. The device according to claim 1, wherein The control circuit further comprises: at least two first high-speed switches corresponding one-to-one to the at least two hardware interfaces; and A coding module, wherein the at least two hardware interfaces are electrically connected to the coding module through the at least two first high-speed switches respectively. The at least two first high-speed switches are configured such that, in response to control by the controller, one or more of the at least two first high-speed switches connect a second hardware interface of the one or more hardware interfaces to the coding module.

3. The device according to claim 2, wherein: The control circuit further comprises: A first serial physical layer module, wherein the at least two hardware interfaces are electrically connected to the first serial physical layer module through the at least two first high-speed switches respectively; a first electronic switch, electrically connected to the at least two first high-speed switches and the first serial physical layer module; Among them, the at least two first high-speed switches are also configured as: in response to the control of the controller, one or more first high-speed switches among the at least two first high-speed switches connect the third hardware interface among the one or more hardware interfaces with the first serial physical layer module; the first electronic switch is configured as: in response to the control of the controller, connect the first serial physical layer module with the first high-speed switch corresponding to the third hardware interface.

4. The device according to any one of claims 1 to 3, wherein: The control circuit further comprises: at least two second high-speed switches corresponding one-to-one to the at least two hardware interfaces; display physical layer module, the at least two hardware interfaces are electrically connected to the display physical layer module through the at least two second high-speed switches respectively, The at least two second high-speed switches are configured such that, in response to control by the controller, one or more of the at least two second high-speed switches connect a fourth hardware interface of the one or more hardware interfaces to the display physical layer module.

5. The apparatus according to claim 4, wherein: The control circuit further comprises: a second electronic switch electrically connected to the at least two second high-speed switches and the display physical layer module, wherein the second electronic switch is configured to: in response to the control of the controller, conduct the display physical layer module with the second high-speed switch corresponding to the fourth hardware interface; and / or The control circuit further comprises: a second serial physical layer module, wherein the at least two hardware interfaces are electrically connected to the second serial physical layer module through the at least two second high-speed switches respectively, wherein the at least two second high-speed switches are further configured to: in response to the control of the controller, one or more second high-speed switches of the at least two second high-speed switches connect the fifth hardware interface of the one or more hardware interfaces to the second serial physical layer module; a third electronic switch is electrically connected to the at least two second high-speed switches and the second serial physical layer module, and the third electronic switch is configured to: in response to the control of the controller, connect the second serial physical layer module to the second high-speed switch corresponding to the fifth hardware interface.

Citation Information

Patent Citations

  • Display interface temperature compensation

    CA2869173A1

  • Interface expanding method and device for tablet personal computer

    CN102880238A

  • Signal transmission device, method and mobile terminal

    CN105338445A

  • Switching equipment, terminal and switching method

    CN105975422A

  • Method and device for earphone and USB to share micro-USB interface

    CN101917497A