CN111130822A - Communication method, device, system and computer readable storage medium - Google Patents

Communication method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN111130822A
CN111130822A CN201811281225.3A CN201811281225A CN111130822A CN 111130822 A CN111130822 A CN 111130822A CN 201811281225 A CN201811281225 A CN 201811281225A CN 111130822 A CN111130822 A CN 111130822A
Authority
CN
China
Prior art keywords
path
domain name
home gateway
acceleration
address
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201811281225.3A
Other languages
Chinese (zh)
Other versions
CN111130822B (en
Inventor
金凌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201811281225.3A priority Critical patent/CN111130822B/en
Publication of CN111130822A publication Critical patent/CN111130822A/en
Application granted granted Critical
Publication of CN111130822B publication Critical patent/CN111130822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/083Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure relates to a communication method, a communication device, a communication system and a computer readable storage medium, and relates to the technical field of communication. The method of the present disclosure comprises: receiving a reply message of a Domain Name System (DNS), wherein the reply message comprises: the IP address corresponding to the domain name which the user requests to access; respectively detecting time delay information of the IP address reached through the conventional path and the accelerated path, and selecting a corresponding network path for the domain name; under the condition that the selected network path is an acceleration path, sending the acceleration strategy to the home gateway so that the home gateway can transmit the flow corresponding to the domain name according to the acceleration strategy; the acceleration strategy comprises: the IP address corresponding to the network path.

Description

Communication method, device, system and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a communication method, apparatus, system, and computer-readable storage medium.
Background
The current requirements of users for network access experience are increasing day by day, for example, the demand of overseas websites is increased rapidly, and for example, network games are sensitive to time delay. There is an increasing demand from users to increase the speed of certain applications or traffic.
Currently, operators propose some acceleration strategies, such as VPDN (Virtual Private Dial-up networks).
Disclosure of Invention
The inventor finds that: the VPDN can realize the acceleration of the flow of the corresponding address by configuring the address to be accelerated on the home gateway. This approach places high demands on the functionality and performance of the home gateway. On the other hand, VPDN and similar schemes accelerate traffic through a dedicated acceleration path, but as network access increases, user demand increases, and the acceleration path does not necessarily actually accelerate traffic.
One technical problem to be solved by the present disclosure is: the cost of the home gateway is reduced, and the effectiveness of network acceleration is improved.
According to some embodiments of the present disclosure, there is provided a communication method including: receiving a reply message of a Domain Name System (DNS), wherein the reply message comprises: the IP address corresponding to the domain name which the user requests to access; respectively detecting time delay information of the IP address reached through the conventional path and the accelerated path, and selecting a corresponding network path for the domain name; under the condition that the selected network path is an acceleration path, sending the acceleration strategy to the home gateway so that the home gateway can transmit the flow corresponding to the domain name according to the acceleration strategy; the acceleration strategy comprises: the IP address corresponding to the network path.
In some embodiments, the method further comprises: generating aging time corresponding to the network path; in the aging time range, sending a recombined DNS reply message to a home gateway under the condition of receiving a request message sent by a user aiming at a domain name; the reply message of the recombined DNS comprises an IP address corresponding to the network path; after the aging time is over, the steps in the foregoing embodiment are re-executed.
In some embodiments, the acceleration policy further comprises: aging time corresponding to the network path; the home gateway transmitting the traffic corresponding to the domain name according to the acceleration strategy comprises the following steps: and the home gateway transmits the flow corresponding to the domain name according to an acceleration strategy within the aging time range.
In some embodiments, the detecting the delay information of the IP address reached through the normal path and the accelerated path respectively, and selecting the corresponding network path for the domain name includes: and under the condition that the reply message comprises a plurality of IP addresses, respectively detecting time delay information of reaching each IP address through a conventional path and an acceleration path, and selecting a network path with the lowest time delay and a corresponding IP address for the domain name.
In some embodiments, the method further comprises: receiving a domain name to be accelerated configured by a user; sending the domain name to be accelerated to a home gateway so as to receive a DNS request message corresponding to the domain name to be accelerated forwarded by the home gateway; and sending the DNS request message to a corresponding DNS.
In some embodiments, the regular path comprises a path from a metro network core router to an IP address; the acceleration path comprises the path from the layer two tunnelling protocol network server LNS to the IP address.
In some embodiments, the method further comprises: sending the tunnel configuration information corresponding to the acceleration path to the home gateway so that the home gateway can establish a tunnel according to the tunnel configuration information and send the flow corresponding to the domain name to the corresponding IP address through the tunnel; the tunnel configuration information includes: configuration information of a layer two tunneling protocol L2TP tunnel or a point-to-point tunneling protocol PPTP tunnel.
According to further embodiments of the present disclosure, there is provided a communication apparatus including: the message acquisition module is used for receiving a reply message of a Domain Name System (DNS), and the reply message comprises: the IP address corresponding to the domain name which the user requests to access; the route selection module is used for respectively detecting time delay information of the IP address reached through the conventional route and the accelerated route and selecting a corresponding network route for the domain name; the information sending module is used for sending the acceleration strategy to the home gateway under the condition that the selected network path is the acceleration path, so that the home gateway can transmit the flow corresponding to the domain name according to the acceleration strategy; the acceleration strategy comprises: the IP address corresponding to the network path.
In some embodiments, the apparatus further comprises: the strategy aging monitoring module is used for generating aging time corresponding to the network path; in the aging time range, the trigger information sending module is used for sending a recombined reply message of the DNS to the home gateway under the condition of receiving a request message sent by a user aiming at the domain name; the reply message of the recombined DNS comprises an IP address corresponding to the network path; after the aging time is over, the communication device is triggered to re-execute the steps in the previous embodiment.
In some embodiments, the path selection module is configured to, in a case that the reply message includes a plurality of IP addresses, detect delay information of reaching each IP address through the normal path and the acceleration path, respectively, and select a network path with the lowest delay and a corresponding IP address for the domain name.
In some embodiments, the apparatus further comprises: the user configuration module is used for receiving the domain name to be accelerated for the configuration of the user; sending the domain name to be accelerated to a home gateway so as to receive a DNS request message corresponding to the domain name to be accelerated forwarded by the home gateway; and the message sending module is used for sending the DNS request message to the corresponding DNS.
In some embodiments, the regular path comprises a path from a metro network core router to an IP address; the acceleration path comprises the path from the layer two tunnelling protocol network server LNS to the IP address.
In some embodiments, the apparatus further comprises: the tunnel configuration module is used for sending tunnel configuration information corresponding to the acceleration path to the home gateway so that the home gateway can establish a tunnel according to the tunnel configuration information and send the flow corresponding to the domain name to the corresponding IP address through the tunnel; the tunnel configuration information includes: configuration information of a layer two tunneling protocol L2TP tunnel or a point-to-point tunneling protocol PPTP tunnel.
According to still other embodiments of the present disclosure, there is provided a communication apparatus including: a memory; and a processor coupled to the memory, the processor configured to perform the communication method of any of the preceding embodiments based on instructions stored in the memory.
According to still further embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the communication method of any of the preceding embodiments.
According to still further embodiments of the present disclosure, there is provided a communication system including: the communication device of any of the preceding embodiments; and the home gateway is used for transmitting the flow corresponding to the domain name according to the acceleration strategy.
In some embodiments, the acceleration policy further comprises: aging time corresponding to the network path; the home gateway is also used for transmitting the flow corresponding to the domain name according to the acceleration strategy within the aging time range.
In some embodiments, the home gateway is further configured to receive and store the domain name to be accelerated sent by the communication device, and forward the DNS request packet corresponding to the domain name to be accelerated to the communication device.
In some embodiments, the home gateway is further configured to receive the tunnel configuration information corresponding to the obtained acceleration path, establish a tunnel according to the tunnel configuration information, and send the traffic corresponding to the domain name to the corresponding IP address through the tunnel.
According to the method and the system, the IP address corresponding to the domain name requested by the user is analyzed by acquiring the reply message from the DNS, and the time delay information of reaching the IP address through the conventional path and the acceleration path is respectively detected, so that the network path corresponding to the domain name is determined, if the acceleration path is selected, the acceleration strategy is sent to the home gateway, and the home gateway transmits the flow corresponding to the domain name according to the acceleration strategy, so that the flow is effectively accelerated. The home gateway only needs to receive and configure the acceleration strategy, does not need to analyze DNS messages and the like, and reduces the expense of the home gateway. By detecting the time delay of different paths, the effectiveness of network acceleration is improved, the flexibility of strategy configuration can be accelerated, and the resource occupation of the acceleration path is reduced.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 illustrates a flow diagram of a communication method of some embodiments of the present disclosure.
Fig. 2 shows a flow diagram of a communication method of further embodiments of the present disclosure.
Fig. 3 shows a flow diagram of a communication method of further embodiments of the present disclosure.
Fig. 4 illustrates a schematic structural diagram of a communication device of some embodiments of the present disclosure.
Fig. 5 shows a schematic structural diagram of a communication device of further embodiments of the present disclosure.
Fig. 6 shows a schematic structural diagram of a communication device according to further embodiments of the present disclosure.
Fig. 7 illustrates a structural schematic diagram of a communication system of some embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The present disclosure proposes a communication method, which can improve the effectiveness of network acceleration, and is described below with reference to fig. 1.
Fig. 1 is a flow chart of some embodiments of the disclosed communication method. As shown in fig. 1, the method of this embodiment includes: steps S102 to S108.
In step S102, a reply message of the DNS (Domain Name System) is received.
In some embodiments, the home gateway receives an access request of a user, forwards the access request of the user to the communication device of the present disclosure, and the communication device sends a request message to the DNS and receives a reply message of the DNS. The DNS performs operations such as domain name resolution, and the technology belongs to the prior art and is not described any more. The request message carries the domain name which the user requests to access, and the reply message comprises: and the IP address corresponding to the domain name which the user requests to access. The communication device may also acquire the reply message of the DNS by means of interception or the like.
Further, the domain name of the user to be accelerated may be received, for example, the user configures the domain name of the application or website to be accelerated through a client or a Portal page, and the configuration information is uploaded to the communication device. The communication device sends the domain name to be accelerated or the matching rule of the domain name to the home gateway and writes the domain name into the home gateway. When the home gateway receives an access request of a user for a domain name to be accelerated, the access request is forwarded to the communication device. The matching rule of the domain name is, for example, a keyword of the domain name. The home gateway can determine the domain name which the user requests to access as the domain name to be accelerated through keyword matching.
In step S104, time delay information of the IP address corresponding to the domain name through the normal path and the accelerated path is detected, respectively, and a corresponding network path is selected for the domain name.
In some embodiments, the regular path is the transmission path of traffic without accelerating the traffic. Conventional paths include, for example, paths from a metro network Core Router (CR) to the IP address. The acceleration path includes, for example, a path from an LNS (Layer 2Tunneling Protocol Access manager) to the IP address.
In some embodiments, when the reply packet includes a plurality of IP addresses, that is, when the domain name resolution obtains a plurality of IP addresses, the delay information from the conventional path to each IP address through the acceleration path is detected, and the network path with the lowest delay and the corresponding IP address are selected for the domain name. If the time delay of the metropolitan area network CR reaching the IP address is lower, selecting a path of the metropolitan area network CR reaching the IP address as a network path corresponding to the domain name; and if the time delay of the LNS server to reach the IP address is lower, selecting the IP address with the lowest time delay in the resolution result and the corresponding acceleration path as the network path corresponding to the domain name.
In step S106, when the selected network path is an acceleration path, the acceleration policy is sent to the home gateway.
And under the condition that the selected network path is a conventional path, the home gateway is not required to carry out configuration of an acceleration strategy, and the flow corresponding to the domain name is still transmitted normally. Therefore, the accelerating strategy does not need to be issued, and only the reply message of the DNS needs to be forwarded to the home gateway.
In some embodiments, in the case that the selected network path is an acceleration path, the acceleration policy includes: the IP address corresponding to the network path. Under the condition that the DNS reply message carries a plurality of IP addresses, the DNS reply message may be reassembled to carry the IP addresses corresponding to the network paths. After the acceleration policy is sent to the home gateway, the home gateway may store the IP address in the acceleration policy.
Further, the acceleration policy may further include tunnel configuration information corresponding to the network path. The tunnel configuration includes, for example: configuration information of an L2TP (Layer 2Tunneling Protocol) tunnel or a PPTP (Point to Point Tunneling Protocol) tunnel. The configuration information of the L2TP tunnel or the PPTP tunnel is, for example, a user name, a password, etc. corresponding to the tunnel. The home gateway can establish a tunnel according to the tunnel configuration information and send the traffic corresponding to the domain name to the corresponding IP address through the tunnel. The tunnel configuration information may be issued through an acceleration policy, or may be sent to the home gateway by the communication device when the home gateway is initially configured or when the user configures a domain name to be accelerated. The tunnel configuration process is completed before the traffic is transmitted through the tunnel, and the execution sequence is not limited.
In step S108, the home gateway transmits traffic corresponding to the domain name according to the acceleration policy.
In some embodiments, the home gateway stores the IP address in the acceleration policy, for example, and traffic of the domain name requested to be accessed by the subsequent user is transmitted to the corresponding stored IP address through the acceleration path (e.g., acceleration tunnel). When the user initiates the access to the domain name corresponding to the IP address again, the home gateway forwards the access request and receives the reply information returned by the communication device, wherein the reply information carries the stored IP address. The home gateway continues to transmit the traffic with the destination address being the saved IP address through the acceleration path.
In the method of the embodiment, the IP address corresponding to the domain name requested by the user is analyzed by acquiring the reply message from the DNS, and the delay information from the conventional path to the IP address through the acceleration path is detected, so as to determine the network path corresponding to the domain name. The home gateway only needs to receive and configure the acceleration strategy, does not need to analyze DNS messages and the like, and reduces the expense of the home gateway. By detecting the time delay of different paths, the effectiveness of network acceleration is improved, the flexibility of strategy configuration can be accelerated, and the resource occupation of the acceleration path is reduced.
In order to adapt to the changing network environment, the acceleration policy, the configuration of the home gateway, and the like need to be updated, which is described below with reference to fig. 2.
Fig. 2 is a flow chart of further embodiments of the communication method of the present disclosure. As shown in fig. 2, the method of this embodiment includes: steps S202 to S220.
In step S202, the user configures a domain name corresponding to the application or website to be accelerated, and sends the domain name to be accelerated to the communication device.
The user configures, for example through a client or Portal page, a domain name of an application or website to be accelerated.
In step S204, the communication device writes the domain name matching rule to be accelerated into the home gateway.
The matching rules include, for example, the domain name to be accelerated or the keywords of the domain name to be accelerated.
In step S206, the communication device sends an acceleration function start instruction to the home gateway, and accordingly, the home gateway starts the acceleration function in response to the acceleration function start instruction.
The acceleration function start instruction includes, for example: and accelerating tunnel configuration information corresponding to the path. The tunnel configuration information includes, for example: the username and password of the L2TP tunnel or point-to-PPTP tunnel, etc. The communication device may start the acceleration function of the home gateway in response to the domain name to be accelerated configured by the user, or may start the acceleration function of the home gateway through the issuing process of the acceleration policy in the subsequent process, which is not limited to the illustrated example. The acceleration function of the home gateway is started in advance, the subsequent configuration time is shortened, the flow can be accelerated in time, and the efficiency is improved.
In step S208, the home gateway receives an access request initiated by a user, and determines whether the access request is for a domain name to be accelerated according to a matching rule. If so, step S210 is performed, otherwise step S209 is performed.
The home gateway determines whether the access request is for the domain name to be accelerated by matching the stored matching rule.
In step S209, the home gateway initiates a request message to the DNS.
In step S210, the home gateway transmits the request packet to the communication device, and the communication device forwards the request packet to the DNS.
The home gateway does not need to send the request message to the communication device every time through the matching rule, thereby reducing the signaling overhead.
In step S212, the communication device receives a reply message returned by the DNS.
The reply message carries the IP address corresponding to the domain name to be accelerated.
In step S214, the communication device detects delay information of the IP address corresponding to the domain name to be accelerated through the normal path and the acceleration path, respectively, and selects a corresponding network path for the domain name to be accelerated. If the selected network path is a regular path, step S215 is performed, otherwise, step S216 is performed.
The reply message may carry a plurality of IP addresses corresponding to the domain name to be accelerated, and the time delay from the metropolitan area network CR to each IP address, the IP address with the lowest selection time delay from the LNS server to each IP address, and the corresponding acceleration path are respectively detected as the network path corresponding to the domain name.
In step S215, in the case that the selected network path is a normal path, the communication device forwards the reply packet of the DNS to the home gateway.
In step S216, in the case that the selected network path is an acceleration path, the communication device sends the reply message and the acceleration policy to the home gateway.
The acceleration policy includes, for example, an IP address corresponding to the selected network path, and a corresponding aging time. The communication device can also recombine the reply message, carry the IP address corresponding to the taken network path, and send the reply message to the home gateway.
In step S218, the home gateway stores the acceleration policy.
The home gateway stores the IP address and the corresponding aging time.
In step S220, the home gateway accelerates the traffic corresponding to the stored IP address through an acceleration path within the corresponding aging time.
The aging time is, for example, a time period, and when the aging time corresponding to the IP address expires, the home gateway may delete the IP address and the corresponding aging time, and then transmit the traffic of the user through the conventional path.
The steps in the method are the process that the user initially configures the domain name to be accelerated and the communication device configures the home gateway. In case the acceleration policy has been configured at the home gateway for the domain name the user wants to accelerate, the steps as shown in fig. 3 may be performed.
Fig. 3 is a flow chart of further embodiments of the communication method of the present disclosure. As shown in fig. 3, the method of this embodiment includes: steps S302 to S306, which may be performed after step S212.
In step S302, the communication device determines whether the domain name the user requests to access has configured the corresponding acceleration policy and whether the current time is within the corresponding aging time range, if so, step S304 is executed, otherwise, steps S214 and the following steps are executed according to the above embodiment.
In step S304, the communication device transmits a reply message of the reassembled DNS to the home gateway.
The reply message of the recombined DNS comprises the IP address in the configured acceleration strategy. The communication device does not need to reissue the acceleration policy.
In step S306, the home gateway accelerates the traffic corresponding to the stored IP address through the acceleration path within the corresponding aging time.
And the home gateway still sends the traffic corresponding to the domain name to be accelerated to the stored IP address through the acceleration path within the aging time.
After the aging time is over, both the communication device and the home gateway may delete the corresponding aging time information or the acceleration policy. And the user initiates a request for the domain name to be accelerated again, and the processing is carried out according to the methods of the steps S208 to S220.
In some embodiments, the user may delete or modify the domain name to be accelerated. The user sends a domain name deletion request to the communication device through the home gateway. And the communication device issues an acceleration strategy deletion command to the home gateway. The home gateway deletes the acceleration strategy corresponding to the domain name to be deleted by the user, and then transmits the flow corresponding to the domain name to be deleted through a conventional path.
In some embodiments, the user may directly configure the IP address corresponding to the application or website to be accelerated, and the IP address may be directly written into the home gateway as an acceleration policy. And the home gateway accelerates the flow corresponding to the IP address through an acceleration path.
The method of the embodiment selects an effective network path for the domain name to be accelerated by the user, can optimize the application access effect, selects the optimal scheme when the user accesses the configured domain name, does not have the condition of acceleration but not acceleration, and simultaneously avoids the occupation of the resources of the LNS server by the flow. The aging time updating acceleration strategy is configured, so that the configuration is flexible, and the acceleration rules are ensured to be updated according to the requirement instead of long-term static storage. And the analyzing function of the DNS message is moved up to the platform side, the performance expense of the home gateway is small,
some application examples of the communication method of the present disclosure are described below.
(1) The user configures the domain name www.example.com as the domain name to be accelerated, and the domain name www.example.com or the keyword is issued to the home gateway for storage.
(2) The home gateway matches www.example.com the key in all DNS request messages and sends the request message to the control platform.
(3) The communication device obtains www.example.com the domain name resolution result, i.e. the corresponding IP address, and the time delay of detecting the corresponding IP address from the metro network CR and the LNS server corresponding to the user is smaller than the time delay of detecting the corresponding IP address from the metro network CR and the LNS server corresponding to the user. If the access time delay between the metropolitan area network CR and the IP address is low, directly sending a DNS reply message to the home gateway; otherwise, on the basis of replying the message, the message is sent to the home gateway, wherein the message contains the IP address with the lowest time delay, and the acceleration strategy is sent to the home gateway. The speed-up policy includes the IP address with the lowest latency and the corresponding aging time (e.g., 15 minutes).
(4) In the next 15 minutes, the traffic accessed www.example.com by the user enters the acceleration tunnel according to the acceleration policy, during which the DNS message is still sent up, but the previous message can be directly replied.
(5) After 15 minutes, the acceleration policy has aged and automatically deleted, and if the user no longer accesses www.example.com, the previous acceleration policy will not be used, and if the user accesses www.example.com again, the communication device re-executes steps (3) and following after receiving the DNS message.
The present disclosure also provides a communication device, described below in conjunction with fig. 4.
Fig. 4 is a block diagram of some embodiments of a communication device of the present disclosure. As shown in fig. 4, the apparatus 40 of this embodiment includes: a message acquisition module 402, a path selection module 404 and an information sending module 406.
A message obtaining module 402, configured to receive a reply message of a domain name system DNS. The reply message includes: and the IP address corresponding to the domain name which the user requests to access.
A path selecting module 404, configured to detect delay information of reaching the IP address through the normal path and the acceleration path, respectively, and select a corresponding network path for the domain name.
In some embodiments, the regular path comprises a path from a metro network core router to an IP address; the acceleration path comprises the path from the layer two tunnelling protocol network server LNS to the IP address.
In some embodiments, the path selecting module 404 is configured to, in a case that the reply message includes a plurality of IP addresses, detect delay information of reaching each IP address through the normal path and the acceleration path, respectively, and select a network path with the lowest delay and a corresponding IP address for the domain name.
The information sending module 406 is configured to send the acceleration policy to the home gateway when the selected network path is the acceleration path, so that the home gateway transmits traffic corresponding to the domain name according to the acceleration policy; the acceleration strategy comprises: the IP address corresponding to the network path.
In some embodiments, the communication device 40 further comprises: a policy aging monitoring module 408, configured to generate an aging time corresponding to the network path; in the aging time range, the trigger information sending module is used for sending a recombined reply message of the DNS to the home gateway under the condition of receiving a request message sent by a user aiming at the domain name; the reply message of the recombined DNS comprises an IP address corresponding to the network path; after the aging time is over, the trigger message acquisition module 402 receives a reply message of the domain name system DNS; the path selection module 404 detects delay information of the IP address reached through the normal path and the accelerated path, respectively, and selects a corresponding network path for the domain name; and the information sending module sends the acceleration strategy to the home gateway under the condition that the selected network path is the acceleration path.
In some embodiments, the communication device 40 further comprises: a user configuration module 410, configured to receive a domain name to be accelerated for configuration by a user; and sending the domain name to be accelerated to the home gateway so as to receive the DNS request message corresponding to the domain name to be accelerated forwarded by the home gateway. The message sending module 412 is configured to send the DNS request message to a corresponding DNS.
In some embodiments, the communication device 40 further comprises: the tunnel configuration module 414 is configured to send tunnel configuration information corresponding to the acceleration path to the home gateway, so that the home gateway establishes a tunnel according to the tunnel configuration information, and sends traffic corresponding to the domain name to a corresponding IP address through the tunnel. The tunnel configuration information includes: configuration information of a layer two tunneling protocol L2TP tunnel or a point-to-point tunneling protocol PPTP tunnel.
The communication devices in the embodiments of the present disclosure may each be implemented by various computing devices or computer systems, which are described below in conjunction with fig. 5 and 6.
Fig. 5 is a block diagram of some embodiments of a communication device of the present disclosure. As shown in fig. 5, the apparatus 50 of this embodiment includes: a memory 510 and a processor 520 coupled to the memory 510, the processor 520 configured to perform a communication method in any of the embodiments of the present disclosure based on instructions stored in the memory 510.
Memory 510 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), a database, and other programs.
Fig. 6 is a block diagram of further embodiments of the communication device of the present disclosure. As shown in fig. 6, the apparatus 60 of this embodiment includes: memory 610 and processor 620 are similar to memory 510 and processor 520, respectively. An input output interface 630, a network interface 640, a storage interface 650, and the like may also be included. These interfaces 630, 640, 650 and the connections between the memory 610 and the processor 620 may be, for example, via a bus 660. The input/output interface 630 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 640 provides a connection interface for various networking devices, such as a database server or a cloud storage server. The storage interface 650 provides a connection interface for external storage devices such as an SD card and a usb disk.
The present disclosure also provides a communication system, described below in conjunction with fig. 7.
Fig. 7 is a block diagram of some embodiments of the communication system of the present disclosure. As shown in fig. 7, the system 7 of this embodiment includes: the communication device 40/50/60 of any of the preceding embodiments; and a home gateway 72.
The home gateway 72 is configured to transmit traffic corresponding to the domain name according to the acceleration policy.
In some embodiments, the acceleration policy further comprises: aging time corresponding to the network path; the home gateway 72 is further configured to transmit traffic corresponding to the domain name according to the acceleration policy within the aging time range.
In some embodiments, the home gateway 72 is further configured to receive and store the domain name to be accelerated sent by the communication device, and forward the DNS request message corresponding to the domain name to be accelerated to the communication device.
In some embodiments, the home gateway 72 is further configured to receive the tunnel configuration information corresponding to the obtained acceleration path, establish a tunnel according to the tunnel configuration information, and send the traffic corresponding to the domain name to the corresponding IP address through the tunnel.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (19)

