Block game area matching method and system

By matching player blocks and selecting relays on the server, the problem of data delay in block games is solved, relay exchange of data is realized, game fluency and data storage efficiency are improved, and user experience is improved.

CN118740910AActive Publication Date: 2024-10-01FUJIAN TQ ONLINE INTERACTIVE INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410719466.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-10-01
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

In block games, data delays between players due to node-based transition data exchange lead to game lags, affecting user experience and game development.

Method used

Obtain player block information through the server for matching, select blocks whose network connection delay is less than the preset threshold to establish a player set, and select the center point block as the relay end to realize relay exchange and scheduled upload of data, reducing data delay.

Benefits of technology

It effectively solves the data delay problem in block games, improves the smoothness of the game and the efficiency of data storage interaction, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740910A_ABST
    Figure CN118740910A_ABST
Patent Text Reader

Abstract

The invention discloses a block game area matching method, which comprises the following steps that: a server obtains information of all player blocks which enter a block game and are actively linked, carries out mutual matching, and establishes each player block of which the network connection delay is less than a preset threshold value as a player set; the server acquires the network position of each player block in each player set, and selects the player block at a central point as an initial relay end; the relay end actively links each player block in the player set to which the relay end belongs, acquires interaction data among the player blocks, and regularly uploads the interaction data to a server; according to the method, the player set is calculated through the server, the relay points are matched through the player set, relay exchange of data between the server and the players and between the players is achieved through the relay points, and the problem that the game cannot be played smoothly due to data delay in the block game and the problem of data storage interaction are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of block games, and in particular to a method and system for matching block game areas. Background Art

[0002] Although current blockchain games use data mining to create value, the use of nodes to exchange data will cause data delays between players, resulting in game freezes. Such problems affect the user's gaming experience and have an adverse impact on the development of the game.

[0003] Therefore, a method for block game area matching is needed to solve the data delay and data storage interaction problems of block games. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method and system for block game area matching to solve the data delay and data storage interaction problems of block games.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0006] A method for matching block game areas, comprising the steps of:

[0007] S1. The server obtains the block information of all players who enter the block game and actively connect, and matches them with each other, and establishes each player block whose network connection delay is less than a preset threshold as a player set;

[0008] S2. The server obtains the network location of each player block in each player set, and selects the player block at the center point as the initial relay end;

[0009] The relay terminal actively links to each player block in the player set to which it belongs, obtains interaction data between each player block, and uploads it to the server at regular intervals.

[0010] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0011] A block game area matching system includes a server and a plurality of player blocks, and the server and the player blocks jointly implement the following steps:

[0012] S1. The server obtains the block information of all players who enter the block game and actively connect, and matches them with each other, and establishes each player block whose network connection delay is less than a preset threshold as a player set;

[0013] S2. The server obtains the network location of each player block in each player set, and selects the player block at the center point as the initial relay end;

[0014] The relay terminal actively links to each player block in the player set to which it belongs, obtains interaction data between each player block, and uploads it to the server at regular intervals.

[0015] The beneficial effects of the present invention are as follows: a method and system for matching block game areas of the present invention calculates a player set through a server, matches a relay point through the player set, and then realizes the relay exchange of data between the server and the player and between the players through the relay point, thereby solving the problem of being unable to play the game smoothly due to data delay in the block game and the problem of data storage interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A flowchart of a method for matching block game areas according to an embodiment of the present invention;

[0017] Figure 2 A flowchart of a method for matching block game areas according to an embodiment of the present invention;

[0018] Figure 3 A schematic diagram of matching between player sets in a block game area matching method according to an embodiment of the present invention;

[0019] Figure 4 A schematic diagram of game types and interactive states of block game area matching in an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.

[0021] Please refer to Figures 1 to 3 , a method for matching block game areas, comprising the steps of:

[0022] S1. The server obtains the block information of all players who enter the block game and actively connect, and matches them with each other, and establishes each player block whose network connection delay is less than a preset threshold as a player set;

[0023] S2. The server obtains the network location of each player block in each player set, and selects the player block at the center point as the initial relay end;

[0024] The relay terminal actively links to each player block in the player set to which it belongs, obtains interaction data between each player block, and uploads it to the server at regular intervals.

[0025] From the above description, it can be seen that the beneficial effects of the present invention are: a method for matching block game areas of the present invention calculates a player set through a server, matches a relay point through the player set, and then realizes the relay exchange of data between the server and the player and between the player through the relay point, thereby solving the problem of being unable to play the game smoothly due to data delay in the block game and the problem of data storage interaction.

