WO2018137180A1 - Procédé et dispositif d'accès à un nom de domaine - Google Patents

Procédé et dispositif d'accès à un nom de domaine Download PDF

Info

Publication number
WO2018137180A1
WO2018137180A1 PCT/CN2017/072636 CN2017072636W WO2018137180A1 WO 2018137180 A1 WO2018137180 A1 WO 2018137180A1 CN 2017072636 W CN2017072636 W CN 2017072636W WO 2018137180 A1 WO2018137180 A1 WO 2018137180A1
Authority
WO
WIPO (PCT)
Prior art keywords
domain name
user equipment
location area
address
cache
Prior art date
Application number
PCT/CN2017/072636
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 华为技术有限公司
Priority to PCT/CN2017/072636 priority Critical patent/WO2018137180A1/fr
Publication of WO2018137180A1 publication Critical patent/WO2018137180A1/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

Definitions

  • the present disclosure relates to the field of Internet communications, and in particular, to a domain name access method and apparatus.
  • the Domain Name System is a distributed host information database that provides mapping and translation between domain names and Internet Protocol (IP) addresses.
  • IP Internet Protocol
  • the domain name can be resolved to the corresponding IP address through the DNS server.
  • the user equipment can access the domain name through the domain name resolution service provided by the DNS.
  • the domain name access process is as follows: The user equipment accesses the domain name A as an example.
  • the user device queries the IP address corresponding to the domain name A. If yes, the user equipment can directly obtain the domain name. The IP address is accessed by the IP address. If the domain name is not available, the user equipment 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.
  • the device can access the domain name A through the IP address.
  • the user equipment may also save the IP address corresponding to the domain name A to the cache of the user equipment and the DNS server, and set the cache duration for the IP address corresponding to the domain name A.
  • the user equipment can directly read the cache to obtain the IP address corresponding to the domain name A. After the IP address corresponding to the domain name A is stored in the cache for the duration of the cache, the domain name A corresponds to The IP address of the domain name A is automatically invalidated. If the user equipment accesses the domain name A, it needs to re-inquire the DNS server for the IP address corresponding to the domain name A.
  • the user equipment directly accesses the IP address corresponding to the domain name A in the cache when the user equipment accesses the domain name A before the user equipment accesses the domain name A before the cache time is reached.
  • the domain name A can correspond to multiple IP addresses. If the IP address is used for access, the application server corresponding to the IP address may not be the application server closest to the user equipment, and the user equipment accesses the domain name A through the IP address. The time required is longer and the communication efficiency is low.
  • an embodiment of the present disclosure provides a domain name access method and apparatus.
  • the technical solution is as follows:
  • the first aspect provides a domain name access method, where the method includes: the user equipment determines that the user equipment moves from the first location area to the second location area; and the user equipment caches the first Internet Protocol IP in the domain name cache The address is set to be invalid, and the first domain name resolution request message is sent to the domain name system DNS server, where the first IP address is used by the user equipment to access the domain name in the first location area, and the first domain name resolution request message is carried.
  • the user equipment receives the first domain name resolution response message, the first domain name resolution response message carries a second IP address corresponding to the domain name, and the user equipment adds the second IP address to the domain name The domain name cache; the user equipment accesses the domain name through the second IP address.
  • the method provided by the embodiment of the present disclosure caches the domain name if the user equipment determines that the location area moves.
  • the saved first IP address is set to be invalid, and a domain name resolution request message is sent to the DNS server to trigger the update of the domain name cache.
  • the UE receives the second IP address returned by the DNS server, adds the second IP address to the domain name cache, and accesses the domain name through the second IP address.
  • the second IP address is re-determined by the DNS server after the location area of the user equipment is moved, and is the IP address of the application server corresponding to the domain name that is closer to the user equipment after the mobile device, so that the user equipment can access the domain name corresponding to the domain name.
  • the optimal server has short delay and high communication efficiency.
  • the first domain name resolution request message further carries location information of the user equipment, where the location information is used to indicate that the user equipment is currently located in the location area. Two location area.
  • the first domain name resolution request message sent by the user equipment to the DNS server may further carry the location information of the user equipment, so that the DNS server may determine the IP address corresponding to the domain name according to the location information, and determine the IP address. more precise.
  • the user equipment determining that the user equipment moves from the first location area to the second location area comprises: the user equipment receiving a cache update indication message from the control plane device, according to The cache update indication message determines that the user equipment moves from the first location area to the second location area.
  • the user equipment may determine that the location area movement of the user equipment occurs by receiving the cache update indication message from the control plane device, and enrich the manner of determining whether the user equipment has moved the location area.
  • the determining, by the user equipment, the user equipment from the first location area to the second location area includes: the user equipment corresponding to the domain name according to the domain name cache The first location area determines that the user equipment moves from the first location area to the second location area.
  • the user equipment may determine the location area movement of the user equipment by using the first location area corresponding to the domain name in the domain name cache, and enrich the manner of determining whether the user equipment has moved the location area.
  • the first domain name resolution response message further carries location area indication information for indicating the second location area
  • the method further includes: the user equipment is at the location
  • the location area indication information for indicating the second location area is saved in the domain name cache.
  • the first domain name resolution response message received by the user equipment may further include location area indication information for indicating the second location area, and the user equipment may save the location area indication information, so that the user equipment is next time. After the movement occurs, the location area indication information may be used to determine whether the user equipment has moved in the location area, thereby ensuring the accuracy of the determination.
  • the second IP address includes multiple IP addresses
  • the first domain name resolution response message is further configured to indicate multiple corresponding to the multiple IP addresses respectively.
  • the location area indication information of the location area the method further includes: the user equipment storing the location area indication information for indicating a plurality of location areas respectively corresponding to the plurality of IP addresses in the domain name cache.
  • the domain name may correspond to multiple IP addresses
  • the first domain name resolution response message received by the user equipment may further include a location area indication for indicating multiple location areas corresponding to the multiple IP addresses respectively.
  • the user equipment may save the location area indication information, so that after the next time the user equipment moves, the user equipment may determine whether the user equipment has moved in the location area according to the location area indication information, thereby ensuring the accuracy of the determination.
  • the user equipment accessing the domain name by using the second IP address includes: the user equipment querying, in the domain name cache, a current location area of the user equipment Corresponding destination IP address; the user equipment accesses the domain name by using the destination IP address.
  • the method provided by the embodiment of the present disclosure when the domain name corresponds to multiple IP addresses, passes through the current location area of the user equipment. If the corresponding destination IP address is used to access the domain name, the user device can access the optimal server corresponding to the domain name, and the delay is short and the communication efficiency is high.
  • the method before the sending the first domain name resolution request message to the DNS server, the method further includes: sending a second domain name resolution request message to the DNS server, where the second The domain name resolution request message carries the domain name, and receives a second domain name resolution response message, where the second domain name resolution response message carries a first IP address corresponding to the domain name and location area indication information used to indicate the first location area
  • the first IP address is determined by the DNS server according to the domain name; the first IP address corresponding to the domain name and the location area indication information used to indicate the first location area are saved to the user The domain name cache of the device; accessing the domain name by using the first IP address.
  • the user equipment sends a first domain name resolution request message to the DNS server, and receives and saves the IP address returned by the DNS server. And access the domain name through the IP address.
  • the IP address is determined by the DNS server according to the location information, and is the IP address of the application server corresponding to the domain name that is closer to the user equipment. Therefore, the user equipment can access the optimal server corresponding to the domain name, and the delay is short and the communication efficiency is high.
  • the second domain name resolution request message further carries first location information of the user equipment.
  • the second domain name resolution request message sent by the user equipment to the DNS server may further carry the first location information of the user equipment, so that the DNS server may determine the IP address corresponding to the domain name according to the first location information.
  • the determined IP address is more accurate.
  • the second aspect provides a domain name access method, where the method includes: a domain name system DNS server receives a domain name resolution request message from a user equipment, where the domain name resolution request message carries a domain name to be accessed by the user equipment; the DNS server Determining an Internet Protocol IP address corresponding to the domain name and a location area corresponding to the IP address; the DNS server sending a domain name resolution response message to the user equipment, where the domain name resolution response message carries the IP address and is used for A location area indication information indicating the location area.
  • the DNS server may determine the IP address and the location area corresponding to the domain name according to the domain name carried in the domain name resolution request message, and return the IP address and the location area indication for indicating the location area to the user equipment.
  • the information enables the user equipment to access the optimal server corresponding to the domain name through the IP address, with short delay and high communication efficiency.
  • the domain name resolution request message further carries current location information of the user equipment.
  • the domain name resolution request message sent by the user equipment to the DNS server further carries the current location information of the user equipment, so that the DNS server can determine the IP address and the location area corresponding to the domain name according to the current location information of the user equipment.
  • the IP address is the IP address of the application server corresponding to the domain name that is closer to the user equipment after the mobile device, the user equipment can use the IP address to implement the optimal server for the user equipment to access the domain name, with short delay and high communication efficiency. .
  • a third aspect provides a method for accessing a domain name, the method comprising: the control plane device determining that a location area movement of the user equipment occurs; the control plane device sending a cache update indication message to the user equipment, the cache update indication message And is used to instruct the user equipment to update the domain name cache.
  • the method provided by the embodiment of the present disclosure after determining that the user equipment has moved the location area, may send a cache update indication message to the user equipment to trigger the user equipment to update the domain name cache, which enriches the manner in which the user equipment is triggered to update the domain name cache.
  • control plane device determines that the location area movement of the user equipment includes:
  • the control plane device determines that the user equipment has a location area move; or, if the user equipment establishes a new data packet unit PDU session, The control plane device determines that the user equipment has moved a location area.
  • control plane device may send a cache update indication message to the user equipment when the user equipment initiates the location update process, or when the user equipment establishes a new PDU session, to trigger the user equipment to update the domain name.
  • the cache enriches the way the user device is triggered to update the domain name cache.
  • the fourth aspect provides a domain name access device, where the device includes a plurality of function modules, and the plurality of function modules are used to execute the domain name access method provided by the first aspect and any possible implementation manner thereof.
  • a fifth aspect provides a domain name access device, where the device includes a plurality of function modules, and the plurality of function modules are used to execute the domain name access method provided by the second aspect and any possible implementation manner thereof.
  • the sixth aspect provides a domain name access device, where the device includes a plurality of function modules, and the plurality of function modules are used to execute the domain name access method provided by the third aspect, and any possible implementation manner thereof.
  • a user equipment includes: a processor; a memory for storing processor-executable instructions; the executable instruction is configured to: the user equipment determines the user equipment from the first location area Moving to the second location area; the user equipment sets the first Internet Protocol IP address in the domain name cache to be invalid, and sends a first domain name resolution request message to the domain name system DNS server, where the first IP address is used for the The user equipment accesses the domain name in the first location area, the first domain name resolution request message carries the domain name, and the user equipment receives the first domain name resolution response message, where the first domain name resolution response message carries the domain name Corresponding second IP address; the user equipment adds the second IP address to the domain name cache; and the user equipment accesses the domain name by using the second IP address.
  • the first domain name resolution request message further carries the location information of the user equipment, where the location information is used to indicate that the current location area of the user equipment is the second location area.
  • the executable instruction is configured to: the user equipment receives a cache update indication message from the control plane device, and determines, according to the cache update indication message, that the user equipment moves from the first location area To the second location area.
  • the executable instruction is configured to: determine, by the user equipment, that the user equipment is from the first location area according to the first location area corresponding to the domain name in the domain name cache. Move to the second location area.
  • the first domain name resolution response message further carries location area indication information for indicating the second location area; the executable instruction is used to execute: the user equipment is cached in the domain name Save the use The location area indication information indicating the second location area.
  • the second IP address includes multiple IP addresses
  • the first domain name resolution response message further carries a location area that is used to indicate multiple location areas corresponding to the multiple IP addresses respectively.
  • the executable information is used to execute: the user equipment saves, in the domain name cache, the location area indication information used to indicate a plurality of location areas respectively corresponding to the plurality of IP addresses.
  • the executable instruction is used to perform: the user equipment queries, in the domain name cache, a destination IP address corresponding to a location area currently in which the user equipment is located; The IP address accesses the domain name.
  • the executable instruction is configured to: send a second domain name resolution request message to the DNS server, where the second domain name resolution request message carries the domain name; and receive a second domain name resolution response message,
  • the second domain name resolution response message carries a first IP address corresponding to the domain name and location area indication information for indicating the first location area, where the first IP address is determined by the DNS server according to the domain name.
  • the second domain name resolution request message further carries first location information of the user equipment.
  • a DNS server comprising: a processor; a memory for storing processor executable instructions; the executable instruction is configured to: the domain name system DNS server receives a domain name resolution request message from the user equipment The domain name resolution request message carries a domain name to be accessed by the user equipment; the DNS server determines an internet protocol IP address corresponding to the domain name and a location area corresponding to the IP address; and the DNS server sends the domain address to the user The device sends a domain name resolution response message, where the domain name resolution response message carries the IP address and location area indication information used to indicate the location area.
  • the domain name resolution request message further carries current location information of the user equipment.
  • a control plane device comprising: a processor; a memory for storing processor-executable instructions; and the executable instruction is configured to: determine, by the control plane device, that the user equipment is located in a location area The control plane device sends a cache update indication message to the user equipment, where the cache update indication message is used to instruct the user equipment to update the domain name cache.
  • the executable instruction is configured to: if the user equipment initiates a location update process to the control plane device, the control plane device determines that the user equipment occurs a location area move; or The executable instruction is configured to: if the user equipment establishes a new data packet unit PDU session, the control plane device determines that the user equipment occurs a location area move.
  • FIG. 1 is a schematic structural diagram of a system according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic structural diagram of a user equipment 200 according to an embodiment of the present disclosure.
  • FIG. 3 is a schematic structural diagram of a DNS server 300 according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a control plane device 400 according to an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of a method for accessing a domain name according to an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of a method for accessing a domain name according to an embodiment of the present disclosure.
  • FIG. 7 is a flowchart of a method for accessing a domain name according to an embodiment of the present disclosure.
  • FIG. 8 is a flowchart of a method for accessing a domain name according to an embodiment of the present disclosure.
  • FIG. 9 is a flowchart of a method for accessing a domain name according to an embodiment of the present disclosure.
  • FIG. 10 is a flowchart of a method for accessing a domain name according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a domain name access apparatus according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of a domain name access apparatus according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a domain name access apparatus according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a domain name access apparatus according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic structural diagram of a system according to an embodiment of the present disclosure.
  • the system structure includes: User Equipment (UE), Control Plane (CP), Access Network (AN), User plane (UP), DNS. Server, Application Server (AS).
  • UE User Equipment
  • CP Control Plane
  • AN Access Network
  • UP User plane
  • DNS DNS. Server
  • AS Application Server
  • the UE is a user equipment, such as a mobile phone or a computer.
  • the CP is a control plane device responsible for user and session management, such as a mobile network controller.
  • the AN provides wireless access services.
  • the UP is responsible for forwarding the packets sent by the user equipment.
  • the DNS server provides mapping and conversion between the domain name and the Internet Protocol (IP) address, and the domain name can be resolved to the corresponding IP address through the DNS server.
  • the user equipment can access the domain name through the domain name resolution service provided by the DNS.
  • An AS is a server that provides business services.
  • FIG. 2 is a schematic structural diagram of a user equipment 200 according to an embodiment of the present disclosure.
  • the user equipment may be used to perform the domain name access method provided in the foregoing embodiments.
  • the user equipment 200 includes:
  • the user equipment 200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (Wireless Fidelity,
  • the Wireless Fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the user equipment structure shown in FIG. 2 does not constitute a limitation to the user equipment, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • Wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access) Divisional Multiple Access), WCDMA (Wideband Code Division) Multiple Access, Wideband Code Division Multiple Access, LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the user device 200 (such as audio data, phone book, etc.), and the like.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the user device 200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • User device 200 may also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the user device 200 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the gesture of the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the user equipment 200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the user device 200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the other user equipment via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the user device 200.
  • WiFi is a short-range wireless transmission technology
  • the user equipment 200 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 2 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the user equipment 200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the user device 200, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the user equipment 200 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the user equipment 200 also includes a power source 190, such as a battery, for powering various components.
  • the power source can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the user equipment 200 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit of the user device is a touch screen display
  • the user device further includes a memory, and executable instructions, wherein the executable instructions are stored in the memory and configured to be executed by one or more processors.
  • the executable instructions are used to perform the user equipment side method in the embodiments shown in FIGS. 5 to 10 described below.
  • FIG. 3 is a block diagram of a domain name access device 300 according to an embodiment of the present disclosure.
  • device 300 can be a DNS server.
  • apparatus 300 includes a processing component 322 that further includes one or more processors, and memory resources represented by memory 332 for storing instructions executable by processing component 322, such as an application.
  • An application stored in memory 332 may include one or more modules each corresponding to a set of instructions.
  • processing component 322 is configured to execute instructions to perform the server side method of the embodiments illustrated in Figures 5-10 below.
  • Device 300 may also include a power supply component 326 configured to perform power management of device 300, a wired or wireless network interface 350 configured to connect device 300 to the network, and an input/output (I/O) interface 358.
  • Device 300 can operate based on an operating system stored in memory 332, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • non-transitory computer readable storage medium comprising instructions, such as a memory comprising instructions executable by a processor in a DNS server to perform a DNS server side in an embodiment described below Domain access method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • FIG. 4 is a schematic structural diagram of a control plane device 400 according to an embodiment of the present disclosure.
  • the control plane device 400 includes a bus, a processor, a memory, an input and output interface, a display device, and a communication interface.
  • the memory stores executable instructions for performing the control plane device side method in the embodiment shown in FIGS. 5 to 10 described below.
  • a bus is a circuit that connects the elements described and implements transmission between these elements.
  • the processor receives commands from other elements over the bus, decrypts the received commands, and performs calculations or data processing based on the decrypted commands.
  • the memory can include program modules such as a kernel, middleware, application programming interface (AP), and applications.
  • the program module can be composed of software, firmware or hardware, or at least two of them.
  • the input and output interfaces forward commands or data entered by the user through input and output devices (eg, sensors, keyboards, touch screens).
  • the display device displays various information to the user.
  • the communication interface connects the control plane device 400 with other network devices, user equipment, and networks.
  • the communication interface can be connected to the network by wired or wireless to connect to other external network devices or user devices.
  • the wireless communication may include at least one of the following: Wi-Fi (Wireless Fidelity), BT (Bluetooth), NFC (Near Field Communication), GPS (Global Positioning System) (system) and cellular communication (for example, LTE (Long Term Evolution), LTE-A (Long Term Evolution-Advanced, subsequent evolution of Long Term Evolution), CDMA (Code Division Multiple Access, code division) Multiple Access), WCDMA (Wideband CDMA, Wideband Code Division Multiple Access), UMTS (Universal Mobile Telecommunication System), WiBro (Wireless Broadband, Wireless Broadband Access), and GSM (Global System for Mobile communication, Worldwide) Mobile communication system)).
  • Wi-Fi Wireless Fidelity
  • BT Bluetooth
  • NFC Near Field Communication
  • GPS Global Positioning System
  • cellular communication for example, LTE (Long Term Evolution), LTE-A (Long Term Evolution-Advanced, subsequent evolution of Long
  • the wired communication may include at least one of the following: a USB (Universal Serial Bus), an HDMI (High Definition Multimedia Interface), an RS-232 (Recommended Standard 232, an asynchronous transfer standard interface), and POTS (Plain Old Telephone Service).
  • the network can be a telecommunications network and a communication network.
  • the communication network can be a computer network, the Internet, an Internet of Things, or a telephone network.
  • the control plane device 400 can be connected to the network through a communication interface, and the protocol used by the control plane device 400 to communicate with other network devices can be supported by at least one of an application, an API, a middleware, a kernel, and a communication interface.
  • the domain name access method may be briefly described as: the UE determines that the UE is from the first location. The area moves to the second location area; the UE sets the first IP address in the domain name cache and the location area indication information used to indicate the first location area to be invalid, and sends a first domain name resolution request message to the DNS server, where The first IP address is used by the UE to access the domain name in the first location area, and the first domain name resolution request message carries the domain name; the DNS server receives the first domain name resolution request message from the UE; the DNS server determines the second domain corresponding to the domain name An IP address and a second location area corresponding to the second IP address; the DNS server sends a first domain name resolution response message to the UE, where the first domain name resolution response message carries the second IP address and is used to indicate the second a location area indication information of the location area; the UE receives a first domain name resolution response message; the UE receives a first domain name resolution response message; the UE determines that the UE is from
  • FIG. 5 is a brief description of the method for accessing the domain name in the case where the UE determines whether the location area is moved by the UE.
  • the steps of the domain name access method will be specifically described below.
  • 6 is a schematic flowchart of a domain name access method according to an embodiment of the present disclosure. Referring to FIG. 6, the domain name access method includes Next steps:
  • the UE After the session of the packet data unit (PDU) is established (as shown in 601a in FIG. 6), the UE sends a domain name resolution request message 1 to the DNS server, where the domain name resolution request message 1 carries the domain name to be accessed.
  • the location information 1 of the UE shown as 601b in FIG. 6).
  • the domain name resolution request message 1 is used to refer to the second domain name resolution request message
  • the location information 1 is used to refer to the first location information.
  • the UE may send the domain name to be accessed and the location information 1 of the UE to the DNS server in the form of the domain name resolution request message 1.
  • the embodiment of the present disclosure is described by using the domain name resolution request message 1 to carry the location information 1 of the UE as an example.
  • the domain name resolution request message 1 may not carry the location information of the UE. .
  • the DNS server receives the domain name resolution request message 1 and determines, according to the location information 1 of the UE, the IP1 corresponding to the domain name and the location area 1 corresponding to the IP1 corresponding to the domain name (as shown by 602a in FIG. 6), and sends the message to the UE.
  • the domain name resolution response message 1 carries the IP1 and the location area indication information for indicating the location area 1 (shown as 602b in FIG. 6).
  • IP1 is used to refer to the first IP address
  • location area 1 is used to refer to the first location area.
  • the DNS server receives the domain name resolution request message 1
  • the domain name and the location information 1 carried in the domain name resolution request message 1 may be determined, and the IP1 and the location area 1 corresponding to the domain name are determined, and the domain name resolution response message 1 is adopted.
  • the DNS server may maintain a database for storing a domain name, location information, an IP address corresponding to the domain name, and a correspondence between the location areas, where the location information may be location information of the UE, or may be UP.
  • the location information the embodiment of the present disclosure does not limit the device corresponding to the location information. Therefore, the DNS server can query the corresponding relationship according to the domain name and the location information 1 of the UE, thereby determining the IP1 corresponding to the domain name and the location area 1 corresponding to the IP1.
  • the domain name resolution request message 1 in step 601 may not carry the location information 1 of the UE.
  • the domain name may also be The source IP address A of the UE determines the IP1 and location area 1 corresponding to the domain name.
  • the source IP address A of the UE may be allocated to the UE by the CP after the PDU session 1 is established, and may be carried by the domain name resolution request message 1.
  • the UE receives the domain name resolution response message 1, adds the IP1 to the domain name cache of the UE, and saves the location area indication information (shown as 603a in FIG. 6) for indicating the location area 1 in the domain name cache, and passes the IP1 accesses the domain name (as shown in 603b in Figure 6).
  • the domain name resolution response message 1 is used to refer to the second domain name resolution response message.
  • the IP1 carried by the domain name resolution response message 1 and the location area indication information indicating the location area 1 may be saved in the domain name cache of the UE.
  • the IP1 corresponding to the domain name is obtained from the domain name cache of the UE according to the domain name, so that the domain name is accessed through the IP1, that is, the AS1 is communicated.
  • the UE and AS1 perform data transmission during the communication process, such as uplink and downlink data 1 in FIG.
  • the UE moves (as shown by 604a in FIG. 6).
  • the PDU session 2 is established (as shown by 604b in FIG. 6)
  • the UE caches the domain name.
  • IP1 and the location area indication information for indicating the location area 1 are set to be invalid (as shown by 604c in FIG. 6), and send a domain name resolution request message 2 to the DNS server, the domain name resolution request message 2 carrying the domain name and the UE Location information 2, the location information 2 is the current location of the UE (as shown by 604d in FIG. 6).
  • the location area 2 is used to refer to the second location area
  • the domain name resolution request message 2 is used to refer to the first domain name resolution request message
  • the location information 2 is used to refer to the location information of the UE.
  • PDU Session 2 can be established. After the PDU session 2 is established, if the UE determines that the location area is moved, the IP1 corresponding to the domain name in the domain name cache and the location area indication information indicating the location area 1 may be set to be invalid, and the domain name resolution request message 2 is adopted. In the form of sending the domain name and the location information 2 of the UE to the DNS server.
  • the UE may determine, according to the location area indication information used to indicate the location area 1 in the domain name cache, that the UE moves the location area. For example, when the UE determines that it has been unable to connect to any one of the location areas 1, or when the base station to which the current UE is connected is not in the location area 1, it is determined that the location area has moved.
  • the embodiment of the present disclosure is described by using the domain name resolution request message 2 to carry the location information 2 of the UE as an example.
  • the domain name resolution request message 2 may not be used. Carry the location information 2 of the UE.
  • the DNS server receives the domain name resolution request message 2, and according to the location information 2 of the UE, determines the IP2 corresponding to the domain name and the location area 2 corresponding to the IP2 corresponding to the domain name (as shown in 605a in FIG. 6), and sends the domain name to the UE.
  • the response message 2 is parsed, and the domain name resolution response message 2 carries IP2 and location area indication information for indicating the location area 2 (as shown by 605b in FIG. 6).
  • IP2 is used to refer to the second IP address
  • location area 2 is used to refer to the second location area.
  • the DNS server receives the domain name resolution request message 2
  • the IP2 and the location area 2 can be determined according to the domain name and the location information 2 carried in the domain name resolution request message 2.
  • the DNS server may send the IP2 and the location area indication information indicating the location area 2 to the UE in the form of the domain name resolution response message 2.
  • the domain name resolution request message 2 in step 604 may also not carry the location information 2 of the UE.
  • the domain name when the DNS server receives the domain name resolution request message 2, the domain name may also be based on the domain name.
  • the source IP address B of the UE and determine the IP2 and the location area 2 corresponding to the domain name.
  • the source IP address B of the UE may be allocated to the UE by the CP after the PDU session 2 is established, and may be carried by the domain name resolution request message 2.
  • the UE receives the domain name resolution response message 2, adds the IP2 to the domain name cache, and saves the location area indication information (shown as 606a in FIG. 6) for indicating the location area 2 in the domain name cache, and passes the IP2. Access to the domain name (as shown in 606b in Figure 6).
  • the domain name resolution response message 2 is used to refer to the first domain name resolution response message.
  • the IP2 may be added to the domain name cache of the UE, and the location area indication information for indicating the location area 2 may also be saved, for example, used to indicate the location area 2
  • the location area indication information is added to the UE's domain name cache.
  • the IP2 corresponding to the domain name is obtained from the domain name cache of the UE according to the domain name, so that the domain name is accessed through the IP2, that is, the AS2 is communicated.
  • the UE and the AS2 perform data transmission during the communication process, such as the uplink and downlink data 2 in FIG.
  • the method provided by the embodiment of the present disclosure if the UE determines that the location area movement occurs, sets the saved IP1 in the domain name cache to be invalid, and sends a domain name resolution request message to the DNS server to trigger the update of the domain name cache by the DNS server. Re-determine and return the IP2 corresponding to the domain name according to the domain name carried in the domain name resolution request message.
  • the UE can add the IP2 to the domain name cache and can access the domain name through the IP2.
  • the IP2 is re-determined by the DNS server after the location area of the user equipment is moved, and is the IP address of the application server corresponding to the domain name that is closer to the mobile UE. Therefore, the optimal server corresponding to the domain name accessed by the UE can be implemented. The delay is short and the communication efficiency is high.
  • the UE may determine, according to the location area indication information that is saved in the domain name cache for indicating the first location area, whether the UE moves in the location area.
  • the location area indication information for indicating the second location area may also be determined and returned.
  • the UE may save the location area indication information used to indicate the location area of the second location area in the domain name cache, so that the UE may determine, according to the location area indication information used to indicate the location area of the second location area, in the domain name cache. Whether the UE moves in the location area, the accuracy of the judgment is high.
  • the UE determines whether the location area movement of the UE occurs, and triggers the update of the domain name cache. In fact, whether the location area movement of the UE occurs may be determined by other functional modules. In the following, the process of determining whether the UE has a location area movement by replacing the UE with the CP and triggering the domain name cache update will be described.
  • the domain name access method may be briefly described as: the control plane device determines that the location device moves by the user equipment; and the control plane device sends a cache update indication message to the user equipment.
  • the cache update indication message is used to indicate that the user equipment updates the domain name cache; the user equipment receives a cache update indication message from the control plane device, and determines, according to the cache update indication message, that the user equipment moves from the first location area to the location
  • the second location area is configured to set the first IP address in the domain name cache to be invalid, and send a first domain name resolution request message to the DNS server, where the first IP address is used by the user equipment to access the domain name in the first location area.
  • the first domain name resolution request message carries the domain name; the DNS server receives the first domain name resolution request message from the user equipment; the DNS server determines a second IP address corresponding to the domain name; and the DNS server sends the first domain name resolution response to the user equipment Message, the first domain name resolution response message carries the second IP address; the user equipment receives the first domain Name resolution response message; the user equipment adds the second IP address to the domain name cache. The user equipment accesses the domain name through the second IP address.
  • FIG. 7 is a brief description of a method for accessing a domain name for a case where a cell moves in place of a UE instead of a UE.
  • the steps of the domain name access method are specifically performed for the case.
  • FIG. 8 is a schematic flowchart of a method for accessing a domain name according to an embodiment of the present disclosure. Referring to FIG. 8, the method includes:
  • the UE After the PDU session 1 is established (as shown by 801a in FIG. 8), the UE sends a domain name resolution request message 1 to the DNS server, where the domain name resolution request message 1 carries the domain name to be accessed and the location information 1 of the UE (see FIG. 8). In 801b).
  • This step 801 is the same as step 601, and details are not described herein again.
  • the DNS server receives the domain name resolution request message 1 and determines the IP1 corresponding to the domain name according to the location information 1 of the UE (as shown by 802a in FIG. 8), and sends a domain name resolution response message 1 to the UE, where the domain name resolution response message is sent.
  • 1 carries IP1 (shown as 802b in Figure 8).
  • the IP1 when the DNS server receives the domain name resolution request message 1, the IP1 may be determined according to the domain name and the location information 1 carried in the domain name resolution request message 1 without determining the location area 1 corresponding to the IP1. After determining the IP1 corresponding to the domain name, the DNS server may send the IP1 to the UE in the form of the domain name resolution response message 1.
  • the location information 1 of the UE may not be carried.
  • the domain name may also be based on the domain name. Determine the IP1 corresponding to the domain name with the source IP address A of the UE.
  • the source IP address A of the UE may be allocated to the UE by the CP after the PDU session 1 is established, and may be carried by the domain name resolution request message 1.
  • the UE receives the domain name resolution response message 1, adds the IP1 to the domain name cache of the UE (as shown in 803a in FIG. 8), and accesses the domain name through IP1 (as shown by 803b in FIG. 8).
  • the domain name resolution response message 1 when the UE receives the domain name resolution response message 1, the domain name resolution response message 1 may be The carried IP1 is added to the UE's domain name cache.
  • the IP1 corresponding to the domain name is obtained from the domain name cache of the UE according to the domain name, so that the domain name is accessed through the IP1, that is, the AS1 is communicated.
  • the UE and AS1 transmit data during the communication process, such as uplink and downlink data 1 in FIG.
  • the cache update indication may be sent to the UE.
  • the message, the cache update indication message is used to instruct the user equipment to update the domain name cache (as shown by 804d in FIG. 8).
  • the determining that the location area movement of the UE occurs by the CP may include the following two situations:
  • the CP may determine that the UE has a location area move (as shown by 804c in FIG. 8).
  • the CP may determine that the UE has a location area move.
  • the PDU session 1 of the UE, AN1, and UP1 is established before the UE moves.
  • the PDU session 2 of the UE, AN2, and UP2 is established. Therefore, the CP can determine the location area movement of the UE through the establishment of the PDU session 2.
  • the UE receives a buffer update indication message from the CP, determines, according to the cache update indication message, that the UE moves the location area, sets IP1 in the domain name cache of the UE to be invalid, and sends a domain name resolution request message 2 to the DNS server (FIG. 8).
  • the domain name resolution request message 2 carries the domain name and the location information 2 of the UE, where the location information 2 is the current location of the UE.
  • the UE may be determined that the location area movement of the UE occurs. At this time, the UE may set the IP1 corresponding to the domain name in the domain name cache to be invalid, and send the domain name and the location information 2 of the UE to the DNS server in the form of the domain name resolution request message 2. In a possible implementation, the UE may also return a cache update response message (shown as 805a in FIG. 8) to the CP, and the cache update response message is used to notify the CP whether the UE performs a cache update.
  • a cache update response message shown as 805a in FIG. 805
  • the domain name resolution request message 2 may not carry the location information 2 of the UE.
  • the DNS server receives the domain name resolution request message 2, and determines the IP2 corresponding to the domain name according to the location information 2 of the UE (as shown in 806a in FIG. 8), and sends a domain name resolution response message 2 to the UE, and the domain name resolution response message 2 Carry IP2 (as shown in 806b in Figure 8).
  • the IP2 when the DNS server receives the domain name resolution request message 2, the IP2 may be determined according to the domain name and the location information 2 carried in the domain name resolution request message 2, without determining the location area 2 corresponding to the IP2. After determining the IP2 corresponding to the domain name, the DNS server may send the IP2 to the UE in the form of the domain name resolution response message 2.
  • the domain name resolution request message 2 in step 805 may also not carry the location information 2 of the UE.
  • the domain name when the DNS server receives the domain name resolution request message 2, the domain name may also be based on the domain name. Determine the IP2 corresponding to the domain name with the source IP address B of the UE. The source IP address B of the UE may be allocated to the UE by the CP after the PDU session 2 is established, and may be carried by the domain name resolution request message 2.
  • the UE receives the domain name resolution response message 2, adds the IP2 to the domain name cache (as shown in 807a in FIG. 8), and accesses the domain name through the IP2 (as shown by 807b in FIG. 8).
  • This step 807 is the same as step 606, and details are not described herein again.
  • the method provided by the embodiment of the present disclosure sends a cache update indication message to the UE if the UE determines that the location area movement of the UE occurs after the UE moves.
  • the UE sets the saved IP1 in the domain name cache to be invalid, and sends a domain name resolution request message to the DNS server to trigger the update of the domain name cache, which is carried by the DNS server according to the domain name resolution request message.
  • Domain name re-determine and return the IP2 corresponding to the domain name.
  • the UE can add the IP2 to the domain name cache and can access the domain name through the IP2.
  • the IP2 is re-determined by the DNS server after the location area of the user equipment is moved, and is the IP address of the application server corresponding to the domain name that is closer to the mobile UE, so that the UE can access the optimal server corresponding to the domain name. Shortening, high communication efficiency.
  • the UE determines whether the location area movement of the UE occurs, and triggers an update of the domain name cache, and the location area is for a location area.
  • the location area can also be targeted to multiple location areas. The process of updating the domain name cache in the case of multiple location areas will be described below.
  • the domain name access method may be briefly described as: the UE determines that the UE moves from the first location area to the second location area; the UE will cache multiple IP addresses in the domain name cache.
  • the location area indication information used to indicate the plurality of location areas respectively corresponding to the plurality of IP addresses is set to be invalid, and send a first domain name resolution request message to the DNS server, where the multiple IP addresses are used for the UE
  • the location area accesses the domain name, the first domain name resolution request message carries the domain name;
  • the DNS server receives the first domain name resolution request message from the UE;
  • the DNS server determines a plurality of new IP addresses corresponding to the domain name and the plurality of new IP addresses Corresponding multiple new location areas;
  • the DNS server sends a first domain name resolution response message to the UE, where the first domain name resolution response message carries the plurality of new IP addresses and a location area for indicating the plurality of new location areas Instructing information;
  • the UE receives a first domain name resolution response message;
  • the UE adds the plurality of new IP addresses to the domain name cache, and the UE saves the location for indicating the plurality of new location areas in the domain name cache In
  • FIG. 9 is a brief description of a domain name access method for a plurality of location areas. In the embodiment corresponding to FIG. 10, the steps of the domain name access method will be specifically described.
  • FIG. 10 is a schematic flowchart of a domain name access method according to an embodiment of the present disclosure. Referring to FIG. 10, the domain name access method includes the following steps:
  • the UE After the PDU session 1 is established (as shown in 1001a in FIG. 10), the UE sends a domain name resolution request message 1 to the DNS server, where the domain name resolution request message 1 carries the domain name to be accessed and the location information 1 of the UE (see FIG. 10). In 1001b).
  • This step 1001 is the same as step 601, and details are not described herein again.
  • the DNS server receives the domain name resolution request message 1 and determines a plurality of IP addresses corresponding to the domain name and a plurality of location areas corresponding to the plurality of IP addresses according to the location information 1 of the UE (as shown in FIG. 10, 1002a). And sending a domain name resolution response message 1 to the UE, the domain name resolution response message 1 carrying a plurality of IP addresses corresponding to the domain name and location area indication information for indicating the plurality of location areas (as shown in 1002b in FIG. 10) .
  • a plurality of IP addresses are used to refer to the first IP address, and a plurality of location areas are used to refer to the first location area.
  • the DNS server receives the domain name resolution request message 1, the domain name and the location information 1 carried in the domain name resolution request message 1 may be determined, and the multiple IP addresses and the multiple location areas may be determined, and the domain name resolution response message 1 is adopted. And sending the plurality of IP addresses and the location area indication information used to indicate the multiple location areas to the UE.
  • the domain name resolution request message 1 in step 1001 may not carry the location information 1 of the UE.
  • the DNS server may further determine multiple IP addresses and multiple location areas corresponding to the domain name according to the domain name and the source IP address A of the UE.
  • the source IP address A of the UE may be allocated to the UE by the CP after the PDU session 1 is established, and may be carried by the domain name resolution request message 1.
  • the UE receives the domain name resolution response message 1, and adds the multiple IP addresses to the domain name cache of the UE, where the location area indication information indicating the multiple location areas is saved in the domain name cache (as shown in FIG. 10, 1003a). And accessing the domain name through the destination IP address (as shown in 1003b in FIG. 10), the destination IP address being an IP address corresponding to the current location area of the UE among the multiple IP addresses.
  • the multiple IP addresses corresponding to the domain name and the multiple location areas corresponding to the multiple IP addresses are obtained from the domain name cache of the UE, and the domain name is accessed through the destination IP address.
  • the domain name access process may include: querying the destination IP address corresponding to the current location area of the UE according to the multiple location areas corresponding to the multiple IP addresses; accessing the domain name through the destination IP address, that is, communicating with AS1.
  • the UE and AS1 perform data transmission during the communication process, such as uplink and downlink data 1 in FIG.
  • the UE moves (as shown in 1004a in FIG. 10).
  • the PDU session 2 is established (as shown by 1004b in FIG. 10)
  • the UE will cache the multiple IP addresses in the domain name cache.
  • the location area indication information used to indicate the multiple location areas is set to be invalid (as shown by 1004c in FIG. 10)
  • the domain name resolution request message 2 is sent to the DNS server, and the domain name resolution request message 2 carries the domain name and the location information 2
  • the location information 2 is the current location of the UE (as shown by 1004d in FIG. 10).
  • the multiple IP addresses corresponding to the domain name in the domain name cache and the location area indication information used to indicate the multiple location areas may be set as Invalid, and in the form of domain name resolution request message 2, the domain name and the location information 2 of the UE are sent to the DNS server.
  • the UE may determine, according to the location area indication information used to indicate the multiple location areas in the domain name cache, that the location area movement of the UE occurs. For example, when the UE determines that it has been unable to connect to a base station in any one of the plurality of location areas, or when the base station to which the current UE is connected is not in any one of the plurality of location areas, determining the UE A location area move has occurred.
  • the embodiment of the present disclosure is described by using the domain name resolution request message 2 to carry the location information 2 of the UE.
  • the domain name resolution request message 2 may not be used. Carry the location information 2 of the UE.
  • the DNS server receives the domain name resolution request message 2, and according to the location information 2 of the UE, re-determines a plurality of new IP addresses corresponding to the domain name and a plurality of new location areas corresponding to the plurality of new IP addresses corresponding to the domain name (FIG. 10).
  • the domain name resolution response message 2 is sent to the UE, and the domain name resolution response message 2 carries a plurality of new IP addresses corresponding to the redefined domain name and location area indication information for indicating the plurality of new location areas. (As shown in 1005b in Figure 10).
  • a plurality of new IP addresses are used to refer to the second IP address, and a plurality of new location areas are used to refer to the second location area.
  • the DNS server receives the domain name resolution request message 2
  • the domain name and the location information 2 carried in the domain name resolution request message 2 may be determined, and the multiple new IP addresses and the plurality of new location areas may be determined, and the domain name resolution response is adopted.
  • the plurality of new IP addresses and location area indication information indicating the plurality of new location areas are sent to the UE.
  • the domain name resolution request message 2 in step 1004 may not carry the location information 2 of the UE.
  • the domain name when the DNS server receives the domain name resolution request message 2, the domain name may also be based on the domain name.
  • the source IP address B of the UE determining a plurality of new IP addresses corresponding to the domain name and a plurality of new location areas.
  • the address B can be allocated to the UE by the CP after the PDU session 2 is established, and can be carried by the domain name resolution request message 2.
  • the UE receives the domain name resolution response message 2, adds the multiple new IP addresses to the domain name cache, and saves location area indication information (shown as 1006a in FIG. 10) for indicating the multiple new location areas, and passes the Multiple new IP addresses access the domain name (as shown in Figure 10, 1006b).
  • the method provided by the embodiment of the present disclosure if the UE determines that the location area is moved, sets the saved multiple IP addresses in the domain name cache to be invalid, and sends a domain name resolution request message to the DNS server to trigger the domain name cache update.
  • the DNS server re-determines and returns multiple new IP addresses corresponding to the domain name according to the domain name carried in the domain name resolution request message.
  • the UE may add the plurality of new IP addresses to the domain name cache, and may access the domain name through the plurality of new IP addresses.
  • the IP address of the application server corresponding to the domain name that is closer to the mobile UE is determined by the DNS server after the location area of the user equipment is moved, so that the UE can access the domain name corresponding to the domain name. Excellent server, short delay and high communication efficiency.
  • the UE may determine, according to the location area indication information that is saved in the domain name cache for indicating the multiple location areas, whether the UE moves in the location area.
  • the DNS server may further determine and return location area indication information indicating the plurality of new location areas.
  • the UE may save the location area indication information for indicating the multiple new location areas to the domain name cache, so that after the next move, the UE may indicate the multiple according to the multiple new IP addresses in the domain name cache and the The location area indication information of the new location area determines whether the location area movement of the UE occurs.
  • FIG. 11 is a schematic structural diagram of a domain name access apparatus according to an embodiment of the present disclosure.
  • the apparatus includes a determining module 1101, a setting module 1102, a transmitting module 1103, a receiving module 1104, an adding module 1105, and an accessing module 1106.
  • a determining module 1101 configured to determine, by the user equipment, that the user equipment moves from the first location area to the second location area;
  • the setting module 1102 is configured to: the user equipment sets the first Internet Protocol IP address in the domain name cache to be invalid, and the first IP address is used by the user equipment to access the domain name in the first location area;
  • the sending module 1103 is configured to send a first domain name resolution request message to the domain name system DNS server, where the first domain name resolution request message carries the domain name;
  • the receiving module 1104 is configured to receive, by the user equipment, a first domain name resolution response message, where the first domain name resolution response message carries a second IP address corresponding to the domain name;
  • An adding module 1105 configured to add, by the user equipment, the second IP address to the domain name cache
  • the access module 1106 is configured to access, by the user equipment, the domain name by using the second IP address.
  • the first domain name resolution request message further carries the location information of the user equipment, where the location information is used to indicate that the current location area of the user equipment is the second location area.
  • the determining module 1101 is configured to perform the process of determining that the location of the user equipment moves in the foregoing step 805.
  • the determining module 1101 is configured to perform the process of determining that the user equipment occurs the location area movement in steps 604 and 1004 above.
  • the first domain name resolution response message further carries location area indication information for indicating the second location area
  • the apparatus further includes:
  • the saving module 1107 is configured to save the location area indication information used by the user equipment to indicate the second location area in the domain name cache.
  • the second IP address includes multiple IP addresses
  • the first domain name resolution response message further carries location area indication information for indicating a plurality of location areas respectively corresponding to the multiple IP addresses
  • the saving module 1107 is further configured to perform the process of saving the location area indication information in step 1006.
  • the access module 1106 is configured to perform the process of accessing the domain name by using the destination IP address in step 1006.
  • the sending module 1103 is further configured to perform the process of sending the second domain name resolution request message in the foregoing steps 601, 801, and 1001; the receiving module 1104 is further configured to perform the foregoing steps 603, 803 and The process of receiving the second domain name resolution response message in 1003.
  • the saving module 1107 is configured to perform the process of saving the IP address and the location area indication information in the foregoing steps 603 and 1003.
  • the accessing module 1106 is further configured to perform the process of accessing the domain name by using the first IP address in the foregoing steps 603 and 803. .
  • the second domain name resolution request message further carries first location information of the user equipment.
  • the domain name resolution request message is sent to the DNS server to trigger the update of the domain name cache, and the DNS server re-determines and returns the domain name according to the domain name carried in the domain name resolution request message.
  • the IP address corresponding to the domain name The UE may update the saved IP address in the domain name cache to the IP address, and may access the domain name through the IP address. Because the IP address is re-determined by the DNS server after the location area of the user equipment is moved, and is the IP address of the application server corresponding to the domain name that is closer to the mobile UE, the UE can access the optimal server corresponding to the domain name. The delay is short and the communication efficiency is high.
  • FIG. 13 is a schematic structural diagram of a domain name access apparatus according to an embodiment of the present disclosure.
  • the apparatus includes a receiving module 1301, a determining module 1302, and a transmitting module 1303.
  • the receiving module 1301 is configured to receive, by the user equipment, a domain name resolution request message, where the domain name resolution request message carries a domain name to be accessed by the user equipment;
  • a determining module 1302 configured to determine, by the DNS server, an Internet Protocol IP address corresponding to the domain name and a location area corresponding to the IP address;
  • the sending module 1303 is configured to send, by the DNS server, a domain name resolution response message to the user equipment, where the domain name resolution response message carries the IP address and location area indication information used to indicate the location area.
  • the domain name resolution request message further carries current location information of the user equipment.
  • the DNS server may determine the IP address and the location area corresponding to the domain name according to the domain name carried in the domain name resolution request message, and return the IP address and the location area indication information for indicating the location area to the user equipment.
  • the user equipment can enable the user equipment to access the optimal server corresponding to the domain name through the IP address, and the delay is short and the communication efficiency is high.
  • FIG. 14 is a schematic structural diagram of a domain name access apparatus according to an embodiment of the present disclosure.
  • the apparatus includes a determination module 1401 and a transmission module 1402.
  • a determining module 1401, configured to determine, by the control plane device, a location area movement of the user equipment
  • the sending module 1402 is configured to send, by the control plane device, a cache update indication message to the user equipment, where the cache update indication message is used to indicate that the user equipment updates the domain name cache.
  • the determining module 1401 is configured to perform the process of determining that the user equipment generates a location area movement in the foregoing step 804.
  • the control plane device may send a cache update indication message to the user equipment to trigger the user equipment to update the domain name cache, which enriches the manner in which the user equipment is triggered to update the domain name cache.
  • domain name access device provided by the foregoing embodiment is used for domain name access, only the division of the above functional modules is illustrated. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
  • the domain name access device and the domain name access method are provided in the same embodiment. For details, refer to the method embodiment, and details are not described herein.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

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

