Abstract:
Embodiments of this application disclose a backup power supply method and a related device. The method includes: calculating a battery capacity of a battery based on historical power outage alarm information and historical power consumption information of a station in which the battery is located; if a power outage occurs in the station, calculating a state of charge of the battery based on actual power consumption and power outage duration of the station, and the battery capacity; and sending a current target energy saving level of the battery to the station if it is determined, based on the state of charge, that an energy saving level of the battery changes, so that the station uses a power saving policy corresponding to the target energy saving level.
Abstract:
In a data processing method, a processing device performs encoding, based on spatial position data and time position data of a trajectory point of a trajectory according to an encoding rule of a hybrid code of a preset level in an index database, to obtain a hybrid code of each trajectory point. The hybrid code includes temporal information and spatial position information of the trajectory point. The processing device then queries a similar trajectory in the index database based on the hybrid code of each trajectory point. The index database includes hybrid codes of a plurality of levels, and the index database includes hybrid codes with trajectory information that includes a trajectory identifier and a trajectory length.
Abstract:
This application provides a data transmission method and an electronic device. The method includes: establishing, by an electronic device, a multipath transmission control protocol MPTCP connection to a first application server, where the MPTCP connection includes a first TCP connection and a second TCP connection, and a data transmission delay of the first TCP connection is less than a data transmission delay of the second TCP connection; and receiving, by the electronic device, indication information from the first application server, where the indication information includes a type identifier used to indicate a type of a data stream sent by the first application server; receiving, by the electronic device preferentially by using the first TCP connection or the second TCP connection, the data stream from the first application server according to the indication information.
Abstract:
The present invention discloses a bandwidth adjustment method and a related device, so as to flexibly adjust a bandwidth. A controller obtains behavior characteristic statistics sent by an end cloud node device, and obtains bandwidth resources remaining on a system. The behavior characteristic statistics are a statistical result indicating behavior characteristics of occupying network bandwidth resources by a user when accessing the end cloud node device. The controller determines a bandwidth adjustment amount of the end cloud node device according to the behavior characteristic statistics and bandwidth remaining on the system. The controller sends a bandwidth adjustment instruction to a first network device. The bandwidth adjustment instruction is used to instruct the first network device to adjust, according to the bandwidth adjustment amount, a bandwidth allocated to the end cloud node device by a network device on a transmission link.
Abstract:
Relating to the field of wireless communications, a method and an apparatus for determining a signal-to-noise ratio in wireless communication are provided. The method includes: determining an effective signal-to-noise ratio of a received signal of current user equipment in the wireless communication; acquiring at least one parameter used to correct the effective signal-to-noise ratio; and determining, based on a mapping relationship used to correct the effective signal-to-noise ratio, a corrected signal-to-noise ratio corresponding to the at least one parameter and the effective signal-to-noise ratio.
Abstract:
An image processing method and an electronic device, where the method includes acquiring a value, an average value and a value of a standard deviation of the first factor of the first image; acquiring a value, an average value and a value of a standard deviation of a first factor of a to-be-processed second image; acquiring a value of a new first factor of the second image according to the average value and the value of the standard deviation of the first factor of the first image, the value, the average value and the value of the standard deviation of the first factor of the second image; and generating a third image according to the value of the new first factor of the second image. Therefore, a user can perform personalized image processing, an image processing manner is expanded, image processing efficiency is improved and user experience is improved.
Abstract:
A method for synchronizing contact information, comprising: receiving contact information to be updated from an enterprise address book server; and sending an updating request to a public address book server through a private channel with the public address book server, wherein the updating request comprises a pre-stored user identification and the contact information to be updated, the user identification is an identification of a user in the public address book server, and the public address book server is enabled to update the contact information to be updated in a user address book corresponding to the user identification. By utilizing the present disclosure, contact information synchronization may be performed between an enterprise address book server and a public address book server, which not only is convenient for use but also has low service cost.
Abstract:
A method may be applied to an electronic device configured with a foldable display. The display includes a first area, a second area, and a third area, and when the electronic device is in a folded form, an included angle between the first area and the third area is less than a first preset angle, and two sides of a third area are the first area and the second area. The method includes: displaying a first interface in the first area, where the first interface includes one or more touchable areas; determining a first touch area between a user and the third area; mapping a touch function of a first touchable area in the first interface to the first touch area; detecting a first operation in the first touch area; and controlling the first touchable area in the first interface based on the first operation.
Abstract:
This application provides a power consumption control method, apparatus, and system for an electric device, and pertains to the field of electronic technologies. In solutions provided in this application, after a power consumption reduction instruction is received, an electric device can be controlled, based on total power consumption of the electric device and remaining electricity of a first power source, to perform a power consumption reduction operation on a target service.
Abstract:
A connection establishment method includes a terminal device obtaining historical data of a multipath transmission control protocol (MPTCP) connection established between the terminal device and an application server. The historical data includes a data transmission delay of a transmission control protocol (TCP) connection corresponding to a Wi-Fi network and a data transmission delay of a TCP connection corresponding to a cellular network. The terminal device determines, based on the historical data, that the data transmission delay of the TCP connection corresponding to the cellular network is less than or equal to the data transmission delay of the TCP connection corresponding to the Wi-Fi network, and establishes a first TCP connection to the application server through an interface of the cellular network; and after the first TCP connection is successfully established, the terminal device establishes a second TCP connection to the application server through an interface of the Wi-Fi network.