[0026] Furthermore, step S2 is specifically as follows:

[0027] Get the IP address of each player block in the player set. For each player block's network location (a, b), use the formula:

[0028] (x) 2 +(yb) 2 =r 2 ;

[0029] Determine the player block with the smallest network position r as the initial relay end;

[0030] Among them, r represents the network distance from the current player block to the farthest other player block (x, y).

[0031] From the above description, it can be seen that by selecting the center point of the network position in the player set as the relay end, the network distance from each player block in the player set to the relay end is guaranteed to be optimal as a whole.

[0032] Furthermore, the method further comprises the steps of:

[0033] S3. The server matches the player sets according to the geometric formula model of the circle, and updates the player sets and the player blocks serving as relays according to the matching results.

[0034] From the above description, it can be seen that matching and merging are performed between player sets to update the player sets and relay ends, reduce the number of player set divisions, reduce unnecessary player set divisions, and make the system more concise.

[0035] Furthermore, step S3 is specifically as follows:

[0036] Match any two player sets, obtain the relay end network locations (a1, b1) and (a2, b2) of the two player sets respectively, and record the corresponding player blocks as C1 and C2;

[0037] When r1+r2>|C1C2|, no relay confirmation is performed;

[0038] When r1+r2<|C1C2|, C1 and C2 are still the relay ends of the player set;

[0039] When r1-r2=|C1C2|, C1 becomes the common relay end of the two player sets;

[0040] When r1-r2<|C1C2|<|r1+r2|, C1 and C2 are still relays and the two player sets share the relay;

[0041] Among them, |C1C2| represents the network distance between player block C1 and player block C2, r1 represents the maximum network distance between player block C1 and other player blocks in the player set to which it belongs, and r2 represents the maximum network distance between player block C2 and other player blocks in the player set to which it belongs.

[0042] It can be seen from the above description that through the above steps, the update of the player set and the relay end is realized based on the geometric model of the circle.

[0043] Furthermore, after the relay end detects that a player block has exited the link with the relay end, the IP address of the player block is sent to the server end for re-matching, and the player information status is saved and uploaded to the server.

[0044] From the above description, it can be seen that when a player exits, the relay end needs to report the player's information status to the server end for saving on the server end.

[0045] A block game area matching system includes a server and a plurality of player blocks, and the server and the player blocks jointly implement the following steps:

[0046] S1. The server obtains the block information of all players who enter the block game and actively connect, and matches them with each other, and establishes each player block whose network connection delay is less than a preset threshold as a player set;

[0047] S2. The server obtains the network location of each player block in each player set, and selects the player block at the center point as the initial relay end;

[0048] The relay terminal actively links to each player block in the player set to which it belongs, obtains interaction data between each player block, and uploads it to the server at regular intervals.

[0049] From the above description, it can be seen that the beneficial effects of the present invention are: a block game area matching system of the present invention calculates the player set through the server, matches the relay point through the player set, and then realizes the relay exchange of data between the server and the player and between the players through the relay point, thereby solving the problem of being unable to play the game smoothly due to data delay in the block game and the data storage interaction problem.

[0050] Furthermore, step S2 is specifically as follows:

[0051] Get the IP address of each player block in the player set. For each player block's network location (a, b), use the formula:

[0052] (x) 2 +(yb) 2 =r 2 ;

[0053] Determine the player block with the smallest network position r as the initial relay end;

[0054] Among them, r represents the network distance from the current player block to the farthest other player block (x, y).

[0055] From the above description, it can be seen that by selecting the center point of the network position in the player set as the relay end, the network distance from each player block in the player set to the relay end is guaranteed to be optimal as a whole.

[0056] Furthermore, the method further comprises the steps of:

[0057] S3. The server matches the player sets according to the geometric formula model of the circle, and updates the player sets and the player blocks serving as relays according to the matching results.

[0058] From the above description, it can be seen that matching and merging are performed between player sets to update the player sets and relay ends, reduce the number of player set divisions, reduce unnecessary player set divisions, and make the system more concise.

[0059] Furthermore, step S3 is specifically as follows:

[0060] Match any two player sets, obtain the relay end network locations (a1, b1) and (a2, b2) of the two player sets respectively, and record the corresponding player blocks as C1 and C2;

