Map interface switching method and system of stepless scaling linkage SLG, and storage medium

CN121349582BActive Publication Date: 2026-08-28成都帆点创想科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511509790.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-22
Publication Date
2026-08-28
Estimated Expiration
2045-10-22

AI Technical Summary

Technical Problem

由于数据序列会受到传递影响以及玩家手动输入影响,导致部分序列报错,无法完成指定路线的地图界面切换工作,需要进行序列验证以及数据恢复才能继续完成切换工作,导致地图切换效率大大降低,影响玩家的使用体验

Benefits of technology

该无级缩放联动SLG的地图界面切换方法、系统及存储介质中,根据参数对应的数据序列,配置地图切换逻辑,以配合响应用户触发事件,匹配对应的参数,对参数进行参数属性验证,适应对应的切换地图范围,并对匹配的参数的数据序列进行验证识别;响应正常参数,并将正常数据附加至跳转意图中,进行地图界面切换;识别异常数据序列,进行异常数据序列预测权重计算,规避人工输入参数以及系统数据异常引起的切换失效,无需进行数据调试恢复,从而提高切换效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121349582B_ABST
    Figure CN121349582B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of map interface switching, in particular to a stepless zoom linkage SLG map interface switching method, system and storage medium. It includes configuring map switching logic according to parameter corresponding data sequence; responding to user trigger event, matching corresponding parameters; verifying and identifying the data sequence of the matched parameters. According to the parameter corresponding data sequence, the map switching logic is configured to match the corresponding parameters in response to the user trigger event, verify the parameters, adapt to the corresponding switching map range, and verify and identify the data sequence of the matched parameters; respond to normal parameters and attach normal data to the jump intent to switch the map interface; identify abnormal data sequence, perform abnormal data sequence prediction weight calculation, avoid switching failure caused by manual input parameters and system data anomalies, and do not need to perform data debugging recovery, thereby improving switching efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of map interface switching technology, and more specifically, to a map interface switching method, system, and storage medium for continuously zoomable linked SLG. Background Technology

[0002] In modern strategy game (SLG) development, the technology of seamlessly zooming and switching between map interfaces is a core breakthrough in enhancing the player's strategic experience. This technology achieves a smooth transition from a macro-strategic view to micro-tactical operations by dynamically adjusting map details and interface elements in real time.

[0003] The process of switching the map interface involves several key steps, including parameter preparation, jump triggering, data transmission, reception and parsing, and interface updating. Parameter preparation requires players to trigger map switching events, such as key input, menu selection, or script events. Different events correspond to different parameters. Parameter execution involves the transmission of parameter data sequences, data sequence recognition, and parameter execution. Because the data sequences are affected by transmission and player input, some sequences may fail, preventing the map interface from switching to the specified route. Sequence verification and data recovery are required to complete the switching process, significantly reducing map switching efficiency and impacting the player's experience.

[0004] To address the aforementioned issues, there is an urgent need for a map interface switching method in a continuously zoomable SLG that responds to abnormal data sequences. Summary of the Invention

[0005] The purpose of this invention is to provide a method, system, and storage medium for map interface switching in a continuously zoomable, linked SLG (Simulation / Looping) system. Based on the data sequence corresponding to the parameters, map switching logic is configured to respond to user-triggered events, match corresponding parameters, verify parameter attributes, adapt to the corresponding map switching range, and verify and identify the data sequence of the matched parameters. Normal parameters are responded to, and normal data is appended to the jump intent to switch the map interface. Abnormal data sequences are identified, and abnormal data sequence prediction weights are calculated to avoid switching failures caused by manual input parameters and system data anomalies, eliminating the need for data debugging and recovery, thereby improving switching efficiency and solving the problems mentioned in the background art. Because the data sequence is affected by transmission and manual input by the player, some sequences may fail to complete the map interface switching for the specified route. Sequence verification and data recovery are required to continue the switching process, which greatly reduces the efficiency of map switching and affects the player's user experience.

