Electronic device, electronic device control method and program
The electronic device automatically determines the connection order of USB Type-C cables, facilitating intuitive screen and power switching, thus overcoming manual setup challenges and enabling unrestricted cable usage for seamless PC connections.
Patent Information
- Application Number
- JP2023018169
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-02-09
- Publication Date
- 2024-08-15
- Estimated Expiration
- 2043-02-09
AI Technical Summary
Existing USB Type-C connections require manual user intervention for setting changes, which can be time-consuming and difficult for users with low IT literacy, and restrict cable usage, such as length and compatibility.
An electronic device determines the connection order of USB Type-C cables based on acquired voltage values, automatically switching output screens and power configurations accordingly.
Enables seamless connection and cooperation with PCs without cable restrictions, allowing intuitive setup and seamless PC linkage.
Smart Images

Figure 0007534679000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic device, a control method for an electronic device, and a program. [Background technology]
[0002] In recent years, desktop, laptop, tablet, and other PCs (hereafter referred to as PC terminals) have come into widespread use and come equipped with a USB Type-C interface as standard. For example, connections between PC terminals and monitors and other electronic devices can now be made with a USB Type-C cable.
[0003] Additionally, with the recent expansion of telework styles, there are many cases where one person has multiple mobile terminals (one stationary and one mobile, etc.). Since each PC terminal operates independently, there are technologies proposed for screen expansion and power supply, such as connecting the USB hosts between PC terminals with a USB cable to use one PC terminal as a monitor, sharing keyboard / mouse operations (hereafter referred to as PC linkage), and supplying power to the other PC terminal connected to its power source. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2002-123342 A Summary of the Invention [Problem to be solved by the invention]
[0005] After connecting the USB cable to the PC terminal, the user must manually switch the settings on the PC terminal, which is a time-consuming setup process. In addition, the setup process is difficult for users with low IT literacy, for example. Therefore, further improvement is required.
[0006] For example, in the prior art, a dedicated signal pin for detecting the order in which USB cables are connected to the USB connector on the PC terminal side is mounted on the cable (dedicated cable), and a dedicated signal pin for detecting the USB cable is provided, thereby realizing switching of operation between when a device is connected to the end of the cable and when only the cable is connected without a device. However, the fact that the cable is dedicated means that users cannot freely choose cables, and there are restrictions such as not being able to use cables of a length suitable for use.
[0007] Therefore, one example of the problem to be solved by the present invention is to provide an electronic device, a control method for an electronic device, and a program for the electronic device that can seamlessly connect and link with a PC without any restrictions on the use of the cable in an electronic device that connects to a USB Type-C cable. [Means for solving the problem]
[0008] A first aspect of the present invention provides an electronic device to which a USB Type-C cable is connected, the electronic device including: a determination unit that determines an order in which the electronic device is connected to the USB Type-C cable based on a voltage acquired through the connected USB Type-C cable; a control unit that switches an output screen to be displayed on the electronic device based on the order; Equipped with.
[0009] A second aspect of the present invention is a method for controlling an electronic device to which a USB Type-C cable is connected, the method comprising: determining an order in which the electronic device is connected to the USB Type-C cable based on a voltage acquired through the connected USB Type-C cable; switching an output screen to be displayed on the electronic device based on the order; Equipped with.
[0010] Furthermore, a third aspect of the present invention is a method for determining an order in which an electronic device is connected to a USB Type-C cable based on a voltage acquired through the connected USB Type-C cable, in a computer of the electronic device to which the USB Type-C cable is connected. and switching the output screen to be displayed on the electronic device based on the order. This is a program for executing the above. Effect of the Invention
[0011] According to the present invention, it is possible to realize seamless PC connection and cooperation in an electronic device to which a USB Type-C cable is connected. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing an example of a system configuration of an information processing system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a hardware configuration of the electronic device according to the embodiment. [Diagram 3] FIG. 3 is a block diagram illustrating an example of a functional configuration of the electronic device according to the embodiment. [Figure 4] FIG. 4 is a table showing an example of voltage values of CC1 and CC2 acquired by the electronic device according to the embodiment. [Diagram 5] FIG. 5 is a diagram showing an example of a state in which the electronic device according to the embodiment processes. [Figure 6] FIG. 6 is a flowchart illustrating an example of a process executed by the electronic device according to the embodiment. [Figure 7] FIG. 7 is a flowchart illustrating an example of a process executed by the electronic device according to the embodiment. [Figure 8] FIG. 8 is a diagram showing an example of a state in which the electronic device according to the first modification performs processing. [Figure 9] FIG. 9 is a diagram showing an example of a state in which the electronic device according to the second modification performs processing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an embodiment of the present invention will be described based on the drawings. In the embodiment of the present invention, a display screen is switched between an electronic device and a display device connected to a USB Type-C cable. However, the embodiment shown below is merely an example, and there is no intention to exclude the application of various modified examples and techniques not specified in the embodiment. That is, the present embodiment can be implemented by modifying it in various ways without departing from the spirit of the embodiment. In addition, each figure is not intended to include only the components shown in the figure, but can include other functions, etc.
[0014] 1 is a configuration diagram of an information processing system 100 including an electronic device 1 according to this embodiment. The information processing system 100 is configured with the electronic device 1 and a display device 2 connected via a Universal Serial Bus (USB) Type-C cable 3. The electronic device 1 is configured as a so-called clamshell type personal computer.
[0015] The electronic device 1 includes a PD (Power Delivery) controller or a controller equivalent thereto. The PD controller is an integrated circuit including a CPU and the like that performs various processes according to a program. The PD controller acquires the voltages of CC1 and CC2 of the USB Type-C connector connected to the electronic device 1. Note that the electronic device 1 is not limited to the above example, and may be, for example, a desktop personal computer, an all-in-one personal computer, a tablet terminal, a video electronic device, a television receiver, a game machine, or the like.
[0016] The display device 2 is a display device that displays a video signal output from the electronic device 1, or a video input device that inputs a video signal to the electronic device 1. For example, the video input device is an information processing device such as a personal computer. The display device 2 is, for example, a liquid crystal display (LCD) or an organic EL (Electro-Luminescence) display. The display device 2 uses USB Type-C as a video input terminal.
[0017] The USB Type-C cable 3 is a cable that connects the electronic device 1 and the display device 2, and enables the display device 2 to be used as a monitor, keyboard / mouse operation sharing (hereinafter referred to as PC linkage), and power supply to another PC terminal to which the power supply of the PC terminal is connected. The USB Type-C cable 3 has a Type-C connector. The Type-C connector is a connector that complies with the connector standard established in the USB3.1 standard, and its operation complies with the "Universal Serial Bus Type-C Cable and Connector Specification."
[0018] A USB Type-C cable 3 with a Type-C connector is equipped with a CC (Configuration Channel) 1 pin (also simply called CC1) and a CC2 pin (also simply called CC2) as standardized in the "Universal Serial Bus Type-C Cable and Connector Specification," and the side that supplies power is called the Source. On the other hand, the side that receives power is called the Sink. By checking (detecting) the voltage of the CC1 and CC2 pins on the Source side, the connection status of the cable can be confirmed.
[0019] 2 is a block diagram showing an example of a hardware configuration of the electronic device 1 according to the embodiment. The electronic device 1 illustrated here has a configuration similar to that of a general-purpose computer, and includes a CPU (Central Processing Unit) 21, a RAM (Random Access Memory) 22, a ROM (Read Only Memory) 23, an auxiliary storage device 24, and an external I / F 25, which are interconnected via a bus 26.
[0020] The CPU 21 performs a predetermined arithmetic processing using the RAM 22 as a working area according to a program stored in the ROM 23 or the auxiliary storage device 24. The auxiliary storage device 24 is a non-volatile memory, and stores various data necessary for the processing of the CPU 21. The auxiliary storage device 24 is, for example, configured with a hard disk drive (HDD) or a solid state drive (SSD). The external I / F 25 is, for example, a device for establishing communication with the display device 2 via the USB Type-C cable 3 in accordance with a predetermined standard. The external I / F 25 uses a USB Type-C connector.
[0021] FIG. 3 is a block diagram showing an example of the functional configuration of the electronic device 1 according to the embodiment. The electronic device 1 according to the present embodiment includes an acquisition unit 31, a judgment unit 32, a decision unit 33, and a control unit 34. The acquisition unit 31, the judgment unit 32, the decision unit 33, and the control unit 34 can be configured, for example, by cooperation between the hardware elements of the electronic device 1 and software elements (such as programs stored in the ROM 23 or the auxiliary storage device 24) as exemplified in FIG. 2. In addition, in the present invention, the electronic device side having the functions of the present invention is a device that is a source and a connected display device side is a sink. Note that the functional configuration of the electronic device 1 is not limited to the above.
[0022] The acquisition unit 31 acquires the voltage of the external I / F 25 via the USB Type-C cable 3. Specifically, the acquisition unit 31 acquires the voltages of CC1 and CC2 of the USB Type-C connector acquired by the PD controller via the USB Type-C cable 3. Here, the voltages acquired by the acquisition unit 31 will be described with reference to Fig. 4. Fig. 4 is a table showing an example of voltage values of CC1 and CC2 acquired by the electronic device 1 according to the embodiment.
[0023] For example, when the voltage values of CC1 and CC2 are both α [V], the electronic device 1 is in a state where the USB Type-C cable 3 is not connected. Also, for example, when the voltage value of CC1 is α [V] and the voltage value of CC2 is X [V], or when the voltage value of CC1 is X [V] and the voltage value of CC2 is α [V], the electronic device 1 is in a state where the USB Type-C cable 3 is connected. That is, the USB Type-C cable 3 is initially connected to the electronic device 1.
[0024] Furthermore, for example, when the voltage value of CC1 is α [V] and the voltage value of CC2 is Y [V], or when the voltage value of CC1 is Y [V] and the voltage value of CC2 is α [V], the electronic device 1 is in a device (display device 2) connected state. That is, the USB Type-C cable 3 is in a state connected to the electronic device 1 with the display device 2 connected.
[0025] Here, the values of voltage value α [V], voltage value X [V], and voltage value Y [V] are determined by the "Universal Serial Bus Type-C Cable and Connector Specification" according to the current value specifications that electronic device 1 can handle with a USB Type-C cable. For example, if electronic device 1 is USB Type-C and can handle 5V / 3A, α [V] is 5V, voltage value X [V] is 0V, and voltage value Y [V] is 1.65V.
[0026] Returning to Fig. 3, the determination unit 32 determines whether the voltage value of CC1 (hereinafter also referred to as CC1 voltage) is equal to α [V] and the voltage value of CC2 (hereinafter also referred to as CC2 voltage) is equal to α [V]. Specifically, the determination unit 32 determines whether the voltage value of CC1 and the voltage value of CC2 acquired by the acquisition unit 31 are each equal to α [V].
[0027] Furthermore, the determination unit 32 determines whether the voltage value of CC1 and the voltage value of CC2 are α[V] and X[V], X[V] and α[V], α[V] and Y[V], or Y[V] and α[V]. Specifically, the determination unit 32 determines whether the voltage value of CC1 and the voltage value of CC2 acquired by the acquisition unit 31 are α[V] and X[V], X[V] and α[V], α[V] and Y[V], or Y[V] and α[V].
[0028] The determination unit 33 determines the order in which the electronic device 1 is connected to the USB Type-C cable 3 based on the voltage acquired through the connected USB Type-C cable 3. For example, when the voltage value of CC1 is equal to α [V] and the voltage value of CC2 is equal to α [V], the determination unit 33 determines that the USB Type-C cable 3 is in an unconnected state to the electronic device 1. Specifically, when the determination unit 32 determines that the voltage value of CC1 is equal to α [V] and the voltage value of CC2 is equal to α [V], both acquired by the acquisition unit 31, the determination unit 33 determines that the USB Type-C cable 3 is in an unconnected state to the electronic device 1.
[0029] Furthermore, for example, when the voltage value of CC1 and the voltage value of CC2 are α[V] and X[V], or X[V] and α[V], the determination unit 33 determines that the USB Type-C cable 3 is connected to the electronic device 1 for the first time. Specifically, when the determination unit 32 determines that the voltage value of CC1 and the voltage value of CC2 are α[V] and X[V], or X[V] and α[V], the determination unit 33 determines that the USB Type-C cable 3 is connected to the electronic device 1 for the first time. That is, the determination unit 33 determines that the USB Type-C cable 3 is connected to the electronic device 1 for the first time, and then connected to the display device 2.
[0030] Furthermore, for example, when the voltage value of CC1 and the voltage value of CC2 are α[V] and Y[V], or Y[V] and α[V], the determination unit 33 determines that the USB Type-C cable 3 is connected to the electronic device 1 later. Specifically, when the determination unit 32 determines that the voltage value of CC1 and the voltage value of CC2 are α[V] and Y[V], or Y[V] and α[V], the determination unit 33 determines that the USB Type-C cable 3 is connected to the electronic device 1 later. That is, the determination unit 33 determines that the USB Type-C cable 3 is connected to the display device 2 first, and then to the electronic device 1.
[0031] The control unit 34 controls the PD controller of the electronic device 1 to be set as a source. The control unit 34 also controls the PD controller to acquire the voltage value of CC1 and the voltage value of CC2 via F / W (Firmware) such as BIOS. The control unit 34 also controls switching of the output screen to be displayed on the electronic device 1 based on the order determined by the determination unit 33.
[0032] Here, the process executed by the control unit 34 will be described with reference to Fig. 5. Fig. 5 is a diagram showing an example of a state in which the electronic device 1 according to the embodiment performs the process.
[0033] 5, a connection state 51 indicates a state in which the USB Type-C cable 3 is first connected to the electronic device 1 and is not connected to the display device 2. A connection state 52 indicates a state in which the USB Type-C cable 3 is connected to the electronic device 1 and then connected to the display device 2.
[0034] Regarding the change from the connected state 51 to the connected state 52, the determination unit 33 determines that the USB Type-C cable 3 is first connected to the electronic device 1, and then connected to the display device 2. Based on the order determined by the determination unit 33, the control unit 34 performs control to switch the output screen to be displayed on the electronic device 1 to the primary (extended) screen (screen 1), and performs control to switch the output screen to be displayed on the display device 2 to the secondary (extended) screen (screen 2).
[0035] 5, a connection state 53 indicates a state in which the USB Type-C cable 3 is first connected to the display device 2 and is not connected to the electronic device 1. A connection state 54 indicates a state in which the USB Type-C cable 3 is connected to the display device 2 and then connected to the electronic device 1.
[0036] Regarding the change from the connected state 53 to the connected state 54, the determination unit 33 determines that the USB Type-C cable 3 is first connected to the display device 2, and then to the electronic device 1. Based on the order determined by the determination unit 33, the control unit 34 performs control to switch the output screen to be displayed on the display device 2 to the primary (extended) screen (screen 1), and performs control to switch the output screen to be displayed on the electronic device 1 to the secondary (extended) screen (screen 2).
[0037] This allows the output screen displayed on the electronic device 1 to be switched based on the order in which the USB Type-C cables 3 are connected, thereby achieving seamless PC connection and cooperation.
[0038] 6 is a flowchart showing an example of processing executed by the electronic device 1 according to the embodiment. The control unit 34 performs control so as to set the PD controller of the electronic device 1 to the source (step S61). Then, the control unit 34 performs control so as to initialize the connection state of the USB Type-C cable 3 (step S62). When this processing ends, the electronic device 1 becomes able to acquire the voltage of CC1 / CC2.
[0039] 7 is a flowchart showing an example of processing executed by the electronic device 1 according to the embodiment. Note that this processing starts after the processing in FIG.
[0040] The acquisition unit 31 acquires the voltages of CC1 and CC2 of the USB Type-C connector (step S71). Next, the determination unit 32 determines whether the voltage of CC1 is equal to α [V] and the voltage of CC2 is equal to α [V] (step S72). If the determination unit 32 determines that one of the voltages of CC1 and CC2 is different from α [V] (step S72: No), the process proceeds to step S74. On the other hand, if the determination unit 32 determines that the voltage of CC1 is equal to α [V] and the voltage of CC2 is equal to α [V] (step S72: Yes), the process proceeds to step S73.
[0041] In step S73, the determination unit 33 determines that the USB Type-C cable 3 is not connected to the electronic device 1 (step S73). In step S74, the judgment unit 32 judges whether the voltage of CC1 and the voltage of CC2 are α[V] and X[V], X[V] and α[V], α[V] and Y[V], or Y[V] and α[V] (step S74).
[0042] Here, if the determination unit 32 determines that the voltages of CC1 and CC2 are α[V] and X[V], or X[V] and α[V] (step S74: α and X, or X and α), the process proceeds to step S75. On the other hand, if the determination unit 32 determines that the voltages of CC1 and CC2 are α[V] and Y[V], or Y[V] and α[V] (step S74: α and Y, or Y and α), the process proceeds to step S76.
[0043] In step S75, the determination unit 33 determines that the USB Type-C cable 3 is initially connected to the electronic device 1 (step S75). In step S76, the determination unit 33 determines that the USB Type-C cable 3 is subsequently connected (step S76). When at least one of steps S73, S75, and S76 is completed, the process proceeds to step S71. After that, this process is executed in the electronic device 1 every time the acquisition unit 31 acquires the voltage values of CC1 and CC2 of the USB Type-C connector.
[0044] As described above, the electronic device 1 according to one embodiment of the present invention includes, in the electronic device 1 to which the USB Type-C cable 3 is connected, a determination unit that determines the order in which the electronic device 1 is connected to the USB Type-C cable 3 based on the voltage obtained via the connected USB Type-C cable 3.
[0045] As a result, according to the present embodiment, the order in which the electronic device 1 is connected to the USB Type-C cable 3 is determined, and so when the user connects the USB Type-C cable 3 to the electronic device 1 and the display device 2, for example, the user can switch the output screen displayed on the electronic device 1 based on the order of connection. Therefore, the user can set functions (switch screens) through an intuitive operation of the order in which the cables are connected, and the electronic device 1 can seamlessly connect to and cooperate with other devices and PCs without restrictions on the use of the cables.
[0046] (Variation 1) In the above-described embodiment, a form in which the display screen is switched between the electronic device 1 and the display device 2 connected via the USB Type-C cable 3 has been described, but the present invention is not limited to this. For example, a form in which the display screen is switched by connecting the electronic device 1 and a USB host between other electronic devices via a USB Type-C cable and using one of the electronic devices as a display device (monitor) will be described with reference to FIG. 8.
[0047] Fig. 8 is a diagram showing an example of a state in which the electronic device 1 according to the first modification is processed. Fig. 8 shows the electronic device 1, a USB Type-C cable 3, and another electronic device 11. Here, the other electronic device 11 is, for example, a tablet terminal. Note that the other electronic device 11 is not limited to a tablet terminal, and may be a clamshell type personal computer, an all-in-one type personal computer, a tablet terminal, a video electronic device, a television receiver, a game machine, or the like.
[0048] 8, a connection state 81 indicates a state in which the USB Type-C cable 3 is first connected to the electronic device 1 and is not connected to another electronic device 11. A connection state 82 indicates a state in which the USB Type-C cable 3 is connected to the electronic device 1 and then connected to another electronic device 11.
[0049] Regarding the change from the connected state 81 to the connected state 82, the determination unit 33 determines that the USB Type-C cable 3 was first connected to the electronic device 1, and then connected to the other electronic device 11. Based on the order determined by the determination unit 33, the control unit 34 controls the electronic device 1 to display a primary (extended) screen (screen 1) and controls the other electronic device 11 to display a secondary (extended) screen (screen 2).
[0050] 8, a connection state 83 indicates a state in which the USB Type-C cable 3 is first connected to another electronic device 11 and is not connected to the electronic device 1. A connection state 84 indicates a state in which the USB Type-C cable 3 is connected to another electronic device 11 and then connected to the electronic device 1.
[0051] Regarding the change from the connected state 83 to the connected state 84, the determination unit 33 determines that the USB Type-C cable 3 is first connected to the other electronic device 11, and then connected to the electronic device 1. Based on the order determined by the determination unit 33, the control unit 34 controls the other electronic device 11 to display the screen of the other electronic device 11 on its primary (extended) screen (screen 1), and controls the electronic device 1 to display the secondary (extended) screen (screen 2).
[0052] As a result, the output screens displayed on the electronic device 1 and the other electronic device 11 are switched based on the order in which the USB Type-C cables 3 are connected, thereby enabling seamless PC integration to be achieved without any restrictions on cable usage.
[0053] (Variation 2) Also, for example, a form in which the electronic device 1 switches input / output of a power source (electricity) for another electronic device 11 connected to a USB Type-C cable 3 will be described with reference to FIG. 9. In addition to the electronic device 1, USB Type-C cable 3, and other electronic device 11 shown in FIG. 9, the other electronic device 11 includes a mobile battery. Also, the electronic device 1 and other electronic device 11 shown in FIG. 9 are devices compatible with input / output of a power source (power supply / charging: dual-role-power). When switching input / output of a power source (electricity), the control unit 34 controls the PD controller of the electronic device 1 to be set as a source or a sink.
[0054] Specifically, when the electronic device 1 supplies power to the other electronic device 11, the control unit 34 controls the PD controller to be set to a source (power supply). When the electronic device 1 receives power from the other electronic device 11, the control unit 34 controls the PD controller to be set to a sink (power reception). Furthermore, the control unit 34 controls the PD controller to input and output power from the VBUS of the connector via F / W (Firmware) such as BIOS.
[0055] 9, a connection state 91 indicates a state in which the USB Type-C cable 3 is first connected to the electronic device 1 and is not connected to another electronic device 11. A connection state 92 indicates a state in which the USB Type-C cable 3 is connected to the electronic device 1 and then connected to another electronic device 11.
[0056] Regarding the change from the connected state 91 to the connected state 92, the determination unit 33 determines that the USB Type-C cable 3 was first connected to the electronic device 1, and then connected to the other electronic device 11. The control unit 34 performs control to set the PD controller to a source (power supply) based on the order determined by the determination unit 33. The control unit 34 also performs control to output power (supply power) from the electronic device 1.
[0057] 9, a connection state 93 indicates a state in which the USB Type-C cable 3 is first connected to another electronic device 11 and is not connected to the electronic device 1. A connection state 94 indicates a state in which the USB Type-C cable 3 is connected to another electronic device 11 and then connected to the electronic device 1.
[0058] Regarding the change from the connected state 93 to the connected state 94, the determination unit 33 determines that the USB Type-C cable 3 was first connected to the other electronic device 11, and then connected to the electronic device 1. The control unit 34 performs control to set the PD controller to sink (power reception) based on the order determined by the determination unit 33. The control unit 34 also performs control to input power to the electronic device 1 (to receive power).
[0059] As a result, the power input and output of the electronic device 1 is switched based on the order in which the USB Type-C cables 3 are connected, making it possible to achieve seamless PC connection without any restrictions on cable usage.
[0060] (Variation 3) The program for realizing the above-mentioned functions may be provided, for example, in a state in which it is pre-stored in a storage element mounted on the CPU 21, but is not limited to this. The program may be provided, for example, in a state in which it is stored in an appropriate storage medium such as a CD-ROM, or may be provided via a computer network such as the Internet.
[0061] The above-described embodiment can be modified as appropriate by changing a part of the configuration of the above-described device. Therefore, some modified examples of the above-described embodiment will be described below as other embodiments. Note that the following mainly describes the differences from the above-described embodiment, and a detailed description of the common points with the contents already described will be omitted. The modified examples described below may be implemented individually or in appropriate combination.
[0062] (Variation 4) In the above embodiment, the functional components 31 to 34 are realized by a single processor in Fig. 3, but this is not limited to the above. For example, the functional components 31 to 34 may be configured by combining a plurality of independent processors, and each processor may execute a program to realize a function.
[0063] Although the embodiments and modifications of the present invention have been described above, the embodiments and modifications are presented as examples and are not intended to limit the scope of the invention. These new embodiments and modifications can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. These embodiments and modifications are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0064] 1...Electronic device, 2...Display device, 3...USB Type-C cable, 21 CPU, 22 RAM, 23 ROM, 24 auxiliary storage device, 25 external I / F 31 acquisition unit, 32 determination unit, 33 decision unit, 34 control unit
Claims
1. In electronic devices that connect to a USB Type-C cable, a determination unit that determines an order in which the electronic devices are connected to the USB Type-C cable based on a voltage acquired via the connected USB Type-C cable; a control unit that switches an output screen to be displayed on the electronic device based on the order; An electronic device comprising:
2. The control unit: When the USB Type-C cable is first connected to the electronic device, control is performed to switch the output screen to a primary screen; If the USB Type-C cable is not initially connected to the electronic device, control is performed to switch the output screen to a secondary screen.
2. The electronic device according to claim 1.
3. A method for controlling an electronic device to which a USB Type-C cable is connected, comprising: determining an order in which the electronic devices are connected to the USB Type-C cable based on a voltage acquired through the connected USB Type-C cable; switching an output screen to be displayed on the electronic device based on the order; A method for controlling an electronic device comprising:
4. To the computer of the electronic device to which the USB Type-C cable is connected, determining an order in which the electronic devices were connected to the USB Type-C cable based on a voltage acquired via the connected USB Type-C cable; switching an output screen to be displayed on the electronic device based on the order; A program for executing.
Citation Information
Patent Citations
Circuit supporting OTG function, terminal and control method of circuit
CN107480086A
Usb-mounted electronic camera
JP2002123342A