1. A method of communication, comprising:
receiving a reply message of a Domain Name System (DNS), wherein the reply message comprises: the IP address corresponding to the domain name which the user requests to access;
respectively detecting time delay information of the IP address reached through a conventional path and an acceleration path, and selecting a corresponding network path for the domain name;
sending an acceleration strategy to a home gateway under the condition that the selected network path is an acceleration path, so that the home gateway transmits the flow corresponding to the domain name according to the acceleration strategy; the acceleration strategy comprises: and the IP address corresponding to the network path.
2. The communication method of claim 1, further comprising:
generating aging time corresponding to the network path;
within the aging time range, sending a recombined DNS reply message to the home gateway under the condition of receiving a request message sent by the user aiming at the domain name; the reply message of the recombined DNS comprises an IP address corresponding to the network path;
after the aging time is over, the steps in claim 1 are re-executed.
3. The communication method according to claim 1,
the acceleration strategy further comprises: aging time corresponding to the network path;
the step of transmitting the traffic corresponding to the domain name by the home gateway according to the acceleration strategy comprises the following steps:
and the home gateway transmits the flow corresponding to the domain name according to the acceleration strategy within the aging time range.
4. The communication method according to claim 1,
the detecting the delay information of the IP address through the conventional path and the accelerated path respectively, and selecting the corresponding network path for the domain name includes:
and under the condition that the reply message comprises a plurality of IP addresses, respectively detecting time delay information of reaching each IP address through a conventional path and an acceleration path, and selecting a network path with the lowest time delay and a corresponding IP address for the domain name.
5. The communication method of claim 1, further comprising:
receiving a domain name to be accelerated configured by the user;
sending the domain name to be accelerated to the home gateway so as to receive a DNS request message corresponding to the domain name to be accelerated forwarded by the home gateway;
and sending the DNS request message to a corresponding DNS.
6. The communication method according to any one of claims 1 to 5,
the regular path comprises a path from a metro network core router to the IP address;
the acceleration path comprises a path from the layer two tunnelling protocol network server LNS to the IP address.
7. The communication method of claim 6, further comprising:
sending tunnel configuration information corresponding to an acceleration path to a home gateway so that the home gateway can establish a tunnel according to the tunnel configuration information and send traffic corresponding to the domain name to the corresponding IP address through the tunnel;
the tunnel configuration information includes: configuration information of a layer two tunneling protocol L2TP tunnel or a point-to-point tunneling protocol PPTP tunnel.
8. A communication device, comprising:
the message acquisition module is used for receiving a reply message of a Domain Name System (DNS), and the reply message comprises: the IP address corresponding to the domain name which the user requests to access;
a path selection module, configured to detect delay information from the domain name to the IP address through a conventional path and an acceleration path, respectively, and select a corresponding network path for the domain name;
the information sending module is used for sending the acceleration strategy to the home gateway under the condition that the selected network path is the acceleration path, so that the home gateway can transmit the flow corresponding to the domain name according to the acceleration strategy; the acceleration strategy comprises: and the IP address corresponding to the network path.
9. The communication device of claim 8, further comprising:
the strategy aging monitoring module is used for generating aging time corresponding to the network path; in the aging time range, triggering the information sending module to send a recombined DNS reply message to the home gateway under the condition of receiving a request message sent by the user aiming at the domain name; the reply message of the recombined DNS comprises an IP address corresponding to the network path; triggering the communication device to re-execute the steps of claim 1 after the aging time is over.
10. The communication device of claim 8,
the path selection module is used for respectively detecting time delay information of reaching each IP address through a conventional path and an acceleration path under the condition that the reply message comprises a plurality of IP addresses, and selecting a network path with the lowest time delay and a corresponding IP address for the domain name.
11. The communication device of claim 8, further comprising:
the user configuration module is used for receiving the domain name to be accelerated for the user configuration; sending the domain name to be accelerated to the home gateway so as to receive a DNS request message corresponding to the domain name to be accelerated forwarded by the home gateway;
and the message sending module is used for sending the DNS request message to a corresponding DNS.
12. The communication device of any one of claims 8-11,
the regular path comprises a path from a metro network core router to the IP address;
the acceleration path comprises a path from the layer two tunnelling protocol network server LNS to the IP address.
13. The communication device of claim 12, further comprising:
the tunnel configuration module is used for sending tunnel configuration information corresponding to the acceleration path to the home gateway so that the home gateway can establish a tunnel according to the tunnel configuration information and send the traffic corresponding to the domain name to the corresponding IP address through the tunnel;
the tunnel configuration information includes: configuration information of a layer two tunneling protocol L2TP tunnel or a point-to-point tunneling protocol PPTP tunnel.
14. A communication device, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the communication method of any of claims 1-7 based on instructions stored in the memory.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
16. A communication system, comprising:
the communication device of any one of claims 8-14; and
and the home gateway is used for transmitting the flow corresponding to the domain name according to the acceleration strategy.
17. The communication system of claim 16,
the acceleration strategy further comprises: aging time corresponding to the network path;
and the home gateway is also used for transmitting the flow corresponding to the domain name according to the acceleration strategy within the aging time range.
18. The communication system of claim 16,
the home gateway is further configured to receive and store the domain name to be accelerated sent by the communication device, and forward a DNS request packet corresponding to the domain name to be accelerated to the communication device.
19. The communication system of claim 16,
the home gateway is further configured to receive tunnel configuration information corresponding to the obtained acceleration path, establish a tunnel according to the tunnel configuration information, and send the traffic corresponding to the domain name to the corresponding IP address through the tunnel.
CN201811281225.3A 2018-10-31 2018-10-31 Communication method, device, system and computer readable storage medium Active CN111130822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811281225.3A CN111130822B (en) 2018-10-31 2018-10-31 Communication method, device, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811281225.3A CN111130822B (en) 2018-10-31 2018-10-31 Communication method, device, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111130822A true CN111130822A (en) 2020-05-08
CN111130822B CN111130822B (en) 2022-10-04

