CN115501580A - Game acceleration method, optical line terminal and storage medium - Google Patents

Game acceleration method, optical line terminal and storage medium Download PDF

Info

Publication number
CN115501580A
CN115501580A CN202110696868.XA CN202110696868A CN115501580A CN 115501580 A CN115501580 A CN 115501580A CN 202110696868 A CN202110696868 A CN 202110696868A CN 115501580 A CN115501580 A CN 115501580A
Authority
CN
China
Prior art keywords
game
acceleration
private network
virtual private
protocol address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110696868.XA
Other languages
Chinese (zh)
Other versions
CN115501580B (en
Inventor
伍子龙
周祺
陈勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110696868.XA priority Critical patent/CN115501580B/en
Publication of CN115501580A publication Critical patent/CN115501580A/en
Application granted granted Critical
Publication of CN115501580B publication Critical patent/CN115501580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/33Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/358Adapting the game course according to the network or server load, e.g. for reducing latency due to different connection speeds between clients
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/40Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
    • A63F2300/407Data transfer via internet
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/534Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for network load management, e.g. bandwidth optimization, latency reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a game acceleration method, an optical line terminal and a storage medium, wherein the optical line terminal is provided with a game acceleration plug-in, and the method comprises the following steps: acquiring a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using a game acceleration plug-in; establishing a channel between the game acceleration plug-in and a target virtual private network gateway by using the game acceleration plug-in; under the condition of receiving game flow of a game to be accelerated from a physical address of a home gateway, acquiring a target protocol address carried in the game flow; and under the condition that the game server protocol address list comprises the destination protocol address, forwarding the game flow to the target virtual private network gateway through the channel so that the target virtual private network gateway forwards the game flow to the game server corresponding to the destination protocol address, and finishing the acceleration of the game. Through the technical scheme, the efficiency of game acceleration is improved.

Description

Game acceleration method, optical line terminal and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a game acceleration method, an optical line terminal, and a storage medium.
Background
Along with the continuous development of social economy, the entertainment modes of people are increased continuously, wherein, the network games are loved by a large number of players, but as the local network of the players and the game server network may not be the network of the same operator, or the local network of the players is poor, the network delay is large, the packet loss is serious, and the like, thereby causing the game card to be pause and the experience of playing the network games to be poor.
At present, aiming at the above problems, a Virtual Private Network (VPN) is generally used for acceleration of a game, and the acceleration mode mainly involves two types, one is to install acceleration software at a terminal for playing the game, the operation of the scheme is cumbersome for a user, and the running of the acceleration software installed on the terminal occupies resources of the game terminal, and the other scheme is to install a plug-in on a router, the scheme requires the user to purchase a router of a specific model, and the installation of the plug-in on the gateway occupies a CPU and a memory of the gateway, and the problem of game blocking is easily caused for a gateway with a low hardware configuration.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present invention desirably provide a game acceleration method, an optical line terminal, and a storage medium, where a game acceleration plug-in is installed on the optical line terminal, and a fast and dedicated game traffic forwarding path is established for the optical line terminal and a game server by using the game acceleration plug-in, so as to improve game acceleration efficiency.
The technical scheme of the invention is realized as follows:
the invention provides a game acceleration method, which is applied to an optical line terminal, wherein the optical line terminal is provided with a game acceleration plug-in, and the method comprises the following steps:
acquiring a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using the game acceleration plug-in;
establishing a channel between the game acceleration plug-in and a target virtual private network gateway by using the game acceleration plug-in;
under the condition that game flow of the game to be accelerated from the physical address of the home gateway is received, acquiring a destination protocol address carried in the game flow;
and under the condition that the game server protocol address list comprises the destination protocol address, forwarding the game flow to the target virtual private network gateway through the channel so that the target virtual private network gateway forwards the game flow to a game server corresponding to the destination protocol address, and finishing game acceleration.
In the method, the obtaining, by using the game acceleration plug-in, a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated includes:
receiving game identification information and the home gateway physical address which are sent by a game acceleration platform and correspond to the game to be accelerated by utilizing the game acceleration plug-in;
and acquiring a game server protocol address list corresponding to the game identification information from a virtual private network server by using the game acceleration plug-in, and determining the game server protocol address list as the game server protocol address list.
In the above method, before the establishing, by the game acceleration plug-in, a channel between the game acceleration plug-in and a target virtual private network gateway, the method further includes:
acquiring at least one virtual private network gateway corresponding to the optical line terminal from a virtual private network server by using the game acceleration plug-in;
obtaining the distance between the optical line terminal and each gateway in the at least one virtual private network gateway to obtain at least one distance;
determining the target VPN gateway from the at least one VPN gateway according to the at least one distance.
In the above method, the determining the target vpn gateway from the at least one vpn gateway according to the at least one distance includes:
obtaining a minimum distance from the at least one distance;
and determining a virtual private network gateway which is away from the optical line terminal by the minimum distance in the at least one virtual private network gateway as a target virtual private network gateway.
In the above method, after obtaining the destination protocol address from the game traffic, the method further includes:
and under the condition that the game server protocol address list does not comprise the destination protocol address, forbidding forwarding the game flow to the target virtual private network gateway through the channel.
The invention provides an optical line terminal, which is provided with a game acceleration plug-in and comprises:
the acquisition module is used for acquiring a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using the game acceleration plug-in;
the establishing module is used for establishing a channel between the game acceleration plug-in and a target virtual private network gateway by utilizing the game acceleration plug-in;
the processing module is used for acquiring a destination protocol address carried in the game flow under the condition of receiving the game flow of the game to be accelerated from the physical address of the home gateway;
and the forwarding module is used for forwarding the game flow to the target virtual private network gateway through the channel under the condition that the game server protocol address list comprises the destination protocol address, so that the target virtual private network gateway forwards the game flow to a game server corresponding to the destination protocol address, and the game acceleration is completed.
In the terminal, the obtaining module is specifically configured to receive, by using the game acceleration plug-in, game identification information and the home gateway physical address, which are sent by a game acceleration platform and correspond to the game to be accelerated; and acquiring a game server protocol address list corresponding to the game identification information from a virtual private network server by using the game acceleration plug-in, and determining the game server protocol address list as the game server protocol address list.
In the above terminal, further comprising: a determining module, configured to obtain, from a virtual private network server, at least one virtual private network gateway corresponding to the optical line terminal by using the game acceleration plug-in; obtaining the distance between the optical line terminal and each gateway in the at least one virtual private network gateway to obtain at least one distance; determining the target VPN gateway from the at least one VPN gateway according to the at least one distance.
In the above terminal, the determining module is specifically configured to obtain a minimum distance from the at least one distance; and determining the virtual private network gateway which is away from the optical line terminal by the minimum distance in the at least one virtual private network gateway as a target virtual private network gateway.
In the above terminal, the terminal further includes a prohibition module, configured to prohibit forwarding the game traffic to the target virtual private network gateway through the channel when the game server protocol address list does not include the destination protocol address.
The invention provides an optical line terminal, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the game acceleration program stored in the memory so as to realize the game acceleration method.
The present invention provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors, to implement the game acceleration method described above.
The invention provides a game acceleration method, an optical line terminal and a storage medium, wherein the optical line terminal is provided with a game acceleration plug-in, and the method comprises the following steps: acquiring a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using a game acceleration plug-in; establishing a channel between the game acceleration plug-in and a target virtual private network gateway by using the game acceleration plug-in; under the condition of receiving game flow of a game to be accelerated from a physical address of a home gateway, acquiring a target protocol address carried in the game flow; and under the condition that the game server protocol address list comprises the destination protocol address, forwarding the game flow to the target virtual private network gateway through the channel so that the target virtual private network gateway forwards the game flow to the game server corresponding to the destination protocol address, and finishing the acceleration of the game. According to the technical scheme provided by the invention, the game acceleration plug-in is arranged on the optical line terminal, and a rapid and special game flow forwarding path is established for the optical line terminal and the game server by using the game acceleration plug-in, so that the efficiency of game acceleration is improved.
Drawings
Fig. 1 is a schematic flow chart of a game acceleration method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an exemplary game acceleration scenario provided by an embodiment of the present invention;
FIG. 3 is a flow chart illustrating an exemplary game acceleration provided by an embodiment of the present invention;
fig. 4 is a first schematic structural diagram of an optical line terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an optical line terminal according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
The invention provides a game acceleration method, which is applied to an optical line terminal, wherein the optical line terminal is provided with a game acceleration plug-in, and FIG. 1 is a flow schematic diagram of the game acceleration method provided by the embodiment of the invention.
As shown in fig. 1, the method mainly comprises the following steps:
s101, obtaining a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using a game acceleration plug-in.
In the embodiment of the invention, the optical line terminal acquires the game server protocol address list and the home gateway physical address corresponding to the game to be accelerated by using the game acceleration plug-in.
It should be noted that, in an embodiment of the present invention, a game acceleration plug is installed on an Optical Line Terminal (OLT), and the OLT may obtain, by using the installed game acceleration plug, a game server protocol address list of a game to be accelerated and a home gateway physical address, where the game server protocol address list includes at least one game server protocol address.
Specifically, in the embodiment of the present invention, the acquiring, by an optical line terminal, a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using a game acceleration plug-in includes: receiving game identification information and a home gateway physical address which correspond to a game to be accelerated and are sent by a game acceleration platform by using a game acceleration plug-in; and acquiring a game server protocol address list corresponding to the game identification information from the virtual private network server by using the game acceleration plug-in, and determining the game server protocol address list as the game server protocol address list.
It should be noted that, in the embodiment of the present invention, the game acceleration platform may provide a game acceleration applet or a game acceleration application program for the user to log in the broadband account, after the user logs in, the user may see a game list formed by non-accelerated games displayed on the display interface, and after browsing the game list, the user may select a game that needs to be played with the game acceleration service, that is, a game to be accelerated, from the game list through touch operation, and purchase the game acceleration service. In addition, the user can cancel the game acceleration service of the game acceleration service purchased through touch operation, and after the user logs in the game acceleration platform and selects the game to be accelerated, the game acceleration platform can send the game identification information of the game to be accelerated to the game acceleration plug-in to start acceleration.
It should be noted that, in the embodiment of the present invention, the physical address of the home gateway is a physical address of a certain local area network, and all the terminal devices located in the local area network need to transmit data through the physical address of the home gateway in the process of data transmission with the terminal device outside the local area network.
It should be noted that, in the embodiment of the present invention, the game acceleration platform may determine, through the broadband account information logged in by the user, a corresponding home gateway physical address, an optical line terminal, and a connection channel between the game acceleration plug-in installed on the optical line terminal and the acceleration platform, then the acceleration platform sends the home gateway physical address to the optical line terminal, and the optical line terminal receives the home gateway physical address by using the game acceleration plug-in.
It should be noted that, in the embodiment of the present invention, the broadband account information logged in by the user corresponds to the physical address of the home gateway, the optical line terminal, and the connection channel of the game acceleration plug-in installed on the optical line terminal, that is, the broadband account information logged in by the user corresponds to one physical address of the home gateway, one optical line terminal, and the connection channel of the game acceleration plug-in installed on the optical line terminal, and one optical line terminal can receive game traffic sent by multiple physical addresses of the home gateway, that is, one optical line terminal can correspond to multiple physical addresses of the home network.
It should be noted that, in the embodiment of the present invention, after receiving the game identification information corresponding to the game to be accelerated by using the game acceleration plugin, the optical line terminal needs to use the game acceleration plugin to obtain a game server protocol address list corresponding to the game identification information from the virtual private network server, and determine the game server protocol address list as the game server protocol address list, where the game identification information may be identification Information (ID) of the game to be accelerated, for example, the game acceleration plugin may use the game ID to search, from the virtual private network server, game server protocol addresses that can be accessed by the game ID, and compose all accessible game server protocol addresses into the game server protocol address list.
It should be noted that, in the embodiment of the present invention, the virtual private network server stores the game identification information of all games and at least one game server protocol address that each game identification information can access, and since the game server protocol address stored in the virtual private network server is updated in real time, the game server protocol address list obtained by each game identification information from the virtual private network server may be different in different time periods.
S102, establishing a channel between the game acceleration plug-in and the target virtual private network gateway by using the game acceleration plug-in.
In the embodiment of the invention, the optical line terminal utilizes the game acceleration plug-in to establish a channel between the game acceleration plug-in and the target virtual private network gateway.
It should be noted that, in the embodiment of the present invention, the optical line terminal uses the game acceleration plug to establish a channel between the game acceleration plug and the target virtual private network gateway, which is actually an authentication of the target virtual private network gateway on the game traffic sent by the optical line terminal where the game acceleration plug is located, that is, the target virtual private network gateway recognizes the game traffic sent by the optical line terminal where the game acceleration plug is located, and can receive the game traffic sent by the optical line terminal and forward the game traffic, and if the channel between the game acceleration plug and the target virtual private network gateway is not established, the game traffic forwarded by the optical line terminal where the game acceleration plug is located is directly rejected by the target virtual private network gateway.
Specifically, in the embodiment of the present invention, before the optical line terminal uses the game acceleration plug-in to establish a channel between the game acceleration plug-in and the target virtual private network gateway, the method further includes: utilizing a game acceleration plug-in to obtain at least one virtual private network gateway corresponding to the optical line terminal from a virtual private network server; acquiring a distance between an optical line terminal and each gateway in at least one virtual private network gateway to obtain at least one distance; a target virtual private network gateway is determined from the at least one virtual private network gateway based on the at least one distance.
It should be noted that, in the embodiment of the present invention, the optical line terminal obtains the distance between the optical line terminal and each gateway in the at least one vpn gateway by using the location information of the optical line terminal and the location information of each gateway in the at least one vpn gateway, and calculates to obtain the distance between the optical line terminal and each gateway in the at least one vpn gateway, or calculates the distance between the optical line terminal and each gateway in the at least one vpn gateway according to a time duration that the optical line terminal receives and sends an optical signal to each gateway in the at least one vpn gateway, which is not limited in the specific obtaining manner.
Specifically, in the embodiment of the present invention, the determining, by the optical line terminal, a target vpn gateway from among the at least one vpn gateway according to the at least one distance includes: obtaining a minimum distance from at least one distance; and determining the virtual private network gateway which is the minimum distance away from the optical line terminal in at least one virtual private network gateway as a target virtual private network gateway.
It should be noted that, in the embodiment of the present invention, the optical line terminal obtains the minimum distance from the at least one distance, and determines the vpn gateway with the minimum distance from the optical line terminal as the target vpn gateway, and since the optical line terminal can forward the packet to the target vpn gateway with the minimum distance, the forwarding rate of the game traffic is increased.
It should be noted that, in the embodiment of the present invention, the optical line terminal may consider a forwarding load of the game traffic of each of the at least one vpn gateway, and then determine the vpn gateway with the smallest load as the target vpn gateway, or the optical line terminal may also consider a forwarding rate of the game traffic of each of the at least one vpn gateway, and then determine the vpn gateway with the fastest forwarding rate as the target vpn gateway, where a specific manner for determining the target vpn gateway may be set according to actual requirements and application scenarios, which is not limited in this invention.
S103, under the condition that the game flow of the game to be accelerated from the physical address of the home gateway is received, the target protocol address carried in the game flow is obtained.
In the embodiment of the invention, the optical line terminal acquires the destination protocol address carried in the game flow under the condition of receiving the game flow of the game to be accelerated from the physical address of the home gateway.
It should be noted that, in the embodiment of the present invention, the game traffic carries a destination protocol address, that is, a game server protocol address to which the game traffic needs to be forwarded is known, and when the optical line terminal obtains the destination protocol address, it needs to determine whether the game server protocol address list includes the destination protocol address, so as to determine whether the user purchases a game acceleration service of a corresponding game.
Specifically, in the embodiment of the present invention, after acquiring the destination protocol address from the game traffic, the optical line terminal further includes: and in the case that the game server protocol address list does not comprise the destination protocol address, forbidding forwarding the game flow to the target virtual private network gateway through the channel.
It should be noted that, in the embodiment of the present invention, if the game server protocol address list does not include the destination protocol address of the game traffic, it indicates that the user does not purchase the corresponding game acceleration service, or the destination protocol address is the server protocol address of the general public network, at this time, the optical line terminal cannot forward the game traffic through the target virtual private network gateway, and the game traffic may be forwarded according to the original link.
S104, under the condition that the game server protocol address list comprises the destination protocol address, the game flow is forwarded to the target virtual private network gateway through the channel, so that the target virtual private network gateway forwards the game flow to the game server corresponding to the destination protocol address, and the game acceleration is completed.
In the embodiment of the invention, the optical line terminal forwards the game flow to the target virtual private network gateway through the channel under the condition that the game server protocol address list comprises the destination protocol address, so that the target virtual private network gateway forwards the game flow to the game server corresponding to the destination protocol address, and the game acceleration is completed.
It should be noted that, in the embodiment of the present invention, when the game server protocol address list includes the destination protocol address, it indicates that the user purchases a corresponding game acceleration service, and the optical line terminal may forward the game traffic to the target virtual private network gateway through the channel, and further forward the game traffic to the game server corresponding to the destination protocol address.
It should be noted that, in the embodiment of the present invention, the optical line terminal has the same forwarding paths for the game traffic of the game to be accelerated that is from the same physical address of the home gateway, and all of the forwarding paths are the same, and when the game server protocol address list includes the destination protocol address, the game traffic is forwarded to the target virtual private network gateway through the channel and then forwarded to the game server corresponding to the destination protocol address, that is, the optical line terminal sets the same forwarding path for the game traffic of the game to be accelerated that is from the same physical address of the home gateway, and selects the target virtual private network gateway closest to the optical line terminal in the process of forwarding the game traffic, so as to improve the forwarding rate of the game traffic.
It should be noted that, in the embodiment of the present invention, for the game traffic of the game to be accelerated at the same home gateway physical address, the optical line terminal all uses the same processing method to forward the game traffic, so that, for the same home, no matter whether the user purchases the game acceleration service of the corresponding game to be accelerated by logging in the game acceleration applet or the game acceleration application program on the mobile phone, the computer, or the game host, all the game terminals of the same home can enjoy the game acceleration service of the game to be accelerated.
Fig. 2 is a schematic view of an exemplary game acceleration scenario provided in an embodiment of the present invention. As shown in fig. 2, the game acceleration scenario includes N groups of households, a game acceleration platform, an optical line terminal with a game acceleration plug-in, a public network server, a game server, a target virtual private network gateway, and a virtual private network server, where each group of households includes a game host, a computer, a mobile phone, and other game devices and a household gateway. Each group of households can send game flow generated by all game equipment in each household to an optical line terminal with a game acceleration plug-in through a home gateway, a game acceleration platform can send game identification information of a game to be accelerated, purchased by a user at a game acceleration applet or a game acceleration application program, to the optical line terminal, the optical line terminal can obtain a game server protocol address list from a virtual special network server by using the game acceleration plug-in, and can also establish a connection channel with a target virtual special network gateway by using the game acceleration plug-in, so that the game flow on the optical line terminal is sent to the game server through the target virtual special network gateway through the channel.
Fig. 3 is a schematic flow chart of an exemplary game acceleration according to an embodiment of the present invention. As shown in fig. 3, in the game acceleration scenario provided in fig. 2, a user may log in a game acceleration applet or a game acceleration application provided by a game acceleration platform using a broadband account to purchase a corresponding game acceleration service for a game to be accelerated, and click to accelerate, the game acceleration platform sends game identification information of the game to be accelerated purchased by the user to a game acceleration plug-in installed on an optical line terminal, the optical line terminal obtains a game server protocol address list from a virtual private network server using the game acceleration plug-in according to the game identification information of the game to be accelerated, and obtains at least one virtual private network gateway using the game acceleration plug-in, and then determines the virtual private network gateway closest to the optical line terminal as a target virtual private network gateway, and establishes a channel between the optical line terminal and the target virtual private network gateway, so that when receiving game traffic of the game to be accelerated from a physical address of a home gateway, the game traffic can be forwarded to the target virtual private network gateway through the channel, and then forwarded to the game server through the virtual private network gateway, thereby completing acceleration of the game.
It should be noted that, in the embodiment of the present invention, for the game traffic of the to-be-accelerated game that is from the same home gateway physical address, the optical line terminal all uses the same processing manner to forward the game traffic, so that for the same home, only one forwarding path of the game traffic needs to be maintained, which greatly reduces the maintenance workload of the forwarding path and improves the maintenance efficiency of the forwarding path.
The invention provides a game acceleration method, wherein an optical line terminal is provided with a game acceleration plug-in, and the method comprises the following steps: acquiring a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using a game acceleration plug-in; establishing a channel between the game acceleration plug-in and a target virtual private network gateway by using the game acceleration plug-in; under the condition that game flow of a game to be accelerated from a physical address of a home gateway is received, acquiring a destination protocol address from the game flow; and under the condition that the game server protocol address list comprises the destination protocol address, forwarding the game flow to the target virtual private network gateway through the channel so that the target virtual private network gateway forwards the game flow to the game server corresponding to the destination protocol address, and finishing the acceleration of the game. The game acceleration method provided by the invention has the advantages that the game acceleration plug-in is installed on the optical line terminal, and a quick and special game flow forwarding path is established for the optical line terminal and the game server by using the game acceleration plug-in, so that the game acceleration efficiency is improved.
The invention provides an optical line terminal, wherein a game acceleration plug-in is installed in the optical line terminal, and fig. 4 is a first structural schematic diagram of the optical line terminal provided by the embodiment of the invention. As shown in fig. 4, includes:
an obtaining module 401, configured to obtain, by using a game acceleration plug-in, a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated;
an establishing module 402, configured to establish, by using the game acceleration plug-in, a channel between the game acceleration plug-in and a target virtual private network gateway;
the processing module 403 is configured to, in a case that a game flow of the game to be accelerated is received from the home gateway physical address, obtain a destination protocol address carried in the game flow;
a forwarding module 404, configured to forward, when the game server protocol address list includes the destination protocol address, the game traffic to the target virtual private network gateway through the channel, so that the target virtual private network gateway forwards the game traffic to a game server corresponding to the destination protocol address, and completes game acceleration.
Optionally, the obtaining module 401 is specifically configured to receive, by using the game acceleration plug-in, game identification information and the home gateway physical address, which are sent by a game acceleration platform and correspond to the game to be accelerated; and acquiring a game server protocol address list corresponding to the game identification information from a virtual private network server by using the game acceleration plug-in, and determining the game server protocol address list as the game server protocol address list.
Optionally, the optical line terminal further includes: a determining module (not shown in the figure) configured to obtain, from a virtual private network server, at least one virtual private network gateway corresponding to the optical line terminal; obtaining the distance between the optical line terminal and each gateway in the at least one virtual private network gateway to obtain at least one distance; determining the target VPN gateway from the at least one VPN gateway according to the at least one distance.
Optionally, the determining module (not shown in the figure) is specifically configured to obtain a minimum distance from the at least one distance; and determining the virtual private network gateway which is away from the optical line terminal by the minimum distance in the at least one virtual private network gateway as a target virtual private network gateway.
Optionally, the optical line terminal further includes: a forbidding module (not shown in the figure) for forbidding the game traffic to be forwarded to the target virtual private network gateway through the channel if the game server protocol address list does not include the destination protocol address.
The invention provides an optical line terminal, and fig. 5 is a schematic structural diagram of an optical line terminal provided in an embodiment of the invention. As shown in fig. 5, the optical line terminal includes: a processor 501, memory 502, and a communication bus 503;
the communication bus 503 is used for realizing communication connection between the processor 501 and the memory 502;
the processor 501 is configured to execute the game acceleration program stored in the memory 502 to implement the game acceleration method.
The invention provides an optical line terminal, which is provided with a game acceleration plug-in, and a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated are obtained by using the game acceleration plug-in; establishing a channel between the game acceleration plug-in and a target virtual private network gateway by using the game acceleration plug-in; under the condition of receiving game flow of a game to be accelerated from a physical address of a home gateway, acquiring a target protocol address carried in the game flow; and under the condition that the game server protocol address list comprises the destination protocol address, forwarding the game flow to the target virtual private network gateway through the channel so that the target virtual private network gateway forwards the game flow to the game server corresponding to the destination protocol address, and finishing the acceleration of the game. According to the optical line terminal provided by the invention, the game acceleration plug-in is arranged on the optical line terminal, and a rapid and special game flow forwarding path is established for the optical line terminal and the game server by using the game acceleration plug-in, so that the efficiency of game acceleration is improved.
The present invention provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors, to implement the game acceleration method described above. The computer-readable storage medium may be a volatile Memory (RAM), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk Drive (HDD) or a Solid-State Drive (SSD); or a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above memories.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention disclosed in the present application should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A game acceleration method applied to an optical line terminal, the optical line terminal being provided with a game acceleration plug-in, the method comprising:
acquiring a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using the game acceleration plug-in;
establishing a channel between the game acceleration plug-in and a target virtual private network gateway by using the game acceleration plug-in;
under the condition that game flow of the game to be accelerated from the physical address of the home gateway is received, acquiring a destination protocol address carried in the game flow;
and under the condition that the game server protocol address list comprises the destination protocol address, forwarding the game flow to the target virtual private network gateway through the channel so that the target virtual private network gateway forwards the game flow to a game server corresponding to the destination protocol address, thereby completing game acceleration.
2. The method of claim 1, wherein the obtaining, by the game acceleration plug-in, a game server protocol address list and a home gateway physical address corresponding to the game to be accelerated comprises:
receiving game identification information and the home gateway physical address corresponding to the game to be accelerated, which are sent by a game acceleration platform, by using the game acceleration plug-in;
and acquiring a game server protocol address list corresponding to the game identification information from a virtual private network server by using the game acceleration plug-in, and determining the game server protocol address list as the game server protocol address list.
3. The method of claim 1, wherein before establishing the channel between the game acceleration plugin and the target virtual private network gateway, the utilizing the game acceleration plugin further comprises:
acquiring at least one virtual private network gateway corresponding to the optical line terminal from a virtual private network server by using the game acceleration plug-in;
obtaining the distance between the optical line terminal and each gateway in the at least one virtual private network gateway to obtain at least one distance;
determining the target VPN gateway from the at least one VPN gateway according to the at least one distance.
4. The method of claim 3, wherein said determining the target VPN gateway from the at least one VPN gateway according to the at least one distance comprises:
obtaining a minimum distance from the at least one distance;
and determining the virtual private network gateway which is away from the optical line terminal by the minimum distance in the at least one virtual private network gateway as a target virtual private network gateway.
5. The method of claim 1, wherein after obtaining the destination protocol address from the game traffic, further comprising:
and under the condition that the game server protocol address list does not comprise the destination protocol address, forbidding forwarding the game flow to the target virtual private network gateway through the channel.
6. An optical line terminal, wherein the optical line terminal is installed with a game acceleration plug, comprising:
the acquisition module is used for acquiring a game server protocol address list and a home gateway physical address corresponding to a game to be accelerated by using the game acceleration plug-in;
the establishing module is used for establishing a channel between the game acceleration plug-in and a target virtual private network gateway by utilizing the game acceleration plug-in;
the processing module is used for acquiring a target protocol address carried in the game flow under the condition of receiving the game flow of the game to be accelerated from the physical address of the home gateway;
and the forwarding module is used for forwarding the game flow to the target virtual private network gateway through the channel under the condition that the game server protocol address list comprises the destination protocol address, so that the target virtual private network gateway forwards the game flow to a game server corresponding to the destination protocol address, and the game acceleration is completed.
7. The optical line terminal according to claim 6,
the obtaining module is specifically configured to receive, by using the game acceleration plug-in, game identification information and the home gateway physical address, which are sent by a game acceleration platform and correspond to the game to be accelerated; and acquiring a game server protocol address list corresponding to the game identification information from a virtual private network server by using the game acceleration plug-in, and determining the game server protocol address list as the game server protocol address list.
8. The olt of claim 6, further comprising:
a determining module, configured to obtain, from a virtual private network server, at least one virtual private network gateway corresponding to the optical line terminal by using the game acceleration plug-in; obtaining the distance between the optical line terminal and each gateway in the at least one virtual private network gateway to obtain at least one distance; determining the target VPN gateway from the at least one VPN gateway according to the at least one distance.
9. An optical line terminal, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the game acceleration program stored in the memory to implement the game acceleration method according to any one of claims 1 to 5.
10. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the game acceleration method of any one of claims 1-5.
CN202110696868.XA 2021-06-23 2021-06-23 Game acceleration method, optical line terminal and storage medium Active CN115501580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110696868.XA CN115501580B (en) 2021-06-23 2021-06-23 Game acceleration method, optical line terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110696868.XA CN115501580B (en) 2021-06-23 2021-06-23 Game acceleration method, optical line terminal and storage medium

Publications (2)

Publication Number Publication Date
CN115501580A true CN115501580A (en) 2022-12-23
CN115501580B CN115501580B (en) 2024-07-16

Family

ID=84499565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110696868.XA Active CN115501580B (en) 2021-06-23 2021-06-23 Game acceleration method, optical line terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115501580B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000051518A (en) * 1998-08-06 2000-02-22 Namco Ltd Game device and communication game system
US20010003191A1 (en) * 1999-12-03 2001-06-07 Kovacs Ern?Ouml; Communication device and software for operating multimedia applications
US20040111755A1 (en) * 2002-12-10 2004-06-10 Perlman Stephen G. Apparatus and method for wireless video gaming
CN102333075A (en) * 2010-06-30 2012-01-25 丛林网络公司 The many service VPN networking clients that dynamic fault shifts that have that are used for mobile device
US20120278439A1 (en) * 2011-04-28 2012-11-01 Approxy Inc., Ltd Adaptive Cloud Based Application Streaming
US20140170602A1 (en) * 2012-12-13 2014-06-19 Alliance Wireless Technologies, Inc. Vehicle activity information system
JP2015133597A (en) * 2014-01-10 2015-07-23 Kddi株式会社 Bandwidth allocation method, station side device and optical communication system
CN205829663U (en) * 2016-06-23 2016-12-21 北京云易时代技术有限公司 Intelligent gateway
CN106775254A (en) * 2016-12-27 2017-05-31 北京奇虎科技有限公司 Notify that center starts method, device and the mobile terminal of default application by iOS system
CN106730835A (en) * 2016-12-16 2017-05-31 青岛蘑菇网络技术有限公司 A kind of network game accelerated method and system based on router and vpn server
CN108462622A (en) * 2017-02-21 2018-08-28 中国移动通信集团河北有限公司 A kind of online game acceleration method and system
US20190045048A1 (en) * 2017-06-16 2019-02-07 Alibaba Group Holding Limited Method, system, and device for network control
CN109995881A (en) * 2019-04-30 2019-07-09 网易(杭州)网络有限公司 The load-balancing method and device of cache server
CN110072164A (en) * 2019-05-10 2019-07-30 南京牛芯微电子有限公司 A kind of the WIFI data transmission method and system of optical network unit
CN110478897A (en) * 2019-08-28 2019-11-22 太仓市同维电子有限公司 A kind of intelligent gateway game accelerated method based on vpn technology
CN111729296A (en) * 2020-06-15 2020-10-02 网易(杭州)网络有限公司 Game interface interaction method and device and electronic terminal
CN111787435A (en) * 2020-06-12 2020-10-16 芯河半导体科技(无锡)有限公司 Network acceleration system based on GPON router
CN112073589A (en) * 2020-11-12 2020-12-11 深圳市新龙鹏科技有限公司 Intelligent gateway VOIP wireless call method, device, equipment and storage medium
CN112152828A (en) * 2019-06-27 2020-12-29 腾讯科技(深圳)有限公司 Game acceleration method and device, VPN terminal and storage medium
CN112221121A (en) * 2020-10-20 2021-01-15 腾讯科技(深圳)有限公司 Application software networking acceleration method and device and storage medium

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000051518A (en) * 1998-08-06 2000-02-22 Namco Ltd Game device and communication game system
US20010003191A1 (en) * 1999-12-03 2001-06-07 Kovacs Ern?Ouml; Communication device and software for operating multimedia applications
US20040111755A1 (en) * 2002-12-10 2004-06-10 Perlman Stephen G. Apparatus and method for wireless video gaming
CN102333075A (en) * 2010-06-30 2012-01-25 丛林网络公司 The many service VPN networking clients that dynamic fault shifts that have that are used for mobile device
US20120278439A1 (en) * 2011-04-28 2012-11-01 Approxy Inc., Ltd Adaptive Cloud Based Application Streaming
US20140170602A1 (en) * 2012-12-13 2014-06-19 Alliance Wireless Technologies, Inc. Vehicle activity information system
JP2015133597A (en) * 2014-01-10 2015-07-23 Kddi株式会社 Bandwidth allocation method, station side device and optical communication system
CN205829663U (en) * 2016-06-23 2016-12-21 北京云易时代技术有限公司 Intelligent gateway
CN106730835A (en) * 2016-12-16 2017-05-31 青岛蘑菇网络技术有限公司 A kind of network game accelerated method and system based on router and vpn server
CN106775254A (en) * 2016-12-27 2017-05-31 北京奇虎科技有限公司 Notify that center starts method, device and the mobile terminal of default application by iOS system
CN108462622A (en) * 2017-02-21 2018-08-28 中国移动通信集团河北有限公司 A kind of online game acceleration method and system
US20190045048A1 (en) * 2017-06-16 2019-02-07 Alibaba Group Holding Limited Method, system, and device for network control
CN109995881A (en) * 2019-04-30 2019-07-09 网易(杭州)网络有限公司 The load-balancing method and device of cache server
CN110072164A (en) * 2019-05-10 2019-07-30 南京牛芯微电子有限公司 A kind of the WIFI data transmission method and system of optical network unit
CN112152828A (en) * 2019-06-27 2020-12-29 腾讯科技(深圳)有限公司 Game acceleration method and device, VPN terminal and storage medium
CN110478897A (en) * 2019-08-28 2019-11-22 太仓市同维电子有限公司 A kind of intelligent gateway game accelerated method based on vpn technology
CN111787435A (en) * 2020-06-12 2020-10-16 芯河半导体科技(无锡)有限公司 Network acceleration system based on GPON router
CN111729296A (en) * 2020-06-15 2020-10-02 网易(杭州)网络有限公司 Game interface interaction method and device and electronic terminal
CN112221121A (en) * 2020-10-20 2021-01-15 腾讯科技(深圳)有限公司 Application software networking acceleration method and device and storage medium
CN112073589A (en) * 2020-11-12 2020-12-11 深圳市新龙鹏科技有限公司 Intelligent gateway VOIP wireless call method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨明珉,陈勇: ""MySQL 集群到Oracle 数据库的数据同步方法"", 《计算机系统应用》, vol. 27, no. 6, 15 June 2018 (2018-06-15), pages 60 - 68 *

Also Published As

Publication number Publication date
CN115501580B (en) 2024-07-16

Similar Documents

Publication Publication Date Title
CN109640348B (en) Multi-service MEC network architecture, and method and device for processing multi-service data stream
CN110611723B (en) Scheduling method and device of service resources
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
CN103916311B (en) A kind of information transmission and control method, Apparatus and system
CN102413145B (en) Media content access method, service server and mobile terminal
WO2017185697A1 (en) Bandwidth sharing method and apparatus
CN106454497A (en) Method and device for screen-mirroring playing of video
CN110478897B (en) Intelligent gateway game acceleration method based on vpn technology
TW201631510A (en) Methods, apparatus, and systems for identity authentication
CN113573378B (en) Electronic contest data processing method, device, equipment and storage medium
CN109462529A (en) Distribution method, apparatus and household appliance based on Mesh network
RU2601834C2 (en) Method of application distribution, terminal and server
CN110944319B (en) 5G communication identity verification method, equipment and storage medium
CN111461720B (en) Identity verification method and device based on blockchain, storage medium and electronic equipment
US20150373126A1 (en) Method, apparatus and system for interactive data exchange
CN112533206A (en) Network distribution method and device, storage medium and electronic equipment
CN111836269B (en) Micro base station deployment method, equipment and storage medium based on block chain
CN104038917A (en) Method and device for terminal roaming authentication
CN110198317A (en) A kind of portal authentication method and system based on port
CN111901208A (en) Intelligent equipment control method and device, intelligent control panel and storage medium
CN105100150A (en) Cloud desktop migration method and apparatus, and distributed cloud desktop system
US11658821B2 (en) Cybersecurity guard for core network elements
US20170013056A1 (en) Data processing method and system based on asymmetric p2p network
CN113573382A (en) Electronic contest data processing method and device, computer equipment and storage medium
CN104601564A (en) User data storage method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant