The disclosure relates to an electronic device and a charging device for providing an update function of a firmware program and a method of controlling the electronic device and the charging device.
The software of electronic devices, such as smartphones and Bluetooth devices, requires continuous firmware updates even after a product is released to maintain stable performance and fix bugs. Firmware program updates may be based on information related to firmware binary within an electronic device or information related to firmware binary on the firmware over-the-air (FOTA) server.
According to an aspect of the disclosure, an electronic device includes: a communicator including one or more signal lines configured to transmit a signal to and to receive a signal from a charging device; at least one memory storing one or more instructions; and at least one processor configured to execute the one or more instructions, wherein the one or more instructions, when executed by the at least one processor, cause the electronic device to: based on detecting a connection between the charging device and the electronic device, obtain version information of a firmware program installed on the charging device from the charging device via the one or more signal lines, based on the version information being different from reference version information, transmit a notification signal for updating the firmware program to the charging device, wherein the notification signal is configured to cause the charging device to switch a signal transmission/reception mode of the charging device from a power signal transmission/reception mode to a data signal transmission/reception mode, and transmit firmware update data to the charging device via the one or more signal lines.
The one or more instructions, when executed by the at least one processor, may further cause the electronic device to: based on the signal transmission/reception mode being the power signal transmission/reception mode, transmit a power signal to and receive a power signal from the charging device via the one or more signal lines, and based on the signal transmission/reception mode being the data signal transmission/reception mode, transmit a data signal to and receive a data signal from the charging device via the one or more signal lines.
The one or more instructions, when executed by the at least one processor, may further cause the electronic device to: based on the signal transmission/reception mode being the data signal transmission/reception mode, reduce a maximum permitted voltage level of the one or more signal lines and stop transmitting and receiving the power signals.
The one or more instructions, when executed by the at least one processor, may further cause the electronic device to: transmit the firmware update data to the charging device based on a charge level of a battery of the electronic device being greater than or equal to a predetermined reference value and a charge level of a battery of the charging device being greater than or equal to a predetermined reference value.
The one or more instructions, when executed by the at least one processor, may further cause the electronic device to: based on a cover of the charging device being closed, transmit the firmware update data to the charging device.
The one or more instructions, when executed by the at least one processor, may further cause the electronic device to: download the reference version information from an external server.
The reference version information may corresponds to version information of the firmware update data stored in the electronic device.
According to an aspect of the disclosure, a charging device includes: a communicator including one or more signal lines configured to transmit a signal to and to receive a signal from an electronic device; at least one memory storing one or more instructions; and at least one processor configured to execute the one or more instructions, wherein the one or more instructions, when executed by the at least one processor, cause the charging device to: transmit version information of a firmware program installed on the charging device to the electronic device, based on receiving a notification signal for updating the firmware program from the electronic device, switch a signal transmission/reception mode for the one or more signal lines from a power signal transmission/reception mode to a data signal transmission/reception mode, receiving firmware update data from the electronic device, and update, based on the firmware update data, the firmware program.
The one or more instructions, when executed by the at least one processor, may further cause the charging device to: based on the signal transmission/reception mode being the power signal transmission/reception mode, transmit a power signal to and receive a power signal from the electronic device via the one or more signal lines, and based on the signal transmission/reception mode being the data signal transmission/reception mode, transmit a data signal to and receive a data signal from the electronic device via the one or more signal lines.
The one or more instructions, when executed by the at least one processor, may further cause the charging device to: based on the signal transmission/reception mode being the data signal transmission/reception mode, reduce a maximum permitted voltage level of the one or more signal lines and stop transmitting and receiving the power signals.
The one or more instructions, when executed by the at least one processor, may further cause the charging device to: based on a cover of the charging device being closed, switching the signal transmission/reception mode to the power signal transmission/reception mode, and based on the charging device stopping charging of the electronic device, switching the signal transmission/reception mode from the power signal transmission/reception mode to the data signal transmission/reception mode.
The one or more instructions, when executed by the at least one processor, may further cause the charging device to: receive the firmware update data from the electronic device based on a charge level of a battery of the electronic device being greater than or equal to a predetermined reference value and a charge level of a battery of the charging device being greater than or equal to a predetermined reference value.
The one or more instructions, when executed by the at least one processor, may further cause the charging device to: receive the firmware update data from the electronic device when a cover of the charging device is closed.
According to an aspect of the disclosure, a method of controlling an electronic device includes: based on detecting a connection between a charging device and the electronic device, obtaining, from the charging device, version information of a firmware program installed on the charging device; based on the version information being different from reference version information, transmitting a notification signal for updating the firmware program to the charging device, wherein the notification signal is configured to cause the charging device to switch a signal transmission/reception mode for one or more signal lines of the charging device; and transmitting, to the charging device, firmware update data via the one or more signal lines.
According to an aspect of the disclosure, a method of controlling a charging device includes: based on receiving a notification signal for updating a firmware program of the charging device is received from an electronic device, switching a signal transmission/reception mode for one or more signal lines of the charging device from a power signal transmission/reception mode to a data signal transmission/reception mode; receiving firmware update data from the electronic device; and updating, based on the firmware update data, the firmware program.
The above and other aspects and features of certain embodiments of the present disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
To charge an electronic device, it may be essential to connect two pins, a power line and a ground line, between a charging device of an electronic device and the electronic device being charged. Using power line communication (PLC) data communication over the power line may not only improve charging efficiency but also enable the transmission of additional data.
Conventional PLC communication technology focuses on data communication for efficient charging between an electronic device and a charging device of the electronic device using a power line and a ground line. However, in this case, issues with contact between the power line and the ground line or external noise cause the data transmission speed to be slow and unstable, making it difficult to reliably transmit large amounts of data. Additionally, while it is possible to wirelessly upgrade the firmware program embedded in an electronic device using firmware over-the-air (FOTA) technology when there is an issue with the electronic device during charging, there is an issue that the firmware program cannot be upgraded wirelessly when the issue is with the charging device of the electronic device. In this case, although data may be transmitted to the charging device of the electronic device via PLC communication, the data transmission speed is slow and unstable when using communication via a power line, as previously mentioned, making it difficult to address issues with the charging device of the electronic device.
Herein, according to an electronic device for updating a firmware program and a method of controlling the electronic device, when there is a need to address issues with the charging device of the electronic device or upgrade the performance of the charging device, a method is proposed for optimizing a power line for data transmission and addressing issues with the charging device of the electronic device.
Hereinafter, examples will be described in detail with reference to the accompanying drawings. When describing the embodiments with reference to the accompanying drawings, like reference numerals refer to like elements and any repeated description related thereto will be omitted.
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 connected to the processor 120 and may perform various data processing or computation. According to one or more embodiments, as at least a part of data processing or computation, the processor 120 may store a command or data received from another component (e.g., the sensor module 176 or the communicator 190) in a volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in a non-volatile memory 134. According to one or more embodiments, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), or an assistance processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), 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. For example, when the electronic device 101 includes the main processor 121 and the assistance processor 123, the assistance 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 separately from the main processor 121 or as a portion of the main processor 121.
The assistance processor 123 may control at least some of functions or states related to at least one (e.g., the display module 160, the sensor module 176, or the communicator 190) of 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 along with the main processor 121 while the main processor 121 is in an active state (e.g., executing an application). According to one or more embodiments, the auxiliary processor 123 (e.g., an ISP or a CP) may be implemented as a portion of another component (e.g., the camera module 180 or the communicator 190) that is functionally related to the auxiliary processor 123. According to one or more embodiments, the auxiliary processor 123 (e.g., an NPU) may include a hardware structure specified for artificial intelligence (AI) model processing. An AI model may be generated by machine learning. Such learning may be performed by, for example, the electronic device 101 in which AI is performed, or performed via a separate server (e.g., the server 108). Learning algorithms may include, but are not limited to, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The AI model may include a plurality of artificial neural network layers. An artificial neural network may include, for example, a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more thereof, but is not limited thereto. The AI model may additionally or alternatively include a software structure other than the hardware structure.
The memory 130 may store various pieces of data used by at least one component (e.g., the processor 120 or the sensor module 176) of the electronic device 101. The 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 as software in the memory 130 and may include, for example, an operating system (OS) 142, middleware 144, or an application 146.
The input module 150 may receive, from the outside (e.g., a user) of the electronic device 101, a command or data to be used by another component (e.g., the processor 120) of the electronic device 101. The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
The sound output module 155 may output a sound signal to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing a recording. The receiver may be used to receive an incoming call. According to one or more embodiments, the receiver may be implemented separately from the speaker or as a part of the speaker.
The display module 160 may visually provide information to the outside (e.g., a user) of the electronic device 101. The display module 160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, the hologram device, and the projector. According to one or more embodiments, the display module 160 may include a touch sensor adapted to sense a touch, or a pressure sensor adapted to measure the intensity of force incurred by the touch.
The audio module 170 may convert a sound into an electric signal or vice versa. According to one or more embodiments, the audio module 170 may obtain the sound via the input module 150 or output the sound via the sound output module 155 or a charging device (e.g., the electronic device 102 such as a speaker or headphones) directly or wirelessly connected to 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 generate an electric signal or data value corresponding to the detected state. According to one or more embodiments, 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 connected to the external electronic device (e.g., the electronic device 102) directly or wirelessly. According to one or more embodiments, 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.
The connecting terminal 178 may include a connector via which the electronic device 101 may be physically connected to the external electronic device (e.g., the electronic device 102). According to one or more embodiments, the connecting terminal 178 may include, for example, an HDMI connector, a USB connector, an 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 an electrical stimulus which may be recognized by a user via his or her tactile sensation or kinesthetic sensation. According to one or more embodiments, 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 and moving images. According to one or more embodiments, the camera module 180 may include one or more lenses, image sensors, ISPs, or flashes.
The power management module 188 may manage power supplied to the electronic device 101. According to one or more embodiments, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
The battery 189 may supply power to at least one component of the electronic device 101. According to one or more embodiments, 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 communicator 190 (also referred to herein as a “communicator”) 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 communicator 190 may include one or more CPs that are operable independently of the processor 120 (e.g., an AP) and that support a direct (e.g., wired) communication or a wireless communication. According to one or more embodiments, the communicator 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 104 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 legacy cellular network, a fifth generation (5G) network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a 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 multiple components (e.g., multiple chips) separate from each other. The wireless communication module 192 may identify or 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 SIM 196.
The wireless communication module 192 may support a 5G network after a 4G network, and next-generation communication technology, e.g., new radio (NR) access technology. The NR access technology may support enhanced mobile broadband (eMBB), massive machine type communications (mMTC), or ultra-reliable and low-latency communications (URLLC). The wireless communication module 192 may support a high-frequency band (e.g., an mmWave band) to achieve, e.g., a high data transmission rate. The wireless communication module 192 may support various technologies for securing performance on a high-frequency band, such as, e.g., beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., the electronic device 104), or a network system (e.g., the second network 199). According to one or more embodiments, the wireless communication module 192 may support a peak data rate (e.g., 20 gigabits per second (Gbps) or more) for implementing eMBB, loss coverage (e.g., 164 decibels (dB) or less) for implementing mMTC, or U-plane latency (e.g., 0.5 milliseconds (ms) or less for each of downlink (DL) and uplink (UL), or a round trip of 1 ms or less) for implementing URLLC.
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 one or more embodiments, the antenna module 197 may include an antenna including a radiating element including a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to one or more embodiments, the antenna module 197 may include a plurality of antennas (e.g., array antennas). In such a case, at least one antenna appropriate for a communication scheme used in a communication network, such as the first network 198 or the second network 199, may be selected by, for example, the communicator 190 from the plurality of antennas. The signal or power may be transmitted or received between the communicator 190 and the external electronic device via the at least one selected antenna. According to one or more embodiments, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as a part of the antenna module 197.
According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one or more embodiments, the mmWave antenna module may include a PCB, an RFIC disposed on a first surface (e.g., the bottom surface) of the PCB or adjacent to the first surface and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., array antennas) disposed on a second surface (e.g., the top or a side surface) of the PCB, or adjacent to the second surface and capable of transmitting or receiving signals in the designated high-frequency band.
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 one or more embodiments, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the external electronic devices 102 or 104 may be a device of the same type as or a different type from the electronic device 101. According to one or more embodiments, all or some of operations to be executed by the electronic device 101 may be executed by one or more external electronic devices (e.g., the external devices 102 and 104, or the server 108). For example, if the electronic device 101 needs to 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 may transfer a result of the performance to the electronic device 101. The electronic device 101 may provide the result, with or without further processing the result, as at least part of a response to the request. To that end, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device 101 may provide ultra low-latency services using, e.g., distributed computing or MEC. In another embodiment, the external electronic device 104 may include an Internet-of-things (IoT) device. The server 108 may be an intelligent server using machine learning and/or a neural network. According to one or more embodiments, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., a smart home, a smart city, a smart car, or healthcare) based on 5G communication technology or IoT-related technology. The server 108 may be FOTA that contains information for wirelessly upgrading a firmware program of the electronic device.
In one or more embodiments, the electronic device 101 may be a wearable device (e.g., wireless earphones, augmented reality (AR) glasses, and a smart watch). When the electronic device 101 is a wireless earphone, the electronic device 101 is a true wireless stereo (TWS) device and may output a sound from the sound output module 155 using data received from the connected external electronic device 102. The electronic device 101 may transmit voice received from the external electronic device 102 through the input module 150. However, the electronic device 101 for updating the firmware program according to one or more embodiments of the present disclosure is not limited to wireless earphones and may be any electronic device related to a firmware update of an electronic device driven by firmware, such as an AR device (e.g., an electronic device 212 of
In one or more embodiments, the external electronic device 102 may be a charging device (e.g., a cradle). The electronic device 101 may be electrically connected to the external electronic device 102 through signal lines. In one or more embodiments, when the electronic device 101 is electrically connected to a cradle while paired with a user terminal, the pairing with the user terminal is terminated, and the electronic device 101 may charge the battery 189 using power supplied from the cradle.
In one or more embodiments, the external electronic device 102 (e.g., the electronic device 102) may include a cover. The cover may open or close an accommodation part in which the electronic device 101 is combined with the charging device and seated depending on an operation.
Referring to
Referring to
In one or more embodiments, the electronic device may determine whether version information of the firmware program of the charging device is different from reference version information in operation 315. For example, the electronic device may compare the version information of the firmware program of the charging device with the reference version information located within the electronic device or on a FOTA server.
In one or more embodiments, the electronic device may transmit a notification signal for updating the firmware program to the charging device in operation 320. For example, the electronic device may transmit, to the charging device, the notification signal for updating the firmware program such that the charging device may switch a signal transmission/reception mode for signal lines to smoothly receive update data of the firmware program via the signal lines.
In one or more embodiments, the electronic device may transmit update data of the firmware program to the charging device in operation 330. For example, in order to ensure stable data transmission, the electronic device may transmit the update data of the firmware program to the charging device when the cover of the charging device is closed, a charged amount of the battery of the electronic device is greater than or equal to a predetermined reference value, and a charged amount of the battery of the charging device is greater than or equal to a predetermined reference value. In one or more embodiments, the electronic device may further perform a recovery operation to correct an error when there is an error in the transmission of the update data of the firmware program.
Referring to
In one or more embodiments, the charging device may switch a signal transmission/reception mode for the signal lines in operation 420. For example, the charging device may switch a signal transmission/reception mode for a power line included in a signal line after stopping charging of the electronic device to prevent stability degradation due to charging and external noise when transmitting data via the signal lines.
In one or more embodiments, the charging device may receive update data of the firmware program from the electronic device in operation 430. For example, in order to ensure stable data transmission, the charging device may receive the update data of the firmware program from the electronic device when the cover of the charging device is closed while the charging device and the electronic device are grounded, the battery of the electronic device is greater than or equal to a predetermined range, and the battery of the charging device is greater than or equal to a predetermined range.
In one or more embodiments, the charging device may update the firmware program of the charging device in operation 440. For example, the charging device may update, based on the update data of the received firmware program, the firmware program of the charging device and match firmware version information of the charging device to reference version information.
Referring to
In one or more embodiments, in operation 520, after the electronic device is placed on the charging device, an operation of closing the cover of the charging device may be performed. As the cover of the charging device is closed, the contact between the electronic device and the charging device is stably established. Thus, the transmission and reception of a power signal and a data signal via signal lines may be smoothly performed. The embodiments of the present disclosure are applicable not only to a particular product in which the transmission and reception of a data signal is performed only when the cover of the charging device is closed after the electronic device is placed but also to other products in which the transmission and reception of a data signal between the electronic device and the charging device are performed even when a cover is not closed or in which no separate cover exists. In this case, operation 510 in which the electronic device is placed on the charging device and operation 520 in which the cover of the charging device is closed may not be selectively performed depending on the product.
In one or more embodiments, in operation 530, firmware program version information of the charging device may be received from the electronic device. The charging device may transmit, to the electronic device via signal lines, firmware program version information related to, for example, charging of the electronic device.
In one or more embodiments, an operation of comparing the version information of the firmware program of the charging device with reference version information may be performed in operation 540. The electronic device may compare the version information of the firmware program of the charging device with the reference version information located within the electronic device or on a FOTA server. For example, the reference version information may correspond to version information of update data of the firmware program.
In one or more embodiments, in operation 545, the electronic device may determine whether a firmware program update of the charging device is required. For example, the electronic device may determine that the firmware program update of the charging device is required when the version information of the firmware program of the charging device does not match the reference version information.
In one or more embodiments, in operation 550, the charging device may switch a power line included in the signal lines to a so-called high-speed power line communication (HPLC) mode. For example, the HPLC mode may be an operation that lowers a transmittable voltage level of a power line to a predetermined range or less to facilitate data transmission. In one or more embodiments, for example, when the power line included in the signal lines is switched to the HPLC mode, an operation of the charging device to charge the electronic device may be deactivated to maintain the transmittable voltage level of the power line of the charging device.
In one or more embodiments, in operation 560, the electronic device may transmit firmware program update data to the charging device. For example, the electronic device may transmit the firmware program update data to the charging device when the power line included in the signal lines is in the HPLC mode. For example, in order to ensure stable transmission of the firmware program update data, the electronic device may transmit the firmware program update data to the charging device when the cover of the charging device is closed while the charging device and the electronic device are grounded, the battery of the electronic device is greater than or equal to a predetermined range, and the battery of the charging device is greater than or equal to a predetermined range.
In one or more embodiments, in operation 570, the charging device may update a firmware program. For example, the charging device may update the firmware program of the charging device, based on the update data of the firmware program received from the electronic device via the power line in the so-called HPLC mode, which lowers the transmittable voltage level of the power line to a predetermined range or less.
Referring to
According to one or more embodiments, an electronic device (e.g., the electronic device 101 of
In one or more embodiments, the electronic device 101, 210, 212, 214, 600 may transmit and receive a power signal to and from the charging device 220, 222, 224, 700 via the signal lines when the signal transmission/reception mode is the power signal transmission/reception mode and may transmit and receive a data signal to and from the charging device 220, 222, 224, 700 via the signal lines when the signal transmission/reception mode is the data signal transmission/reception mode.
In one or more embodiments, the electronic device 101, 210, 212, 214, 600 may reduce the maximum permitted voltage level of the signal lines and stop transmitting and receiving a power signal when the signal transmission/reception mode is a data signal transmission mode.
In one or more embodiments, the electronic device 101, 210, 212, 214, 600 may perform an operation of transmitting update data of the firmware program to the charging device 220, 222, 224, 700 when the cover of the charging device 220, 222, 224, 700 is closed, a charged amount of a battery 189, 640 of the electronic device 101, 210, 212, 214, 600 is greater than or equal to a predetermined reference value, and a charged amount of a battery 189, 740 of the charging device 220, 222, 224, 700 is greater than or equal to a predetermined reference value.
In one or more embodiments, the processor 120, 610 may further perform an operation of downloading reference version information from an external server 108, 230.
In one or more embodiments, the reference version information may correspond to version information of update data of the firmware program stored in the electronic device 101, 210, 212, 214, 600.
According to one or more embodiments, a method of controlling an electronic device (e.g., the electronic device 101 of
According to one or more embodiments, the method of controlling the electronic device for updating the firmware program may further include an operation of downloading the reference version information from an external server 108, 230.
The transmitting of the update data of the firmware program to the charging device 220, 222, 224, 700 may be performed when the cover of the charging device 220, 222, 224, 700 is closed, a charged amount of the battery 189, 640 of the electronic device 101, 210, 212, 214, 600 is greater than or equal to a predetermined reference value, and a charged amount of the battery 189, 740 of the charging device 220, 222, 224, 700 is greater than or equal to a predetermined reference value.
Referring to
According to one or more embodiments, a charging device (e.g., the electronic device 102 of
The processor 120, 710 may further perform an operation of switching a signal transmission/reception mode for signal lines from a power signal transmission/reception mode to a data signal transmission/reception mode when receiving a notification signal for updating a firmware program from the electronic device 101, 210, 212, 214, 600. The processor 120, 710 may further perform an operation of receiving update data of the firmware program from the electronic device 101, 210, 212, 214, 600. The processor 120, 710 may further perform an operation of updating the firmware program of the charging device 220, 222, 224, 700 based on the received update data.
The charging device 220, 222, 224, 700 may transmit and receive a power signal to and from the electronic device 101, 210, 212, 214, 600 via the signal lines when the signal transmission/reception mode is the power signal transmission/reception mode and may transmit and receive a data signal to and from the electronic device 101, 210, 212, 214, 600 via the signal lines when the signal transmission/reception mode is the data signal transmission/reception mode.
The charging device 220, 222, 224, 700 may reduce the maximum permitted voltage level of the signal lines and stop transmitting and receiving a power signal when the signal transmission/reception mode is the data signal transmission mode.
The charging device 220, 222, 224, 700 may perform an operation of switching the signal transmission/reception mode for the power line when the cover of the charging device 220, 222, 224, 700 is closed.
The charging device 220, 222, 224, 700 may perform an operation of switching the signal transmission/reception mode for the signal lines from the power signal transmission/reception mode to the data signal transmission/reception mode after the charging device 220, 222, 224, 700 stops charging the electronic device 101, 210, 212, 214, 600.
The charging device 220, 222, 224, 700 may perform an operation of receiving update data of the firmware program from the electronic device 101, 210, 212, 214, 600 when the cover of the charging device 220, 222, 224, 700 is closed, a charged amount of the battery 189, 640 of the electronic device 101, 210, 212, 214, 600 is greater than or equal to a predetermined reference value, and a charged amount of the battery 189, 740 of the charging device 220, 222, 224, 700 is greater than or equal to a predetermined reference value.
According to one or more embodiments, a method of controlling a charging device of an electronic device for updating a firmware program may include an operation of switching a signal transmission/reception mode for signal lines included in a communicator 190, 730 from a power signal transmission/reception mode to a data signal transmission/reception mode when a notification signal for updating a firmware program is received from the electronic device 101, 210, 212, 214, 600. The method of controlling the charging device may further include an operation of receiving update data of the firmware program from the electronic device 101, 210, 212, 214, 600. The method of controlling the charging device may further include an operation of updating the firmware program of the charging device 220, 222, 224, 700, based on the received update data.
The operation of switching the signal transmission/reception mode for the signal lines included in the communicator 190, 730 from the power signal transmission/reception mode to the data signal transmission/reception mode may include an operation of lowering a transmittable voltage level of a power line included in the signal lines to a predetermined range or less.
The operation of switching the signal transmission/reception mode for the signal lines included in the communicator 190, 730 from the power signal transmission/reception mode to the data signal transmission/reception mode may be performed when the cover of the charging device 220, 222, 224, 700 is closed.
The operation of receiving update data of the firmware program from the electronic device 101, 210, 212, 214, 600 may be performed when the cover of the charging device 220, 222, 224, 700 is closed, a charged amount of a battery 189, 640 of the electronic device 101, 210, 212, 214, 600 is greater than or equal to a predetermined reference value, and a charged amount of a battery 189, 740 of the charging device 220, 222, 224, 700 is greater than or equal to a predetermined reference value.
The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. According to one or more embodiments of the present disclosure, the electronic device is not limited to those described above.
It should be appreciated that various embodiments of the present disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related components. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. As used herein, “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B or C,” “at least one of A, B and C,” and “at least one of A, B, or C,” may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “1st” and “2nd,” or “first” and “second” may be used to simply distinguish a corresponding component from other components, and do not limit the components in other aspects (e.g., importance or order). It is to be understood that if a component (e.g., a first component) is referred to, with or without the term “operatively” or “communicatively,” as “coupled with,” “coupled to,” “connected with,” or “connected to” another component (e.g., a second component), the component may be coupled with the other component directly (e.g., by wire), wirelessly, or via a third component.
As used in connection with various embodiments of the present disclosure, the term “module” may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, “logic,” “logic block,” “part,” or “circuitry.” A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to one or more embodiments, the module may be implemented in a form of an application-specific integrated circuit (ASIC).
Various embodiments as set forth herein may be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., the internal memory 136 or the external memory 138) that is readable by a machine (e.g., the electronic device 101). For example, a processor (e.g., the processor 120) of the machine (e.g., the electronic device 101) may invoke at least one of the one or more instructions stored in the storage medium, and execute it. This allows the machine to be operated to perform at least one function according to the at least one instruction invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, the term “non-transitory” simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
According to one or more embodiments, a method according to various embodiments of the present 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., a compact disc read-only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., PlayStore™), or between two user devices (e.g., smartphones) directly. 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.
According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities, and some of the multiple entities may be separately disposed in different components. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to various embodiments, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
| Number | Date | Country | Kind |
|---|---|---|---|
| 10-2022-0099107 | Aug 2022 | KR | national |
| 10-2022-0107057 | Aug 2022 | KR | national |
This application is a by-pass continuation of International Application No. PCT/KR2023/007590, filed on Jun. 2, 2023, which is based on and claims priority to Korean Patent Application No. 10-2022-0099107, filed in the Korean Intellectual Property Office on Aug. 9, 2022, and Korean Patent Application No. 10-2022-0107057, filed in the Korean Intellectual Property Office on Aug. 25, 2022, the disclosures of which are incorporated by reference herein in their entireties.
| Number | Date | Country | |
|---|---|---|---|
| Parent | PCT/KR2023/007590 | Jun 2023 | WO |
| Child | 18971890 | US |