[0006] To achieve the above objectives, one of the objectives of this invention is to provide a method for switching map interfaces in a continuously zoomable, linked SLG (Simulation / Low-Range) system, comprising the following steps: S1. Define the switching trigger mechanism and set the event for players to trigger map switching; S2. Based on the event type, collect historical event execution routes, mark event node parameters and target map switching logic, and establish an execution route storage database; S3. Define the set of parameters to be passed and encapsulate them according to the corresponding format; S4. Configure the map switching logic based on the data sequence corresponding to the parameters; S5. Respond to user-triggered events and match the corresponding parameters; S6. Verify and identify the data sequence of the matched parameters; Respond to normal parameters and append normal data to the jump intent to switch the map interface; Identify abnormal data sequences, calculate the predicted weights for abnormal data sequences, and combine them with the execution route storage database to predict the jump intentions; By defining a switching trigger mechanism, events can be set for players to trigger map switching. The corresponding trigger events include key input, menu selection, and script events. For example, in key input, players can trigger a switching event by pressing a shortcut key to switch to the minimap or global map view. When the event is triggered, the target map parameters, such as map ID or view type, are passed by calling the switching function. The transmitted parameter set is encapsulated in a specific format for easy subsequent transmission. During parameter identification, the data sequence corresponding to each parameter needs to be obtained to verify the validity of the parameter. The map switching logic is configured by identifying the corresponding data sequence, that is, the response priority is divided according to the parameter attribute, the data sequence of the corresponding parameter attribute is called according to the priority of the parameter attribute, the sequential identification response is performed, and the map switching is matched and switched according to the identification result. After the map switching logic configuration is completed, the user trigger event needs to be responded to, the corresponding parameter is matched, the parameter attribute is extracted, and the parameter attribute is verified step by step according to the priority of the parameter attribute. After completing the configuration, the system responds to user-triggered events, matches the corresponding parameters, and verifies and identifies the data sequence of the matched parameters. Since some parameters are manually input or generated by the player, errors may occur in the data sequence of some parameters. Furthermore, system updates can easily introduce vulnerabilities, making the corresponding parameter data sequence prone to errors. Therefore, to identify abnormal data sequences, it is necessary to collect historical event execution routes in advance based on event type, mark event node parameters and target map switching logic, establish an execution route storage database, and identify and process the transmitted data sequences. First, the input parameter data sequences are sorted, and data segments are compared and identified sequentially. Successfully matched data segments are marked as regular data segments, and unmatched data segments are marked as abnormal data segments. The regular data segments are compared with the historical event node parameter matching data sequences to obtain the matching rate of each historical event node parameter, which is then marked as the weight of the predicted node parameters. The predicted node parameters are sorted according to their weights and then used in conjunction with the execution route storage database to predict the jump intent.

[0007] The second objective of this invention is to provide a system for implementing a map interface switching method in a stepless zoom linkage SLG, including a map switching trigger control module, a parameter processing module, a trigger event response module, a parameter data sequence verification module, and an execution route control database. The execution route control database is used to store marker event node parameters and target map switching logic; The map switching trigger control module is used to set the event that the player triggers the map switching, and passes the target map parameters by calling the switching function; The parameter processing module is used to define the set of parameters to be transmitted, encapsulate the set of parameters to be transmitted, and configure the map switching logic according to the data sequence corresponding to the parameters. The trigger event response module is used to respond to user-triggered events and match the corresponding parameters; The data sequence verification module is used to verify and identify the data sequence of the matched parameters; Respond to normal parameters and append normal data to the jump intent to switch the map interface; Identify abnormal data sequences, calculate the predicted weights for abnormal data sequences, and combine them with the execution route storage database to predict jump intentions.

[0008] The third objective of this invention is to provide a storage medium for storing computer-executable instructions, which, when executed, enable a map interface switching method for stepless zoom linkage SLG.

[0009] Compared with the prior art, the beneficial effects of the present invention are as follows: In this stepless zoom linkage SLG map interface switching method, system, and storage medium, map switching logic is configured according to the data sequence corresponding to the parameters to respond to user-triggered events, match the corresponding parameters, verify the parameter attributes, adapt to the corresponding switching map range, and verify and identify the data sequence of the matched parameters; respond to normal parameters and attach normal data to the jump intent to switch the map interface; identify abnormal data sequences, perform abnormal data sequence prediction weight calculation, avoid switching failures caused by manual input parameters and system data anomalies, and eliminate the need for data debugging and recovery, thereby improving switching efficiency. Attached Figure Description

