WO2022247366A1 - 一种游戏翻译方法和装置 - Google Patents

一种游戏翻译方法和装置 Download PDF

Info

Publication number
WO2022247366A1
WO2022247366A1 PCT/CN2022/077516 CN2022077516W WO2022247366A1 WO 2022247366 A1 WO2022247366 A1 WO 2022247366A1 CN 2022077516 W CN2022077516 W CN 2022077516W WO 2022247366 A1 WO2022247366 A1 WO 2022247366A1
Authority
WO
WIPO (PCT)
Prior art keywords
game
data
language resource
resource data
client
Prior art date
Application number
PCT/CN2022/077516
Other languages
English (en)
French (fr)
Inventor
林旺洪
Original Assignee
网易(杭州)网络有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 网易(杭州)网络有限公司 filed Critical 网易(杭州)网络有限公司
Priority to US18/250,364 priority Critical patent/US20230390644A1/en
Publication of WO2022247366A1 publication Critical patent/WO2022247366A1/zh

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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • 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
    • A63F13/335Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections using 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
    • 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
    • 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/352Details of game servers involving special game server arrangements, e.g. regional servers connected to a national server or a plurality of servers managing partitions of the game world
    • 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/355Performing operations on behalf of clients with restricted processing capabilities, e.g. servers transform changing game scene into an MPEG-stream for transmitting to a mobile phone or a thin client
    • 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/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation

