Abstract:
A light sensor status control method, includes: a processor (110) determines a display time period and a non-light-emitting time period in a image refresh cycle (501); and the processor (110) controls an optical transmitter of a light sensor (180G) to transmit an optical signal when pixels in a display area that is of an OLED display screen (194) and that corresponds to the light sensor do not emit light in the image refresh cycle, and the processor (110) controls the optical transmitter not to transmit an optical signal when the pixels in the display area that is of the OLED display screen (194) and that corresponds to the light sensor (180G) emits light (502). Therefore, a problem that the screen blinks because the light sensor emits infrared light is alleviated, and a display effect of the screen is improved.
Abstract:
This application discloses a transaction processing method and a device that may be used in the field of network technologies. The method includes: A transmitting device determines a first order flag for a generated first transaction based on service logic of an application, and obtains order auxiliary information of the first transaction. The order flag indicates a dependency relationship (for example, forward dependency and backward blocking) between different transactions. This application does not depend on an operation type of a transaction. A transaction order between transactions may be set, and the receiving device ensures an execution order of each transaction based on an order flag, provided that a transaction relationship is fully expressed. The transaction order is flexibly defined, to meet the requirements of different scenarios and improve processing performance.
Abstract:
Embodiments of the present invention relate to a power adjustment device and method. A vectoring control entity VCE provided by embodiments of the present invention includes: a downlink FEXT determining module, configured to determine a power value of downlink FEXT caused to a signal on a line corresponding to a port i by a signal on a line corresponding to a port j, and a receive power value of an FTU-R corresponding to the port i; and a downlink receive power adjustment module, configured to: when the port i is activated, determine, according to the two power values determined by the downlink FEXT determining module, a virtual power margin corresponding to the port i and send the virtual power margin to the FTU-R corresponding to the port i.
Abstract:
A method, an apparatus and a system are provided, which relate to the communications field, for determining a transmission path of a packet, and can solve a problem that a determined transmission path of a packet is not accurate enough. The method includes determining, by a network device, a packet; acquiring, by the network device, a characteristic of the packet and an attribute of the packet according to the packet; and sending, by the network device, the characteristic of the packet, the attribute of the packet, and an attribute of the network device to a control device, so that the control device determines a transmission path of the packet according to the characteristic of the packet, the attribute of the packet, and the attribute of the network device.
Abstract:
A protection circuit includes: a first gain module, configured to receive a first input signal, scale the first input signal according to a first scaling factor, to obtain a first analog signal, receive a third scaling factor from a processing module, and scale the second input signal according to the third scaling factor, to obtain a second analog signal; an analog-to-digital converter, configured to convert the first analog signal into a first digital signal, and convert the second analog signal into a second digital signal; the processing module, configured to determine, according to a voltage value of the first digital signal and a preset scaling factor determining rule, the third scaling factor and a fourth scaling factor; and a second gain module, configured to scale the first digital signal according to a second scaling factor, and scale the second digital signal according to the fourth scaling factor.
Abstract:
A communication connection method and an electronic device are provided. The method includes establishing, by an electronic device, a first communication connection based on a first profile, where the eSIM comprises the first profile, in response to an operation of establishing a communication connection based on a second profile, establishing, by the electronic device, a second communication connection based on the second profile without terminating the first communication connection, where the first profile and the second profile are comprised in the same eSIM, and the first profile is different from the second profile.
Abstract:
This application relates to the field of communications technologies, and discloses a Wi-Fi communication method and an electronic device. The method includes the following steps: An AP device is connected to a first device by using a target channel. The AP device supports full-duplex communication. On this basis, when the target channel is idle, the AP device sends a control message to the first device by using the target channel, where the control message includes a time period in which the AP device occupies the target channel. The first device determines, based on the time period, a time for sending a first data frame, where the sending time is in the time period. Then the first device sends the first data frame to the AP device at the sending time by using the target channel.
Abstract:
Embodiments of the present invention provide a fault diagnosis method and apparatus. A service in the fault diagnosis method relates to at least one user, and the fault diagnosis method includes: determining whether a terminal of each user allows performing fault diagnosis for the service; and performing fault diagnosis for the service if the terminal of each user allows performing fault diagnosis for the service. In the embodiments of the present invention, fault diagnosis for the user related service cannot be performed unless allowed by a user terminal or allowed by both the user terminal and a system side. Thereby, it is ensured that fault diagnosis is performed in a secure environment, which better complies with security laws and regulations.
Abstract:
A method, an apparatus and a system are provided, which relate to the communications field, for determining a transmission path of a packet, and can solve a problem that a determined transmission path of a packet is not accurate enough. The method includes determining, by a network device, a packet; acquiring, by the network device, a characteristic of the packet and an attribute of the packet according to the packet; and sending, by the network device, the characteristic of the packet, the attribute of the packet, and an attribute of the network device to a control device, so that the control device determines a transmission path of the packet according to the characteristic of the packet, the attribute of the packet, and the attribute of the network device.
Abstract:
Embodiments of the present invention disclose a human-machine interaction method and apparatus. The method includes: capturing a line-of-sight direction; determining a change of an angle between a line of sight and a screen, and/or a change of a distance between a user and the screen according to the line-of-sight direction; and performing, according to the change of the angle and/or the change of the distance, a corresponding operation on content displayed on the screen. Corresponding to the foregoing method, the foregoing apparatus includes: a line-of-sight tracking unit, a processing unit, and an executing unit. In the present invention, an action of a user can be determined without depending on gravity sensing, and a corresponding operation can be performed on content displayed on a screen.