Abstract:
A circuit includes: a first electrical interface including a first pin, a resistor module, an alternating current signal source, a voltage detection module, and a controller. One end of the resistor module is electrically connected to the first pin. The alternating current signal source is electrically connected to the other end of the resistor module, and configured to generate an alternating current detection signal. The voltage detection module is connected to the first pin, and configured to detect a maximum voltage value and a minimum voltage value that are on the first pin within a period of the alternating current detection signal. The controller is separately connected to the alternating current signal source and the voltage detection module, and configured to, when a difference between the maximum voltage value and the minimum voltage value is less than a first threshold, determine that water enters the first electrical interface.
Abstract:
A random access method and a device are provided, to enable a device in the Internet of Things to implement random access. The method includes: selecting, by a terminal from at least two frequencies, frequencies used to send a physical random access channel PRACH signal, as frequencies occupied by target PRACH resources, where the at least two frequencies each have a preset bandwidth, and there is no intersection between frequency bands of the at least two frequencies; generating, by the terminal, a target PRACH signal based on the frequencies occupied by the target PRACH resources, a root allocated by a base station, and a cyclic shift corresponding to the root allocated by the base station; and sending, by the terminal, the target PRACH signal to the base station on the target PRACH resources.
Abstract:
This application relates to the field of wireless communications, and in particular, to a resource scheduling technology for vehicle to vehicle communication in a wireless communications system. In a resource scheduling method, a first terminal device receives a second-vehicle message sent by at least one second terminal device, where the second-vehicle message carries vehicle status information of the second terminal device. The first terminal device determines a historical resource occupation status of the at least one second terminal device, and selects, based on the vehicle status information indicating a vehicle location and a traveling status of the second terminal device, a first resource used for sending a first-vehicle message.
Abstract:
Embodiments of this application disclose a relay transmission method and system, and a related device. The method includes: determining, by a relay terminal, a vehicle existing between a vehicle terminal i and a vehicle terminal j based on vehicle location information in received broadcast messages sent by N vehicle terminals; and when it is obtained through calculation that link quality of a communication link Rij used when the vehicle terminal i and the vehicle terminal j communicate with each other is lower than a preset threshold, forwarding, to the vehicle terminal j, a broadcast message sent by the vehicle terminal i, and forwarding, to the vehicle terminal i, a broadcast message sent by the vehicle terminal j. A relay forwarding function of the relay terminal avoids communication interruption or communication distance limitation caused by blocking due to dynamic and unpredictable factors such as a large vehicle within the Internet of vehicles, thereby improving reliability of message transmission within the Internet of vehicles.
Abstract:
A data routing method used to implement data routing in a communications system in which a plurality of networks that use different data bearer protocols are integrated is produced. The method includes: a routing apparatus receives data by using an input port, and determines a data bearer protocol attribute of the input port; the routing apparatus determines an attribute of the data based on the data bearer protocol attribute of the input port; the routing apparatus determines based on the attribute of the data, a data bearer protocol attribute of an output port used to output the data; and determines based on the data bearer protocol attribute of the output port, the output port used to output the data, and outputting the data by using the determined output port.
Abstract:
A method and an apparatus for migrating a virtual machine across virtualization systems, and a system, where a first virtualization system in which a source virtual machine is located specifies a temporary address of a destination virtual machine. After a second migration tool of a second virtualization system migrates the to-be-migrated virtual machine to the second virtualization system to generate the destination virtual machine, a first migration tool of the first virtualization system controls a migration agent on the destination virtual machine to modify the address of the destination virtual machine to an address of the source virtual machine such that the address of the virtual machine remains unchanged before and after migration, thereby shortening service interruption duration caused by virtual machine migration.
Abstract:
Embodiments disclose an authentication method, a mobile communications authentication platform, and a device. The method of the embodiments of the present invention includes: receiving, by a mobile communications authentication platform, first identifier information of a first device and second identifier information of a second device. The method also includes searching, by the mobile communications authentication platform, a correspondence between identifier information of devices on the mobile communications authentication platform according to the first identifier information and the second identifier information, determining whether the first identifier information is corresponding to the second identifier information, and feeding back a determining result to the first device.
Abstract:
Embodiments of the present invention relate to a method and a system for personalized advertisement push based on user interest learning. The method may include: obtaining multiple user interest models through multitask sorting learning; extracting an object of interest in a video according to the user interest models; and extracting multiple visual features of the object of interest, and according to the visual features, retrieving related advertising information in an advertisement database. Through the method and the system provided in embodiments of the present invention, a push advertisement may be closely relevant to the content of the video, thereby meeting personalized requirements of a user to a certain extent and achieving personalized advertisement push.
Abstract:
A computer implemented method for self-learning of a control system. The method includes creating an initial knowledge base. The method learns first principles using the knowledge base. The method creates initial control commands derived from the knowledge base. The method generates constraints for the control commands. The method performs constrained reinforcement learning by executing the control commands with the constraints and observing feedback to improve the control commands. The method enriches the knowledge base based on the feedback.
Abstract:
This application provides example optical communications apparatuses. One example optical communications apparatus includes a control apparatus and an optical module matching apparatus. The control apparatus can output a first control signal to the control end. An input end of the optical module matching apparatus can connect to a first optical module and receive a first electrical signal output by the first optical module. An output end of the optical module matching apparatus can output a first serial signal. The control apparatus can output a second control signal to the control end. The input end of the optical module matching apparatus can receive a second electrical signal output by the second optical module. The output end of the optical module matching apparatus can output a second serial signal. The first electrical signal and the second electrical signal can have different level types.