WO2022042395A1 - Procédé de détermination d'adresse de serveur de service, et dispositif de communication - Google Patents

Procédé de détermination d'adresse de serveur de service, et dispositif de communication Download PDF

Info

Publication number
WO2022042395A1
WO2022042395A1 PCT/CN2021/113268 CN2021113268W WO2022042395A1 WO 2022042395 A1 WO2022042395 A1 WO 2022042395A1 CN 2021113268 W CN2021113268 W CN 2021113268W WO 2022042395 A1 WO2022042395 A1 WO 2022042395A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
request
address
service server
terminal device
Prior art date
Application number
PCT/CN2021/113268
Other languages
English (en)
Chinese (zh)
Inventor
陈朔
石帅
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022042395A1 publication Critical patent/WO2022042395A1/fr

Links

Images

Classifications

    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • the present application relates to the field of communications, and more particularly, to a method and a communication device for determining an address of a service server.
  • LinkTurbo can be understood as wireless local area networks (WLAN) and data services are online at the same time, using WLAN (such as wireless-fidelity, WiFi) and LTE/5G to improve network performance, for example, in dual WiFi paths ( 2.4GHz band WiFi path and 5GHz band WiFi path) and dual cellular network path, select one or more networks and use it to improve network experience.
  • WLAN such as wireless-fidelity, WiFi
  • LTE/5G wireless-fidelity, WiFi
  • dual cellular network paths can be both LTE networks, or both 5G networks, or , one of the dual-cellular network paths is an LTE network path, and the other is a 5G network path.
  • IP internet protocol
  • DNS domain name system
  • the present application provides a method and a communication device for determining the address of a service server.
  • DNS queries under different network paths, respectively, the IP addresses corresponding to the service servers on different network paths are obtained, and the corresponding IP addresses under different networks are used. Addresses interact with service servers on their respective network paths, thereby avoiding cross-network communication when accessing service servers, ensuring access rates, improving service experience in multi-network scenarios, and improving communication efficiency.
  • a method for determining an address of a service server includes: a terminal device sends a first request to a domain name system DNS server through a first network, where the first request includes a first domain name, and the first request is used to request a first Internet connection of a first service server corresponding to the first domain name Protocol IP address, the first IP address is used by the terminal device to access the first service server through the first network; the terminal device sends a second request to the DNS server through the second network, and the second request includes the first service server domain name, the second request is used to request the second IP address of the first service server, and the second IP address is used by the terminal device to access the first service server through the second network; the terminal device receives the transmission from the DNS server the first information in response to the first request, the first information includes the first IP address; the terminal device receives the second information sent by the DNS server in response to the second request,
  • the terminal device obtains the corresponding IP addresses of the service server on different network paths by performing DNS queries respectively on different network paths.
  • Terminal devices can use the corresponding IP addresses in different networks to interact with service servers on their respective network paths, thereby avoiding cross-network communication when accessing service servers, ensuring access rates, and improving services in multi-network scenarios. experience and improve communication efficiency.
  • the terminal device uses the LinkTurbo technology to access the service server through (or using) the first network and the second network.
  • the first network may be a WLAN, for example, the first network is specifically a WIFI network, and the WIFI network may be dual WiFi paths (a WiFi path in the 2.4GHz frequency band and a WiFi path in the 5GHz frequency band).
  • the second network may be a cellular network, and the cellular network may be a dual-cellular network path, wherein the dual-cellular network paths may both be LTE networks, or both may be 5G networks, or, one of the dual-cellular network paths may be an LTE network path, and in addition One is the 5G network path.
  • the first network and the second network belong to different network operators, or the first network and the second network belong to the same network operator.
  • the first network may belong to a telecommunications network operator, the second network Unicom or a mobile network operator.
  • the first network may belong to a China Unicom network operator, a second network telecommunication or mobile network operator, or the like.
  • both the first network and the second network belong to a telecommunication network operator or the like.
  • the method further includes: the terminal device, according to the first IP address, performs service communication with the first service server through the first network, for example, sending a service to the first service server through the first network.
  • the first service server sends a service request;
  • the terminal device performs service communication with the first service server through the second network according to the second IP address, for example, sends a service request to the first service server through the second network.
  • the terminal device after the terminal device obtains the IP addresses of the service servers corresponding to different networks, it can interact with the service servers under different networks through different IP addresses, which can avoid cross-network access to the server. In the case of communication, the access rate is guaranteed, the service experience in multi-network scenarios is improved, and the communication efficiency is improved.
  • the terminal device sends a service request to the first service server through the first network according to the first IP address, where the service request includes the first domain name; the terminal device receives The second information sent by the first service server in response to the service request, the second information includes: a second domain name corresponding to the first domain name, and a third IP address of the second service server corresponding to the second domain name , and the third IP address is used by the terminal device to access the second service server through the first network.
  • an HTTP 302 jump occurs in the HTTP request sent by the terminal device to the first service server through the first network.
  • the HTTP 302 jump can be understood as a temporary transfer of resources accessed by the terminal device, and the terminal device needs to obtain a new The resource location (the IP address of the server that actually stores the resource), and then revisit to get the resource. That is, the first service server is not the service server that actually stores the resources that the terminal device needs to access. ) feedback to the terminal device, so that the terminal device can interact with the second service server through the third IP address corresponding to the first network, and pull the stored resources of the second service server, ensuring that the terminal device can accurately and smoothly obtain the required resources to ensure the quality of communication.
  • the resource location the IP address of the server that actually stores the resource
  • the method further includes: sending, by the terminal device, a service request to the second service server through the first network according to the third IP address.
  • the method further includes: the terminal device sends a third request to the DNS server through the second network, where the third request includes the second domain name, and the third request is used to request the fourth IP address corresponding to the second service server, where the fourth IP address is used by the terminal device to access the second service server through the second network; the terminal device receives the message sent by the DNS server in response to the third request third information, where the third information includes the fourth IP address.
  • the terminal device can obtain the IP address (fourth IP address) of the second network corresponding to the second service server that actually stores resources through DNS query, so that the terminal device can pass the corresponding IP address of the second network.
  • the fourth IP address interacts with the second service server, and pulls the stored resources of the second service server, which ensures that the terminal device can obtain the required resources accurately and smoothly, and ensures the communication quality.
  • the method further includes: the terminal device performs service communication with the second service server through the second network according to the four IP addresses, for example, sending the service to the first service server through the second network. 2.
  • the service server sends a service request.
  • the first network is a wireless local area network WLAN
  • the second network is a Long Term Evolution System LTE network or a new wireless NR network.
  • a method for determining an address of a service server includes: a terminal device sends a first request to a domain name system DNS server through a first network, where the first request includes a first domain name, and the first request is used to request a first Internet connection of a first service server corresponding to the first domain name Protocol IP address, the first IP address is used by the terminal device to access the first service server through the first network; the terminal device sends a second request to the DNS server through the second network, and the second request includes the first service server domain name, the second request is used to request the second IP address of the third service server, and the second IP address is used by the terminal device to access the third service server through the second network; the terminal device receives the information sent by the DNS server In response to the first information of the first request, the first information includes the first IP address; the terminal device receives the second information sent by the DNS server in response to the second
  • the terminal device obtains the corresponding IP addresses of the service server on different network paths by performing DNS query respectively on different network paths.
  • Terminal devices can use the corresponding IP addresses in different networks to interact with service servers on their respective network paths, thereby avoiding cross-network communication when accessing service servers, ensuring access rates, and improving services in multi-network scenarios. experience and improve communication efficiency.
  • the method further includes: according to the first IP address, the terminal device performs service communication with the first service server through the first network, for example, sending a service to the first service server through the first network.
  • the first service server sends a service request;
  • the terminal device performs service communication with the third service server through the second network according to the second IP address, for example, sends a service request to the third service server through the second network.
  • the terminal device after the terminal device obtains the IP addresses of the service servers corresponding to different networks, it can interact with the service servers under different networks through different IP addresses, which can avoid cross-network access to the server. In the case of communication, the access rate is guaranteed, the service experience in multi-network scenarios is improved, and the communication efficiency is improved.
  • the first network and the second network belong to different network operators, or the first network and the second network belong to the same network operator.
  • the first network may belong to a telecommunications network operator, the second network Unicom or a mobile network operator.
  • the first network may belong to a China Unicom network operator, a second network telecommunication or mobile network operator, or the like.
  • both the first network and the second network belong to a telecommunication network operator or the like.
  • a method for determining an address of a service server includes: a terminal device sends a first request to a DNS server through a first network, where the first request includes a first domain name, and the first request is used to request a first IP address of a first service server corresponding to the first domain name, The first IP address is used by the terminal device to access the first service server through the first network.
  • the terminal device receives first information sent by the DNS server in response to the first request, where the first information includes the first IP address.
  • the terminal device sends a service request to the first service server through the first network according to the first IP address, where the service request includes the first domain name.
  • receives second information sent by the first service server in response to the service request where the second information includes: a second domain name corresponding to the first domain name and a third IP address of the second service server corresponding to the second domain name,
  • the third IP address is used by the terminal device to access the second service server through the first network.
  • the terminal device sends a third request to the DNS server through the second network, the third request includes the second domain name, the third request is used to request a fourth IP address corresponding to the second service server, and the fourth IP address is used for the terminal device Access the second service server through the second network.
  • the terminal device can maintain a whitelist of domain names, the whitelist of domain names includes one or more domain names, and the domain names included in the whitelist of domain names will be redirected by HTTP 302.
  • the domain name whitelist includes the first domain name.
  • the terminal device only needs to perform a DNS query process through the second network of China Unicom, and then it can query the IP address (fourth IP address) of the operator of the second network corresponding to the second service server that actually stores the resources that the terminal device needs to access. Reduce signaling overhead, save communication resources, and further improve communication efficiency.
  • the first network and the second network belong to different network operators, or the first network and the second network belong to the same network operator.
  • the first network may belong to a telecommunications network operator, the second network Unicom or a mobile network operator.
  • the first network may belong to a China Unicom network operator, a second network telecommunication or mobile network operator, or the like.
  • both the first network and the second network belong to a telecommunication network operator or the like.
  • the method further includes: the terminal device performs service communication with the second service server through the second network according to the four IP addresses.
  • the first network is a wireless local area network WLAN
  • the second network device is a Long Term Evolution System LTE network or a new wireless NR network.
  • a method for determining an address of a service server includes: a DNS server receives a first request from a terminal device, the first request includes a first domain name, the first request is used to request a first IP address of a first service server corresponding to the first domain name, and the first request includes a first domain name.
  • An IP address is used for the terminal device to access the first service server through the first network;
  • the DNS server receives a second request from the terminal device, the second request includes the first domain name, and the second request is used to request The second IP address of the first service server corresponding to the first domain name, where the second IP address is used by the terminal device to access the first service server through the second network;
  • the DNS server sends first information in response to the first request to the terminal device, where the first information includes the first IP address; the DNS server sends second information in response to the second request to the terminal device, the first information includes the first IP address The second information includes the second IP address.
  • the DNS server determines the corresponding IP addresses of the service server on different network paths according to the DNS query requests respectively sent by the terminal device under different network paths, and assigns the service server to the different network paths.
  • the corresponding IP addresses on the network path are fed back to the terminal device, so that the terminal device can use the corresponding IP addresses under different networks to interact with the service server on their respective network paths, thereby avoiding cross-network communication when accessing the service server.
  • the access rate is guaranteed, the service experience in multi-network scenarios is improved, and the communication efficiency is improved.
  • the first network and the second network belong to different network operators, or the first network and the second network belong to the same network operator.
  • the method further includes: the DNS server receiving a third request from the terminal device, where the third request includes a second domain name, and the second domain name corresponds to the first domain name, The third request is used to request the fourth IP address of the second service server, the second service server is the service server corresponding to the second domain name, and the fourth IP address is used for the terminal device to access the second service through the second network.
  • a service server the DNS server sends third information in response to the third request to the terminal device, where the third information includes the four IP addresses.
  • the first network is a wireless local area network WLAN
  • the second network device is a Long Term Evolution System LTE network or a new wireless NR network.
  • a communication device comprising a unit for performing each step in the above first aspect or any possible implementation manner of the first aspect, or, comprising a unit for performing the above second aspect
  • a communication apparatus including a unit for performing each step in the above fourth aspect or any possible implementation manner of the fourth aspect.
  • a communication device in a seventh aspect, includes at least one processor and a memory, and the at least one processor is configured to execute the method in the first aspect or any possible implementation manner of the first aspect, or, For performing the above second aspect or the method in any possible implementation manner of the second aspect, or for performing the above third aspect or the method in any possible implementation manner of the third aspect.
  • a communication device in an eighth aspect, includes at least one processor and a memory, where the at least one processor is configured to execute the above fourth aspect or the method in any possible implementation manner of the fourth aspect.
  • a communication device in a ninth aspect, includes at least one processor and an interface circuit, and the at least one processor is configured to execute the method in the above first aspect or any possible implementation manner of the first aspect, Or, for performing the above second aspect or the method in any possible implementation manner of the second aspect, or for performing the above third aspect or the method in any possible implementation manner of the third aspect method.
  • a tenth aspect provides a communication device, the communication device includes at least one processor and an interface circuit, where the at least one processor is configured to execute the method in the fourth aspect or any of the possible implementations of the fourth aspect.
  • a terminal device in an eleventh aspect, includes any one of the communication apparatuses provided in the fifth aspect, the seventh aspect, or the ninth aspect.
  • a twelfth aspect provides a DNS server, where the DNS server includes any of the communication devices provided in the sixth aspect, the eighth aspect, or the tenth aspect.
  • a thirteenth aspect provides a computer program product, the computer program product comprising a computer program, when executed by a processor, for performing the method in any one of the first to fourth aspects, or , which is used to execute the method in any possible implementation manner of any one of the first aspect to the fourth aspect.
  • a fourteenth aspect provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed, is used to execute any one of the first to third aspects.
  • a fifteenth aspect provides a chip, the chip comprising: a processor for calling and running a computer program from a memory, so that a communication device installed with the chip executes any one of the first to fourth aspects A method, or a method for performing any possible implementation manner of any one of the first aspect to the fourth aspect.
  • the method for determining the address of a service server provided by the present application obtains the corresponding IP addresses of the service server on different network paths by performing DNS query respectively under different network paths.
  • Terminal devices can use the corresponding IP addresses in different networks to interact with service servers on their respective network paths, thereby avoiding cross-network communication when accessing service servers, ensuring access rates, and improving services in multi-network scenarios. experience and improve communication efficiency.
  • Figure 1 is a schematic diagram of a terminal device using LinkTurbo technology.
  • FIG. 2 is a schematic diagram of an example of a process of accessing a service server by a terminal device under dual networks provided by the present application.
  • FIG. 3 is a schematic diagram of an example of a communication system provided by the present application and applicable to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of an example of a method for determining an address of a service server provided by an embodiment of the present application.
  • Fig. 5 is an example of a schematic interface diagram displayed by a terminal device provided by the present application when the method provided by the present application is used.
  • FIG. 6 is a schematic flowchart of another example of a method for determining an address of a service server provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of an example of a pre-engine processing flow and a post-engine processing flow provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an example of a pre-engine processing flow provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an example of a post-engine processing flow provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an example of DNS query of multiple available networks provided by the present application.
  • FIG. 11 is a schematic diagram of an example of an MPDNS cache query process provided by the present application.
  • FIG. 12 is a schematic flowchart of another example of a method for determining an address of a service server provided by an embodiment of the present application.
  • FIG. 13 is a schematic flowchart of another example of a method for determining an address of a service server provided by an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of another example of a method for determining an address of a service server provided by an embodiment of the present application.
  • FIG. 15 is a schematic block diagram of another example of the structure of a communication apparatus provided by an embodiment of the present application.
  • FIG. 16 is a schematic block diagram of another example of the structure of a communication apparatus provided by an embodiment of the present application.
  • FIG. 17 is a schematic block diagram of another example of the structure of a communication apparatus provided by an embodiment of the present application.
  • FIG. 18 is a schematic block diagram of another example of the structure of a communication apparatus provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • plural means two or more.
  • various aspects or features of the present application may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques.
  • article of manufacture encompasses a computer program accessible from any computer readable device, carrier or medium.
  • computer readable media may include, but are not limited to: magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CDs), digital versatile discs (DVDs) etc.), smart cards and flash memory devices (eg, erasable programmable read-only memory (EPROM), card, stick or key drives, etc.).
  • various storage media described herein can represent one or more devices and/or other machine-readable media for storing information.
  • the term "machine-readable medium” may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • CDMA Wideband Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access
  • the terminal device in this embodiment of the present application may refer to a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or user device.
  • the terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a wireless communication Functional handheld devices, computing devices, or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks, or terminals in a future evolved Public Land Mobile Network (PLMN) equipment, etc., which are not limited in this embodiment of the present application.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • PLMN Public Land Mobile Network
  • the mobile terminal With the continuous growth of the number of users of mobile terminals (such as mobile phones), the business functions supported by various mobile terminals continue to increase. For example, functions such as instant messaging, securities, web browsing, and file download have gradually become the mainstream of terminal devices, especially smart phones. application.
  • the mobile terminal In the process of surfing the Internet, the mobile terminal needs to query the domain name of the uniform resource locator (URL) for the Internet protocol (IP) address corresponding to the domain name in order to send data packets. This process needs to be done by querying the Domain Name System (DNS) server.
  • URL uniform resource locator
  • IP Internet protocol
  • DNS Domain Name System
  • a DNS server is a distributed host information database that provides mapping and conversion between domain names and IP addresses of business servers, and can resolve domain names to corresponding IP addresses through the DNS server. Terminal devices can access domain names through the domain name resolution service provided by DNS.
  • the process of domain name access is as follows: Take the terminal device accessing domain name A as an example, when the terminal device accesses the domain name A, it queries whether the IP address of the service server corresponding to the domain name A exists in its cache. If so, the terminal device can directly obtain the IP address of the service server. IP address, access the service server corresponding to the domain name A through the IP address. If it does not exist, the terminal device can send a domain name resolution request to the DNS server, the domain name resolution request carries the domain name A, and the DNS server returns the IP address corresponding to the domain name A, and the terminal device can access the domain name A through the IP address. business server.
  • the terminal device After obtaining the IP address corresponding to the domain name, the terminal device generates and caches a DNS cache record.
  • the DNS cache record is used to indicate the correspondence between the domain name and the IP address.
  • the terminal device maintains a corresponding time to live (TTL) for each cached DNS cache record.
  • TTL of the DNS cache record is the retention time of the DNS cache record in the cache of the terminal device. In this way, if the terminal device needs to access the domain name in the DNS cache record again within the TTL of a certain DNS cache record, the terminal device can directly obtain the IP address corresponding to the domain name according to the DNS cache record. If the TTL of the DNS cache record is exceeded, the terminal device needs to access the domain name again, and obtain the IP address corresponding to the domain name through DNS server resolution.
  • Multihome the multi-address of the host (Multihome) has become more and more popular.
  • Ipv4 Internet protocol version 4, Ipv4.
  • MPTCP multipath transmission control protocol
  • MPTCP allows transmission control protocol connections to use multiple paths to maximize channel resource usage. Instead of using a single channel as required by the traditional TCP protocol, it supports inverse multiplexing of redundant channel resources, increasing the overall data transfer rate to the sum of all available channels.
  • MPTCP is also backward compatible with legacy TCP protocols.
  • LinkTurbo can be understood as WLAN and data services online at the same time, using WLAN (such as wireless-fidelity, WiFi) and cellular network to improve network performance, intelligently select one or two networks between WiFi and cellular network and use it to improve network performance Network experience.
  • Figure 1 shows a schematic diagram of the use of LinkTurbo technology by terminal equipment. As shown in Figure 1, when LinkTurbo supports turning on WiFi, start the cellular network at the same time to ensure that the dual networks are online at the same time.
  • WiFi can include two WiFi paths ( The WiFi path in the 2.4GHz band and the WiFi path in the 5GHz band), the cellular network can include two paths, that is, a dual-cellular path, and the dual-cellular network paths can be both LTE network paths, or both 5G network paths, or, dual-cellular paths One of the network paths is an LTE network path, and the other is a 5G network path.
  • the simultaneous online aggregation mode among the four network paths can be selected.
  • WiFi and cellular can be used One of the networks is the main data transmission mode, and the other is the backup data transmission mode, that is, the active-standby mode.
  • the WiFi network belongs to a telecommunication operator (Telecom Network)
  • the LTE network belongs to a Unicom operator (Unicom Network).
  • the terminal first performs a DNS query under the default network (for example, WiFi), and the DNS server returns the service server IP address (for example, the IP address is 1.1.1.1) on the WIFI path (or corresponding to the telecommunications network) to the terminal device, and the terminal obtains the After the service server has an IP address, it interacts with the service server whose IP address is 1.1.1.1 on the WiFi path through the telecommunication network to obtain corresponding resources.
  • the terminal device also interacts with the service server (IP address 1.1.1.1) through the Unicom network on the LTE path, that is, interacts with the service server through WIFI and LTE to obtain corresponding resources.
  • IP address 1.1.1.1 is the IP address of the service server corresponding to the telecom network, and the terminal device needs to access the IP address through the Unicom network on the LTE path, the access service server on the LTE path has cross-network access. (across carriers).
  • the rate of the operator's cross-network channel will be limited, and in some scenarios, cross-network access may be blocked.
  • the access rate will be limited. That is to say, when the multi-network access of the terminal device belongs to different operator scenarios, the problem of limited multi-network access rate will occur.
  • content delivery network (CDN) manufacturers solve this problem by deploying cross-network border gateway protocol (BGP) routing, but the cost of deploying cross-network BGP routing is relatively high.
  • cross-network cross-operator
  • the access rate will be limited, and in some scenarios, cross-network access may be blocked. , which affects the service experience in multi-network scenarios and reduces communication efficiency.
  • the present application provides a method for determining the address of a service server.
  • DNS query under different network paths, respectively, the IP addresses corresponding to the service servers on different network paths are obtained, and the corresponding IP addresses under different networks are used.
  • the IP addresses interact with service servers on their respective network paths, thus avoiding cross-network communication when accessing service servers, ensuring access rates, improving service experience in multi-network scenarios, and improving communication efficiency.
  • FIG. 3 is a schematic structural diagram of an example of a wireless communication system applicable to an embodiment of the present application.
  • the terminal device when the terminal device needs to access the application, it can query the DNS server for the IP address of the service server corresponding to the domain name to be accessed. The IP address is used to access the service server, so as to obtain the data of the application that needs to be accessed.
  • the terminal device adopts the dual network connection technology (LinkTurbo technology).
  • the terminal device utilizes a WiFi network and a cellular network to improve network performance.
  • the WiFi network may include two WiFi paths (a WiFi path in the 2.4GHz band and a WiFi path in the 5GHz band).
  • the dual cellular network paths can be both LTE networks or both 5G networks, or, one of the dual cellular network paths is an LTE network path and the other is a 5G network path.
  • the WiFi belongs to the telecom network operator
  • the cellular network belongs to the China Unicom network operator
  • the terminal device can access the service server through the WiFi network and the cellular network network.
  • the WiFi network and the cellular network can also belong to the same network operator.
  • FIG. 4 is a schematic flowchart of a method 200 for determining an address of a service server according to an embodiment of the present application.
  • This method can be applied to, for example, the scenario shown in FIG. 1 to FIG. 3 that cross-network occurs when accessing the service server under multiple networks.
  • cross-network scenario that occurs in the use of LinkTurbo technology.
  • the method provided by the present application can also be applied to other systems where cross-network occurs when accessing a service server under multiple networks, which is not limited in this embodiment of the present application.
  • the method provided by the present application will be described with the terminal device, the DNS server, and the service server as the main body of execution.
  • the execution subject of the execution method may also be a chip applied to a terminal device, a DNS server, and a service server.
  • the method 200 shown in FIG. 4 may include S210 to S240. Each step in the method 200 will be described in detail below with reference to FIG. 4 .
  • the terminal device sends a first request to the DNS server through the first network, where the first request includes a first domain name, the first request is used to request the first IP address of the first service server corresponding to the first domain name, the first The IP address is used by the terminal device to access the first service server through the first network.
  • the DNS server receives the first request.
  • the terminal device sends a second request to the DNS server through the second network, where the second request includes the first domain name, and the second request is used to request the second IP address of the first service server.
  • the first network and the second network belong to different network operators, or the first network and the second network belong to the same network operator.
  • the DNS server receives the second request.
  • the DNS server sends first information in response to the first request to the terminal device, where the first information includes the first IP address.
  • the DNS server sends second information in response to the second request to the terminal device, where the second information includes the second IP address.
  • the terminal device uses the LinkTurbo technology to access the service server through (or using) the first network and the second network.
  • the first network may be a WLAN, for example, the first network is specifically a WIFI network, and the WIFI network may have dual WiFi paths (a WiFi path in the 2.4GHz band and a WiFi path in the 5GHz band).
  • the second network may be a cellular network, and the cellular network may be a dual-cellular network path, wherein the dual-cellular network paths may both be LTE networks, or both may be 5G networks, or, one of the dual-cellular network paths may be an LTE network path, and in addition One is the 5G network path.
  • the first network may also be a wireless local area network in other forms.
  • the first network and the second network belong to different network operators, for example, the first network may belong to a telecommunication network operator, the second network Unicom or a mobile network operator. Alternatively, the first network may belong to a China Unicom network operator, a second network telecommunication or mobile network operator, or the like.
  • the first network and the second network may also belong to the same network operator.
  • Figure 5 shows an example of a schematic interface diagram displayed by the terminal device when the method provided by the present application is used.
  • the user is in the terminal Select to open a certain APP on the display interface of the device, such as the "Video" APP, after the APP is started, as shown in Figure b in Figure 5, a dialog box pops up to the user on the display interface of the terminal device, prompting the user to "" WLAN and mobile data are being used at the same time", which means that the end device is using LinkTurbo technology.
  • the terminal device APP on the terminal device
  • the first network is WIFI
  • the second network is LTE
  • the first network belongs to a telecom network operator
  • the second network belongs to a China Unicom network operator as an example for description.
  • the first network and the second network may also be other networks, and the first network and the second network may also belong to the same operator.
  • the embodiments of the present application are not limited herein.
  • the terminal device when the terminal device needs to access a certain domain name (for example, the first domain name), if the application on the terminal device creates a hypertext transfer protocol (HTTP) session, the query of the locally cached DNS type record will be invalid.
  • HTTP hypertext transfer protocol
  • the IP address of the service server corresponding to the first domain name will trigger the generation of the first request, for example, the first request may be a DNS query request.
  • the terminal device (or the APP on the terminal device) can send a first request to the DNS server through the first network (WIFI network), where the first request includes the first domain name, and the first request is used to request the service corresponding to the first domain name
  • the first IP address of the server ie, the first service server
  • WIFI belongs to a telecom operator
  • the first IP address is used by the terminal device to access the first service server through the WIFI network.
  • the first service server can correspond to multiple different IP addresses correspond to different operators, and the first request may be used to request the IP address (first IP address) of the telecommunications network corresponding to the first service server.
  • the DNS server receives the first request. That is to say, the terminal device can query the IP address of the service server corresponding to the telecommunication network on the WIFI path.
  • the first domain name may be www.xxx.com.
  • the terminal device since the terminal device uses the LinkTurbo technology, it can also send a second request to the DNS server through the second network (LTE network), where the second request includes the first domain name, and the second request is used to request the first domain name.
  • the DNS server receives the second request. That is, the terminal device can also query the IP address of the service server corresponding to the China Unicom network on the LTE path. It should be understood that, in this embodiment of the present application, S220 is an optional step.
  • the terminal device may copy the first request on the WIFI path to obtain the second request, and then send the second request to the DNS through the LTE network.
  • the DNS server queries the IP address (first IP address) of the first application server corresponding to the telecommunication network according to the first request, and then sends first information in response to the first request to the terminal device, the first information Include the first IP address.
  • the first service server may be assigned different IP addresses, and different IP addresses correspond to different network operators.
  • the DNS server may acquire and store multiple IP addresses of the first service server and network operators corresponding to different IP addresses from the operator of the service server.
  • the DNS server determines that the first request is sent on the network of a telecommunication operator (or may be referred to as a telecommunication network)
  • it can determine that the first request is used to request the IP address of the telecommunication network corresponding to the first service server (the first IP address), thereby returning the IP address (first IP address) of the telecommunications network corresponding to the first service server to the terminal device through the first information.
  • the first information may be a DNS query response message.
  • the terminal device After acquiring the first IP address, the terminal device can store the correspondence between the first domain name, the first IP address, the WIFI path and the telecommunication network.
  • the DNS server queries the IP address (second IP address) of the first application server corresponding to the Unicom network on the LTE path according to the second request, and then sends the second information in response to the second request to the terminal device,
  • the second information includes the first IP address.
  • the DNS server determines that the second request is sent on the China Unicom operator's network (or may be referred to as the China Unicom network)
  • it can determine that the second request is used to request the IP address of the China Unicom network corresponding to the first service server (second IP address) address, thereby returning the IP address (second IP address) of the Unicom network corresponding to the first service server to the terminal device through second information
  • the second information can also be a DNS query response message .
  • the terminal device can store the correspondence between the first domain name, the second IP address, the LTE path, and the Unicom network.
  • the terminal device may also store the correspondence between the first domain name, the first IP address, the second IP address, the telecommunication network, and the China Unicom network.
  • the terminal device After the terminal device obtains the first IP address and the second IP address of the first service server, the terminal device determines the first IP address of the application server corresponding to the Unicom network on the LTE path, and the first IP address corresponding to the telecommunications network on the WIFI path.
  • the second IP address of the application server wherein the first IP address and the second IP are different.
  • the first IP address and the second IP may correspond to the same application server (for example, a CDN server), or the first IP address and the second IP may correspond to different application servers, and the CDN data or content stored by different application servers are consistent.
  • the method for determining the address of a service server provided by the present application obtains the corresponding IP addresses of the service server on different network paths by performing DNS query respectively under different network paths.
  • Terminal devices can use the corresponding IP addresses in different networks to interact with service servers on their respective network paths, thereby avoiding cross-network communication when accessing service servers, ensuring access rates, and improving services in multi-network scenarios. experience and improve communication efficiency.
  • the DNS server may filter and select the DNS requests, and only partially affect the dual-network services.
  • the DNS corresponding to the stream is queried.
  • the method 200 further includes S250 and S260.
  • the terminal device performs service communication with the first service server through the first network according to the first IP address.
  • the terminal device performs service communication with the first service server through the second network according to the second IP address.
  • the terminal device can perform service communication with the service server (the first service server) through the first IP address corresponding to the WIFI path of the telecommunication network according to the first IP address, for example, to the first IP address.
  • a service server sends an HTTP request to pull resources stored in the service server. That is, the terminal device sends a service request to the service server on the WIFI path of the telecommunication network according to the first IP address to request service resources and data.
  • the service may be a video service or a browsing service Wait.
  • the terminal device can perform business communication with the service server (the first service server) on the LTE path through the second IP address corresponding to the China Unicom network according to the second IP address, for example, to
  • the first service server sends an HTTP request to pull resources stored in the service server. That is, according to the second IP address, the terminal device sends a service request to the service server on the LTE path of the Unicom network to request service resources and data.
  • the terminal device After the terminal device obtains the IP addresses of the service servers corresponding to different networks, it can interact with the service servers under different networks through different IP addresses, which can avoid accessing
  • the cross-network communication of the server ensures the access rate, improves the service experience in multi-network scenarios, and improves the communication efficiency.
  • the terminal device when the terminal device (specifically, the APP on the terminal device) uses the first IP address to access the first service server, it can query whether the first domain name corresponding to the first IP address corresponds to multiple IP address.
  • the APP on the terminal device can use the second IP address to bind the flow of the application Set on the China Unicom network corresponding to the second IP address, send a new HTTP request through (or use) the LTE network of the China Unicom network operator, and the destination address of the HTTP request is the second IP address, that is, through different IP addresses, respectively. Interact with business servers under different networks. If it is found that a certain domain name corresponds to only one IP address, the IP address is used to interact with the service server through only one network path, and no service offload processing is performed.
  • the content of different service servers for the same resource may be inconsistent. Therefore, when the terminal pulls the same resource from different CDN servers, it matches the resource information. If the data of different CDN servers is found to be inconsistent when pulling the resource, it will no longer pull the offloaded data, that is, not under the multi-network path. of concurrent access. Further, when it is determined that the data of the CDN server is inconsistent, the corresponding IP addresses of different CDN servers will be recorded, and these IP addresses will be recorded as multiple abnormal IPs. When using these IPs to initiate resource requests later, no further processing will be performed. Handling of multiple requests for resources.
  • CDN servers for example, CDN servers
  • FIG. 7 is a schematic diagram showing the processing flow of the pre-engine and the post-engine.
  • the processing flow of the front engine includes: the traditional DNS request (legacy DNS request) of the DNS server monitoring application, multi-channel and multi-network DNS query according to the available network, and writing the query result into the first-level cache.
  • the processing flow of the front engine is as follows: It is executed ahead of the post-engine processing flow. For example, the flow shown in FIG. 4 is a possible implementation manner of the processing flow of the pre-engine.
  • the post-engine processing flow includes: after the terminal device and the CDN server establish a TCP connection through a TCP synchronization message (TCP SYN), the CDN server monitors the HTTP request of the APP (for requesting service data), and performs multiple processing according to the host field in the HTTP request. It performs DNS query on multiple networks, and writes the query result into the secondary cache.
  • TCP SYN TCP synchronization message
  • the post-engine processing flow is later than the front-end engine processing flow during execution.
  • the host field includes the domain name and/or IP address of the http server to be accessed.
  • FIG 8 shows a schematic diagram of the processing flow of the front-end engine.
  • DNS query is first performed, and DNS query request is performed.
  • CurNet current network
  • the netd process listens to the traditional DNS query of the whitelist application of the DNS domain name, it triggers the front-end engine to replicate multiple DNS requests on multiple different available networks (multiNets) according to the network on which the original DNS request is based and the currently available network.
  • Query the DNS domain name can also be controlled by the whitelist or not
  • addrs IP address
  • FIG. 9 shows a schematic diagram of the post-engine processing flow.
  • the kernel monitors When the HTTP plaintext request message is sent to the whitelist application, the host field in the content of the message, the destination IP (dstAddr) of the message, and the network (curNet) on which the message is currently transmitted are extracted, and written to the three parts of the kernel. level cache.
  • curNet can be determined by extracting network identification (netid) information according to the application framework layer mark (fwmark) of the socket (socket). Report the host to emcomd to trigger the post-engine to perform DNS query of multiple available networks (multiNets).
  • the DNS query logic of the post-engine is the same as that of the front-end engine. ), the changed entry is passed to the L3 cache.
  • FIG. 10 is a schematic diagram of an example of DNS query of multiple available networks provided by the present application.
  • the DNS query of multiple available networks may also be referred to as a multipath DNS (multipath transmission domain name system, MPDNS) cache query.
  • MPDNS multipath transmission domain name system
  • targetNet The target network (targetNet), combined with these three information as the input of the MPDNS cache, finds the target IP (dstAddrlnTargetNet) under the target network after searching in the cache, and finally rewrites the destination IP of the socket with this IP.
  • FIG. 11 is a schematic diagram of an example of an MPDNS cache query process provided by the present application.
  • the kernel extracts the destination IP of the socket (for IPv4x), the network it is based on (for wlan0), and the NIC ID of the target network (for rmnet0), and uses these three pieces of information as the input of the MPDNS cache, After searching in the cache, get the destination IP under the target network (as IPv4y), and finally replace the destination IP in the socket with IPv4y.
  • the terminal device sends a service request to the first service server through the first network according to the first IP address, where the service request includes the first domain name.
  • the first service server sends second information in response to the service request to the terminal device, where the second information includes: a second domain name corresponding to the first domain name, and a third domain name of the second service server corresponding to the second domain name
  • the IP address, and the third IP address is used by the terminal device to access the second service server through the first network.
  • the service server (first service server) corresponding to the queried first IP address is not a service server that actually stores the resources that the terminal device needs to access, for example , the first service server is a scheduling server.
  • the HTTP request sent by the terminal device (or the APP on the terminal device) will have an HTTP 302 jump on the WIFI path.
  • the HTTP 302 jump can be understood as a temporary transfer of the resources accessed by the terminal device.
  • the terminal device needs to Get the new resource location (the IP address of the server that actually stores the resource), and then revisit to obtain the resource, which means that the terminal device also needs to perform a post-engine query.
  • the terminal device After the terminal device establishes a TCP session connection with the first service server through a TCP message (for example, a TCP SYN message) on the WIFI path, the terminal device will send the first service server through the WIFI network according to the first IP address.
  • a service request for example, an HTTP request
  • the service request includes the first domain name.
  • the first service server determines the service server (for example, the second service server that actually stores the resources) by querying The IP address (third IP address) of the telecommunication network corresponding to the service server), the third IP address is used by the terminal device to access the second service server through the WIFI network.
  • the first service server will send second information in response to the service request to the terminal device, where the second information includes: the IP address (third IP address) of the telecommunications network corresponding to the second service server.
  • the first domain name may also be changed to a second domain name. Therefore, the second information further includes: a second domain name corresponding to the first domain name. In this way, the terminal device can obtain the IP address and the corresponding second domain name on the WIFI path corresponding to the second service server that actually stores the resource to be accessed.
  • the terminal device After the terminal device obtains the IP address of the second service server on the WIFI path and the corresponding domain name, it can interact with the second service server on the WIFI path through the third IP address corresponding to the telecommunication network, and pull the second service server's IP address. stored resources. E.g. The terminal device can send a service request to the second service server through the WIFI network of the telecom operator according to the IP address of the second service server in the WIFI, and then obtain the required data and resources.
  • the method 200 may further include S243 and S244 .
  • the terminal device sends a third request to the DNS server through the second network, where the third request includes the second domain name, and the third request is used to request a fourth IP address corresponding to the second service server, the fourth IP address The address is used by the terminal device to access the second service server through the second network.
  • the DNS server sends third information in response to the third request to the terminal device, where the third information includes the fourth IP address.
  • the terminal device Since the HTTP request sent by the terminal device is redirected by HTTP 302 on the WIFI path, on the LTE path, the terminal device also needs to re-query the DNS to obtain the IP address of the China Unicom network corresponding to the second service server (the fourth IP address ). That is to say, the terminal device also needs to perform the post-engine processing flow.
  • the terminal device sends a third request (for example, a DNS query request) to the DNS server through the LTE path network according to the acquired second domain name corresponding to the first domain name, where the third request includes the second domain name, the The third request is used to request the IP address (fourth IP address) of the Unicom network corresponding to the second service server.
  • the DNS server queries through the MPDNS cache.
  • the DNS server determines that the third request is sent through the network of the China Unicom operator, it can determine that the third request is used to request the IP address of the China Unicom network corresponding to the second service server. address (fourth IP address) address, thereby returning the IP address (fourth IP address) of the Unicom network corresponding to the second service server to the terminal device through the third information.
  • the third IP address and the fourth IP address are different.
  • the terminal device After the terminal device obtains the IP address of the second service server on the LTE path, it can interact with the second service server on the LTE path through the IP address corresponding to the China Unicom network, and pull the stored resources of the second service server. E.g. The terminal device can send a service request to the second service server through the LTE network according to the IP address of the second service server on the LTE path, and then obtain the required data and resources.
  • the terminal device may only perform the pre-engine processing flow. Or, in the case of HTTP 302 redirection, the terminal device needs to execute the pre-engine processing flow and the post-engine processing flow.
  • the terminal device may maintain a domain name whitelist, where the domain name whitelist includes one or more domain names, and the domain names included in the domain name whitelist can be understood as domain names that will undergo HTTP 302 redirection. Because the domain name included in the whitelist will definitely be redirected by HTTP 302. Therefore, in some possible implementation manners of the present application, taking FIG. 14 as an example, FIG. 14 is a schematic flowchart of a method 300 for determining a service server address according to an embodiment of the present application, as shown in FIG. 14 , shown in FIG. 14 .
  • the resulting method 300 may include S310 to S360.
  • the domain name whitelist includes the first domain name.
  • the terminal device sends a first request to the DNS server through the first network, where the first request includes a first domain name, the first request is used to request the first IP address of the first service server corresponding to the first domain name, the first The IP address is used by the terminal device to access the first service server through the first network.
  • the DNS server receives the first request.
  • the DNS server sends first information in response to the first request to the terminal device, where the first information includes the first IP address.
  • the terminal device sends a service request to the first service server through the first network according to the first IP address, where the service request includes the first domain name.
  • the first service server sends second information in response to the service request to the terminal device, where the second information includes: a second domain name corresponding to the first domain name and a third IP address of the second service server corresponding to the second domain name , and the third IP address is used by the terminal device to access the second service server through the first network.
  • the terminal device sends a third request to the DNS server through the second network, the third request includes the second domain name, the third request is used to request a fourth IP address corresponding to the second service server, and the fourth IP address is used to The terminal device accesses the second service server through the second network.
  • the DNS server sends third information in response to the third request to the terminal device, where the third information includes a fourth IP address.
  • the terminal device obtains the first IP address of the first service server.
  • the terminal device sends a service request (for example, an HTTP request) to the first service server through the WIFI network.
  • a service request for example, an HTTP request
  • the first service server determines, by querying, the telecommunication corresponding to the service server (for example, the second service server) that actually stores the resources.
  • the IP address (third IP address) of the network the first service server will send second information in response to the service request to the terminal device, the second information includes: the third IP address of the telecommunications network corresponding to the second service server, and a second domain name corresponding to the first domain name.
  • the terminal device can interact with the second service server on the WIFI path through the third IP address corresponding to the telecommunication network, and pull the second service server of stored resources.
  • the terminal device On the LTE path, the terminal device also needs to perform a DNS query again to obtain the IP address (fourth IP address) of the China Unicom network corresponding to the second service server.
  • the terminal device will send a third request (for example, a DNS query request) to the DNS server through the LTE network according to the acquired second domain name corresponding to the first domain name, where the third request includes the second domain name, the first domain name
  • the third request is used to request the IP address (fourth IP address) of the Unicom network corresponding to the second service server.
  • the DNS server queries through the MPDNS cache.
  • the DNS server determines that the third request is sent through the network of the Unicom operator, it can determine that the third request is used to request the IP address of the China Unicom network corresponding to the second service server (fourth IP address), thereby returning the IP address (fourth IP address) of the Unicom network corresponding to the second service server to the terminal device through the third information.
  • the terminal device After the terminal device obtains the IP address of the second service server on the LTE path, it can interact with the second service server on the LTE path through the IP address corresponding to the China Unicom network, and pull the stored resources of the second service server.
  • the terminal device can send a service request to the second service server through the LTE network of China Unicom according to the IP address of the second service server on the LTE path, and then obtain the required data and resources. That is to say, the terminal device only needs to perform a DNS query process through the China Unicom network on the LTE path, and then it can query the IP address (the fourth IP address) of the corresponding China Unicom network of the second service server that actually stores the resources that the terminal device needs to access. ), which can reduce signaling overhead, save communication resources, and further improve communication efficiency.
  • the method for determining the address of a service server provided by the present application obtains the corresponding IP addresses of the service servers on different network paths by performing DNS queries under different network paths respectively, and uses the corresponding IP addresses under different It interacts with the service server on the path, so as to avoid cross-network communication when accessing the service server, ensure the access rate, improve the service experience in multi-network scenarios, and improve the communication efficiency.
  • first, second, etc. are only used to indicate that a plurality of objects are different.
  • the first service server and the second service server are only to represent different service servers. It should not have any impact on the service server itself and the number, etc., and the above-mentioned first, second, etc. should not cause any limitation to the embodiments of the present application.
  • predefinition may be implemented by pre-saving corresponding codes, forms or other means that can be used to indicate relevant information in the device (the application does not limit its specific implementation means) .
  • the communication apparatus 400 may correspond to the terminal equipment described in the foregoing method 200 and method 300, or may be a chip or component applied to the terminal equipment, and, Each module or unit of the communication apparatus 400 is respectively configured to execute each action or processing process performed by the terminal device in each of the embodiments of the method 200 and the method 300.
  • the communication apparatus 400 may include: Processing unit 410 and communication unit 420.
  • the processing unit 410 is configured to generate a first request and a second request.
  • the communication unit 420 is configured to send a first request to the DNS server through the first network, where the first request includes a first domain name, and the first request is used to request the first Internet Protocol IP of the first service server corresponding to the first domain name address, where the first IP address is used by the terminal device to access the first service server through the first network.
  • the communication unit 420 is further configured to send a second request to the DNS server through the second network, where the second request includes the first domain name, the second request is used to request the second IP address of the first service server, and the second request includes the first domain name.
  • the second IP address is used for the terminal device to access the first service server through the second network;
  • the communication unit 420 is further configured to receive first information sent by the DNS server in response to the first request, where the first information includes the first IP address.
  • the communication unit 420 is further configured to receive second information sent by the DNS server in response to the second request, where the second information includes the second IP address.
  • the communication device provided by the present application obtains the IP addresses corresponding to the service servers on different network paths respectively by performing DNS queries under different network paths.
  • Terminal devices can use the corresponding IP addresses in different networks to interact with service servers on their respective network paths, thereby avoiding cross-network communication when accessing service servers, ensuring access rates, and improving services in multi-network scenarios. experience and improve communication efficiency.
  • the first network and the second network belong to different network operators, or the first network and the second network belong to the same network operator.
  • the first network may be a WLAN, for example, the first network is specifically a WIFI network, and the WIFI network may be dual WiFi paths (a WiFi path in the 2.4GHz frequency band and a WiFi path in the 5GHz frequency band).
  • the second network may be a cellular network, and the cellular network may be a dual-cellular network path, wherein the dual-cellular network paths may both be LTE networks, or both may be 5G networks, or, one of the dual-cellular network paths may be an LTE network path, and in addition One is the 5G network path.
  • the first network may belong to a telecommunications network operator, the second network Unicom or a mobile network operator.
  • the first network may belong to a China Unicom network operator, a second network telecommunication or mobile network operator, or the like.
  • the processing unit 410 is further configured to generate a service request
  • the communication unit 420 is further configured to send to the first service server through the first network according to the first IP address, the service request includes the first domain name;
  • the communication unit 420 is further configured to perform service communication with the second service server through the first network according to the third IP address.
  • the processing unit 410 is further configured to generate a third request
  • the communication unit 420 is further configured to send a third request to the DNS server through the second network, where the third request includes the second domain name, the third request is used to request the fourth IP address corresponding to the second service server, the The fourth IP address is used for the terminal device to access the second service server through the second network;
  • Third information sent by the DNS server in response to the third request is received, where the third information includes the fourth IP address.
  • the communication unit 420 is further configured to perform service communication with the second service server through the second network according to the four IP addresses.
  • the communication unit 420 is further configured to perform service communication with the first service server through the first network according to the first IP address;
  • the second network performs service communication with the first service server.
  • the first network is a wireless local area network WLAN
  • the second network is a Long Term Evolution System LTE network or a new wireless NR network.
  • the processing unit 410 is configured to generate a first request and a second request.
  • the communication unit 420 is configured to send a first request to the DNS server through the first network, where the first request includes a first domain name, and the first request is used to request the first Internet Protocol IP of the first service server corresponding to the first domain name address, where the first IP address is used by the terminal device to access the first service server through the first network.
  • the communication unit 420 is further configured to send a second request to the DNS server through the second network, where the second request includes the first domain name, the second request is used to request the second IP address of the third service server, the second request The IP address is used for the terminal device to access the third service server through the second network;
  • the communication unit 420 is further configured to receive first information sent by the DNS server in response to the first request, where the first information includes the first IP address.
  • the communication unit 420 is further configured to receive second information sent by the DNS server in response to the second request, where the second information includes the second IP address.
  • the third service server and the first service server are different service servers, and the CDN data or content stored in the third service server and the first service server are consistent.
  • the communication device provided by the present application obtains the IP addresses corresponding to the service servers on different network paths respectively by performing DNS queries under different network paths.
  • Terminal devices can use the corresponding IP addresses in different networks to interact with service servers on their respective network paths, thereby avoiding cross-network communication when accessing service servers, ensuring access rates, and improving services in multi-network scenarios. experience and improve communication efficiency.
  • the communication unit 420 is further configured to perform service communication with the first service server through the first network according to the first IP address;
  • the second network performs service communication with the third service server.
  • a processing unit 410 configured to generate a first request
  • the communication unit 420 is configured to send a first request to the DNS server through the first network, where the first request includes a first domain name, and the first request is used to request the first IP address of the first service server corresponding to the first domain name, The first IP address is used by the terminal device to access the first service server through the first network;
  • the communication unit 420 is further configured to receive first information sent by the DNS server in response to the first request, where the first information includes the first IP address;
  • the communication unit 420 is further configured to send a service request to the first service server through the first network according to the first IP address, where the service request includes the first domain name;
  • the communication unit 420 is further configured to receive second information sent by the first service server in response to the service request, where the second information includes: a second domain name corresponding to the first domain name, and a second domain name corresponding to the second domain name of the second service server.
  • the third IP address where the third IP address is used by the terminal device to access the second service server through the first network.
  • the processing unit 410 further configured to generate a third request
  • the communication unit 420 is further configured to send a third request to the DNS server through the second network, where the third request includes a second domain name, and the third request is used to request a fourth IP address corresponding to the second service server, the fourth IP address for the terminal device to access the second service server through the second network;
  • the communication unit 420 is further configured to receive third information sent by the DNS server in response to the third request, where the third information includes a fourth IP address.
  • the communication unit 420 may include a receiving unit (module) and a sending unit (module), configured to perform the steps of receiving information and sending information by the terminal device in the foregoing method embodiments.
  • the communication apparatus 400 may further include a storage unit for storing the instructions executed by the processing unit 410 and the communication unit 420 .
  • the processing unit 410, the communication unit 420 and the storage unit are communicatively connected, the storage unit stores instructions, the processing unit 410 is used to execute the instructions stored in the storage unit, and the communication unit 420 is used to perform specific signal sending and receiving under the driving of the processing unit 410.
  • the communication unit 420 may be a transceiver, an input/output interface or an interface circuit, or the like.
  • the storage unit may be a memory.
  • the processing unit 410 may be implemented by a processor. As shown in FIG. 16 , the communication apparatus 500 may include a processor 510 , a memory 520 and a transceiver 530 .
  • the communication apparatus 400 shown in FIG. 15 or the communication apparatus 500 shown in FIG. 16 can implement various embodiments of the aforementioned method 200 and method 300, and the terminal of the related embodiments shown in FIGS. 4 , 6 , and 12 to 14 .
  • the communication apparatus 400 shown in FIG. 15 or the communication apparatus 500 shown in FIG. 16 may be terminal equipment, or the terminal equipment may include the communication apparatus 400 shown in FIG. 15 or the communication apparatus 500 shown in FIG. 16 .
  • FIG. 17 shows a schematic block diagram of a communication apparatus 600 according to an embodiment of the present application.
  • the communication apparatus 600 may correspond to the DNS server described in the foregoing method 200 and method 300, or may be a chip or component applied to the DNS server, and, The modules or units of the communication apparatus 600 are respectively used to execute the actions or processing procedures performed by the DNS server in each of the above-mentioned methods 200 and 300.
  • the communication apparatus 600 may include: communication unit 610 and processing unit 620.
  • the communication unit 610 is configured to receive a first request from a terminal device, where the first request includes a first domain name, and the first request is used to request the first IP address of the first service server corresponding to the first domain name, and the first request includes a first domain name.
  • An IP address is used for the terminal device to access the first service server through the first network.
  • the processing unit 620 is configured to determine the first IP address according to the first request.
  • the communication unit 610 is further configured to receive a second request from the terminal device, where the second request includes the first domain name, and the second request is used to request the second IP address of the first service server corresponding to the first domain name , and the second IP address is used for the terminal device to access the first service server through the second network.
  • the processing unit 620 is further configured to determine the second IP address according to the second request.
  • the communication unit 610 is further configured to send first information in response to the first request to the terminal device, where the first information includes the first IP address;
  • the communication unit 610 is further configured to send second information in response to the second request to the terminal device, where the second information includes the second IP address.
  • the communication device determines the corresponding IP addresses of the service servers on different network paths according to the DNS query requests respectively sent by the terminal equipment on different network paths, and separates the service servers on different network paths respectively.
  • the corresponding IP address is fed back to the terminal device, so that the terminal device can use the corresponding IP addresses under different networks to interact with the service server on their respective network paths, thereby avoiding cross-network communication when accessing the service server.
  • the access rate is improved, the service experience in multi-network scenarios is improved, and the communication efficiency is improved.
  • the first network and the second network belong to different network operators, or the first network and the second network belong to the same network operator.
  • the communication unit 610 is further configured to:
  • the third request includes a second domain name, the second domain name corresponds to the first domain name, the third request is used to request the fourth IP address of the second service server, the second domain name
  • the service server is a service server corresponding to the second domain name, and the fourth IP address is used for the terminal device to access the second service server through the second network;
  • the first network is a wireless local area network WLAN
  • the second network is a Long Term Evolution System LTE network or a new wireless NR network.
  • the communication unit 610 may include a receiving unit (module) and a sending unit (module), configured to perform the steps of receiving information and sending information by the DNS server in each of the foregoing method embodiments.
  • the communication apparatus 600 may further include a storage unit for storing the instructions executed by the processing unit 620 and the communication unit 610 .
  • the processing unit 620, the communication unit 610 and the storage unit are communicatively connected, the storage unit stores instructions, the processing unit 620 is used to execute the instructions stored in the storage unit, and the communication unit 610 is used to perform specific signal sending and receiving under the driving of the processing unit 620.
  • the communication unit 610 may be a transceiver, an input/output interface or an interface circuit, or the like.
  • the storage unit may be a memory.
  • the processing unit 620 may be implemented by a processor.
  • the communication apparatus 700 may include a processor 710 , a memory 720 and a transceiver 730 .
  • the communication apparatus 600 shown in FIG. 17 or the communication apparatus 700 shown in FIG. 18 can implement the various embodiments of the aforementioned method 200 and method 300, and the DNS of the related embodiments shown in FIGS. 4, 6, 12 to 14. Steps performed by the server. Similar descriptions can refer to the descriptions in the aforementioned corresponding methods. In order to avoid repetition, details are not repeated here.
  • the communication apparatus 600 shown in FIG. 17 or the communication apparatus 700 shown in FIG. 18 may be a DNS server, or the DNS server may include the communication apparatus 600 shown in FIG. 17 or the communication apparatus 700 shown in FIG. 18 .
  • each unit in the above apparatus can be realized in the form of software calling through the processing element; also can all be realized in the form of hardware; some units can also be realized in the form of software calling through the processing element, and some units can be realized in the form of hardware.
  • each unit can be a separately established processing element, or can be integrated in a certain chip of the device to be implemented, and can also be stored in the memory in the form of a program, which can be called by a certain processing element of the device and execute the unit's processing. Function.
  • the processing element may also be called a processor, which may be an integrated circuit with signal processing capability.
  • each step of the above method or each of the above units may be implemented by an integrated logic circuit of hardware in the processor element or implemented in the form of software being invoked by the processing element.
  • a unit in any of the above apparatuses may be one or more integrated circuits configured to implement the above methods, eg, one or more application specific integrated circuits (ASICs), or, one or more A plurality of digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • FPGAs field programmable gate arrays
  • a unit in the apparatus can be implemented in the form of a processing element scheduler
  • the processing element can be a general-purpose processor, such as a central processing unit (central processing unit, CPU) or other processors that can invoke programs.
  • CPU central processing unit
  • these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • An embodiment of the present application further provides a communication system, where the communication system includes: a terminal device and a DNS server in the foregoing method 200 and method 300 .
  • the communication system may further include the first service server in the method 200 and the method 300 .
  • the communication system may further include the second service server in the above method 200 and method 300.
  • Embodiments of the present application further provide a computer-readable storage medium for storing computer program codes, where the computer program includes instructions for executing any of the methods for determining an address of a service server provided by the above embodiments of the present application.
  • the readable medium may be a read-only memory (read-only memory, ROM) or a random access memory (random access memory, RAM), which is not limited in this embodiment of the present application.
  • the present application also provides a computer program product, the computer program product includes an instruction, when the instruction is executed, so that the terminal device, the DNS server, the first service server, and the second service server perform corresponding operations corresponding to the above methods. operation.
  • An embodiment of the present application further provides a chip located in a communication device, the chip includes: a processing unit and a communication unit, the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin or a circuit, etc.
  • the processing unit can execute computer instructions, so that the communication device executes any one of the methods for determining the address of the service server provided by the above embodiments of the present application.
  • the computer instructions are stored in a storage unit.
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit can also be a storage unit located outside the chip in the terminal, such as a read-only memory (ROM). ) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • the processor mentioned in any one of the above may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the program execution of the above-mentioned transmission method of feedback information.
  • the processing unit and the storage unit can be decoupled, respectively disposed on different physical devices, and connected in a wired or wireless manner to implement the respective functions of the processing unit and the storage unit, so as to support the system chip to implement the above embodiments various functions in .
  • the processing unit and the memory may also be coupled on the same device.
  • the communication device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the above-provided method. The beneficial effects in the corresponding method will not be repeated here.
  • the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be ROM, programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM) , EEPROM) or flash memory.
  • Volatile memory can be RAM, which acts as an external cache.
  • RAM random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate Synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous link dynamic random access memory direct memory bus random access memory Access memory
  • direct rambus RAM direct rambus RAM
  • system and “network” are often used interchangeably herein.
  • the term “and/or” in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases.
  • the character "/" in this document generally indicates that the related objects are an "or” relationship.
  • the methods in the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software When implemented in software, it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer programs or instructions.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer program or instructions may be stored in or transmitted over a computer-readable storage medium.
  • the computer-readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server that integrates one or more available media.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a readable storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc. that can store program codes medium.