Definitions

  • the present disclosure relates to the field of computer technology, in particular to a game translation method and a game translation device.
  • the language resource package of the game In related game localization or translation technologies, it is mainly to process the language resource package of the game. Specifically, it can search the language resource package of the game, manually analyze the format in the language resource package and extract the corresponding game language resource, and then Translate the extracted game language resources, and rewrite the translated game language resources back to the game's language resource package, that is, replace the old language resource package with a new language resource package, and load the translated Chinese in the subsequent running of the game Changed language resource packs to display translated language entries on the game interface.
  • the embodiments of the present disclosure are proposed to provide a game translation method and a corresponding game translation device that overcome the above problems or at least partially solve the above problems.
  • an embodiment of the present disclosure discloses a game translation method, which is applied to a proxy server, and the proxy server communicates with the game server for the game, and the method includes:
  • the language resource data is translated according to a preset automatic service, and the translated language resource data is returned to the client.
  • the game data when the game data is data sent by the game server in response to an active request, it further includes:
  • the download request is a download request for the language resource data
  • the characteristic information includes a request path of the download request; the judging whether the download request is a download request for the language resource data according to the characteristic information includes:
  • the request path of the download request includes a plurality of resource data with a plurality of resource name information
  • the target resource name information exists, determine the resource data corresponding to the target resource name information among the plurality of resource data in the request path as the first target resource data, and determine whether the first target resource data has The second target resource data of preset characters;
  • the download request is a download request for the language resource data.
  • the language resource data includes language resource packages and/or language resource entries.
  • translating the language resource data according to a preset automated service and returning the translated language resource data to the client includes:
  • translating the language resource data according to a preset automated service and returning the translated language resource data to the client includes:
  • the method also includes:
  • the code logic is injected into the intercepted download traffic to obtain the target download traffic, and the target download traffic is returned to the client.
  • the embodiment of the present disclosure also discloses a game translation device, which is applied to a proxy server, and the proxy server communicates with the game server for the game, and the device includes:
  • a communication connection establishment module configured to establish a communication connection between the client and the game server through the proxy server;
  • the game data receiving module is configured to receive the game data sent by the game server, wherein the game data is the data sent by the game server in response to the active request or the data actively pushed;
  • a language resource data determining module configured to determine the language resource data contained in the game data
  • a language resource data returning module configured to translate the language resource data according to a preset automatic service, and return the translated language resource data to the client, so that the client loads the translated language resource data.
  • the device when the game data is data sent by the game server in response to an active request, the device further includes:
  • the download request response module is configured to respond to the download request sent by the client for the game data, and obtain the characteristic information of the download request; the client has opened the deployed proxy service;
  • the download request judging module is configured to judge whether the download request is a download request for the language resource data according to the characteristic information
  • the download traffic interception submodule is configured to intercept the download traffic for the game data returned by the game server according to the proxy service when the download request is a download request for the language resource data.
  • the characteristic information includes a request path of the download request;
  • the download request judging module includes:
  • the name information acquisition submodule is configured to acquire the resource name information in the request path of the download request, and the name feature for the language resource data;
  • the request path of the download request includes a plurality of resource name information Multiple resource data;
  • the target resource name information judging submodule is configured to judge whether there is target resource name information conforming to the naming characteristics of the language resource data among the plurality of resource name information in the request path;
  • the second target resource data judging submodule is configured to, when the target resource name information exists, determine the resource data corresponding to the target resource name information as the first target resource data among the plurality of resource data in the request path, And judging whether the first target resource data has second target resource data with preset characters;
  • the download request determination submodule is configured to determine that the download request is a download request for the language resource data when the second target resource data exists.
  • the language resource data includes language resource packages and/or language resource entries.
  • the language resource data return module includes:
  • the data packet format analysis submodule is configured to perform format analysis on the language resource bundle by using a preset automation service to obtain data packet format information, and extract the language resource item to be translated from the language resource bundle;
  • the resource data package generation sub-module is configured to execute the translation of the language resource entries, and package the translated language resource entries according to the data package format information to generate a target language resource package;
  • the resource data package returning submodule is configured to return the target language resource package to the client.
  • the language resource data return module includes:
  • the resource data item translation sub-module is configured to perform item-by-item translation of the language resource items using preset automated services to obtain translated language resource items;
  • the resource data item returning submodule is configured to return the translated language resource item to the client.
  • the device also includes:
  • the code logic acquisition module is configured to execute and acquire the code logic with translation function
  • the target download traffic returning module is configured to inject the code logic into the intercepted download traffic to obtain the target download traffic, and return the target download traffic to the client.
  • the embodiment of the present disclosure also discloses an electronic device, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • a computer program stored on the memory and capable of running on the processor.
  • the embodiment of the present disclosure also discloses a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the game translation methods are implemented.
  • the proxy server can establish a communication connection between the client and the game server.
  • the proxy server can receive the game data sent by the game server, and the received game data can be provided by the game server according to an active request.
  • the language resource data By intercepting and analyzing the language resource data contained in the network request traffic, the language resource data is automatically translated and localized, and there is no need to obtain the read and write permissions of the game language resource package on the game running device, so that the game can be played in certain places that cannot be played. Sinicization of translation is realized on the equipment of Sinicization.
  • FIG. 1 is a flow chart of the steps of an embodiment of a game translation method of the present disclosure
  • FIG. 2 is a schematic diagram of the communication architecture of game translation in an embodiment of the present disclosure
  • FIG. 3 is a flow chart of the steps of another game translation method embodiment of the present disclosure.
  • Fig. 4 is a structural block diagram of an embodiment of a game translation device of the present disclosure.
  • Fig. 5 is a structural block diagram of a computer-readable storage medium according to an embodiment of the present disclosure.
  • VPN Virtual Private Network, a virtual private network, is a technology to establish a private network on the Internet;
  • HTTP Hyper Text Transport Protocol, hypertext transfer protocol, is a popular network transfer protocol based on TCP/IP;
  • TCP Transmission Control Protocol, Transmission Control Protocol, is the core of the TCP/IP protocol
  • UDP User Datagram Protocol, User Datagram Protocol, is the core of the TCP/IP protocol
  • JavaScript is a scripting language that mainly runs on the browser
  • iOS is a popular mobile operating system developed by Apple Inc.
  • Android is a popular mobile operating system developed by Google
  • Windows is a popular desktop operating system developed by Microsoft Corporation
  • Unicode is a widely used character set encoding technology covering most languages.
  • the language resource package of the game In related game localization or translation technologies, it is mainly to process the language resource package of the game. Specifically, it can search the language resource package of the game, manually analyze the format in the language resource package and extract the corresponding game language resource, and then Translate the extracted game language resources, and rewrite the translated game language resources back to the game's language resource package, that is, replace the old language resource package with a new language resource package, and load the translated Chinese in the subsequent running of the game Changed language resource packs to display translated language entries on the game interface.
  • the above method of searching for the language resource pack of the game and replacing the old language resource pack with the new one needs to extract and write the language resource pack.
  • the storage of the device needs to be accessed, that is, the Read and write permissions for the location where the game stores language resource packs.
  • the game language resource pack can actually be stored in a private directory, and other programs or tools cannot read and write the language resource pack.
  • one of the core ideas of the embodiments of the present disclosure is to propose a method of intercepting network traffic.
  • the solution for Chinese translation of games can specifically solve the problem that some games cannot be translated into Chinese on certain platforms or devices by intercepting and analyzing network request traffic, and automatically translating and modifying language packs.
  • FIG. 1 shows a flow chart of the steps of an embodiment of a game translation method of the present disclosure, which is applied to a proxy server, and the proxy server communicates with the game server for the game, and may specifically include the following steps:
  • Step 101 establishing a communication connection between the client and the game server through the proxy server;
  • the proxy server can communicate with the game server for the game, and can communicate with the client, where the proxy service can be deployed on the client, and all The deployed proxy service forms a communication link between the client that has enabled the proxy service—the proxy server—the upstream game server.
  • FIG. 2 it shows a schematic diagram of the communication architecture of game translation in an embodiment of the present disclosure.
  • the proxy server acts as an intermediary between the game server and the client.
  • a client may refer to an accelerator client.
  • the accelerator can be a kind of installation-free application program, which can include multiple games, the user can directly double-click to use the accelerator, and can directly select the game to accelerate after the verification is successful, assuming that the game selected for acceleration at this time
  • the client can perform the operation of VPN forwarding traffic through the proxy server through the uplink communication link.
  • the proxy server can receive the game data sent by the game application server, that is, through the proxy server, the proxy server can forward the traffic on the downlink communication link.
  • the download traffic is intercepted so that the game data can be automatically processed to achieve game translation, and the translated language resources are delivered to the accelerator client.
  • Step 102 receiving the game data sent by the game server, and determining the language resource data contained in the game data;
  • the game language resource pack is usually stored in a separate file and downloaded and updated as a part of the game resource, so that the size of the game distribution package can be reduced on the one hand, allowing users to It can quickly download and enter the game, and on the other hand, it can keep the dynamic update of the independent file storing the language resource pack.
  • the game data sent by the game server can be intercepted by the proxy server, that is, the game data sent by the game server is not directly sent to the client, so that the proxy server can process the intercepted game data , specifically to determine the language resource data contained in the game data and process the language resource data.
  • the received game data may be data sent by the game server in response to an active request, or data actively pushed by the game server, for example, updated game data actively pushed according to the version number of the client.
  • the embodiments of the present disclosure do not impose limitations.
  • Step 103 translate the language resource data according to the preset automatic service, and return the translated language resource data to the client, so that the client can load the translated language resource data.
  • the processing of the intercepted language resource data may be expressed as translating the intercepted language resource data according to a preset automatic server, so as to return the translated language resource data to the client, so that the client When the game is running, the interface text corresponding to the translated language resource data can be displayed on the game interface, so as to achieve the purpose of localizing the game translation.
  • the language data resource may include a language resource package and/or a language resource entry.
  • the language resource data may be intercepted to replace the translated language resource package, or directly Download the language resource entries in the traffic for translation, and return the translated language entries to the client.
  • the proxy server can establish a communication connection between the client and the game server.
  • the proxy server can receive the game data sent by the game server, and the received game data can be provided by the game server according to the active request.
  • the language resource data By intercepting and analyzing the language resource data contained in the network request traffic, the language resource data is automatically translated and localized, and there is no need to obtain the read and write permissions of the game language resource package on the game running device, so that the game can be played in certain places that cannot be played. Sinicization of translation is realized on the equipment of Sinicization.
  • FIG. 3 shows a flow chart of the steps of another game translation method embodiment of the present disclosure, which is applied to a proxy server, and the proxy server can establish a communication connection between the client and the game server for the game, and the received game data
  • the proxy server can establish a communication connection between the client and the game server for the game, and the received game data
  • the data sent by the game server in response to the active request it may specifically include the following steps:
  • Step 301 responding to the download request for game data sent by the client, intercepting the download traffic for game data returned by the game server;
  • the game server when the received game data is data sent by the game server in response to an active request, the game server needs to return the game data in response to the download request sent by the client.
  • the proxy server can intercept the game data returned by the game server, so as to process the intercepted game data.
  • the proxy server can intercept and process the returned game data, which can be realized by intercepting and processing the passing download traffic.
  • the above is the network traffic returned by the upstream game server in response to the download request.
  • the download traffic returned by the upstream game server may include the language resource data of the game, and for the resource download of some games, the resource download traffic is processed using HTTP or unencrypted TCP/UDP. That is, the download traffic is transmitted in clear text.
  • the language resource data in the download traffic can be intercepted or intercepted, so as to realize the translation of the game into Chinese through network traffic interception.
  • the download request for the game sent by the client is received by the proxy server.
  • the received download request may be a download request generated by the client and sent to the game server.
  • the intermediary between the client of the service and the game server can forward the download request to the upstream game server via the proxy server, so that the game server can return the download traffic to the client in response to the download request.
  • the language resource pack of the game is usually stored in a separate file, and downloaded and updated as a part of the game resource, so that the size of the game distribution package can be reduced on the one hand, allowing users to It can quickly download and enter the game, and on the other hand, it can keep the dynamic update of the independent file storing the language resource pack.
  • the device running the game can establish a VPN or HTTP proxy (equivalent to enabling the deployed proxy service), so that the download traffic of the game can pass through the established VPN or HTTP (i.e. Proxy server) to act as a proxy, so that the proxy server can process the passing download traffic.
  • VPN or HTTP proxy equivalent to enabling the deployed proxy service
  • all network request traffic of the game can be intercepted. At this time, it can be judged whether the intercepted download traffic includes the game language resource package or the game language resource entry. The specific judgment can be made by judging the client
  • the generated download request is implemented as a download request for the language resource data of the game, and the download traffic of the game can be subsequently intercepted based on the judgment result.
  • the characteristic information of the download request can be obtained, and judge whether the download request generated by the client is an HTTP download request for a language resource package or a download request for a language resource item according to the characteristic information.
  • the characteristic information of the download request may include the request path of the download request.
  • the resource name information in the request path of the download request and the name characteristics of the language resource data may be obtained.
  • the request path of can include multiple resource data with multiple resource name information. At this time, it can be judged whether there is target resource name information that conforms to the naming characteristics of language resource data in the multiple resource name information of the request path.
  • the resource data corresponding to the target resource name information can be determined as the first target resource data among the plurality of resource data in the request path, and it can be judged whether there are second target resource data with preset characters in the first target resource data; If the second target resource data exists at this time, it can be determined that the download request is a download request for the language resource data of the game, that is, the subsequent intercepted download traffic contains language resource data.
  • the proxy service enabled by the client can be used. (that is, through a proxy server) to intercept the download traffic returned by the download request.
  • the download request generated by the client is not a request for the language resource data of the game, that is, the subsequent intercepted download traffic does not contain language resource data.
  • the download traffic returned by the game server for the download request may not be intercepted .
  • the characteristics of unencrypted download traffic can be analyzed to obtain characteristic information.
  • the network request traffic contains language resource data to be translated, the language resource data can be further translated and the translated language resource data can be returned to the client.
  • Step 302 replace the language resource package or translated language resource item according to the preset automatic service, and return the replaced language resource package or translated language resource item to the client.
  • the language resource data can be translated and the translated resource data can be returned to the client.
  • the client can receive the translated language resource while downloading and updating the game data to the game server or receiving the game data actively sent by the game server.
  • Data that is, the translated language resource entries and language resources can be loaded, and the language that has been translated into Chinese can be displayed to achieve the purpose of translation into Chinese.
  • the language resource data may include a game-specific language resource package and/or a game-specific language resource entry.
  • an additional automation service may be deployed on the proxy server, and the deployed preset automation service may be used to perform format analysis on the game-specific language resource package Obtain the data package format information, and extract the language resource items to be translated from the language resource package, then translate the language resource items, and package the translated language resource items according to the data package format information to generate the target language resource package, that is, The translated language resource package, and finally returns the target language resource package to the client to realize the automation of translation into Chinese.
  • the preset automatic service can be used to translate the language resource entry for the game one by one to obtain the translated language resource entry, and finally provide the client with The terminal returns the translated language resource entries to realize the automation of translation into Chinese.
  • the code logic with translation function can also be obtained, and the code logic can be injected into the intercepted download traffic to obtain the target download traffic, and finally the target download traffic can be returned to the client segment to realize the automation of translation into Chinese.
  • a piece of code logic with a translation function such as JavaScript that includes the function of translating Chinese, so that the injected JavaScript will be loaded and run by the game, so that when the game is running
  • the relevant codes of translation into Chinese are executed at the same time, so as to achieve the purpose of game translation into Chinese, which is not limited by the embodiments of the present disclosure.
  • FIG. 4 it shows a structural block diagram of an embodiment of a game translation device of the present disclosure, which is applied to a proxy server, and the proxy server communicates with the game server for the game, and may specifically include the following modules:
  • the communication connection establishment module 401 is configured to establish a communication connection between the client and the game server through the proxy server;
  • the game data receiving module 402 is configured to receive the game data sent by the game server, wherein the game data is data sent by the game server in response to an active request or actively pushed;
  • the language resource data determining module 403 is configured to determine the language resource data contained in the game data
  • the language resource data returning module 404 is configured to execute the translation of the language resource data according to a preset automatic service, and return the translated language resource data to the client, so that the client loads the translated language resource data.
  • the device when the game data is data sent by the game server in response to an active request, the device may further include the following modules:
  • the download request response module is configured to respond to the download request sent by the client for the game data, and obtain the characteristic information of the download request; the client has opened the deployed proxy service; the download request judging module , configured to judge whether the download request is a download request for the language resource data according to the characteristic information;
  • the download traffic interception module is configured to intercept the download traffic for the game data returned by the game server according to the proxy service when the download request is a download request for the language resource data.
  • the characteristic information includes the request path of the download request;
  • the download request judging module may include the following submodules:
  • the name information acquisition submodule is configured to acquire the resource name information in the request path of the download request, and the name feature for the language resource data;
  • the request path of the download request includes a plurality of resource name information Multiple resource data;
  • the target resource name information judging submodule is configured to judge whether there is target resource name information conforming to the naming characteristics of the language resource data among the plurality of resource name information in the request path;
  • the second target resource data judging submodule is configured to, when the target resource name information exists, determine the resource data corresponding to the target resource name information as the first target resource data among the plurality of resource data in the request path, And judging whether the first target resource data has second target resource data with preset characters;
  • the download request determination submodule is configured to determine that the download request is a download request for the language resource data when the second target resource data exists.
  • the language resource data includes language resource packages and/or language resource entries.
  • the language resource data returning module 404 may include the following submodules:
  • the data packet format analysis submodule is configured to perform format analysis on the language resource bundle by using a preset automation service to obtain data packet format information, and extract the language resource item to be translated from the language resource bundle;
  • the resource data package generation sub-module is configured to execute the translation of the language resource entries, and package the translated language resource entries according to the data package format information to generate a target language resource package;
  • the resource data package returning submodule is configured to return the target language resource package to the client.
  • the language resource data returning module 404 may include the following submodules:
  • the resource data item translation sub-module is configured to perform item-by-item translation of the language resource items using preset automated services to obtain translated language resource items;
  • the resource data item returning submodule is configured to return the translated language resource item to the client.
  • the device may further include the following modules:
  • the code logic acquisition module is configured to execute and acquire the code logic with translation function
  • the target download traffic returning module is configured to inject the code logic into the intercepted download traffic to obtain the target download traffic, and return the target download traffic to the client.
  • the description is relatively simple, and for relevant parts, please refer to the part of the description of the method embodiment.
  • An embodiment of the present disclosure also provides an electronic device, including:
  • the language resource data is translated according to a preset automatic service, and the translated language resource data is returned to the client.
  • the game data when the game data is data sent by the game server in response to an active request, it further includes:
  • the download request is a download request for the language resource data
  • the characteristic information includes a request path of the download request; the judging whether the download request is a download request for the language resource data according to the characteristic information includes:
  • the request path of the download request includes a plurality of resource data with a plurality of resource name information
  • the target resource name information exists, determine the resource data corresponding to the target resource name information among the plurality of resource data in the request path as the first target resource data, and determine whether the first target resource data has The second target resource data of preset characters;
  • the download request is a download request for the language resource data.
  • the language resource data includes language resource packages and/or language resource entries.
  • translating the language resource data according to a preset automated service and returning the translated language resource data to the client includes:
  • translating the language resource data according to a preset automated service and returning the translated language resource data to the client includes:
  • the method also includes:
  • the code logic is injected into the intercepted download traffic to obtain the target download traffic, and the target download traffic is returned to the client.
  • the proxy server can establish a communication connection between the client and the game server.
  • the proxy server can receive the game data sent by the game server, and the received game data can be provided by the game server according to an active request.
  • the language resource data By intercepting and analyzing the language resource data contained in the network request traffic, the language resource data is automatically translated and localized, and there is no need to obtain the read and write permissions of the game language resource package on the game running device, so that the game can be played in certain places that cannot be played. Sinicization of translation is realized on the equipment of Sinicization.
  • An embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following method steps are implemented:
  • the language resource data is translated according to a preset automatic service, and the translated language resource data is returned to the client.
  • the game data when the game data is data sent by the game server in response to an active request, it further includes:
  • the download request is a download request for the language resource data
  • the characteristic information includes a request path of the download request; the judging whether the download request is a download request for the language resource data according to the characteristic information includes:
  • the request path of the download request includes a plurality of resource data with a plurality of resource name information
  • the target resource name information exists, determine the resource data corresponding to the target resource name information among the plurality of resource data in the request path as the first target resource data, and determine whether the first target resource data has The second target resource data of preset characters;
  • the download request is a download request for the language resource data.
  • the language resource data includes language resource packages and/or language resource entries.
  • translating the language resource data according to a preset automated service and returning the translated language resource data to the client includes:
  • translating the language resource data according to a preset automated service and returning the translated language resource data to the client includes:
  • the method also includes:
  • the code logic is injected into the intercepted download traffic to obtain the target download traffic, and the target download traffic is returned to the client.
  • the proxy server can establish a communication connection between the client and the game server.
  • the proxy server can receive the game data sent by the game server, and the received game data can be provided by the game server according to an active request.
  • the language resource data By intercepting and analyzing the language resource data contained in the network request traffic, the language resource data is automatically translated and localized, and there is no need to obtain the read and write permissions of the game language resource package on the game running device, so that the game can be played in certain places that cannot be played. Sinicization of translation is realized on the equipment of Sinicization.
  • FIG. 5 it shows a structural block diagram of a computer-readable storage medium according to an embodiment of the present disclosure.
  • a computer program can be stored on the computer-readable storage medium 501, wherein the computer program can realize the above-mentioned game translation when executed by a processor.
  • Each process of the method embodiment can achieve the same technical effect, and will not be repeated here to avoid repetition.
  • embodiments of the present disclosure may be provided as methods, apparatuses, or computer program products. Accordingly, embodiments of the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure 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, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • Embodiments of the disclosure are described with reference to flowchart illustrations and/or block diagrams of methods, client devices (systems), and computer program products according to embodiments of the disclosure. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing client device to produce a machine such that execution by the processor of the computer or other programmable data processing client device The instructions generate means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing client device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising instruction means,
  • the instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing client device, causing a series of operational steps to be performed on the computer or other programmable client device to produce a computer-implemented process, thereby
  • the instructions executed on the client device provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

