This application is based on and claims priority under 35 U.S.C. § 119 of a Korean patent application number 10-2018-0104593, filed on Sep. 3, 2018, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.
The disclosure relates to a method of recognizing an external electronic device when a connection with the external electronic device is made, and an electronic device for supporting the same.
Recently, the use of electronic devices that can be easily carried, such as smartphones, tablet personal computers (PCs), and wearable devices, has increased, and the electronic devices may be configured to perform various functions. For example, various functions such as voice communication, Internet search, taking photos or videos, music playback, and video viewing may be performed using such electronic devices.
Such electronic devices may be connected to various other external electronic devices, and may receive data from the external electronic devices or transmit data to the external electronic devices. Accordingly, the electronic device may transmit content to an external electronic device such as a television (TV) through a connector used to perform charging or input/output data. For example, when the electronic device is connected to the TV through the connector on the basis of Universal Serial Bus (USB)-Power Delivery (PD) communication, the electronic device may be designated as a host (or a master) and the TV may be designated as a client (or a slave).
As described above, when the electronic device is physically connected to the external electronic device through the connector, the roles of the host and/or the client may be determined. For example, when the electronic device is connected to the external electronic device through the connector, the electronic device may transmit a screen of a display to the external electronic device (for example, a TV) so that the external electronic device may display the screen of the display, but the external electronic device may communicate with the electronic device through settings corresponding to the type of the electronic device only when the external electronic device knows the type of the electronic device.
To this end, when the external electronic device (for example, a TV) serving as the client desires to identify the type of the electronic device (for example, a smartphone) serving as the host, a discovery identity message according to a method specified in the USB-PD communication standard may be used to identify the type of the connected electronic device.
The above information is presented as background information only to assist with an understanding of the disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the disclosure.
Since a discovery identity message can be transmitted only to a client device from a host device, only an electronic device (for example, a smartphone) serving as a host can identify a connected external electronic device (for example, a television (TV)).
When the external electronic device (for example, a TV) operating as a client desires to transmit a discovery identity message in order to identify the type of the connected electronic device (for example, a smartphone), the roles of the host and the client should be exchanged and then the original roles should be restored. Accordingly, before a discovery identity message is transmitted, a data role swap message should be transmitted in a method according to the Universal Serial Bus (USB)-Power Delivery (PD) communication standard to swap the roles. After device identification, a process of exchanging the data role swap message should be performed in order to restore the original roles, so that the above-described large number of steps is necessary in order to simply identifying a connected device, and thus screen flickering or screen noise may be generated in an external electronic device (for example, a TV) due to the generation of a delay time.
Further, after identification of the type of the connected device, the process of exchanging the data role swap message according to the method specified in the USB-PD communication standard should be performed in order to restore the original roles.
Accordingly, when an electronic device is connected to an external electronic device through a USB type C connector, a method by which the electronic device operating in a client mode rapidly identifies the type of the external electronic device operating in a host mode is needed.
Aspects of the disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide an apparatus and method for a method by which the electronic device operating in a client mode rapidly identifies the type of the external electronic device operating in a host mode is needed.
Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the presented embodiments.
In accordance with an aspect of the disclosure, an electronic device is provided. The electronic device includes a connector including one or more signal terminals for communication with an external electronic device, at least one processor operatively connected to the connector, and a memory operatively connected to the at least one processor, wherein the memory stores instructions causing the at least one processor, when executed, to identify a connection to the external electronic device through the connector, receive one or more pieces of power information that can be supported by the external electronic device from the external electronic device in the connection to the external electronic device through the connector, and identify the external electronic device, based on a part of the one or more pieces of power information.
In accordance with another aspect of the disclosure, a method of identifying an external electronic device by an electronic device, based on power information is provided. The method includes identifying a connection to an external electronic device through a connector including one or more signal terminals for communication with the external electronic device, receiving one or more pieces of power information that is supported by the external electronic device from the external electronic device in the connection to the external electronic device through the connector, and identifying the external electronic device, based on a part of the one or more pieces of power information.
In accordance with another aspect of the disclosure, an electronic device is provided. The electronic device includes a connector including one or more signal terminals for communication with an external electronic device, at least one processor operatively connected to the connector, and a memory operatively connected to the at least one processor, wherein the memory stores instructions, when executed by the at least one processor, causing the at least one processor, when executed, to identify a connection to the external electronic device through the connector, transmit one or more pieces of power information including predetermined power information for identifying the electronic device to the external electronic device in the connection to the external electronic device through the connector, transmit a power supply preparation message when a power request message including selected power information is received from the external electronic device, and perform a power negotiation step, based on the power request message.
In accordance with another aspect of the disclosure, a method of identifying an external electronic device by an electronic device, based on power information is provided. The method includes identifying a connection to the external electronic device through a connector including one or more signal terminals, transmitting one or more pieces of power information including predetermined power information for identifying the electronic device to the external electronic device in the connection to the external electronic device through the connector, transmitting a power supply preparation message when a power request message including selected power information is received from the external electronic device, and performing a power negotiation step, based on the power request message.
In accordance with another aspect of the disclosure, a storage medium having instructions stored therein is provided. The instructions may be configured to cause at least one circuit to, when executed by the at least one circuit, perform at least one operation. The at least one operation includes identifying a connection to an external electronic device through a connector including one or more signal terminals for communication with the external electronic device, receiving one or more pieces of power information that is supported by the external electronic device from the external electronic device in the connection to the external electronic device through the connector, and identifying the external electronic device, based on a part of the one or more pieces of power information.
According to various embodiments, when an electronic device is connected to an external electronic device through a USB type C connector, the electronic device operating in a client mode may rapidly identify the type of the external electronic device operating in a host mode.
According to various embodiments, in the case of the electronic device operating in the host mode and the external electronic device operating in the client mode, the electronic device does not need to perform an operation of swapping the host role and the client role with the external electronic device in order to identify the type of the external electronic device, so that the step for device identification may be simplified and thus the communication time may be reduced.
According to various embodiments, a method of simply identifying the external electronic device without any change in a PD communication scheme based on USB-PD communication specifications may be implemented by adding a Power Data Object (PDO) for identification information of the external electronic device to a PDO in which power information is configured.
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure.
The above and other aspects, features, and advantages of certain embodiments of the disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
Throughout the drawings, like reference numerals will be understood to refer to like parts, components, and structures.
Hereinafter, various embodiments of the disclosure will be described with reference to the accompanying drawings. However, it should be understood that there is no intent to limit the disclosure to particular forms, and the disclosure should be construed to cover all modifications, equivalents, and/or alternatives falling within the spirit and scope of the embodiments of the disclosure. In describing the drawings, similar reference numerals may be used to designate similar constituent elements.
As used herein, the expression “have”, “may have”, “include”, or “may include” refers to the existence of a corresponding feature (e.g., numeral, function, operation, or constituent element such as component), and does not exclude one or more additional features.
In the disclosure, the expression “A or B”, “at least one of A or/and B”, or “one or more of A or/and B” may include all possible combinations of the items listed. For example, the expression “A or B”, “at least one of A and B”, or “at least one of A or B” may include (1) at least one A, (2) at least one B, or (3) both at least one A and at least one B.
The expression “a first”, “a second”, “the first”, or “the second” used in various embodiments of the disclosure may modify various components regardless of the order and/or the importance but does not limit the corresponding components. The above-described expressions may be used to distinguish an element from another element. For example, a first user device and a second user device indicate different user devices although both of them are user devices. For example, a first element may be termed a second element, and similarly, a second element may be termed a first element without departing from the scope of the disclosure.
It should be understood that when an element (e.g., first element) is referred to as being (operatively or communicatively) “connected,” or “coupled,” to another element (e.g., second element), it may be directly connected or coupled directly to the other element or any other element (e.g., third element) may be interposer between them. In contrast, it may be understood that when an element (e.g., first element) is referred to as being “directly connected,” or “directly coupled” to another element (second element), there is no element (e.g., third element) interposed between them.
As used herein, the expression “configured to” may be interchangeably used with the expression “suitable for”, “having the capability to”, “designed to”, “adapted to”, “made to”, or “capable of”. The term “configured to” may not necessarily imply “specifically designed to” in hardware. Alternatively, in some situations, the expression “device configured to” may mean that the device, together with other devices or components, “is able to”. For example, the phrase “processor adapted (or configured) to perform A, B, and C” may mean a dedicated processor (e.g. embedded processor) only for performing the corresponding operations or a generic-purpose processor (e.g., central processing unit (CPU) or application processor (AP)) that can perform the corresponding operations by executing one or more software programs stored in a memory device.
The terms used in the disclosure are only used to describe specific embodiments, and are not intended to limit the disclosure. A singular expression may include a plural expression unless they are definitely different in a context. Unless defined otherwise, all terms used herein, including technical terms and scientific terms, may have the same meaning as commonly understood by a person of ordinary skill in the art to which the disclosure pertains. Terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is the same or similar to their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein. In some cases, eve the terms defined herein may not be construed to exclude embodiments of the disclosure.
Referring to
The processor 120 may execute, for example, software (e.g., a program 140) to control at least one other component (e.g., a hardware or software component) of the electronic device 101 coupled with the processor 120, and may perform various data processing or computation.
According to one embodiment, as at least part of the data processing or computation, the processor 120 may load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction with, the main processor 121. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or to be specific to a specified function. The auxiliary processor 123 may be implemented as separate from, or as part of the main processor 121.
The auxiliary processor 123 may control at least some of functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, instead of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or together with the main processor 121 while the main processor 121 is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) functionally related to the auxiliary processor 123.
The memory 130 may store various data used by at least one component (e.g., the processor 120 or the sensor module 176) of the electronic device 101. The various data may include, for example, software (e.g., the program 140) and input data or output data for a command related thereto. The memory 130 may include the volatile memory 132 or the non-volatile memory 134.
The program 140 may be stored in the memory 130 as software, and may include, for example, an operating system (OS) 142, middleware 144, or an application 146.
The input device 150 may receive a command or data to be used by other component (e.g., the processor 120) of the electronic device 101, from the outside (e.g., a user) of the electronic device 101. The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).
The sound output device 155 may output sound signals to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing record, and the receiver may be used for incoming calls. According to an embodiment, the receiver may be implemented as separate from, or as part of the speaker.
The display device 160 may visually provide information to the outside (e.g., a user) of the electronic device 101. The display device 160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector. According to an embodiment, the display device 160 may include touch circuitry adapted to detect a touch, or sensor circuitry (e.g., a pressure sensor) adapted to measure the intensity of force incurred by the touch.
The audio module 170 may convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 may obtain the sound via the input device 150, or output the sound via the sound output device 155 or a headphone of an external electronic device (e.g., an electronic device 102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 101.
The sensor module 176 may detect an operational state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) external to the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
The interface 177 may support one or more specified protocols to be used for the electronic device 101 to be coupled with the external electronic device (e.g., the electronic device 102) directly (e.g., wiredly) or wirelessly. According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
A connecting terminal 178 may include a connector via which the electronic device 101 may be physically connected with the external electronic device (e.g., the electronic device 102). According to an embodiment, the connecting terminal 178 may include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector).
The haptic module 179 may convert an electrical signal into a mechanical stimulus (e.g., a vibration or a movement) or electrical stimulus which may be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
The camera module 180 may capture a still image or moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
The power management module 188 may manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.
The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and the external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication via the established communication channel. The communication module 190 may include one or more communication processors that are operable independently from the processor 120 (e.g., the application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication.
According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate with the external electronic device via the first network 198 (e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 199 (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multi components (e.g., multi chips) separate from each other. The wireless communication module 192 may identify and authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.
The antenna module 197 may transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device 101. According to an embodiment, the antenna module 197 may include an antenna including a radiating element composed of a conductive material or a conductive pattern formed in or on a substrate (e.g., PCB). According to an embodiment, the antenna module 197 may include a plurality of antennas. In such a case, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network 198 or the second network 199, may be selected, for example, by the communication module 190 (e.g., the wireless communication module 192) from the plurality of antennas. The signal or the power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 197.
At least some of the above-described components may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 coupled with the second network 199. Each of the electronic devices 102 and 104 may be a device of a same type as, or a different type, from the electronic device 101.
According to an embodiment, all or some of operations to be executed at the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should perform a function or a service automatically, or in response to a request from a user or another device, the electronic device 101, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service. The one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and transfer an outcome of the performing to the electronic device 101. The electronic device 101 may provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request. To that end, a cloud computing, distributed computing, or client-server computing technology may be used, for example.
Referring to
The electronic device 200 may include a housing 201. According to an embodiment, the housing 201 may be formed on a conductive member and/or a nonconductive member. According to an embodiment, the electronic device 200 may include a touch-screen display 202 (for example, the display device 160 of
According to various embodiments, the electronic device may include a connector 203 (for example, the connecting terminal 178 of
According to various embodiments, an opening 204 for exposing the connector 203 may be formed in at least some areas of the housing 201, and the connector 203 may be disposed within the opening 204. According to various embodiments, a header-type external connector 207 may be connected forwards or backwards to the connector 203. That is, the external connector 207 may be inserted into the connector 203 in any direction regardless of the orientation thereof. According to an embodiment, the external connector 207 may be connected to an external electronic device, and the electronic device 200 and the external electronic device may be connected to each other as the connector 203 and the external connector 207 are connected to each other. According to various embodiments, the external electronic device may be various external electronic devices capable of being connected to the electronic device 200. For example, the external device may include a television (TV), an audio device, a notebook, a computer, a charging device, a memory, a fan, or an antenna (for example, a digital multimedia broadcasting antenna or an FM antenna).
According to an embodiment, the connector 203 may be used as an interface for connecting the electronic device 200 to an external electronic device or a power source (not shown). The electronic device 200 may transmit data of the electronic device 200 to the external electronic device or receive data from the external electronic device through the external connector 207 connected to the connector 203. Further, the electronic device 200 may receive power from a power source through the connector 203 or charge a battery using the power source. According to an embodiment, the connector 203 may be a Universal Serial Bus (USB) type C connector in which a contact substrate 205 may be formed. Further, a mid-plate 206 having an electrically conductive characteristic may be formed within the contact substrate 205, and a plurality of pins may be formed on the upper surface and the lower surface of the contact substrate 205.
According to an embodiment, a plurality of electronic devices 200 may operate while being mutually connected to each other through wireless or wired communication. For example, a smartphone may be connected to a wearable device such as a Head-Mounted Display (HMD) and provide content.
Referring to
According to an embodiment, the external electronic device 302 may include a TV having a USB type C connector or a touch screen. When the external electronic device 302 is connected to the electronic device 301 performing a host (or master) function through the USB type C connector, the external electronic device 302 may perform a client (or slave) function.
When the external electronic device 302 is connected to the electronic device 301, power-related roles or data-related roles of the electronic device 301 and the external electronic device 302 may be determined on the basis of information recognized through the connector. For example, it may be determined whether to operate as a host device (or a Downstream-Facing Port (DFP)) or a client device (or an Upstream-Facing Port (UFP)) from the aspect of data transmission, and it may be determined whether to operate as a device (for example, a source device) for supporting power or a device (for example, a sink device) for receiving power from the aspect of power supply.
For example, in the state in which the electronic device 301 operates as the source device and as the host device and the external electronic device 302 operates as the sink device and as the client device, the data-related roles may be switched using a Power Delivery (PD) message (for example, a DR_SWAP message). In this case, the electronic device 301 may operate as the source device and the client device and the external electronic device 302 may operate as the sink device and the host device.
As described above, the electronic device 301 may be referred to as a host, a source, or a DFP, and the external electronic device 302 may be referred to as a client, a sink, or a UFP, and vice versa. For example, when it is assumed that the electronic device is a TV, a smartphone may be an example of the external electronic device connected to the electronic device. According to an embodiment, the external electronic device 302 may be an accessory device which can be accessed through the connector of the electronic device 301. The accessory device may include a Head-Mounted Display (HMD) or a docking station, and may be connected to an auxiliary accessory device, for example, a power supply device, and receive power.
According to various embodiments, the external electronic device 302 may be connected to the electronic device 301 and share data with the electronic device 301 through, for example, a screen-mirroring scheme. For example, the electronic device 301 may transmit a current screen 303 to the connected external electronic device 302, and the external electronic device 302 may scale (for example, enlarge) the received screen with a predetermined magnification and display a scaled screen 304. Further, content such as an image or a video stored in the memory of the electronic device 301 may be transmitted to the external electronic device 302, and thus the transmitted content may be displayed through a screen of the external electronic device 302.
Referring to
For example, the external electronic device 310 may access the memory of the electronic device 320 to control data stored in the memory or display a screen 312 displayed on the external electronic device 310 on the electronic device 320, as indicated by reference numeral 322. In another example, the electronic device 320 may access the memory of the external electronic device 310 to control (for example, update, delete, or download) data stored in the memory or display a screen of the electronic device 320 in the external electronic device 310.
An embodiment of
As described above, each of the electronic device 320 and the external electronic device 310 may support a role different from (opposite) the current role. The following embodiments will be described on the basis of an accessory device such as a TV or a notebook as an example of the electronic device 320 and a smartphone as an example of the external electronic device 310. However, the electronic device 320 or the external electronic device 310 is not limited to the accessory device or the smartphone. Further, hereinafter, an external electronic device such as a smartphone is referred to as the device playing the host role and an electronic device connected to the external electronic device through a connector is referred to as the device playing the client role, and vice versa. Accordingly, the external electronic device 310 may be referred to as a host, a source, or a DFP, and the electronic device 320 may be referred to as a client, a sink, or a UFP, and vice versa.
For example, the electronic device may include at least one of a smartphone, a tablet Personal Computer (PC), a mobile phone, a video phone, an electronic book (e-book) reader, a desktop PC, a laptop PC, a netbook computer, a Personal Digital Assistant (PDA), a Portable Multimedia Player (PMP), an Moving Picture Experts Group phase 1 or phase 2 (MPEG-1 or MPEG-2) audio layer 3 (MP3) player, a mobile medical appliance, a camera, and a wearable device (e.g., a Head-Mounted-Device (HMD) such as electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic appcessory, electronic tattoos, or a smart watch).
In some embodiments, the electronic device (or external electronic device) may be a smart home appliance. The smart home appliance may include at least one of, for example, a television, a Digital Video Disc (DVD) player, an audio player, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air cleaner, a set-top box, a home automation control panel, a security control panel, a TV box (e.g., Samsung HomeSync™, Apple TV™, or Google TV™), a game console (e.g., Xbox™ and PlayStation™), an electronic dictionary, an electronic key, a camcorder, and an electronic photo frame.
According to another embodiment, the electronic device may include at least one of various medical devices (e.g., various portable medical measuring devices (a blood glucose monitoring device, a heart rate monitoring device, a blood pressure measuring device, a body temperature measuring device, etc.), a Magnetic Resonance Angiography (MRA), a Magnetic Resonance Imaging (MRI), a Computed Tomography (CT) machine, and an ultrasonic machine), a navigation device, a Global Positioning System (GPS) receiver, an Event Data Recorder (EDR), a Flight Data Recorder (FDR), a Vehicle Infotainment Device, an electronic device for a ship (e.g., a navigation device for a ship and a gyro-compass), avionics, security devices, an automotive head unit, a robot for home or industry, an Automatic Teller's Machine (ATM) in banks, Point Of Sales (POS) in a shop, or internet device of things (e.g., a light bulb, various sensors, electric or gas meter, a sprinkler device, a fire alarm, a thermostat, a streetlamp, a toaster, sports equipment, a hot water tank, a heater, a boiler, etc.).
According to some embodiments, the electronic device may include at least one of a part of furniture or a building/structure, an electronic board, an electronic signature receiving device, a projector, and various kinds of measuring instruments (e.g., a water meter, an electric meter, a gas meter, and a radio wave meter). The electronic device according to various embodiments of the disclosure may be a combination of one or more of the aforementioned various devices. The electronic device according to some embodiments of the disclosure may be a flexible device. Further, the electronic device according to an embodiment of the disclosure is not limited to the aforementioned devices, and may include a new electronic device according to the development of technology
Referring to
The electronic device 410 may correspond to an accessory device functionally connected to the external electronic device 420. The electronic device 410 may correspond to, for example, the aforementioned TV or notebook. However, the electronic device 410 according to an embodiment of the disclosure is not limited thereto. Further, although the electronic device 410 is distinguished from, for example, the external electronic device 420, the electronic device 410 may be implemented along with the external electronic device 420 as a single device. For example, the external electronic device 420 may be located in at least a portion of the electronic device 410, or may be configured within the electronic device 410.
The electronic device 410 and the external electronic device 420 may be connected through a wired communication interface. According to various embodiments, the electronic device 410 and the external electronic device 420 may be connected through an image communication interface (for example, an HDMI interface, a DisplayPort interface, a Mobile High-definition Link (MHL) interface, or a USB audio video device interface). The electronic device 410 may be a source device that generates content (for example, image data) and the electronic device 410 may be a sink device that receives content and outputs or reproduces the content. The reverse is possible. According to various embodiments, the electronic device 410 and the external electronic device 420 may be connected through a USB communication interface. The external electronic device 420 may operate as a USB host, and the electronic device 410 may operate as a USB client. The reverse is possible.
The electronic device 410 and the external electronic device 420 may be connected through a connector. The connector may transfer analog or digital data to the inside or outside of the device. The connector may transfer power to the inside or outside of the device. According to various embodiments, the connector may be a USB type C connector. The electronic device 410 and the external electronic device 420 may transmit data and power to each other through a USB type C connector. According to various embodiments, when the electronic device 410 and the external electronic device 420 are connected via the USB type C connector, they may be connected to each other in an alternate mode. For example, an image signal of an image communication interface (for example, a DisplayPort interface of VESA) may be transmitted or received through the USB connector.
According to various embodiments of the disclosure, the type of the wired communication interface and the connector used by the electronic device 410 and the external electronic device 420 is not limited.
When the electronic device 410 is electrically connected to the external electronic device 420, the electronic device 410 may receive power from the external electronic device 420. For example, the electronic device 410 may receive power from the external electronic device 420 through a power port of the connector (for example, a V BUS of the USB connector). The electronic device 410 may be driven using the power supplied from the external electronic device 420.
The electronic device 410 and the external electronic device 420 may transmit status information of each other through an ID terminal of the connector through communication and identify each other. According to an embodiment, the connector may include an ID terminal for supporting a “digital ID” scheme (for example, a CC terminal in the USB type C connector). According to various embodiments of the disclosure, the status information may be a data type that can be transmitted and received through a digital ID terminal included in the connector.
According to another embodiment, the connector may include an ID terminal for supporting a “resistive ID” scheme (for example, an ID terminal in a micro USB connector). According to various embodiments of the disclosure, the status information may be a data type transmitted in order to change a resistance value through a “resistive ID” terminal included in the connector.
The electronic device 410 and the external electronic device 420 may be connected through any of various communication interfaces. For example, the electronic device 410 may include a High-Definition Multimedia Interface (HDMI), an optical interface, a D-SUB interface, or a lightning terminal, and may be connected to the external electronic device 420 on the basis of at least one of the HDMI, the optical interface, the D-SUB interface, and the lightning terminal.
The electronic device 410 may include a processor 415 (for example, a Micro Controller Unit (MCU)), a power management Integrated Circuit (IC) 414, an identification circuit 416 (for example, a Coupling Capacitor Potential Devices (CCPD) IC), a connector 411, a switching circuit 413, and/or a memory 417.
The switching circuit 413 may include at least one element according to various embodiments, and may be a circuit for changing the transmission path of the current according to a specific control signal or a specific condition or short-circuiting or connecting the transmission of the current.
The power management circuit 414 may control the voltage of the power supplied to each element included in the electronic device 410. The power management circuit 414 may output a preset voltage (for example, 3.0V). For example, the power management circuit 414 may include a low drop-out voltage regulator (LDO).
The power management circuit 414 may receive power of the external electronic device 420 or a power supply device (not shown) and output the preset voltage (for example, 3.0V).
The processor 415 may be electrically connected to the connector 411, and may control the operation of the electronic device 410 and/or signal flow between blocks of the electronic device 410 and perform a data-processing function to process data. For example, the processor 415 may be a Central Processing Unit (CPU), an Application Processor (AP), a Micro Controller Unit (MCU), or a Micro Processor Unit (MPU). The processor 415 may be a single core processor or a multi-core processor.
The identification circuit 416 may transmit data received through a data communication terminal 411b of the connector 411 to the processor 415 and a message or information generated by the processor 415 to the external electronic device 420 through the data communication terminal 411b of the connector 411. The identification circuit 416 may include at least one of a Micro-USB Interface Controller (MUIC), a Cable and Connector Integrated Chip (CCIC), or a Power Delivery Integrated Chip (PDIC).
The memory 417 may be electrically connected to the processor 415 and may store an Operating System (OS) of the electronic device 410 and applications required for other option functions, for example, an audio reproduction function and an image or video reproduction function. The memory 417 may correspond to the memory 130 of
The memory 417 may store various pieces of information and programs required to identify the type of the external electronic device according to an embodiment of the disclosure. For example, the program may include a routine for detecting the connection of the external electronic device 420 through the connector 411, a routine for identifying the type of the external electronic device 420 when the connection of the external electronic device 420 is made during a power negotiation step, and a routine for making settings corresponding to the identified external electronic device 420.
According to various embodiments of the disclosure, the memory 417 may store instructions causing the processor 415 to, when executed, identify the connection to the external electronic device through the connector 411, receive one or more pieces of information about power that can be supported by the external electronic device 420 from the external electronic device 420 when the connection to the external electronic device 420 is made through the connector 411, and identify the external electronic device on the basis of at least the one or more pieces of power information.
According to an embodiment, the instructions may be configured to cause the processor 415 to identify predetermined power information for identifying the external electronic device 420 operating as the host among the one or more pieces of power information and identify the type of the external electronic device 420 on the basis of the predetermined power information.
According to an embodiment, the one or more pieces of power information may be received using a Universal Serial Bus (USB) Power Delivery (PD) communication-based source capability message.
According to an embodiment, the source capability message may include at least one of a message header including a field related to the number of data objects, a field related to a message type, and one or more data-object-related fields, and predetermined power information for identifying the external electronic device may be configured in the one or more data-object-related fields.
According to an embodiment, the predetermined power information may include at least one of a predetermined current value and a predetermined voltage value for identifying the external electronic device 420.
According to an embodiment, the instructions may be configured to cause the processor 415 to select at least one piece of power information among the one or more pieces of power information that can be supported by the external electronic device 420 and transmit a power request message including the at least one piece of selected power information to the external electronic device 420.
According to an embodiment, the instructions may be configured to cause the processor 415 to receive a power supply preparation message from the external electronic device 420 after transmitting the power request message, perform power negotiation, based on the received power supply preparation message, and enter an alternate mode when the power negotiation is completed.
According to an embodiment, at least some operations of the processor 415 may be performed by a Configuration Channel (CC) Power Delivery (PD) IC.
The connector 411 may include a device to be functionally connected to the external electronic device 420. The connector 411 may include one or more signal terminals for communication with the external electronic device 420. According to an embodiment, the connector 411 may include a power supply terminal 411a for supplying or receiving power, a data communication terminal 411b for data communication with the external electronic device 420, and/or a ground terminal (not shown). The arrangement of the power supply terminal 411a and the data communication terminal 411b is not limited to what is shown in
The power supply terminal 411a may receive power transmitted from the external electronic device 420 and transmit power transmitted from a power supply device (not shown) to the external electronic device 420.
The data communication terminal 411b may include, for example, D+ and D− terminals and/or Tx+/− and Rx+/− terminals. Various names for the terminal may be used depending on the type of connector. The electronic device 410 may transmit and receive information to and from the external electronic device 420 through the data communication terminal 411b.
According to an embodiment, the connectors 411 and 421 of the electronic device 410 and the external electronic device 420 may be USB type C connectors. The electronic device 410 and the external electronic device 420 may be connected to each other through their own connectors 411 and 421, and it may be determined that the electronic device 410 and the external electronic device 420 are in different operation states. According to the specifications of USB type C, internal communication may be established using configuration pins CC1 and CC2 within the connector, and it may be determined whether the electronic device operates as the host or the client depending on Rp (Pull-Up resistance) and Rd (Pull-Down resistance) to which pins CC1 and CC2 are connected.
According to various embodiments of the disclosure, when the external electronic device 420 operates as the host and the electronic device 410 operates as the device, the electronic device 410 may identify the type of the external electronic device 420 on the basis of a message received through the CC pin of the connector 411 in order to identify the type of the initially connected external electronic device 420. Accordingly, since the electronic device 410 is not required to perform an operation of switching the roles of the host and the device in order to identify the type of the external electronic device 420, the step for identifying the device may be simplified and thus the communication time may be reduced.
Meanwhile, although not illustrated in
The external electronic device 420 may include a processor 424 (for example, a Central Processing Unit (CPU) or an Application Processor (AP)), a power management circuit 423, a battery 422, a connector 421, an identification circuit 426, and/or a memory 425.
The connector 421 may include a device that is functionally connected to the electronic device 410. The connector 421 may include one or more signal terminals for communication with the electronic device 410. The connector 421 may include a power supply terminal 421a for supplying or receiving power, a data communication terminal 421b for data communication with the electronic device 410, and/or a ground terminal (not shown). In this specification, the power supply terminal 421a may be embodied as a first pin and the data communication terminal 421b may be embodied as a second pin.
According to various embodiments of the disclosure, the connector may comply with the USB connector standard. In this case, the power supply terminal 421a may correspond to a VBUS terminal of the USB connector, and the data communication terminal 421b may correspond to D+ and D- or Tx and Rx terminals.
The battery 422 may supply power to each element included in the external electronic device 420. The battery 422 may be, for example, a chargeable secondary cell. The battery 422 may be, for example, a battery electrically connected to the external electronic device 420, an internal battery embedded into the external electronic device 420, or a removable battery that can be removed by the user.
The power management circuit 423 may manage the power supplied to the external electronic device 420. The power management circuit 423 may include a Power Management Integrated Circuit (PMIC) (not shown), a voltage regulator (not shown), a power input/output unit, and a charger Integrated Circuit (IC) (not shown). Further, through a combination of various ICs, circuits, and software, a role to control power and regulate a voltage may be included.
The processor 424 of the external electronic device 420 may control the general operation of the external electronic device 420 and the signal flow between internal blocks of the external electronic device 420 and perform a data-processing function in order to process data. For example, the processor 424 of the external electronic device 420 may be a Central Processing Unit (CPU) or an Application Processor (AP). The processor 424 of the external electronic device 420 may be a single-core processor or a multi-core processor. Alternatively, the processor 424 of the external electronic device 420 may include a plurality of processors.
The processor 424 of the external electronic device 420 may be electrically connected to the connector 421, and may receive a notification indicating whether the electronic device 410 is connected through the connector 421. The processor 424 of the external electronic device 420 may perform a power negotiation step with the electronic device 410 on the basis of the notification. In the power negotiation step, if the external electronic device 420 informs the electronic device 410 of supportable power information, the electronic device 410 may select one piece of power information from among the supportable power information and inform the external electronic device 420 of the selected power information, so that settings based on optimized power information may be made therebetween.
According to various embodiments of the disclosure, in initial connection during the power negotiation step, the external electronic device 420 may carry additional information used for identifying the external electronic device 420 in a power information message transmitted to the electronic device 410. According to an embodiment, the power information message may be a source capability message based on Universal Serial Bus (USB) Power Delivery (PD) communication.
In the initial connection during the power negotiation step, the processor 424 of the external electronic device 420 may generate a power information message including one or more pieces of power information (for example, a current value and voltage value) that can be supported by the external electronic device 420 and predetermined additional information for identifying the external electronic device. According to an embodiment, the predetermined additional information may have a form similar to that of the power information, may accordingly include at least one of the current value and the voltage value, and may have a predetermined value corresponding to the type of the external electronic device in order to identify the type thereof.
The processor 424 of the external electronic device 420 may receive a power request message including at least one piece of power information selected from among supportable power information from the electronic device 410 in response to transmission of the power information and transmit a power supply preparation message to complete the power negotiation step.
The identification circuit 426 may be connected to an ID terminal 421b of the connector 421, may determine which electronic device is connected to the connector 421, and may transmit information on the electronic device (for example, the electronic device 410) to the processor 424 of the external electronic device 420. The identification circuit 426 may be implemented in the form of a chip independently from the processor 424 of the external electronic device 420 and may be included in a portion of the processor 424 of the external electronic device 420, as illustrated.
For example, in the case of the USB type C connector, the ID terminal 421b may correspond to the CC terminal and the identification circuit 426 may correspond to a Configuration Channel Integrated Circuit (CCIC). In the USB connector, the number of CC terminals may be two. For example, the CCIC (corresponding to reference numeral 426 in the drawing) may determine the directivity of a cable connected to the connector 421. One CC terminal may be used to transmit power to a cable (or an external electronic device), and the remaining one CC terminal may be used to determine which device is connected to the connector 421 through communication with a counterpart device connected through the cable and manage the connection.
According to various embodiments of the disclosure, the identification circuit 426 may be omitted. For example, according to various embodiments, the external electronic device 420 may not include the identification circuit 426. The external electronic device 420 may operate in a charging mode, an On-The-Go (OTG) mode, or a power-path mode according to the control of the processor 424 of the external electronic device 420.
The memory 425 may be electrically connected to the processor 424 and may store an Operating System (OS) of the external electronic device 420 and applications required for other option functions, for example, an audio reproduction function and an image or video reproduction function. The memory 425 may correspond to the memory 130 of
According to various embodiments of the disclosure, the memory 425 may store instructions causing the processor 424 to, when executed, identify a connection to the electronic device 410 through the connector 421, transmit one or more pieces of power information including predetermined power information for identifying the external electronic device 420 to the electronic device 410 in the connection to the electronic device 410 through the connector 421, transmit a power supply preparation message when a power request message including selected power information is received from the electronic device 410, and perform a power negotiation step, based on the power request message.
According to an embodiment, the one or more pieces of power information may be transmitted using a USB Power Delivery (USB-PD) communication-based source capability message, the source capability message may include at least one of a message header, including a field related to the number of data objects, a field related to a message type, and one or more data-object-related fields, and predetermined power information for identifying the external electronic device may be configured in the one or more data-object-related fields.
According to an embodiment, at least some functions of the processor 424 may be performed by the identification circuit 426. Further, the processor 424 may be implemented so as to perform at least some of the functions of the identification circuit 426.
Referring to
The electronic device (for example, the electronic device 410) may be electrically connected to an external electronic device (for example, the external electronic device 420) through a connector 500. The connector 500 of the electronic device may have a form such that the connector of the external electronic device can be put thereto in either direction of the forward and backward directions. For example, the arrangement sequence of twelve pins formed on the first surface (for example, surface A) may be the same as the arrangement sequence of twelve pins formed on the second surface (for example, surface B) so that the connector of the external electronic device can be inserted in either of two directions respectively corresponding to the first surface and the second surface. Due to this structure, the user may put the connector of the external electronic device into the connector 500 of the electronic device in a rotated state at 180 degrees.
According to an embodiment, the arrangement of the pins formed on the first surface (for example, surface A) and the second surface (for example, surface B) of the contact substrate formed within the connector 500 may be as shown in
Referring to
The electronic device and/or the external electronic device connected through the USB type C connector determine whether to operate in a host mode or a client mode through communication using a CC pin. According to an embodiment, the electronic device and/or the external electronic device may determine the host mode or the client mode through Rp/Rd resistance connected to the CC pin.
Referring to
When it is determined that the external electronic device operates as the host device 620 and the electronic devices operates as the client device 610 in initial connection through the connector, the host device 620 may transmit power information of the host device 620 in operation 605. The power information may be transmitted through a source capability message in operation 611. A message about power information transmitted from the host device 620 may be a PD message about power supply according to a method specified in the USB type C standard, for example, a source capability message transmitted by the host device 620 in the power negotiation step.
The source capability message includes power information that can be supported by the host device 620, for example, information on which voltage and current can be supplied by the host device 620.
According to various embodiments of the disclosure, the source capability message may include not only one or more pieces of power information that can be supported by the host device 620 but also additional information used for identifying the type of the host device 620. According to an embodiment, the source capability message may include an area (or a field) in which one or more pieces of supportable power information are configured, for example, a first Power Data Object (PDO) field and an area (or a field) in which the additional information is configured, for example, a second PDO field. The PDO may correspond to data containing information on power (for example, voltage and current) that can be supplied by the host device 620. The PDO may be used to carry capabilities of a source device for providing power.
According to an embodiment, when the number of pieces of power information that can be supported by the host device 620 is plural, the source capability message may include a plurality of PDO fields, for example, a maximum of 8 fields. According to an embodiment, in the source capability message, the second PDO field in which the additional information for identifying the type of the host device 620 is configured may be added to the first PDO field in which the supportable power information is configured. At this time, the number of each of the first PDO field and the second PDO field may be a maximum of 8. Further, the additional information for identification may not only be configured using one PDO field but may also be configured using two or more PDO fields.
As described above, according to an embodiment, the additional information for identification may be configured in at least one area among the areas in which the one or more pieces of power information that can be supported by the host device 620 are configured within the source capability message. According to an embodiment, the additional information for identification may include predetermined current and voltage values for identifying the host device 620. For example, the additional information for identification may be configured in the same type as the power information including the current and voltage values. The format of the source capability message will be described below with reference to
Meanwhile, the client device 610 may receive the source capability message from the host device 620 and may transmit a response message thereto (for example, “GoodCRC” message) in operation 615. In operation 621, the client device 610 may analyze the received message and select the power to be requested.
According to an embodiment, the client device 610 may identify predetermined additional information for identifying the type of the external electronic device, that is, the host device 620 operating as the host, among information included in the received source capability message and identify the type of the host device 620 on the basis of the predetermined additional information.
Further, the client device 610 may select power information to be used by the client device 610 among supportable power information included in the source capability message.
As described above, according to various embodiments of the disclosure, the client device 610 may identify the voltage and the current that can be supplied by the host device 620 by identifying a plurality of PDO fields included in the source capability message. For example, in the supportable power information, the voltage can be configured in units of 50 Mv and the current can be configured in units of 10 mA, but the voltage may generally use an integer value such as 5V, 9V, 12V, or 20V. Further, in the supportable power information, the current may mainly use a value having the unit of about 500 mA such as 1 A or 1.5 A.
Meanwhile, according to various embodiments of the disclosure, the additional information for identification may be added in the form of a PDO including at least one of a predetermined voltage value and a current value in the source capability message. According to an embodiment, the predetermined voltage value and current value may be a voltage value and a current value that are not generally used, for example, values other than generally used integer values.
For example, when a PDO having a voltage value of 5.05V (5050 mV) and a current value of 0.01 A (10 mA) is defined as device “D”, if the client device 610 identifies that there is a PDO having a voltage value of 5.05V (5050 mV) and a current value of 0.01 A (10 mA) in a PDO list within the source capability message received from the host device 620, the client device 610 may determine that the type of the host device 620 is device “D”. As described above, according to various embodiments of the disclosure, the voltage value and the current value used for identifying the host device 620 are predetermined values, which may be configured as a voltage value using values even below a decimal point or a current value that is too small to actually be used. Accordingly, since the client device 610 selects a voltage value and a current value that are rarely used, there is no request for the selected voltage value and current value, and thus the selection of incorrect power information can be prevented in advance.
According to an embodiment, the additional information used for identifying the type of the host device 620 may be configured using one PDO but configured through a combination of two or more PDOs. For example, when the number of pieces of power information that can be supported by the host device 620 is 4, 4 PDOs can be used, and a maximum of 8 PDOs can be carried on the source capability message, so that a combination of two or more PDOs among the remaining 4 PDOs is possible.
In operation 625, the client device 610 may transmit a power request message (for example, “Request” message) including selected power to the host device 620 and receive a response message thereto (for example, a “GoodCRC” message) in operation 630. The “Request” message according to the USB PD standard is one of data message types of the PD message that may be transmitted by a sink device requesting power during a power negotiation request interval.
The host device 620 may analyze the power request message and determine whether to accept the provision of selected power in operation 635. Accordingly, the host device 620 may transmit an acceptance message (for example, an “Accept” message) to the client device 610 in operation 640 and receive a response message thereto (for example, a “GoodCRC” message) in operation 645. The “Accept” message is one of control message types of the PD message according to the USB PD standard, which may be transmitted by a reception side that receives a specific message, such as the “Request” message, during the power negotiation.
Subsequently, the host device 620 may switch to requested power in operation 650, transmit a power supply message (for example, “PS_Ready” message) indicating that power supply is prepared to the client device 610 in order to inform the client device 610 of the power switching in operation 655, and then receive a response message thereto (for example, a “GoodCRC” message) in operation 660, which completes the power negotiation step between the host device 620 and the client device 610. The “PS_Ready” message is one of control message types of the PD message according to the USB PD standard, which may be transmitted by a source device in order to indicate that power supply has reached a desired operation state. As described above, when the power negotiation step is completed, the client device 610 may enter a specific mode (for example, an alternate mode). Accordingly, the user who views a display screen of the host device 620 through the client device 610 such as a TV can perform control to transmit user input for controlling a screen displayed on the client device 610 to the host device 620.
As described above, according to various embodiments of the disclosure, it is possible to identify the host device by simply adding the PDO for additional information for identification into the PD message, for example, the source capability message indicating power information, without any change in the USB PD communication scheme. Further, according to various embodiments of the disclosure, it is possible to identify which device is the host device without using a message for swapping roles (“DR swap” message) and a separate message for identifying a device (“Device Identify (DI)” message). Accordingly, device identification is possible without the step of exchanging the “DR swap” message and the step of transmitting the DI message after the power negotiation step, and thus the step may be simplified and the communication time may be reduced.
Referring to
The message header 715 may include a field 735 related to the number of data objects actually carried in the packet and a field 740 related to a message type.
The format of the field 740 related to the message type is as shown in
According to an embodiment of the disclosure, in order to indicate that the PD message is a message used to carry one or more pieces of power information, a bit value may be configured in the field 740 related to the message type. For example, referring to
A maximum of 8 pieces of power information may be carried in the one or more data-object-related fields 720, and the amount of power information may correspond to the number of voltages that can be supplied by the host device 620. According to an embodiment, the voltage fixed to 5V may be necessarily provided according to the USB PD standard, and in the case of a charger, three or four pieces of power information may be carried in the one or more data-object-related fields 720. According to an embodiment of the disclosure, predetermined power information for identifying the external electronic device (for example, the host device 620) may be configured in at least one of the data-object-related fields 720. According to an embodiment, at least one of “Reserved” 745 or “Voltage in 50 mV units” and “Maximum Current in 10 mA units” 750 of the data-object-related fields 720 may be used for predetermined power information. For example, at least one of a predetermined current value or a predetermined voltage value for identifying the external electronic device may be configured as at least one of “Reserved” 745 or “Voltage in 50 mV units” and “Maximum Current in 10 mA units” 750. For a more detailed description, reference is to be made to
Referring to
First,
Referring to
Meanwhile, although one PDO is used in the above description, power information for identifying the type of the host device may be configured using a combination of two or more PDOs, as illustrated in
The operation method 900 may include operations 905 to 925. Each step/operation of the operation method may be performed by at least one of an electronic device (for example, the electronic device 101 or 420 or at least one processor (for example, the processor 120 or 424 of the electronic device) and an identification circuit (for example, the identification circuit 426) of the electronic device. According to an embodiment, at least one of operations 905 to 925 may be omitted, the sequence of some operations may be changed, or other operations may be added.
Referring to
Subsequently, the electronic device may transmit the one or more pieces of generated power information to the external electronic device in operation 915. According to an embodiment, the one or more pieces of power information may include not only predetermined power information for identifying the electronic device but also one or more pieces of information about power that can be supported by the electronic device. The electronic device may receive a power request message including the selected power information from the external electronic device in operation 920, and thus a power negotiation step may be completed in operation 925. The selected power information may be one or more pieces of power information selected by the external electronic device from among one or more pieces of information about power that can be supported by the electronic device.
According to an embodiment, a message in which the one or more pieces of power information are carried is a source capability message, the source capability message may include at least one of a message header including a field related to the number of data objects and a field related to a message type and one or more data-object-related fields, and the predetermined power information for identifying the external electronic device may be configured in the one or more data-object-related fields.
The operation method 1000 may include operations 1005 to 1030. Each step/operation of the operation method may be performed by at least one of an electronic device (for example, the electronic device 101 or 410) or at least one processor (for example, the processor 120 or 415) of the electronic device) and an identification circuit (for example, the identification circuit 416) of the electronic device. According to an embodiment, at least one of operations 1005 to 1030 may be omitted, the sequence of some operations may be changed, or other operations may be added.
Referring to
The electronic device may identify the external electronic device on the basis of at least some of the one or more pieces of power information in operation 1015.
According to an embodiment, the one or more pieces of power information may include not only predetermined power information for identifying the external electronic device but also one or more pieces of information about power that can be supported by the external electronic device. The predetermined power information may include at least one of a predetermined current value and a predetermined voltage value for identifying the external electronic device.
According to an embodiment, the operation of identifying the external electronic device may include an operation of identifying predetermined power information for identifying the external electronic device among the one or more pieces of power information and an operation of identifying the type of the external electronic device operating as the host on the basis of the predetermined power information.
In operation 1020, the electronic device may select at least one piece of power information from among the one or more pieces of information about power that can be supported by the external electronic device. After transmitting a power request message including the selected power information to the external electronic device in operation 1025, the electronic device may receive a power supply preparation message from the external electronic device and may perform power negotiation on the basis of the received power supply preparation message in operation 1030. When the power negotiation step is completed, the electronic device may enter an alternative mode.
Referring to
When the client device desires to identify the type of the host device connected through USB communication, communication is possible after the client device first recognizes a USB device and executes an application to perform corresponding HID communication, and the USB device recognition may be completed later than a CC-PD and a Delivery Port (DP). For example, as illustrated in
As described above, when a change to the display setting matching the connected host device is made, DP reconnection and panel re-initiation are required, in which case it takes almost the same amount of time as initial connection due to the DP reconnection and the panel re-initiation.
If turning on of the display is not performed after panel initiation, but the client device 1110 waits until identification of the host device 1120 through HID communication is completed due to concern about a pixel damage phenomenon in the case in which the default video frame rate does not match, a display-on-response-rate may always be slow.
However, according to various embodiments of the disclosure, the client device may identify the type of the host device during a power negotiation process through the CC-PD 1130 performing first communication in initial connection between the client device 1110 and the host device 1120, as indicated by reference numeral 1160 in
Referring to
As described above, if the display is turned on with the default setting and a change to an audio setting suitable for the connected host device is made while the audio signal is output, DP reconnection (the case in which the audio capability of the device should be newly transmitted) and codec re-initiation may be needed. The DP reconnection and the codec re-initiation may take an amount of time similar to initial connection. If turning on of an amplifier is not performed immediately after initiation, but the client device 1210 waits until the type of the host device is identified through HID communication due to concern about noise in the case in which the audio sampling rate does not match, an audio response rate may be slow.
Referring to
Various embodiments disclosed herein may be implemented by software (e.g., program 140) including an instruction stored in machine-readable storage media (e.g., internal memory 136 or external memory 138). The machine is a device that calls the stored instruction from the storage media and can operate according to the called instruction, and may include an electronic device (e.g., electronic device 101) according to the disclosed embodiments. The instruction, when executed by a processor (e.g., processor 120), may cause the processor to directly execute a function corresponding to the instruction or cause other elements to execute the function under the control of the processor. The instruction may include a code that is generated or executed by a compiler or interpreter. The machine-readable storage media may be provided in the form of non-transitory storage media. Here, the term “non-transitory” only means that the storage media is tangible without including a signal, irrespective of whether data is semi-permanently or transitorily stored in the storage media.
According to one embodiment, a method according to various embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or may be distributed online via an application store (e.g., Play Store™). If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
Each of the elements (e.g., modules or programs) according to various embodiments may include a single entity or multiple entities, and in various embodiments, some sub elements among the above elements may be omitted, or other sub elements may be added. Alternatively or additionally, some elements (e.g., modules or programs) may be integrated into a single element, and the integrated element may still perform the functions performed by each of the corresponding elements in the same or similar manner as before the corresponding elements are integrated. Operations performed by a module, a programming module, or other elements according to various embodiments may be executed sequentially, in parallel, repeatedly, or in a heuristic manner. At least some operations may be executed according to another sequence, may be omitted, or may further include other operations.
The term “module” as used herein may include a unit consisting of hardware, software, or firmware, and may, for example, be used interchangeably with the term “logic”, “logical block”, “component”, “circuit”, or the like. The “module” may be an integrated component, or a minimum unit for performing one or more functions or a part thereof. For example, a module may be an Application-Specific Integrated Circuit (ASIC).
Various embodiments disclosed herein may be implemented by software (e.g., program 140) including an instruction stored in machine-readable storage media (e.g., internal memory 136 or external memory 138). The machine is a device that calls the stored instruction from the storage media and can operate according to the called instruction, and may include an electronic device (e.g., electronic device 101) according to the disclosed embodiments. The instruction, when executed by a processor (e.g., processor 120), may cause the processor to directly execute a function corresponding to the instruction or cause other elements to execute the function under the control of the processor. The instruction may include a code that is generated or executed by a compiler or interpreter. The machine-readable storage media may be provided in the form of non-transitory storage media. Here, the term “non-transitory” only means that the storage media is tangible without including a signal, irrespective of whether data is semi-permanently or transitorily stored in the storage media.
According to one embodiment, a method according to various embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or may be distributed online via an application store (e.g., Play Store™). If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
Each of the elements (e.g., modules or programs) according to various embodiments may include a single entity or multiple entities, and in various embodiments, some sub elements among the above elements may be omitted, or other sub elements may be added. Alternatively or additionally, some elements (e.g., modules or programs) may be integrated into a single element, and the integrated element may still perform the functions performed by each of the corresponding elements in the same or similar manner as before the corresponding elements are integrated. Operations performed by a module, a programming module, or other elements according to various embodiments may be executed sequentially, in parallel, repeatedly, or in a heuristic manner. At least some operations may be executed according to another sequence, may be omitted, or may further include other operations.
The computer readable recoding medium may include a hard disk, a floppy disk, magnetic media (e.g., a magnetic tape), optical media (e.g., a Compact Disc Read Only Memory (CD-ROM) and a Digital Versatile Disc (DVD)), magneto-optical media (e.g., a floptical disk), a hardware device (e.g., a Read Only Memory (ROM), a Random Access Memory (RAM), a flash memory), and the like. In addition, the program instructions may include high class language codes, which can be executed in a computer by using an interpreter, as well as machine codes made by a compiler. The aforementioned hardware electronic device may be configured to operate as one or more software modules in order to perform the operation of the disclosure, and vice versa.
The programming module according to the disclosure may include one or more of the aforementioned components or may further include other additional components, or some of the aforementioned components may be omitted. Operations executed by a module, a programming module, or other component elements according to various embodiments of the disclosure may be executed sequentially, in parallel, repeatedly, or in a heuristic manner. Furthermore, some operations may be executed in a different order or may be omitted, or other operations may be added.
The computer readable recoding medium may include a hard disk, a floppy disk, magnetic media (e.g., a magnetic tape), optical media (e.g., a Compact Disc Read Only Memory (CD-ROM) and a Digital Versatile Disc (DVD)), magneto-optical media (e.g., a floptical disk), a hardware device (e.g., a Read Only Memory (ROM), a Random Access Memory (RAM), a flash memory), and the like. In addition, the program instructions may include high class language codes, which can be executed in a computer by using an interpreter, as well as machine codes made by a compiler. The aforementioned hardware electronic device may be configured to operate as one or more software modules in order to perform the operation of the disclosure, and vice versa.
The programming module according to the disclosure may include one or more of the aforementioned components or may further include other additional components, or some of the aforementioned components may be omitted. Operations executed by a module, a programming module, or other component elements according to various embodiments of the disclosure may be executed sequentially, in parallel, repeatedly, or in a heuristic manner. Furthermore, some operations may be executed in a different order or may be omitted, or other operations may be added.
According to various embodiments, a storage medium having instructions stored therein is provided. The instructions may be configured to cause at least one processor to, when executed by the at least one processor, perform at least one operation. The at least one operation may include an operation of identifying a connection to an external electronic device through a connector including one or more signal terminals for communication with the external electronic device, an operation of receiving one or more pieces of information about power that can be supported by the external electronic device from the external electronic device in the connection to the external electronic device through the connector, and an operation of identifying the external electronic device, based on at least some of the one or more pieces of power information.
Various embodiments of the disclosure disclosed in this specification and the drawings are merely specific examples presented in order to easily describe technical details of the disclosure and to help the understanding of the disclosure, and are not intended to limit the scope of the disclosure. Therefore, it should be construed that, in addition to the embodiments disclosed herein, all modifications and changes or modified and changed forms derived from the technical idea of various embodiments of the disclosure fall within the scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
10-2018-0104593 | Sep 2018 | KR | national |