摘要:
A packet forwarding method, a forwarding indication information advertising method, an advertisement packet advertising method, and a device are disclosed, and relate to the field of routing technologies. In this method, a forwarding node receives a packet, obtains a target service resource status advertised by each service node in a plurality of service nodes, selects a target service node from the plurality of service nodes based on the target service resource status advertised by the service node, and forwards the packet to the target service node. In other words, the forwarding node can sense a service resource status advertised by the service node, and the service resource status can indicate a resource usage status of a service resource managed by the service node. An actual processing capability of the service node can be sensed based on the resource usage status. Therefore, when selecting the target service node, the forwarding node may consider the service resource status of the service node, to avoid a case in which data pressure on a single service node is high. In this way, quality of a service provided by the service node for a terminal device can be improved.
摘要:
Embodiments of this application relate to a packet processing method. In the method, a node in a first network determines a transmission path for a packet, where the transmission path includes a path in the first network and a path traversing a second network. The node in the first network adds path information to the packet based on the determined transmission path, where the path information includes traversal indication information, and the traversal indication information indicates an ingress node in the second network to encapsulate and transmit the packet based on an egress node that is specified in the traversal indication information and that is located in the second network. The node in the first network sends, to the ingress node in the second network through the first network, the packet to which the traversal indication information is added. In the method, the node in the first network selects an exit in the second network, and the ingress node in the second network is indicated by the traversal indication information to perform routing based on the specified egress node, so that independent deployment of a routing policy on the ingress node in the second network is avoided. This reduces resource overheads.
摘要:
Embodiments of the present invention provide a method for selecting a negotiation counterpart, and the method is used by a first device in a network to select a negotiation counterpart. Specifically, the first device sends a discovery message in the network, and the discovery message includes a technical objective. The first device receives a first response message with which a second device replies, and receives a second response message with which a third device replies. The first response message carries information about a characteristic that is of the second device and that supports implementation of the technical objective, and the second response message carries information about a characteristic that is of the third device and that supports implementation of the technical objective. The first device can learn technical objective support degrees of the second device and the third device according to the first response message and the second response message, and can further select a device with a higher technical objective support degree from the second device and the third device as the negotiation counterpart. The embodiments of the present invention further provide a related method and apparatus for responding to a discovery message.
摘要:
The present invention provides a service signal processing method and apparatus, and customer-premises equipment, and belongs to the antenna field. The method includes: obtaining signal strength information of a current service antenna, and obtaining signal strength information of another service antenna; selecting a working antenna according to the signal strength information of the current service antenna and the signal strength information of the another service antenna; and controlling the working antenna to process a service signal of a current service by using a radio frequency channel of the current service antenna. The working antenna determined according to the signal strength information of the current service antenna and the signal strength information of the another service antenna may be the current service antenna or may be the another service antenna. When multiple working antennas are determined, the working antennas may process a same service or may process different services. Therefore, not only a manner in which the working antenna processes a service signal of a current service is more flexible, but also it is ensured that a service antenna with good signal strength can be used as a working antenna, thereby increasing a service processing rate.
摘要:
The present invention discloses a terminal, and a terminal control apparatus and method, which pertains to the terminal control field. The terminal includes: a touchscreen, at least one touch control unit, a first controller, and a second controller, where the touch control unit includes: a detection electrode, an induction electrode, and a conducting wire that connects the detection electrode and the induction electrode, where the detection electrode is located outside a touch control area of the touchscreen, the induction electrode is located in the touch control area of the touchscreen, and the induction electrode is coupled to at least one capacitance node in the touchscreen; and the first controller is separately connected to the touchscreen and the second controller. A touch control operation performed by a user on the detection electrode disposed outside the touchscreen is identified by using an existing capacitance node in the touchscreen, and the terminal is controlled according to the touch control operation. Therefore, by merely occupying a very small space and spending very low costs, a manner in which a user controls a terminal may be further extended, and user experience may be improved.
摘要:
The present invention discloses a method and a device for controlling an address configuration mode, and belongs to the field of communications. The method includes: specifying, by a network side device, an address configuration mode for a terminal; and sending, by the network side device, a message to the terminal to instruct the terminal to perform address configuration according to the address configuration mode specified by the network side device, where the address configuration mode is a Dynamic Host Configuration Protocol DHCP mode or a stateless address autoconfiguration SLAAC mode. The device includes a setting module and a notifying module. By using the present invention, the network side controls an IP address configuration mode of the terminal.
摘要:
The present invention discloses a method, device and system for authentication. The method for authentication includes: acquiring the privilege security level corresponding to a client-end; inquiring the identity security level corresponding to the privilege security level according to an established relation of association between privilege security level and identity security level; determining the authentication parameters for identity authentication according to the identity security level; performing identity authentication on the client-end using the authentication parameters; and obtaining an authentication result. The identity authentication and privilege authentication are combined, and identity authentication is performed according to the identity security level in accord with the privilege security level so that rules of identity authentication can be adjusted, and the flexibility of the process of authentication may be improved.
摘要:
Embodiments of this application disclose a wearable device. The wearable device includes a wearable device body and a housing that covers the wearable device body. The housing is made of an insulating material, the housing includes at least two spring bars, two spring bars are arranged in parallel and spaced from each other and both extend in a same direction, a connection line between ends of the two spring bars is located outside the wearable device, and a conductive component is disposed on the spring bar. The wearable device body includes a mainboard, the mainboard is configured to feed power to the conductive component, and the conductive component is used as an antenna. Therefore, the spring bar is made of an insulating material, and the conductive component is embedded in the spring bar to avoid contact between the conductive component and the spring bar shaft, so that impact on an antenna signal caused by a connection between the spring bar shaft and the conductive component can be avoided, the antenna performance of the whole machine is ensured, a seamless design of a whole watch case is also taken into consideration, and the surface integrity is implemented.
摘要:
Embodiments of this application provide a wearable device, including a metal frame, a printed circuit board PCB, and a first feeding element, where a slot is formed between the metal frame and the PCB. The metal frame includes a first feed point, a first ground point, and a second ground point, and the metal frame is grounded at the first ground point and the second ground point. The metal frame is divided into a first area and a second area by the first ground point and the second ground point, and a circumferential length corresponding to the first area is greater than a circumferential length corresponding to the second area. The first feed point is disposed in the first area, and a distance between the first feed point and the first ground point along the metal frame is less than one third of the circumferential length corresponding to the first area. The first feeding element feeds at the first feed point. In the technical solutions provided in this application, the metal frame of the wearable device can be used to implement full-frequency band coverage of a 4G communication system.