Abstract

本公开实施例提供了一种游戏翻译方法和装置,应用于代理服务器,所述方法包括:通过代理服务器建立客户端与游戏服务器的通信连接:接收游戏服务器发送的游戏数据,其中,游戏数据为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据;确定游戏数据中包含的语言资源数据;根据预设自动化服务翻译语言资源数据,并向客户端返回翻译后的语言资源数据,以使客户端加载翻译后的语言资源数据。通过拦截和分析网络请求流量内所包含的语言资源数据的方式,对语言资源数据进行自动化翻译汉化修改,不用在游戏运行设备上获取游戏语言资源包的读写权限,使得游戏能够在某些不能翻译汉化的设备上实现翻译汉化。

Description

一种游戏翻译方法和装置
相关申请的交叉引用
本公开要求于2021年05月26日提交的申请号为202110579415.9、名称为“一种游戏翻译方法和装置”的中国专利申请的优先权,该中国专利申请的全部内容通过引用全部并入本文。
技术领域
本公开涉及计算机技术领域,特别是涉及一种游戏翻译方法和一种游戏翻译装置。
背景技术
随着互联网的发展,电子游戏作为全球化的文化交流方式,其在国际之间的交流和传播和日趋频繁和广泛。但是由于各个地区的语言隔阂和翻译成本问题,使得电子游戏所存在的语言障碍问题在一定程度上阻碍了电子游戏在国际之间的传播和交流,不仅可能使得母语环境为非游戏提供语言的使用人群在运行游戏时具有一定的使用门槛,还可能使得游戏开发人员和设计人员在借鉴和学习国外游戏时具有一定程度上的阻碍。对于游戏的翻译或者汉化,是需要面对和处理的问题。
在相关的游戏汉化或者翻译技术中,主要是对游戏的语言资源包进行处理,具体可以为查找游戏的语言资源包,对语言资源包里的格式进行人工分析并提取相应的游戏语言资源,然后翻译所提取的游戏语言资源,并将进行翻译后的游戏语言资源重新写回到游戏的语言资源包,即采用新的语言资源包替换旧的语言资源包的方式,在后续运行游戏加载翻译汉化改动过的语言资源包,在游戏的界面上展示翻译后的语言条目。
然而,上述查找游戏的语言资源包,并采用新的语言资源包替换旧的语言资源包的方式,需要对语言资源包进行提取和写入,当无法获取游戏语言资源包的读取权限时,则无法对游戏语言进行翻译,具有局限性。
需要说明的是,上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。
发明内容
鉴于上述问题,提出了本公开实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种游戏翻译方法和相应的一种游戏翻译装置。
为了解决上述问题,本公开实施例公开了一种游戏翻译方法,应用于代理服务器,所述代理服务器与针对所述游戏的游戏服务器通信,所述方法包括:
通过所述代理服务器建立客户端与所述游戏服务器的通信连接;
接收所述游戏服务器发送的游戏数据,其中,所述游戏数据为游戏服务器根据主动 请求进行响应而发送的数据或是主动推送的数据;
确定所述游戏数据中包含的语言资源数据;
根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据。
可选地,在所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据的情况下,还包括:
响应所述客户端发送的针对所述游戏数据的下载请求,获取所述下载请求的特性信息;所述客户端已开启所部署的代理服务;
根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求;
若所述下载请求为针对所述语言资源数据的下载请求,则基于所述代理服务拦截所述游戏服务器返回的针对所述游戏数据的下载流量。
可选地,所述特性信息包括所述下载请求的请求路径;所述根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求,包括:
获取所述下载请求的请求路径中的资源名称信息,以及针对所述语言资源数据的名称特征;所述下载请求的请求路径包括具有多个资源名称信息的多个资源数据;
判断所述请求路径的多个资源名称信息中是否存在符合所述语言资源数据的命名特征的目标资源名称信息;
若存在所述目标资源名称信息,则在所述请求路径的多个资源数据中确定与目标资源名称信息相应的资源数据为第一目标资源数据,并判断所述第一目标资源数据中是否具有预设字符的第二目标资源数据;
若存在所述第二目标资源数据,则判定所述下载请求为针对所述语言资源数据的下载请求。
可选地,所述语言资源数据包括语言资源包和/或语言资源条目。
可选地,所述根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,包括:
采用预设自动化服务对所述语言资源包进行格式分析得到数据包格式信息,以及从所述语言资源包提取待翻译的语言资源条目;
对所述语言资源条目进行翻译,并将翻译后的语言资源条目按照所述数据包格式信息进行打包生成目标语言资源包;
向所述客户端返回所述目标语言资源包。
可选地,所述根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,包括:
采用预设自动化服务对所述语言资源条目进行逐条翻译,得到翻译后的语言资源条目;
向所述客户端返回所述翻译后的语言资源条目。
可选地,所述方法还包括:
获取具有翻译功能的代码逻辑;
将所述代码逻辑注入所拦截的下载流量中得到目标下载流量,并向所述客户端返回所述目标下载流量。
本公开实施例还公开了一种游戏翻译装置,应用于代理服务器,所述代理服务器与针对所述游戏的游戏服务器通信,所述装置包括:
通信连接建立模块,被配置为执行通过所述代理服务器建立客户端与所述游戏服务器的通信连接;
游戏数据接收模块,被配置为执行接收所述游戏服务器发送的游戏数据,其中,所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据;
语言资源数据确定模块,被配置为执行确定所述游戏数据中包含的语言资源数据;
语言资源数据返回模块,被配置为执行根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,以使所述客户端加载所述翻译后的语言资源数据。
可选地,在所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据的情况下,所述装置还包括:
下载请求响应模块,被配置为执行响应所述客户端发送的针对所述游戏数据的下载请求,获取所述下载请求的特性信息;所述客户端已开启所部署的代理服务;
下载请求判断模块,被配置为执行根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求;
下载流量拦截子模块,被配置为执行在所述下载请求为针对所述语言资源数据的下载请求时,根据所述代理服务拦截所述游戏服务器返回的针对所述游戏数据的下载流量。
可选地,所述特性信息包括所述下载请求的请求路径;所述下载请求判断模块包括:
名称信息获取子模块,被配置为执行获取所述下载请求的请求路径中的资源名称信息,以及针对所述语言资源数据的名称特征;所述下载请求的请求路径包括具有多个资源名称信息的多个资源数据;
目标资源名称信息判断子模块,被配置为执行判断所述请求路径的多个资源名称信息中是否存在符合所述语言资源数据的命名特征的目标资源名称信息;
第二目标资源数据判断子模块,被配置为执行存在所述目标资源名称信息时,在所述请求路径的多个资源数据中确定与目标资源名称信息相应的资源数据为第一目标资源数据,并判断所述第一目标资源数据中是否具有预设字符的第二目标资源数据;
下载请求判定子模块,被配置为执行存在所述第二目标资源数据时,判定所述下载请求为针对所述语言资源数据的下载请求。
可选地,所述语言资源数据包括语言资源包和/或语言资源条目。
可选地,所述语言资源数据返回模块包括:
数据包格式分析子模块,被配置为执行采用预设自动化服务对所述语言资源包进行格式分析得到数据包格式信息,以及从所述语言资源包提取待翻译的语言资源条目;
资源数据包生成子模块,被配置为执行对所述语言资源条目进行翻译,并将翻译后的语言资源条目按照所述数据包格式信息进行打包生成目标语言资源包;
资源数据包返回子模块,被配置为执行向所述客户端返回所述目标语言资源包。
可选地,所述语言资源数据返回模块包括:
资源数据条目翻译子模块,被配置为执行采用预设自动化服务对所述语言资源条目进行逐条翻译,得到翻译后的语言资源条目;
资源数据条目返回子模块,被配置为执行向所述客户端返回所述翻译后的语言资源条目。
可选地,所述装置还包括:
代码逻辑获取模块,被配置为执行获取具有翻译功能的代码逻辑;
目标下载流量返回模块,被配置为执行将所述代码逻辑注入所拦截的下载流量中得到目标下载流量,并向所述客户端返回所述目标下载流量。
本公开实施例还公开了一种电子设备,包括:处理器、存储器及存储在所述存储器上并能够在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如任一项所述游戏翻译方法的步骤。
本公开实施例还公开了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如任一项所述游戏翻译方法的步骤。
本发明实施例包括以下优点:
在本发明实施例中,应用于代理服务器,代理服务器可以建立客户端与游戏服务器的通信连接,此时代理服务器可以接收游戏服务器发送的游戏数据,所接收的游戏数据可以为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据,若所接收的游戏数据中包括语言资源数据,则可以根据其部署的预设自动化服务对语言资源数据进行翻译,并将翻译后的语言资源数据返回给客户端,以使客户端能够加载翻译后的语言资源数据。通过拦截和分析网络请求流量内所包含的语言资源数据的方式,对语言资源数据进行自动化翻译汉化修改,不用在游戏运行设备上获取游戏语言资源包的读写权限,使得游戏能够在某些不能翻译汉化的设备上实现翻译汉化。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本公开的一种游戏翻译方法实施例的步骤流程图;
图2是本公开实施例中游戏翻译的通信架构示意图;
图3是本公开的另一种游戏翻译方法实施例的步骤流程图;
图4是本公开的一种游戏翻译装置实施例的结构框图;
图5是本公开实施例的一种计算机可读存储介质的结构框图。
具体实施方式
为使本公开的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本公开作进一步详细的说明。
为便于本领域技术人员理解本公开,下面对本公开下述各实施例中涉及到的术语或名词做出解释:
VPN:Virtual Private Network,虚拟专用网络,是一种在因特网上建立专用网络的技术;
HTTP:Hyper Text Transport Protocol,超文本传输协议,是一种流行的基于TCP/IP的一种网络传输协议;
TCP:Transmission Control Protocol,传输控制协议,是TCP/IP协议的核心;
UDP:User Datagram Protocol,用户数据报协议,是TCP/IP协议的核心;
JavaScript:是一种主要运行在浏览器上面的脚本语言;
iOS:是苹果公司开发的一个流行的移动操作系统;
Android:是谷歌公司开发的一个流行的移动操作系统;
Windows:是微软公司开发的一个流行的桌面操作系统;
Unicode:是一种覆盖大部分语言的广泛使用的字符集编码技术。
在相关的游戏汉化或者翻译技术中,主要是对游戏的语言资源包进行处理,具体可以为查找游戏的语言资源包,对语言资源包里的格式进行人工分析并提取相应的游戏语言资源,然后翻译所提取的游戏语言资源,并将进行翻译后的游戏语言资源重新写回到游戏的语言资源包,即采用新的语言资源包替换旧的语言资源包的方式,在后续运行游戏加载翻译汉化改动过的语言资源包,在游戏的界面上展示翻译后的语言条目。
然而,上述查找游戏的语言资源包,并采用新的语言资源包替换旧的语言资源包的方式,需要对语言资源包进行提取和写入,此时需要访问设备的存储,即需要获取到设备中游戏存放语言资源包的位置的读写权限。但是随着各个操作系统对运行于其上的应 用程序的隐私保护,以及游戏应用程序本身的保护,通常难以获取到游戏语言资源包存放位置的读写权限。其中,游戏语言资源包实际可以存放在私有的目录下面,其他的程序或者工具无法对语言资源包进行读写操作。
由于难以获取游戏语言资源包的存放位置的读写权限,后续无法进行对游戏语言资源包进行翻译,且对语言资源包的替换操作的方式不通用,在iOS设备上几乎无法进行,只能在一些比较旧的Android设备上部分游戏可以实现或者需要向用户获取额外的读写权限,在Windows设备上也可能需要额外的写提示操作的确认,该获取读写权限的语言资源包翻译方式会让用户觉得不够安全;同时这种通过读写设备存储替换语言包的方式无法实现自动化,游戏语言资源包在更新后还需要重新下载或者手动处理,操作繁琐且维护成本比较高。
针对以上描述的某些设备无法修改游戏的语言资源包、翻译汉化操作无法自动化进行、翻译无法和游戏同时保持更新等缺点,本公开实施例的核心思想之一在于提出通过网络流量截获的方式对游戏进行翻译汉化的方案,具体可以通过拦截和分析网络请求流量,对语言包进行自动化翻译汉化修改,解决某些游戏在某些平台或者设备上无法翻译汉化的问题。
参照图1,示出了本公开的一种游戏翻译方法实施例的步骤流程图,应用于代理服务器,代理服务器与针对游戏的游戏服务器通信,具体可以包括如下步骤:
步骤101,通过代理服务器建立客户端与游戏服务器的通信连接;
在本公开实施例中,可以应用于代理服务器,此代理服务器可以与针对游戏的游戏服务器进行通信,且可以与客户端进行通信,其中,客户端上可以部署有代理服务,此时可以开启所部署的代理服务,形成已开启代理服务的客户端—代理服务器—上游的游戏服务器的通信链路。
参照图2,示出了本公开实施例中游戏翻译的通信架构示意图,代理服务器作为游戏服务器和客户端的中间媒介,游戏服务器可以指的是位于客户端上游的针对游戏的游戏应用服务器,而客户端可以指的是加速器客户端。
其中,加速器可以是一种免安装的应用程序,该应用程序中可以包括多个游戏,用户可以直接双击使用加速器,并在验证成功后可以直接选择游戏进行加速,假设此时所选择加速的游戏为待翻译的游戏,客户端可以通过上行通信链路经由代理服务器进行VPN转发流量的操作,此时代理服务器可以接收游戏应用服务器所发送的游戏数据,即通过代理服务器对下行通信链路上的下载流量进行截获,以便能够自动化处理游戏数据实现游戏翻译后,向加速器客户端下发已翻译的语言资源。
步骤102,接收游戏服务器发送的游戏数据,确定游戏数据中包含的语言资源数据;
在实际应用中,对于某些大型的游戏,其游戏的语言资源包通常存放在单独的文件中,并作为游戏资源的一部分实现下载更新,使得能够在一方面减少游戏分发包的大小, 使用户可以快速下载并进入游戏,在另一方面可以保持存储有语言资源包的独立文件的动态更新。
在本公开的一种实施例中,可以通过代理服务器拦截游戏服务器所发送的游戏数据,即不直接将游戏服务器发送的游戏数据直接发送给客户端,以便代理服务器对所拦截的游戏数据进行处理,具体为确定游戏数据中所包含的语言资源数据,并对语言资源数据进行处理。
其中,所接收的游戏数据可以是游戏服务器根据主动请求进行响应而发送的数据,或者是由游戏服务器主动推送的数据,例如根据客户端的版本号主动推送更新后的游戏数据。对此,本公开实施例不加以限制。步骤103,根据预设自动化服务翻译语言资源数据,并向客户端返回翻译后的语言资源数据,以使客户端加载翻译后的语言资源数据。
在本公开的一种实施例中,对所截获的语言资源数据进行处理可以表现为根据预设自动化服务器翻译所截获的语言资源数据,以便向客户端返回翻译后的语言资源数据,使得客户端在运行游戏时能够在游戏界面展示已翻译后的语言资源数据所对应的界面文本,实现游戏翻译汉化的目的。
具体的,对所截获的语言资源数据的翻译操作,语言数据资源可以包括语言资源包和/或语言资源条目,此时可以对语言资源数据进行截获,替换已翻译的语言资源包,或者直接对下载流量里面的语言资源条目进行翻译,向客户端返回翻译后的语言条目。
需要说明的是,由于所有的对语言资源包的替换、改动的执行逻辑都发生在代理服务器端,不需要在游戏运行设备(即客户端)上获取额外的读写权限,这种对游戏语言资源包的翻译方式操作简单,且使得游戏客户端用户几乎无感知的同时,可以在代理服务器上实现翻译的自动化。
在本公开实施例中,应用于代理服务器,代理服务器可以建立客户端与游戏服务器的通信连接,此时代理服务器可以接收游戏服务器发送的游戏数据,所接收的游戏数据可以为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据,若所接收的游戏数据中包括语言资源数据,则可以根据其部署的预设自动化服务对语言资源数据进行翻译,并将翻译后的语言资源数据返回给客户端,以使客户端能够加载翻译后的语言资源数据。通过拦截和分析网络请求流量内所包含的语言资源数据的方式,对语言资源数据进行自动化翻译汉化修改,不用在游戏运行设备上获取游戏语言资源包的读写权限,使得游戏能够在某些不能翻译汉化的设备上实现翻译汉化。
参照图3,示出了本公开的另一种游戏翻译方法实施例的步骤流程图,应用于代理服务器,代理服务器可以建立客户端与针对游戏的游戏服务器的通信连接,在所接收的游戏数据为游戏服务器根据主动请求进行响应而发送的数据的情况下,具体可以包括如下步骤:
步骤301,响应客户端发送的针对游戏数据的下载请求,拦截游戏服务器返回的针 对游戏数据的下载流量;
在本公开的一种实施例中,在所接收的游戏数据为游戏服务器根据主动请求进行响应而发送的数据的情况下,需要游戏服务器响应客户端所发送的下载其请请求返回游戏数据,此时代理服务器可以对游戏服务器所返回的游戏数据进行拦截,以便对所拦截的游戏数据进行处理。
其中,代理服务器能够对所返回的游戏数据进行拦截与处理,可以通过对所经过的下载流量进行拦截与处理实现,具体可以表现为对针对该游戏的下载流量进行拦截,所拦截的下载流量实质上为上游的游戏服务器响应下载请求返回的网络流量。在实际应用中,上游的游戏服务器所返回的下载流量可以包括游戏的语言资源数据,而对于某些游戏的资源下载,其资源下载的流量是使用HTTP或者未加密的TCP/UDP进行处理的,即下载流量是明文传送的,此时可以对下载流量中的语言资源数据进行拦截或截获,以便实现通过网络流量截获的方式对游戏进行翻译汉化的方式。
具体的,通过代理服务器对客户端所发送的针对游戏的下载请求进行接收,所接收的下载请求可以是由客户端生成的并向游戏服务器所发送的下载请求,此时代理服务器作为已开启代理服务的客户端与游戏服务器的中间媒介,可以经由代理服务器向上游的游戏服务器转发下载请求,以便游戏服务器可以响应下载请求向客户端返回下载流量。
在实际应用中,对于某些大型的游戏,其游戏的语言资源包通常存放在单独的文件中,并作为游戏资源的一部分实现下载更新,使得能够在一方面减少游戏分发包的大小,使用户可以快速下载并进入游戏,在另一方面可以保持存储有语言资源包的独立文件的动态更新。
那么用户在通过客户端对游戏数据进行更新下载时,在游戏运行的设备可以建立VPN或者HTTP代理(相当于开启部署的代理服务),使得游戏的下载流量可以经过所建立的VPN或者HTTP(即代理服务器)进行代理,以便代理服务器能够对所经过的下载流量进行处理。
在VPN或者HTTP代理的服务端,可以拦截到游戏的所有网络请求流量,此时可以判断所拦截的下载流量是否包括游戏的语言资源包或游戏的语言资源条目,其具体判断可以通过判断客户端所生成的下载请求为针对游戏的语言资源数据的下载请求实现,且后续能够通过判断结果对游戏的下载流量进行拦截。
在具体实现中,可以获取下载请求的特性信息,并通过特性信息判断客户端所生成的下载请求是否为针对语言资源包的HTTP下载请求,或为针对语言资源条目的下载请求实现。
在本公开的一种实施例中,下载请求的特性信息可以包括下载请求的请求路径,此时可以获取下载请求的请求路径中的资源名称信息,以及针对语言资源数据的名称特征,由于下载请求的请求路径可以包括具有多个资源名称信息的多个资源数据,此时可以判断请求路径的多个资源名称信息中是否存在符合语言资源数据的命名特征的目标 资源名称信息,若存在目标资源名称信息,则可以在请求路径的多个资源数据中确定与目标资源名称信息相应的资源数据为第一目标资源数据,并判断第一目标资源数据中是否具有预设字符的第二目标资源数据;若此时存在第二目标资源数据,则可以判定下载请求为针对游戏的语言资源数据的下载请求,即后续所拦截的下载流量包含有语言资源数据,此时可以通过客户端所开启的代理服务(即通过代理服务器)对该下载请求返回的下载流量进行拦截。
其中,若在请求路径的多个资源名称信息中不存在符合语言资源数据的命名特征的目标资源名称信息,或者在第一目标资源数据中不具有预设字符的第二目标资源数据,则可以表示客户端所生成的下载请求并不是针对游戏的语言资源数据的请求,即后续所拦截的下载流量并不包含有语言资源数据,此时可以不对游戏服务器对该下载请求返回的下载流量进行拦截。
在实际应用中,可以分析未加密的下载流量的特性,得到特性信息,首先可以查看请求路径当中的文件名是否包含language,locale,lang,message,text,ui等比较明显的语言资源数据的命名特征,并根据此查找缩小查找范围;然后可以对已缩小范围内的目标文件(相当于第一目标语言资源数据)进行Unicode字符集的查找,不同的待翻译的语言有不同的Unicode字符集,需要依据不同的实际情况具体处理,如果网络请求流量里面包含待翻译的语言资源数据,则可以进一步对语言资源数据进行翻译,并向客户端返回翻译后的语言资源数据。
步骤302,根据预设自动化服务替换语言资源包或翻译语言资源条目,并向客户端返回替换后的语言资源包或翻译后的语言资源条目。
此时可以对语言资源数据进行翻译并向客户端返回翻译后的资源数据,客户端在向游戏服务器下载更新游戏数据或接收游戏服务器主动发送的游戏数据的同时,可以接收到翻译后的语言资源数据,即可以加载已经翻译好的语言资源条目与语言资源,展示已经翻译汉化的语言,达到翻译汉化的目的。
其中,语言资源数据可以包括针对游戏的语言资源包和/或针对游戏的语言资源条目。
在一种情况下,当语言资源数据为针对游戏的语言资源包时,可以在代理服务器上部署额外的自动化服务,采用所部署的预设自动化服务对针对所述游戏的语言资源包进行格式分析得到数据包格式信息,以及从语言资源包提取待翻译的语言资源条目,然后对语言资源条目进行翻译,并将翻译后的语言资源条目按照数据包格式信息进行打包生成目标语言资源包,即已翻译的语言资源包,最后向客户端返回目标语言资源包,实现翻译汉化的自动化。
在另一种情况下,当语言资源数据为针对游戏的语言资源条目时,可以采用预设自动化服务对针对所述游戏的语言资源条目进行逐条翻译,得到翻译后的语言资源条目,最后向客户端返回翻译后的语言资源条目,实现翻译汉化的自动化。
在一种优选的实施例中,还可以获取具有翻译功能的代码逻辑,并将代码逻辑注入所拦截的下载流量中得到目标下载流量,最后向客户段返回目标下载流量,实现翻译汉化的自动化。
作为一种示例,对于某些网页游戏,可以在流量截获时,注入一段具有翻译功能的代码逻辑,例如包含翻译汉化功能的JavaScript,使得所注入的JavaScript将会被游戏加载运行,实现在游戏运行时执行翻译汉化的相关代码,达到对游戏翻译汉化的目的,对此,本公开实施例不加以限制。
需要说明的是,对于不同的游戏语言资源数据,其资源名称以及资源数据包格式千差万别,翻译的语言种类不同,且代理服务器的实现框架也是种类众多,由于前述的不确定因素,可能导致具体的实现细节也有很大的不同,本公开实施例中所描述的方案主要描述通用的技术部分,对于不通用的具体实现过程,对此,本公开实施例不加以限制。
在本公开实施例中,通过VPN或者HTTP代理截获网络流量的方式,无需在游戏运行设备上获取游戏语言资源包的读写权限,使得游戏能够在某些不能翻译汉化的设备上实现翻译汉化,扩展了可翻译汉化游戏的品类;且由于是在代理服务器端对网络流量层面进行替换,可以做到翻译的自动化,减少人工的手动介入;以及,在游戏语言资源更新时,能够及时保持翻译汉化的更新。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开实施例并不受所描述的动作顺序的限制,因为依据本公开实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本公开实施例所必须的。
参照图4,示出了本公开的一种游戏翻译装置实施例的结构框图,应用于代理服务器,所述代理服务器与针对所述游戏的游戏服务器通信,具体可以包括如下模块:
通信连接建立模块401,被配置为执行通过所述代理服务器建立客户端与所述游戏服务器的通信连接;
游戏数据接收模块402,被配置为执行接收所述游戏服务器发送的游戏数据,其中,所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据;
语言资源数据确定模块403,被配置为执行确定所述游戏数据中包含的语言资源数据;
语言资源数据返回模块404,被配置为执行根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,以使所述客户端加载所述翻译后的语言资源数据。
在本公开的一种实施例中,在所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据的情况下,所述装置还可以包括如下模块:
下载请求响应模块,被配置为执行响应所述客户端发送的针对所述游戏数据的下载请求,获取所述下载请求的特性信息;所述客户端已开启所部署的代理服务;下载请求判断模块,被配置为执行根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求;
下载流量拦截模块,被配置为执行在所述下载请求为针对所述语言资源数据的下载请求时,根据所述代理服务拦截所述游戏服务器返回的针对所述游戏数据的下载流量。
在本公开的一种实施例中,所述特性信息包括所述下载请求的请求路径;下载请求判断模块可以包括如下子模块:
名称信息获取子模块,被配置为执行获取所述下载请求的请求路径中的资源名称信息,以及针对所述语言资源数据的名称特征;所述下载请求的请求路径包括具有多个资源名称信息的多个资源数据;
目标资源名称信息判断子模块,被配置为执行判断所述请求路径的多个资源名称信息中是否存在符合所述语言资源数据的命名特征的目标资源名称信息;
第二目标资源数据判断子模块,被配置为执行存在所述目标资源名称信息时,在所述请求路径的多个资源数据中确定与目标资源名称信息相应的资源数据为第一目标资源数据,并判断所述第一目标资源数据中是否具有预设字符的第二目标资源数据;
下载请求判定子模块,被配置为执行存在所述第二目标资源数据时,判定所述下载请求为针对所述语言资源数据的下载请求。
在本公开的一种实施例中,所述语言资源数据包括语言资源包和/或语言资源条目。
在本公开的一种实施例中,语言资源数据返回模块404可以包括如下子模块:
数据包格式分析子模块,被配置为执行采用预设自动化服务对所述语言资源包进行格式分析得到数据包格式信息,以及从所述语言资源包提取待翻译的语言资源条目;
资源数据包生成子模块,被配置为执行对所述语言资源条目进行翻译,并将翻译后的语言资源条目按照所述数据包格式信息进行打包生成目标语言资源包;
资源数据包返回子模块,被配置为执行向所述客户端返回所述目标语言资源包。
在本公开的一种实施例中,语言资源数据返回模块404可以包括如下子模块:
资源数据条目翻译子模块,被配置为执行采用预设自动化服务对所述语言资源条目进行逐条翻译,得到翻译后的语言资源条目;
资源数据条目返回子模块,被配置为执行向所述客户端返回所述翻译后的语言资源条目。
在本公开的一种实施例中,所述装置还可以包括如下模块:
代码逻辑获取模块,被配置为执行获取具有翻译功能的代码逻辑;
目标下载流量返回模块,被配置为执行将所述代码逻辑注入所拦截的下载流量中得到目标下载流量,并向所述客户端返回所述目标下载流量。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关 之处参见方法实施例的部分说明即可。
本公开实施例还提供了一种电子设备,包括:
包括处理器、存储器及存储在所述存储器上并能够在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现如下方法步骤:
通过所述代理服务器建立客户端与所述游戏服务器的通信连接;
接收所述游戏服务器发送的游戏数据,其中,所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据;
确定所述游戏数据中包含的语言资源数据;
根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据。
可选地,在所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据的情况下,还包括:
响应所述客户端发送的针对所述游戏数据的下载请求,获取所述下载请求的特性信息;所述客户端已开启所部署的代理服务;
根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求;
若所述下载请求为针对所述语言资源数据的下载请求,则基于所述代理服务拦截所述游戏服务器返回的针对所述游戏数据的下载流量。
可选地,所述特性信息包括所述下载请求的请求路径;所述根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求,包括:
获取所述下载请求的请求路径中的资源名称信息,以及针对所述语言资源数据的名称特征;所述下载请求的请求路径包括具有多个资源名称信息的多个资源数据;
判断所述请求路径的多个资源名称信息中是否存在符合所述语言资源数据的命名特征的目标资源名称信息;
若存在所述目标资源名称信息,则在所述请求路径的多个资源数据中确定与目标资源名称信息相应的资源数据为第一目标资源数据,并判断所述第一目标资源数据中是否具有预设字符的第二目标资源数据;
若存在所述第二目标资源数据,则判定所述下载请求为针对所述语言资源数据的下载请求。
可选地,所述语言资源数据包括语言资源包和/或语言资源条目。
可选地,所述根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,包括:
采用预设自动化服务对所述语言资源包进行格式分析得到数据包格式信息,以及从所述语言资源包提取待翻译的语言资源条目;
对所述语言资源条目进行翻译,并将翻译后的语言资源条目按照所述数据包格式信 息进行打包生成目标语言资源包;
向所述客户端返回所述目标语言资源包。
可选地,所述根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,包括:
采用预设自动化服务对所述语言资源条目进行逐条翻译,得到翻译后的语言资源条目;
向所述客户端返回所述翻译后的语言资源条目。
可选地,所述方法还包括:
获取具有翻译功能的代码逻辑;
将所述代码逻辑注入所拦截的下载流量中得到目标下载流量,并向所述客户端返回所述目标下载流量。
在本发明实施例中,应用于代理服务器,代理服务器可以建立客户端与游戏服务器的通信连接,此时代理服务器可以接收游戏服务器发送的游戏数据,所接收的游戏数据可以为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据,若所接收的游戏数据中包括语言资源数据,则可以根据其部署的预设自动化服务对语言资源数据进行翻译,并将翻译后的语言资源数据返回给客户端,以使客户端能够加载翻译后的语言资源数据。通过拦截和分析网络请求流量内所包含的语言资源数据的方式,对语言资源数据进行自动化翻译汉化修改,不用在游戏运行设备上获取游戏语言资源包的读写权限,使得游戏能够在某些不能翻译汉化的设备上实现翻译汉化。
本公开实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时实现如下方法步骤:
通过所述代理服务器建立客户端与所述游戏服务器的通信连接;
接收所述游戏服务器发送的游戏数据,其中,所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据;
确定所述游戏数据中包含的语言资源数据;
根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据。
可选地,在所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据的情况下,还包括:
响应所述客户端发送的针对所述游戏数据的下载请求,获取所述下载请求的特性信息;所述客户端已开启所部署的代理服务;
根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求;
若所述下载请求为针对所述语言资源数据的下载请求,则基于所述代理服务拦截所述游戏服务器返回的针对所述游戏数据的下载流量。
可选地,所述特性信息包括所述下载请求的请求路径;所述根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求,包括:
获取所述下载请求的请求路径中的资源名称信息,以及针对所述语言资源数据的名称特征;所述下载请求的请求路径包括具有多个资源名称信息的多个资源数据;
判断所述请求路径的多个资源名称信息中是否存在符合所述语言资源数据的命名特征的目标资源名称信息;
若存在所述目标资源名称信息,则在所述请求路径的多个资源数据中确定与目标资源名称信息相应的资源数据为第一目标资源数据,并判断所述第一目标资源数据中是否具有预设字符的第二目标资源数据;
若存在所述第二目标资源数据,则判定所述下载请求为针对所述语言资源数据的下载请求。
可选地,所述语言资源数据包括语言资源包和/或语言资源条目。
可选地,所述根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,包括:
采用预设自动化服务对所述语言资源包进行格式分析得到数据包格式信息,以及从所述语言资源包提取待翻译的语言资源条目;
对所述语言资源条目进行翻译,并将翻译后的语言资源条目按照所述数据包格式信息进行打包生成目标语言资源包;
向所述客户端返回所述目标语言资源包。
可选地,所述根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,包括:
采用预设自动化服务对所述语言资源条目进行逐条翻译,得到翻译后的语言资源条目;
向所述客户端返回所述翻译后的语言资源条目。
可选地,所述方法还包括:
获取具有翻译功能的代码逻辑;
将所述代码逻辑注入所拦截的下载流量中得到目标下载流量,并向所述客户端返回所述目标下载流量。
在本发明实施例中,应用于代理服务器,代理服务器可以建立客户端与游戏服务器的通信连接,此时代理服务器可以接收游戏服务器发送的游戏数据,所接收的游戏数据可以为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据,若所接收的游戏数据中包括语言资源数据,则可以根据其部署的预设自动化服务对语言资源数据进行翻译,并将翻译后的语言资源数据返回给客户端,以使客户端能够加载翻译后的语言资源数据。通过拦截和分析网络请求流量内所包含的语言资源数据的方式,对语言资源数据进行自动化翻译汉化修改,不用在游戏运行设备上获取游戏语言资源包的读写权 限,使得游戏能够在某些不能翻译汉化的设备上实现翻译汉化。
参照图5,示出了本公开实施例的一种计算机可读存储介质的结构框图,该计算机可读存储介质501上可以存储计算机程序,其中,计算机程序可以被处理器执行时实现上述游戏翻译方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本领域内的技术人员应明白,本公开实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本公开实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本公开实施例是参照根据本公开实施例的方法、客户端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理客户端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理客户端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理客户端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理客户端设备上,使得在计算机或其他可编程客户端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程客户端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本公开实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本公开实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者 客户端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者客户端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者客户端设备中还存在另外的相同要素。
以上对本公开所提供的一种游戏翻译方法和一种游戏翻译装置,进行了详细介绍,本文中应用了具体个例对本公开的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本公开的方法及其核心思想;同时,对于本领域的一般技术人员,依据本公开的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本公开的限制。

