hottub.patents
US 12,470,644 B2#3395350 Most CitedActiveUnited States (USPTO)Utility

Method and system for processing session data of interactive process, server group, and computer readable storage medium

0Forward Citations (#3395350 Global)
0.0/yrCitation Velocity (#3395350 Global)
0.00Citation PageRank (#3395350 Global)
2Prior Art Cited
10Claims (4 Indep. · 6 Dep.)
3Drawings / Sheets

Abstract

The present invention provides a method and a system for processing session data in an interactive process, a server group, and a computer readable storage medium. A memory module and a protocol configuration module are configured in a gateway server, keywords can be directly extracted by the protocol configuration module from a session of a client and a feedback session of an interactive logic server, and then the keywords can be directly forwarded, so that the throughput of session data processing is improved. The corresponding data is stored, extracted and forwarded by using the memory module, so that the delay of data transmission is reduced. Because the memory module is arranged in the gateway server, the occurrence rate of interface instability can be reduced.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 0.

Claims (10 — 4 Independent, 6 Dependent)

  1. Claim 1Independent Claim

    A method for processing session data of an interactive process, comprising the following steps: creating, by an interactive client, session data, and sending a request for forwarding the session data to a gateway server: obtaining, by the gateway server, the session data, and reading multiple key fields within the session data; and reading, by the gateway server, a protocol rule by using a built-in protocol configuration module, and determining whether the multiple key fields conform to the protocol rule; if the multiple key fields conform to the protocol rule, forwarding, by the gateway server, the session data to an interactive logic server based on a forwarding protocol; performing, by the interactive logic server, logical processing on the session data to form reply data, and sending the reply data back to the gateway server by using a reply protocol; storing, by the gateway server, the reply data by using a built-in memory module; obtaining, by the interactive client, the reply data from the memory module; and if the multiple key fields do not conform to the protocol rule, rejecting the request of the interactive client for forwarding the session data, and ending a step.

  2. Claim 2Depends on #1

    The method for processing session data according to claim 1, wherein the performing, by the interactive logic server, logical processing on the session data to form reply data, and sending the reply data back to the gateway server by using a reply protocol comprises: performing, by the interactive logic server, logical processing on the session data, and modifying the session data by writing a modification field to the session data, to form reply data; wherein the reply protocol comprises the written modification field; and the storing, by the gateway server, the reply data by using the built-in memory module comprises: reading, by the gateway server, the modification field by using the reply protocol, and storing the reply data by using the built-in memory module according to the modification field.

  3. Claim 3Depends on #2

    The method for processing session data according to claim 2, wherein the protocol rule comprises an interception rule and a reading rule; the multiple key fields comprise multiple first key fields corresponding to the interception rule and multiple second key fields corresponding to the reading rule; and the obtaining, by the gateway server, the session data, and reading multiple key fields within the session data; and reading, by the gateway server, a protocol rule by using a built-in protocol configuration module, and determining whether the multiple key fields conform to the protocol rule comprises: determining, by the gateway server, whether the multiple first key fields trigger interception by using the interception rule; if interception is not triggered, reading, by the gateway server, the multiple second key fields by using the reading rule; wherein the forwarding protocol comprises the read second key field; and if interception is triggered, rejecting the request of the interactive client for forwarding the session data.

  4. Claim 4Depends on #3

    The processing method for session data according to claim 3, wherein the first key field comprises a user level; and the determining, by the gateway server, whether the multiple first key fields trigger interception by using the interception rule comprises: determining, by the gateway server, whether the user level is greater than a preset level value by using the interception rule.

  5. Claim 5Depends on #3

    The processing method for session data according to claim 3, wherein the second key field comprises a client version; and the performing, by the interactive logic server, logical processing on the session data, and modifying the session data by writing a modification field to the session data, to form reply data comprises: identifying, by the interactive logic server, different client versions, and writing modification fields corresponding to different client versions to the session data to form different reply data.

  6. Claim 6Depends on #2

    The method for processing session data according to claim 2, wherein the modification field comprises a user level; and the performing, by the interactive logic server, logical processing on the session data, and modifying the session data by writing a modification field to the session data, to form reply data comprises: writing, by the interactive logic server, a new user level to the session data to form new reply data.

  7. Claim 7Depends on #1

    The processing method for session data according to claim 1, wherein the session data comprises session content, a client model, a client version, a username, a user address, and a user level.

  8. Claim 8Independent Claim

    A system for processing session data of an interactive process, comprising an interactive client, a gateway server, and an interactive logic server; wherein the interactive client is connected to the gateway server, and the gateway server is connected to the interactive logic server; the interactive client creates session data, and sends a request for forwarding the session data to the gateway server; the gateway server obtains the session data, and reads multiple key fields within the session data; the gateway server reads a protocol rule by using a built-in protocol configuration module and determines whether the multiple key fields conform to the protocol rule; if the multiple key fields conform to the protocol rule, the gateway server forwards the session data to the interactive logic server based on a forwarding protocol; the interactive logic server performs logical processing on the session data to form reply data, and sends the reply data back to the gateway server by using a reply protocol; the gateway server stores the reply data by using a built-in memory module; the interactive client obtains the reply data from the memory module; and if the multiple key fields do not conform to the protocol rule, the gateway server rejects the request of the interactive client for forwarding the session data.

  9. Claim 9Independent Claim

    A server group for an interactive process, connected to an interactive client, comprising a gateway server and an interactive logic server; wherein the interactive client is connected to the gateway server, and the gateway server is connected to the interactive logic server; the interactive client creates session data, and sends a request for forwarding the session data to the gateway server; the gateway server obtains the session data and reads multiple key fields within the session data; the gateway server reads a protocol rule by using a built-in protocol configuration module and determines whether the multiple key fields conform to the protocol rule; if the multiple key fields conform to the protocol rule, the gateway server forwards the session data to the interactive logic server based on a forwarding protocol; the interactive logic server performs logical processing on the session data to form reply data, and sends the reply data back to the gateway server by using a reply protocol; the gateway server stores the reply data by using a built-in memory module; the interactive client obtains the reply data from the memory module; and if the multiple key fields do not conform to the protocol rule, the gateway server rejects the request of the interactive client for forwarding the session data.

  10. Claim 10Independent Claim

    A computer-readable storage medium for storing an instruction of processing session data of an interactive process, stored in a server group, wherein the server group comprises a gateway server and an interactive logic server, an interactive client is connected to the gateway server, the gateway server is connected to the interactive logic server, the interactive client creates session data, and when the instruction is executed, a request for forwarding the session data sent by the interactive client to the gateway server is processed, comprising the following steps: obtaining, by the gateway server, the session data, and reading multiple key fields in the session data; reading, by the gateway server, a protocol rule by using a built-in protocol configuration module, and determining whether the multiple key fields conform to the protocol rule; if the multiple key fields conform to the protocol rule, forwarding, by the gateway server, the session data to the interactive logic server based on a forwarding protocol; performing, by the interactive logic server, logical processing on the session data to form reply data, and sending the reply data back to the gateway server by using a reply protocol; storing, by the gateway server, the reply data by using a built-in memory module; obtaining, by the interactive client, the reply data from the memory module; and if the multiple key fields do not conform to the protocol rule, rejecting, by the gateway server, the request of the interactive client for forwarding the session data.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a U.S. National Phase of International PCT Application No. PCT/CN2022/124791 filed on Oct. 12, 2022, which claims priority to Chinese Patent Application Serial No. 202111192564.6 filed on Oct. 13, 2021. The contents of those applications are incorporated herein by reference in their entireties. TECHNICAL FIELD The present invention relates to the technical field of game servers, and in particular, to a method and a system for processing session data of an interactive process, a server group, and a computer-readable storage medium. BACKGROUND When players use software applications, a large number of interactive processes are generated, especially for game applications. With the continuous improvement of the requirement of the players for game experience, for game servers, there is a need to continuously improve the data throughput in an interactive process and reduce the request response time. In a game server architecture, there are usually a gateway server and a logic server. The gateway server is responsible for establishing a connection with a game client, creating session data, and then forwarding a request of the client to the logic server. After performing logical processing, the logic server sends a reply to the gateway server, and the gateway server replies to the game client. In the development of game logic, such a requirement is often encountered, and logical processing and determining are performed based on the current session data of the player. The current practice is as follows: When the gateway creates session data, the session data is written into a cache database. When the logic server needs to use the session data, the logic server first accesses the cache database, and then performs logical processing. When the logic server needs to modify the session data, the modified session data needs to be written to the cache database again. This approach has two disadvantages: when a process needs

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (2)

PatentTitleYearCitations

Non-Patent Literature (1)

  • International Search Report; China National Intellectual Property Administration; International Application No. PCT/CN2022/124791; Nov. 25, 2022; 6 pages.