Abstract

La présente demande concerne un procédé de détermination d'une adresse de serveur de service, et un dispositif de communication. Le procédé comprend : l'envoi d'une première demande à un serveur DNS au moyen d'un premier réseau, la première demande étant utilisée pour demander une première adresse IP correspondant à un premier nom de domaine, et la première adresse IP étant utilisée pour qu'un dispositif de terminal accède à un premier serveur de service au moyen du premier réseau ; l'envoi d'une seconde demande envoyée au serveur DNS au moyen d'un second réseau, la seconde demande étant utilisée pour demander une seconde adresse IP, et la seconde adresse IP étant utilisée pour que le dispositif de terminal accède au premier serveur de service au moyen du second réseau ; et la réception de la première adresse IP et de la seconde adresse IP envoyées par le serveur DNS. Selon le procédé fourni par la présente demande, par la réalisation de demandes DNS respectivement par différents trajets de réseau, par l'obtention d'adresses IP du serveur de service correspondant respectivement aux différents trajets de réseau, et par l'utilisation des adresses IP correspondant respectivement aux différents réseaux pour interagir avec le serveur de service sur les différents trajets de réseau, la vitesse d'accès est assurée et l'expérience de services selon de multiples scénarios de réseau est améliorée.
PCT/CN2021/113268 2020-08-31 2021-08-18 Procédé de détermination d'adresse de serveur de service, et dispositif de communication WO2022042395A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010900839.6A CN114124889B (zh) 2020-08-31 2020-08-31 确定业务服务器地址的方法和通信装置
CN202010900839.6 2020-08-31