Claims (10)

  1. 一种游戏翻译方法,应用于代理服务器,所述代理服务器与针对所述游戏的游戏服务器通信,所述方法包括:
    通过所述代理服务器建立客户端与所述游戏服务器的通信连接;
    接收所述游戏服务器发送的游戏数据,其中,所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据;
    确定所述游戏数据中包含的语言资源数据;
    根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,以使所述客户端加载所述翻译后的语言资源数据。
  2. 根据权利要求1所述的方法,其中,在所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据的情况下,还包括:
    响应所述客户端发送的针对所述游戏数据的下载请求,获取所述下载请求的特性信息;所述客户端已开启所部署的代理服务;
    根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求;
    若所述下载请求为针对所述语言资源数据的下载请求,则基于所述代理服务拦截所述游戏服务器返回的针对所述游戏数据的下载流量。
  3. 根据权利要求2所述的方法,其中,所述特性信息包括所述下载请求的请求路径;所述根据所述特性信息判断所述下载请求是否为针对所述语言资源数据的下载请求,包括:
    获取所述下载请求的请求路径中的资源名称信息,以及针对所述语言资源数据的名称特征;所述下载请求的请求路径包括具有多个资源名称信息的多个资源数据;
    判断所述请求路径的多个资源名称信息中是否存在符合所述语言资源数据的命名特征的目标资源名称信息;
    若存在所述目标资源名称信息,则在所述请求路径的多个资源数据中确定与目标资源名称信息相应的资源数据为第一目标资源数据,并判断所述第一目标资源数据中是否具有预设字符的第二目标资源数据;
    若存在所述第二目标资源数据,则判定所述下载请求为针对所述语言资源数据的下载请求。
  4. 根据权利要求1或2所述的方法,其中,所述语言资源数据包括语言资源包和/或语言资源条目。
  5. 根据权利要求4所述的方法,其中,所述根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,包括:
    采用预设自动化服务对所述语言资源包进行格式分析得到数据包格式信息,以及从所述语言资源包提取待翻译的语言资源条目;
    对所述语言资源条目进行翻译,并将翻译后的语言资源条目按照所述数据包格式信 息进行打包生成目标语言资源包;
    向所述客户端返回所述目标语言资源包。
  6. 根据权利要求4所述的方法,其中,所述根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,包括:
    采用预设自动化服务对所述针对所述语言资源条目进行逐条翻译,得到翻译后的语言资源条目;
    向所述客户端返回所述翻译后的语言资源条目。
  7. 根据权利要求2所述的方法,其中,所述方法还包括:
    获取具有翻译功能的代码逻辑;
    将所述代码逻辑注入所拦截的下载流量中得到目标下载流量,并向所述客户端返回所述目标下载流量。
  8. 一种游戏翻译装置,应用于代理服务器,所述代理服务器与针对所述游戏的游戏服务器通信,所述装置包括:
    通信连接建立模块,被配置为执行通过所述代理服务器建立客户端与所述游戏服务器的通信连接;
    游戏数据接收模块,被配置为执行接收所述游戏服务器发送的游戏数据,其中,所述游戏数据为游戏服务器根据主动请求进行响应而发送的数据或是主动推送的数据;
    语言资源数据确定模块,被配置为执行确定所述游戏数据中包含的语言资源数据;
    语言资源数据返回模块,被配置为执行根据预设自动化服务翻译所述语言资源数据,并向所述客户端返回翻译后的语言资源数据,以使所述客户端加载所述翻译后的语言资源数据。
  9. 一种电子设备,包括:处理器、存储器及存储在所述存储器上并能够在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1-7中任一项所述游戏翻译方法的步骤。
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述游戏翻译方法的步骤。
PCT/CN2022/077516 2021-05-26 2022-02-23 一种游戏翻译方法和装置 WO2022247366A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/250,364 US20230390644A1 (en) 2021-05-26 2022-02-23 Method for translating game, electronic device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110579415.9 2021-05-26
CN202110579415.9A CN113244624A (zh) 2021-05-26 2021-05-26 一种游戏翻译方法和装置