Abstract

La présente invention concerne le domaine des communications Internet, ainsi qu'un procédé et un dispositif d'accès à un nom de domaine. Le procédé comprend : un équipement d'utilisateur détermine que l'équipement d'utilisateur se déplace d'une première zone d'emplacement vers une seconde zone d'emplacement ; l'équipement d'utilisateur définit une première adresse de protocole Internet (IP) dans un cache de nom de domaine devant être invalide et envoie un premier message de demande de résolution de nom de domaine à un serveur de système de nom de domaine (DNS) ; l'équipement d'utilisateur reçoit un premier message de réponse de résolution de nom de domaine, le premier message de réponse de résolution de nom de domaine portant une seconde adresse IP correspondant à un nom de domaine ; l'équipement d'utilisateur ajoute la seconde adresse IP au cache de nom de domaine ; l'équipement d'utilisateur accède au nom de domaine au moyen de la seconde adresse IP. En déclenchant la mise à jour d'un cache de nom de domaine lorsqu'il est déterminé qu'un équipement d'utilisateur se déplace entre des zones d'emplacement et en accédant à un nom de domaine au moyen d'une adresse IP mise à jour, la présente invention peut mettre en œuvre l'accès à un serveur optimal correspondant à un nom de domaine par l'équipement d'utilisateur et présente un retard court et une efficacité de communication élevée.
PCT/CN2017/072636 2017-01-25 2017-01-25 Procédé et dispositif d'accès à un nom de domaine WO2018137180A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/072636 WO2018137180A1 (fr) 2017-01-25 2017-01-25 Procédé et dispositif d'accès à un nom de domaine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/072636 WO2018137180A1 (fr) 2017-01-25 2017-01-25 Procédé et dispositif d'accès à un nom de domaine

