Abstract:
In a path determining method, a first device obtains a path health degree of a forwarding path from a source network element to a destination network element, where the path health degree is based on network element health degrees of network elements and link health degrees of links in the forwarding path, the network element health degree is based on a network element fault type and a network element fault occurrence frequency within a first monitoring periodicity, and the link health degree is based on a link fault type and a link fault occurrence frequency within a second monitoring periodicity; and determines a target forwarding path based on constraint information and the path health degree, where the constraint information includes health degree constraint information, and the health degree constraint information indicates a condition that a path health degree of the target forwarding path is to meet.
Abstract:
This application discloses a method for controlling an electronic device to perform photoplethysmography detection. The method includes obtaining historical detection data of a photoplethysmography sensor, calculating a confidence of the historical detection data, determining, based on the calculated confidence of the historical detection data, whether a light source to be turned on by the photoplethysmography sensor in a next detection time segment includes a light source different from a light source turned on when the historical detection data is obtained, and determining that a photoelectric sensing element to be turned on in the next detection time segment is a photoelectric sensing element corresponding to the determined light source to be turned on.
Abstract:
A method includes obtaining a filtered waveform signal, marking the waveform signal as K signal line segments based on monotonicity, extracting line segment data of each signal line segment, and determining a line segment matching template of the waveform signal based on the line segment data of each signal line segment, where the line segment matching template includes M consecutive signal line segments, and M is an integer less than K. The method further includes matching each of the K signal line segments with the M signal line segments included in the line segment matching template, and determining a target wave group of the waveform signal based on a matching result of each signal line segment. The method further includes determining periodic signal data of the waveform signal based on line segment data of the target wave group.
Abstract:
Information processing method and apparatus relating to the field of communications and information processing technologies is presented. The method and apparatus can include acquiring a search criterion entered by a user, where the search criterion includes a name of an entity and selecting, according to the name of the entity, a target triplet including the name of the entity from a knowledge base that is created in advance, where the target triplet further includes an attribute of the entity and an attribute value of the attribute, and displaying the name of the entity, the attribute of the entity, and the attribute value of the attribute.
Abstract:
A system for implementing interconnection fault tolerance between CPUs, a first CPU and a second CPU implements interconnection through a first CPU interconnect device and a second CPU interconnect device. The system adds a data channel between a first SerDes interface of the first CPU interconnect device and a second SerDes interface of the second CPU interconnect device, and transmits link connection state information and a link control signal through the added data channel. The system monitors a link state of any one link in a CPU interconnection system, transmits the link state through the added data channel, recovers any one of the connection links when determining whether any one of the first connection link, the second connection link and the third connection link is faulty.
Abstract:
This application discloses a premature beat detection method, an electronic device. The premature beat detection method in this application includes: performing premature beat detection on a user by using a premature beat detection function; determining a premature beat type of the user by using a premature beat type determining function when detecting that the user has a premature beat by using the premature beat detection function, and calculating premature beat load of the user based on detection data obtained by the premature beat detection function; and reminding the user of a premature beat risk when the calculated premature beat load is greater than a premature beat load threshold corresponding to the premature beat type determined by the premature beat type determining function.
Abstract:
Embodiments of the present invention provide an information presentation method and device. The method includes: receiving, by a mobile terminal, first information provided by a communications network; determining, by the mobile terminal, a presentation priority of the first information in a current situation of a user; and sending the first information to a wearable device when the presentation priority of the first information in the current situation is greater than or equal to a second preset value, so that the wearable device presents the first information to the user. According to the information presentation method and device provided by the embodiments of the present invention, information can be presented according to a scene of a user, so that a presentation effect is improved, and interference of information unrelated to a current situation with the user is reduced.
Abstract:
Embodiments of the present invention provide an information presentation method and device. The method includes: receiving, by a mobile terminal, first information provided by a communications network; determining, by the mobile terminal, a presentation priority of the first information in a current situation of a user; and sending the first information to a wearable device when the presentation priority of the first information in the current situation is greater than or equal to a second preset value, so that the wearable device presents the first information to the user. According to the information presentation method and device provided by the embodiments of the present invention, information can be presented according to a scene of a user, so that a presentation effect is improved, and interference of information unrelated to a current situation with the user is reduced.
Abstract:
A system for implementing interconnection fault tolerance between CPUs, a first CPU and a second CPU implements interconnection through a first CPU interconnect device and a second CPU interconnect device. The system adds a data channel between a first SerDes interface of the first CPU interconnect device and a second SerDes interface of the second CPU interconnect device, and transmits link connection state information and a link control signal through the added data channel. The system monitors a link state of any one link in a CPU interconnection system, transmits the link state through the added data channel, recovers any one of the connection links when determining whether any one of the first connection link, the second connection link and the third connection link is faulty.
Abstract:
A method and an apparatus for adjusting an input/output (I/O) channel on a virtual platform, and the method for adjusting an I/O channel includes: counting, by a host, current average I/O throughput of multiple virtual machines (VMs) operating on the host; increasing or decreasing, by the host, working threads for processing the VMs between front devices and back devices of the multiple VMs according to the current average I/O throughput; and adjusting, by the host, a mapping relationship between queues in the front device, queues in the back devices of the multiple VMs, and working threads for processing the VMs. According to the present invention, when the I/O throughput decreases, idle I/O channel resources are released, thereby avoiding a waste of the I/O channel resources; when the I/O throughput increases, the I/O channel resources are increased, resulting in an improved data transmission capability of the I/O channels.