Publications (1)

Publication Number Publication Date
WO2022247366A1 true WO2022247366A1 (zh) 2022-12-01

Family

ID=77184844

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077516 WO2022247366A1 (zh) 2021-05-26 2022-02-23 一种游戏翻译方法和装置

Country Status (3)

Country Link
US (1) US20230390644A1 (zh)
CN (1) CN113244624A (zh)
WO (1) WO2022247366A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113244624A (zh) * 2021-05-26 2021-08-13 网易(杭州)网络有限公司 一种游戏翻译方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100113749A (ko) * 2009-04-14 2010-10-22 한국전자통신연구원 클라이언트 단말기, 게임 서비스 장치 및 게임 서비스 시스템 및 그 방법
CN105094905A (zh) * 2015-07-21 2015-11-25 北京金山安全软件有限公司 动态加载语言资源的方法和装置
CN106940646A (zh) * 2017-03-17 2017-07-11 微梦创科网络科技(中国)有限公司 一种软件国际化处理方法、装置及系统
CN109831523A (zh) * 2019-03-11 2019-05-31 上海六感科技有限公司 游戏服务器架构及游戏服务器响应客户端的方法
CN111160045A (zh) * 2019-12-27 2020-05-15 苏州亿歌网络科技有限公司 一种游戏资源文件翻译方法、装置及设备
CN113244624A (zh) * 2021-05-26 2021-08-13 网易(杭州)网络有限公司 一种游戏翻译方法和装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE522988C2 (sv) * 2000-05-16 2004-03-23 Eurocity Software Ab Förfarande, datorprogramprodukt och datorprogramelement för realtidsöversättning av användargränssnitt i en godtycklig applikation
US7465231B2 (en) * 2004-05-20 2008-12-16 Gametap Llc Systems and methods for delivering content over a network
US8566078B2 (en) * 2010-01-29 2013-10-22 International Business Machines Corporation Game based method for translation data acquisition and evaluation
KR20140129520A (ko) * 2013-04-30 2014-11-07 주식회사 아베크게임즈 게임 언어 번역 자동화 시스템
CN103316472B (zh) * 2013-05-17 2015-12-23 南京睿悦信息技术有限公司 一种基于蓝牙手柄的Android设备游戏平台系统及其实现方法
CN105429981A (zh) * 2015-11-19 2016-03-23 网易(杭州)网络有限公司 游戏语音传输方法、终端、语音服务模块及游戏系统
CN111414767A (zh) * 2019-01-04 2020-07-14 永德利硅橡胶科技(深圳)有限公司 游戏设备的语言即时传译方法及相关产品
JP6744954B1 (ja) * 2019-06-17 2020-08-19 Wovn Technologies株式会社 情報処理装置、方法、及びプログラム
CN112107855B (zh) * 2020-09-21 2024-03-29 完美世界(重庆)互动科技有限公司 多语言版本的游戏处理方法、装置及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100113749A (ko) * 2009-04-14 2010-10-22 한국전자통신연구원 클라이언트 단말기, 게임 서비스 장치 및 게임 서비스 시스템 및 그 방법
CN105094905A (zh) * 2015-07-21 2015-11-25 北京金山安全软件有限公司 动态加载语言资源的方法和装置
CN106940646A (zh) * 2017-03-17 2017-07-11 微梦创科网络科技(中国)有限公司 一种软件国际化处理方法、装置及系统
CN109831523A (zh) * 2019-03-11 2019-05-31 上海六感科技有限公司 游戏服务器架构及游戏服务器响应客户端的方法
CN111160045A (zh) * 2019-12-27 2020-05-15 苏州亿歌网络科技有限公司 一种游戏资源文件翻译方法、装置及设备
CN113244624A (zh) * 2021-05-26 2021-08-13 网易(杭州)网络有限公司 一种游戏翻译方法和装置

