Abstract:
A method, a device, and a terminal are provided for controlling a flash light. In the method, the device obtains position data of an object to be photographed. The device determines a parameter of the flash light with respect to the object to be photographed based on the position data. Depending on different positions of the object to be photographed, different parameters of flash light are provided to the flash light to obtain a clear image.
Abstract:
A charger for charging a terminal, includes: a power supply device configured to output a direct current (DC) charging current, the power supply device including a voltage output port and a feedback receiving port; a charging port configured to connect to the terminal, and to output the DC charging current from the power supply device to the terminal, the charging port including a power supply port and a data signal port, the power supply port being connected to the voltage output port and configured to output the DC charging current to the terminal; a charging control device; and a switch device provided between the feedback receiving port and the charging port, and configured to connect the feedback receiving port to the power supply port or the data signal port according to control of the charging control device.
Abstract:
A method and a device are provided for controlling a smart home power supply. In the method, the device obtains one or more addresses for one or more smart home power supplies connected to the smart router, and obtains information on a plurality of home appliances connected to the one or more smart home power supplies. The device establishes a correspondence between the information on the home appliances and the addresses of the one or more smart home power supplies; and obtaining control information for a home appliance. The device searches for an address of a smart home power supply connected to the home appliance from the correspondence. The device sends a control instruction to the smart router according to the control information and the address of the smart home power supply to control the smart home power supply to perform a corresponding operation.
Abstract:
The present disclosure relates to an electronic device and a data transmission system. A first electronic device includes a micro universal serial bus (USB) interface, a central processing unit (CPU) and a diode, wherein a pull-circuit for an identity (ID) pin of the CPU is coupled to a line between the ID pin of the CPU and an ID pin of the micro USB interface; the diode is coupled between the ID pin of the CPU and the ID pin of the micro USB interface, and is coupled between the pull-up circuit and the ID pin of the micro USB interface; the diode has a conducting direction from the ID pin of the CPU to the ID of the micro USB interface. With the present disclosure, the electronic device may be prevented from being damaged.
Abstract:
Embodiments of the present disclosure disclose a terminal and method for controlling a screen. The method comprises: during a calling or call originating process of the terminal, determining whether a distance between a specified area and a human body is larger than a distance threshold value based on an electrical signal generated by the screen when the specified area of a screen of the terminal gets close to the human body; controlling the screen to be off if it is determined that the distance is not larger than the distance threshold value, and controlling the screen to be on if it is determined that the distance is larger than the distance threshold value. By adopting the technical solution disclosed in the embodiments of the present disclosure, the on and off status of the screen can be controlled more precisely during the calling or call originating process of the terminal.
Abstract:
A power supply charging method is provided. The method includes: detecting a positive electrode voltage of a cell in a power supply when the power supply is in a charging state; determining that the detected positive electrode voltage of the cell is not lower than a preset voltage; and controlling a charging mode of the power supply to be switched from a constant current charging mode into a constant voltage charging mode.
Abstract:
The present disclosure relates to an electronic device and a data transmission system. A first electronic device includes a micro universal serial bus (USB) interface, a central processing unit (CPU) and a diode, wherein a pull-circuit for an identity (ID) pin of the CPU is coupled to a line between the ID pin of the CPU and an ID pin of the micro USB interface; the diode is coupled between the ID pin of the CPU and the ID pin of the micro USB interface, and is coupled between the pull-up circuit and the ID pin of the micro USB interface; the diode has a conducting direction from the ID pin of the CPU to the ID of the micro USB interface. With the present disclosure, the electronic device may be prevented from being damaged.
Abstract:
In the connector, a plurality of parallel flanges and groove pins between every two of the parallel flanges are additionally provided to the middle of the connector plug. A plurality of parallel grooves and flange pins between every two of the parallel grooves are additionally provided to the middle of the connector socket. The plurality of flanges of the connector plug are inserted into the plurality of grooves of the connector socket. The mating face of the connector plug is in contact with the mating face of the connector socket.
Abstract:
A headphone socket assembly for use in electronic equipment, includes: a headphone socket electrically connected to a circuit board in the electronic equipment; and an electromagnetic shielding device disposed at a periphery of the headphone socket.
Abstract:
The present disclosure relates to an earphone socket, an earphone plug, an earphone and an electronic device. For example, the earphone socket may include a socket body in which an earphone jack is formed. The earphone socket may include multiple ground terminals, which may be arranged in the earphone jack. The ground terminals may contact a ground section disposed on an earphone plug when the earphone plug is inserted into the earphone jack. The technical solutions of the present disclosure reduce earphone crosstalk and improve tone quality.