Family

ID=70484929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811281225.3A Active CN111130822B (en) 2018-10-31 2018-10-31 Communication method, device, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111130822B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917660A (en) * 2020-06-22 2020-11-10 中盈优创资讯科技有限公司 Optimization method and device of gateway equipment strategy
CN113852497A (en) * 2021-09-14 2021-12-28 天翼数字生活科技有限公司 Internet Virtual Private Network (VPN) acceleration channel network quality detection system based on internet control protocol (ICMP)
CN114143251A (en) * 2021-12-08 2022-03-04 北京天融信网络安全技术有限公司 Intelligent routing method and device, electronic equipment and computer readable storage medium
CN114640628A (en) * 2020-12-16 2022-06-17 中国移动通信有限公司研究院 Routing strategy configuration method, device, equipment and storage medium
CN115396398A (en) * 2022-07-29 2022-11-25 中国电信股份有限公司 Derived domain name access method, system, device, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023778A (en) * 2012-12-05 2013-04-03 华为技术有限公司 Method and device for selecting path for router
CN103973834A (en) * 2014-05-12 2014-08-06 重庆邮电大学 Domain name resolution (DNS) acceleration method and device based on home gateway
CN104243627A (en) * 2014-08-29 2014-12-24 华为技术有限公司 Domain name resolution method, device and system
CN108632173A (en) * 2017-03-16 2018-10-09 南方银谷科技有限公司 A kind of resource access system and the resource access method based on LAN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023778A (en) * 2012-12-05 2013-04-03 华为技术有限公司 Method and device for selecting path for router
CN103973834A (en) * 2014-05-12 2014-08-06 重庆邮电大学 Domain name resolution (DNS) acceleration method and device based on home gateway
CN104243627A (en) * 2014-08-29 2014-12-24 华为技术有限公司 Domain name resolution method, device and system
CN108632173A (en) * 2017-03-16 2018-10-09 南方银谷科技有限公司 A kind of resource access system and the resource access method based on LAN

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917660A (en) * 2020-06-22 2020-11-10 中盈优创资讯科技有限公司 Optimization method and device of gateway equipment strategy
CN111917660B (en) * 2020-06-22 2023-08-29 中盈优创资讯科技有限公司 Optimization method and device for gateway equipment policy
CN114640628A (en) * 2020-12-16 2022-06-17 中国移动通信有限公司研究院 Routing strategy configuration method, device, equipment and storage medium
CN113852497A (en) * 2021-09-14 2021-12-28 天翼数字生活科技有限公司 Internet Virtual Private Network (VPN) acceleration channel network quality detection system based on internet control protocol (ICMP)
WO2023040366A1 (en) * 2021-09-14 2023-03-23 天翼数字生活科技有限公司 Icmp-based vpn acceleration channel network quality detection system
CN113852497B (en) * 2021-09-14 2024-06-18 天翼数字生活科技有限公司 ICMP-based VPN acceleration channel network quality detection system
CN114143251A (en) * 2021-12-08 2022-03-04 北京天融信网络安全技术有限公司 Intelligent routing method and device, electronic equipment and computer readable storage medium
CN115396398A (en) * 2022-07-29 2022-11-25 中国电信股份有限公司 Derived domain name access method, system, device, storage medium and program product
CN115396398B (en) * 2022-07-29 2024-04-26 中国电信股份有限公司 Derived domain name access method, system, device, storage medium and program product

