Abstract:
Methods, systems, and apparatus, including computer programs encoded on computer storage media for driver detection are described. One example method includes monitoring data provided by an accelerometer associated with a client device. It is determined whether the data indicates a particular event associated with a vehicle. In response to determining that the data indicates the particular event associated with the vehicle, one or more micro-activities associated with the vehicle are determined based on data from at least one of the accelerometer and one or more other sensors associated with the client device. Results from each of the one or more micro-activities are provided to a trained model associated with the client device. In response to providing the results to the trained model, one or more vehicular events in a time sequence are identified based on the one or more micro-activities associated with the vehicle.
Abstract:
A transmission control method includes sending or receiving, by a first device, first data to or from a second device through a first communication connection, detecting, by the first device when sending or receiving the first data to or from the second device through the first communication connection, that an error has occurred on the first communication connection, and sending, by the first device, error information of the first communication connection to the second device through a second communication connection, where the second communication connection is different from the first communication connection, and the error information indicates that the error has occurred on the first communication connection.
Abstract:
A data sending method, a data receiving method, a data transmit end, and a data receive end are provided. The data sending method includes: obtaining a transmission path used for data transmission, where the transmission path currently uses a first physical link group to transmit data; switching, based on a preconfigured link switching policy and transmission information of the transmission path, a physical link used by the transmission path from the first physical link group to a second physical link group; sending a first link switching notification message to a data receive end, where the first link switching notification message includes information indicating that the physical link used by the transmission path is switched from the first physical link group to the second physical link group; and continuing transmitting the data through a transmission path that uses the second physical link group.
Abstract:
A transmission control method is provided: sending/receiving, by a first device, first data to/from a second device through a first communication connection; in a process in which the first device sends/receives the first data to/from the second device through the first communication connection, detecting, by the first device, that an error occurs on the first communication connection; and sending, by the first device, error information of the first communication connection to the second device through a second communication connection, where the second communication connection is different from the first communication connection, and the error information is used to indicate that the error occurs on the first communication connection.
Abstract:
Please replace the original abstract paragraph with the following new paragraph. A mobile terminal includes a housing and a camera. The camera is rotatably coupled to the housing and configured for locking at a specified position. When the camera is locked at a first specified position, the camera is located inside the housing and one side of the camera is exposed outside the housing, and when the camera is locked at a second specified position, a lens of the camera is exposed outside the housing. The mobile terminal further includes a drive apparatus and a touch apparatus. The drive apparatus is configured to drive the camera to rotate, and the touch apparatus includes a touch sensor and a control chip. After receiving a touch signal from the touch sensor, the control chip controls the drive apparatus to drive the camera to rotate to the second specified position.
Abstract:
A data transmission method and apparatus, where a transmission end determines a redundancy time according to a delay requirement of a service, where the redundancy time indicates a time used for transmitting redundant data of native data of the service, and the redundancy time is less than or equal to a time indicated by the delay requirement. The transmission end determines a redundancy quantity N. The transmission end determines N redundancy transmission time intervals according to the redundancy time and the redundancy quantity. After the native data of the service is sent, in case of feedback data is not received within an nth redundancy transmission time interval, transmitting the redundant data of the native data for the nth time according to the nth redundancy transmission time interval.
Abstract:
Embodiments of the present invention provide a cathode active material for a lithium-ion secondary battery, where the cathode active material for a lithium-ion secondary battery includes a silicon-based active substance and a nitrogen-doped carbon material. The silicon-based active substance is encased in the interior of the nitrogen-doped carbon material, and the silicon-based active substance is one or more of a nanoparticle and a nanowire; a micropore is arranged on at least one of the exterior and the interior of the nitrogen-doped carbon material; and a material of the nitrogen-doped carbon material is a nitrogen-doped carbon network. The cathode active material for a lithium-ion secondary battery solves a problem in the prior art that a silicon material, when used as a cathode active material, easily falls from a current collector due to a great volume change and has a low conductivity.
Abstract:
Embodiments of this disclosure provide techniques used in a location sensing service and a timeline service implemented in a host device for providing location history. In particular, the location sensing service may passively collect location coordinates of the device using requests made by third party applications. The location sensing service may receive a signal comprising an intent for a location request in response to a change in the user activity or in response to a change in a cellular identification of the device. The device may determine that a time elapsed from a previous location request and a time corresponding with receiving one or more of the signals exceed a time threshold and, based thereon, request a location coordinate of the device.
Abstract:
Embodiments of this application relate to the terminal field and disclose a data transmission method and a terminal, to increase a speed of data transmission between terminals and ensure stability during the data transmission. The method includes: A terminal establishes a wireless connection to another terminal; in addition, the terminal establishes a USB connection to the another terminal; then, the terminal can display a first interface, where the first interface includes at least one piece of candidate data; a user may select to-be-transmitted data from the at least one piece of candidate data after performing a first input on the first interface; and the terminal may send the to-be-transmitted data to the another terminal through the wireless connection and the USB connection after the user performs a second input on the first interface.
Abstract:
A wearable device is provided, including a shell, a body installed in the shell to implement a function of the wearable device, and a detachable part. The detachable part is detachably installed on the shell. An air hole is provided on the shell, a first end of the air hole is located on a surface of the shell that faces the body, and a second end of the air hole is located on a surface of the shell that faces away from the body. The detachable part and the shell jointly form a dirt collection groove and at least one air channel, the air hole communicates with the at least one air channel through the dirt collection groove, and an end of the air channel that faces away from the dirt collection groove communicates with an external environment of the shell.