Message sending method and related device
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorYuan Huang
Life of this patent
Estimating the term…
Abstract
The embodiment of the present application discloses a message sending method and a related device. The method comprises the following steps: parsing a domain name system (DNS) message to obtain the network domain name of the to-be-visited network in the DNS message; determining a target communication link in a plurality of connected communication links according to the network domain name; and sending the DNS message to a target DNS server through the target communication link. The embodiment of the present application is beneficial to improving the success rate of DNS message parsing when an electronic device communicates to a plurality of communication links.
Claims20
A message sending method, applied to an electronic device, the method comprising:
- parsing a domain name system (DNS) message, and acquiring a network domain name of a to-be-accessed network from the DNS message;
- determining, based on the network domain name, a target communication link from a plurality of communication links having been connected;
- and
- sending the DNS message to a target DNS server through the target communication link.
An electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and when the one or more programs are executed, the processor is configured to:
- parse a domain name system (DNS) message, and acquire a network domain name of a to-be-accessed network from the DNS message;
- determine a target communication link from a plurality of communication links having been connected based on the network domain name;
- and
- send the DNS message to a target DNS server through the target communication link.
A non-transitory computer-readable storage medium, storing a computer program for electronic data exchange, wherein the computer program, when executed by a computer, causes the computer to perform:
- parsing a domain name system (DNS) message, and acquiring a network domain name of a to-be-accessed network from the DNS message;
- determining, based on the network domain name, a target communication link from a plurality of communication links having been connected;
- and
- sending the DNS message to a target DNS server through the target communication link.
Dependencies are inferred from the claim text.