WO2014071802A1 - User positioning method and device based on content delivery network (cdn) and network convergence - Google Patents

User positioning method and device based on content delivery network (cdn) and network convergence Download PDF

Info

Publication number
WO2014071802A1
WO2014071802A1 PCT/CN2013/085825 CN2013085825W WO2014071802A1 WO 2014071802 A1 WO2014071802 A1 WO 2014071802A1 CN 2013085825 W CN2013085825 W CN 2013085825W WO 2014071802 A1 WO2014071802 A1 WO 2014071802A1
Authority
WO
WIPO (PCT)
Prior art keywords
dns
cdn
address
component
network
Prior art date
Application number
PCT/CN2013/085825
Other languages
French (fr)
Chinese (zh)
Inventor
黄孙亮
陈建业
范成法
李宏飚
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014071802A1 publication Critical patent/WO2014071802A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Definitions

  • the present invention relates to a communication network, a CDN (Content Delivery Network), a service management system, a related system of a content provider, a DNS system, and the like, and more specifically, relates to a new type of device in which a CDN and a network are integrated.
  • the system locates the user and the device, and selects a suitable service node for the user.
  • CDN and network equipment are required to protect users' Internet applications at the same time.
  • CDN can only provide application-level protection, and the network can only provide bandwidth and quality assurance at the network layer. Only CDN devices and network devices can be fused to implement protection from both content and network, thereby enhancing the user experience.
  • the user After the CDN and the network device are merged, the user needs to be located in the specific service bearer, and the resources are scheduled. Each user needs to be allocated corresponding resources, corresponding service nodes, and in principle, the user's content service node and network.
  • the service nodes are on the same device to achieve better synergy and maximize the advantages of the converged device. However, there is currently no technical solution to meet the above requirements. Summary of the invention
  • An object of the embodiments of the present invention is to provide a user positioning based on CDN and network device convergence.
  • the method achieves user positioning by merging the CDN with the network.
  • Another object of embodiments of the present invention is to provide an apparatus for implementing the above method.
  • the fusion device is formed by merging the CDN node of the CDN system with the network device, where the fusion device includes a CDN component and a network component, and a local DNS server is deployed on the fusion device;
  • the DNS record or the address relationship record is used to obtain a DNS resolution result for returning to the client, where the user establishes an application with the CDN component of the fusion device according to the DNS resolution result.
  • Link user positioning of the client to the CDN component of the fusion device.
  • the network component is configured to provide network access and bearer services to the UE, and the converged device further includes a main control unit for serving the CDN component and the network component.
  • the generating the DNS record comprises: the CDN central management system issuing an instruction including the contracted ICP/ISP domain name information to the converged device CDN component; and the converged device CDN component requesting the local DNS server to sign the contract according to the domain name information in the instruction
  • the ICP/ISP domain name generates the DNS record; wherein the domain name in the DNS record is the contracted ICP/ISP domain name, and the corresponding address is the external service address of the converged device CDN component.
  • the obtaining the DNS resolution result by using the DNS record comprises: the local DNS server querying the locally cached DNS record according to the received DNS resolution request, and querying the DNS record corresponding to the contracted ICP/ISP domain name.
  • the Fusion Device CDN component returns the external service address to the client.
  • the generating the address relationship record comprises: a converged device network component or a master control ticket Notifying the address of the local DNS server to the converged device CDN component; the converged device CDN component generates an address relationship record for the correspondence between the local DNS server address and the external service address of the converged device CDN component according to the message in the advertisement, and It is reported to the CDN Central Management System's Domain Name System Resource Scheduling and Load Balancing System DNS GSLB.
  • the obtaining the DNS resolution result by using the address relationship record comprises: sending, by the local DNS server, a DNS resolution request to the DNS GSLB; the DNS GSLB querying the corresponding domain name in the domain name record according to the DNS resolution request After querying the corresponding domain name, according to the correspondence between the local DNS server address in the address relationship record and the external service address of the converged device CDN component, the corresponding converged device CDN component is determined as a CDN service node, and will contain its address.
  • the parsing result is returned to the client via the local DNS server.
  • the obtaining the DNS resolution result by using the address relationship record comprises: sending, by the local DNS server, a DNS resolution request to the DNS root server, and initiating the DNS server according to the ICP/ISP authorized DNS information returned by the ICP/ISP.
  • the local DNS server initiates a DNS query request to the DNS GSLB according to the DNS information of the used CDN service system returned by the ICP/ISP authorized DNS server in response to the query request; the DNS GSLB queries according to the DNS query request Corresponding DNS records, and according to the correspondence between the local DNS server address in the address relationship record and the external service address of the converged device CDN component, the corresponding converged device CDN component is determined as a CDN service node, and the parsing result containing the address is determined via The local DNS server is returned to the client.
  • a user positioning device based on the CDN and the network convergence of the embodiment of the present invention includes: a DNS record generating unit of the fusion device, configured to generate a contracted ICP/ISP domain name and use the external service address of the CDN component of the fusion device as the corresponding address of the domain name. a DNS record, or an address relationship record containing a correspondence between a local DNS server address and an external service address of the Fusion Device CDN component;
  • the DNS resolution device is configured to use the DNS record or the address relationship record to obtain a DNS resolution result for returning to the client when the user initiates a DNS resolution request.
  • the user end establishes an application link with the CDN component of the fusion device according to the parsing result, and implements user positioning of the user end to the CDN component of the fusion device;
  • the converged device is a device that combines a CDN node and a network device, and includes: the local DNS server; and the CDN component of the converged device, used to establish and maintain an application link with the client, and provide content distribution. service.
  • the converging device further includes a network component configured to provide network access and bearer services to the UE; wherein, the network component of the converged device and the CDN component are provided with an internal signaling interaction interface for the network component
  • the information of the user address pool is reported to the CDN component, and the CDN component applies to the network component for information about the user network acceleration, receiving and executing feedback information, user status query, and feedback.
  • the merging device further includes: a main control unit configured to serve the CDN component and the network component; wherein the main control unit and the CDN component and the network component are respectively provided with an internal signaling interaction interface;
  • the local DNS server is turned on by the main control unit or is turned on by a network component.
  • the DNS record generating unit of the converged device is composed of the local DNS server and the converged device CDN component; wherein the converged device CDN component requests the local DNS server to subscribe to the ICP/ISP domain name according to the domain name information in the command. Generating the DNS record; and the converged device CDN component generates the address relationship record according to the address information of the local DNS server advertised by the converged device network component or the main control unit.
  • the DNS resolution device is either a local DNS server performing local resolution in the converged device, or a DNS GSLB performing domain name resolution in a CDN central management system.
  • the embodiment of the present invention integrates the CDN and the network device, including the following: merging the content distribution node of the CDN system with the network device as a component of the network device; the CDN component and the network component are loosely coupled;
  • the CDN's central management system retains centralized deployment, and uniformly manages and monitors the CDN components of each converged device.
  • the CDN system's GSLB, DNS resolution, and other components are also centrally managed. Unified deployment of the management system; the above system can also be integrated and deployed with the network management system of the converged device;
  • the CDN component provides CDN services to users and maintains the user's content service status;
  • the network component provides network access and bearer services to users, and is responsible for maintaining the user's network service status;
  • the network component enables the DNS service as a local DNS resolution server (the specific implementation can also be enabled by the main control board of the device);
  • An internal interface that adds interaction between the CDN component and the network component or the device master, and sends the corresponding DNS configuration to obtain DNS server information.
  • the CDN component adds a correspondence record between the local DNS server address and the CDN service address of the fusion device, and functions on the "3 ⁇ 4 CDN Center GSLB system.”
  • the technical effects of the embodiments of the present invention are: adapting to different deployment modes and service scenarios, and satisfying the requirement of positioning the user's network layer connection and the application layer link to the same converged device, thereby better protecting the user service experience. . DRAWINGS
  • FIG. 1 is a network diagram of a system for a CDN and a network convergence device according to the present invention
  • FIG. 2 is an internal structural diagram of a CDN and a network convergence device according to the present invention
  • FIG. 3 is a schematic diagram of a CDN and network convergence based user positioning method according to the present invention
  • FIG. 4 is a schematic diagram of a CDN and network convergence based user positioning apparatus according to the present invention
  • FIG. 5 is a CDN and network convergence based user positioning according to the present invention
  • FIG. 6 is a flow chart of a second embodiment of user positioning based on CDN and network convergence according to the present invention.
  • FIG. 7 is a flow chart of a third embodiment of user location based on CDN and network convergence according to the present invention. detailed description
  • FIG. 1 is a network diagram of a system for a CDN and a network convergence device according to an embodiment of the present invention. From the system point of view, CDN and network convergence equipment can be deployed in a distributed manner, but a central management system is required to implement unified management and scheduling, implement unified content management, service monitoring, network management, DNS resolution, resource scheduling and load balancing. Wait.
  • the CDN central management system adopts centralized deployment and is deployed in a unified manner with the DNS server, resource scheduling and load balancing system (GSLB) to manage and maintain CDN components in the converged device, service adaptation, and resource scheduling;
  • GSLB resource scheduling and load balancing system
  • the system deployment can also be integrated with the network management system of the converged device. As part of the network management system, it can be deployed in a unified manner with the network management system.
  • Converged devices which combine CDN functions and network functions, use CDN components as content distribution nodes to provide users with content distribution services; and use network components to provide users with network access and bearer services.
  • the CDN component and the CDN central management system establish a management channel and a service channel, and adopt a management channel to implement daily maintenance and management of the network, device configuration and monitoring, etc., and use the service channel to implement content delivery and business information interaction.
  • the CDN can be integrated with the core routers, service routers (BRAS/SR), switches, PDSN/GGSN devices on the network. Due to the BRAS/SR, the PDSN/GGSN is the service control point of the Internet user. It has the network status information of the user. It is recommended that the CDN device and the BRAS/SR and PDSN/GGSN devices be fused to achieve the cooperation between the CDN user status and the network user status. The coordination of user status and policy scheduling can achieve double protection based on user's application content and network service quality, thereby improving user experience.
  • BRAS/SR service routers
  • PDSN/GGSN is the service control point of the Internet user. It has the network status information of the user. It is recommended that the CDN device and the BRAS/SR and PDSN/GGSN devices be fused to achieve the cooperation between the CDN user status and the network user status.
  • the coordination of user status and policy scheduling can achieve double protection based on user's application content and network service quality, thereby improving user
  • FIG. 2 shows a general internal structure diagram of a CDN and a network convergence device according to an embodiment of the present invention.
  • the CDN and the network-integrated new device combine the CDN content distribution node and the network device, adopt a loosely coupled manner for fusion, the CDN component adopts an independent CDN service processing board type, and the network component also adopts an independent network service.
  • the board type is processed; thus greatly reducing the complexity of the fusion, and also improving the scalability and flexibility of the system.
  • Network components or CDN components can be expanded to meet specific business needs.
  • the CDN component applies to the network component for user network acceleration and receiving execution feedback information, user network status query and feedback.
  • the CDN component and the network component also have corresponding internal interfaces with the main control unit to implement management and service interaction.
  • the CDN service card obtains the corresponding configuration policy from the CDN management center, and needs feedback to the main control card.
  • the main control card implements the configuration and implementation of the device.
  • the main control card also needs to apply the corresponding configuration to a specific network service processing board.
  • the local DNS service in order to locate the network layer connection and the application layer link of the same user on the same converged device, the local DNS service needs to be enabled on the main control unit or the network processing board of the converged device.
  • the CDN service processing board In order to provide CDN services to users, the CDN service processing board needs to enable the CDN service and issue the CDN external service address. How to connect a network user to a specific converged device, and then apply the link to the device through scheduling and positioning.
  • the CDN component is the focus of the present invention, and the components of the fusion device need to be interacted through the internal interface to perform corresponding cooperation.
  • FIG. 3 shows a method for user positioning based on the combination of CDN and network shown in FIG. 1 and FIG. 2, as shown in FIG. 3, including:
  • Step S301 Form a converged device by merging the CDN node of the CDN system with the network device, where the converged device includes a CDN component and a network component, and the local DNS server is deployed on the converged device;
  • the domain name corresponds to the DNS record of the address, and/or the
  • the Fusion Device CDN component generates an address relationship record containing the correspondence between the local DNS server address and the external service address of the Fusion Device CDN component, and reports it to the DNS GSLB of the CDN center;
  • Step S303 When the user initiates the DNS resolution request, the local DNS server uses the DNS record or the address relationship record to obtain a DNS resolution result for returning to the client, so that the user end according to the analysis result and the location
  • the CDN component of the fusion device establishes an application link, thereby realizing user positioning of the client to the CDN component of the fusion device.
  • the network component in step S301 is configured to provide network access and bearer services to the UE, and the converged device further includes a main control unit for serving the CDN component and the network component.
  • the generating the DNS record in step S302 includes: the CDN central management system sends an instruction including the contracted ICP/ISP domain name information to the converged device CDN component; and the converged device CDN component requests the local DNS server to sign the contract according to the domain name information in the instruction.
  • the domain name of the ICP/ISP generates the DNS record; wherein the domain name in the DNS record is the domain name of the contracted ICP/ISP, and the corresponding address is the external service address of the CDN component of the converged device.
  • the DNS resolution result obtained by using the DNS record described in step S302 includes:
  • the DNS server queries the locally cached DNS record according to the received user DNS resolution request, and returns the external service address of the CDN component of the converged device corresponding to the contracted ICP/ISP domain name in the DNS record to the client.
  • the generating the address relationship record in step S302 includes: the converged device network component or the main control unit notifying the address of the local DNS server to the converged device CDN component; the converged device CDN component generating the local DNS server according to the message in the advertisement
  • the address relationship between the address and the external service address of the CDN component of the Fusion Device is recorded and reported to the Domain Name System Resource Scheduling and Load Balancing System DNS GSLB of the CDN Central Management System.
  • the obtaining the DNS resolution result by using the address relationship record in the step S303 includes: the local DNS server sends the DNS resolution request of the user end to the DNS GSLB; the DNS GSLB queries the domain name record according to the DNS resolution request. Domain name; in the query After the corresponding domain name is obtained, according to the correspondence between the local DNS server address in the address relationship record and the external service address of the converged device CDN component, the corresponding converged device CDN component is determined as a CDN service node, and the parsing result including the address thereof is determined.
  • the local DNS server is returned to the client.
  • the obtaining the DNS resolution result by using the address relationship record in step S303 includes: the local DNS server sends the DNS resolution request of the client to the DNS root server, and authorizes the DNS to the ICP/ISP according to the ICP/ISP authorized DNS information returned by the local DNS server.
  • the server initiates a DNS query request; the local DNS server initiates a DNS query request to the DNS GSLB according to the DNS information of the used CDN service system returned by the ICP/ISP authorized DNS server in response to the query request; the DNS GSLB is requested according to the DNS query Querying the corresponding DNS record, and determining the corresponding converged device CDN component as a CDN service node according to the correspondence between the local DNS server address in the address relationship record and the external service address of the converged device CDN component, and including the resolution of the address The result is returned to the client via the local DNS server.
  • FIG. 4 shows a device for user location based on CDN and network convergence according to the present invention, as shown in FIG. 4, including:
  • the DNS record generating unit of the converged device is configured to generate a DNS record including the contracted ICP/ISP domain name and the external service address of the CDN component of the converged device as the address corresponding to the domain name, or the local DNS server address corresponding to the external service address of the CDN component of the converged device Address relationship record of the relationship;
  • the DNS resolving device is configured to obtain, by using the DNS record or the address relationship record, a DNS resolution result that is returned to the user end, so that the user end is merged with the parsing result according to the parsing result.
  • the device CDN component establishes an application link, thereby realizing user positioning of the client to the CDN component of the fusion device;
  • the converged device is a device that combines a CDN node and a network device, and includes: the local DNS server; and the CDN component of the converged device, used to establish and maintain an application link with the client, and provide content distribution. service.
  • the converging device further includes: a network component for providing network access and bearer services to the UE; wherein, the network component of the converged device and the CDN component are provided with an internal signaling interaction interface, so that the network component is directed to the CDN
  • the information of the user address pool on the component, the CDN component applies to the network component for information about the user network acceleration, receiving and executing feedback information, user status query and feedback.
  • the merging device further includes: a main control unit for serving the CDN component and the network component; wherein the main control unit and the CDN component and the network component are respectively provided with an internal signaling interaction interface;
  • the local DNS server is turned on by the main control unit or by a network component.
  • the DNS record generating unit of the converged device is composed of the local DNS server and the converged device CDN component; wherein the converged device CDN component requests the local DNS server to generate the domain name for the contracted ICP/ISP according to the domain name information in the command. And the converged device CDN component generates the address relationship record according to the address information of the local DNS server advertised by the converged device network component or the main control unit.
  • the DNS resolution device is either a local DNS server that performs local resolution in the converged device, or a DNS GSLB that performs domain name resolution in the CDN central management system.
  • Figure 5 shows a flow diagram of a first embodiment of the CDN and network convergence based user positioning of the present invention.
  • the systems involved are: user client, fusion device, CDN central management system /DNS/GSLB, business management system, ICP/ISP system.
  • the CDN central management system delivers the user positioning and scheduling policy to the corresponding converged device according to the policy, and increases the DNS record for the ICP/ISP locally in the converged device.
  • the service node is set as a local CDN component; when the user initiates an access request, the analysis result is directly obtained locally on the corresponding fusion device, and the user is located at the local CDN service node.
  • the convergence device is used to provide the network bearer and CDN service for the user at the same time.
  • the corresponding CDN central management system to manage the device
  • Target customers such as: ICP/ISP hopes to purchase and select the corresponding CDN service, and can apply for CDN service through the service provider's business management system;
  • the business management system will query the corresponding resources; confirm that it can meet the user's service requirements, conduct business acceptance, and return business acceptance confirmation information to ICP/ISP;
  • the service management system After the service is successfully accepted, the service management system sends a service deployment instruction to the CDN central management system.
  • the domain name information of the ICP/ISP is mainly considered to realize the positioning of the user CDN service; thus, the instruction is to the CDN.
  • the central management system/DNS/GSLB issues the domain name information of the ICP/ISP, and implements the requirement for the user CDN service positioning according to the domain name information;
  • the CDN central management system delivers a user positioning policy for the ICP/ISP to the CDN component of each converged device;
  • the specific instruction content includes the domain name information of the contracted ICP/ISP, and a local parsing request according to the domain name information;
  • the converged device has previously enabled the DNS service.
  • the DNS server is enabled by the main control unit of the converged device (it can also be opened by the network service processing board, but it is not recommended).
  • the CDN component of the converged device After receiving the user positioning policy delivered by the CDN central management system, the CDN component of the converged device passes the internal interface between the CDN component and the main control unit of the converged device according to the domain name information in the command (when the DNS server is opened by the network processing board)
  • the DNS server is required to generate a corresponding DNS record for the domain name of the contracted ICP/ISP through the internal interface between the CDN component and the network component.
  • the domain name in the record is the domain name of the contracted ICP/ISP, and the corresponding address is Converged device CDN component external service address;
  • the main control unit (or network component) of the converged device After the domain name record is successfully added, the main control unit (or network component) of the converged device returns a domain name record adding success message to the CDN component of the converged device;
  • the CDN component of the converged device receives the domain name record adding success message, and returns a successful completion message of the user positioning policy of the contracted ICP/ISP to the CDN central management system; 8. After receiving the user location policy success message returned by the CDN component of all the converged devices, the CDN central management system feeds back to the service management system, and the service has been deployed.
  • the user has access to the business application and sends a DNS request, such as: www.sohu.com;
  • the user's network connection is first connected to the converged device.
  • the converged device is enabled with the DNS server.
  • the converged device When the user establishes a network connection, the converged device is the user connected to it, and the assigned DNS server address is the address of the local DNS server.
  • the DNS server provides domain name resolution services for users.
  • When receiving a user DNS request first check the local DNS cache, for example: the domain name ww W . s requested by the user. h U x. m , for signing the ICP/ISP, the previous DNS server has the corresponding DNS record, and the corresponding address in the record is the external service address of the local CDN component; after the query, the query result is returned to the user client;
  • the user client After obtaining the query result, the user client establishes an application layer link with the CDN component of the fusion device according to the address information in the result, and requests the content service.
  • the feature of the embodiment is that, according to the domain name of the contracted ICP/ISP and the external service address of the CDN component of the fusion device, a corresponding record is formed, and a corresponding DNS record is added in the local DNS server, and the user's DNS request can be obtained on the local DNS server. Analyze the results. It is suitable for contracted customers and for closed services.
  • the efficiency of DNS query in this embodiment is high and distributed analysis helps to reduce the pressure on the central DNS resolution server.
  • Figure 6 shows a flow diagram of a second embodiment of the CDN and network convergence based user positioning of the present invention.
  • the systems involved are: user client, fusion device, CDN central management system /DNS/GSLB, business management system, ICP/ISP system, etc.
  • the ICP/ISP DNS record is added by the GSLB of the CDN central system, and is uniformly maintained; when the user initiates the access request, the DNS record cannot be found locally in the converged device. It will request from the center GSLB, and the GSLB determines the CDN serving the user according to the relationship between the DNS service address and the CDN service address and the scheduling policy. Service address, return the analysis result; locate the user on the local CDN service node.
  • ICP/ISP hopes to use CDN service to apply for CDN service to business management system
  • the CDN service opening instruction is issued to the CDN central management system; in this implementation embodiment, the domain name of the user by the DNS GSLB of the CDN central management system is adopted.
  • the method of parsing and performing load balancing scheduling; therefore, the instruction includes the domain name information of the contracted ICP/ISP and related instructions for local parsing according to the domain name; after receiving the service opening instruction, the CDN central management system
  • the domain name record corresponding to the ICP/ISP is added to the DNS GLSB, and relevant resources are reserved for the service development; after the deployment is completed, the CDN service deployment completion message is returned to the service management system;
  • the service management system After receiving the CDN service deployment completion message, the service management system returns a subscription confirmation message to the ICP/ISP system.
  • the fusion device is also required to perform corresponding cooperation.
  • the Fusion Device needs to enable the DNS service (either the main control unit is enabled, or the network service processing board is enabled, and the main control unit is recommended to be enabled); the component that enables the DNS service advertises the local DNS server address to the CDN component through the internal interface; After receiving the notification message, a record of the correspondence between the local DNS server address and the local CDN external service address is generated, and is notified to the CDN central management system through the CDN component and the management interface of the CDN central management system, and is sent to the DNS by the CDN central management system.
  • GSLB This serves as the basis for positioning and load balancing users.
  • the user client needs to access the service and initiate a service request.
  • the DNS solution needs to be performed.
  • the DNS server is enabled on the Fusion device. After receiving the DNS request, the local cache is queried. If there is no corresponding cache record, the upper DNS server requests the resolution.
  • the DNS server of the Fusion device is configured. Set the DNS GSLB of the CDN center to the upper DNS server; 3. The DNS GSLB of the CDN center performs DNS resolution. If the corresponding cache record cannot be found, it needs to be queried to the higher-level DNS server. However, the domain name of the signed ICP/ISP is already local according to the previous deployment. The corresponding domain name record is added and can be queried in the cache.
  • the corresponding relationship between the local DNS server address and the CDN external service address reported by the CDN component of each converged device is analyzed.
  • the relationship locates the user back to the local CDN, ensures that the user's network connection and the application layer link are on the same converged device, and returns the parsing result to the local DNS server;
  • the local DNS server of the converged device After receiving the parsing result, the local DNS server of the converged device returns the parsing result to the user client.
  • the user client establishes an application layer link and requests a content service according to the CDN service address returned by the DNS resolution.
  • the feature of this embodiment is that the CDN center DNS GSLB adds the DNS record of the contracted ICP/ISP, and locates the user according to the correspondence between the DNS server and the CDN service address reported by each CDN component.
  • the converged device needs to enable the DNS server and designate the upper-level DNS server as the DNS GSLB of the CDN center.
  • the CDN component needs to record the correspondence relationship according to the DNS server address of the Fusion device and its external CDN service address, and report it to the DNS GSLB of the CDN center as the basis for user location.
  • This embodiment is more suitable for signing ICP/ISP. , and relatively closed business.
  • the CDN center DNS GSLB centralized cache record can reduce the need to add DNS records to each converged device during initial deployment. It is highly efficient and easier to manage and maintain.
  • Figure 7 is a flow chart showing a third embodiment of the CDN and network convergence based user positioning of the present invention.
  • the systems involved are: user client, converged device, CDN central management system /DNS/GSLB, DNS root server, ISP authorized DNS server.
  • a deployment method similar to the current CDN service provider is adopted, except that the DNS service is enabled on the network component of the converged device, and the local DNS server address is notified to the CDN component of the converged device, and the local DNS server is generated by the CDN component.
  • Address and CDN service The correspondence between the service addresses and the DNS GSLB of the CDN central management system; when the user accesses the application, the normal DNS resolution process is performed. When there is no DNS record locally, the upper DNS query is performed until the root DNS, the root DNS redirects the request to the ISP authorization. DNS; the ISP authorizes the DNS to redirect the request to the DNS GSLB of the CDN central management system.
  • the GSLB determines the CDN service address serving as the user according to the relationship between the DNS service address and the CDN service address, and returns the analysis result. Position the user on the local CDN service node.
  • the CDN component Before the user client accesses the service, you need to do some pre-deployment. You need to enable the DNS server on the main control unit of the converged device (or the network service processing unit); and advertise the address of the DNS server to the converged device through the internal interface.
  • the CDN component generates a correspondence between the local DNS server address and the CDN service address by the CDN component, and advertises to the CDN central management system through the CDN component and the management channel of the CDN central management system, and synchronizes to the central DNS GSLB, so that the DNS GSLB has the basis for user positioning.
  • the network component needs to be configured and delivered when the user establishes a network connection, so that the DNS server address of the user network connection is the DNS server address of the converged device.
  • the user needs to access the application, first initiates a DNS resolution request; because the DNS server address in the user's network connection is the DNS server address of the converged device, the DNS resolution request is sent to the DNS server of the converged device;
  • the DNS server of the converged device queries the local DNS cache. If the corresponding DNS record is not queried, the upper DNS server initiates a query request.
  • the upper DNS server is not set to DNS GSLB and is set to external DNS. Server; in case the external DNS server does not have a corresponding cache, the DNS root server can be queried step by step;
  • the DNS root server After receiving the DNS query request, the DNS root server searches for the level by step, and finally the local DNS server can obtain the ISP authorized DNS server address;
  • the local DNS server of the converged device initiates a DNS check to the ISP authorized DNS server. Inquire for
  • the ISP uses the CDN service to return the DNS server address of the CDN system.
  • the return is The address of the DNS GSLB of the system CDN central management system;
  • the local DNS server of the converged device initiates a DNS query request to the DNS GSLB of the CDN central management system according to the DNS server address that the ISP authorizes the DNS server to return;
  • the DNS GSLB of the CDN central management system queries the corresponding DNS record, and determines the CDN service node for the user according to the correspondence between the local DNS server and the CDN service address, and returns the analysis result to the local DNS server of the converged device;
  • the local DNS server of the converged device returns the parsing result to the user client according to the received DNS parsing result
  • the user client can obtain the CDN service address according to the received DNS resolution result; thus, an application layer link can be established, the application can be accessed, and the content service can be requested.
  • a feature of such an embodiment is that the general flow of existing DNS resolution is preserved.
  • the difference is that the local DNS is the DNS server of the converged device, and the CDN component of the converged device reports the correspondence between the local DNS server and the CDN service address to the DNS GSLB system of the CDN center.
  • Such an embodiment is more suitable for signing a scenario where ICP/ISP and non-contracted ICP/ISP, closed services and open Internet services are mixed.
  • the invention is based on a device for CDN and network convergence, and provides a user positioning method and device based on such device.
  • the advantage of such a device is that the content distribution node of the CDN and the network device are merged, and the corresponding user state is maintained in the CDN component and the network component, and the interaction of the internal interface can achieve double guarantee of content quality and network quality.
  • the user's network layer connection and application layer link should be located on the same converged device.
  • the method is mainly based on locally deploying a DNS server in a converged device to locate a user to a local CDN component, and specifically provides three realities. Example.
  • the three embodiments are adapted to different deployment modes and service scenarios to meet the requirements of the user's network layer connection and application layer link to the same converged device, so as to better protect the user service experience.
  • the apparatus for user location based on CDN and network convergence of the present invention has the following features:
  • the network convergence device of the present invention combines the network and the CDN function, and the network components and the CDN components are loosely coupled, thereby realizing the integration at the device level;
  • the network component and the CDN component interact with the device main control unit through the internal system interface and the message interface; so that the three have the ability to cooperate;
  • the network component and the CDN component have their own user state machines, and the state machines of the two are independent of each other;
  • the network component and the CDN component respectively maintain the network state machine and the content state machine of the user, thereby facilitating user-based refined operation and service guarantee;
  • the CDN component is managed by a unified CDN central manager, which can be set up independently or incorporated into the network management system of the converged device described herein as an integral part of the network management system;
  • the converged device starts the DNS service to implement localization of the DNS resolution service
  • the CDN central management system/GSLB may issue a user positioning policy to the CDN component of the converged device; after the CDN component of the converged device interprets the policy, the configuration command is issued to the main control or network component of the converged device, according to the local CDN service address. Corresponding relationship with the domain name, the corresponding DNS record is added; when subsequent user application accesses, the DNS query can directly locate the CDN service address of the device; 10) The CDN component of the converged device has a function of generating a correspondence between the address of the local DNS server and the service address of the CDN, and reporting the report to the CDN central management system/DNS GSLB;
  • the CDN Center DNS GSLB can add the corresponding DNS record, and implement the positioning of the user according to the correspondence between the local DNS server address reported by the CDN component of the converged device and the service address of the CDN.
  • the present invention ensures the user service experience by positioning the user's network layer connection and application layer link to the same converged device.