Also Published As

Publication number Publication date
CN113244624A (zh) 2021-08-13
US20230390644A1 (en) 2023-12-07

Similar Documents

Publication Publication Date Title
US10649826B2 (en) Flexible scripting platform for troubleshooting
CN108319483B (zh) 网页处理方法、装置、终端及存储介质
US11074087B2 (en) System and method for identifying, indexing, and navigating to deep states of mobile applications
Subramanian et al. Hands-On RESTful API Design Patterns and Best Practices: Design, develop, and deploy highly adaptable, scalable, and secure RESTful web APIs
US7251780B2 (en) Dynamic web content unfolding in wireless information gateways
EP2976709A1 (en) Systems and methods for intercepting, processing, and protecting user data through web application pattern detection
US20140006548A1 (en) System and Method for Transparent In-Network Adaptation of Rich Internet Applications
US20180032384A1 (en) Secure script execution using sandboxed environments
CN108021564B (zh) 一种页面重定向的方法和设备
WO2022247366A1 (zh) 一种游戏翻译方法和装置
US20220350621A1 (en) Systems and methods for in-application dynamic content loading
CN115225707A (zh) 资源访问方法及装置
US8990266B2 (en) Dynamic data transformations for network transmissions
US10334014B2 (en) Accessing connected service resources in a distributed application programming interface
Konshin Next. js Quick Start Guide: Server-side rendering done right
CN112073465A (zh) 一种基于sftp传输的动态脱敏方法与设备
Bhat et al. Practical Docker with Python
US7650392B1 (en) Dynamic content processing in a reverse proxy service
US20220224758A1 (en) Utilizing non-serializable objects with a function as a service platform
CN110196803B (zh) 一种软件缺陷培训方法和系统
US20090082003A1 (en) Mobile Phone Code Editing Method and Apparatus
Břoušek Evaluation and usage of Google Progressive Web Apps technology
Rehim Python Penetration Testing Cookbook: Practical recipes on implementing information gathering, network security, intrusion detection, and post-exploitation
US20240134658A1 (en) Systems and methods for in-application dynamic content loading
Sreekumar Cross Platform Lightweight Social Networking Application for Next Generation E-Commerce

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22810100

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE