Abstract:
This application provides a data sending/receiving method, an electronic device, and a computer-readable storage medium. In this application, a first device may receive, in a wakeup state, first data sent by a second device; after sending of the first data is completed, the first device enters a sleep state after a first duration; the first device wakes up again after a second duration; the first device may receive, in the wakeup state, second data sent by the second device; and after sending of the second data is completed, the first device enters a sleep mode after a third duration. In this process, the first duration is different from the third duration.
Abstract:
Embodiments of the present invention disclose a method, a device, and a system for obtaining a cost between nodes. The method includes: receiving, by a first server, a first cost request message from a client, where the first cost request message includes a first source node list, a first candidate node list, and a cost type; and calculating a cost between each source node in the first source node list and each candidate node in the first candidate node list according to the cost type. Network traffic management and optimization are implemented by using the technical solutions provided in the embodiments of the present invention, in which a cost between nodes is acquired from servers hierarchically deployed by an Internet service provider ISP and used as a basis of node selection.
Abstract:
The disclosure relates to a method, device and system for processing content. In the method: a server receives a content acquiring request transmitted by a terminal. The server determines a first storage node list according to a mapping relation acquired in advance between contents and storage nodes. The first storage node list includes a plurality of first storage nodes that store a first content corresponding to the content acquiring request. The server transmits a sorting request to a network storage management server and receives a sorting result transmitted by the network storage management server. The sorting result includes priorities of the plurality of first storage nodes. The server transmits a content acquiring response to the terminal, where the content acquiring response includes first access information and priority of at least one of the first storage nodes.
Abstract:
The present disclosure provides a parameter acquisition method and device for general protocol parsing and a general protocol parsing method and device. The method includes: acquiring a message to be parsed; according to a preset state transition table, performing regular expression matching on the message to be parsed, and acquiring a state number and location information of a character corresponding to a matched matching rule; and acquiring the matching rule corresponding to the state number according to a preset rule matching table, and outputting a required field according to the matching rule, the location information, and the buffered message to be parsed, where the matching rule is an initial point sub-rule or an end point sub-rule. Embodiments of the present disclosure may implement general parsing on the protocol.
Abstract:
Embodiments of the present invention disclose a method, a device, and a system for obtaining a cost between nodes. The method includes: receiving, by a first server, a first cost request message from a client, where the first cost request message includes a first source node list, a first candidate node list, and a cost type; and calculating a cost between each source node in the first source node list and each candidate node in the first candidate node list according to the cost type. Network traffic management and optimization are implemented by using the technical solutions provided in the embodiments of the present invention, in which a cost between nodes is acquired from servers hierarchically deployed by an Internet service provider ISP and used as a basis of node selection.
Abstract:
The disclosure relates to a method, device and system for processing content. In the method: a server receives a content acquiring request transmitted by a terminal. The server determines a first storage node list according to a mapping relation acquired in advance between contents and storage nodes. The first storage node list includes a plurality of first storage nodes that store a first content corresponding to the content acquiring request. The server transmits a sorting request to a network storage management server and receives a sorting result transmitted by the network storage management server. The sorting result includes priorities of the plurality of first storage nodes. The server transmits a content acquiring response to the terminal, where the content acquiring response includes first access information and priority of at least one of the first storage nodes.