Publications (1)

Publication Number Publication Date
WO2022042395A1 true WO2022042395A1 (fr) 2022-03-03

Family

ID=80354618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113268 WO2022042395A1 (fr) 2020-08-31 2021-08-18 Procédé de détermination d'adresse de serveur de service, et dispositif de communication

Country Status (2)

Country Link
CN (1) CN114124889B (fr)
WO (1) WO2022042395A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844858A (zh) * 2022-04-13 2022-08-02 山东浪潮超高清视频产业有限公司 一种多网络获取域名地址的方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277640B (zh) * 2022-07-29 2023-11-24 迈普通信技术股份有限公司 数据处理方法、装置、智能网卡及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764855A (zh) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 一种提供域名解析服务的方法、装置及系统
US20140373107A1 (en) * 2012-01-24 2014-12-18 Ars Nova Systems System and method for controlling a dns request
CN106131068A (zh) * 2016-08-26 2016-11-16 北京网瑞达科技有限公司 用户自主选择域名系统dns解析线路的系统和方法
CN106331216A (zh) * 2016-09-13 2017-01-11 腾讯科技(深圳)有限公司 域名的解析方法和装置
CN110062441A (zh) * 2018-01-18 2019-07-26 中兴通讯股份有限公司 利用终端及其实现数据传输的方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7689671B2 (en) * 2007-03-09 2010-03-30 International Business Machines Corporation System and method for multiple IP addresses during domain name resolution
CN105681249B (zh) * 2014-11-17 2019-09-13 中国移动通信集团公司 一种网络访问方法和网络转换设备
CN106953805A (zh) * 2017-03-17 2017-07-14 广州爱九游信息技术有限公司 网络线路控制方法、装置及业务终端
CN107911499A (zh) * 2017-11-28 2018-04-13 北京潘达互娱科技有限公司 多线路域名解析方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764855A (zh) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 一种提供域名解析服务的方法、装置及系统
US20140373107A1 (en) * 2012-01-24 2014-12-18 Ars Nova Systems System and method for controlling a dns request
CN106131068A (zh) * 2016-08-26 2016-11-16 北京网瑞达科技有限公司 用户自主选择域名系统dns解析线路的系统和方法
CN106331216A (zh) * 2016-09-13 2017-01-11 腾讯科技(深圳)有限公司 域名的解析方法和装置
CN110062441A (zh) * 2018-01-18 2019-07-26 中兴通讯股份有限公司 利用终端及其实现数据传输的方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844858A (zh) * 2022-04-13 2022-08-02 山东浪潮超高清视频产业有限公司 一种多网络获取域名地址的方法