Landscapes

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

Abstract

Disclosed are a user positioning method and device based on a CDN and network convergence. The method comprises forming a fused device through fusing a CDN node of a CDN system with a network device, wherein the fused device comprises a CDN component and a network component and is deployed with a local domain name system (DNS) server; generating a DNS record containing a domain name of a signed internet content provider (ICP)/internet service provider (ISP) and taking an external service address of the CDN component of the fused device as the address corresponding to the domain name, and/or generating an address relation record containing an address of the local DNS server and the corresponding relation of the external service address of the CDN component of the fused device; and obtaining DNS analysis results for being returned to a user by using the DNS record or the address relation record when the user initiates a DNS analysis request, and therefore, the user builds application links according to the analysis results and the CDN component of the fused device, and the user positioning from the user to the CDN component of the fused device is achieved.

Description

一种基于 CDN和网络融合的用户定位的方法及装置 技术领域  Method and device for user positioning based on CDN and network fusion
本发明涉及通信网络, CDN(Content Delivery Network),业务管理系统, 内容提供商的相关系统以及 DNS系统等,更确切地说, 涉及的是一种 CDN 和网络融合的新型态设备在进行业务承载时, 系统对用户的定位方法及装 置, 为用户选择合适的服务节点的方法。 背景技术  The present invention relates to a communication network, a CDN (Content Delivery Network), a service management system, a related system of a content provider, a DNS system, and the like, and more specifically, relates to a new type of device in which a CDN and a network are integrated. When carrying, the system locates the user and the device, and selects a suitable service node for the user. Background technique
互联网业务发展迅速, 尤其是视频业务的发展, 使得业务提供商需要 大量的 CDN服务, 以提升互联网业务的服务质量; 带来了 CDN的大规模 发展; 但由于目前的 CDN系统无法感知和控制网络的带宽和质量, 因而无 法真正保障互联网业务的用户体验。  The rapid development of Internet services, especially the development of video services, has made service providers need a large number of CDN services to improve the service quality of Internet services; it has brought about the large-scale development of CDN; but because the current CDN system cannot sense and control the network. The bandwidth and quality, so can not really guarantee the user experience of the Internet business.
互联网业务的服务质量保障, 需要从内容和网络两个方面来保障, 需 要 CDN和网络设备同时对用户的互联网应用实施保障。 而 CDN只能提供 应用层面的保障, 网络只能提供网络层的带宽和质量保障。 只有 CDN设备 和网络设备能够融合, 才能从内容和网络两方面实施保障, 从而提升用户 体验。  The quality of service guarantee for Internet services needs to be protected from both content and network. CDN and network equipment are required to protect users' Internet applications at the same time. CDN can only provide application-level protection, and the network can only provide bandwidth and quality assurance at the network layer. Only CDN devices and network devices can be fused to implement protection from both content and network, thereby enhancing the user experience.
在 CDN和网络设备融合之后, 在具体业务承载时, 需要对用户进行定 位, 对资源进行调度, 需要为每个用户分配相应的资源, 相应的服务节点, 原则上, 用户的内容服务节点和网络服务节点在同一台设备, 以做到更好 的协同, 最大发挥融合设备的优势。 但是, 目前还没有一种技术方案能够 满足上述需求。 发明内容  After the CDN and the network device are merged, the user needs to be located in the specific service bearer, and the resources are scheduled. Each user needs to be allocated corresponding resources, corresponding service nodes, and in principle, the user's content service node and network. The service nodes are on the same device to achieve better synergy and maximize the advantages of the converged device. However, there is currently no technical solution to meet the above requirements. Summary of the invention
本发明实施例的目的是提供一种基于 CDN和网络设备融合的用户定位 方法, 通过把 CDN和网络融合在一起实现用户的定位。 An object of the embodiments of the present invention is to provide a user positioning based on CDN and network device convergence. The method achieves user positioning by merging the CDN with the network.
本发明实施例的另一目的是提供一种实现上述方法的装置。  Another object of embodiments of the present invention is to provide an apparatus for implementing the above method.
本发明实施例的一种基于内容分发网络 CDN和网络融合的用户定位方 法包括如下步骤:  A user positioning method based on a content distribution network CDN and network convergence according to an embodiment of the present invention includes the following steps:
通过把 CDN系统的 CDN节点与网络设备进行融合, 形成融合设备, 所述融合设备包括 CDN部件和网络部件,并且所述融合设备上部署有本地 DNS服务器;  The fusion device is formed by merging the CDN node of the CDN system with the network device, where the fusion device includes a CDN component and a network component, and a local DNS server is deployed on the fusion device;
生成含有签约 ICP/ISP域名和把融合设备 CDN部件对外服务地址作为 该域名对应地址的 DNS记录, 和 /或生成含有本地 DNS服务器地址与融合 设备 CDN部件对外服务地址对应关系的地址关系记录;  Generating a DNS record containing the contracted ICP/ISP domain name and the external service address of the CDN component of the converged device as the address corresponding to the domain name, and/or generating an address relationship record including the correspondence between the local DNS server address and the external service address of the CDN component of the converged device;
在用户端发起 DNS解析请求时, 利用所述 DNS记录或者地址关系记 录, 获得用来返回给所述用户端的 DNS解析结果, 供用户端根据所述 DNS 解析结果与所述融合设备 CDN部件建立应用链接, 实现用户端到融合设备 CDN部件的用户定位。  When the user initiates the DNS resolution request, the DNS record or the address relationship record is used to obtain a DNS resolution result for returning to the client, where the user establishes an application with the CDN component of the fusion device according to the DNS resolution result. Link, user positioning of the client to the CDN component of the fusion device.
优选地, 所述网络部件用于向用户端提供网络接入和承载服务, 并且 所述融合设备还包括用来服务于 CDN部件和网络部件的主控单元。  Preferably, the network component is configured to provide network access and bearer services to the UE, and the converged device further includes a main control unit for serving the CDN component and the network component.
优选地, 所述的生成 DNS记录包括: CDN 中心管理系统向融合设备 CDN部件下发包含签约 ICP/ISP域名信息的指令;以及融合设备 CDN部件 根据指令中的域名信息, 请求本地 DNS服务器针对签约 ICP/ISP域名生成 所述的 DNS记录;其中,所述 DNS记录中的域名为所述签约 ICP/ISP域名, 对应的地址为融合设备 CDN部件对外服务地址。  Preferably, the generating the DNS record comprises: the CDN central management system issuing an instruction including the contracted ICP/ISP domain name information to the converged device CDN component; and the converged device CDN component requesting the local DNS server to sign the contract according to the domain name information in the instruction The ICP/ISP domain name generates the DNS record; wherein the domain name in the DNS record is the contracted ICP/ISP domain name, and the corresponding address is the external service address of the converged device CDN component.
优选地,所述的利用所述 DNS记录获得 DNS解析结果包括:本地 DNS 服务器根据收到的 DNS解析请求, 查询本地緩存的 DNS记录, 并将查询 到 DNS记录中对应于签约 ICP/ISP域名的融合设备 CDN部件对外服务地址 返回给用户端。  Preferably, the obtaining the DNS resolution result by using the DNS record comprises: the local DNS server querying the locally cached DNS record according to the received DNS resolution request, and querying the DNS record corresponding to the contracted ICP/ISP domain name. The Fusion Device CDN component returns the external service address to the client.
优选地, 所述的生成地址关系记录包括: 融合设备网络部件或主控单 元将本地 DNS服务器的地址通告给融合设备 CDN部件;融合设备 CDN部 件根据所述通告中的消息,生成关于本地 DNS服务器地址与融合设备 CDN 部件对外服务地址的对应关系的地址关系记录,并将其上报给 CDN中心管 理系统的域名系统资源调度和负载均衡系统 DNS GSLB。 Preferably, the generating the address relationship record comprises: a converged device network component or a master control ticket Notifying the address of the local DNS server to the converged device CDN component; the converged device CDN component generates an address relationship record for the correspondence between the local DNS server address and the external service address of the converged device CDN component according to the message in the advertisement, and It is reported to the CDN Central Management System's Domain Name System Resource Scheduling and Load Balancing System DNS GSLB.
优选地, 所述的利用所述地址关系记录获得 DNS解析结果包括: 本地 DNS服务器将 DNS解析请求发送给所述 DNS GSLB; 所述 DNS GSLB根 据 DNS解析请求, 在其域名记录中查询对应的域名; 在查询到对应的域名 后, 根据地址关系记录中的本地 DNS服务器地址与融合设备 CDN部件对 外服务地址的对应关系, 把对应的融合设备 CDN部件确定为 CDN服务节 点, 并将含有其地址的解析结果经由本地 DNS服务器返回给用户端。  Preferably, the obtaining the DNS resolution result by using the address relationship record comprises: sending, by the local DNS server, a DNS resolution request to the DNS GSLB; the DNS GSLB querying the corresponding domain name in the domain name record according to the DNS resolution request After querying the corresponding domain name, according to the correspondence between the local DNS server address in the address relationship record and the external service address of the converged device CDN component, the corresponding converged device CDN component is determined as a CDN service node, and will contain its address. The parsing result is returned to the client via the local DNS server.
优选地, 所述的利用所述地址关系记录获得 DNS解析结果包括: 本地 DNS 服务器将 DNS 解析请求发送给 DNS 根服务器, 并根据其返回的 ICP/ISP授权 DNS信息向 ICP/ISP授权 DNS服务器发起 DNS查询请求;本 地 DNS服务器根据所述 ICP/ISP授权 DNS服务器响应查询请求而返回的所 用 CDN服务系统的 DNS信息, 向所述 DNS GSLB发起 DNS查询请求; 所述 DNS GSLB根据 DNS查询请求, 查询对应的 DNS记录, 并根据地址 关系记录中的本地 DNS服务器地址与融合设备 CDN部件对外服务地址的 对应关系, 把对应的融合设备 CDN部件确定为 CDN服务节点, 并将含有 其地址的解析结果经由本地 DNS服务器返回给用户端。  Preferably, the obtaining the DNS resolution result by using the address relationship record comprises: sending, by the local DNS server, a DNS resolution request to the DNS root server, and initiating the DNS server according to the ICP/ISP authorized DNS information returned by the ICP/ISP. a DNS query request; the local DNS server initiates a DNS query request to the DNS GSLB according to the DNS information of the used CDN service system returned by the ICP/ISP authorized DNS server in response to the query request; the DNS GSLB queries according to the DNS query request Corresponding DNS records, and according to the correspondence between the local DNS server address in the address relationship record and the external service address of the converged device CDN component, the corresponding converged device CDN component is determined as a CDN service node, and the parsing result containing the address is determined via The local DNS server is returned to the client.
本发明实施例的一种基于 CDN和网络融合的用户定位装置包括: 融合设备的 DNS记录生成单元, 配置为生成含有签约 ICP/ISP域名和 把融合设备 CDN部件对外服务地址作为该域名对应地址的 DNS记录, 或 含有本地 DNS服务器地址与融合设备 CDN部件对外服务地址对应关系的 地址关系记录;  A user positioning device based on the CDN and the network convergence of the embodiment of the present invention includes: a DNS record generating unit of the fusion device, configured to generate a contracted ICP/ISP domain name and use the external service address of the CDN component of the fusion device as the corresponding address of the domain name. a DNS record, or an address relationship record containing a correspondence between a local DNS server address and an external service address of the Fusion Device CDN component;
DNS解析设备,配置为在用户端发起 DNS解析请求时,利用所述 DNS 记录或者地址关系记录, 获得用来返回给所述用户端的 DNS解析结果, 供 用户端根据所述解析结果与所述融合设备 CDN部件建立应用链接, 实现用 户端到融合设备 CDN部件的用户定位; The DNS resolution device is configured to use the DNS record or the address relationship record to obtain a DNS resolution result for returning to the client when the user initiates a DNS resolution request. The user end establishes an application link with the CDN component of the fusion device according to the parsing result, and implements user positioning of the user end to the CDN component of the fusion device;
其中, 所述融合设备是融合了 CDN节点与网络设备的设备, 包括: 所 述的本地 DNS服务器; 以及所述的融合设备 CDN部件, 用来建立和维护 与用户端的应用链接, 并提供内容分发服务。  The converged device is a device that combines a CDN node and a network device, and includes: the local DNS server; and the CDN component of the converged device, used to establish and maintain an application link with the client, and provide content distribution. service.
优选地, 所述融合设备还包括配置为向用户端提供网络接入和承载服 务的网络部件; 其中, 所述融合设备的网络部件与 CDN部件之间设有内部 信令交互接口, 供网络部件向 CDN部件上报用户地址池的信息, CDN部 件向网络部件申请用户网络加速、 接收和执行反馈信息、 用户状态查询及 反馈的信息。  Preferably, the converging device further includes a network component configured to provide network access and bearer services to the UE; wherein, the network component of the converged device and the CDN component are provided with an internal signaling interaction interface for the network component The information of the user address pool is reported to the CDN component, and the CDN component applies to the network component for information about the user network acceleration, receiving and executing feedback information, user status query, and feedback.
优选地, 所述融合设备还包括: 配置为服务于 CDN部件和网络部件的 主控单元; 其中, 主控单元分别与 CDN部件之间和网络部件之间设有内部 信令交互接口; 其中, 所述的本地 DNS服务器由所述主控单元开启, 或者 由网络部件开启。  Preferably, the merging device further includes: a main control unit configured to serve the CDN component and the network component; wherein the main control unit and the CDN component and the network component are respectively provided with an internal signaling interaction interface; The local DNS server is turned on by the main control unit or is turned on by a network component.
优选地, 所述融合设备的 DNS记录生成单元由所述的本地 DNS服务 器和融合设备 CDN部件构成; 其中, 融合设备 CDN部件根据指令中的域 名信息,请求本地 DNS服务器针对签约 ICP/ISP的域名生成所述的 DNS记 录; 以及融合设备 CDN部件根据融合设备网络部件或主控单元通告的本地 DNS服务器的地址信息, 生成所述的地址关系记录。  Preferably, the DNS record generating unit of the converged device is composed of the local DNS server and the converged device CDN component; wherein the converged device CDN component requests the local DNS server to subscribe to the ICP/ISP domain name according to the domain name information in the command. Generating the DNS record; and the converged device CDN component generates the address relationship record according to the address information of the local DNS server advertised by the converged device network component or the main control unit.
优选地, DNS解析设备或者是在所述融合设备中执行本地解析的本地 DNS服务器, 或者在是 CDN中心管理系统中执行域名解析的 DNS GSLB。  Preferably, the DNS resolution device is either a local DNS server performing local resolution in the converged device, or a DNS GSLB performing domain name resolution in a CDN central management system.
另一方面, 本发明实施例把 CDN和网络设备融合包括以下内容: 把 CDN系统的内容分发节点和网络设备进行融合,作为网络设备的部 件; CDN部件和网络部件是松耦合关系;  On the other hand, the embodiment of the present invention integrates the CDN and the network device, including the following: merging the content distribution node of the CDN system with the network device as a component of the network device; the CDN component and the network component are loosely coupled;
CDN的中心管理系统保留集中部署, 统一对各融合设备的 CDN部件 进行管理, 监控; 另外, CDN系统的 GSLB, DNS解析等部件也和中心管 理系统统一部署; 以上系统也可和融合设备的网管系统统一融合和部署;The CDN's central management system retains centralized deployment, and uniformly manages and monitors the CDN components of each converged device. In addition, the CDN system's GSLB, DNS resolution, and other components are also centrally managed. Unified deployment of the management system; the above system can also be integrated and deployed with the network management system of the converged device;
CDN部件对用户提供 CDN服务, 并维护用户的内容服务状态; 网络部件对用户提供网络接入和承载服务, 负责维护用户的网络服务 状态; The CDN component provides CDN services to users and maintains the user's content service status; the network component provides network access and bearer services to users, and is responsible for maintaining the user's network service status;
网络部件开启 DNS服务, 作为本地 DNS解析服务器 (具体实现也可由 设备的主控板来开启);  The network component enables the DNS service as a local DNS resolution server (the specific implementation can also be enabled by the main control board of the device);
CDN部件和网络部件或设备主控间增加交互的内部接口, 下发相应的 DNS配置, 获取 DNS服务器信息等;  An internal interface that adds interaction between the CDN component and the network component or the device master, and sends the corresponding DNS configuration to obtain DNS server information.
CDN部件增加把本融合设备的本地 DNS服务器地址和 CDN服务地址 生成对应关系记录, 并上 "¾ CDN中心 GSLB系统的功能。  The CDN component adds a correspondence record between the local DNS server address and the CDN service address of the fusion device, and functions on the "3⁄4 CDN Center GSLB system."
相对于现有技术, 本发明实施例的技术效果是: 适应不同的部署方式 和业务场景, 满足把用户的网络层连接和应用层链接定位到同一融合设备 的需求, 更好保障用户业务使用体验。 附图说明  Compared with the prior art, the technical effects of the embodiments of the present invention are: adapting to different deployment modes and service scenarios, and satisfying the requirement of positioning the user's network layer connection and the application layer link to the same converged device, thereby better protecting the user service experience. . DRAWINGS
图 1为本发明的 CDN和网络融合设备的系统组网图;  1 is a network diagram of a system for a CDN and a network convergence device according to the present invention;
图 2为本发明的 CDN和网络融合设备的内部结构图;  2 is an internal structural diagram of a CDN and a network convergence device according to the present invention;
图 3为本发明的基于 CDN和网络融合的用户定位方法的示意图; 图 4为本发明的基于 CDN和网络融合的用户定位装置的示意图; 图 5 为本发明的基于 CDN和网络融合的用户定位的第一实施例流程 图;  3 is a schematic diagram of a CDN and network convergence based user positioning method according to the present invention; FIG. 4 is a schematic diagram of a CDN and network convergence based user positioning apparatus according to the present invention; FIG. 5 is a CDN and network convergence based user positioning according to the present invention; Flow chart of the first embodiment;
图 6为本发明的基于 CDN和网络融合的用户定位的第二实施例流程 图;  6 is a flow chart of a second embodiment of user positioning based on CDN and network convergence according to the present invention;
图 7 为本发明的基于 CDN和网络融合的用户定位的第三实施例流程 图。 具体实施方式 7 is a flow chart of a third embodiment of user location based on CDN and network convergence according to the present invention. detailed description
以下结合附图,对本发明的 CDN和网络融合的系统和设备以及基于此 融合设备在实施业务承载时的用户定位方法进行详细说明。  The CDN and network convergence system and device of the present invention and the user positioning method based on the fusion device in implementing the service bearer will be described in detail below with reference to the accompanying drawings.
图 1显示了本发明实施例 CDN和网络融合设备的系统组网图。从系统 上看 CDN和网络融合设备可分布式部署,但需要有一个中心管理系统实施 统一的管理和调度, 实施统一的内容管理, 业务监控, 网络管理, DNS的 解析以及资源的调度和负载均衡等。  FIG. 1 is a network diagram of a system for a CDN and a network convergence device according to an embodiment of the present invention. From the system point of view, CDN and network convergence equipment can be deployed in a distributed manner, but a central management system is required to implement unified management and scheduling, implement unified content management, service monitoring, network management, DNS resolution, resource scheduling and load balancing. Wait.
CDN中心管理系统采用集中部署的方式,与 DNS服务器, 资源调度和 负载均衡系统 (GSLB)统一部署, 对融合设备中的 CDN部件进行管理和维 护, 业务适配, 以及资源的调度; 可以作为独立的系统部署, 也可以和融 合设备的网管系统进行融合, 作为网管系统的组成部分, 与网管系统统一 部署。  The CDN central management system adopts centralized deployment and is deployed in a unified manner with the DNS server, resource scheduling and load balancing system (GSLB) to manage and maintain CDN components in the converged device, service adaptation, and resource scheduling; The system deployment can also be integrated with the network management system of the converged device. As part of the network management system, it can be deployed in a unified manner with the network management system.
融合设备, 融合了 CDN功能和网络功能, 采用 CDN部件作为内容分 发节点, 为用户提供内容分发服务; 采用网络部件为用户提供网络接入和 承载服务。  Converged devices, which combine CDN functions and network functions, use CDN components as content distribution nodes to provide users with content distribution services; and use network components to provide users with network access and bearer services.
CDN部件和 CDN中心管理系统建立管理通道和业务通道, 采用管理 通道实现网络的日常维护管理, 设备的配置和监控等; 采用业务通道实现 内容的下发, 业务信息的交互等。  The CDN component and the CDN central management system establish a management channel and a service channel, and adopt a management channel to implement daily maintenance and management of the network, device configuration and monitoring, etc., and use the service channel to implement content delivery and business information interaction.
从组网上看, CDN 可以和网络上的核心路由器, 业务路由器 (BRAS/SR) , 交换机, PDSN/GGSN 等设备进行融合。 由于 BRAS/SR, PDSN/GGSN是互联网用户的业务控制点,拥有用户的网络状态信息,推荐 CDN设备和 BRAS/SR, PDSN/GGSN设备融合, 从而实现 CDN用户状态 和网络用户状态的协同, 通过用户状态的协同和策略调度可以实现基于用 户的应用内容和网络服务质量的双重保障, 从而提高用户体验。  From the group network, the CDN can be integrated with the core routers, service routers (BRAS/SR), switches, PDSN/GGSN devices on the network. Due to the BRAS/SR, the PDSN/GGSN is the service control point of the Internet user. It has the network status information of the user. It is recommended that the CDN device and the BRAS/SR and PDSN/GGSN devices be fused to achieve the cooperation between the CDN user status and the network user status. The coordination of user status and policy scheduling can achieve double protection based on user's application content and network service quality, thereby improving user experience.
图 2显示了本发明实施例 CDN和网络融合设备的大体内部结构图。在 本发明中, CDN和网络融合的新型设备融合了 CDN的内容分发节点和网 络设备, 采用松耦合的方式进行融合, CDN部件采用独立的 CDN业务处 理板型态, 网络部件也采用独立的网络业务处理板型态; 从而大大降低融 合的复杂度, 同时也提高了系统的扩展性和灵活度。 可根据具体的业务需 要扩充网络部件或 CDN部件。 FIG. 2 shows a general internal structure diagram of a CDN and a network convergence device according to an embodiment of the present invention. In In the present invention, the CDN and the network-integrated new device combine the CDN content distribution node and the network device, adopt a loosely coupled manner for fusion, the CDN component adopts an independent CDN service processing board type, and the network component also adopts an independent network service. The board type is processed; thus greatly reducing the complexity of the fusion, and also improving the scalability and flexibility of the system. Network components or CDN components can be expanded to meet specific business needs.
在系统的内部, 需要增加 CDN部件和网络部件之间的内部交互接口, 主要用于网络部件和 CDN部件的直接交互需要。 比如: CDN部件向网络 部件申请用户网络加速及接收执行反馈信息, 用户的网络状态查询及反馈 等。  Inside the system, it is necessary to increase the internal interaction interface between the CDN component and the network component, mainly for the direct interaction needs of the network component and the CDN component. For example: The CDN component applies to the network component for user network acceleration and receiving execution feedback information, user network status query and feedback.
同时 CDN部件和网络部件也分别和主控单元有相应的内部接口, 实现 管理和业务上的交互; 比如: CDN业务板卡从 CDN管理中心获得相应的 配置策略, 需要向主控卡反馈, 由主控卡实现设备的配置和实施; 主控卡 也需要将相应的配置应用到具体的网络业务处理板等。  At the same time, the CDN component and the network component also have corresponding internal interfaces with the main control unit to implement management and service interaction. For example, the CDN service card obtains the corresponding configuration policy from the CDN management center, and needs feedback to the main control card. The main control card implements the configuration and implementation of the device. The main control card also needs to apply the corresponding configuration to a specific network service processing board.
在本发明中, 为了实现把同一用户的网络层连接和应用层链接定位在 同一台融合设备上, 需要在融合设备的主控单元或网络处理板上开启本地 DNS服务。 而为了对用户提供 CDN服务, CDN业务处理板需开启 CDN服 务, 并发布 CDN对外服务地址; 如何把一个接入到特定融合设备的网络用 户,将其应用链接也通过调度并定位在本设备的 CDN部件是本发明的重点, 这中间需要融合设备各部件通过内部接口做相应的交互, 进行相应的配合。  In the present invention, in order to locate the network layer connection and the application layer link of the same user on the same converged device, the local DNS service needs to be enabled on the main control unit or the network processing board of the converged device. In order to provide CDN services to users, the CDN service processing board needs to enable the CDN service and issue the CDN external service address. How to connect a network user to a specific converged device, and then apply the link to the device through scheduling and positioning. The CDN component is the focus of the present invention, and the components of the fusion device need to be interacted through the internal interface to perform corresponding cooperation.
图 3显示了本发明实施例的一种基于图 1和图 2所示的 CDN和网络融 合的用户定位的方法, 如图 3所示, 包括:  FIG. 3 shows a method for user positioning based on the combination of CDN and network shown in FIG. 1 and FIG. 2, as shown in FIG. 3, including:
步骤 S301: 通过把 CDN系统的 CDN节点与网络设备进行融合, 形成 融合设备, 所述融合设备包括 CDN部件和网络部件, 并且所述融合设备上 部署有本地 DNS服务器; 设备 CDN部件对外服务地址作为该域名对应地址的 DNS记录, 和 /或所述 融合设备 CDN部件生成含有本地 DNS服务器地址与融合设备 CDN部件对 外服务地址对应关系的地址关系记录、 并将其上报给 CDN 中心的 DNS GSLB; Step S301: Form a converged device by merging the CDN node of the CDN system with the network device, where the converged device includes a CDN component and a network component, and the local DNS server is deployed on the converged device; The domain name corresponds to the DNS record of the address, and/or the The Fusion Device CDN component generates an address relationship record containing the correspondence between the local DNS server address and the external service address of the Fusion Device CDN component, and reports it to the DNS GSLB of the CDN center;
步骤 S303: 在用户端发起 DNS解析请求时, 所述本地 DNS服务器利 用所述 DNS记录或者地址关系记录, 获得用来返回给所述用户端的 DNS 解析结果, 以便用户端根据所述解析结果与所述融合设备 CDN部件建立应 用链接, 从而实现用户端到融合设备 CDN部件的用户定位。  Step S303: When the user initiates the DNS resolution request, the local DNS server uses the DNS record or the address relationship record to obtain a DNS resolution result for returning to the client, so that the user end according to the analysis result and the location The CDN component of the fusion device establishes an application link, thereby realizing user positioning of the client to the CDN component of the fusion device.
步骤 S301中所述网络部件用于向用户端提供网络接入和承载服务, 并 且所述融合设备还包括用来服务于 CDN部件和网络部件的主控单元。  The network component in step S301 is configured to provide network access and bearer services to the UE, and the converged device further includes a main control unit for serving the CDN component and the network component.
步骤 S302中所述的生成 DNS记录包括: CDN中心管理系统向融合设 备 CDN部件下发包含签约 ICP/ISP域名信息的指令; 以及融合设备 CDN 部件根据指令中的域名信息, 请求本地 DNS服务器针对签约 ICP/ISP的域 名生成所述的 DNS记录;其中,所述 DNS记录中的域名为所述签约 ICP/ISP 的域名, 对应的地址为融合设备 CDN部件对外服务地址。  The generating the DNS record in step S302 includes: the CDN central management system sends an instruction including the contracted ICP/ISP domain name information to the converged device CDN component; and the converged device CDN component requests the local DNS server to sign the contract according to the domain name information in the instruction. The domain name of the ICP/ISP generates the DNS record; wherein the domain name in the DNS record is the domain name of the contracted ICP/ISP, and the corresponding address is the external service address of the CDN component of the converged device.
步骤 S302中所述的利用所述 DNS记录获得 DNS解析结果包括: 本地 The DNS resolution result obtained by using the DNS record described in step S302 includes:
DNS服务器根据收到的用户 DNS解析请求, 查询本地緩存的 DNS记录, 并将查询到 DNS记录中对应于签约 ICP/ISP域名的融合设备 CDN部件对外 服务地址返回给用户端。 The DNS server queries the locally cached DNS record according to the received user DNS resolution request, and returns the external service address of the CDN component of the converged device corresponding to the contracted ICP/ISP domain name in the DNS record to the client.
步骤 S302中所述的生成地址关系记录包括: 融合设备网络部件或主控 单元将本地 DNS服务器的地址通告给融合设备 CDN部件; 融合设备 CDN 部件根据所述通告中的消息, 生成关于本地 DNS 服务器地址与融合设备 CDN部件对外服务地址的对应关系的地址关系记录, 并将其上报给 CDN 中心管理系统的域名系统资源调度和负载均衡系统 DNS GSLB。  The generating the address relationship record in step S302 includes: the converged device network component or the main control unit notifying the address of the local DNS server to the converged device CDN component; the converged device CDN component generating the local DNS server according to the message in the advertisement The address relationship between the address and the external service address of the CDN component of the Fusion Device is recorded and reported to the Domain Name System Resource Scheduling and Load Balancing System DNS GSLB of the CDN Central Management System.
步骤 S303 中所述的利用所述地址关系记录获得 DNS解析结果包括: 本地 DNS服务器将用户端的 DNS解析请求发送给所述 DNS GSLB; 所述 DNS GSLB根据 DNS解析请求, 在其域名记录中查询对应的域名; 在查询 到对应的域名后, 根据地址关系记录中的本地 DNS服务器地址与融合设备 CDN部件对外服务地址的对应关系, 把对应的融合设备 CDN部件确定为 CDN服务节点,并将含有其地址的解析结果经由本地 DNS服务器返回给用 户端。 The obtaining the DNS resolution result by using the address relationship record in the step S303 includes: the local DNS server sends the DNS resolution request of the user end to the DNS GSLB; the DNS GSLB queries the domain name record according to the DNS resolution request. Domain name; in the query After the corresponding domain name is obtained, according to the correspondence between the local DNS server address in the address relationship record and the external service address of the converged device CDN component, the corresponding converged device CDN component is determined as a CDN service node, and the parsing result including the address thereof is determined. The local DNS server is returned to the client.
步骤 S303 中所述的利用所述地址关系记录获得 DNS解析结果包括: 本地 DNS服务器将用户端的 DNS解析请求发送给 DNS根服务器, 并根据 其返回的 ICP/ISP授权 DNS信息向 ICP/ISP授权 DNS服务器发起 DNS查 询请求;本地 DNS服务器根据所述 ICP/ISP授权 DNS服务器响应查询请求 而返回的所用 CDN服务系统的 DNS信息, 向所述 DNS GSLB发起 DNS 查询请求; 所述 DNS GSLB根据 DNS查询请求, 查询对应的 DNS记录, 并根据地址关系记录中的本地 DNS服务器地址与融合设备 CDN部件对外 服务地址的对应关系,把对应的融合设备 CDN部件确定为 CDN服务节点, 并将含有其地址的解析结果经由本地 DNS服务器返回给用户端。  The obtaining the DNS resolution result by using the address relationship record in step S303 includes: the local DNS server sends the DNS resolution request of the client to the DNS root server, and authorizes the DNS to the ICP/ISP according to the ICP/ISP authorized DNS information returned by the local DNS server. The server initiates a DNS query request; the local DNS server initiates a DNS query request to the DNS GSLB according to the DNS information of the used CDN service system returned by the ICP/ISP authorized DNS server in response to the query request; the DNS GSLB is requested according to the DNS query Querying the corresponding DNS record, and determining the corresponding converged device CDN component as a CDN service node according to the correspondence between the local DNS server address in the address relationship record and the external service address of the converged device CDN component, and including the resolution of the address The result is returned to the client via the local DNS server.
图 4显示了本发明的一种基于 CDN和网络融合的用户定位的装置,如 图 4所示, 包括:  FIG. 4 shows a device for user location based on CDN and network convergence according to the present invention, as shown in FIG. 4, including:
融合设备的 DNS记录生成单元, 用于生成含有签约 ICP/ISP域名和把 融合设备 CDN部件对外服务地址作为该域名对应地址的 DNS记录, 或含 有本地 DNS服务器地址与融合设备 CDN部件对外服务地址对应关系的地 址关系记录;  The DNS record generating unit of the converged device is configured to generate a DNS record including the contracted ICP/ISP domain name and the external service address of the CDN component of the converged device as the address corresponding to the domain name, or the local DNS server address corresponding to the external service address of the CDN component of the converged device Address relationship record of the relationship;
DNS解析设备,用于在用户端发起的 DNS解析请求时,利用所述 DNS 记录或者地址关系记录获得用来返回给所述用户端的 DNS解析结果, 以便 用户端根据所述解析结果与所述融合设备 CDN部件建立应用链接,从而实 现用户端到融合设备 CDN部件的用户定位;  The DNS resolving device is configured to obtain, by using the DNS record or the address relationship record, a DNS resolution result that is returned to the user end, so that the user end is merged with the parsing result according to the parsing result. The device CDN component establishes an application link, thereby realizing user positioning of the client to the CDN component of the fusion device;
其中, 所述融合设备是融合了 CDN节点与网络设备的设备, 包括: 所 述的本地 DNS服务器; 以及所述的融合设备 CDN部件, 用来建立和维护 与用户端的应用链接, 并提供内容分发服务。 所述融合设备还包括: 用于向用户端提供网络接入和承载服务的网络 部件; 其中, 所述融合设备的网络部件与 CDN部件之间设有内部信令交互 接口, 以便网络部件向 CDN部件上 ^艮用户地址池的信息, CDN部件向网 络部件申请用户网络加速、 接收和执行反馈信息、 用户状态查询及反馈的 信息。 The converged device is a device that combines a CDN node and a network device, and includes: the local DNS server; and the CDN component of the converged device, used to establish and maintain an application link with the client, and provide content distribution. service. The converging device further includes: a network component for providing network access and bearer services to the UE; wherein, the network component of the converged device and the CDN component are provided with an internal signaling interaction interface, so that the network component is directed to the CDN The information of the user address pool on the component, the CDN component applies to the network component for information about the user network acceleration, receiving and executing feedback information, user status query and feedback.
所述融合设备还包括: 用来服务于 CDN部件和网络部件的主控单元; 其中,主控单元分别与 CDN部件之间和网络部件之间设有内部信令交互接 口; 其中, 所述的本地 DNS服务器由所述主控单元开启, 或者由网络部件 开启。  The merging device further includes: a main control unit for serving the CDN component and the network component; wherein the main control unit and the CDN component and the network component are respectively provided with an internal signaling interaction interface; The local DNS server is turned on by the main control unit or by a network component.
所述融合设备的 DNS记录生成单元由所述的本地 DNS服务器和融合 设备 CDN部件构成; 其中, 融合设备 CDN部件根据指令中的域名信息, 请求本地 DNS服务器针对签约 ICP/ISP的域名生成所述的 DNS记录;以及 融合设备 CDN部件根据融合设备网络部件或主控单元通告的本地 DNS服 务器的地址信息, 生成所述的地址关系记录。  The DNS record generating unit of the converged device is composed of the local DNS server and the converged device CDN component; wherein the converged device CDN component requests the local DNS server to generate the domain name for the contracted ICP/ISP according to the domain name information in the command. And the converged device CDN component generates the address relationship record according to the address information of the local DNS server advertised by the converged device network component or the main control unit.
其中, DNS 解析设备或者是在所述融合设备中执行本地解析的本地 DNS服务器, 或者在是 CDN中心管理系统中执行域名解析的 DNS GSLB。  The DNS resolution device is either a local DNS server that performs local resolution in the converged device, or a DNS GSLB that performs domain name resolution in the CDN central management system.
下面结合图 5、 图 6和图 7所示的本发明的基于 CDN和网络融合的用 户定位的三个实施例, 对本发明作进一步说明。  The present invention will be further described below in conjunction with the three embodiments of the CDN and network convergence based user positioning of the present invention illustrated in Figures 5, 6 and 7.
图 5显示了本发明的基于 CDN和网络融合的用户定位的第一实施例流 程图。 在这个实施例中, 涉及的系统有: 用户客户端, 融合设备, CDN中 心管理系统 /DNS/GSLB, 业务管理系统, ICP/ISP系统。  Figure 5 shows a flow diagram of a first embodiment of the CDN and network convergence based user positioning of the present invention. In this embodiment, the systems involved are: user client, fusion device, CDN central management system /DNS/GSLB, business management system, ICP/ISP system.
在本发明中 ICP/ISP签约使用 CDN和网络服务后, 由 CDN中心管理 系统根据策略向对应的融合设备下发用户定位和调度策略, 在融合设备的 本地增加针对该 ICP/ISP的 DNS记录,设定服务节点为本地 CDN部件; 用 户发起访问请求时, 直接在对应的融合设备本地得到解析结果, 把用户定 位在本地 CDN服务节点。 业务实现步骤如下: After the ICP/ISP is contracted to use the CDN and the network service in the present invention, the CDN central management system delivers the user positioning and scheduling policy to the corresponding converged device according to the policy, and increases the DNS record for the ICP/ISP locally in the converged device. The service node is set as a local CDN component; when the user initiates an access request, the analysis result is directly obtained locally on the corresponding fusion device, and the user is located at the local CDN service node. The business implementation steps are as follows:
1、 在这个场景中, 采用融合设备同时为用户提供网络承载和 CDN服 务, 除了有相应的 CDN中心管理系统对设备进行管理之外, 还有相应的业 务管理系统, 实现对业务的管理、 业务受理等。 目标客户, 如: ICP/ISP希 望购买、 选用相应的 CDN服务, 可通过服务商的业务管理系统进行 CDN 服务申请;  1. In this scenario, the convergence device is used to provide the network bearer and CDN service for the user at the same time. In addition to the corresponding CDN central management system to manage the device, there is also a corresponding service management system to realize the management and service of the service. Acceptance, etc. Target customers, such as: ICP/ISP hopes to purchase and select the corresponding CDN service, and can apply for CDN service through the service provider's business management system;
2、 业务管理系统会查询相应的资源情况; 确认能满足用户的服务要求 情况下, 进行业务受理, 并向 ICP/ISP返回业务受理确认信息;  2. The business management system will query the corresponding resources; confirm that it can meet the user's service requirements, conduct business acceptance, and return business acceptance confirmation information to ICP/ISP;
3、 业务受理成功后, 业务管理系统向 CDN中心管理系统下发业务部 署指令;在本方法中,主要考虑通过该 ICP/ISP的域名信息, 实现用户 CDN 服务的定位; 因而本指令就是向 CDN 中心管理系统 /DNS/GSLB 下发该 ICP/ISP的域名信息, 以及根据该域名信息实施用户 CDN服务定位的要求; 3. After the service is successfully accepted, the service management system sends a service deployment instruction to the CDN central management system. In this method, the domain name information of the ICP/ISP is mainly considered to realize the positioning of the user CDN service; thus, the instruction is to the CDN. The central management system/DNS/GSLB issues the domain name information of the ICP/ISP, and implements the requirement for the user CDN service positioning according to the domain name information;
4、 CDN中心管理系统向各融合设备的 CDN部件下发针对该 ICP/ISP 的用户定位策略; 具体的指令内容包含该签约 ICP/ISP的域名信息, 以及根 据该域名信息进行本地解析的要求; 4. The CDN central management system delivers a user positioning policy for the ICP/ISP to the CDN component of each converged device; the specific instruction content includes the domain name information of the contracted ICP/ISP, and a local parsing request according to the domain name information;
5、 融合设备事先开启了 DNS服务, DNS服务器由融合设备的主控单 元开启 (也可由网络业务处理板开启, 但不推荐)。 融合设备的 CDN部件收 到 CDN中心管理系统下发的用户定位策略后, 根据指令中的域名信息, 通 过 CDN部件和融合设备的主控单元之间的内部接口(DNS服务器由网络处 理板开启时, 需通过 CDN部件和网络部件之间的内部接口), 请求 DNS服 务器针对该签约 ICP/ISP的域名生成对应的 DNS记录, 该记录中的域名为 该签约 ICP/ISP的域名, 对应的地址为融合设备 CDN部件对外服务地址; 5. The converged device has previously enabled the DNS service. The DNS server is enabled by the main control unit of the converged device (it can also be opened by the network service processing board, but it is not recommended). After receiving the user positioning policy delivered by the CDN central management system, the CDN component of the converged device passes the internal interface between the CDN component and the main control unit of the converged device according to the domain name information in the command (when the DNS server is opened by the network processing board) The DNS server is required to generate a corresponding DNS record for the domain name of the contracted ICP/ISP through the internal interface between the CDN component and the network component. The domain name in the record is the domain name of the contracted ICP/ISP, and the corresponding address is Converged device CDN component external service address;
6、 域名记录添加成功后, 融合设备的主控单元 (或网络部件)向融合设 备的 CDN部件返回域名记录添加成功消息; 6. After the domain name record is successfully added, the main control unit (or network component) of the converged device returns a domain name record adding success message to the CDN component of the converged device;
7、 融合设备的 CDN部件收到域名记录添加成功消息, 向 CDN中心管 理系统返回该签约 ICP/ISP的用户定位策略执行成功消息; 8、 CDN中心管理系统, 收到全部融合设备的 CDN部件返回的用户定 位策略执行成功消息后, 向业务管理系统反馈, 业务已经部署完成。 7. The CDN component of the converged device receives the domain name record adding success message, and returns a successful completion message of the user positioning policy of the contracted ICP/ISP to the CDN central management system; 8. After receiving the user location policy success message returned by the CDN component of all the converged devices, the CDN central management system feeds back to the service management system, and the service has been deployed.
至此, 本发明的第一种实施例部署实施完毕。 下面是用户业务访问时 的简单流程描述。  So far, the first embodiment of the present invention has been deployed and implemented. The following is a brief process description of the user's business access.
1、 用户有访问业务应用, 发送 DNS请求, 如: www.sohu.com;  1. The user has access to the business application and sends a DNS request, such as: www.sohu.com;
2、 用户的网络连接首先是连接在融合设备上, 融合设备开启了 DNS 服务器, 用户建立网络连接时, 融合设备为连接到它的用户, 分配的 DNS 服务器地址为本地 DNS服务器的地址; 采用本地 DNS服务器为用户提供 域名解析服务。 在收到用户 DNS请求时, 首先查看本地 DNS緩存, 比如: 用户请求的域名 wwW.s。hUx。m, 为签约 ICP/ISP, 则通过前面的部署, 本地 DNS服务器有对应的 DNS记录, 记录中对应的地址为本地 CDN部件的对 外服务地址; 查询到后, 向用户客户端返回查询结果; 2. The user's network connection is first connected to the converged device. The converged device is enabled with the DNS server. When the user establishes a network connection, the converged device is the user connected to it, and the assigned DNS server address is the address of the local DNS server. The DNS server provides domain name resolution services for users. When receiving a user DNS request, first check the local DNS cache, for example: the domain name ww W . s requested by the user. h U x. m , for signing the ICP/ISP, the previous DNS server has the corresponding DNS record, and the corresponding address in the record is the external service address of the local CDN component; after the query, the query result is returned to the user client;
3、 用户客户端获得查询结果后, 根据结果中的地址信息, 与融合设备 的 CDN部件建立应用层链接, 请求内容服务。  3. After obtaining the query result, the user client establishes an application layer link with the CDN component of the fusion device according to the address information in the result, and requests the content service.
该实施例的特点是, 根据签约 ICP/ISP的域名和融合设备 CDN部件的 对外服务地址, 形成对应的记录, 在本地 DNS服务器中添加对应的 DNS 记录, 用户的 DNS请求可在本地 DNS服务器得到解析结果。 适合于面向 签约客户, 面向封闭性业务, 该实施例 DNS查询的效率高, 分布式解析, 有助于降低中心 DNS解析服务器的压力。  The feature of the embodiment is that, according to the domain name of the contracted ICP/ISP and the external service address of the CDN component of the fusion device, a corresponding record is formed, and a corresponding DNS record is added in the local DNS server, and the user's DNS request can be obtained on the local DNS server. Analyze the results. It is suitable for contracted customers and for closed services. The efficiency of DNS query in this embodiment is high and distributed analysis helps to reduce the pressure on the central DNS resolution server.
图 6显示了本发明的基于 CDN和网络融合的用户定位的第二实施例流 程图。 在这个实施例中, 涉及的系统主要有: 用户客户端, 融合设备, CDN 中心管理系统 /DNS/GSLB, 业务管理系统, ICP/ISP系统等。  Figure 6 shows a flow diagram of a second embodiment of the CDN and network convergence based user positioning of the present invention. In this embodiment, the systems involved are: user client, fusion device, CDN central management system /DNS/GSLB, business management system, ICP/ISP system, etc.
在本发明中 ICP/ISP签约使用 CDN和网络服务后, 由 CDN中心系统 的 GSLB增加该 ICP/ISP的 DNS记录, 并统一维护; 用户发起访问请求时, 在融合设备本地查不到 DNS记录, 会向中心 GSLB请求, GSLB根据 DNS 服务地址和 CDN服务地址的关系,结合调度策略,确定为用户服务的 CDN 服务地址, 返回解析结果; 把用户定位在本地 CDN服务节点。 In the present invention, after the ICP/ISP contract uses the CDN and the network service, the ICP/ISP DNS record is added by the GSLB of the CDN central system, and is uniformly maintained; when the user initiates the access request, the DNS record cannot be found locally in the converged device. It will request from the center GSLB, and the GSLB determines the CDN serving the user according to the relationship between the DNS service address and the CDN service address and the scheduling policy. Service address, return the analysis result; locate the user on the local CDN service node.
具体实现步骤如下:  The specific implementation steps are as follows:
1、 ICP/ISP希望选用 CDN服务, 向业务管理系统申请 CDN服务; 1. ICP/ISP hopes to use CDN service to apply for CDN service to business management system;
2、业务管理系统对 ICP/ISP的业务请求进行受理后,向 CDN中心管理 系统下发 CDN业务开通指令; 在本实现实施例中, 采用的是由 CDN中心 管理系统的 DNS GSLB对用户的域名进行解析, 并进行负载均衡调度的方 式; 因而指令中包含的是该签约 ICP/ISP的域名信息, 以及根据域名进行本 地解析的相关指令; CDN中心管理系统在收到该业务开通指令后, 在 DNS GLSB中添加该 ICP/ISP对应的域名记录, 并 居业务开展需要预留相关的 资源; 完成部署后, 向业务管理系统返回 CDN业务部署完成消息; 2. After the service management system accepts the service request of the ICP/ISP, the CDN service opening instruction is issued to the CDN central management system; in this implementation embodiment, the domain name of the user by the DNS GSLB of the CDN central management system is adopted. The method of parsing and performing load balancing scheduling; therefore, the instruction includes the domain name information of the contracted ICP/ISP and related instructions for local parsing according to the domain name; after receiving the service opening instruction, the CDN central management system The domain name record corresponding to the ICP/ISP is added to the DNS GLSB, and relevant resources are reserved for the service development; after the deployment is completed, the CDN service deployment completion message is returned to the service management system;
3、业务管理系统收到 CDN业务部署完成消息后,向 ICP/ISP的系统返 回订购确定消息。  3. After receiving the CDN service deployment completion message, the service management system returns a subscription confirmation message to the ICP/ISP system.
在具体实现时, 还需要融合设备进行相应的配合。 需要融合设备开启 DNS服务 (可以是主控单元开启, 也可以是网络业务处理板开启, 推荐主控 单元开启); 开启 DNS服务的部件通过内部接口将本地 DNS服务器地址通 告给 CDN部件; CDN部件收到通告消息后, 生成本地 DNS服务器地址和 本地 CDN对外服务地址的对应关系记录,并通过 CDN部件和 CDN中心管 理系统的管理接口通告给 CDN中心管理系统, 由 CDN中心管理系统下发 给 DNS GSLB。 以此作为对用户进行定位和负载均衡的依据。  In the specific implementation, the fusion device is also required to perform corresponding cooperation. The Fusion Device needs to enable the DNS service (either the main control unit is enabled, or the network service processing board is enabled, and the main control unit is recommended to be enabled); the component that enables the DNS service advertises the local DNS server address to the CDN component through the internal interface; After receiving the notification message, a record of the correspondence between the local DNS server address and the local CDN external service address is generated, and is notified to the CDN central management system through the CDN component and the management interface of the CDN central management system, and is sent to the DNS by the CDN central management system. GSLB. This serves as the basis for positioning and load balancing users.
至此业务部署完成, 下面是用户业务访问时的处理步骤:  At this point, the business deployment is completed. The following are the processing steps when the user accesses the business:
1、 用户客户端需要访问业务, 发起业务请求, 首先需要进行 DNS解  1. The user client needs to access the service and initiate a service request. First, the DNS solution needs to be performed.
2、 由于融合设备开启了 DNS服务, 在收到 DNS请求后, 查询本地緩 存, 没有对应的緩存记录的情况下, 则向上级 DNS服务器请求解析; 在本 实施例中, 融合设备的 DNS服务器均设置 CDN中心的 DNS GSLB为上级 DNS服务器; 3、 CDN中心的 DNS GSLB进行 DNS解析, 如无法查到对应的緩存记 录则需向更上一级的 DNS服务器进行查询;但对于签约的 ICP/ISP的域名, 根据前期的部署, 已经在本地添加了对应的域名记录, 可以在緩存中查询 到; 在查询到对应的域名后, 根据各融合设备 CDN部件上报的本地 DNS 服务器地址和 CDN对外服务地址的对应关系, 进行解析 (基于这一对应关 系把用户定位回本地的 CDN, 确保用户的网络连接和应用层链接在同一融 合设备), 并向本地 DNS服务器返回解析结果; 2. The DNS server is enabled on the Fusion device. After receiving the DNS request, the local cache is queried. If there is no corresponding cache record, the upper DNS server requests the resolution. In this embodiment, the DNS server of the Fusion device is configured. Set the DNS GSLB of the CDN center to the upper DNS server; 3. The DNS GSLB of the CDN center performs DNS resolution. If the corresponding cache record cannot be found, it needs to be queried to the higher-level DNS server. However, the domain name of the signed ICP/ISP is already local according to the previous deployment. The corresponding domain name record is added and can be queried in the cache. After the corresponding domain name is queried, the corresponding relationship between the local DNS server address and the CDN external service address reported by the CDN component of each converged device is analyzed. The relationship locates the user back to the local CDN, ensures that the user's network connection and the application layer link are on the same converged device, and returns the parsing result to the local DNS server;
1、 融合设备的本地 DNS服务器收到解析结果后, 向用户客户端返回 解析结果;  1. After receiving the parsing result, the local DNS server of the converged device returns the parsing result to the user client.
2、用户客户端根据 DNS解析返回的 CDN服务地址,建立应用层链接, 请求内容服务。  2. The user client establishes an application layer link and requests a content service according to the CDN service address returned by the DNS resolution.
此实施例的特点是, CDN中心 DNS GSLB添加签约 ICP/ISP的 DNS 记录,并根据各 CDN部件上报的 DNS服务器和 CDN服务地址的对应关系, 进行用户的定位。 融合设备需要开启 DNS服务器, 并将上级 DNS服务器 指定为 CDN中心的 DNS GSLB。 CDN部件需要根据融合设备的 DNS服务 器地址, 以及自身的对外 CDN服务地址, 形成对应关系记录, 并上报给 CDN中心的 DNS GSLB, 以此作为用户定位的依据; 此实施例比较适合签 约 ICP/ISP, 以及相对封闭的业务。 同时, 采用 CDN中心 DNS GSLB集中 緩存记录的方式, 可以减少在业务初期部署时需要对每台融合设备进行 DNS记录添加的操作, 部署效率高, 更容易管理和维护。  The feature of this embodiment is that the CDN center DNS GSLB adds the DNS record of the contracted ICP/ISP, and locates the user according to the correspondence between the DNS server and the CDN service address reported by each CDN component. The converged device needs to enable the DNS server and designate the upper-level DNS server as the DNS GSLB of the CDN center. The CDN component needs to record the correspondence relationship according to the DNS server address of the Fusion device and its external CDN service address, and report it to the DNS GSLB of the CDN center as the basis for user location. This embodiment is more suitable for signing ICP/ISP. , and relatively closed business. At the same time, the CDN center DNS GSLB centralized cache record can reduce the need to add DNS records to each converged device during initial deployment. It is highly efficient and easier to manage and maintain.
图 7显示了本发明的基于 CDN和网络融合的用户定位的第三实施例流 程图。 在这个实施例中, 涉及的系统主要有: 用户客户端, 融合设备, CDN 中心管理系统 /DNS/GSLB, DNS根服务器, ISP授权 DNS服务器。  Figure 7 is a flow chart showing a third embodiment of the CDN and network convergence based user positioning of the present invention. In this embodiment, the systems involved are: user client, converged device, CDN central management system /DNS/GSLB, DNS root server, ISP authorized DNS server.
在本发明中采用和目前 CDN服务提供商类似的部署方式, 区别在于在 融合设备的网络部件上开启 DNS服务, 并将本地 DNS服务器地址通告给 融合设备的 CDN部件, 由 CDN部件生成本地 DNS服务器地址和 CDN服 务地址的对应关系, 并上报 CDN中心管理系统的 DNS GSLB; 用户访问应 用时走正常的 DNS解析流程, 本地没有 DNS记录时向上级 DNS查询, 直 至根 DNS, 根 DNS将请求重定向到 ISP授权 DNS; 再由 ISP授权 DNS将 请求重定向到 CDN中心管理系统的 DNS GSLB, 由 GSLB根据 DNS服务 地址和 CDN服务地址的关系, 结合调度策略, 确定为用户服务的 CDN服 务地址, 返回解析结果; 把用户定位在本地 CDN服务节点。 In the present invention, a deployment method similar to the current CDN service provider is adopted, except that the DNS service is enabled on the network component of the converged device, and the local DNS server address is notified to the CDN component of the converged device, and the local DNS server is generated by the CDN component. Address and CDN service The correspondence between the service addresses and the DNS GSLB of the CDN central management system; when the user accesses the application, the normal DNS resolution process is performed. When there is no DNS record locally, the upper DNS query is performed until the root DNS, the root DNS redirects the request to the ISP authorization. DNS; the ISP authorizes the DNS to redirect the request to the DNS GSLB of the CDN central management system. The GSLB determines the CDN service address serving as the user according to the relationship between the DNS service address and the CDN service address, and returns the analysis result. Position the user on the local CDN service node.
具体实现步骤如下:  The specific implementation steps are as follows:
在用户客户端访问业务前, 需要做一些事先的部署; 需要在融合设备 的主控单元 (也可以是网络业务处理单元)开启 DNS服务器; 并通过内部接 口将 DNS服务器的地址通告给本融合设备的 CDN部件,由 CDN部件生成 本地 DNS服务器地址和 CDN服务地址的对应关系, 并通过 CDN部件与 CDN中心管理系统的管理通道, 通告给 CDN中心管理系统, 并同步到中 心的 DNS GSLB, 使得 DNS GSLB具有用户定位的依据。 同时, 网络部件 在用户建立网络连接时,需要做相应的配置下发,使得用户网络连接的 DNS 服务器地址为本融合设备的 DNS服务器地址。  Before the user client accesses the service, you need to do some pre-deployment. You need to enable the DNS server on the main control unit of the converged device (or the network service processing unit); and advertise the address of the DNS server to the converged device through the internal interface. The CDN component generates a correspondence between the local DNS server address and the CDN service address by the CDN component, and advertises to the CDN central management system through the CDN component and the management channel of the CDN central management system, and synchronizes to the central DNS GSLB, so that the DNS GSLB has the basis for user positioning. At the same time, the network component needs to be configured and delivered when the user establishes a network connection, so that the DNS server address of the user network connection is the DNS server address of the converged device.
以下是用户业务访问处理流程:  The following is the user service access processing flow:
1、 用户需访问应用, 首先发起 DNS解析请求; 由于用户的网络连接 中的 DNS服务器地址为融合设备的 DNS服务器地址, 因而将 DNS解析请 求发给融合设备的 DNS服务器;  1. The user needs to access the application, first initiates a DNS resolution request; because the DNS server address in the user's network connection is the DNS server address of the converged device, the DNS resolution request is sent to the DNS server of the converged device;
2、 融合设备的 DNS服务器查询本地 DNS緩存, 在查询不到对应 DNS 记录的情况下, 向上级 DNS 服务器发起查询请求; 在本实施例中, 上级 DNS服务器不设置为 DNS GSLB, 设置为外部 DNS服务器; 在外部 DNS 服务器没有对应緩存的情况下, 可逐级查询到 DNS根服务器;  2. The DNS server of the converged device queries the local DNS cache. If the corresponding DNS record is not queried, the upper DNS server initiates a query request. In this embodiment, the upper DNS server is not set to DNS GSLB and is set to external DNS. Server; in case the external DNS server does not have a corresponding cache, the DNS root server can be queried step by step;
3、 DNS根服务器收到 DNS查询请求后, 逐级查找, 最终本地 DNS服 务器可获得 ISP授权 DNS服务器地址;  3. After receiving the DNS query request, the DNS root server searches for the level by step, and finally the local DNS server can obtain the ISP authorized DNS server address;
4、 融合设备的本地 DNS服务器向 ISP授权 DNS服务器发起 DNS查 询清求; 4. The local DNS server of the converged device initiates a DNS check to the ISP authorized DNS server. Inquire for
5、 ISP授权 DNS服务器收到 DNS查询请求后,由于该 ISP采用了 CDN 服务, 因而返回 CDN系统的 DNS服务器地址; 在本系统中, ISP如采用了 本系统提供的 CDN服务, 则返回的是本系统 CDN 中心管理系统的 DNS GSLB的地址;  5. After the ISP authorizes the DNS server to receive the DNS query request, the ISP uses the CDN service to return the DNS server address of the CDN system. In this system, if the ISP adopts the CDN service provided by the system, the return is The address of the DNS GSLB of the system CDN central management system;
6、融合设备的本地 DNS服务器根据 ISP授权 DNS服务器返回的 DNS 服务器地址, 向 CDN中心管理系统的 DNS GSLB发起 DNS查询请求; 6. The local DNS server of the converged device initiates a DNS query request to the DNS GSLB of the CDN central management system according to the DNS server address that the ISP authorizes the DNS server to return;
7、 CDN中心管理系统的 DNS GSLB查询到对应的 DNS记录, 并根据 本地 DNS服务器和 CDN服务地址的对应关系,为用户确定 CDN服务节点, 并向融合设备的本地 DNS服务器返回解析结果; 7. The DNS GSLB of the CDN central management system queries the corresponding DNS record, and determines the CDN service node for the user according to the correspondence between the local DNS server and the CDN service address, and returns the analysis result to the local DNS server of the converged device;
8、 融合设备的本地 DNS服务器根据收到的 DNS解析结果, 向用户客 户端返回解析结果;  8. The local DNS server of the converged device returns the parsing result to the user client according to the received DNS parsing result;
9、 用户客户端根据收到的 DNS解析结果, 可以得到 CDN服务地址; 从而可以建立应用层链接, 访问应用, 请求内容服务。  9. The user client can obtain the CDN service address according to the received DNS resolution result; thus, an application layer link can be established, the application can be accessed, and the content service can be requested.
此种实施例的特点是, 保留了现有 DNS解析的通用流程。 区别是, 本 地 DNS为融合设备的 DNS服务器, 并由融合设备的 CDN部件向 CDN中 心 DNS GSLB系统上报了本地 DNS服务器和 CDN服务地址的对应关系。 此种实施例比较适合于签约 ICP/ISP与非签约 ICP/ISP, 封闭性业务和开放 性互联网业务混合承载的场景。  A feature of such an embodiment is that the general flow of existing DNS resolution is preserved. The difference is that the local DNS is the DNS server of the converged device, and the CDN component of the converged device reports the correspondence between the local DNS server and the CDN service address to the DNS GSLB system of the CDN center. Such an embodiment is more suitable for signing a scenario where ICP/ISP and non-contracted ICP/ISP, closed services and open Internet services are mixed.
本发明基于一种 CDN和网络融合的设备,提供一种基于这种设备的用 户定位方法及装置。此类设备的优点是把 CDN的内容分发节点和网络设备 进行融合,在 CDN部件和网络部件各自维护对应的用户状态,并有内部接 口的交互, 可以实现内容质量和网络质量的双重保障。 为了更好地实现用 户内容状态和网络状态的协同, 以更好保障用户体验, 应把用户的网络层 连接和应用层链接都定位在同一融合设备上。 本方法主要基于在融合设备 的本地部署 DNS服务器把用户定位到本地 CDN部件, 具体提供了三种实 施例。 三种实施例分别适应不同的部署方式和业务场景, 满足把用户的网 络层连接和应用层链接定位到同一融合设备的需求, 更好保障用户业务使 用体验。 The invention is based on a device for CDN and network convergence, and provides a user positioning method and device based on such device. The advantage of such a device is that the content distribution node of the CDN and the network device are merged, and the corresponding user state is maintained in the CDN component and the network component, and the interaction of the internal interface can achieve double guarantee of content quality and network quality. In order to better achieve the synergy between user content status and network status to better protect the user experience, the user's network layer connection and application layer link should be located on the same converged device. The method is mainly based on locally deploying a DNS server in a converged device to locate a user to a local CDN component, and specifically provides three realities. Example. The three embodiments are adapted to different deployment modes and service scenarios to meet the requirements of the user's network layer connection and application layer link to the same converged device, so as to better protect the user service experience.
具体地说,本发明的基于 CDN和网络融合的用户定位的装置具有如下 特点:  Specifically, the apparatus for user location based on CDN and network convergence of the present invention has the following features:
1 )本发明的网络融合设备融合了网络和 CDN功能,其网络部件和 CDN 部件松耦合, 实现了设备层面的融合;  1) The network convergence device of the present invention combines the network and the CDN function, and the network components and the CDN components are loosely coupled, thereby realizing the integration at the device level;
2 )网络部件和 CDN部件之间通过内部系统接口和消息接口进行交互; 使得网络部件和 CDN部件具备了协同的能力;  2) interaction between the network component and the CDN component through the internal system interface and the message interface; enabling the network component and the CDN component to have synergistic capabilities;
3 ) 网络部件和 CDN部件均和设备主控单元间通过内部系统接口和消 息接口进行交互; 使得三者具备协同的能力;  3) The network component and the CDN component interact with the device main control unit through the internal system interface and the message interface; so that the three have the ability to cooperate;
4 ) 网络部件和 CDN部件都有自己的用户状态机, 两者的状态机相互 独立;  4) The network component and the CDN component have their own user state machines, and the state machines of the two are independent of each other;
5 )网络部件和 CDN部件分别维护有用户的网络状态机和内容状态机, 便于实现基于用户的精细化运营和服务保障;  5) The network component and the CDN component respectively maintain the network state machine and the content state machine of the user, thereby facilitating user-based refined operation and service guarantee;
6 ) CDN部件由统一的 CDN中心管理器进行管理, 该 CDN中心管理 器可独立设置, 也可纳入本文所述的融合设备的网管系统, 作为网管系统 的一个组成部分;  6) The CDN component is managed by a unified CDN central manager, which can be set up independently or incorporated into the network management system of the converged device described herein as an integral part of the network management system;
7 ) DNS GSLB和 CDN中心管理系统整合, 统一部署; 采用集中部署 的方式;  7) DNS GSLB and CDN central management system integration, unified deployment; centralized deployment;
8 ) 融合设备开启 DNS服务, 实现 DNS解析服务本地化;  8) The converged device starts the DNS service to implement localization of the DNS resolution service;
9 ) CDN中心管理系统 /GSLB可向融合设备的 CDN部件下发用户定位 策略; 融合设备的 CDN部件解释策略后, 触发向融合设备的主控或网络部 件下发配置指令, 根据本地 CDN服务地址和域名的对应关系, 增加相应的 DNS记录;后续用户应用访问时, DNS查询直接可以定位在本设备的 CDN 服务地址; 10 )融合设备的 CDN部件具有把本地 DNS服务器的地址和 CDN的服 务地址生成对应关系, 并向 CDN中心管理系统 /DNS GSLB上报的功能;9) The CDN central management system/GSLB may issue a user positioning policy to the CDN component of the converged device; after the CDN component of the converged device interprets the policy, the configuration command is issued to the main control or network component of the converged device, according to the local CDN service address. Corresponding relationship with the domain name, the corresponding DNS record is added; when subsequent user application accesses, the DNS query can directly locate the CDN service address of the device; 10) The CDN component of the converged device has a function of generating a correspondence between the address of the local DNS server and the service address of the CDN, and reporting the report to the CDN central management system/DNS GSLB;
11 ) CDN中心 DNS GSLB, 可添加对应的 DNS记录, 并根据融合设备 CDN部件上报的本地 DNS服务器地址和 CDN的服务地址的对应关系, 实 施对用户的定位。 11) The CDN Center DNS GSLB can add the corresponding DNS record, and implement the positioning of the user according to the correspondence between the local DNS server address reported by the CDN component of the converged device and the service address of the CDN.
综上所述, 本发明通过把用户的网络层连接和应用层链接定位到同一 融合设备上, 保障了用户业务使用体验。  In summary, the present invention ensures the user service experience by positioning the user's network layer connection and application layer link to the same converged device.
尽管上文对本发明进行了详细说明, 但是本发明不限于此, 本技术领 域技术人员可以根据本发明的原理进行各种修改。 因此, 凡按照本发明原 理所作的修改, 都应当理解为落入本发明的保护范围。  Although the invention has been described in detail above, the invention is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the present invention should be construed as falling within the scope of the present invention.

