Abstract:
A method and a device is described for de-duplicating a web page. The method includes: extracting at least one core sentence from a target web page; mapping each core sentence to a unique numeric value to form a first numeric value set; determining an intersection set of the first numeric value set and each second numeric value set, and the number of numeric values included in each intersection set, and determining a maximum number of numeric values included in each intersection set; and when a ratio of the maximum number to a total number of numeric values in the first numeric value set is greater than a set threshold, processing the target web page as a duplicate web page. In embodiments of the present invention, during web page de-duplication processing, accuracy can be improved, an anti-noise capability can be enhanced, and a calculating scale can be reduced.
Abstract:
Embodiments of the present invention disclose a data transmission method and apparatus for a terminal. The terminal exchanges data of an application with a server through a first port by using a first access node; when one port in a second port set is in an enabled state, the terminal accesses one access node in a candidate access node set through the enabled port in the second port set, and exchanges, based on the Multipath TCP, the data of the application with the server by using an access node corresponding to the enabled port.
Abstract:
A network handover method, a terminal, a controller, a gateway, and a system. The method includes: when a terminal accesses a first network, converting data including an initial TCP four-tuple into data including a first TCP four-tuple, and sending the data to a gateway; and after handing over from the first network to a second network, converting data including the initial TCP four-tuple into data including a second TCP four-tuple, and sending the data including the second TCP four-tuple to the gateway. This achieves objectives of preventing a connection from being interrupted before and after the network handover, improving use experience, and reducing complexity of a network handover process.
Abstract:
Embodiments of the present invention disclose a data transmission method and apparatus for a terminal. The terminal exchanges data of an application with a server through a first port by using a first access node; when one port in a second port set is in an enabled state, the terminal accesses one access node in a candidate access node set through the enabled port in the second port set, and exchanges, based on the Multipath TCP, the data of the application with the server by using an access node corresponding to the enabled port.
Abstract:
A method and a device is described for de-duplicating a web page. The method includes: extracting at least one core sentence from a target web page; mapping each core sentence to a unique numeric value to form a first numeric value set; determining an intersection set of the first numeric value set and each second numeric value set, and the number of numeric values included in each intersection set, and determining a maximum number of numeric values included in each intersection set; and when a ratio of the maximum number to a total number of numeric values in the first numeric value set is greater than a set threshold, processing the target web page as a duplicate web page. In embodiments of the present invention, during web page de-duplication processing, accuracy can be improved, an anti-noise capability can be enhanced, and a calculating scale can be reduced.
Abstract:
A network handover method, a terminal, a controller, a gateway, and a system. The method includes: when a terminal accesses a first network, converting data including an initial TCP four-tuple into data including a first TCP four-tuple, and sending the data to a gateway; and after handing over from the first network to a second network, converting data including the initial TCP four-tuple into data including a second TCP four-tuple, and sending the data including the second TCP four-tuple to the gateway. This achieves objectives of preventing a connection from being interrupted before and after the network handover, improving use experience, and reducing complexity of a network handover process.