WO2020147647A1 - 报文发送方法及相关装置 - Google Patents

报文发送方法及相关装置 Download PDF

Info

Publication number
WO2020147647A1
WO2020147647A1 PCT/CN2020/071254 CN2020071254W WO2020147647A1 WO 2020147647 A1 WO2020147647 A1 WO 2020147647A1 CN 2020071254 W CN2020071254 W CN 2020071254W WO 2020147647 A1 WO2020147647 A1 WO 2020147647A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication link
target
domain name
dns
network domain
Prior art date
Application number
PCT/CN2020/071254
Other languages
English (en)
French (fr)
Inventor
黄园
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP20740921.0A priority Critical patent/EP3905628B1/en
Publication of WO2020147647A1 publication Critical patent/WO2020147647A1/zh
Priority to US17/373,945 priority patent/US20210345221A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/677Multiple interfaces, e.g. multihomed nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • This application relates to the technical field of electronic equipment, and in particular to a message sending method and related devices.
  • the DNS packet may be allocated to the cellular mobile network, causing the DNS packet resolution to fail and the electronic device The page cannot be accessed.
  • the embodiments of the present application provide a message sending method and related devices, so as to improve the success rate of DNS message parsing when an electronic device is connected to multiple communication links.
  • an embodiment of the present application provides a message sending method applied to an electronic device, and the method includes:
  • an embodiment of the present application provides a message sending device, which is applied to an electronic device, and the message sending device includes a processing unit and a communication unit, wherein:
  • the processing unit is used for parsing a DNS message of the domain name system to obtain the network domain name of the network to be accessed in the DNS message; and for determining the target communication chain among the multiple connected communication links according to the network domain name And for sending the DNS message to the target DNS server through the target communication link and the communication unit.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be processed by the above
  • the above program includes instructions for performing the steps in any method of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the first embodiment of the present application.
  • the computer program causes the computer to execute the first embodiment of the present application.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing the computer program, and the computer program is operable to cause the computer to execute as implemented in the present application Examples of some or all of the steps described in any method of the first aspect.
  • the computer program product may be a software installation package.
  • FIG. 1 is an exemplary system architecture diagram of a wireless communication system in which an electronic device is provided according to an embodiment of the present application;
  • FIG. 2 is a schematic flowchart of a method for sending a message according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of another message sending method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 6 is a block diagram of functional units of a message sending device provided by an embodiment of the present application.
  • the electronic devices involved in the embodiments of the present application may be electronic devices with data transmission capabilities.
  • the electronic devices may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or devices connected to a wireless modem Other processing equipment, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal equipment (terminal device), etc.
  • UE User Equipment
  • MS Mobile Station
  • terminal device terminal device
  • Link aggregation means that the device can use two or more network ports to surf the Internet at the same time. For example, using link aggregation on a mobile phone to use Wi-Fi and data networks for network access. Android network system, when Wi-Fi is enabled, the data network will be unavailable (Connectivity Service network scoring mechanism causes the data network to be disconnected), and link aggregation requires at least two or more available networks, so The prerequisite of the Service-Level Agreement (SLA) is to enable Wi-Fi and data networks to coexist. As shown in FIG.
  • SLA Service-Level Agreement
  • the electronic device 101 can be connected to a data network 103, which is a communication network for transmitting data services; Wi-Fi 102, Wi-Fi is a technology that allows electronic devices to connect to a wireless local area network; usually Use 2.4G UHF or 5G SHF ISM radio frequency band; and Bluetooth communication 104, a wireless technology standard, can achieve short-distance network sharing and data exchange between fixed equipment, mobile equipment and building personal area network (using 2.4-2.485GHz ISM band UHF radio waves); can also be LORA communication module, a long-distance wireless transmission technology based on spread spectrum technology.
  • Wi-Fi 102 Wi-Fi is a technology that allows electronic devices to connect to a wireless local area network
  • Bluetooth communication 104 a wireless technology standard, can achieve short-distance network sharing and data exchange between fixed equipment, mobile equipment and building personal area network (using 2.4-2.485GHz ISM band UHF radio waves); can also be LORA communication module, a long-distance wireless transmission technology based on spread spectrum technology.
  • FIG. 2 is a schematic flowchart of a message sending method provided in an embodiment of the present application, which is applied to the electronic device described in FIG. 1. As shown in the figure, the message sending method includes:
  • S201 The electronic device parses a Domain Name System (DNS) message, and obtains the network domain name of the network to be accessed in the DNS message.
  • DNS Domain Name System
  • the DNS system is a distributed database on the World Wide Web as a mutual mapping of domain names and IP addresses, which enables users to access the Internet more conveniently without having to remember the IP number string that can be directly read by the machine.
  • the DNS message The corresponding DNS server determines the corresponding IP address according to the domain name address.
  • S202 The electronic device determines a target communication link among multiple connected communication links according to the network domain name.
  • the electronic device is in the link aggregation state described in Figure 1 above, and the multiple connected communication links may include cellular data network, Wi-Fi, Bluetooth communication, LORA communication, and dedicated hotspots for smart furniture devices (for example, any two or more of the boxes of various smart home configurations, etc.) are not limited here.
  • the specific implementation manners for the electronic device to determine the target communication link among the connected multiple communication links according to the network domain name may be various, for example, the electronic device may pre-store the network domain name and the communication link.
  • the target communication link can be determined according to the network domain name query, or can be classified into the first type and the second type according to the network domain name, where the first type can be a network customized by some service providers Domain name is a network domain name that needs to be resolved successfully through a private DNS server.
  • the second type is a network domain name that can be resolved through a public or local DNS server, such as the network domain name of Baidu, World Wide Information Network, etc., and then select according to different types Different target communication links are not limited here.
  • S203 The electronics sends the DNS message to the target DNS server through the target communication link.
  • the electronic device parses the DNS message, obtains the network domain name of the network to be accessed in the DNS message, and determines the target communication in the multiple connected communication links according to the network domain name. Link, finally, sending the DNS message to the target DNS server through the target communication link. It can be seen that when the electronic device starts multiple communication links, it determines the target communication link to send the DNS message by analyzing the DNS message to obtain the network domain name to be accessed, which is beneficial to improve the rationality of DNS message sending and avoid
  • the DNS messages corresponding to some custom network domain names are transmitted through the cellular mobile network, which improves the success rate of the DNS server in resolving DNS messages and effectively improves the efficiency of message resolution.
  • the determining the target communication link among the multiple connected communication links according to the network domain name includes:
  • the target communication link is determined among the plurality of first reference communication links.
  • the blacklist may be pre-set in the electronic device by the technical developer before the electronic device leaves the factory, or it may be set by the electronic device according to the message of success or failure of resolution fed back by the DNS server, which is not limited here.
  • the blacklist includes multiple network domain names belonging to the above-mentioned first type.
  • the multiple communication links include the first type of communication link and the second type of communication link.
  • the electronic device is preset with the type corresponding to each communication link.
  • the network domain names included in the blacklist are The first type of communication link corresponds to, for example, the first type of communication link may be Wi-Fi, dedicated hotspots of smart furniture equipment (for example, various smart home-specifically configured boxes, etc.).
  • the specific implementation manners for determining the target communication link in the plurality of first reference communication links may be various, for example, the target communication link corresponding to it may be determined according to the name field of the network domain name. , Or it may be that when Wi-Fi is included in the multiple connected first reference communication links, Wi-Fi is preferred as the target communication link, etc., which is not limited here.
  • the electronic device queries the blacklist through the network domain name, and when the network domain name is included in the blacklist, the first type of communication link corresponding to this situation is determined to protect some customized networks in the blacklist
  • the domain name is successfully resolved in the corresponding DNS server, and the method of directly querying the blacklist is beneficial to improve the speed and convenience of message sending.
  • the determining the target communication link among the plurality of first reference communication links includes:
  • the target communication link is a communication link corresponding to the target link identifier.
  • each first reference communication link may include a link identifier
  • the link identifier may be the link name of the first reference communication link.
  • the link identifier of cellular data communication may be LTE, etc.
  • the link identifiers of dedicated hotspots of smart furniture devices may be the names of manufacturers corresponding to each smart furniture device, etc., which are not limited here.
  • the specific implementation manner of determining the target link identifier that matches the network domain name among the multiple link identifiers may be determining the degree of matching between the link identifier and the keywords or key letters in the network domain name.
  • the matching degree is greater than the preset matching degree, determine the target link identifier.
  • the network domain name mi can correspond to the link identifier of the dedicated hotspot of the Huawei box, or it can be when there is no link identifier with the network domain name matching degree greater than the preset
  • the link identification of the preset communication link is selected as the target link identification, for example, the link identification corresponding to Wi-Fi, which is not limited here.
  • the electronic device determines the communication link corresponding to the link identifier matching the network domain name as the target communication link to realize the dedicated network, which is beneficial to improve the success rate of domain name conversion and login to the router, and the communication link The rationality of diversion.
  • the method further includes:
  • the target communication link is determined among the plurality of second reference communication links.
  • the multiple connected communication links may include communication links that belong to both the first type of communication link and the second type of communication link, such as Wi-Fi, etc., networks that are not in the blacklist.
  • the domain name corresponds to the above-mentioned second type, and can be transmitted through a second type of communication link such as cellular mobile, without the failure of resolution.
  • the specific implementation manners for determining the target communication link among the plurality of second reference communication links may be various, and may be based on the channel quality parameter of the channel corresponding to each second reference communication link Determining the target communication link may also be determining the target communication link according to the data transmission rate of each second reference communication link, which is not limited here.
  • the electronic device when the electronic device detects that the blacklist does not include the network domain name, it determines the target communication link among the multiple second reference communication links belonging to the second type of communication link, which is beneficial to improve the DNS message The rationality of sending.
  • the determining the target communication link among the plurality of second reference communication links includes:
  • the channel quality parameters can be calculated according to the channel.
  • the channel quality parameters include the capacity of the channel itself, network speed, network delay, etc.
  • For network speed calculation read the network traffic of the two interfaces, and record the traffic recorded last time. Make a difference in traffic to get the amount of traffic on the network port in one second, that is, the network speed, and the network delay is calculated based on the round-trip time statistical algorithm of the data in the channel.
  • the specific implementation manner of determining the target communication link according to the channel quality parameter of each of the second reference communication links may be to sort a plurality of second reference communication links according to the channel quality parameter, and the selection priority is high. Is the target communication link, or any second reference communication link whose channel quality parameter is greater than the preset quality threshold may be selected as the target communication link, which is not uniquely limited here.
  • the electronic device selects the target wireless communication link according to the channel quality parameters of the multiple second reference communication links, which improves the data transmission speed and avoids network delays while ensuring the success of DNS message parsing.
  • the method further includes:
  • the target DNS server may send a message indicating successful or unsuccessful resolution to the electronic device, and the message may be a message identifier, for example, 1 represents success, 0 represents failure, etc., which is not limited here.
  • the network domain name in the DNS message is not in the blacklist
  • the first one may be that the network domain name belongs to the second category
  • the second may be that the network domain name belongs to the first category, but it is omitted to be added to the blacklist.
  • it will be sent to the local or public DNS server for resolution through the target communication link, for example, the cellular data communication link.
  • the message that the resolution fails is received, it indicates that the network domain name is not added to the blacklist
  • the first category therefore, add the network domain name to the blacklist.
  • the electronic device adds the network domain name to the blacklist when receiving the message that the DNS packet resolution failed from the target DNS server, which effectively avoids the subsequent failure of interpretation of the network domain name and improves the accuracy of the blacklist.
  • the method further includes:
  • the DNS message when the DNS message is transmitted to the local data packet in the firewall architecture and is sent to the hook point Hook at the OUTPUT, the DNS message is analyzed through a preset processing function to obtain the DNS message The network domain name of the network to be accessed in the network, and the operation of determining the target communication link among the connected communication links according to the network domain name.
  • the preprocessing function is the function corresponding to the message sending method.
  • the processing process of the electronic device sending the packet is: the data packet is sent from the Linux operating system application layer to the transport layer TCP/UDP, and then sent to the firewall architecture in the network layer IP layer after routing judgment The data packet is sent to the hook point at the OUTPUT, and then to the processing point of the data packet POSTROUTING sent to the public network, and sent to the communication link via the driver. Therefore, it can be seen that the DNS packet will inevitably pass the hook point at the OUTPUT, so Set the preset processing function here.
  • the electronic device will perform resolution of the DNS message, obtain the network domain name of the network to be accessed in the DNS message, and determine the target communication link among the connected multiple communication links according to the network domain name
  • the operation of setting the hook point Hook at the OUTPUT of the local data packet sending in the firewall architecture helps to improve the effective processing of DNS packets before sending and determine the communication link, and improve the effectiveness of packet sending.
  • FIG. 3 is a schematic flowchart of a message sending method provided by an embodiment of the present application, which is applied to the electronic device described in FIG. 1, as shown in FIG. As shown, the message sending method includes:
  • S301 The electronic device parses a domain name system DNS message, and obtains the network domain name of the network to be accessed in the DNS message.
  • S302 The electronic device queries the blacklist through the network domain name.
  • the electronic device acquires multiple link identities of the multiple first reference communication links.
  • S305 The electronic device determines a target link identifier that matches the network domain name among the multiple link identifiers.
  • the electronic device determines that the target communication link is a communication link corresponding to the target link identifier.
  • S307 The electronic device sends the DNS message to the target DNS server through the target communication link.
  • the electronic device parses the DNS message, obtains the network domain name of the network to be accessed in the DNS message, and determines the target communication in the multiple connected communication links according to the network domain name. Link, finally, sending the DNS message to the target DNS server through the target communication link. It can be seen that when the electronic device starts multiple communication links, it determines the target communication link to send the DNS message by analyzing the DNS message to obtain the network domain name to be accessed, which is beneficial to improve the rationality of DNS message sending and avoid
  • the DNS messages corresponding to some custom network domain names are transmitted through the cellular mobile network, which improves the success rate of the DNS server in resolving DNS messages and effectively improves the efficiency of message resolution.
  • the electronic device queries the blacklist through the network domain name, and when the network domain name is included in the blacklist, the first type of communication link corresponding to this situation is determined to ensure that some custom network domain names in the blacklist are in the corresponding DNS
  • the server successfully parsed, directly querying the blacklist method is beneficial to improve the speed and convenience of message sending.
  • the electronic device determines the communication link corresponding to the link identifier matching the network domain name as the target communication link, realizing dedicated network use, which is beneficial to improve the success rate of domain name conversion and login to the router, and the rationality of communication link shunting .
  • FIG. 4 is a schematic flowchart of a message sending method provided by an embodiment of the present application, which is applied to the electronic device described in FIG.
  • the electronic device has established multiple wireless communication links.
  • the message sending method includes:
  • S401 The electronic device parses a domain name system DNS message, and obtains the network domain name of the network to be accessed in the DNS message.
  • S402 The electronic device queries the blacklist through the network domain name.
  • the electronic device determines multiple second reference communication links belonging to the second type of communication links among the multiple connected communication links.
  • S404 The electronic device determines a channel used by each second reference communication link in the plurality of second reference communication links.
  • the electronic device determines a channel quality parameter of a channel used by each second reference communication link.
  • S406 The electronic device determines a target communication link according to the channel quality parameter.
  • S407 The electronic device sends the DNS message to the target DNS server through the target communication link.
  • the electronic device adds the network domain name corresponding to the DNS packet to the blacklist when receiving a message from the target DNS server that the DNS packet resolution fails.
  • the electronic device parses the DNS message, obtains the network domain name of the network to be accessed in the DNS message, and determines the target communication in the multiple connected communication links according to the network domain name. Link, finally, sending the DNS message to the target DNS server through the target communication link. It can be seen that when the electronic device starts multiple communication links, it determines the target communication link to send the DNS message by analyzing the DNS message to obtain the network domain name to be accessed, which is beneficial to improve the rationality of DNS message sending and avoid
  • the DNS messages corresponding to some custom network domain names are transmitted through the cellular mobile network, which improves the success rate of the DNS server in resolving DNS messages and effectively improves the efficiency of message resolution.
  • the electronic device adds the network domain name to the blacklist when receiving the message that the DNS packet resolution failed from the target DNS server, which effectively avoids the subsequent failure of interpretation of the network domain name and improves the accuracy of the blacklist.
  • the electronic device selects the target wireless communication link according to the channel quality parameters of the multiple second reference communication links, which improves the data transmission speed and avoids network delays while ensuring the success of DNS message parsing.
  • the electronic device when the electronic device detects that the network domain name is not included in the blacklist, it determines the target communication link among the multiple second reference communication links belonging to the second type of communication link, which is beneficial to improve the rationality of DNS message sending .
  • FIG. 5 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application.
  • the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, where the one or more programs 521 are stored in the aforementioned memory 520 and are configured to be executed by the aforementioned application processor 510,
  • the one or more programs 521 include instructions for performing the following steps:
  • the electronic device parses the DNS message, obtains the network domain name of the network to be accessed in the DNS message, and determines the target communication in the multiple connected communication links according to the network domain name. Link, finally, sending the DNS message to the target DNS server through the target communication link. It can be seen that when the electronic device starts multiple communication links, it determines the target communication link to send the DNS message by analyzing the DNS message to obtain the network domain name to be accessed, which is beneficial to improve the rationality of DNS message sending and avoid
  • the DNS messages corresponding to some custom network domain names are transmitted through the cellular mobile network, which improves the success rate of the DNS server in resolving DNS messages and effectively improves the efficiency of message resolution.
  • the instructions in the program 521 are specifically used to perform the following operations: Domain name query blacklist; and for determining the plurality of first reference communication links belonging to the first type of communication link among the plurality of connected communication links when it is detected that the network domain name is included in the blacklist And for determining the target communication link among the plurality of first reference communication links.
  • the instructions in the program 521 are specifically used to perform the following operations: acquiring the plurality of first reference communication links Multiple link identifiers of the communication link; and used to determine the target link identifier matching the network domain name among the multiple link identifiers; and used to determine that the target communication link is connected to the target link Road ID corresponds to the communication link.
  • the one or more programs 521 further include instructions for executing the following steps: after the blacklist is queried through the network domain name, when it is detected that the blacklist does not include the network In the domain name, determine the plurality of second reference communication links belonging to the second type of communication link among the plurality of connected communication links; and determine the target communication among the plurality of second reference communication links link.
  • the instructions in the program 521 are specifically used to perform the following operations: determining the plurality of second reference communication links The channel used by each second reference communication link in the communication link; and the channel quality parameter used to determine the channel used by each second reference communication link; and the channel quality parameter used to determine according to the channel quality parameter The target communication link.
  • the one or more programs 521 further include instructions for executing the following steps: after the DNS message is sent to the target DNS server through the target communication link, when the DNS message is received from all Adding the network domain name corresponding to the DNS message to the blacklist when the DNS message of the target DNS server fails to resolve the message.
  • the one or more programs 521 further include instructions for executing the following steps: transmitting the DNS message from the application layer in the Linux operating system to the network layer through the transport layer; and In the network layer, when the DNS message is transmitted to the local data packet in the firewall architecture and is sent to the hook point Hook at the OUTPUT, the DNS message is analyzed through a preset processing function to obtain the DNS message The network domain name of the network to be accessed in the network, and the operation of determining the target communication link among the connected communication links according to the network domain name.
  • the electronic device includes a hardware structure and/or a software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driven hardware depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to be beyond the scope of this application.
  • the embodiments of the present application may divide the functional unit of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
  • FIG. 6 is a block diagram of the functional unit composition of the message sending device 600 involved in an embodiment of the present application.
  • the message sending device 600 is applied to electronic equipment, and the message sending device 600 includes a processing unit 601 and a communication unit 602, wherein:
  • the processing unit 601 is configured to parse a DNS message of the domain name system to obtain the network domain name of the network to be accessed in the DNS message; and to determine the target communication in multiple connected communication links according to the network domain name Link; and for sending the DNS message to the target DNS server through the target communication link and the communication unit 602.
  • the message sending apparatus 600 may further include a storage unit 603 for storing program codes and data of the electronic device.
  • the processing unit 601 may be a processor
  • the communication unit 602 may be a touch screen or a transceiver
  • the storage unit 603 may be a memory.
  • the electronic device parses the DNS message, obtains the network domain name of the network to be accessed in the DNS message, and determines the target communication in the multiple connected communication links according to the network domain name. Link, finally, sending the DNS message to the target DNS server through the target communication link. It can be seen that when the electronic device starts multiple communication links, it determines the target communication link to send the DNS message by parsing the DNS message to obtain the network domain name to be accessed, which is beneficial to improve the rationality of DNS message sending and avoid
  • the DNS messages corresponding to some custom network domain names are transmitted through the cellular mobile network, which improves the success rate of the DNS server in resolving DNS messages and effectively improves the efficiency of message resolution.
  • the processing unit 601 is specifically configured to: query the blacklist through the network domain name; And for determining the plurality of first reference communication links belonging to the first type of communication link among the plurality of connected communication links when it is detected that the network domain name is included in the blacklist; and The target communication link is determined among the plurality of first reference communication links.
  • the processing unit 601 is specifically configured to: obtain the number of the plurality of first reference communication links. Link identifiers; and used to determine a target link identifier matching the network domain name among the multiple link identifiers; and used to determine that the target communication link is a communication corresponding to the target link identifier link.
  • the processing unit 601 after the blacklist is queried through the network domain name, is further configured to: when it is detected that the network domain name is not included in the blacklist, determine that the connected A plurality of second reference communication links belonging to a second type of communication link among the plurality of communication links; and determining the target communication link among the plurality of second reference communication links.
  • the processing unit 601 is specifically configured to: determine each of the plurality of second reference communication links Channel used by the second reference communication link; and a channel quality parameter used to determine the channel used by each second reference communication link; and used to determine the target communication link according to the channel quality parameter road.
  • the processing unit 601 after the processing unit 601 sends the DNS message to the target DNS server through the target communication link, it is further configured to: when receiving the DNS message from the target DNS server through the communication unit 602 Adding the network domain name corresponding to the DNS message to the blacklist when the DNS server fails to resolve the DNS message.
  • the processing unit 601 is further configured to: transmit the DNS message from the application layer in the Linux operating system to the network layer through the transport layer; and to transmit the DNS message to the network layer in the network layer.
  • the DNS message is transmitted to the local data packet in the firewall architecture and is sent to the hook point Hook at the OUTPUT, the DNS message is resolved through a preset processing function to obtain the network domain name of the network to be accessed in the DNS message, and The operation of determining a target communication link among the connected communication links according to the network domain name.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to perform part or all of the steps of any method described in the foregoing method embodiments ,
  • the aforementioned computer includes electronic devices.
  • An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing the computer program, the computer program is operable to cause the computer to perform any of the methods described in the above embodiments Some or all steps of the method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the above-mentioned units is only a division of logical functions.
  • there may be other division methods for example, multiple units or components may be combined or integrated To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
  • the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the foregoing methods of the various embodiments of the present application.
  • the aforementioned memory includes: U disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
  • the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • magnetic disk or optical disk etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种报文发送方法及相关装置,方法包括:解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名;根据所述网络域名确定已连接的多条通信链路中的目标通信链路;通过所述目标通信链路向目标DNS服务器发送所述DNS报文。本申请实施例有利于提升在电子设备连接多条通信链路的情况下,DNS报文解析的成功率。