Claims

权利要求书 claims
1、 一种基于内容分发网络 CDN和网络融合的用户定位方法, 包括: 通过把 CDN系统的 CDN节点与网络设备进行融合,形成融合设备, 所述融合设备包括 CDN部件和网络部件, 并且所述融合设备上部署有本 地 DNS服务器; 1. A user positioning method based on the integration of content distribution network CDN and network, including: forming a fusion device by merging the CDN nodes of the CDN system with network devices, the fusion device includes CDN components and network components, and the A local DNS server is deployed on the converged device;
生成含有签约 ICP/ISP域名和把融合设备 CDN部件对外服务地址作 为该域名对应地址的 DNS记录, 和 /或生成含有本地 DNS 务器地址与 融合设备 CDN部件对外服务地址对应关系的地址关系记录; Generate a DNS record containing the contracted ICP/ISP domain name and the external service address of the convergence equipment CDN component as the corresponding address of the domain name, and/or generate an address relationship record containing the correspondence between the local DNS server address and the external service address of the convergence equipment CDN component;
在用户端发起 DNS解析请求时, 利用所述 DNS记录或者地址关系 记录, 获得用来返回给所述用户端的 DNS解析结果, 供用户端根据所述 DNS解析结果与所述融合设备 CDN部件建立应用链接,实现用户端到融 合设备 CDN部件的用户定位。 When the user initiates a DNS resolution request, the DNS record or address relationship record is used to obtain the DNS resolution result returned to the user, so that the user can establish an application with the converged device CDN component based on the DNS resolution result. Link to realize user positioning from the user end to the CDN component of the converged device.
2、 根据权利要求 1所述的方法, 其中, 所述网络部件用于向用户端 提供网络接入和承载服务, 并且所述融合设备还包括用来服务于 CDN部 件和网络部件的主控单元。 2. The method according to claim 1, wherein the network component is used to provide network access and bearer services to users, and the convergence device further includes a main control unit used to serve the CDN component and the network component. .
3、 根据权利要求 1所述的方法, 其中, 所述的生成 DNS记录包括: CDN中心管理系统向融合设备 CDN部件下发包含签约 ICP/ISP域名 信息的指令; 以及 3. The method according to claim 1, wherein the generating DNS records includes: the CDN center management system issues instructions containing contracted ICP/ISP domain name information to the converged device CDN component; and
融合设备 CDN部件根据指令中的域名信息, 请求本地 DNS服务器 针对签约 ICP/ISP域名生成所述的 DNS记录; The fusion device CDN component requests the local DNS server to generate the DNS record for the contracted ICP/ISP domain name based on the domain name information in the instruction;
其中, 所述 DNS记录中的域名为所述签约 ICP/ISP域名, 对应的地 址为融合设备 CDN部件对外服务地址。 The domain name in the DNS record is the domain name of the contracted ICP/ISP, and the corresponding address is the external service address of the CDN component of the convergence device.
4、 根据权利要求 3所述的方法, 其中, 所述的利用所述 DNS记录 获得 DNS解析结果包括: 4. The method according to claim 3, wherein said utilizing the DNS record to obtain the DNS resolution result includes:
本地 DNS服务器根据收到的 DNS解析请求, 查询本地緩存的 DNS 记录,并将查询到 DNS记录中对应于签约 ICP/ISP域名的融合设备 CDN 部件对外服务地址返回给用户端。 The local DNS server queries the locally cached DNS based on the received DNS resolution request. record, and return the external service address of the CDN component of the converged device corresponding to the contracted ICP/ISP domain name in the DNS record to the user.
5、 根据权利要求 2所述的方法, 其中, 所述的生成地址关系记录包 括: 5. The method according to claim 2, wherein the generating address relationship records includes:
融合设备网络部件或主控单元将本地 DNS服务器的地址通告给融合 设备 CDN部件; The network component or main control unit of the convergence device notifies the address of the local DNS server to the CDN component of the convergence device;
融合设备 CDN部件根据所述通告中的消息, 生成关于本地 DNS服 务器地址与融合设备 CDN部件对外服务地址的对应关系的地址关系记 录, 并将其上报给 CDN中心管理系统的域名系统资源调度和负载均衡系 统 DNS GSLB。 The convergence device CDN component generates an address relationship record regarding the correspondence between the local DNS server address and the convergence device CDN component's external service address based on the message in the notification, and reports it to the domain name system resource scheduling and load of the CDN center management system. Balance system DNS GSLB.
6、 根据权利要求 5所述的方法, 其中, 所述的利用所述地址关系记 录获得 DNS解析结果包括: 6. The method according to claim 5, wherein said utilizing the address relationship record to obtain DNS resolution results includes:
本地 DNS服务器将 DNS解析请求发送给所述 DNS GSLB; The local DNS server sends the DNS resolution request to the DNS GSLB;
所述 DNS GSLB根据 DNS解析请求,在其域名记录中查询对应的域 名; The DNS GSLB queries the corresponding domain name in its domain name record according to the DNS resolution request;
在查询到对应的域名后, 根据地址关系记录中的本地 DNS服务器地 址与融合设备 CDN部件对外服务地址的对应关系, 把对应的融合设备 CDN部件确定为 CDN服务节点, 并将含有其地址的解析结果经由本地 DNS服务器返回给用户端。 After querying the corresponding domain name, based on the correspondence between the local DNS server address in the address relationship record and the external service address of the convergence device CDN component, the corresponding convergence device CDN component is determined as the CDN service node, and the resolution containing its address is The results are returned to the client via the local DNS server.
7、 根据权利要求 5所述的方法, 其中, 所述的利用所述地址关系记 录获得 DNS解析结果包括: 7. The method according to claim 5, wherein said using the address relationship record to obtain the DNS resolution result includes:
本地 DNS服务器将 DNS解析请求发送给 DNS根服务器, 并根据其 返回的 ICP/ISP授权 DNS信息向 ICP/ISP授权 DNS服务器发起 DNS查 询清求; The local DNS server sends the DNS resolution request to the DNS root server, and initiates a DNS query request to the ICP/ISP authorized DNS server based on the ICP/ISP authorized DNS information returned;
本地 DNS服务器根据所述 ICP/ISP授权 DNS服务器响应查询请求而 返回的所用 CDN服务系统的 DNS信息, 向所述 DNS GSLB发起 DNS 查询请求; The local DNS server initiates DNS to the DNS GSLB based on the DNS information of the CDN service system returned by the ICP/ISP authorized DNS server in response to the query request. query request;
所述 DNS GSLB根据 DNS查询请求, 查询对应的 DNS记录, 并根 据地址关系记录中的本地 DNS服务器地址与融合设备 CDN部件对外服 务地址的对应关系,把对应的融合设备 CDN部件确定为 CDN服务节点, 并将含有其地址的解析结果经由本地 DNS服务器返回给用户端。 The DNS GSLB queries the corresponding DNS record according to the DNS query request, and determines the corresponding fusion device CDN component as the CDN service node based on the correspondence between the local DNS server address in the address relationship record and the external service address of the fusion device CDN component. , and returns the resolution result containing its address to the client via the local DNS server.
8、 一种实现基于内容分发网络 CDN和网络融合的用户定位装置, 包括: 8. A user positioning device that realizes the integration of content distribution network CDN and network, including:
融合设备的 DNS记录生成单元, 配置为生成含有签约 ICP/ISP域名 和把融合设备 CDN部件对外服务地址作为该域名对应地址的 DNS记录, 或含有本地 DNS服务器地址与融合设备 CDN部件对外服务地址对应关 系的地址关系记录; The DNS record generation unit of the convergence device is configured to generate a DNS record containing the contracted ICP/ISP domain name and the external service address of the convergence device CDN component as the corresponding address of the domain name, or containing the local DNS server address corresponding to the external service address of the convergence device CDN component. The address relationship record of the relationship;
DNS解析设备, 配置为在用户端发起 DNS解析请求时, 利用所述 DNS记录或者地址关系记录,获得用来返回给所述用户端的 DNS解析结 果, 供用户端根据所述 DNS解析结果与所述融合设备 CDN部件建立应 用链接, 实现用户端到融合设备 CDN部件的用户定位; The DNS parsing device is configured to use the DNS record or address relationship record to obtain the DNS parsing result returned to the user end when the user initiates a DNS parsing request, so that the user end can compare the DNS parsing result with the The CDN component of the converged device establishes an application link to realize user positioning from the user end to the CDN component of the converged device;
其中, 所述融合设备是融合了 CDN节点与网络设备的设备, 包括: 所述的本地 DNS服务器; 以及 Wherein, the fusion device is a device that integrates CDN nodes and network devices, including: the local DNS server; and
所述的融合设备 CDN部件,配置为建立和维护与用户端的应用链接, 并提供内容分发服务。 The CDN component of the fusion device is configured to establish and maintain application links with the client, and provide content distribution services.
9、 根据权利要求 8所述的装置, 所述融合设备还包括向用户端提供 网络接入和承载服务的网络部件; 9. The device according to claim 8, the convergence device further includes a network component that provides network access and bearer services to the user end;
其中, 所述融合设备的网络部件与 CDN部件之间设有内部信令交互 接口, 供网络部件向 CDN部件上报用户地址池的信息, CDN部件向网 络部件申请用户网络加速、 接收和执行反馈信息、 用户状态查询及反馈 的信息。 Among them, an internal signaling interaction interface is provided between the network component and the CDN component of the converged device for the network component to report user address pool information to the CDN component, and the CDN component applies to the network component for user network acceleration, reception and execution feedback information. , user status query and feedback information.
10、根据权利要求 9所述的装置,所述融合设备还包括:服务于 CDN 部件和网络部件的主控单元; 10. The device according to claim 9, the fusion device further comprising: serving CDN Main control unit for components and network components;
其中,主控单元分别与 CDN部件之间和网络部件之间设有内部信令 交互接口; Among them, the main control unit has internal signaling interaction interfaces with the CDN component and the network component respectively;
其中, 所述的本地 DNS服务器由所述主控单元开启, 或者由网络部 件开启。 Wherein, the local DNS server is started by the main control unit or by a network component.
11、 根据权利要求 9所述的装置, 所述融合设备的 DNS记录生成单 元由所述的本地 DNS服务器和融合设备 CDN部件构成; 11. The device according to claim 9, the DNS record generating unit of the fusion device is composed of the local DNS server and the fusion device CDN component;
其中, 融合设备 CDN部件根据指令中的域名信息, 请求本地 DNS 服务器针对签约 ICP/ISP的域名生成所述的 DNS记录; 以及 Among them, the fusion device CDN component requests the local DNS server to generate the DNS record for the domain name of the contracted ICP/ISP based on the domain name information in the instruction; and
融合设备 CDN部件根据融合设备网络部件或主控单元通告的本地 DNS服务器的地址信息, 生成所述的地址关系记录。 The CDN component of the convergence device generates the address relationship record based on the address information of the local DNS server notified by the network component of the convergence device or the main control unit.
12、 根据权利要求 8所述的装置, DNS解析设备或者是在所述融合 设备中执行本地解析的本地 DNS服务器, 或者在是 CDN中心管理系统 中执行域名解析的 DNS GSLB。 12. The device according to claim 8, the DNS resolution device is either a local DNS server that performs local resolution in the converged device, or a DNS GSLB that performs domain name resolution in the CDN center management system.
PCT/CN2013/085825 2012-11-06 2013-10-23 User positioning method and device based on content delivery network (cdn) and network convergence WO2014071802A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210437595.8A CN102970351B (en) 2012-11-06 2012-11-06 A kind of method and device positioned based on CDN and the user of the network integration
CN201210437595.8 2012-11-06

