Abstract:
An Internet of Things data transmission method includes sending, by a terminal device, a first data request to a server, and continuously receiving, by the terminal device, N data packets from the server. The first data request instructs the server to continuously send a plurality of data packets. The first data request includes a quantity N of data packets, that the terminal device is capable of continuously receiving, and a time interval for sending two consecutive data packets, where N is an integer greater than 1. The N data packets include at least one non-confirmable Constrained Application Protocol (NON) data packet, a sending time interval between two consecutive data packets in the N data packets and the at least one NON data packet indicates that sending a receiving response from the terminal device to the server is unnecessary.
Abstract:
A data processing method includes receiving, by an operating system of a device, a start instruction from an application in the device that includes an identifier of a socket connection, where the application is a latency-insensitive application, calling, by the operating system according to the start instruction, a monitoring system in the operating system to monitor buffering of data of the socket connection in a kernel buffer, where the data of the socket connection is from an underlying protocol stack, and generating, by the monitoring system, a data readable identifier when a time interval between a current moment and a start moment is greater than or equal to a timeout duration, where the start moment is when the operating system receives the start instruction, and the data readable identifier indicates that the data of the socket connection is readable by the application.
Abstract:
A data processing method and apparatus, where one or more applications run in an operating system of a first device, there is a plurality of paths between the first device and a second device, and the paths correspond to the one or more applications. In a data receiving process, the one or more applications obtain data on the paths through a system call, and further obtain data in a plurality of packets from at least one path. In a data sending process, the one or more applications distribute data to corresponding paths through a system call.
Abstract:
A method for an intermediate node to locate a fault independently, where the intermediate node serves to forward a packet between a first end node and a second end node, the method includes: creating a test packet and sending the test packet to the first end node, where the test packet includes address information of the second end node, and the test packet is used to trigger the first end node to send a response packet to the second end node; forwarding the response packet from the first end node to the second end node; capturing the response packet; and analyzing, according to a result of the packet capturing, whether a packet from the first end node to the second end node can be forwarded normally.
Abstract:
A network switching method includes transmitting, by an electronic device, data using a wireless local area network, when a data transmission delay of the wireless local area network is greater than a first threshold, switching, by the electronic device, to transmitting data using both the wireless local area network and a mobile network, and when the electronic device transmits data using both the wireless local area network and the mobile network, if the data transmission delay of the wireless local area network is greater than a second threshold, switching, by the electronic device, to transmitting data using the mobile network, where the first threshold is less than the second threshold.
Abstract:
A data processing method and apparatus, where one or more applications run in an operating system of a first device, there is a plurality of paths between the first device and a second device, and the paths correspond to the one or more applications. In a data receiving process, the one or more applications obtain data on the paths through a system call, and further obtain data in a plurality of packets from at least one path. In a data sending process, the one or more applications distribute data to corresponding paths through a system call.
Abstract:
The present disclosure relates to apparatus and methods for route invalidation. In one example method, a common ancestor node of a network determines switching of a parent node of a node based on an update message received from the node using a new routing path established based on the switching of the parent node. The common ancestor node generates a No-Path message based on the update message. The No-Path message is for invalidating a previous routing path associated with the node on the switching of the parent node. The update message comprises at least one bit authorizing generation of the No-Path message by the common ancestor node. The at least one bit is placed in a transit information option in the update message.
Abstract:
A data processing method includes receiving, by an operating system of a device, a start instruction from an application in the device that includes an identifier of a socket connection, where the application is a latency-insensitive application, calling, by the operating system according to the start instruction, a monitoring system in the operating system to monitor buffering of data of the socket connection in a kernel buffer, where the data of the socket connection is from an underlying protocol stack, and generating, by the monitoring system, a data readable identifier when a time interval between a current moment and a start moment is greater than or equal to a timeout duration, where the start moment is when the operating system receives the start instruction, and the data readable identifier indicates that the data of the socket connection is readable by the application.
Abstract:
Example apparatus and methods for optimized route invalidation using modified no-path Destination Oriented Directed Acyclic Graph Advertisement Object (DAO) signaling are disclosed. In one example method, a node switching its current parent is adapted to send a regular DAO message. Using the changed signaling, a common ancestor node generates a No-Path destination oriented directed acyclic graph advertisement object message (NPDAO) on behalf of the switching node on receiving a refreshed DAO from an alternate path. The common ancestor node reuses a same Path Sequence from the regular DAO based on which the NPDAO gets generated. The common ancestor node detects routing anomaly using next hop mismatch on reception of the DAO to generate the NPDAO on behalf of the target node. The No-Path DAO traverses downward/downstream along the previous path.
Abstract:
A communications system, a communication method and apparatus, where the communications system includes a client, a first resource server and a centralized redirector. The client is configured to send, to the first resource server, a first request packet including a first resource identifier to request resource information corresponding to the first resource identifier. The first resource server is configured to send, to the centralized redirector, a second request packet including the first resource identifier when the resource information corresponding to the first resource identifier is not stored. The centralized redirector is configured to send to the first resource server based on mapping information, a second response packet. The first resource server is further configured to obtain, using the second resource server, the resource information and send a first response packet to the client.