Publications (1)

Publication Number Publication Date
WO2018137180A1 true WO2018137180A1 (fr) 2018-08-02

Family

ID=62977896

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/072636 WO2018137180A1 (fr) 2017-01-25 2017-01-25 Procédé et dispositif d'accès à un nom de domaine

Country Status (1)

Country Link
WO (1) WO2018137180A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143230A (zh) * 2020-09-02 2022-03-04 中国移动通信集团安徽有限公司 双栈用户dns解析时长计算方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080086574A1 (en) * 2006-10-05 2008-04-10 Limelight Networks, Inc. Remote Domain Name Service
CN103348656A (zh) * 2011-02-08 2013-10-09 瑞典爱立信有限公司 用于在蜂窝网络中高速缓存自适应http流传输内容的移动性支持的方法和系统
CN104168340A (zh) * 2014-07-24 2014-11-26 深圳市腾讯计算机系统有限公司 域名解析的方法、服务器、终端及系统
CN106331213A (zh) * 2016-08-29 2017-01-11 广东欧珀移动通信有限公司 一种域名系统dns处理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080086574A1 (en) * 2006-10-05 2008-04-10 Limelight Networks, Inc. Remote Domain Name Service
CN103348656A (zh) * 2011-02-08 2013-10-09 瑞典爱立信有限公司 用于在蜂窝网络中高速缓存自适应http流传输内容的移动性支持的方法和系统
CN104168340A (zh) * 2014-07-24 2014-11-26 深圳市腾讯计算机系统有限公司 域名解析的方法、服务器、终端及系统
CN106331213A (zh) * 2016-08-29 2017-01-11 广东欧珀移动通信有限公司 一种域名系统dns处理方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143230A (zh) * 2020-09-02 2022-03-04 中国移动通信集团安徽有限公司 双栈用户dns解析时长计算方法及装置
CN114143230B (zh) * 2020-09-02 2023-07-21 中国移动通信集团安徽有限公司 双栈用户dns解析时长计算方法及装置