[0061] When r1+r2>|C1C2|, no relay confirmation is performed;

[0062] When r1+r2<|C1C2|, C1 and C2 are still the relay ends of the player set;

[0063] When r1-r2=|C1C2|, C1 becomes the common relay end of the two player sets;

[0064] When r1-r2<|C1C2|<|r1+r2|, C1 and C2 are still relays and the two player sets share the relay;

[0065] Among them, |C1C2| represents the network distance between player block C1 and player block C2, r1 represents the maximum network distance between player block C1 and other player blocks in the player set to which it belongs, and r2 represents the maximum network distance between player block C2 and other player blocks in the player set to which it belongs.

[0066] It can be seen from the above description that through the above steps, the update of the player set and the relay end is realized based on the geometric model of the circle.

[0067] Furthermore, after the relay end detects that a player block has exited the link with the relay end, the IP address of the player block is sent to the server end for re-matching, and the player information status is saved and uploaded to the server.

[0068] From the above description, it can be seen that when a player exits, the relay end needs to report the player's information status to the server end for saving on the server end.

[0069] A method and system for matching block game areas of the present invention are suitable for optimizing network links of block games.

[0070] Please refer to Figures 1 to 4 , Embodiment 1 of the present invention is:

[0071] A method for matching block game areas, comprising the steps of:

[0072] S1. The server obtains the block information of all players who enter the block game and actively connect, and matches them with each other, and establishes each player block whose network connection delay is less than a preset threshold as a player set;

[0073] S2. The server obtains the network location of each player block in each player set, and selects the player block at the center point as the initial relay end.

[0074] There is no requirement for delay between the relay end and the server, because data exchange only requires uploading data without real-time requirements.

[0075] The relay terminal actively links to each player block in the player set to which it belongs, obtains interaction data between each player block, and uploads it to the server at regular intervals.

[0076] S3. The server matches the player sets according to the geometric formula model of the circle, and updates the player sets and the player blocks serving as relays according to the matching results.

[0077] Please refer to Figure 3 , step S3 is specifically as follows:

[0078] Match any two player sets, obtain the relay end network locations (a1, b1) and (a2, b2) of the two player sets respectively, and record the corresponding player blocks as C1 and C2;

[0079] When r1+r2>|C1C2|, no relay confirmation is performed;

[0080] When r1+r2<|C1C2|, C1 and C2 are still the relay ends of the player set;

[0081] When r1-r2=|C1C2|, C1 becomes the common relay end of the two player sets;

[0082] When r1-r2<|C1C2|<|r1+r2|, C1 and C2 are still relays and the two player sets share the relay;

[0083] Among them, |C1C2| represents the network distance between player block C1 and player block C2, that is, Figure 3 In the d, r1 represents the maximum network distance between player block C1 and other player blocks in the player set to which it belongs, and r2 represents the maximum network distance between player block C2 and other player blocks in the player set to which it belongs.

[0084] In addition, after the relay end detects that a player block has exited the link with the relay end, the IP address of the player block is sent to the server end for re-matching, and the player information status is saved and uploaded to the server.

[0085] Please refer to Figure 4 For online games and LAN (multiplayer real-time) games, based on the solution of this application, the player block only needs to interact with the relay end, and the relay end interacts with the server end regularly. Since the network distance between the player and the relay end is relatively short, the delay problem of the player's game can be effectively improved.

[0086] Embodiment 2 of the present invention is:

[0087] A block game area matching system includes a server and a plurality of player blocks, and the server and the player blocks jointly implement the steps in the block game area matching method of the above embodiment 1.

[0088] In summary, the present invention provides a method and system for matching block game areas, which calculates the player set through the server, matches the relay point through the player set, and then realizes the relay exchange of data between the server and the player and between the players through the relay point, thereby solving the problem of being unable to play the game smoothly due to data delay in the block game and the data storage interaction problem.

[0089] The present invention provides a method and system for matching block game areas, and provides a LAN game-multiplayer online tactical competitive game (multiplayer real-time) solution, which can solve the problem of real-time interaction of data among multiplayer real-time players, and can effectively solve the server load problem, allowing the server to become only a (line) server (computing power), thereby improving the server's mobility and reducing server expenses.