[0010] Figure 1 This is a flowchart illustrating the overall method steps of the present invention; Figure 2 This is a flowchart of the overall system of the present invention. Detailed Implementation

[0011] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0012] Please see Figure 1 As shown, one of the objectives of this invention is to provide a method for switching map interfaces in a continuously zoomable, linked SLG (Simulation / Low-Range) system, comprising the following steps: S1. Define the switching trigger mechanism and set the event for players to trigger map switching; S2. Based on the event type, collect historical event execution routes, mark event node parameters and target map switching logic, and establish an execution route storage database; S3. Define the set of parameters to be passed and encapsulate them according to the corresponding format; S4. Configure the map switching logic based on the data sequence corresponding to the parameters; S5. Respond to user-triggered events and match the corresponding parameters; S6. Verify and identify the data sequence of the matched parameters; Respond to normal parameters and append normal data to the jump intent to switch the map interface; Identify abnormal data sequences, calculate the predicted weights for abnormal data sequences, and combine them with the execution route storage database to predict jump intentions.

[0013] The details are as follows: First, to facilitate player switching, a switching trigger mechanism needs to be defined to set up events that trigger map switching for players. These events include key input, menu selection, and script events. For example, in key input, players can trigger a switching event by pressing a shortcut key to switch to the minimap or global map view. When the event is triggered, the target map parameters, such as map ID or view type, are passed by calling the switching function.

[0014] It is worth noting that the switching trigger mechanism in this solution adopts a dynamic loading mechanism, and its specific implementation steps are as follows: First, scalable textures are used to switch between different scaling levels of resources. Each map is dynamically partitioned and loaded using a diamond-shaped grid, with the partitioning rule being: each block is 1000 pixels. To avoid lag when loading large single images, a coordinate transformation is used to convert world coordinates to a diamond-shaped grid coordinate system. After dynamic partitioning and loading, the view frustum of each map is optimized based on camera linkage. The visible area is dynamically calculated based on the main camera parameters. The specific algorithm formula is as follows: ; in This represents the visible area of ​​the current map. The coordinates are in the rhombus grid. For the camera position, The coordinates of the center of the plot on the map. This is the scaling level factor. For the camera's field of view; Finally, asynchronous loading pipeline optimization is performed, including defining a threshold for triggering movement distance (e.g., loading is only triggered when moving more than 0.5 plots), prioritizing loading interface areas (e.g., prioritizing loading of the center area of ​​the view), and a prefetching mechanism (e.g., preloading the plots in front along the movement direction).

[0015] Because different players have different switching habits, for example, some players use a combination of shortcut keys and menu selection during the switching process. After entering the ID of the map to switch to, they trigger the switching mechanism to a specific area of ​​the specified map by scrolling the movement distance. In order to make predictions and recognitions later, it is necessary to collect historical event execution routes according to event type, mark event node parameters and target map switching logic, and establish an execution route storage database, that is, to store the route taken from the initial map to the target map. Each time a switch is made, the corresponding node parameters will be changed.

[0016] During the actual switching process, it is necessary to define the set of parameters to be transmitted, including the latitude and longitude of the target point, zoom level, label title, and other custom attributes. In this solution, the parameters are encapsulated in key-value pair format for easy subsequent transmission. During parameter identification, it is necessary to obtain the data sequence corresponding to each parameter to verify its validity. The map switching logic is then configured by identifying the corresponding data sequence. The specific method is as follows: First, obtain the data sequences corresponding to each parameter attribute, and prioritize their responses based on these attributes. These attributes include map ID, map coordinates, and viewpoint. Recall the corresponding data sequence based on the attribute priority, perform sequential recognition, and match and switch maps according to the recognition results. After configuring the map switching logic, respond to user-triggered events, match the corresponding parameters, extract the parameter attributes, and perform step-by-step verification based on the attribute priority. The specific verification steps are as follows: First, obtain the interface status of each map, including the range of coordinate points and the range of view. Then, determine the order of priority of each parameter attribute in the parameter combination. The highest priority is the map ID to switch. Only after the data sequence of the map ID to switch is determined can the map that the player needs to switch to be located. Then, determine whether the data sequence of map coordinates meets the coordinate point range of the current map coordinates. If it does not meet the requirements, the current abnormal coordinates and the coordinate point range of the map ID to switch are fed back to the player for abnormal coordinate correction. If they meet the requirements, determine the data sequence of the view to switch. If the current view does not meet the view range of the current map, the abnormal view and the view range of the map ID will be fed back to the player for abnormal view correction. If it meets the requirements, the data sequence of the matching parameters will be verified and identified. It is worth noting that this solution uses a log tool to track the parameter transmission process to ensure data consistency. If the parameter transmission fails, an error handling mechanism (such as returning to the previous page or providing a user prompt) will be added. During the specific identification process, the map interface is switched by responding to normal parameters and appending normal data to the jump intent. Simultaneously, abnormal data sequences are identified, and abnormal data sequence prediction weights are calculated. These weights are then used in conjunction with the execution route storage database to predict redirection intentions. The specific weight calculation method is as follows: Since some parameters are manually input or generated by the player, errors may occur in the data sequence of some parameters. Furthermore, system updates can easily introduce vulnerabilities, making the corresponding parameter data sequence prone to errors. Therefore, to identify abnormal data sequences, the transmitted data sequence needs to be processed. First, the input parameter data sequence is sorted, and then data segments are compared and identified sequentially. Successfully matched segments are marked as regular data segments, while those that fail to match are marked as abnormal data segments. The regular data segments are then compared with the data sequences matching historical event node parameters to obtain the matching rate of each historical event node parameter. This rate is then marked as the weight of the predicted node parameter. The predicted node parameters are sorted according to their weights and then sequentially combined with the execution route storage database to predict the jump intent.

[0017] This invention configures map switching logic based on the data sequence corresponding to the parameters. This logic responds to user-triggered events, matches the corresponding parameters, verifies the parameter attributes, adapts to the corresponding map switching range, and verifies and identifies the data sequence of the matched parameters. It responds to normal parameters and appends normal data to the jump intent to switch the map interface. It also identifies abnormal data sequences, calculates the predicted weights of these abnormal data sequences, and uses the execution route storage database to predict the jump intent. This avoids switching failures caused by manual parameter input and system data anomalies, eliminating the need for data debugging and recovery, thereby improving switching efficiency.

[0018] The second objective of this invention is, as Figure 2 As shown, a system is provided for a method of switching map interfaces in a stepless zoom linkage SLG, including a map switching trigger control module, a parameter processing module, a trigger event response module, a parameter data sequence verification module, and an execution route control database; The execution route control database is used to store marker event node parameters and target map switching logic; The map switching trigger control module is used to set the event that the player triggers the map switching, and passes the target map parameters by calling the switching function; The parameter processing module is used to define the set of parameters to be transmitted, encapsulate the set of parameters to be transmitted, and configure the map switching logic according to the data sequence corresponding to the parameters. The trigger event response module is used to respond to user-triggered events and match the corresponding parameters; The data sequence verification module is used to verify and identify the data sequence of the matched parameters; Respond to normal parameters and append normal data to the jump intent to switch the map interface; Identify abnormal data sequences, calculate the predicted weights for abnormal data sequences, and combine them with the execution route storage database to predict jump intentions.

[0019] The third objective of this invention is to provide a storage medium for storing computer-executable instructions, which, when executed, enable a map interface switching method for stepless zoom linkage SLG.

[0020] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely preferred examples and are not intended to limit the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for switching map interfaces in a continuously zoomable SLG (Strategy / Simulation) game, characterized by: Includes the following steps: S1. Define the switching trigger mechanism and set the event for players to trigger map switching; S2. Based on the event type, collect historical event execution routes, mark event node parameters and target map switching logic, and establish an execution route storage database; S3. Define the set of parameters to be passed and encapsulate them according to the corresponding format; S4. Configure the map switching logic based on the data sequence corresponding to the parameters; S5. Respond to user-triggered events and match the corresponding parameters; S6. Verify and identify the data sequence of the matched parameters; Respond to normal parameters and append normal data to the jump intent to switch the map interface; Identify abnormal data sequences, calculate the predicted weights for abnormal data sequences, and combine them with the execution route storage database to predict the jump intentions; The method for calculating the prediction weights of abnormal data sequences in S6 includes the following steps: S6.1 Sort the input parameter data sequence and compare and identify the data segments in turn; S6.2 Mark the data segments that match successfully as regular data segments, and mark the data segments that do not match successfully as abnormal data segments; S6.

3. Compare the data sequences that match the parameters of regular data segments and historical event nodes; S6.4 Obtain the matching rate of parameters for each historical event node, mark it as the weight of the predicted node parameters, and sort the predicted node parameters according to the weight.

2. The map interface switching method for stepless zoom linkage SLG according to claim 1, characterized in that: The events in S1 that trigger map switching for players include key input, menu selection, and script events.

3. The map interface switching method for stepless zoom linkage SLG according to claim 2, characterized in that: The definition switching triggering mechanism in S1 includes the following steps: S1.

1. Resource switching at different scaling levels is achieved through scalable textures, and each map is dynamically partitioned and loaded using a diamond grid; S1.

2. Use coordinate transformation to convert world coordinates to rhombic grid coordinates; S1.3 Optimize the view frustum of each map based on camera linkage, and dynamically calculate the visible area based on the main camera parameters; S1.4 Optimize the asynchronous loading pipeline, including defining the trigger movement distance threshold, prioritizing the loading interface area, and implementing a prefetching mechanism.

4. The map interface switching method for stepless zoom linkage SLG according to claim 1, characterized in that: The parameters in S3 are encapsulated in a key-value pair format.

5. The map interface switching method for stepless zoom linkage SLG according to claim 1, characterized in that: The method for configuring map switching logic in S4 includes the following steps: S4.1 Obtain the data sequence corresponding to each parameter attribute, and divide its response priority according to the parameter attribute, including switching map ID, map coordinates and switching view; S4.

2. Call the data sequence of the corresponding parameter attribute according to the priority of the parameter attribute; S4.

3. Map switching based on recognition results.

6. The map interface switching method for stepless zoom linkage SLG according to claim 5, characterized in that: The method for calling the data sequence corresponding to the parameter attribute in S4.2 includes the following steps: S4.2.1 Obtain the interface status of each map, including the range of coordinate points and the range of viewpoints, and determine the order of priority based on the priority of each parameter attribute in the parameter combination. S4.2.2 The highest priority is to switch the map ID, determine the data sequence of map coordinates, and see if it meets the coordinate point range of the current map coordinates. If it does not meet the requirements, the current abnormal coordinates and the coordinate point range of the switched map ID are fed back to the player for abnormal coordinate correction. If it meets the requirements, the data sequence of the switched view is determined. If the current view does not meet the view range of the current map, the abnormal view and the view range of the map ID will be fed back to the player for abnormal view correction. If it meets the requirements, the data sequence of the matching parameters will be verified and identified.

7. A system for implementing the map interface switching method of stepless zoom linkage SLG as described in claim 1, characterized in that: It includes a map switching trigger control module, a parameter processing module, a trigger event response module, a parameter data sequence verification module, and an execution route control database; The execution route control database is used to store marker event node parameters and target map switching logic; The map switching trigger control module is used to set the event that the player triggers the map switching, and passes the target map parameters by calling the switching function; The parameter processing module is used to define the set of parameters to be transmitted, encapsulate the set of parameters to be transmitted, and configure the map switching logic according to the data sequence corresponding to the parameters. The trigger event response module is used to respond to user-triggered events and match the corresponding parameters; The parameter data sequence verification module is used to verify and identify the data sequence of the matched parameters; Respond to normal parameters and append normal data to the jump intent to switch the map interface; Identify abnormal data sequences, calculate the predicted weights for abnormal data sequences, and combine them with the execution route storage database to predict jump intentions.

8. A storage medium for storing computer-executable instructions, characterized in that: When the computer-executable instructions are executed, they implement the map interface switching method of the stepless zoom linkage SLG as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Virtual scene interaction processing method and device, equipment and medium

    CN119311110A

  • Method and system for creating a game operation scenario based on gamer behavior prediction model

    US20200250555A1