Description

报文发送方法及相关装置 技术领域
本申请涉及电子设备技术领域,具体涉及一种报文发送方法及相关装置。
背景技术
随着移动通信技术的发展,用户对数据通信的需求越来越大,目前市面上的电子设备(例如,智能手机等)在进行数据传输时,用户一般通过选取蜂窝移动网络通信或者Wi-Fi通信等方式发送数据,电子设备需要和相同区域内的其他设备竞争无线链路资源,难以满足用户的上网需求。
目前,电子设备通过域名访问所连接路器由的登入页面时,当域名为一些自定义的名称时,可能会因为DNS报文被分配到蜂窝移动网络,造成DNS报文解析失败,导致电子设备无法访问相应页面。
发明内容
本申请实施例提供了一种报文发送方法及相关装置,以期提升在电子设备连接多条通信链路的情况下,DNS报文解析的成功率。
第一方面,本申请实施例提供一种报文发送方法,应用于电子设备,所述方法包括:
解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名;
根据所述网络域名确定已连接的多条通信链路中的目标通信链路;
通过所述目标通信链路向目标DNS服务器发送所述DNS报文。
第二方面,本申请实施例提供一种报文发送装置,应用于电子设备,所述报文发送装置包括处理单元和通信单元,其中,
所述处理单元,用于解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名;以及用于根据所述网络域名确定已连接的多条通信链路中的目标通信链路;以及用于通过所述目标通信链路和所述通信单元向目标DNS服务器发送所述DNS报文。
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
附图说明
下面将对本申请实施例所涉及到的附图作简单地介绍。
图1是本申请实施例提供的一种电子设备所处无线通信系统的示例系统架构图;
图2是本申请实施例提供的一种报文发送方法的流程示意图;
图3是本申请实施例提供的另一种报文发送方法的流程示意图;
图4是本申请实施例提供的另一种报文发送方法的流程示意图;
图5是本申请实施例提供的一种电子设备的结构示意图;
图6是本申请实施例提供的一种报文发送装置的功能单元组成框图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例所涉及到的电子设备可以是具备数据传输能力的电子设备,该电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。
下面对本申请实施例进行详细介绍。
链路聚合,是指使设备可以同时使用两个或者两个以上的网口同时进行上网,比如在手机上通过链路聚合的同时使用Wi-Fi和数据网络来进行网络访问。android网络系统,当Wi-Fi被使能的时候,会导致数据网络不可使用(Connectivity Service网络评分机制导致数据网络断开),而链路聚合至少需要两个或两个以上的可用网络,所以服务等级协议(Service-Level Agreement,缩写为SLA)的前提条件就是要使Wi-Fi和数据网络共存。如图1所示,目前电子设备101可以连接数据网络103,数据网为用于传输数据业务的通信网;Wi-Fi102,Wi-Fi是一种允许电子设备连接到一个无线局域网的技术;通常使用2.4G UHF或5G SHF ISM射频频段;以及蓝牙通信104,一种无线技术标准,可实现固定设备、移动设备和楼宇个人域网之间的短距离网络共享以及数据交换(使用2.4—2.485GHz的ISM波段的UHF无线电波);还可以是LORA通信模块,一种基于扩频技术的远距离无线传输技术等。
请参阅图2,图2是本申请实施例提供了一种报文发送方法的流程示意图,应用于如图1中所述的电子设备,如图所示,本报文发送方法包括:
S201,电子设备解析域名系统(Domain Name System,DNS)报文,获取所述DNS报文中待访问网络的网络域名。
其中,DNS系统为万维网上作为域名和IP地址相互映射的一个分布式数据库,能够使用户更方便的访问互联网,而不用去记住能够被机器直接读取的IP数串,所述DNS报文用于相应的DNS服务器根据其中的域名地址确定对应的IP地址。
S202,所述电子设备根据所述网络域名确定已连接的多条通信链路中的目标通信链路。
其中,电子设备处于上述图1所述的链路聚合状态,所述已连接的多条通信链路可以包括蜂窝数据网络、Wi-Fi、蓝牙通信、LORA通信,以及智能家具设备的专用热点(例如各种智能家居专属配置的盒子等)等中的任意两个或多个,在此不做限定。
其中,所述电子设备根据所述网络域名确定已连接的多条通信链路中的目标通信链路的具体实现方式可以是多种多样的,例如可以是电子设备预存储有网络域名与通信链路的对应关系,根据网络域名查询该对应关系确定出目标通信链路,或者可以根据网络域名分类,分为第一类型和第二类型,其中,第一类型可以为一些服务商自定义的网络域名,即需要通过私有DNS服务器才能解析成功的网络域名,第二类型为可以通过公共或者本地DNS服务器解析的网络域名,例如百度、环球信息网等网络的网络域名等,然后根据不同的类型选取不同的目标通信链路,在此不做限定。
S203,所述电子通过所述目标通信链路向目标DNS服务器发送所述DNS报文。
其中,在链路聚合的情况下,电子设备发送的所有数据包会通过分流机制分流给不同的通信链路进行传输,但是当数据包为DNS报文,且DNS报文中的网络域名为上述第一类型时,如果在分流传输的机制下,将DNS报文通过蜂窝数据网络传输给本地或者公共DNS服务器,那么会由于DNS服务器中保存的域名和与之相对应的IP地址的表中没有该DNS报文中的网络域名,导致出现解析失败的情况,因此,通过网络域名选取目标通信链路向目标DNS服务器发送所述DNS报文,以使目标DNS服务器成功解析该DNS报文,获取相应的IP地址登录路由器登入界面。
可以看出,本申请实施例中,电子设备解析DNS报文,获取所述DNS报文中待访问网络的网络域名,并根据所述网络域名确定已连接的多条通信链路中的目标通信链路,最后,通过所述目标通信链路向目标DNS服务器发送所述DNS报文。可见,电子设备在启动多通信链路的情况下,通过解析DNS报文获取待访问的网络域名确定发送该DNS报文的目标通信链路,有利于提升DNS报文发送的合理性,避免将一些自定义的网络域名对应的DNS报文通过蜂窝移动网络传输,提升DNS服务器解析DNS报文的成功率,以及有效提升报文解析效率。
在一个可能的示例中,所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路,包括:
通过所述网络域名查询黑名单;
当检测到所述黑名单中包括所述网络域名时,确定所述已连接的多条通信链路中属于第一类通信链路的多条第一参考通信链路;
在所述多条第一参考通信链路中确定所述目标通信链路。
其中,所述黑名单可以是技术开发人员在电子设备出厂前预设置在电子设备中的,也可以是电子设备根据DNS服务器反馈的解析成功或者失败的消息设置的,在此不做限定,该黑名单中包括属于上述第一类型的多个网络域名。
其中,多条通信链路中包括第一类型通信链路和第二类通信链路,电子设备中预设置有每个通信链路对应的类型,其中,黑名单中包括的网络域名,均与所述第一类通信链路对应,所述第一类通信链路例如可以是Wi-Fi、智能家具设备的专用热点(例如各种智能家居专属配置的盒子等)等。
其中,在所述多条第一参考通信链路中确定所述目标通信链路的具体实现方式可以是多种多样的,例如可以是根据网络域名的名称字段确定与之对应的目标通信链路,或者可以是当已连接的多条第一参考通信链路中包括Wi-Fi时,首选Wi-Fi作为目标通信链路等,在此不做限定。
可见,本示例中,电子设备通过网络域名查询黑名单,当黑名单中包括所述网络域名 时,确定与此种情况对应的第一类通信链路,保障黑名单中的一些自定义的网络域名在相应DNS服务器成功解析,直接通过查询黑名单的方法有利于提升报文发送的速度和便捷性。
在这个可能的示例中,所述在所述多条第一参考通信链路中确定所述目标通信链路,包括:
获取所述多条第一参考通信链路的多个链路标识;
确定所述多个链路标识中与所述网络域名匹配的目标链路标识;
确定所述目标通信链路为与所述目标链路标识对应的通信链路。
其中,每条第一参考通信链路可以包括一个链路标识,所述链路标识可以是该第一参考通信链路的链路名称,例如,蜂窝数据通信的链路标识可以是LTE等,智能家具设备的专用热点(例如各种智能家居专属配置的盒子等)的链路标识可以是各个智能家具设备对应的厂商的名称等,在此不做限定。
其中,所述确定所述多个链路标识中与所述网络域名匹配的目标链路标识的具体实现方式可以是确定链路标识与网络域名中的关键字或者关键字母的匹配度,当匹配度大于预设匹配度时,确定目标链路标识,例如网络域名mi可以对应小米盒子的专用热点的链路标识,或者可以是当多个链路标识中没有与网络域名匹配度大于预设匹配度的链路标识时,选取预设的通信链路的链路标识为目标链路标识,例如Wi-Fi对应的链路标识,在此不做限定。
可见,本示例中,电子设备将与网络域名匹配的链路标识对应的通信链路确定为目标通信链路,实现专网专用,有利于提升域名转换以及登录路由器的成功率,以及通信链路分流的合理性。
在一个可能的示例中,所述通过所述网络域名查询黑名单之后,所述方法还包括:
当检测到所述黑名单中不包括所述网络域名时,确定所述已连接的多条通信链路中属于第二类通信链路的多条第二参考通信链路;
在所述多条第二参考通信链路中确定所述目标通信链路。
其中,已连接的多条通信链路中可以包括既属于第一类通信链路,也属于第二类通信链路的通信链路,例如,Wi-Fi等,不在所述黑名单中的网络域名对应上述的第二类型,可以通过蜂窝移动等第二类型通信链路进行传输,不会出现解析失败的情况。
其中,在所述多条第二参考通信链路中确定所述目标通信链路的具体实现方式可以是多种多样的,可以是根据每条第二参考通信链路对应的信道的信道质量参数确定目标通信链路,也可以是根据每条第二参考通信链路的数据传输速率确定目标通信链路,在此不做限定。
可见,本示例中,电子设备在检测到黑名单中不包括网络域名时,在属于第二类通信链路的多条第二参考通信链路中确定目标通信链路,有利于提升DNS报文发送的合理性。
在这个可能的示例中,所述在所述多条第二参考通信链路中确定所述目标通信链路,包括:
确定所述多条第二参考通信链路中每个第二参考通信链路所使用的信道;
确定所述每个第二参考通信链路所使用的信道的信道质量参数;
根据所述信道质量参数确定所述目标通信链路。
其中,根据信道可以计算信道质量参数,信道质量参数包括信道自身的容量、网速、网络延迟等,对于网速的计算,读两个接口的网络流量,把上一次记录的流量这次记录的流量做一个差,得到这一秒钟网口上的流量的多少,即网速,而网络延迟是根据数据在信道中的往返时间统计算法得出。
其中,根据每个所述第二参考通信链路的信道质量参数确定所述目标通信链路的具体 实现方式可以是根据信道质量参数对多个第二参考通信链路进行排序,选取优先级高的为目标通信链路,或者可以是选取信道质量参数大于预设质量阈值的任一个第二参考通信链路为目标通信链路,在此不做唯一限定。
可见,本示例中,电子设备根据多个第二参考通信链路的信道质量参数选取目标无线通信链路,在保证了DNS报文解析成功的基础上提升了数据传输速度,避免网络延迟。
在一个可能的示例中,所述通过所述目标通信链路向目标DNS服务器发送所述DNS报文之后,所述方法还包括:
当接收来自所述目标DNS服务器的所述DNS报文解析失败的消息时,将所述DNS报文对应的所述网络域名添加至所述黑名单。
其中,目标DNS服务器可以向电子设备发送解析成功或者解析失败的消息,该消息可以是一个消息标识,例如1代表成功,0表示失败等,在此不做限定。
其中,当DNS报文中的网络域名不在黑名单中时,有两种可能,第一种可能是网络域名属于第二类,第二种可能是网络域名属于第一类,但是漏加入到黑名单中,这时会通过目标通信链路,例如,蜂窝数据通信链路发送到本地或者公共DNS服务器解析,那么当收到解析失败的消息时,表明该网络域名属于没有加入到黑名单中的第一类,因此,将该网络域名添加至黑名单。
可见,本示例中,电子设备在接收到目标DNS服务器发送的DNS报文解析失败的消息时,将网络域名加入黑名单,有效避免后续该网络域名解释失败的情况,提升黑名单的准确性。
在一个可能的示例中,所述方法还包括:
将所述DNS报文从Linux操作系统中的应用层通过传输层传输到网络层;
在所述网络层中,当所述DNS报文传输到防火墙架构中的本地数据包发送OUTPUT处的钩子点Hook时,通过预设处理函数执行所述解析DNS报文,获取所述DNS报文中待访问网络的网络域名,以及所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路的操作。
其中,所述预处理函数中即为该报文发送方法对应的函数。
其中,电子设备发包(DNS报文的数据包)的处理过程为:数据包从Linux操作系统应用层被发送到传输层TCP/UDP,之后经过路由判断发送到网络层IP层中防火墙架构中的数据包发送OUTPUT处的钩子点,之后到发往公网的数据包POSTROUTING的处理点,经由驱动发送到通信链路中,因此可以看出,DNS报文必然会经过OUTPUT处的钩子点,因此将预设处理函数设置在此处。
可见,本示例中,电子设备将执行解析DNS报文,获取所述DNS报文中待访问网络的网络域名,以及根据所述网络域名确定已连接的多条通信链路中的目标通信链路的操作设置在防火墙架构中的本地数据包发送OUTPUT处的钩子点Hook,有利于提升DNS报文发送前的有效处理和确定通信链路,提升报文发送的有效性。
与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种报文发送方法的流程示意图,应用于如图1中所述的电子设备,如图所示,本报文发送方法包括:
S301,电子设备解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名。
S302,所述电子设备通过所述网络域名查询黑名单。
S303,所述电子设备当检测到所述黑名单中包括所述网络域名时,确定已连接的多条通信链路中属于第一类通信链路的多条第一参考通信链路。
S304,所述电子设备获取所述多条第一参考通信链路的多个链路标识。
S305,所述电子设备确定所述多个链路标识中与所述网络域名匹配的目标链路标识。
S306,所述电子设备确定目标通信链路为与所述目标链路标识对应的通信链路。
S307,所述电子设备通过所述目标通信链路向目标DNS服务器发送所述DNS报文。
可以看出,本申请实施例中,电子设备解析DNS报文,获取所述DNS报文中待访问网络的网络域名,并根据所述网络域名确定已连接的多条通信链路中的目标通信链路,最后,通过所述目标通信链路向目标DNS服务器发送所述DNS报文。可见,电子设备在启动多通信链路的情况下,通过解析DNS报文获取待访问的网络域名确定发送该DNS报文的目标通信链路,有利于提升DNS报文发送的合理性,避免将一些自定义的网络域名对应的DNS报文通过蜂窝移动网络传输,提升DNS服务器解析DNS报文的成功率,以及有效提升报文解析效率。
此外,电子设备通过网络域名查询黑名单,当黑名单中包括所述网络域名时,确定与此种情况对应的第一类通信链路,保障黑名单中的一些自定义的网络域名在相应DNS服务器成功解析,直接通过查询黑名单的方法有利于提升报文发送的速度和便捷性。
此外,电子设备将与网络域名匹配的链路标识对应的通信链路确定为目标通信链路,实现专网专用,有利于提升域名转换以及登录路由器的成功率,以及通信链路分流的合理性。
与上述图2所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种报文发送方法的流程示意图,应用于如图1中所述的电子设备,所述电子设备建立有多个无线通信链路,如图所示,本报文发送方法包括:
S401,电子设备解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名。
S402,所述电子设备通过所述网络域名查询黑名单。
S403,所述电子设备当检测到所述黑名单中不包括所述网络域名时,确定已连接的多条通信链路中属于第二类通信链路的多条第二参考通信链路。
S404,所述电子设备确定所述多条第二参考通信链路中每个第二参考通信链路所使用的信道。
S405,所述电子设备确定所述每个第二参考通信链路所使用的信道的信道质量参数。
S406,所述电子设备根据所述信道质量参数确定目标通信链路。
S407,所述电子设备通过所述目标通信链路向目标DNS服务器发送所述DNS报文。
S408,所述电子设备当接收来自所述目标DNS服务器的所述DNS报文解析失败的消息时,将所述DNS报文对应的所述网络域名添加至所述黑名单。
可以看出,本申请实施例中,电子设备解析DNS报文,获取所述DNS报文中待访问网络的网络域名,并根据所述网络域名确定已连接的多条通信链路中的目标通信链路,最后,通过所述目标通信链路向目标DNS服务器发送所述DNS报文。可见,电子设备在启动多通信链路的情况下,通过解析DNS报文获取待访问的网络域名确定发送该DNS报文的目标通信链路,有利于提升DNS报文发送的合理性,避免将一些自定义的网络域名对应的DNS报文通过蜂窝移动网络传输,提升DNS服务器解析DNS报文的成功率,以及有效提升报文解析效率。
此外,电子设备在接收到目标DNS服务器发送的DNS报文解析失败的消息时,将网络域名加入黑名单,有效避免后续该网络域名解释失败的情况,提升黑名单的准确性。
此外,电子设备根据多个第二参考通信链路的信道质量参数选取目标无线通信链路,在保证了DNS报文解析成功的基础上提升了数据传输速度,避免网络延迟。
此外,电子设备在检测到黑名单中不包括网络域名时,在属于第二类通信链路的多条 第二参考通信链路中确定目标通信链路,有利于提升DNS报文发送的合理性。
与上述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子设备500的结构示意图,如图所示,所述电子设备500包括应用处理器510、存储器520、通信接口530以及一个或多个程序521,其中,所述一个或多个程序521被存储在上述存储器520中,并且被配置由上述应用处理器510执行,所述一个或多个程序521包括用于执行以下步骤的指令:
解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名;
根据所述网络域名确定已连接的多条通信链路中的目标通信链路;
通过所述目标通信链路向目标DNS服务器发送所述DNS报文。
可以看出,本申请实施例中,电子设备解析DNS报文,获取所述DNS报文中待访问网络的网络域名,并根据所述网络域名确定已连接的多条通信链路中的目标通信链路,最后,通过所述目标通信链路向目标DNS服务器发送所述DNS报文。可见,电子设备在启动多通信链路的情况下,通过解析DNS报文获取待访问的网络域名确定发送该DNS报文的目标通信链路,有利于提升DNS报文发送的合理性,避免将一些自定义的网络域名对应的DNS报文通过蜂窝移动网络传输,提升DNS服务器解析DNS报文的成功率,以及有效提升报文解析效率。
在一个可能的示例中,在所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路方面,所述程序521中的指令具体用于执行以下操作:通过所述网络域名查询黑名单;以及用于当检测到所述黑名单中包括所述网络域名时,确定所述已连接的多条通信链路中属于第一类通信链路的多条第一参考通信链路;以及用于在所述多条第一参考通信链路中确定所述目标通信链路。
在这个可能的示例中,在所述多条第一参考通信链路中确定所述目标通信链路方面,所述程序521中的指令具体用于执行以下操作:获取所述多条第一参考通信链路的多个链路标识;以及用于确定所述多个链路标识中与所述网络域名匹配的目标链路标识;以及用于确定所述目标通信链路为与所述目标链路标识对应的通信链路。
在一个可能的示例中,所述一个或多个程序521还包括用于执行以下步骤的指令:所述通过所述网络域名查询黑名单之后,当检测到所述黑名单中不包括所述网络域名时,确定所述已连接的多条通信链路中属于第二类通信链路的多条第二参考通信链路;以及在所述多条第二参考通信链路中确定所述目标通信链路。
在这个可能的示例中,在所述多条第二参考通信链路中确定所述目标通信链路方面,所述程序521中的指令具体用于执行以下操作:确定所述多条第二参考通信链路中每个第二参考通信链路所使用的信道;以及用于确定所述每个第二参考通信链路所使用的信道的信道质量参数;以及用于根据所述信道质量参数确定所述目标通信链路。
在一个可能的示例中,所述一个或多个程序521还包括用于执行以下步骤的指令:所述通过所述目标通信链路向目标DNS服务器发送所述DNS报文之后,当接收来自所述目标DNS服务器的所述DNS报文解析失败的消息时,将所述DNS报文对应的所述网络域名添加至所述黑名单。
在一个可能的示例中,所述一个或多个程序521还包括用于执行以下步骤的指令:将所述DNS报文从Linux操作系统中的应用层通过传输层传输到网络层;以及用于在所述网络层中,当所述DNS报文传输到防火墙架构中的本地数据包发送OUTPUT处的钩子点Hook时,通过预设处理函数执行所述解析DNS报文,获取所述DNS报文中待访问网络的网络域名,以及所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路的操作。
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图6是本申请实施例中所涉及的报文发送装置600的功能单元组成框图。该报文发送装置600应用于电子设备,该报文发送装置600包括处理单元601和通信单元602,其中:
所述处理单元601,用于解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名;以及用于根据所述网络域名确定已连接的多条通信链路中的目标通信链路;以及用于通过所述目标通信链路和所述通信单元602向目标DNS服务器发送所述DNS报文。
其中,所述报文发送装置600还可以包括存储单元603,用于存储电子设备的程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是触控显示屏或者收发器,存储单元603可以是存储器。
可以看出,本申请实施例中,电子设备解析DNS报文,获取所述DNS报文中待访问网络的网络域名,并根据所述网络域名确定已连接的多条通信链路中的目标通信链路,最后,通过所述目标通信链路向目标DNS服务器发送所述DNS报文。可见,电子设备在启动多通信链路的情况下,通过解析DNS报文获取待访问的网络域名确定发送该DNS报文的目标通信链路,有利于提升DNS报文发送的合理性,避免将一些自定义的网络域名对应的DNS报文通过蜂窝移动网络传输,提升DNS服务器解析DNS报文的成功率,以及有效提升报文解析效率。
在一个可能的示例中,在所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路方面,所述处理单元601具体用于:通过所述网络域名查询黑名单;以及用于当检测到所述黑名单中包括所述网络域名时,确定所述已连接的多条通信链路中属于第一类通信链路的多条第一参考通信链路;以及用于在所述多条第一参考通信链路中确定所述目标通信链路。
在这个可能的示例中,在所述多条第一参考通信链路中确定所述目标通信链路方面,所述处理单元601具体用于:获取所述多条第一参考通信链路的多个链路标识;以及用于确定所述多个链路标识中与所述网络域名匹配的目标链路标识;以及用于确定所述目标通信链路为与所述目标链路标识对应的通信链路。
在一个可能的示例中,所述处理单元601在所述通过所述网络域名查询黑名单之后,还用于:当检测到所述黑名单中不包括所述网络域名时,确定所述已连接的多条通信链路中属于第二类通信链路的多条第二参考通信链路;以及在所述多条第二参考通信链路中确定所述目标通信链路。
在这个可能的示例中,在所述多条第二参考通信链路中确定所述目标通信链路方面,所述处理单元601具体用于:确定所述多条第二参考通信链路中每个第二参考通信链路所使 用的信道;以及用于确定所述每个第二参考通信链路所使用的信道的信道质量参数;以及用于根据所述信道质量参数确定所述目标通信链路。
在一个可能的示例中,所述处理单元601在所述通过所述目标通信链路向目标DNS服务器发送所述DNS报文之后,还用于:当通过所述通信单元602接收来自所述目标DNS服务器的所述DNS报文解析失败的消息时,将所述DNS报文对应的所述网络域名添加至所述黑名单。
在一个可能的示例中,所述处理单元601还用于:将所述DNS报文从Linux操作系统中的应用层通过传输层传输到网络层;以及用于在所述网络层中,当所述DNS报文传输到防火墙架构中的本地数据包发送OUTPUT处的钩子点Hook时,通过预设处理函数执行所述解析DNS报文,获取所述DNS报文中待访问网络的网络域名,以及所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路的操作。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步 骤。而前述的存储器包括:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种报文发送方法,其特征在于,应用于电子设备,所述方法包括:
    解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名;
    根据所述网络域名确定已连接的多条通信链路中的目标通信链路;
    通过所述目标通信链路向目标DNS服务器发送所述DNS报文。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路,包括:
    通过所述网络域名查询黑名单;
    当检测到所述黑名单中包括所述网络域名时,确定所述已连接的多条通信链路中属于第一类通信链路的多条第一参考通信链路;
    在所述多条第一参考通信链路中确定所述目标通信链路。
  3. 根据权利要求2所述的方法,其特征在于,所述在所述多条第一参考通信链路中确定所述目标通信链路,包括:
    获取所述多条第一参考通信链路的多个链路标识;
    确定所述多个链路标识中与所述网络域名匹配的目标链路标识;
    确定所述目标通信链路为与所述目标链路标识对应的通信链路。
  4. 根据权利要求2所述的方法,其特征在于,所述在所述多条第一参考通信链路中确定所述目标通信链路,包括:
    当所述多条第一参考通信链路中包括第一通信链路时,确定所述第一通信链路为所述目标通信链路。
  5. 根据权利要求2所述的方法,其特征在于,所述通过所述网络域名查询黑名单之后,所述方法还包括:
    当检测到所述黑名单中不包括所述网络域名时,确定所述已连接的多条通信链路中属于第二类通信链路的多条第二参考通信链路;
    在所述多条第二参考通信链路中确定所述目标通信链路。
  6. 根据权利要求5所述的方法,其特征在于,所述在所述多条第二参考通信链路中确定所述目标通信链路,包括:
    确定所述多条第二参考通信链路中每个第二参考通信链路所使用的信道;
    确定所述每个第二参考通信链路所使用的信道的信道质量参数;
    根据所述信道质量参数确定所述目标通信链路。
  7. 根据权利要求5或6所述的方法,其特征在于,所述通过所述目标通信链路向目标DNS服务器发送所述DNS报文之后,所述方法还包括:
    当接收来自所述目标DNS服务器的所述DNS报文解析失败的消息时,将所述DNS报文对应的所述网络域名添加至所述黑名单。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    将所述DNS报文从操作系统中的应用层通过传输层传输到网络层;
    在所述网络层中,当所述DNS报文传输到防火墙架构中的本地数据包发送OUTPUT处的钩子点Hook时,通过预设处理函数执行所述解析DNS报文,获取所述DNS报文中待访问网络的网络域名,以及所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路的操作。
  9. 一种报文发送装置,其特征在于,应用于电子设备,所述报文发送装置包括处理单元和通信单元,其中,
    所述处理单元,用于解析域名系统DNS报文,获取所述DNS报文中待访问网络的网络域名;以及用于根据所述网络域名确定已连接的多条通信链路中的目标通信链路;以及用于通过所述目标通信链路和所述通信单元向目标DNS服务器发送所述DNS报文。
  10. 根据权利要求9所述的装置,其特征在于,在所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路方面,所述处理单元具体用于:通过所述网络域名查询黑名单;以及用于当检测到所述黑名单中包括所述网络域名时,确定所述已连接的多条通信链路中属于第一类通信链路的多条第一参考通信链路;以及用于在所述多条第一参考通信链路中确定所述目标通信链路。
  11. 根据权利要求10所述的装置,其特征在于,在所述多条第一参考通信链路中确定所述目标通信链路方面,所述处理单元具体用于:获取所述多条第一参考通信链路的多个链路标识;以及用于确定所述多个链路标识中与所述网络域名匹配的目标链路标识;以及用于确定所述目标通信链路为与所述目标链路标识对应的通信链路。
  12. 根据权利要求10所述的装置,其特征在于,在所述多条第一参考通信链路中确定所述目标通信链路方面,所述处理单元具体用于:当所述多条第一参考通信链路中包括第一通信链路时,确定所述第一通信链路为所述目标通信链路。
  13. 根据权利要求10所述的装置,其特征在于,所述处理单元在所述通过所述网络域名查询黑名单之后,还用于:当检测到所述黑名单中不包括所述网络域名时,确定所述已连接的多条通信链路中属于第二类通信链路的多条第二参考通信链路;以及在所述多条第二参考通信链路中确定所述目标通信链路。
  14. 根据权利要求13所述的装置,其特征在于,在所述多条第二参考通信链路中确定所述目标通信链路方面,所述处理单元具体用于:确定所述多条第二参考通信链路中每个第二参考通信链路所使用的信道;以及用于确定所述每个第二参考通信链路所使用的信道的信道质量参数;以及用于根据所述信道质量参数确定所述目标通信链路。
  15. 根据权利要求13或14所述的装置,其特征在于,所述处理单元在所述通过所述目标通信链路向目标DNS服务器发送所述DNS报文之后,还用于:当通过所述通信单元接收来自所述目标DNS服务器的所述DNS报文解析失败的消息时,将所述DNS报文对应的所述网络域名添加至所述黑名单。
  16. 根据权利要求9-15任一项所述的装置,其特征在于,所述处理单元还用于:将所述DNS报文从Linux操作系统中的应用层通过传输层传输到网络层;以及用于在所述网络层中,当所述DNS报文传输到防火墙架构中的本地数据包发送OUTPUT处的钩子点Hook时,通过预设处理函数执行所述解析DNS报文,获取所述DNS报文中待访问网络的网络域名,以及所述根据所述网络域名确定已连接的多条通信链路中的目标通信链路的操作。
  17. 一种芯片,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1-8中任一项所述的方法。
  18. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-8任一项所述的方法中的步骤的指令。
  19. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-8任一项所述的方法。
  20. 一种计算机程序产品,其特征在于,当所述计算机程序产品在终端上运行时,权利要求1-8任一项所述的方法得以实现。
