Resource access method, access service platform, device, equipment and storage medium
By introducing the drainage POP node and the central end in the access service platform, and using the coordinated work of the drainage equipment and the central end, the problem of unstable resource access in the existing technology is solved, and the optimal path scheduling of user data between the POP nodes is realized. , ensure fast and stable user access.
Patent Information
- Application Number
- CN202211005819.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-22
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-08-22
AI Technical Summary
In the prior art, resource access solutions only provide near-level access to POP nodes, but cannot guarantee network quality, resulting in unstable user access.
By introducing the drainage POP node and the central end in the access service platform, the drainage device is used to drain user data to the drainage POP node for processing, and the correspondence relationship and optimal communication between the to-be-visible resources and the accessed POP node are issued through the central end. Path, ensuring that user data is scheduled according to the optimal path between POP nodes.
It realizes the optimal path scheduling of user data between POP nodes, ensures that users can access resources quickly and stably, and improves network quality.
Smart Images

Figure CN115379016B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to, but is not limited to, the field of communication technology, and in particular to a resource access method, access service platform, device, equipment and storage medium. Background Art
[0002] With the continuous deepening of enterprise digital intelligent transformation and cloudification process, the demand for cloud business continues to increase and the network environment is becoming increasingly complex.
[0003] The resource access solution in the related technology only provides nearby access to POP (Point-of-Presence) nodes, and the nearby POP nodes directly connect to the resources that users want to access. The quality of the network between the nearby POP nodes and the resource corresponding servers cannot be guaranteed. How to ensure users' fast and stable access is a problem that needs to be solved. Summary of the invention
[0004] In view of this, embodiments of the present application at least provide a resource access method, an access service platform, an apparatus, a device, and a storage medium.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a resource access method, which is applied to a drainage POP node in an access service platform, wherein each POP node in the access service platform is connected to each other, and the access service platform further includes a drainage device and a central end, wherein the drainage device is used to drain user data to the drainage POP node for processing, and the central end is used to send a correspondence between a resource to be accessed and an access POP node, and an optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes; the method includes:
[0007] Receiving user data sent by the traffic diversion device, wherein the user data includes a resource identifier;
[0008] Determine the target access POP node corresponding to the resource identifier according to the correspondence between the resource to be accessed and the access POP node;
[0009] The user data is sent to the target access POP node according to the optimal communication path, so as to access the resources corresponding to the resource identifier through the target access POP node.
[0010] In some embodiments, the sending of the user data to the target access POP node according to the optimal communication path so as to access the resource corresponding to the resource identifier through the target access POP node includes: when the target access POP node and the drainage POP node are not the same node, sending the user data to the POP node corresponding to the next hop path based on the optimal communication path, so that the POP node corresponding to the next hop path forwards the user data based on the optimal communication path until the user data is sent to the target access POP node.
[0011] In some embodiments, before sending the user data to the target access POP node according to the optimal communication path, the method also includes: performing a security check on the user data, and when the result of the security check is normal, executing the step of sending the user data to the target access POP node according to the optimal communication path.
[0012] In some embodiments, before sending the user data to the target access POP node according to the optimal communication path, the method also includes: optimizing the protocol and / or data volume of the user data based on the type of the user data; and for the optimized user data, performing an operation of sending the user data to the target access POP node according to the optimal communication path.
[0013] In some embodiments, sending the user data to the target access POP node according to the optimal communication path includes: sending the user data to the target access POP node through the same operator line in the optimal communication path.
[0014] In a second aspect, an embodiment of the present application provides a resource access method, which is applied to a central end in an access service platform, wherein the access service platform includes multiple POP nodes and a drainage device, wherein the multiple POP nodes are interconnected, and the drainage device is used to drain user data to the POP node for processing, and the method includes:
[0015] Determine the correspondence between the resource to be accessed and the access POP node based on the preset conditions;
[0016] Obtaining an optimal communication path between each of the POP nodes and the remaining POP nodes;
[0017] The corresponding relationship and the optimal communication path between the corresponding POP node and the remaining POP nodes are sent to each of the POP nodes, so that when the POP node receives the user data sent by the drainage device, it sends the user data to the target access POP node according to the corresponding relationship and the optimal communication path; wherein the user data includes a resource identifier; the target access POP node is determined based on the corresponding relationship between the resource and the access POP node.
[0018] In some embodiments, the central end sends access information to the drainage device, and the access information includes a drainage POP node for receiving the user data. The method also includes: in the event that the drainage POP node is abnormal, the POP node corresponding to the next hop path of the drainage POP node is sent to the drainage device as a new drainage POP node, so that the drainage device diverts the user data to the new drainage POP node.
[0019] In a third aspect, an embodiment of the present application provides an access service platform, including multiple POP nodes, a traffic diversion device, and a central end, wherein the central end is connected to the traffic diversion device and each of the POP nodes, the traffic diversion device is connected to each of the POP nodes, and the multiple POP nodes are connected to each other;
[0020] The central end is used to send access information to the traffic diversion device; and send the corresponding relationship between the to-be-accessed resources and the accessed POP nodes, and the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes;
[0021] The traffic diversion device is used to divert user data to the traffic diversion POP node; the user data includes a resource identifier;
[0022] The drainage POP node is used to determine the target access POP node corresponding to the resource identifier according to the corresponding relationship, and send the user data to the target access POP node according to the optimal communication path;
[0023] The target access POP node is used to send the user data to the terminal where the resource corresponding to the resource identifier is located.
[0024] In a fourth aspect, an embodiment of the present application provides a resource access device, which is applied to a drainage POP node in an access service platform, wherein each POP node in the access service platform is connected to each other, and the access service platform further comprises a drainage device and a central end, wherein the drainage device is used to drain user data to the drainage POP node for processing, and the central end is used to send a correspondence between a resource to be accessed and an access POP node, and an optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes; the device comprises:
[0025] A receiving module, used for receiving user data sent by a traffic diversion device, wherein the user data includes a resource identifier;
[0026] A first determination module, used to determine the target access POP node corresponding to the resource identifier according to the correspondence between the resource to be accessed and the access POP node;
[0027] A scheduling module is used to send the user data to the target access POP node according to the optimal communication path, so as to access the resources corresponding to the resource identifier through the target access POP node.
[0028] In a fifth aspect, an embodiment of the present application provides a resource access device, which is applied to a central end in an access service platform, wherein the access service platform includes multiple POP nodes and a drainage device, wherein the multiple POP nodes are interconnected, and the drainage device is used to drain user data to the POP node for processing, and the device includes:
[0029] A second determination module, used to determine the correspondence between the to-be-accessed resource and the accessed POP node based on a preset condition;
[0030] An acquisition module, used for acquiring an optimal communication path between each of the POP nodes and the other POP nodes;
[0031] A sending module is used to send the corresponding relationship and the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes, so that when the POP node receives the user data sent by the drainage device, it sends the user data to the target access POP node according to the corresponding relationship and the optimal communication path; wherein the user data includes a resource identifier; the target access POP node is determined based on the corresponding relationship between the resource and the access POP node.
[0032] In a sixth aspect, an embodiment of the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, it implements some or all of the steps in the method provided in the first aspect above; or implements some or all of the steps in the method provided in the second aspect above.
[0033] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements some or all of the steps in the method provided in the first aspect above; or implements some or all of the steps in the method provided in the second aspect above.
[0034] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0036] Figure 1 A schematic diagram of a resource access method provided in an embodiment of the present application;
[0037] Figure 2 An interactive flow chart of a resource access method provided in an embodiment of the present application;
[0038] Figure 3 A schematic diagram of a resource access method provided in an embodiment of the present application;
[0039] Figure 4 A schematic diagram of the architecture of an access service platform provided in an embodiment of the present application;
[0040] Figure 5A A schematic diagram of a network topology architecture provided for an embodiment of the present application;
[0041] Figure 5B A schematic diagram of an optional software architecture for POP networking provided in an embodiment of the present application;
[0042] Figure 5C A schematic diagram of an optional software architecture for POP networking provided in an embodiment of the present application;
[0043] Figure 5D A schematic diagram of an optional software architecture for POP networking provided in an embodiment of the present application;
[0044] Figure 5E A schematic diagram of a cross-operator and cross-regional networking architecture provided for an embodiment of the present application;
[0045] Fig. 5F A schematic diagram of the software architecture of the security engine-based networking implementation provided in the embodiment of the present application;
[0046] Figure 5G A schematic diagram of the implementation process of accessing resources through POP networking provided in an embodiment of the present application;
[0047] Figure 5H A schematic diagram of the implementation process of accessing resources through POP networking in a cross-region and cross-operator scenario provided in an embodiment of the present application;
[0048] Figure 6 A schematic diagram of the composition structure of a resource access device provided in an embodiment of the present application;
[0049] Figure 7 A schematic diagram of the composition structure of a resource access device provided in an embodiment of the present application;
[0050] Figure 8 A hardware entity diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0052] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0053] The terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged with a specific order or sequence where permitted so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application.
[0055] An embodiment of the present application provides a resource access method, which is applied to a drainage POP node in an access service platform, wherein each POP node in the access service platform is interconnected, and the access service platform also includes a drainage device and a central end, wherein the drainage device is used to drain user data to the drainage POP node for processing, and the central end is used to send to each of the POP nodes the correspondence between the resource to be accessed and the access POP node, and the optimal communication path between the corresponding POP node and the remaining POP nodes.
[0056] Figure 1 A schematic diagram of a resource access method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes the following steps S110 to S130:
[0057] Step S110, obtaining user data sent by a receiving traffic diversion device, wherein the user data includes a resource identifier;
[0058] Here, the resource may be an intranet resource, such as a resource of an enterprise intranet financial system or a resource of a conference system, etc.; the resource may also be an extranet resource, such as a webpage resource of a Baidu server, etc. The user data is data transmitted when a user accesses a resource. In some embodiments, the transmitted data may be an access request data packet for accessing a certain URL address within a certain period of time and / or a resource response and a return packet of the request data packet.
[0059] In some implementations, the resource identifier may include a resource identifier of an intranet resource, such as a resource address of an enterprise financial system; in some implementations, the resource identifier may include a resource identifier of an extranet resource, such as a resource address of a Baidu cloud disk.
[0060] The drainage device can be deployed on the user terminal in the form of software, or it can be deployed in the form of hardware at the network exit of the user terminal (such as at the router, or the gateway, etc.). The drainage device is used to intercept the user data of the user accessing the resource, and then send the user device to a POP node in the access service platform. In order to distinguish the representation, the POP node is called the drainage POP node. In essence, the drainage POP node is one of the multiple POP nodes in the access service platform. The POP node is the access point, which is located outside the edge of the enterprise network. It is the entry point for accessing the internal resources of the enterprise network or the corresponding resources of the services provided by the outside world. The services provided by the outside world enter through the POP node. These services may include Internet access, wide area connection and public telephone network (Public Telephone Switched Network, PSTN).
[0061] In some embodiments, the central end of the access service platform can select one or more POP nodes from multiple POP nodes as drainage POP nodes according to the geographical location of the user terminal and / or the operator information and / or the transmission protocol information, and send the identifier of the drainage POP node to the drainage device corresponding to the user terminal. The drainage device can then drain the user data to the drainage POP node corresponding to the identifier after receiving the user data sent by the user terminal. For example, several POP nodes that are close to the geographical location of the user terminal can be selected as drainage POP nodes; POP nodes with the same operator network as the user terminal can also be selected as drainage POP nodes; POP nodes with the same transmission protocol as the drainage device corresponding to the user terminal can also be selected as drainage POP nodes; of course, the above dimensions can also be combined to select the POP nodes with the closest geographical location, the same operator information system and the same transmission protocol information as the drainage POP node.
[0062] In some embodiments, if there are multiple drainage POP nodes, the central end can process them in a redundant manner. For example, one of the drainage POP nodes is selected as the main drainage POP node, and the remaining drainage POP nodes are used as backup drainage POP nodes. When the main drainage POP node fails or the network link between it and the other end is disconnected, the drainage device can divert user data to the backup drainage POP node. Preferably, the central end can select the drainage POP node closest to the geographical location of the user terminal from multiple drainage POP nodes as the main drainage POP node, and the rest are backup drainage POP nodes. For another example, all drainage POP nodes are main drainage POP nodes, and each works normally. When a main drainage POP node fails or the network link between it and the other end is disconnected, the drainage device forwards the business it is processing and / or to be processed to other main drainage POP nodes for execution.
[0063] In some other embodiments, the central end can also use any POP node in the access service platform as a drainage POP node, and send the identifier of the drainage POP node to the drainage device corresponding to the user terminal. After receiving the user data sent by the user terminal, the drainage device can divert the user data to the drainage POP node corresponding to the identifier.
[0064] Step S120, determining the target access POP node corresponding to the resource identifier according to the correspondence between the to-be-accessed resource and the access POP node;
[0065] Since each POP node stores the correspondence between the resources to be accessed and the access POP nodes sent by the center, the target access POP node can be determined based on the correspondence and the resource identifier of the resource to be accessed by the received user data.
[0066] It is worth noting that the access POP node is a POP node that can directly access the resource corresponding to the resource identifier. In order to distinguish the representation, the POP node is called an access POP node. In essence, the access POP node is one of multiple POP nodes in the access service platform. Preferably, the central end can determine the access POP node based on the distance between each POP node and the resource corresponding terminal (such as a server), and / or the operator information between each POP node and the resource corresponding terminal (such as a server), and / or the transmission protocol information between each POP node and the resource corresponding terminal (such as a server).
[0067] For example, the POP node that is closest to the resource corresponding terminal (such as a server) is used as the access POP node, and / or the POP node with the same operator between each POP node and the resource corresponding terminal (such as a server) is used as the access POP node, and / or the POP node with the same transmission protocol between each POP node and the resource corresponding terminal (such as a server) is used as the access POP node.
[0068] In some embodiments, if there are multiple access POP nodes, the central end can handle them in a redundant manner. For example, one of the access POP nodes is selected as the main access POP node, and the remaining access POP nodes are selected as backup access POP nodes. In the event that the main access POP node fails or the network link between it and the other end is blocked, the backup access POP node can be used to provide capabilities. Preferably, the central end can select the access POP node closest to the geographical location of the terminal corresponding to the resource from multiple access POP nodes as the main access POP node, and the rest are backup access POP nodes. For another example, all access POP nodes are main access POP nodes, each working normally. In the event that a main access POP node fails or the network link between it and the other end is blocked, other main access POP nodes are used to provide capabilities.
[0069] For the purpose of distinction, the target access POP node is the access POP node corresponding to the resource identifier found in the corresponding relationship as the target access POP node.
[0070] In an enterprise, a POP node provides links to internal / external resources and sites. A POP node can be directly connected to one or more Internet service providers (ISPs), so that internal users can access the Internet through these links. For an Internet service provider, a POP node is a point of entry that connects the Internet from one place to another. Each POP node must have a unique Internet Protocol (IP) address. POP nodes usually include any of routers, digital analog telephone aggregators, servers, frame relays, or ATM switches.
[0071] In some embodiments, the central end may determine the geographical location of the POP node through the IP address of the POP node. The central end may determine the geographical location of the user terminal through the IP address of the user terminal.
[0072] Step S130: sending the user data to the target access POP node according to the optimal communication path, so as to access the resource corresponding to the resource identifier through the target access POP node.
[0073] Here, the optimal communication path is a fast and stable transmission path between POP nodes determined by the central end in advance according to preset conditions. Since the POP nodes are interconnected, they know each other's latency and bandwidth and report them to the central end. The central end will periodically (for example, every 10 minutes) calculate the optimal communication path between each POP node and send it to each POP node.
[0074] That is to say, scheduling is performed between each interconnected POP node according to the optimal communication path, the user data received on the drainage POP node is scheduled to the target access POP node, and then the resources corresponding to the user data are accessed through the target access POP node.
[0075] Preferably, in order to improve the transmission security of user data, the target access POP node can access the resources corresponding to the user data through a VPN (Virtual Private Network) component. The VPN component extends the private network to the public network, enabling users to send and receive data on a shared or public network as if their computing devices were directly connected to the private network. The benefits of VPN include increased functionality, security, and management of the private network, which provides access to resources that are not accessible on the public network and is typically used by remote workers.
[0076] In some embodiments, the sending of the user data to the target access POP node according to the optimal communication path so as to access the resource corresponding to the resource identifier through the target access POP node includes: when the target access POP node and the drainage POP node are not the same node, sending the user data to the POP node corresponding to the next hop path based on the optimal communication path, so that the POP node corresponding to the next hop path forwards the user data based on the optimal communication path until the user data is sent to the target access POP node.
[0077] In this way, the drainage POP node continuously forwards user data according to the optimal communication path between different POP nodes until it reaches the target access POP node. By selecting the optimal path between POP nodes, the quality of the network passed by user data in the process of reaching resource applications is ensured, providing users with a fast and stable access experience.
[0078] In some embodiments, sending the user data to the target access POP node according to the optimal communication path includes: in the optimal communication path, sending the user data to the target access POP node through the same operator line.
[0079] In implementation, a connection with the operator is established between the access device corresponding to the user data and the drainage POP node; at the same time, for the terminal corresponding to the resource (such as a server), a connection with the operator is established between the terminal corresponding to the resource and the target access POP node, thereby reducing the cross-operator access delay. In this way, the user resource access efficiency can be accelerated through operator switching, and the cross-operator loss can be reduced when the user operator and the operator of the resource to be accessed are different.
[0080] In an embodiment of the present application, the user data sent by the drainage device is first received by the drainage POP node, and then the target access POP node is determined based on the resource identifier carried by the user data and the correspondence between the to-be-accessed resources and the access POP nodes pre-issued by the central end. Finally, the user data is sent to the target access POP node according to the stored optimal communication path to achieve resource access, and the user data is scheduled to the target access POP node according to the optimal path between the POP nodes, thereby achieving the purpose of fast and stable user access.
[0081] In some embodiments, the access service platform can be a SASE (Secure Access Service Edge) platform, an architecture that integrates cloud-based network and network security services. SASE is a service based on the identity of the entity, real-time context, enterprise security / compliance policies, and continuous risk / trust assessment throughout the session. The identity of the entity can be associated with a person, a group of people (branch office), a device, an application, a service, an IoT system, or an edge computing site.
[0082] Preferably, before sending the user data to the target access POP node according to the optimal communication path, the method also includes: performing a security check on the user data, and when the result of the security check is normal, executing the step of sending the user data to the target access POP node according to the optimal communication path.
[0083] Here, the security detection method can be to detect the security capabilities within the POP node, and the security capabilities may include intrusion detection and / or data leakage prevention detection and / or Internet behavior management and / or ransomware detection and / or USB disk control, etc.
[0084] In this way, a security check is first performed on the accessed user data. When the result of the security check is normal, the optimized user data is sent to the target access POP node according to the optimal communication path, so as to access the resources corresponding to the resource identifier through the target access POP node, thereby providing users with security detection capabilities.
[0085] Preferably, before sending the user data to the target access POP node according to the optimal communication path, the method also includes: optimizing the protocol and / or data volume of the user data based on the type of the user data; and for the optimized user data, executing the operation of sending the user data to the target access POP node according to the optimal communication path.
[0086] Here, the protocol optimization methods include converting HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer) to HTTP (Hyper Text Transfer Protocol), adding SMB (Server Message Block) protocol, etc. The data volume optimization methods include traffic compression (including PPP frame header compression, header compression, and payload compression) and / or flow caching (in the process of accessing Internet resources, the traffic cost is very expensive. By implementing intelligent caching of traffic fragments within the network, transmitting traffic fragment identifiers between the POP nodes of the network, and then using the traffic fragment identifiers to restore the traffic fragments from the cache, the purpose of saving traffic bandwidth costs can be achieved). Different types of user data can adopt different transmission optimization methods. For example, for user data generated by enterprise intranet applications and some websites with low security requirements, HTTPS can be converted to HTTP; for user data generated when downloading a communication software, only the installation package released on the Internet can be transmitted, thereby reducing unnecessary traffic transmission and speeding up access.
[0087] In this way, before scheduling and forwarding user data, the protocol and / or quantity optimization is performed in the POP node, which can reduce the bandwidth resource consumption of the POP node and improve the transmission efficiency.
[0088] Figure 2 A schematic diagram of the interactive process of the resource access method provided in the embodiment of the present application, such as Figure 2 As shown, the method includes the following steps S210 to S280:
[0089] Step S210, the central end determines the correspondence between the to-be-accessed resource and the accessed POP node based on preset conditions;
[0090] Here, the preset condition may be a minimum transmission cost condition or a fastest access condition. The minimum transmission cost condition may include transmission between the resource corresponding terminal and the access POP node using the same operator or transmission between the resource corresponding terminal and the access POP node using the same transmission protocol. The fastest access condition may include transmission with the shortest distance between the resource corresponding terminal and the access POP node or transmission with the best communication quality between the resource corresponding terminal and the access POP node. For example, a POP node deployed within the area where the physical location of the resource corresponding terminal is located may be used as the access POP node corresponding to the resource. Establishing a corresponding relationship between the resource and the access POP node can greatly reduce the access delay caused by the distance between the resource and the access POP node.
[0091] The correspondence relationship is understood as a resource of a specific application corresponding to at least one access POP node, for example, application A corresponds to POP node 1, and application B corresponds to POP node 2 and POP node 3. In other words, the resource corresponding terminal can be directly accessed through the access POP node.
[0092] Step S220, the central end obtains the optimal communication path between each of the POP nodes and the other POP nodes;
[0093] Here, the optimal transmission path between each POP node and other POP nodes is determined by performing the best line transmission detection between each POP node. For example, if a user in Guangzhou wants to access resources in Sichuan, and the drainage POP node accessed by the user end is deployed in Guangzhou, then the optimal communication path between the drainage POP node and the access POP node corresponding to the resource may be forwarded by the drainage POP node in Guangzhou, through the POP node deployed in Guizhou, to the POP node deployed in Sichuan (i.e., the access POP node), and then the access POP node deployed in Sichuan accesses the resources in Sichuan.
[0094] Preferably, a backbone network connection can be established between all POP nodes in the access service platform to achieve long-distance, high-speed data transmission.
[0095] It should be noted that the execution order between step S210 and step S220 is not limited.
[0096] Step S230, the central end sends the corresponding relationship to each of the POP nodes, and the optimal communication path between the corresponding POP node and the remaining POP nodes;
[0097] Here, in some implementations, the central end sends the correspondence between the to-be-accessed resource and the accessed POP node to each POP node through a first message, and sends the optimal communication path between the POP node and the remaining POP nodes to each POP node through another second message, that is, the correspondence and the optimal communication path are sent separately, and the order of sending is not limited in this embodiment of the application. In other implementations, the central end sends the correspondence and the optimal communication path to each POP node at the same time through the same message.
[0098] Step S240: The traffic diversion POP node receives user data sent by the traffic diversion device, wherein the user data includes a resource identifier;
[0099] Step S250, the traffic diversion POP node determines the target access POP node corresponding to the resource identifier according to the correspondence between the to-be-accessed resource and the access POP node;
[0100] Here, the above steps S240 to S250 correspond to the above steps S120 to S130 respectively, and the specific implementation of the above steps S120 to S130 may be referred to during implementation.
[0101] Step S260: The traffic diversion POP node performs security detection on the user data;
[0102] Here, the security detection method can be to detect the security capabilities within the POP node, and the security capabilities may include intrusion detection and / or data leakage prevention detection and / or Internet behavior management and / or ransomware virus detection and / or USB disk control, etc. First, a security check is performed on the accessed user data. If the result of the security check is normal, the optimized user data is sent to the target access POP node according to the optimal communication path, so as to access the resources corresponding to the resource identifier through the target access POP node, thereby providing users with the ability of security detection.
[0103] Step S270: The traffic diversion POP node optimizes the protocol and / or data volume of the user data based on the type of the user data;
[0104] Here, the protocol optimization methods include converting HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer) to HTTP (Hyper Text Transfer Protocol), adding SMB (Server Message Block) protocol, etc. The data volume optimization methods include traffic compression and / or stream caching combined with CDN,
[0105] Different types of user data can use different transmission optimization methods. For example, for user data generated by enterprise intranet applications and some websites with low security requirements, HTTPS can be converted to HTTP. For user data generated when downloading a communication software, only the installation package released on the Internet can be transmitted, thereby reducing unnecessary traffic transmission and speeding up access.
[0106] In this way, before scheduling and forwarding user data, the protocol and / or quantity optimization is performed in the POP node, which can reduce the bandwidth resource consumption of the POP node and improve the transmission efficiency.
[0107] It should be noted that the execution order between the above steps S260 and S270 is not limited, that is, the user data may be first subjected to security check and then subjected to transmission optimization processing, or the transmission optimization processing may be first subjected to security check and then subjected to security check on the optimized user data. Steps S260 and S270 may also be executed simultaneously.
[0108] Step S280, when the result of the security check is normal, the optimized user data is sent to the target access POP node according to the optimal communication path, so as to access the resources corresponding to the resource identifier through the target access POP node.
[0109] In some embodiments, the central end interconnects each POP node in one of the following ways to form a POP network: using the drainage server in each of the POP nodes as a networking device, interconnecting any two of the POP nodes to obtain the POP network; using the resource access device in each of the POP nodes as the networking device, interconnecting any two of the POP nodes to obtain the POP network; using the resource access device of one of the two POP nodes and the drainage server of the other POP node as the networking device at the same time, interconnecting any two of the POP nodes to obtain the POP network. Among them, the drainage server is a server inside the POP node for diverting user data, deployed at the entrance of the POP node, which is equivalent to the aforementioned drainage device.
[0110] In some embodiments, the central end sends access information to the drainage device, and the access information includes a drainage POP node for receiving the user data. The method further includes: in the case of an abnormality of the drainage POP node, the POP node corresponding to the next hop path of the drainage POP node is sent to the drainage device as a new drainage POP node, so that the drainage device can drain the user data to the new drainage POP node. For example, when POP node 1 as a drainage node fails, the next hop path of POP node 1 corresponds to POP node 2, then the central end sends the information of POP node 2 to the drainage device, and the user data is drained to POP node 2, and the application resources corresponding to the user data will be connected to POP node 2.
[0111] In this way, high availability is provided between POP networks. When a POP node fails, its capabilities are automatically migrated to another POP node.
[0112] The embodiment of the present application provides a resource access method, which is applied to a central end in an access service platform, wherein the access service platform includes a plurality of POP nodes and a flow diversion device, wherein the plurality of POP nodes are interconnected, and the flow diversion device is used to divert user data to the POP nodes for processing. Figure 3 A schematic diagram of a resource access method provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the method includes the following steps S310 to S330:
[0113] Step S310, determining the correspondence between the to-be-accessed resource and the accessed POP node based on a preset condition;
[0114] Here, the preset condition may be a minimum transmission cost condition or a fastest access condition. The minimum transmission cost condition may include transmission between the resource corresponding terminal and the access POP node using the same operator or transmission between the resource corresponding terminal and the access POP node using the same transmission protocol. The fastest access condition may include transmission with the shortest distance between the resource corresponding terminal and the access POP node or transmission with the best communication quality between the resource corresponding terminal and the access POP node. For example, a POP node deployed within the area where the physical location of the resource corresponding terminal is located may be used as the access POP node corresponding to the resource. Establishing a corresponding relationship between the resource and the access POP node can greatly reduce the access delay caused by the distance between the resource and the access POP node.
[0115] The correspondence relationship is understood as a resource of a specific application corresponding to at least one access POP node, for example, application A corresponds to POP node 1, and application B corresponds to POP node 2 and POP node 3. In other words, the resource corresponding terminal can be directly accessed through the access POP node.
[0116] Step S320, obtaining the optimal communication path between each of the POP nodes and the remaining POP nodes;
[0117] Here, since the POP nodes are interconnected, they know each other's latency and bandwidth and report them to the center. The center will periodically (for example, every 10 minutes) calculate the optimal communication path between each POP node and send it to each POP node.
[0118] It should be noted that the execution order between step S310 and step S320 is not limited.
[0119] Step S330, sending the corresponding relationship and the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes, so that when the POP node receives the user data sent by the drainage device, it sends the user data to the target access POP node according to the corresponding relationship and the optimal communication path.
[0120] Here, the user data includes a resource identifier; the target access POP node is determined based on the corresponding relationship between the resource and the access POP node.
[0121] Optionally, the central end sends access information to the drainage device, the access information includes a drainage POP node that receives the user data, and the method further includes: when the drainage POP node is abnormal, the POP node corresponding to the next hop path of the drainage POP node is sent to the drainage device as a new drainage POP node, so that the drainage device can drain the user data to the new drainage POP node. In this way, high availability is provided between POP networks, and when a POP node fails, its capabilities are automatically migrated to another POP node.
[0122] Figure 4 A schematic diagram of the architecture of an access service platform provided in an embodiment of the present application, such as Figure 4 As shown, the access service platform includes multiple POP nodes 401, a flow-guiding device 402 and a central end 403, the central end 403 is connected to the flow-guiding device 402 and each of the POP nodes 401, the flow-guiding device 402 is connected to each of the POP nodes 401, and the multiple POP nodes 401, such as POP1, POP2, POP3, and POP4, are connected to each other;
[0123] The central end 403 is used to send access information to the traffic diversion device 402; and send the corresponding relationship between the to-be-accessed resources and the accessed POP nodes, and the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes 401;
[0124] The diversion device 402 is used to divert user data to the diversion POP node; the user data includes a resource identifier; wherein the diversion POP node is any of the POP nodes 401;
[0125] The drainage POP node is used to determine the target access POP node corresponding to the resource identifier according to the corresponding relationship, and send the user data to the target access POP node according to the optimal communication path;
[0126] The target access POP node is used to send the user data to the terminal where the resource corresponding to the resource identifier is located.
[0127] In an embodiment of the present application, multiple POP nodes in the access service platform are interconnected in pairs, and the central end is connected to each POP node and the drainage device, and the drainage device is also connected to each POP node, so that user data can be accessed through the nearest POP node at any time, and scheduled and forwarded between multiple POP nodes to reach the target access POP node, thereby directly accessing the application resources corresponding to the user data.
[0128] The resource access method described above is described below in conjunction with a specific embodiment. However, it should be noted that this specific embodiment is only for better illustrating the present application and does not constitute an improper limitation on the present application.
[0129] The embodiment of the present application discloses a method for safely and quickly accessing intranet resources. The method is mainly aimed at the scenario of customers accessing intranet resources, and introduces user data such as user traffic to the POP node closest to the corresponding resource within the range of POP nodes distributed globally. On the basis of forming an Internet network with global POPs, through wide area network optimization technologies such as operator line conversion acceleration, cross-regional acceleration, flow caching, compression, and protocol optimization, the traffic is transmitted to the POP node closest to the intranet resource. The traffic is optimized and transmitted between POP nodes through CDN (Content Delivery Network), flow caching, and protocol optimization technologies. When it reaches the edge POP node closest to the intranet resource, the intranet / extranet resources are accessed through the VPN protocol.
[0130] Figure 5A A schematic diagram of the network topology architecture provided in the embodiment of the present application is shown in FIG. Figure 5A As shown, first, multiple POP nodes are formed into a SASE cloud service (SASE Cloud) backbone network, that is, different POPs are interconnected, and POP networking 501 is equipped with WAN traffic transmission optimization technologies such as flow caching, CDN acceleration, intelligent routing, and protocol optimization. The user traffic 502 on the PC side can be connected at any time at any POP1 point, and optimally dispatched to the POP2 point closest to the intranet resources through the POP networking 501 (assuming that the path indicated by the dotted arrow is optimal), and then access the resources of the target application 503 through the VPN component of POP2.
[0131] In terms of networking implementation, networking is mainly carried out through SAAS (Software-as-a-Service, i.e., providing software services through the network) networking equipment. The embodiment of the present application provides a networking implementation solution, which is networked by the networking equipment of the POP node, and provides intelligent routing, flow caching, CDN acceleration, protocol optimization, flow compression and other capabilities between networks.
[0132] Figure 5B Schematic diagram of optional software architecture of POP networking provided in the embodiment of the present application; Figure 5B As shown, the dotted arrow flow is the process of POP1 diverting traffic to access APP2, and the thick arrow flow is the process of POP2 diverting traffic to access APP1. For example, when the traffic of access device 504 (supporting multi-tenant access such as SSL access, third-party device access, iPSec access, etc.) is loaded from POP1, the transmission within POP is optimized according to the type of traffic, and distributed to POP networking 502 by POP1's networking device 505, and dispatched to POP2's networking device 506 which is closest to the target application 503 via POP networking 502. It can be seen that POP1 and POP2 are interconnected through their respective diversion servers as networking devices 505 and 506 respectively.
[0133] In this way, the intranet resource access will be connected to the nearest POP node, and directly dispatched through the POP network 502, reducing the transmission loss outside the network. If POP1 fails, the drainage equipment and intranet resources will be connected to POP2 (assuming that POP2 is the closest at this time), and the capabilities of POP1 will be provided by POP2. Figure 5G As shown, the main process of networking includes the following steps S510 to S540:
[0134] In step S510, there is a link delay detection between the networking devices of different POP nodes, and the control center sends the optimal path between each POP and the corresponding relationship between the intranet applications to the networking devices.
[0135] In step S520, the traffic diversion equipment of each tenant is connected to the nearest POP1 point, and the traffic is picked up from the nearest POP1. The networking equipment of the POP1 selects the optimal next-hop path based on the matched application information and forwards it to another POP node through POP networking scheduling.
[0136] Step S530, repeating step S520 until the traffic reaches the POP2 point closest to the target application, the intranet access device in POP2 establishes an SSL (Secure Sockets Layer) / IPSec (Internet Protocol Security) tunnel to access the resources of the target intranet application.
[0137] In step S540, the intranet resource response is also sent to the nearest POP2, and is eventually dispatched back to the tenant's drainage device by the POP network.
[0138] The above embodiment uses the multi-tenant access server in each POP as a networking device to interconnect different POPs to obtain POP networking. In other embodiments, the IPSec tunnel networking can also be provided by the POP's egress device, i.e., the intranet access device, such as Figure 5C As shown, the intranet access device 507 of POP1 and the intranet access device 508 of POP1 are interconnected by IPSec tunnel to form a network. In other embodiments, the network can also be formed by the POP's drainage device and the intranet access device, that is, IPSec-DP, such as Figure 5D As shown, the intranet access device 509 of POP1 is connected to the traffic diversion networking device 510 of POP2; the intranet access device 511 of POP2 is connected to the traffic diversion networking device 512 of POP1.
[0139] When users in a branch of an enterprise or users are on a business trip, the operator of the network they access is often different from the operator of the enterprise's internal resource network. At this time, the access delay may increase due to the cross-operator connection, affecting the access experience.
[0140] Figure 5E A schematic diagram of a cross-operator and cross-regional networking architecture provided in an embodiment of the present application, such as Figure 5E As shown, there is an optimal line transmission detection between each PC and the POP network 501 of the SASE cloud service, and a connection with the operator is established between PC1 and the nearest POP1, thereby reducing the access delay across operators. For the resources of the target application 503, the user's access device also establishes a connection with the intranet access device of the nearest POP2, thereby reducing the access delay across operators. In this way, the cross-operator access such as telecommunications access to mobile is transformed into telecommunications (PC1) -> telecommunications (POP1) -> scheduling within the network -> mobile (POP2) -> mobile (resources), thereby reducing the access delay across operators. After the traffic arrives at the boarding point, the cross-regional transmission delay is reduced through the efficient and intelligent routing, CDN, stream caching, protocol optimization and other WAN transmission technologies between POP networks, as well as the dedicated line interconnection between POP networks planned in the future. As Fig. 5F As shown, the cross-operator and cross-region access process includes the following steps S550 to S570:
[0141] Step S550, a tunnel connection with the operator is established between the PC and the nearest POP;
[0142] Step S560: A tunnel connection is established between the user's intranet resource access device and the intranet access device of the nearest POP node.
[0143] Step S570: After the traffic is loaded at the nearest POP, it is scheduled by the POP network.
[0144] In the embodiment of the present application, after the POP network is established, the CDN and stream caching capabilities between POPs in the POP network can effectively reduce the traffic transmission within POPs across regions, greatly save POP inbound and outbound traffic bandwidth, and reduce the cost of building a SASE cloud platform.
[0145] Whether it is Internet access or private access, in addition to the access experience, security is also a top priority. Scanning security components takes time, especially for components with high security levels and multiple security scan types. Security and access are often not perfect, which either reduces the user experience of accessing resources or reduces the user's security. Through acceleration between networks, access latency is effectively reduced, which also gains a lot of processing time for many security components.
[0146] Fig. 5F A schematic diagram of the software architecture of the network implementation based on the security engine provided in the embodiment of the present application, such as Fig. 5F In the networking implementation scheme shown, the networking device 505 of POP1 forwards the traffic to the security engine 513, which scans the traffic and then transfers it back to the networking device 505. The networking device 506 of POP2 forwards the traffic to the security engine 514, which scans the traffic and then transfers it back to the networking device 505.
[0147] In this way, by accessing a security engine such as the FlowD security stack within the network, it is possible to provide security capabilities including intrusion detection and / or data leakage prevention detection and / or Internet behavior management and / or ransomware detection and / or USB flash drive management, thereby effectively preventing data leakage and reducing the problem of malicious request blocking.
[0148] In the related technologies, the SASE solution only provides POP access nearby, and the nearest POP directly connects to the user's intranet resources. The quality of the network cannot be guaranteed, and cross-operator acceleration is currently not possible. When a trusted PC working from home initiates a malicious request, the related technology solution cannot perform intrusion detection and data leakage prevention detection, or even if it does, it will cause greater access delays. When the nearest POP fails, the user loses connection with the intranet resources.
[0149] The embodiments of the present application propose a method and system for securely and quickly accessing private resources. The method and system are configured by combining the global POPs of SASE into a large POP network to provide intelligent routing (with additional dedicated line interconnection), stream caching, CND acceleration (distribution of static resources of URLs such as various types of images, html, css, js, etc., and distribution of static content of mobile application APPs such as installation package apk files, pictures and videos in APPs, etc.), protocol optimization, stream compression and other capabilities, and provide security capability detection within the POP point to provide a fast and secure access mode.
[0150] Based on the foregoing embodiments, an embodiment of the present application provides a resource access device, which includes the modules included and can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0151] Figure 6 A schematic diagram of the composition structure of a resource access device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the resource access device 600 includes: a receiving module 610, a first determining module 620 and a scheduling module 630, wherein:
[0152] The receiving module 610 is used to receive user data sent by the traffic diversion device, wherein the user data includes a resource identifier;
[0153] The first determination module 620 is used to determine the target access POP node corresponding to the resource identifier according to the correspondence between the to-be-accessed resource and the access POP node;
[0154] The scheduling module 630 is used to send the user data to the target access POP node according to the optimal communication path, so as to access the resource corresponding to the resource identifier through the target access POP node.
[0155] In some possible embodiments, the scheduling module 630 is also used to send the user data to the POP node corresponding to the next hop path based on the optimal communication path when the target access POP node and the drainage POP node are not the same node, so that the POP node corresponding to the next hop path forwards the user data based on the optimal communication path until the user data is sent to the target access POP node.
[0156] In some possible embodiments, the device 600 also includes a security detection module for performing a security detection on the user data, and when the result of the security detection is normal, executing the step of sending the user data to the target access POP node according to the optimal communication path.
[0157] In some possible embodiments, the device 600 also includes an optimized transmission module for optimizing the protocol and / or data volume of the user data based on the type of the user data; and for the optimized user data, performing an operation of sending the user data to the target access POP node according to the optimal communication path.
[0158] In some possible embodiments, the scheduling module is further used to send the user data to the target access POP node via a line of the same operator in the optimal communication path.
[0159] The description of the above device embodiment is similar to the description of the above-mentioned method embodiment on the side of the drainage POP node, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided by the embodiment of the present disclosure can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0160] Based on the foregoing embodiments, an embodiment of the present application provides a resource access device, which includes the modules included and can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit, a microprocessor, a digital signal processor or a field programmable gate array, etc. Figure 7 A schematic diagram of the composition structure of a resource access device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the resource access device 700 includes: a second determination module 710, an acquisition module 720, and a sending module 730, wherein:
[0161] The second determination module 710 is used to determine the correspondence between the to-be-accessed resource and the accessed POP node based on a preset condition;
[0162] The acquisition module 720 is used to acquire the optimal communication path between each of the POP nodes and the other POP nodes;
[0163] The sending module 730 is used to send the corresponding relationship and the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes, so that when the POP node receives the user data sent by the drainage device, it sends the user data to the target access POP node according to the corresponding relationship and the optimal communication path; wherein the user data includes a resource identifier; the target access POP node is determined based on the corresponding relationship between the resource and the access POP node.
[0164] In some possible embodiments, the central end sends access information to the drainage device, and the access information includes a drainage POP node that receives the user data. The device 700 also includes: a POP node drift module, which is used to send the POP node corresponding to the next hop path of the drainage POP node as a new drainage POP node to the drainage device when the drainage POP node is abnormal, so that the drainage device can drain the user data to the new drainage POP node.
[0165] The description of the above device embodiment is similar to the description of the above center-side method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided by the embodiment of the present disclosure can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0166] It should be noted that in the embodiment of the present application, if the above-mentioned resource access method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.
[0167] An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, it implements some or all of the steps in the above-mentioned method for diverting POP nodes; or implements some or all of the steps in the above-mentioned method for the center end.
[0168] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above-mentioned method for diverting traffic on the POP node side are implemented; or some or all of the steps in the above-mentioned method on the center end side are implemented. The computer-readable storage medium can be transient or non-transient.
[0169] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps in the above-mentioned method for diverting traffic on the POP node side; or implements some or all of the steps in the above-mentioned method on the center end side.
[0170] An embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, it implements some or all of the steps in the above-mentioned POP node side method; or implements some or all of the steps in the above-mentioned center end side method. The computer program product can be implemented specifically through hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK) and the like.
[0171] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.
[0172] It should be noted that Figure 8 A schematic diagram of a hardware entity of a computer device in an embodiment of the present application is shown in FIG. Figure 8 As shown, the hardware entity of the computer device 800 includes: a processor 801, a communication interface 802 and a memory 803, wherein:
[0173] Processor 801 generally controls the overall operation of computer device 800 .
[0174] The communication interface 802 enables the computer device to communicate with other terminals or servers through a network.
[0175] The memory 803 is configured to store instructions and applications executable by the processor 801, and can also cache data to be processed or processed by the processor 801 and each module in the computer device 800 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data transmission can be performed between the processor 801, the communication interface 802, and the memory 803 through the bus 804.
[0176] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments.
[0177] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0178] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0179] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0180] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0181] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0182] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0183] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A resource access method, characterized in that: Applied to a traffic diversion POP node in an access service platform, wherein each POP node in the access service platform is interconnected, and the access service platform further comprises a traffic diversion device and a central end, wherein the traffic diversion device is used to divert user data to the traffic diversion POP node for processing, and the central end is used to send a corresponding relationship between a resource to be accessed and an access POP node to each of the POP nodes, and to periodically send an optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes; the method comprises: Receiving user data sent by the traffic diversion device, wherein the user data includes a resource identifier; Determine the target access POP node corresponding to the resource identifier according to the correspondence between the resource to be accessed and the access POP node; In the optimal communication path, the user data is sent to the target access POP node through the same operator line, so as to access the resource corresponding to the resource identifier through the target access POP node; Among them, there are multiple access POP nodes corresponding to a resource to be accessed. When the target access POP node is abnormal, another access POP node among the multiple access POP nodes except the target access POP node is used as a new target access POP node.
2. The method according to claim 1, characterized in that Before sending the user data to the target access POP node according to the optimal communication path, the method further includes: Optimizing the protocol and / or data volume of the user data based on the type of the user data; For the optimized user data, an operation of sending the user data to the target access POP node according to the optimal communication path is performed.
3. A resource access method, characterized in that: Applied to a central end in an access service platform, the access service platform includes a plurality of POP nodes and a flow diversion device, the plurality of POP nodes are interconnected, the flow diversion device is used to divert user data to the POP nodes for processing, the method includes: Determine the correspondence between the resource to be accessed and the access POP node based on the preset conditions; Obtaining an optimal communication path between each of the POP nodes and the remaining POP nodes; Sending the corresponding relationship to each of the POP nodes, and regularly sending the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes, so that when the POP node receives the user data sent by the drainage device, it sends the user data to the target access POP node through the same operator line in the optimal communication path according to the corresponding relationship; wherein the user data includes a resource identifier; the target access POP node is determined according to the corresponding relationship between the resource and the access POP node; Among them, the number of access POP nodes corresponding to a resource to be accessed is multiple, and the multiple access POP nodes are used to select another access POP node other than the target access POP node as a new target access POP node when the target access POP node is abnormal.
4. The method according to claim 3, characterized in that: The central end sends access information to the traffic diversion device, where the access information includes a traffic diversion POP node that receives the user data, and the method further includes: In the event that the drainage POP node is abnormal, the POP node corresponding to the next-hop path of the drainage POP node is sent to the drainage device as a new drainage POP node, so that the drainage device can drain the user data to the new drainage POP node.
5. An access service platform, characterized in that: The access service platform includes multiple POP nodes, a traffic diversion device and a central end, the central end is connected to the traffic diversion device and each of the POP nodes, the traffic diversion device is connected to each of the POP nodes, and the multiple POP nodes are connected to each other; The central end is used to send access information to the traffic diversion device; and send the corresponding relationship between the to-be-accessed resources and the accessed POP nodes to each of the POP nodes, and regularly send the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes; The traffic diversion device is used to divert user data to the diversion POP node; the user data includes a resource identifier; The drainage POP node is used to determine the target access POP node corresponding to the resource identifier according to the corresponding relationship, and send the user data to the target access POP node through the same operator line in the optimal communication path; wherein, the number of access POP nodes corresponding to a resource to be accessed is multiple, and in the case that the target access POP node is abnormal, another access POP node among the multiple access POP nodes except the target access POP node is used as a new target access POP node; The target access POP node is used to send the user data to the terminal where the resource corresponding to the resource identifier is located.
6. A resource access device, characterized in that: Applied to the drainage POP node in the access service platform, each POP node in the access service platform is connected to each other, and the access service platform also includes a drainage device and a central end, the drainage device is used to drain user data to the drainage POP node for processing, and the central end is used to send the corresponding relationship between the to-be-accessed resources and the access POP node to each of the POP nodes, and regularly send the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes; The device comprises: A receiving module, used for receiving user data sent by a traffic diversion device, wherein the user data includes a resource identifier; A first determination module, used to determine the target access POP node corresponding to the resource identifier according to the correspondence between the resource to be accessed and the access POP node; A scheduling module, configured to send the user data to the target access POP node through a line of the same operator in the optimal communication path, so as to access the resource corresponding to the resource identifier through the target access POP node; Among them, there are multiple access POP nodes corresponding to a resource to be accessed. When the target access POP node is abnormal, another access POP node among the multiple access POP nodes except the target access POP node is used as a new target access POP node.
7. A resource access device, characterized in that: The device is applied to a central end in an access service platform, wherein the access service platform includes a plurality of POP nodes and a flow diversion device, wherein the plurality of POP nodes are interconnected, and the flow diversion device is used to divert user data to the POP nodes for processing, and the device includes: A second determination module, used to determine the correspondence between the to-be-accessed resource and the accessed POP node based on a preset condition; An acquisition module, used for acquiring an optimal communication path between each of the POP nodes and the other POP nodes; A sending module, used for sending the corresponding relationship to each of the POP nodes, and regularly sending the optimal communication path between the corresponding POP node and the remaining POP nodes to each of the POP nodes, so that when the POP node receives the user data sent by the drainage device, it sends the user data to the target access POP node through the same operator line in the optimal communication path according to the corresponding relationship; wherein the user data includes a resource identifier; the target access POP node is determined according to the corresponding relationship between the resource and the access POP node; Among them, the number of access POP nodes corresponding to a resource to be accessed is multiple, and the multiple access POP nodes are used to select another access POP node other than the target access POP node as a new target access POP node when the target access POP node is abnormal.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein: When the processor executes the program, the steps of the method described in any one of claims 1 to 2 are implemented; or the steps of the method described in claim 3 or 4 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 2 are implemented; or the steps of the method described in claim 3 or 4 are implemented.
Citation Information
Patent Citations
VPN network construction method and system
CN106789537A
Traffic engineering path establishing method, device and system
CN111355657A
Data transmission method and device, computer equipment and storage medium
CN112256495A
Path acquisition method, access method, device and equipment
CN113300962A
Edge drainage opening method, terminal and capability opening platform
CN113315796A