Publications (1)

Publication Number Publication Date
WO2014071802A1 true WO2014071802A1 (en) 2014-05-15

Family

ID=47800230

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085825 WO2014071802A1 (en) 2012-11-06 2013-10-23 User positioning method and device based on content delivery network (cdn) and network convergence

Country Status (2)

Country Link
CN (1) CN102970351B (en)
WO (1) WO2014071802A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116455983A (en) * 2023-06-16 2023-07-18 湖南快乐阳光互动娱乐传媒有限公司 Resource scheduling method, system and converged network resource scheduling system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970351B (en) * 2012-11-06 2017-11-17 中兴通讯股份有限公司 A kind of method and device positioned based on CDN and the user of the network integration
CN104079683B (en) * 2014-07-14 2019-01-15 清远初曲智能科技有限公司 A kind of authoritative domain name server directly in response to domain name analytic method and system
CN108989487A (en) * 2018-09-06 2018-12-11 北京泰策科技有限公司 CDN Optimization Scheduling based on local dns

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008042911A2 (en) * 2006-10-05 2008-04-10 Limelight Networks, Inc. Remote domain name service
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN102216923A (en) * 2008-11-17 2011-10-12 亚马逊技术有限公司 Request routing and updating routing information utilizing client location information
CN102970351A (en) * 2012-11-06 2013-03-13 中兴通讯股份有限公司 User positioning method and device based on content delivery network (CDN) and network convergence

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8321568B2 (en) * 2008-03-31 2012-11-27 Amazon Technologies, Inc. Content management
CN101431532A (en) * 2008-12-15 2009-05-13 中国电信股份有限公司 Content routing method, load balancing equipment and resource management equipment
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008042911A2 (en) * 2006-10-05 2008-04-10 Limelight Networks, Inc. Remote domain name service
CN102216923A (en) * 2008-11-17 2011-10-12 亚马逊技术有限公司 Request routing and updating routing information utilizing client location information
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN102970351A (en) * 2012-11-06 2013-03-13 中兴通讯股份有限公司 User positioning method and device based on content delivery network (CDN) and network convergence

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116455983A (en) * 2023-06-16 2023-07-18 湖南快乐阳光互动娱乐传媒有限公司 Resource scheduling method, system and converged network resource scheduling system
CN116455983B (en) * 2023-06-16 2023-09-05 湖南快乐阳光互动娱乐传媒有限公司 Resource scheduling method, system and converged network resource scheduling system