PCT/CN2020/071254 2019-01-17 2020-01-09 报文发送方法及相关装置 WO2020147647A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20740921.0A EP3905628B1 (en) 2019-01-17 2020-01-09 Message sending method and related device
US17/373,945 US20210345221A1 (en) 2019-01-17 2021-07-13 Message sending method and related device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910044779.XA CN109889499B (zh) 2019-01-17 2019-01-17 报文发送方法及相关装置
CN201910044779.X 2019-01-17

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/373,945 Continuation US20210345221A1 (en) 2019-01-17 2021-07-13 Message sending method and related device

Publications (1)

Publication Number Publication Date
WO2020147647A1 true WO2020147647A1 (zh) 2020-07-23

Family

ID=66926203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/071254 WO2020147647A1 (zh) 2019-01-17 2020-01-09 报文发送方法及相关装置

Country Status (4)

Country Link
US (1) US20210345221A1 (zh)
EP (1) EP3905628B1 (zh)
CN (1) CN109889499B (zh)
WO (1) WO2020147647A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103034A (zh) * 2022-06-27 2022-09-23 京东科技信息技术有限公司 一种报文协议转换的方法和装置

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889499B (zh) * 2019-01-17 2021-01-12 Oppo广东移动通信有限公司 报文发送方法及相关装置
CN111277509B (zh) * 2020-01-13 2023-12-05 奇安信科技集团股份有限公司 针对ips引擎的流量引导方法及装置
US11665634B2 (en) * 2020-03-06 2023-05-30 Qualcomm Incorporated Interface selection using domain name service (DNS) round trip time (RTT)
CN111556552B (zh) * 2020-03-26 2023-01-31 维沃移动通信有限公司 数据传输方法及电子设备
CN111953806B (zh) * 2020-07-13 2023-05-12 深信服科技股份有限公司 一种链路选择方法、装置、计算机设备及计算机存储介质
CN114071464B (zh) * 2020-08-06 2023-08-15 中国移动通信集团上海有限公司 基于5g消息的专网实现方法、装置、设备及存储介质
CN112399484B (zh) * 2020-11-13 2023-09-12 Oppo广东移动通信有限公司 数据传输方法、装置、存储介质及电子设备
CN114448931B (zh) * 2022-02-17 2023-11-21 浪潮思科网络科技有限公司 一种基于mlag组网环境的域名解析方法、设备及介质
CN114745434A (zh) * 2022-04-06 2022-07-12 北京三快在线科技有限公司 代理网络请求的方法、装置、设备及存储介质
CN114629822A (zh) * 2022-04-18 2022-06-14 北京小米移动软件有限公司 链路检测方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120324113A1 (en) * 2011-04-19 2012-12-20 Matthew Browning Prince Registering for internet-based proxy services
US8572427B1 (en) * 2011-03-11 2013-10-29 Google Inc. Systems and methods for determining operational states of network resources based on network user activities
CN105592181A (zh) * 2015-10-15 2016-05-18 杭州华三通信技术有限公司 一种链路负载均衡方法及装置
CN105991347A (zh) * 2015-04-30 2016-10-05 杭州迪普科技有限公司 Dns请求报文的重定向方法和装置
CN107241270A (zh) * 2017-04-20 2017-10-10 北京安博通科技股份有限公司 报文处理方法及装置
CN109889499A (zh) * 2019-01-17 2019-06-14 Oppo广东移动通信有限公司 报文发送方法及相关装置

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087722A1 (en) * 2000-12-29 2002-07-04 Ragula Systems D/B/A/ Fatpipe Networks Domain name resolution making IP address selections in response to connection status when multiple connections are present
WO2013154532A1 (en) * 2012-04-10 2013-10-17 Intel Corporation Techniques to monitor connection paths on networked devices
FR2992128A1 (fr) * 2012-06-15 2013-12-20 France Telecom Gestion de l'acces d'un terminal a un reseau de communication par le biais d'une passerelle
US9407530B2 (en) * 2012-09-21 2016-08-02 Interdigital Patent Holdings, Inc. Systems and methods for providing DNS server selection using ANDSF in multi-interface hosts
WO2014068373A1 (en) * 2012-11-05 2014-05-08 Pismo Labs Technology Ltd. Methods and gateways for processing dns request
US20140173111A1 (en) * 2012-12-19 2014-06-19 Netzero Wireless, Inc. Data usage management systems and methods
US10574560B2 (en) * 2013-02-13 2020-02-25 Microsoft Technology Licensing, Llc Specifying link layer information in a URL
CN104717312B (zh) * 2013-12-13 2018-08-03 中国移动通信集团公司 一种确定访问网络资源接口的方法及装置
CN103973835A (zh) * 2014-05-16 2014-08-06 北京金山网络科技有限公司 一种域名系统dns服务器选择方法及装置
GB2532475B (en) * 2014-11-20 2017-03-08 F Secure Corp Integrity check of DNS server setting
US10185761B2 (en) * 2015-08-07 2019-01-22 Cisco Technology, Inc. Domain classification based on domain name system (DNS) traffic
CN106453215B (zh) * 2015-08-13 2019-09-10 阿里巴巴集团控股有限公司 一种网络攻击的防御方法、装置及系统
CN106941705A (zh) * 2016-01-04 2017-07-11 中国移动通信集团公司 一种网络设置方法和装置
CN108206814B (zh) * 2016-12-20 2021-03-16 腾讯科技(深圳)有限公司 一种防御dns攻击的方法、装置及系统
US20180191571A1 (en) * 2016-12-30 2018-07-05 IoT Defense, Inc. Network bridge device with automatic self-configuration and method thereof
US10511507B2 (en) * 2017-05-09 2019-12-17 Cisco Technology, Inc. Routing network traffic based on whether an application associated with traffic is a rerouting application as defined by a policy and whether a second path ranking exceeds a first path ranking
US10826820B2 (en) * 2017-05-09 2020-11-03 Cisco Technology, Inc. Routing network traffic based on DNS
US10432651B2 (en) * 2017-08-17 2019-10-01 Zscaler, Inc. Systems and methods to detect and monitor DNS tunneling
US11457022B1 (en) * 2017-09-26 2022-09-27 United Services Automobile Association (Usaa) Systems and methods for detecting malware domain names
US10791086B2 (en) * 2017-11-14 2020-09-29 Cisco Technology, Inc. Transparent DNS subtree redirection inclusive of subtree owner
CN108093098A (zh) * 2018-01-31 2018-05-29 杭州迪普科技股份有限公司 一种域名解析请求发送方法及装置
US10911460B2 (en) * 2018-07-02 2021-02-02 Juniper Networks, Inc. Methods and devices for blocking, detecting, and/or preventing malicious traffic
WO2020060539A1 (en) * 2018-09-18 2020-03-26 Hewlett-Packard Development Company, L.P. Adaptive domain name system
JP6766110B2 (ja) * 2018-09-20 2020-10-07 エヌ・ティ・ティ・コミュニケーションズ株式会社 制御装置、制御方法、及びプログラム
US11297077B2 (en) * 2018-10-31 2022-04-05 Hewlett Packard Enterprise Development Lp Gain customer trust with early engagement through visualization and data driven configuration

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8572427B1 (en) * 2011-03-11 2013-10-29 Google Inc. Systems and methods for determining operational states of network resources based on network user activities
US20120324113A1 (en) * 2011-04-19 2012-12-20 Matthew Browning Prince Registering for internet-based proxy services
CN105991347A (zh) * 2015-04-30 2016-10-05 杭州迪普科技有限公司 Dns请求报文的重定向方法和装置
CN105592181A (zh) * 2015-10-15 2016-05-18 杭州华三通信技术有限公司 一种链路负载均衡方法及装置
CN107241270A (zh) * 2017-04-20 2017-10-10 北京安博通科技股份有限公司 报文处理方法及装置
CN109889499A (zh) * 2019-01-17 2019-06-14 Oppo广东移动通信有限公司 报文发送方法及相关装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103034A (zh) * 2022-06-27 2022-09-23 京东科技信息技术有限公司 一种报文协议转换的方法和装置