Also Published As

Publication number Publication date
CN114124889B (zh) 2023-04-28
CN114124889A (zh) 2022-03-01

Similar Documents

Publication Publication Date Title
CN114430897B (zh) 用于边缘解析功能的方法、装置和系统
WO2022042395A1 (fr) Procédé de détermination d'adresse de serveur de service, et dispositif de communication
US9407530B2 (en) Systems and methods for providing DNS server selection using ANDSF in multi-interface hosts
US11902389B2 (en) Mechanism to facilitate signaling traffic
WO2019170114A1 (fr) Procédé d'envoi d'un paquet, dispositif de réseau et support de stockage lisible par ordinateur
JP5449343B2 (ja) 通信セッションをルート指定するネットワーク構成要素のための方法
TWI757595B (zh) 截取感知接取點選擇技術
JP5502860B2 (ja) サポートされるipバージョンを示し、sipと互換性のあるipバージョンをサポートするデバイスに到達するための方法
WO2011137792A1 (fr) Procédé et appareil permettant la coopération entre des dispositifs push
JP2023535562A (ja) ネットワーク機能発見サービス向上を提供するための方法、システムおよびコンピュータ読取可能媒体
KR101467325B1 (ko) 레거시 및 비―레거시 애플리케이션들에 대해 지능형 라디오 선택을 제공하기 위한 방법들 및 장치
TW201029422A (en) Methods, apparatuses, and computer program products for determining a network interface to access a network resource
JP2012506102A (ja) 減少するアクセスタイムでコンテンツを取得する方法及び装置
JP2011527532A5 (fr)
WO2021212939A1 (fr) Procédé, appareil et système de communication
WO2014075450A1 (fr) Procédé de téléchargement de ressources, serveur de service et client de téléphone cellulaire
WO2024021405A1 (fr) Système et procédé de transmission de données
EP2137885A1 (fr) Procédé et dispositif dans un réseau de communications
WO2022022530A1 (fr) Procédé de détermination d'une adresse de réseau public d'un serveur mtcp, et dispositif de communication
WO2022022322A1 (fr) Procédé et dispositif pour accéder à un réseau local
US20240089844A1 (en) Providing slice attribute information to user equipment in a mobile network environment
JP2009514260A (ja) 通信システム、ピア・ツー・ピアメッセージフィルタ計算機およびピア・ツー・ピアメッセージの処理方法
WO2021203794A1 (fr) Procédé, appareil et système de communication
CN114556894A (zh) 用于分组转发控制协议消息捆绑的方法、装置和计算机程序产品
US8656449B1 (en) Applying policy attributes to events

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21860233

Country of ref document: EP

Kind code of ref document: A1