[0090] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for matching block game areas, It is characterized in that Includes steps: S1. The server obtains the block information of all players who enter the block game and actively connect, and matches them with each other, and establishes each player block whose network connection delay is less than a preset threshold as a player set; S2. The server obtains the network location of each player block in each player set, and selects the player block at the center point as the initial relay end; The relay terminal actively links to each player block in the player set to which it belongs, obtains interaction data between each player block, and uploads it to the server at regular intervals.

2. A method for matching block game areas according to claim 1, It is characterized in that Step S2 is specifically as follows: Get the IP address of each player block in the player set. For each player block's network location (a, b), use the formula: (x-a) 2 +(y-b) 2 =r 2 ; Determine the player block with the smallest network position r as the initial relay end; Among them, r represents the network distance from the current player block to the farthest other player block (x, y).

3. A method for matching block game areas according to claim 1, It is characterized in that Also includes the steps: S3. The server matches the player sets according to the geometric formula model of the circle, and updates the player sets and the player blocks serving as relays according to the matching results.

4. A method for matching block game areas according to claim 3, It is characterized in that Step S3 is specifically as follows: Match any two player sets, obtain the relay end network locations (a1, b1) and (a2, b2) of the two player sets respectively, and record the corresponding player blocks as C1 and C2; When r1+r2>|C1C2|, no relay confirmation is performed; When r1+r2<|C1C2|, C1 and C2 are still the relay ends of the player set; When r1-r2=|C1C2|, C1 becomes the common relay end of the two player sets; When r1-r2<|C1C2|<|r1+r2|, C1 and C2 are still relays and the two player sets share the relay; Among them, |C1C2| represents the network distance between player block C1 and player block C2, r1 represents the maximum network distance between player block C1 and other player blocks in the player set to which it belongs, and r2 represents the maximum network distance between player block C2 and other player blocks in the player set to which it belongs.

5. A method for matching block game areas according to claim 1, It is characterized in that After the relay end detects that a player block has exited the link with the relay end, the IP address of the player block is sent to the server end for re-matching, and the player information status is saved and uploaded to the server.

6. A system for matching block game areas, It is characterized in that The server and several player blocks are included, and the server and the player blocks jointly implement the following steps: S1. The server obtains the block information of all players who enter the block game and actively connect, and matches them with each other, and establishes each player block whose network connection delay is less than a preset threshold as a player set; S2. The server obtains the network location of each player block in each player set, and selects the player block at the center point as the initial relay end; The relay terminal actively links to each player block in the player set to which it belongs, obtains interaction data between each player block, and uploads it to the server at regular intervals.

7. A block game area matching system according to claim 6, It is characterized in that Step S2 is specifically as follows: Get the IP address of each player block in the player set. For each player block's network location (a, b), use the formula: (x-a) 2 +(y-b) 2 =r 2 ; Determine the player block with the smallest network position r as the initial relay end; Among them, r represents the network distance from the current player block to the farthest other player block (x, y).

8. A block game area matching system according to claim 6, It is characterized in that Also includes the steps: S3. The server matches the player sets according to the geometric formula model of the circle, and updates the player sets and the player blocks serving as relays according to the matching results.

9. A block game area matching system according to claim 8, It is characterized in that Step S3 is specifically as follows: Match any two player sets, obtain the relay end network locations (a1, b1) and (a2, b2) of the two player sets respectively, and record the corresponding player blocks as C1 and C2; When r1+r2>|C1C2|, no relay confirmation is performed; When r1+r2<|C1C2|, C1 and C2 are still the relay ends of the player set; When r1-r2=|C1C2|, C1 becomes the common relay end of the two player sets; When r1-r2<|C1C2|<|r1+r2|, C1 and C2 are still relays and the two player sets share the relay; Among them, |C1C2| represents the network distance between player block C1 and player block C2, r1 represents the maximum network distance between player block C1 and other player blocks in the player set to which it belongs, and r2 represents the maximum network distance between player block C2 and other player blocks in the player set to which it belongs.

10. A block game area matching system according to claim 6, It is characterized in that After the relay end detects that a player block has exited the link with the relay end, the IP address of the player block is sent to the server end for re-matching, and the player information status is saved and uploaded to the server.

Citation Information

Patent Citations

  • Network distance-based game matching method and game server

    CN103310084A

  • Game player matching method and apparatus, matching server and readable storage medium

    CN107920122A

  • Online game data transmission method and system

    CN108837505A

  • Cloud game service quality enhancing method and system based on edge computing

    CN111669444A

  • Game matching method and device, storage medium and server

    CN116077926A