Also Published As

Publication number Publication date
EP3905628A4 (en) 2022-02-16
US20210345221A1 (en) 2021-11-04
EP3905628A1 (en) 2021-11-03
EP3905628B1 (en) 2023-08-16
CN109889499B (zh) 2021-01-12
CN109889499A (zh) 2019-06-14

Similar Documents

Publication Publication Date Title
WO2020147647A1 (zh) 报文发送方法及相关装置
US10993166B2 (en) Data transmission method, electronic device, and computer readable storage medium
WO2020147627A1 (zh) 链路选取方法及相关装置
US11140071B2 (en) Multipath data transmission method and device
JP6726426B2 (ja) 端末間のログイン不要方法及び装置
US11277313B2 (en) Data transmission method and corresponding device
EP3720052B1 (en) Service identification method and device, and network device
WO2013131472A1 (zh) 消息处理方法、装置和系统
WO2019062593A1 (zh) 报文传输方法及装置、计算机可读存储介质
US20230217347A1 (en) Method for ursp rule-based application data routing, user equipment, and storage medium
RU2013122949A (ru) Улучшенный способ, точка доступа, сервер и система для автоматического удаленного доступа к сетям стандарта ieee 802.11
US11070466B2 (en) Method for link aggregation and related devices
US20180145905A1 (en) Data link layer-based communication method, device, and system
US10142282B2 (en) Methods and gateways for processing DNS request
CN103916492A (zh) 一种网络设备访问控制方法及装置
CN102970387A (zh) 一种域名解析方法、装置及系统
WO2018119592A1 (zh) 网络切片确定方法及装置
US11979819B2 (en) Communication method and apparatus
TWI513239B (zh) 網路設備及其進行路由轉發的方法
WO2013185696A2 (zh) 一种数据处理的方法与设备
JP2022533639A (ja) エッジアプリケーションを確定する方法、装置、機器及び記憶媒体
CN107534585A (zh) 通信方法和终端
CN105429880B (zh) 网络设备及其进行路由转发的方法
WO2014101046A1 (zh) 网络设备部署的方法、基站和网元管理设备
CN111800756B (zh) 一种数据发送方法、装置及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20740921

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020740921

Country of ref document: EP

Effective date: 20210729