Similar Documents

Publication Publication Date Title
US10831161B2 (en) Method and device for sending communication message
WO2021190166A1 (fr) Procédé de détermination de tranche de réseau et appareil associé
WO2018103492A1 (fr) Procédé de réglage d'itinérance wi-fi et dispositif terminal
US11579946B2 (en) Method for managing multiple operating systems in a terminal
US11258708B2 (en) Communication method and communications apparatus
US10813057B2 (en) Method for processing information and terminal device
US20170316781A1 (en) Remote electronic service requesting and processing method, server, and terminal
US20220201571A1 (en) Method for transmitting radio capability identifier, terminal device, and network node
CN109002547B (zh) 日志文件存储方法、移动终端及计算机可读存储介质
WO2019144768A1 (fr) Procédé et terminal de commutation de mode d'enregistrement de réseau
EP3547752B1 (fr) Procédé de commutation de cellule et dispositif terminal
WO2017000495A1 (fr) Procédé et dispositif d'ajout de contacts
WO2017076279A1 (fr) Procédé de mise à jour d'article de base d'informations d'acheminement et dispositif et système l'utilisant
CN111314900B (zh) 无线连接方法、无线连接装置及移动终端
WO2018137180A1 (fr) Procédé et dispositif d'accès à un nom de domaine
CN107483468B (zh) 获取配置信息的方法、装置和系统
CN108476465B (zh) 一种电路域回落csfb网络保持方法及用户终端
WO2017049930A1 (fr) Procédé et terminal d'utilisation de ressources
WO2016179773A1 (fr) Procédé de transmission de signal, station de base et équipement utilisateur
CN106879046B (zh) 网络扫描方法与终端设备
WO2018068319A1 (fr) Procédé et dispositif de routage dans un scénario multihôte
CN107862199B (zh) 一种数据的访问方法、终端和计算机可读存储介质
CN110870289B (zh) 一种局域网设备恢复上网的方法和装置
CN117294788A (zh) 图标显示方法、智能终端及存储介质
CN112492576A (zh) 长途语音拨号方法、装置、存储介质及移动终端

Legal Events

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

Ref document number: 17894036

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17894036

Country of ref document: EP

Kind code of ref document: A1