Game acceleration method and apparatus for edge computing scenario
By actively discovering the acceleration server and process list in the edge computing scenario, matching and forwarding traffic processes, and combining the method of filtering blacklists, the problems of difficulty in maintaining traditional IP address shunts and inefficiency are solved, and efficient and accurate game acceleration effects are achieved.
Patent Information
- Application Number
- PCT/CN2024/136523
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-13
- Filing Date
- 2024-12-03
- Publication Date
- 2025-06-19
AI Technical Summary
In the edge computing scenario, the traditional IP address-based game acceleration method has problems of maintenance difficulties and inefficiency, resulting in unstable acceleration effects.
By actively discovering the acceleration server address and the list of processes to be accelerated in the cluster, obtain the traffic process and match the list of processes to be accelerated, forward it to the acceleration server, establish a filtered blacklist to filter overseas traffic, and achieve accurate traffic shunt.
It improves the performance limit of game acceleration, achieves more accurate traffic diversion, reduces maintenance costs and labor costs, and improves user experience and resource utilization of edge nodes.
Smart Images

Figure CN2024136523_19062025_PF_FP_ABST
Abstract
Description
A game acceleration method and device for edge computing scenarios
[0001] This application claims priority to a Chinese patent application filed with the China Patent Office on December 13, 2023, with application number 2023117067101 and entitled “A Game Acceleration Method and Device for Edge Computing Scenario,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present application relates to the field of network technology and security, and in particular to a game acceleration method and device for edge computing scenarios. Background Art
[0003] As cloud gaming, a service with extremely high latency requirements, has seen renewed vitality, the cloud esports technology derived from this trend has also coincided with the use of edge computing. Cloud esports, combined with edge computing, can deploy service machines closer to users, significantly reducing latency in accessing these machines and providing a user experience closer to that of a local physical machine. Factors influencing user experience include, in addition to latency in accessing the cloud esports VM, latency between the VM and the game server. While from a traditional esports perspective, this issue can be effectively addressed by accelerator vendors, from the perspective of edge computing-based cloud esports services, accelerator solutions from major vendors are still relatively primitive, presenting two issues. First, users must explicitly log in to the accelerator and select the game to be accelerated in order to achieve acceleration. Second, from a cloud computing perspective, accelerators send game traffic to the vendor's central servers via network technology, where it is then forwarded based on the route and game. This significantly increases overall network latency and reduces the effectiveness of acceleration. Traditional game acceleration methods, either based on LAN traffic diversion or unified diversion at the egress, are all based on IP address diversion implementation methods, which can solve the diversion problem at the network layer.
[0004] However, game application-related information is lost at the network layer, leading to two problems. First, most online game servers use raw IPv4 or v6 addresses for connection, rather than domain names, and these IP addresses change frequently. Second, the labor and technical costs required to comprehensively and dynamically maintain the list of IP addresses that require acceleration are extremely high. Based on these two points, traditional IP address-based traffic diversion methods are likely to fail if not maintained in a timely manner. Furthermore, collecting the latest IP addresses of major game servers is a complex and often inefficient process. Summary of the Invention
[0005] In view of the above deficiencies in the prior art, the purpose of this application is to provide a game acceleration method and device for edge computing scenarios.
[0006] The first aspect of the present application provides a game acceleration method for edge computing scenarios, comprising:
[0007] S1: Actively discovers the acceleration server address and the list of processes to be accelerated within the cluster;
[0008] S2: Obtaining traffic processes in traffic generation, and forwarding traffic processes that match the list of processes to be accelerated to the acceleration server;
[0009] S3: Establish a filtering blacklist, filter the traffic processes received by the acceleration server through the filtering blacklist, retain compliant IPs and compliant domain names, and obtain safe traffic processes;
[0010] S4: Obtain the target address corresponding to the security flow process, and send the security flow process corresponding to the target address that can be directly reached through the local area network to the corresponding device.
[0011] Furthermore, in step S1, the acceleration server address and the list of processes to be accelerated are actively discovered through the mDNS service.
[0012] Furthermore, the mDNS service is provided based on the Windows kernel in the cloud e-sports virtual machine.
[0013] Furthermore, step S2 further includes:
[0014] S21: Configuring a process service to accelerate traffic using the acceleration server address and the list of processes to be accelerated;
[0015] S22: monitoring the accelerated process service to obtain the traffic process in which traffic is being generated;
[0016] S23: Match the traffic process with the list of processes to be accelerated. If they match, execute step S24; if not, execute step S25.
[0017] S24: Forwarding the traffic processes matching the list of processes to be accelerated to the acceleration server;
[0018] S25: Deny acceleration to traffic processes that directly access the acceleration server.
[0019] Furthermore, step S25 further includes:
[0020] The traffic processes that directly access the acceleration server and do not match the list of processes to be accelerated are forwarded according to the inherent method of the system.
[0021] Furthermore, the filtering blacklist in step S3 is used to filter overseas traffic.
[0022] Furthermore, step S4 further includes:
[0023] If the target address needs to be reached through the Internet, the security traffic process corresponding to the target address that needs to be reached through the Internet is sent to the CDN access node.
[0024] A second aspect of the present application provides a game acceleration device for an edge computing scenario, comprising:
[0025] Service discovery module: used to proactively discover the acceleration server addresses and the list of processes to be accelerated within the cluster;
[0026] The first traffic forwarding module is used to obtain the traffic process in the process of traffic generation and forward the traffic process matching the list of processes to be accelerated to the acceleration server;
[0027] Traffic filtering module: used to establish a filtering blacklist, filter the traffic processes received by the acceleration server through the filtering blacklist, retain compliant IPs and compliant domain names, and obtain safe traffic processes;
[0028] The second traffic forwarding module is used to obtain the target address corresponding to the security traffic process, and send the security traffic process corresponding to the target address that can be directly reached through the local area network to the corresponding device.
[0029] A third aspect of the present application provides a game acceleration device for an edge computing scenario, including:
[0030] a memory and at least one processor, wherein instructions are stored in the memory;
[0031] At least one of the processors calls the instructions in the memory so that the document database audit device executes a game acceleration method for an edge computing scenario as described in any one of the above items.
[0032] In a fourth aspect, the present application provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed by a processor, a game acceleration method for an edge computing scenario as described in any one of the above items is implemented.
[0033] The beneficial effects of this application are as follows:
[0034] This application provides a game acceleration method and device for edge computing scenarios, aiming to enhance the user's game acceleration experience. This application distributes the computing power required for the original centralized diversion acceleration method to each GPU instance, while retaining centralized control methods. Compared with the original centralized diversion method, it can improve the performance ceiling, better utilize the computing power of terminal devices, and achieve more accurate traffic diversion.
[0035] This application greatly enriches the resource usage scenarios of edge computing nodes, and while greatly improving the user experience, it also greatly improves the resource utilization of edge nodes. At the same time, this application combines virtualization and operating system kernel technology to implement a process-based diversion method, which is different from the traditional user-state hook acceleration method. It has better concealment and versatility, can avoid some game anti-cheating mistaken killing behaviors, and has a better acceleration success rate. On the one hand, the process-based diversion method has a more accurate diversion effect, which can accurately distinguish game traffic from video and live broadcast traffic, and prevent invalid traffic from being transmitted to the acceleration server. On the other hand, compared with maintaining massive server IP addresses, maintaining the game process list is simpler and more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings are only for the purpose of illustrating specific embodiments and are not to be considered as limiting the present application. Throughout the drawings, the same reference numerals represent the same components. Obviously, the drawings described below are only some of the embodiments described in the present application. Those skilled in the art can also derive other drawings based on these drawings.
[0037] FIG1 is a flow chart of a game acceleration method for an edge computing scenario provided by an embodiment of the present application;
[0038] FIG2 is a schematic diagram of a game acceleration device for an edge computing scenario provided by an embodiment of the present application.
[0039] Reference numerals: 100, service discovery module; 200, first traffic forwarding module; 300, traffic filtering module; 400, second traffic forwarding module. DETAILED DESCRIPTION
[0040] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. It should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without making creative work should fall within the scope of protection of this application.
[0041] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in this application.
[0042] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application. In addition, the terms "first", "second" and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance. The terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be a communication between the internal parts of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0043] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of methods and systems consistent with certain aspects of the present application, as detailed in the appended claims.
[0044] Device embodiment
[0045] A second aspect of the present application provides a game acceleration device for an edge computing scenario, comprising:
[0046] Service discovery module 100: used to actively discover the acceleration server address and the list of processes to be accelerated in the cluster;
[0047] Furthermore, the service discovery module mainly combines VPC technology. Using the service discovery module can greatly improve the automation and management level of acceleration services within the cluster. On the one hand, this LAN discovery technology of MDNS technology does not require any configuration of the system. It can directly discover the corresponding service based on a simple mechanism without manual setup and maintenance. On the other hand, this centralized management enables the acceleration server address and acceleration process list to be quickly broadcast to all cloud e-sports virtual machines in the cluster when they change, allowing them to quickly perceive changes and respond quickly.
[0048] The first traffic forwarding module 200 is configured to obtain traffic processes in the process of traffic generation and forward traffic processes matching the list of processes to be accelerated to the acceleration server;
[0049] Traffic filtering module 300: used to establish a filtering blacklist, filter the traffic processes received by the acceleration server through the filtering blacklist, retain compliant IPs and compliant domain names, and obtain safe traffic processes;
[0050] The second traffic forwarding module 400 is used to obtain the target address corresponding to the security traffic process, and send the security traffic process corresponding to the target address that can be directly reached through the local area network to the corresponding device.
[0051] A third aspect of the present application provides a game acceleration device for an edge computing scenario, including:
[0052] a memory and at least one processor, wherein instructions are stored in the memory;
[0053] At least one of the processors calls the instructions in the memory so that the document database audit device executes a game acceleration method for an edge computing scenario as described in any one of the following.
[0054] In some embodiments, the device may vary significantly due to different configurations or performance, and may include one or more processors, for example, one or more processors and memories, and one or more storage media for storing applications or data, such as one or more mass storage devices. The memories and storage media may be either transient or persistent storage. The program stored on the storage medium may include one or more modules, each of which may include a series of instruction operations on the device. Furthermore, the processor may be configured to communicate with the storage medium and execute the series of instruction operations on the storage medium on the device.
[0055] The device may also include one or more power supplies, one or more wired or wireless network interfaces, one or more input and output interfaces, and / or one or more operating systems, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that the device structure shown above does not limit the device, and the device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0056] A fourth aspect of the present application provides a computer-readable storage medium having instructions stored thereon, which, when executed by a processor, implement a game acceleration method for an edge computing scenario as described in any one of the following.
[0057] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0058] If the integrated unit is implemented in the form of a software functional unit and sold or passed as an independent product, it can be stored in a computer-readable storage medium. Based on the understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media that can store program code.
[0059] Method Example
[0060] A first aspect of the present application provides a game acceleration method for an edge computing scenario, which is implemented based on the above-mentioned game acceleration device for an edge computing scenario, including:
[0061] S1: Actively discovers the acceleration server address and the list of processes to be accelerated within the cluster;
[0062] In step S1, the acceleration server address and the list of processes to be accelerated are actively discovered through the mDNS service.
[0063] The mDNS service is provided based on the Windows kernel in the cloud e-sports virtual machine.
[0064] Furthermore, this stage is implemented through the service discovery module. The main function of the service discovery module is to provide the process traffic forwarding module in the cluster with the ability to automatically discover acceleration servers and acceleration process lists. By combining the service discovery module with VPC technology, the cloud e-sports virtual machines in the same VPC can automatically obtain the acceleration servers in the cluster and the list of processes that need to be accelerated.
[0065] Furthermore, the expression of the discovery process in step S1 is: proxy_addr, boost_processes_list←Mdns_Discover(C);
[0066] Among them, Mdns_Discover(C) indicates the use of Mdns technology to perform LAN discovery on the content in cluster C, proxy_addr indicates the acceleration server address, and boost_processes_list indicates the process acceleration list.
[0067] S2: Obtaining traffic processes in traffic generation, and forwarding traffic processes that match the list of processes to be accelerated to the acceleration server;
[0068] Wherein, step S2 further includes:
[0069] S21: Configuring a process service to accelerate traffic using the acceleration server address and the list of processes to be accelerated;
[0070] S22: monitoring the accelerated process service to obtain the traffic process in which traffic is being generated;
[0071] S23: Match the traffic process with the list of processes to be accelerated. If they match, execute step S24; if not, execute step S25.
[0072] S24: Forwarding the traffic processes matching the list of processes to be accelerated to the acceleration server;
[0073] S25: Deny acceleration to traffic processes that directly access the acceleration server.
[0074] Wherein, step S25 further includes:
[0075] The traffic processes that directly access the acceleration server and do not match the list of processes to be accelerated are forwarded according to the inherent method of the system.
[0076] Furthermore, the process traffic acceleration service itself is configured through the proxy_addr and boost_processes_list found in step S1. Then, when traffic is generated, the process name generating the traffic is queried to see if it matches the process in the process acceleration list boost_processes_list. If it matches, it is forwarded to the acceleration server proxy_addr in the cluster. At the same time, for security reasons, except for the traffic from the process traffic forwarding module itself accessing the acceleration server, other traffic directly accessing the acceleration server is directly rejected.
[0077] The forwarding process is: if match(process) forward(proxy_addr,process) else ignore
[0078] Among them, match(process) means matching in the process acceleration list boost_processes_list, and forward(proxy_addr,process) means forwarding the flow of a specific process to the acceleration server proxy_addr. If the process does not need to be accelerated, it is directly transmitted through the system's original method.
[0079] S3: Establish a filtering blacklist, filter the traffic processes received by the acceleration server through the filtering blacklist, retain compliant IPs and compliant domain names, and obtain safe traffic processes;
[0080] The filtering blacklist in step S3 is used to filter overseas traffic.
[0081] Furthermore, this stage is implemented through a traffic filtering module, which mainly filters the traffic sent to the acceleration server. This module is mainly aimed at overseas traffic. In the game acceleration scenario, there are situations where the game servers are located abroad. If these servers are directly connected to domestically, there will often be a high delay. Using a cross-border dedicated line can greatly improve the gaming experience and reduce delays, but it will also bring some security and compliance risks. Therefore, a traffic filtering module is needed to filter some non-compliant IP and domain name accesses to prevent violations.
[0082] Specifically, the traffic filtering module maintains a blacklist block_res_list. The traffic generated by the IP and domain names on this blacklist will be directly discarded and will not be sent to the acceleration server. This whitelist strictly restricts the entrance and superimposes blacklist filtering, which can greatly prevent the occurrence of security and compliance incidents and directly kill illegal traffic within the cluster.
[0083] S4: Obtain the target address corresponding to the security flow process, and send the security flow process corresponding to the target address that can be directly reached through the local area network to the corresponding device.
[0084] Wherein, step S4 further includes:
[0085] If the target address needs to be reached through the Internet, the security traffic process corresponding to the target address that needs to be reached through the Internet is sent to the CDN access node.
[0086] Traffic forwarding's main function is to divert traffic based on various characteristics. It is the final step in cluster acceleration. Through the processing of the traffic forwarding module, traffic that can be directly reached within the LAN will be directly forwarded to the corresponding machine. If it needs to go out of the network, it will be sent directly to the nearest CDN access node, minimizing the link length, reducing latency, and improving the acceleration effect.
[0087] In combination with the above-mentioned game acceleration method and device for edge computing scenarios provided by this application, extremely high-speed and user-imperceptible game acceleration services can be achieved, and the network and virtualization base provided by edge computing are cleverly combined to greatly improve the user experience of cloud e-sports.
[0088] Compared with the traditional accelerator method, this application can achieve a unified user-imperceptible acceleration effect, and thanks to the edge diversion of traffic, it has better acceleration effect and lower latency; in addition, traffic forwarding based on the kernel level has better concealment and versatility, and has a higher acceleration success rate than the user-state Hook method. This application's diversion acceleration method based on process traffic greatly improves the maintainability of the overall solution, greatly saves subsequent maintenance manpower, and can have a more comprehensive acceleration effect; secondly, the Mdns service discovery method proposed in this application can achieve the overall automation level to the greatest extent, and can easily distribute and change configurations.
[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of this application, and are not intended to limit them. Although this application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not deviate from the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of this application. Any changes or replacements that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be covered by the scope of protection of this application.
Claims
1. A game acceleration method for edge computing scenarios, comprising: S1: Actively discover the acceleration server address and the list of processes to be accelerated in the cluster; S2: Obtaining the traffic process in traffic generation, and forwarding the traffic process matching the list of processes to be accelerated to the acceleration server; S3: Establish a filtering blacklist, filter the traffic process received by the acceleration server through the filtering blacklist, retain the compliant IP and compliant domain name, and obtain a safe traffic process; S4: Obtain the target address corresponding to the secure traffic process, and send the secure traffic process corresponding to the target address that can be directly reached through the local area network to the corresponding device.
2. The game acceleration method for edge computing scenarios according to claim 1, wherein: In step S1, the acceleration server address and the list of processes to be accelerated are actively discovered through the mDNS service.
3. The game acceleration method for edge computing scenarios according to claim 2, wherein: The mDNS service is provided based on the Windows kernel in the cloud e-sports virtual machine.
4. The game acceleration method for edge computing scenarios according to claim 1, wherein: Step S2 further comprises: S21: Configuring a process service to accelerate traffic through the acceleration server address and the list of processes to be accelerated; S22: monitoring the accelerated process service to obtain the traffic process in which traffic is being generated; S23: Match the traffic process with the list of processes to be accelerated, if they match, execute step S24, if they do not match, execute step S25; S24: forwarding the traffic process matching the list of processes to be accelerated to the acceleration server; S25: Deny acceleration to the traffic process that directly accesses the acceleration server.
5. The game acceleration method for edge computing scenarios according to claim 4, wherein: Step S25 also includes: The traffic process that directly accesses the acceleration server and does not match the list of processes to be accelerated is forwarded according to the inherent method of the system.
6. The game acceleration method for edge computing scenarios according to claim 1, wherein: The filtering blacklist in step S3 is used to filter overseas traffic.
7. The game acceleration method for edge computing scenarios according to claim 1, wherein: Step S4 also includes: If the target address needs to be reached through the network, the security traffic process corresponding to the target address that needs to be reached through the network is sent to the CDN access node.
8. A game acceleration device for edge computing scenarios, comprising: Service discovery module: used to actively discover the acceleration server address and the list of processes to be accelerated in the cluster; The first traffic forwarding module is used to obtain the traffic process in traffic generation, and forward the traffic process matching the list of processes to be accelerated to the acceleration server; Traffic filtering module: used to establish a filtering blacklist, filter the traffic process received by the acceleration server through the filtering blacklist, retain the compliant IP and compliant domain name, and obtain a safe traffic process; The second traffic forwarding module is used to obtain the target address corresponding to the security traffic process, and send the security traffic process corresponding to the target address that can be directly reached through the local area network to the corresponding device.
9. A game acceleration device for edge computing scenarios, comprising: A memory and at least one processor, wherein instructions are stored in the memory; At least one of the processors calls the instructions in the memory so that the document database audit device executes a game acceleration method for an edge computing scenario as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing instructions, which, when executed by a processor, implement the game acceleration method for the edge computing scenario as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Acceleration method and system for online game and online game acceleration server
CN103957208A
Service traffic routing method and system, and mobile electronic equipment
CN107623634A
Application acceleration method, user side network equipment and system
CN112995049A
Game acceleration method and device for edge computing scene
CN117714514A
Using intent to access in discovery protocols in a network for analytics
US20200137021A1