Also Published As

Publication number Publication date
CN102970351B (en) 2017-11-17
CN102970351A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
US7561586B2 (en) Method and apparatus for providing network VPN services on demand
JP6408602B2 (en) Method and communication unit for service implementation in an NFV system
US20170142024A1 (en) Orchestrating physical and virtual resources for delivering digital contents
WO2016058392A1 (en) Software-defined network-based method and system for implementing content distribution network
WO2014056402A1 (en) Method and device for realizing internet service based on convergence of cdn and network
WO2023000935A1 (en) Data processing method, network element device, and readable storage medium
JP2017531958A (en) Method and system for implementing a content distribution network based on a software defined network
EP2840743A1 (en) Method and system for realizing virtual network
EP1981219A1 (en) An apparatus for providing the end-to-end qos guarantee and a method thereof
EP2911403A1 (en) Fusion device, system and method for implementing internet protocol television service
WO2014082538A1 (en) Business scheduling method and apparatus and convergence device
US20100142530A1 (en) Method, Apparatus, and System for Implementing Multicast Services
WO2014059828A1 (en) Method and system for adjusting control policy
WO2009132548A1 (en) Strategy determining function entity, home gateway, service quality controlling method and the system thereof
WO2016070609A1 (en) Method and system for implementing vnf instantiation, nfvo and vnfm
KR20140133854A (en) Multi-modal communication priority over wireless networks
WO2019041937A1 (en) Traffic offloading method and related apparatus in roaming scenario
CN106506633B (en) A kind of service shunting method, equipment and system
WO2013152565A1 (en) Capability aggregation and exposure method and system
CN106487538B (en) Service acceleration method, strategy control platform and system
WO2014071802A1 (en) User positioning method and device based on content delivery network (cdn) and network convergence
WO2010078765A1 (en) Method and system for service processing in content distribution network of interactive network tv
WO2013178099A1 (en) System, method, client and service centre for realizing remote desktop
CN110719273A (en) Method for determining back source node, server and computer readable storage medium
WO2010045816A1 (en) A resource initialization method, system and network access server

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: 13852910

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: 13852910

Country of ref document: EP

Kind code of ref document: A1