Also Published As

Publication number Publication date
CN111130822B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN111130822B (en) Communication method, device, system and computer readable storage medium
US10003571B2 (en) Method and apparatus for implementing communication between virtual machines
KR101962156B1 (en) Authorization processing method and apparatus
US9571569B2 (en) Method and apparatus for determining virtual machine migration
WO2018058677A1 (en) Message processing method, computing device, and message processing apparatus
EP3070887A1 (en) Communication method, device and system for virtual extensible local area network
CN104219316A (en) Method and device for processing call request in distributed system
CN106878199B (en) Configuration method and device of access information
CN105635073B (en) Access control method and device and network access equipment
CN112217771A (en) Data forwarding method and data forwarding device based on tenant information
CN111193773A (en) Load balancing method, device, equipment and storage medium
CN111711556B (en) Routing method, device, system, equipment and storage medium of virtual private network
CN109379339B (en) Portal authentication method and device
CN108200221B (en) Method and device for synchronizing conversion rules in network address conversion environment
CN108259454B (en) Portal authentication method and device
CN107370805B (en) Service processing method and device and service processing system
CN113472625B (en) Transparent bridging method, system, equipment and storage medium based on mobile internet
CN113596105B (en) Content acquisition method, edge node and computer readable storage medium
CN111327437B (en) Flow table processing method, flow table processing device, and SDN network system
JP5945367B2 (en) Method and system for communicating between web pages
EP3176986A1 (en) Method, device and system for remote desktop protocol gateway to conduct routing and switching
CN113765972A (en) Data request response method, device, system, server and storage medium
US11652781B2 (en) Data processing method based on MEC platform, device, and storage medium
CN113098954B (en) Message forwarding method and device, computer equipment and storage medium
KR101993536B1 (en) Host Device for communicating with external device and Method for controlling the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200508

Assignee: Tianyiyun Technology Co.,Ltd.

Assignor: CHINA TELECOM Corp.,Ltd.

Contract record no.: X2024110000020

Denomination of invention: Communication methods, devices, systems, and computer-readable storage media

Granted publication date: 20221004

License type: Common License

Record date: 20240315