Game version updating method and device based on version updating process
Through the collaborative work of the version update system and the OPS system, the version update process is analyzed and determined, and the problem of low efficiency and error-prone game version update in the existing technology is solved, and a more efficient and safer version update process is achieved.
Patent Information
- Application Number
- CN202411525747.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, the game version update process is inefficient and error-prone, which increases the risk and workload of version release.
The version update system receives version update instructions and sends them to the OPS system. The OPS system analyzes the instructions, determines the current version data of the target client, and determines the matching version update process based on the latest version data and the current version data, and operates the management system to perform version update operations, and writes back the update data.
It improves the accuracy and efficiency of game version updates, reduces the risks and workload of new version releases, and enhances the security of game update process.
Smart Images

Figure CN119718401A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic game technology, and in particular to a game version updating method and device based on a version updating process. Background Art
[0002] Currently, more and more game companies regularly update game versions to fix bugs and problems in the game to improve gameplay and balance, and / or introduce new game content and features to maintain the interest of game users and attract new users.
[0003] However, in the prior art, each time a game version is updated, the operation and maintenance side usually needs to manually log in to the OMS (operation management system) or development server and execute cumbersome commands to update the version. This process is not only inefficient, but also prone to errors, which easily increases the risk and workload of version release. It can be seen that it is particularly important to propose a technical solution to improve the accuracy and efficiency of game version updates. Summary of the invention
[0004] The present invention provides a game version update method and device based on a version update process, which can improve the update accuracy and update efficiency of the game version, and is conducive to reducing the risk and workload of new version release.
[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a game version update method based on a version update process, the method comprising:
[0006] The version update system receives a version update instruction for a certain game, and sends the version update instruction to the OPS system, the version update system and the OPS system are in the same intranet environment, and the OPS system is in communication connection with at least one operation management system;
[0007] The OPS system receives the version update instruction, analyzes the version update instruction, and obtains the latest version data;
[0008] The OPS system determines the current version data of each target client authorized by the operation management system, each operation management system being associated with at least one target client;
[0009] The OPS system determines a version update process matching each of the operation management systems according to the latest version data and the current version data of the target client authorized by each of the operation management systems;
[0010] The OPS system sends each version update process to a matching operation management system;
[0011] The operation management system receives the corresponding version update process, and according to the version update process, performs version update operations on the game servers of all target clients authorized by the operation management system, and performs update data write-back operations corresponding to the version update operations to the OPS system.
[0012] As an optional implementation, in the first aspect of the present invention, the OPS system determines the current version data of each target client authorized by the operation management system, including:
[0013] The OPS system determines the whitelist information of each operation management system, wherein the whitelist information includes information of target clients authorized by the corresponding operation management system;
[0014] For each of the target clients, the OPS system determines whether the current version data of the target client exists in the version data set of the target client stored in the database of the OPS system;
[0015] When it is determined that the current version data of the target client does not exist in the version data set of the target client, the OPS system sends a current version data collection instruction for the target client to the corresponding operation management system to trigger the operation management system to collect the current version data of the target client;
[0016] When it is determined that the version data set of the target client contains the current version data of the target client, the OPS system calls out the current version data of the target client from the version data set of the target client.
[0017] As an optional implementation manner, in the first aspect of the present invention, the OPS system determines the whitelist information of each of the operation management systems, including:
[0018] The OPS system collects client information of one or more initial clients managed by each of the operation management systems;
[0019] The OPS system analyzes the credit level of each of the initial clients in the game according to the client information of each of the initial clients corresponding to each of the operation management systems;
[0020] For each of the initial clients, the OPS system determines whether the current condition of the initial client meets the preset credit condition according to the credit level of the initial client;
[0021] When it is determined that the current condition of the initial client does not meet the credit condition, the OPS system restricts the initial client based on a preset SSH restriction algorithm;
[0022] When it is determined that the current condition of the initial client satisfies the credit condition, the OPS system determines the initial client as a target client authorized by the corresponding operation management system;
[0023] The OPS system sets the whitelist information of each operation management system according to the target client authorized by each operation management system.
[0024] As an optional implementation, in the first aspect of the present invention, the credit level includes the current credit level and / or the historical credit level in different historical time periods;
[0025] And, for each of the initial clients, the OPS system determines whether the current conditions of the initial client meet the preset credit conditions according to the credit level of the initial client, including:
[0026] For each of the initial clients, the OPS system determines whether the current credit level of the initial client is greater than or equal to a preset credit level based on the current credit level of the initial client, which is recorded as the first condition; and / or,
[0027] The OPS system calculates the credit degree change curve of the initial client in all the historical time periods according to the historical credit degree of the initial client in different historical time periods, and determines the fit between the credit degree change curve of the initial client and the preset standard credit degree recovery curve, and determines whether the fit degree corresponding to the initial client is greater than or equal to the preset fit degree, which is recorded as the second condition;
[0028] When at least one of the first condition and the second condition is satisfied, the OPS system determines that the current condition of the initial client satisfies the preset credit condition.
[0029] As an optional implementation, in the first aspect of the present invention, after the OPS system receives the version update instruction and before the OPS system analyzes the version update instruction to obtain the latest version data, the method further includes:
[0030] The OPS system determines whether the version update instruction meets a preset command execution condition according to preset execution command list information of the OPS system, wherein the execution command list information includes information of one or more commands that can be executed;
[0031] When it is determined that the version update instruction meets the command execution condition, the OPS system is triggered to perform the operation of analyzing the version update instruction to obtain the latest version of data;
[0032] When it is determined that the version update instruction does not satisfy the command execution condition, the OPS system determines that the version update instruction is a command that prohibits execution, and sends a reminder message to the version update system to stop executing the command corresponding to the version update instruction.
[0033] As an optional implementation, in the first aspect of the present invention, the operation management system performs a version update operation on the game servers of all the target clients authorized by the operation management system according to the version update process, including:
[0034] The operation management system updates the program code of the game server of each target client authorized by the operation management system according to the version update process;
[0035] The operation management system obtains update data sent by the game server during the version update process, and each version update process includes one or more update nodes;
[0036] The operation management system outputs the update data of each of the game servers to a target object, and obtains an approval result for the update data sent by the target object;
[0037] When the approval result of the update data indicates that the update data of the game server meets the expected update data, the operation management system continues to execute the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process until the end update node of the version update process is reached;
[0038] When the approval result of the update data indicates that the update data of the game server does not meet the expected update data, the operation management system adjusts the version update process according to the data difference information between the update data of the game server and the expected update data, obtains the adjusted version update process, and re-executes the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process.
[0039] As an optional implementation, in the first aspect of the present invention, the operation management system updates the program code of the game server of each target client authorized by the operation management system according to the version update process, including:
[0040] For each of the target clients authorized by the operation management system, the operation management system detects a device status of the target client according to the version update process, where the device status includes an online device status or an offline device status;
[0041] When it is detected that the device status of the target client is offline, the operation management system closes the game entrance of the game, and according to the version update process, sends version update prompt information for the target client to the version update system through the OPS system, so as to prompt the version update system to update the game server code of the target client;
[0042] When it is detected that the device status of the target client is the device online status, the operation management system sends a hot update interface call prompt information for the target client to the version update system through the OPS system according to the version update process, so as to prompt the version update system to call the hot update interface, and update the degree code of the game server of the target client according to the hot update interface.
[0043] A second aspect of the present invention discloses a game version update device based on a version update process, the device comprising:
[0044] A version update system, an OPS system and at least one operation management system, wherein the version update system and the OPS system are in the same intranet environment, and the OPS system is in communication connection with at least one of the operation management systems, the version update system comprises a first receiving module and a first sending module, the OPS system comprises a second receiving module, an analyzing module, a determining module and a second sending module, and the operation management system comprises a third receiving module and a control module, wherein:
[0045] The first receiving module is used to receive a version update instruction for a certain game;
[0046] The first sending module is used to send the version update instruction to the second receiving module;
[0047] The second receiving module is used to receive the version update instruction;
[0048] The analysis module is used to analyze the version update instruction to obtain the latest version data;
[0049] The determination module is used for the current version data of each target client authorized by the operation management system, and each operation management system is associated with at least one target client;
[0050] The determination module is further used to determine a version update process matching each of the operation management systems according to the latest version data and the current version data of the target client authorized by each of the operation management systems;
[0051] The second sending module is used to send each version update process to the third receiving module;
[0052] The third receiving module is used to receive the corresponding version update process;
[0053] The control module is used to perform a version update operation on the game servers of all target clients authorized by the operation management system according to the version update process, and to perform an update data write-back operation corresponding to the version update operation to the second receiving module.
[0054] As an optional implementation, in the second aspect of the present invention, the manner in which the determination module determines the current version data of each target client authorized by the operation management system specifically includes:
[0055] Determine whitelist information of each of the operation management systems, wherein the whitelist information includes information of target clients authorized by the corresponding operation management system;
[0056] For each of the target clients, determining whether the current version data of the target client exists in the version data set of the target client stored in the database of the OPS system;
[0057] When it is determined that the current version data of the target client does not exist in the version data set of the target client, sending a current version data collection instruction for the target client to the third receiving module to trigger the operation management system to collect the current version data of the target client;
[0058] When it is determined that the version data set of the target client contains the current version data of the target client, the current version data of the target client is called out from the version data set of the target client.
[0059] As an optional implementation, in the second aspect of the present invention, the manner in which the determination module determines the whitelist information of each operation management system specifically includes:
[0060] Collecting client information of one or more initial clients managed by each of the operation management systems;
[0061] Analyzing the credit level of each of the initial clients in the game according to the client information of each of the initial clients corresponding to each of the operation management systems;
[0062] For each of the initial clients, judging whether the current condition of the initial client meets the preset credit condition according to the credit level of the initial client;
[0063] When it is determined that the current condition of the initial client does not meet the credit condition, restricting the initial client based on a preset SSH restriction algorithm;
[0064] When it is determined that the current condition of the initial client satisfies the credit condition, determining the initial client as a target client authorized by the corresponding operation management system;
[0065] According to the target client authorized by each operation management system, the white list information of each operation management system is set.
[0066] As an optional implementation, in the second aspect of the present invention, the credit level includes the current credit level and / or the historical credit level in different historical time periods;
[0067] And, for each of the initial clients, the determination module determines whether the current condition of the initial client meets the preset credit condition according to the credit level of the initial client, specifically including:
[0068] For each of the initial clients, judging whether the current credit level of the initial client is greater than or equal to a preset credit level according to the current credit level of the initial client, which is recorded as the first condition; and / or,
[0069] According to the historical credit of the initial client in different historical time periods, the credit change curve of the initial client in all the historical time periods is calculated, and the fit between the credit change curve of the initial client and the preset standard credit recovery curve is determined, and whether the fit corresponding to the initial client is greater than or equal to the preset fit, which is recorded as the second condition;
[0070] When at least one of the first condition and the second condition is satisfied, it is determined that the current condition of the initial client satisfies the preset credit condition.
[0071] As an optional implementation, in the second aspect of the present invention, the OPS system further includes a judgment module, wherein:
[0072] The judging module is used to judge whether the version update instruction meets the preset command execution condition according to the preset execution command list information of the OPS system after the second receiving module receives the version update instruction and before the analyzing module analyzes the version update instruction to obtain the latest version data, wherein the execution command list information includes information of one or more commands that can be executed; when it is judged that the version update instruction meets the command execution condition, trigger the analyzing module to perform the operation of analyzing the version update instruction to obtain the latest version data;
[0073] The determining module is further configured to determine that the version update instruction is a command that prohibits execution when the judging module determines that the version update instruction does not satisfy the command execution condition;
[0074] The second sending module is further used to send a reminder message to the first receiving module to stop executing the command corresponding to the version update instruction.
[0075] As an optional implementation, in the second aspect of the present invention, the control module performs a version update operation on the game servers of all the target clients authorized by the operation management system according to the version update process, specifically including:
[0076] According to the version update process, the program code of the game server of each target client authorized by the operation management system is updated;
[0077] Acquire update data of the target client during a version update process sent by the first sending module, wherein each version update process includes one or more update nodes;
[0078] Outputting the update data of each of the game servers to a target object, and obtaining an approval result for the update data sent by the target object;
[0079] When the approval result of the update data indicates that the update data of the game server meets the expected update data, the operation management system continues to execute the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process until the end update node of the version update process is reached;
[0080] When the approval result of the update data indicates that the update data of the game server does not meet the expected update data, the version update process is adjusted according to the data difference information between the update data of the game server and the expected update data to obtain the adjusted version update process, and then the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process is re-executed.
[0081] As an optional implementation, in the second aspect of the present invention, the control module updates the program code of the game server of each target client authorized by the operation management system according to the version update process, specifically including:
[0082] For each target client authorized by the operation management system, detecting a device status of the target client according to the version update process, wherein the device status includes a device online status or a device offline status;
[0083] When it is detected that the device status of the target client is offline, the game entrance of the game is closed, and according to the version update process, version update prompt information for the target client is sent to the first receiving module to prompt the version update system to update the game server code of the target client;
[0084] When it is detected that the device status of the target client is the device online status, according to the version update process, a hot update interface call prompt information for the target client is sent to the first sending module to prompt the version update system to call the hot update interface, and according to the hot update interface, the degree code of the game server of the target client is updated.
[0085] The third aspect of the present invention discloses another game version update device based on the version update process, the device comprising:
[0086] A memory storing executable program code;
[0087] a processor coupled to the memory;
[0088] The processor calls the executable program code stored in the memory to execute the game version update method based on the version update process disclosed in the first aspect of the present invention.
[0089] The fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the game version update method based on the version update process disclosed in the first aspect of the present invention.
[0090] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0091] In an embodiment of the present invention, a version update system receives a version update instruction for a certain game and sends the version update instruction to an OPS system, the version update system and the OPS system are in the same intranet environment, and the OPS system is communicatively connected with at least one operation management system; the OPS system receives the version update instruction, analyzes the version update instruction, and obtains the latest version data; the OPS system determines the current version data of the target client authorized by each operation management system, and each operation management system is associated with at least one target client; the OPS system determines the version update process that matches each operation management system based on the latest version data and the current version data of the target client authorized by each operation management system; the OPS system sends each version update process to the matching operation management system; the operation management system receives the corresponding version update process, and according to the version update process, controls the version update system to perform version update operations on all target clients authorized by the operation management system, and performs update data writeback operations corresponding to the version update operations to the OPS system. It can be seen that the implementation of the present invention can receive version update instructions for a certain game through the version update system, and send the version update instructions to the OPS system. The version update system and the OPS system are in the same intranet environment, and the OPS system is in communication with at least one operation management system. This can reduce the occurrence of information leakage caused by information communication between the version update system and other systems in the extranet environment. The version update instruction is received by the OPS system, and the version update instruction is analyzed to obtain the latest version data. It is possible to improve the analysis accuracy and efficiency of the latest version data of the game, determine the current version data of the target client authorized by each operation management system, and determine the version update process matching each operation management system based on the latest version data and the current version data of the target client authorized by each operation management system. The system can improve the accuracy and efficiency of the version update process based on the current version data, and then send each version update process to a matching operation management system, receive the corresponding version update process through the operation management system, and control the version update system to perform version update operations on all target clients authorized by the operation management system according to the version update process. The system can improve the update accuracy and efficiency of the game version through the control of the target clients authorized by the operation management system, and perform the update data write back operation corresponding to the version update operation to the OPS system, which can improve the write back accuracy of the update data during the game update process, thereby facilitating the timely preservation of the update data, so as to facilitate the data comparison and processing with the current update data during the next update, and is conducive to improving the security of game updates based on the interaction between multiple systems, and is conducive to reducing the risk and workload of new version releases. BRIEF DESCRIPTION OF THE DRAWINGS
[0092] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0093] Figure 1 It is a flowchart of a game version update method based on a version update process disclosed in an embodiment of the present invention;
[0094] Figure 2 It is a schematic diagram of a system framework applicable to a game version update method based on a version update process disclosed in an embodiment of the present invention;
[0095] Figure 3 It is a flowchart of another game version update method based on the version update process disclosed in an embodiment of the present invention;
[0096] Figure 4 It is a structural diagram of a game version updating device based on a version updating process disclosed in an embodiment of the present invention;
[0097] Figure 5 It is a structural diagram of another game version updating device based on the version updating process disclosed in an embodiment of the present invention;
[0098] Figure 6 It is a structural diagram of another game version updating device based on the version updating process disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0099] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0100] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.
[0101] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0102] The present invention discloses a game version update method and device based on a version update process. The method and device can receive a version update instruction for a certain game through a version update system, and send the version update instruction to an OPS system. The version update system and the OPS system are in the same intranet environment, and the OPS system is in communication connection with at least one operation management system. In this way, the occurrence of information leakage caused by information communication between the version update system and other systems in the extranet environment can be reduced. The version update instruction is received through the OPS system, and the version update instruction is analyzed to obtain the latest version data. The analysis accuracy and efficiency of the latest version data of the game can be improved, and the current version data of the target client authorized by each operation management system can be determined. According to the latest version data and the current version data of the target client authorized by each operation management system, the version update process matching each operation management system is determined. , can improve the accuracy and efficiency of the version update process based on the latest version data and the current version data, and then send each version update process to the matching operation management system, receive the corresponding version update process through the operation management system, and control the version update system to perform version update operations on all target clients authorized by the operation management system according to the version update process, can improve the update accuracy and efficiency of the game version through the control of the operation management system on the target clients authorized by it, and perform the update data write-back operation corresponding to the version update operation to the OPS system, can improve the write-back accuracy of the update data during the game update process, so as to facilitate the timely preservation of the update data, so as to facilitate the data comparison and processing with the current update data at the next update, and to improve the security of the game update based on the interaction between multiple systems, and to reduce the risk and workload of the new version release. The following are detailed descriptions.
[0103] Embodiment 1
[0104] See also Figure 1 , Figure 1 1 is a flowchart of a method for updating a game version based on a version update process disclosed in an embodiment of the present invention. Figure 1The game version update method based on the version update process described above can be applied to a game version update device based on the version update process, wherein the device may include an update device or an update server, wherein the update server may include a cloud server or a local server, which is not limited in the embodiment of the present invention. Figure 1 As shown, the game version update method based on the version update process may include the following operations:
[0105] 101. The version update system receives a version update instruction for a certain game, and sends the version update instruction to the OPS system.
[0106] In the embodiment of the present invention, the version update system and the OPS system (background operation management system) are in the same intranet environment, and the OPS system is connected to at least one operation management system in communication, and each operation management system is not in the above-mentioned intranet environment. Among them, the version update system mainly jumps to execute commands through the OPS system, restricts the IP whitelist and executable command list on the OPS system, and the version update system only serves as a trigger and process flow control hub, has no project file storage, and is unable to directly initiate any instructions to other servers. In this way, by setting up the OPS system, the version update system can be safely isolated from other servers. The OPS system is used to generate a corresponding version update process based on the relevant information of the received game version, and send the version update process to the operation management system. The operation management system (also known as the publisher) has full management authority over all other servers, and mainly performs version updates and hot update operations for all servers based on the above-mentioned version update process. Specifically, the operation management system generates the latest game version number according to the game version content, and sends the latest game version number to the specified directory of the version update system. The version update system calls the OPS system in real time to trigger the OPS system to push the latest version number to the user front end, so that the user can choose whether to update the game version. Optionally, the technology stack used by the version update system, the OPS system and the operation management system to implement the game version update function includes a combination of one or more of springcloud, sshj and mysql, which is not limited by the present invention.
[0107] For example, Figure 2 As shown, Figure 2 is a schematic diagram of a system framework applicable to a game version update method based on a version update process disclosed in an embodiment of the present invention, such as Figure 2As shown, the system framework includes a version update system, an OPS system, a publishing machine 1 and a publishing machine 2, and the version update system and the OPS system are in the same intranet environment. The version update system realizes communication connection with the OPS system through SSH restrictions, and the OPS system realizes communication connection with the publishing machine 1 and the publishing machine 2 through SSH restrictions, and the publishing machine 1 and the publishing machine 2 can write the corresponding results back to the OPS system during the execution of the corresponding commands.
[0108] 102. The OPS system receives the version update instruction, analyzes the version update instruction, and obtains the latest version data.
[0109] In the embodiment of the present invention, optionally, the latest version data may include a version identifier of the latest version of the game (such as: version name, version number, etc.), the estimated version update time data of the latest version of the game, and the estimated update memory occupied by the latest version of the game. Among them, the estimated version update time data of the latest version of the game may include a combination of one or more of the estimated update start time of the latest version of the game, the estimated update end time of the latest version of the game, and the estimated update time required for the latest version of the game, which is not limited in the embodiment of the present invention.
[0110] 103. The OPS system determines the current version data of each target client authorized by the operation management system.
[0111] In an embodiment of the present invention, optionally, the current version data may include a combination of one or more of a version identifier of the current version of the game, update time data of the current version of the game, and memory data occupied by the update of the current version of the game, which is not limited in the embodiment of the present invention.
[0112] In the embodiment of the present invention, each operation management system is associated with at least one target client, and is used to monitor the game-related data of each target client associated with it, and perform corresponding management operations on the corresponding target client according to the monitored game-related data. Optionally, the management operation may include a combination of one or more of a game update operation, a violation penalty operation, and an abnormality repair operation, which is not limited in the embodiment of the present invention.
[0113] 104. The OPS system determines a version update process that matches each operation management system based on the latest version data and the current version data of the target client authorized by each operation management system.
[0114] In the embodiment of the present invention, specifically, the OPS system determines the initial version update process corresponding to the latest version data according to the latest version data of each operation management system included in the latest version data;
[0115] The OPS system compares the latest version data of each operation management system with the current version data of the target client authorized by the operation management system to obtain the version data difference;
[0116] The OPS system selects a target data difference interval in which the version data difference is located from at least one preset data difference interval according to the version data difference, and each data difference interval has a corresponding process control parameter;
[0117] The OPS system adjusts the initial version update process according to the process control parameters to obtain the adjusted initial version update process, and determines the adjusted initial version update process as the version update process that matches the operation management system.
[0118] 105. The OPS system sends each version update process to the matching operation management system.
[0119] 106. The operation management system receives the corresponding version update process.
[0120] 107. The operation management system executes a version update operation on the game servers of all target clients authorized by the operation management system according to the version update process.
[0121] 108. The operation management system performs an update data write-back operation corresponding to the version update operation on the OPS system.
[0122] In an embodiment of the present invention, specifically, the log output content of the operation management system will be written back to the OPS system using the standard output and error output of the Linux terminal. Optionally, the log output content may include one or more combinations of build status, build log, update status, update log, version information, change records, etc., which are not limited in the embodiment of the present invention.
[0123] It can be seen that implementation Figure 1The described game version update method based on version update process can receive version update instructions for a certain game through the version update system, and send the version update instructions to the OPS system. The version update system and the OPS system are in the same intranet environment, and the OPS system is in communication with at least one operation management system. This can reduce the occurrence of information leakage caused by information communication between the version update system and other systems in the extranet environment. The version update instruction is received through the OPS system, and the version update instruction is analyzed to obtain the latest version data. It can improve the analysis accuracy and efficiency of the latest version data of the game, and determine the current version data of the target client authorized by each operation management system, and determine the version update process matching each operation management system based on the latest version data and the current version data of the target client authorized by each operation management system. The accuracy and efficiency of determining the version update process are improved based on the latest version data and the current version data, and each version update process is then sent to a matching operation management system, the corresponding version update process is received through the operation management system, and according to the version update process, the version update system is controlled to perform version update operations on all target clients authorized by the operation management system. The update accuracy and efficiency of the game version can be improved by the operation management system's control over the target clients authorized by it, and the update data write-back operation corresponding to the version update operation is performed to the OPS system, which can improve the write-back accuracy of the update data during the game update process, thereby facilitating timely preservation of the update data for data comparison and processing with the current update data during the next update, and is conducive to improving the security of game updates based on the interaction between multiple systems, and is conducive to reducing the risk and workload of new version releases.
[0124] In an optional embodiment, the OPS system in step 103 determines the current version data of each target client authorized by the operation management system, which may include:
[0125] The OPS system determines the whitelist information of each operation management system;
[0126] For each target client, the OPS system determines whether the current version data of the target client exists in the version data set of the target client stored in the database of the OPS system;
[0127] When it is determined that the current version data of the target client does not exist in the version data set of the target client, the OPS system sends a current version data collection instruction for the target client to the corresponding operation management system to trigger the operation management system to collect the current version data of the target client;
[0128] When it is determined that the version data set of the target client contains the current version data of the target client, the OPS system calls out the current version data of the target client from the version data set of the target client.
[0129] In an embodiment of the present invention, the whitelist information may include information of the target client authorized by the corresponding operation management system. Specifically, the OPS system will use ssh restrictions on the target server (i.e., the target client) by default, and unauthorized clients are not allowed to use the OPS system as a transit to connect to the version update system and make parameter calls. Among them, the parameter call made by the authorized client lock also utilizes the characteristics of ssh, mainly using temporary environment variables for parameter transmission and script 1 operation.
[0130] It can be seen that this optional embodiment can automatically determine the whitelist information of each operation management system through the OPS system, and for each target client, determine whether the current version data of the target client exists in the version data set of the target client stored in the database of the OPS system. When it is determined that the current version data of the target client does not exist in the version data set of the target client, a current version data collection instruction for the target client is sent to the corresponding operation management system to trigger the operation management system to collect the current version data of the target client. When the current version data of the corresponding client is not stored in the database, a reminder can be issued to the operation management system in time, which is conducive to improving the collection efficiency and speed of the current version data. When it is determined that the current version data of the target client exists in the version data set of the target client, the OPS system calls out the current version data of the target client from the version data set of the target client, which can improve the calling accuracy and efficiency of the current version data.
[0131] In this optional embodiment, as an optional implementation mode, the OPS system determines the whitelist information of each operation management system, which may include:
[0132] The OPS system collects client information of one or more initial clients managed by each operation management system;
[0133] The OPS system analyzes the credit level of each initial client in the game based on the client information of each initial client corresponding to each operation management system;
[0134] For each initial client, the OPS system determines whether the current conditions of the initial client meet the preset credit conditions based on the credit level of the initial client;
[0135] When it is determined that the current conditions of the initial client do not meet the credit conditions, the OPS system restricts the initial client based on a preset SSH restriction algorithm;
[0136] When it is determined that the current condition of the initial client meets the credit condition, the OPS system determines the initial client as a target client authorized by the corresponding operation management system;
[0137] The OPS system sets the whitelist information of each operation management system according to the target clients authorized by each operation management system.
[0138] In the embodiment of the present invention, optionally, the credit level may include the current credit level and / or the historical credit levels in different historical time periods. Optionally, the credit condition may include a condition for comparing the degree between the current credit level and a preset credit level, or may include a condition for comparing the degree of fit between the credit level change curve corresponding to the historical credit level in different historical time periods and a preset fit, which is not limited in the embodiment of the present invention.
[0139] It can be seen that this optional implementation method can collect the client information of one or more initial clients controlled by each operation management system through the OPS system, and analyze the credit level of each initial client in the game according to the client information of each initial client corresponding to each operation management system, which can improve the analysis accuracy and efficiency of the credit level of each client in the game, and for each initial client, according to the credit level of the initial client, determine whether the current condition of the initial client meets the preset credit condition, and when it is determined that the current condition of the initial client does not meet the credit condition, the OPS system restricts the initial client based on the preset SSH restriction algorithm, which can The SSH restriction algorithm is used to improve the accuracy and efficiency of restrictions on clients that do not meet the credit conditions, which is beneficial to accurately identify the game update objects (i.e., target clients) by quickly and accurately restricting these clients. When it is determined that the current conditions of the initial client meet the credit conditions, the OPS system determines the initial client as the target client authorized by the corresponding operation management system, which can improve the accuracy and efficiency of identifying the target clients that need to update the game version. Then, according to the target clients authorized by each operation management system, the whitelist information of each operation management system is set, which can achieve accurate classification of clients with different credit levels by setting the whitelist information.
[0140] In this optional implementation, optionally, for each initial client, the OPS system determines whether the current condition of the initial client satisfies the preset credit condition according to the credit level of the initial client, including:
[0141] For each initial client, the OPS system determines whether the current credit level of the initial client is greater than or equal to the preset credit level according to the current credit level of the initial client, which is recorded as the first condition; and / or,
[0142] The OPS system calculates the credit change curve of the initial client in all historical time periods according to the historical credit of the initial client in different historical time periods, and determines the fit between the credit change curve of the initial client and the preset standard credit recovery curve, and determines whether the fit corresponding to the initial client is greater than or equal to the preset fit, which is recorded as the second condition;
[0143] When at least one of the first condition and the second condition is satisfied, the OPS system determines that the current condition of the initial client satisfies the preset credit condition.
[0144] In the embodiment of the present invention, specifically, for each initial client, when the credit level of the initial client only includes the current credit level, when the first condition is not met, the OPS system determines that the current condition of the initial client does not meet the preset credit condition; when the credit level of the initial client only includes the historical credit level within different historical time periods, when the second condition is not met, the OPS system determines that the current condition of the initial client does not meet the preset credit condition; when the credit level of the initial client includes both the current credit level and the historical credit level within different historical time periods, when both the first condition and the second condition are not met, the OPS system determines that the current condition of the initial client does not meet the preset credit condition.
[0145] In the embodiment of the present invention, specifically, the execution priority of the first condition is higher than the execution priority of the second condition. That is, when the credit level of the initial client includes both the current credit level and the historical credit level in different historical time periods, the OPS system will prioritize the execution of the first condition, and when the first condition is met, the OPS system will directly determine that the current condition of the initial client meets the preset credit condition, and there is no need to execute the second condition at this time; when the first condition is not met, the second condition will be executed, and when the second condition is met, the OPS system will determine that the current condition of the initial client meets the preset credit condition.
[0146] It can be seen that this optional implementation scheme can also determine, for each initial client, whether the current credit level of the initial client is greater than or equal to the preset credit level based on the current credit level of the initial client through the OPS system, which is recorded as the first condition; and / or, the credit level change curve of the initial client in all historical time periods is calculated through the OPS system based on the historical credit level of the initial client in different historical time periods, and the fit between the credit level change curve of the initial client and the preset standard credit level recovery curve is determined, and whether the corresponding fit of the initial client is greater than or equal to the preset fit is determined, which is recorded as the second condition; when at least one of the first condition and the second condition is met, the OPS system determines that the current condition of the initial client meets the preset credit condition, which can improve the accuracy and reliability of the judgment of whether the current condition of each client meets the preset credit condition, and can improve the diversity and flexibility of the judgment of whether the current condition of each client meets the preset credit condition based on diversified judgment conditions.
[0147] Embodiment 2
[0148] See also Figure 3 , Figure 3 1 is a flowchart of a method for updating a game version based on a version update process disclosed in an embodiment of the present invention. Figure 3 The game version update method based on the version update process described above can be applied to a game version update device based on the version update process, wherein the device may include an update device or an update server, wherein the update server may include a cloud server or a local server, which is not limited in the embodiment of the present invention. Figure 3 As shown, the game version update method based on the version update process may include the following operations:
[0149] 201. The version update system receives a version update instruction for a certain game, and sends the version update instruction to the OPS system.
[0150] 202. The OPS system receives a version update instruction.
[0151] 203. The OPS system determines whether the version update instruction satisfies the preset command execution condition according to the preset execution command list information of the OPS system.
[0152] In an embodiment of the present invention, the execution command list information includes information about one or more commands that can be executed. Specifically, when a user connects to a remote host through SSH via the version update system and attempts to execute a command, the OPS system will first use the command filtering function to check the command through the tracking point processing, and decide whether to allow the command to execute based on the inspection results. For example, commands such as rm and shutdown will be deemed to not meet the command execution conditions and will be prohibited from execution. Any command is forwarded and controlled by a layer of the OPS system.
[0153] In an embodiment of the present invention, when the judgment result of step 203 is no, that is, when it is judged that the version update instruction does not meet the command execution condition, step 204 is triggered to be executed; when the judgment result of step 203 is yes, that is, when it is judged that the version update instruction meets the command execution condition, step 205 is triggered to be executed.
[0154] 204. The OPS system determines that the version update instruction is a command that prohibits execution, and sends a reminder message to the version update system to stop executing the command corresponding to the version update instruction.
[0155] 205. The OPS system analyzes the version update instruction and obtains the latest version data;
[0156] 206. The OPS system determines the current version data of each target client authorized by the operation management system.
[0157] 207. The OPS system determines a version update process that matches each operation management system according to the latest version data and the current version data of the target client authorized by each operation management system.
[0158] 208. The OPS system sends each version update process to a matching operation management system.
[0159] 209. The operation management system receives the corresponding version update process.
[0160] 210. The operation management system performs a version update operation on the game servers of all target clients authorized by the operation management system according to the version update process.
[0161] 211. The operation management system performs an update data write-back operation corresponding to the version update operation on the OPS system.
[0162] In the embodiment of the present invention, for other descriptions of step 201 to step 211, please refer to the detailed description of step 101 to step 108 in the first embodiment, and the embodiment of the present invention will not be repeated.
[0163] It can be seen that the implementation Figure 3The described game version update method based on version update process can receive version update instructions for a certain game through the version update system, and send the version update instructions to the OPS system. The version update system and the OPS system are in the same intranet environment, and the OPS system is in communication with at least one operation management system. This can reduce the occurrence of information leakage caused by information communication between the version update system and other systems in the extranet environment. The version update instruction is received through the OPS system, and the version update instruction is analyzed to obtain the latest version data. It can improve the analysis accuracy and efficiency of the latest version data of the game, and determine the current version data of the target client authorized by each operation management system, and determine the version update process matching each operation management system based on the latest version data and the current version data of the target client authorized by each operation management system. The accuracy and efficiency of determining the version update process are improved based on the latest version data and the current version data, and each version update process is then sent to a matching operation management system, the corresponding version update process is received through the operation management system, and according to the version update process, the version update system is controlled to perform version update operations on all target clients authorized by the operation management system. The update accuracy and efficiency of the game version can be improved by the operation management system's control over the target clients authorized by it, and the update data write-back operation corresponding to the version update operation is performed to the OPS system, which can improve the write-back accuracy of the update data during the game update process, thereby facilitating timely preservation of the update data for data comparison and processing with the current update data during the next update, and is conducive to improving the security of game updates based on the interaction between multiple systems, and is conducive to reducing the risk and workload of new version releases. In addition, the OPS system can also determine whether the version update instruction meets the preset command execution conditions based on the preset OPS system execution command list information. When it is determined that the version update instruction meets the command execution conditions, the OPS system is triggered to execute and analyze the version update instruction to obtain the latest version of the data. Setting the verification process for the version update instruction is helpful to ensure the accuracy and reliability of the version update instruction that needs to be analyzed. When it is determined that the version update instruction does not meet the command execution conditions, the OPS system determines that the version update instruction is a prohibited execution command, and sends a reminder message to the version update system that the command corresponding to the version update instruction stops executing. Setting the verification process for the version update instruction is helpful to reduce the occurrence of executing commands that are actually prohibited from execution, and is helpful to promptly send a prompt to the version update system that the command is prohibited from execution, so as to reduce the occurrence of the version update system running the command in advance.
[0164] In an optional embodiment, the operation management system in step 210 performs a version update operation on the game servers of all target clients authorized by the operation management system according to the version update process, which may include:
[0165] The operation management system updates the program code of the game server of each target client authorized by the operation management system according to the version update process;
[0166] The operation management system obtains update data sent by the game server during the version update process, and each version update process includes one or more update nodes;
[0167] The operation management system outputs the update data of each game server to the target object, and obtains the approval result for the update data sent by the target object;
[0168] When the approval result of the update data indicates that the update data of the game server meets the expected update data, the operation management system continues to execute the update operation according to the version update process to update the program code of the game server of each target client authorized by the operation management system until the end update node of the version update process is reached;
[0169] When the approval result of the update data indicates that the update data of the game server does not meet the expected update data, the operation management system adjusts the version update process according to the data difference information between the update data of the game server and the expected update data, obtains the adjusted version update process, and re-executes the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process.
[0170] In an embodiment of the present invention, optionally, the target object may include backend R&D personnel and / or an approval management system. First, the backend R&D personnel and / or the approval management system will use the version update system to create a customized pipeline (i.e., a version update process). Each step of this pipeline (each update node of the version update process) can be configured to connect to the target host and execute a specific script. At the same time, these scripts support obtaining parameters from the front end, making the operation more flexible and personalized. Secondly, through the association with the internal system, the platform and region service information (relevant information of the servers in each region) can be synchronized to the version update system in real time. In this way, the R&D personnel and / or the approval management system can select the platform and region service that need to be updated from the system during the version update process, which greatly improves work efficiency.
[0171] It can be seen that this optional embodiment can update the program code of the game server of each target client authorized by the operation management system according to the version update process through the operation management system, can improve the version update accuracy and efficiency of the game server of each target client based on the version update process, and obtain the update data sent by the game server during the version update process, and output the update data of each game server to the target object, and obtain the approval result of the update data sent by the target object, which can improve the accuracy and efficiency of the target object in obtaining the data approval result during the version update process. When the approval result of the update data indicates that the update data of the game server meets the expected update data, the operation management system continues to execute the version update process for each target client authorized by the operation management system. The operation of updating the program code of the game server is performed until the end update node of the version update process is reached. The version update process can be promoted quickly and accurately when the approval result meets expectations. When the approval result of the update data indicates that the update data of the game server does not meet the expected update data, the operation management system adjusts the version update process according to the data difference information between the update data of the game server and the expected update data, obtains the adjusted version update process, and re-executes the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process. The version update process can be adjusted in time when the approval result does not meet expectations, which is conducive to reducing the occurrence of low accuracy of version update results due to errors in the version update process.
[0172] In this optional embodiment, as an optional implementation mode, the operation management system updates the program code of the game server of each target client authorized by the operation management system according to the version update process, which may include:
[0173] For each target client authorized by the operation management system, the operation management system detects the device status of the target client according to the version update process;
[0174] When it is detected that the device status of the target client is offline, the operation management system closes the game entrance of the game, and sends version update prompt information for the target client to the version update system according to the version update process, so as to prompt the version update system to update the level code of the game server of the target client;
[0175] When it is detected that the device status of the target client is online, the operation management system sends a hot update interface call prompt message for the target client to the version update system according to the version update process, so as to prompt the version update system to call the hot update interface, and update the degree code of the game server of the target client according to the hot update interface.
[0176] In the embodiment of the present invention, the device status includes the device online status or the device offline status. Specifically, at the specified server-wide update time, if a client is detected to be online, the system will first close the game entrance to prevent the currently offline client from logging in during the version update process. Subsequently, for the offline client, the backend operator updates the code of the offline client through the version update system; for the online client, the hot update interface of each node is called through the version update system to realize the real-time update of the game content. After the update is completed, the game entrance is opened again, and the client is notified for acceptance.
[0177] It can be seen that this optional implementation method can detect the device status of each target client authorized by the operation management system according to the version update process, thereby improving the detection accuracy and efficiency of the device status of the target client. When it is detected that the target client is not online, the game entrance of the game is closed, and according to the version update process, a version update prompt message for the target client is sent to the version update system to prompt the version update system to update the degree code of the game server of the target client. When the client is not online, a version update reminder can be sent to the version update system in time, thereby helping to promote the version update process. When it is detected that the target client is online, according to the version update process, a hot update interface call prompt message for the target client is sent to the version update system to prompt the version update system to call the hot update interface, and according to the hot update interface, the degree code of the game server of the target client is updated. When the client is online, the version update of the client can be quickly and accurately implemented by calling the hot update interface, which is beneficial to improving the game experience and game viscosity of the user corresponding to the online client.
[0178] In another optional embodiment, the method may further include:
[0179] The operation management system detects the game server of each target client authorized by the operation management system, and determines at least one preceding server from the game servers of all target clients;
[0180] For each leading server, the operation management system controls the version update system to update the program code of the leading server according to the version update process, and obtains the version update result of the leading server;
[0181] The operation management system verifies the version update result of the previous server; when the verification passes, the operation management system is triggered to execute the above-mentioned version update process to update the program code of the game server of each target client authorized by the operation management system.
[0182] In the embodiment of the present invention, specifically, for the new version included in the version update result of the advance server, the stability and functions are detected to complete the verification, such as: if the stability is high and the functions are complete, the verification passes; if the stability is poor and / or the functions are incomplete, the verification fails. Optionally, when the verification fails, the operation management system is triggered to output parameter adjustment prompt information for the version update process to the version update system, so as to prompt the version update system to readjust the code parameters of the program code included in the version update process. In this way, by setting the advance version update process of the advance server, when the version update result is normal, it can assist in improving the accuracy and reliability of the version update results of other servers; when the version update result is abnormal, the code parameters related to the version update can be adjusted in time, and it is beneficial to timely repair the abnormal conditions that occur in a small range of updated servers, which is beneficial to reduce the risks and workload brought by the version update to a certain extent.
[0183] Embodiment 3
[0184] See also Figure 4 , Figure 4 1 is a schematic diagram of a game version update device based on a version update process disclosed in an embodiment of the present invention. Figure 4 The game version update device based on the version update process described may include an update device or an update server, wherein the update server may include a cloud server or a local server, which is not limited in the embodiment of the present invention. Figure 4 As shown, the game version update device based on the version update process may include a version update system 30, an OPS system 40 and at least one operation management system 50, the version update system 30 and the OPS system 40 are in the same intranet environment, and the OPS system 40 is in communication connection with at least one operation management system 50, the version update system 30 includes a first receiving module 301 and a first sending module 302, the OPS system 40 includes a second receiving module 401, an analysis module 402, a determination module 403 and a second sending module 404, and the operation management system 50 includes a third receiving module 501 and a control module 502, wherein:
[0185] The first receiving module 301 is used to receive a version update instruction for a certain game;
[0186] The first sending module 302 is used to send the version update instruction to the second receiving module 401;
[0187] The second receiving module 401 is used to receive a version update instruction;
[0188] An analysis module 402 is used to analyze the version update instruction to obtain the latest version data;
[0189] Determine module 403, for current version data of target clients authorized by each operation management system, each operation management system being associated with at least one target client;
[0190] The determination module 403 is further used to determine the version update process matching each operation management system according to the latest version data and the current version data of the target client authorized by each operation management system;
[0191] The second sending module 404 is used to send each version update process to the third receiving module 501;
[0192] The third receiving module 501 is used to receive the corresponding version update process;
[0193] The control module 502 is used to perform a version update operation on the game servers of all target clients authorized by the operation management system according to the version update process, and to perform an update data write-back operation corresponding to the version update operation to the second receiving module 401.
[0194] It can be seen that the implementation Figure 4The described game version update device based on version update process can receive version update instructions for a certain game through the version update system, and send the version update instructions to the OPS system. The version update system and the OPS system are in the same intranet environment, and the OPS system is in communication with at least one operation management system. This can reduce the occurrence of information leakage caused by information communication between the version update system and other systems in the extranet environment. The version update instruction is received through the OPS system, and the version update instruction is analyzed to obtain the latest version data. It can improve the analysis accuracy and efficiency of the latest version data of the game, and determine the current version data of the target client authorized by each operation management system, and determine the version update process matching each operation management system based on the latest version data and the current version data of the target client authorized by each operation management system. The accuracy and efficiency of determining the version update process are improved based on the latest version data and the current version data, and each version update process is then sent to a matching operation management system, the corresponding version update process is received through the operation management system, and according to the version update process, the version update system is controlled to perform version update operations on all target clients authorized by the operation management system. The update accuracy and efficiency of the game version can be improved by the operation management system's control over the target clients authorized by it, and the update data write-back operation corresponding to the version update operation is performed to the OPS system, which can improve the write-back accuracy of the update data during the game update process, thereby facilitating timely preservation of the update data for data comparison and processing with the current update data during the next update, and is conducive to improving the security of game updates based on the interaction between multiple systems, and is conducive to reducing the risk and workload of new version releases.
[0195] In an optional embodiment, the method in which the determination module 403 determines the current version data of each target client authorized by the operation management system may specifically include:
[0196] Determine the whitelist information of each operation management system, the whitelist information includes information of target clients authorized by the corresponding operation management system;
[0197] For each target client, determine whether the current version data of the target client exists in the version data set of the target client stored in the database of the OPS system;
[0198] When it is determined that the current version data of the target client does not exist in the version data set of the target client, a current version data collection instruction for the target client is sent to the third receiving module 501 to trigger the operation management system to collect the current version data of the target client;
[0199] When it is determined that the version data set of the target client contains the current version data of the target client, the current version data of the target client is called out from the version data set of the target client.
[0200] It can be seen that this optional embodiment can automatically determine the whitelist information of each operation management system through the OPS system, and for each target client, determine whether the current version data of the target client exists in the version data set of the target client stored in the database of the OPS system. When it is determined that the current version data of the target client does not exist in the version data set of the target client, a current version data collection instruction for the target client is sent to the corresponding operation management system to trigger the operation management system to collect the current version data of the target client. When the current version data of the corresponding client is not stored in the database, a reminder can be issued to the operation management system in time, which is conducive to improving the collection efficiency and speed of the current version data. When it is determined that the current version data of the target client exists in the version data set of the target client, the OPS system calls out the current version data of the target client from the version data set of the target client, which can improve the calling accuracy and efficiency of the current version data.
[0201] In this optional embodiment, as an optional implementation, the manner in which the determination module 403 determines the whitelist information of each operation management system may specifically include:
[0202] Collecting client information of one or more initial clients managed by each operation management system;
[0203] Analyze the credit level of each initial client in the game according to the client information of each initial client corresponding to each operation management system;
[0204] For each initial client, judging whether the current condition of the initial client satisfies the preset credit condition according to the credit level of the initial client;
[0205] When it is determined that the current condition of the initial client does not meet the credit condition, the initial client is restricted based on a preset SSH restriction algorithm;
[0206] When it is determined that the current condition of the initial client satisfies the credit condition, the initial client is determined as a target client authorized by the corresponding operation management system;
[0207] According to the target clients authorized by each operation management system, the whitelist information of each operation management system is set.
[0208] It can be seen that this optional implementation method can collect the client information of one or more initial clients controlled by each operation management system through the OPS system, and analyze the credit level of each initial client in the game according to the client information of each initial client corresponding to each operation management system, which can improve the analysis accuracy and efficiency of the credit level of each client in the game, and for each initial client, according to the credit level of the initial client, determine whether the current condition of the initial client meets the preset credit condition, and when it is determined that the current condition of the initial client does not meet the credit condition, the OPS system restricts the initial client based on the preset SSH restriction algorithm, which can The SSH restriction algorithm is used to improve the accuracy and efficiency of restrictions on clients that do not meet the credit conditions, which is beneficial to accurately identify the game update objects (i.e., target clients) by quickly and accurately restricting these clients. When it is determined that the current conditions of the initial client meet the credit conditions, the OPS system determines the initial client as the target client authorized by the corresponding operation management system, which can improve the accuracy and efficiency of identifying the target clients that need to update the game version. Then, according to the target clients authorized by each operation management system, the whitelist information of each operation management system is set, which can achieve accurate classification of clients with different credit levels by setting the whitelist information.
[0209] In this optional implementation, the credit level may include the current credit level and / or the historical credit levels in different historical time periods. And, for each initial client, the determination module 403 determines whether the current condition of the initial client meets the preset credit condition according to the credit level of the initial client, which may specifically include:
[0210] For each initial client, judging whether the current credit level of the initial client is greater than or equal to a preset credit level according to the current credit level of the initial client, which is recorded as the first condition; and / or,
[0211] According to the historical credit of the initial client in different historical time periods, the credit change curve of the initial client in all historical time periods is calculated, and the fit between the credit change curve of the initial client and the preset standard credit recovery curve is determined, and whether the fit corresponding to the initial client is greater than or equal to the preset fit, which is recorded as the second condition;
[0212] When at least one of the first condition and the second condition is satisfied, it is determined that the current condition of the initial client satisfies the preset credit condition.
[0213] It can be seen that this optional implementation scheme can also determine, for each initial client, whether the current credit level of the initial client is greater than or equal to the preset credit level based on the current credit level of the initial client through the OPS system, which is recorded as the first condition; and / or, the credit level change curve of the initial client in all historical time periods is calculated through the OPS system based on the historical credit level of the initial client in different historical time periods, and the fit between the credit level change curve of the initial client and the preset standard credit level recovery curve is determined, and whether the corresponding fit of the initial client is greater than or equal to the preset fit is determined, which is recorded as the second condition; when at least one of the first condition and the second condition is met, the OPS system determines that the current condition of the initial client meets the preset credit condition, which can improve the accuracy and reliability of the judgment of whether the current condition of each client meets the preset credit condition, and can improve the diversity and flexibility of the judgment of whether the current condition of each client meets the preset credit condition based on diversified judgment conditions.
[0214] In another optional embodiment, Figure 5 As shown, Figure 5 is a structural diagram of another game version updating device based on the version updating process disclosed in an embodiment of the present invention, such as Figure 5 As shown, the OPS system may further include a judgment module 405, wherein:
[0215] The judging module 405 is used to judge whether the version update instruction meets the preset command execution condition according to the preset execution command list information of the OPS system after the second receiving module 401 receives the version update instruction and before the analyzing module 402 analyzes the version update instruction to obtain the latest version data, wherein the execution command list information includes information of one or more commands that can be executed; when it is judged that the version update instruction meets the command execution condition, the analyzing module 402 is triggered to perform the operation of analyzing the version update instruction to obtain the latest version data;
[0216] The determination module 403 is further configured to determine that the version update instruction is a command that is prohibited from being executed when the determination module 405 determines that the version update instruction does not meet the command execution condition;
[0217] The second sending module 404 is further configured to send a reminder message to the first receiving module 301 to stop executing the command corresponding to the version update instruction.
[0218] It can be seen that this optional embodiment can determine whether the version update instruction meets the preset command execution conditions through the OPS system according to the preset OPS system execution command list information. When it is determined that the version update instruction meets the command execution conditions, the OPS system is triggered to execute and analyze the version update instruction to obtain the latest version data. Setting the verification process of the version update instruction is helpful to ensure the accuracy and reliability of the version update instruction that needs to be analyzed. When it is determined that the version update instruction does not meet the command execution conditions, the OPS system determines that the version update instruction is a prohibited execution command, and sends a reminder message to the version update system that the command corresponding to the version update instruction stops executing. Setting the verification process of the version update instruction is helpful to reduce the occurrence of executing commands that are actually prohibited from execution, and is helpful to promptly send a prompt to the version update system that the command is prohibited from execution, so as to reduce the occurrence of the version update system running the command in advance.
[0219] In another optional embodiment, the control module 502 may perform the version update operation on the game servers of all target clients authorized by the operation management system according to the version update process, which may specifically include:
[0220] According to the version update process, the program code of the game server of each target client authorized by the operation management system is updated;
[0221] Acquire update data of the target client during the version update process sent by the first sending module 302, where each version update process includes one or more update nodes;
[0222] Outputting the update data of each game server to the target object, and obtaining the approval result for the update data sent by the target object;
[0223] When the approval result of the update data indicates that the update data of the game server meets the expected update data, the operation management system continues to execute the update operation according to the version update process to update the program code of the game server of each target client authorized by the operation management system until the end update node of the version update process is reached;
[0224] When the approval result of the update data indicates that the update data of the game server does not meet the expected update data, the version update process is adjusted according to the data difference information between the update data of the game server and the expected update data to obtain the adjusted version update process, and then the program code of the game server of each target client authorized by the operation management system is updated again according to the version update process.
[0225] It can be seen that this optional implementation method can update the program code of the game server of each target client authorized by the operation management system according to the version update process through the operation management system, and can improve the version update accuracy and efficiency of the game server of each target client based on the version update process, and obtain the update data sent by the game server during the version update process, and output the update data of each game server to the target object, and obtain the approval result of the update data sent by the target object, which can improve the accuracy and efficiency of the target object in obtaining the data approval result during the version update process. When the approval result of the update data indicates that the update data of the game server meets the expected update data, the operation management system continues to execute the version update process for each target client authorized by the operation management system. The operation of updating the program code of the game server is performed until the end update node of the version update process is reached. The version update process can be promoted quickly and accurately when the approval result meets expectations. When the approval result of the update data indicates that the update data of the game server does not meet the expected update data, the operation management system adjusts the version update process according to the data difference information between the update data of the game server and the expected update data to obtain the adjusted version update process, and re-executes the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process. The version update process can be adjusted in time when the approval result does not meet expectations, which is conducive to reducing the occurrence of low accuracy of version update results due to errors in the version update process.
[0226] In this optional embodiment, as an optional implementation, the control module 502 may update the program code of the game server of each target client authorized by the operation management system according to the version update process in the following manner:
[0227] For each target client authorized by the operation management system, according to the version update process, the device status of the target client is detected, and the device status includes the device online status or the device offline status;
[0228] When it is detected that the device status of the target client is offline, the game entrance of the game is closed, and according to the version update process, the version update prompt information for the target client is sent to the first receiving module 301 to prompt the version update system to update the game server code of the target client;
[0229] When it is detected that the device status of the target client is the device online status, according to the version update process, a hot update interface call prompt information for the target client is sent to the first sending module 302 to prompt the version update system to call the hot update interface, and according to the hot update interface, the degree code of the game server of the target client is updated.
[0230] It can be seen that this optional implementation method can detect the device status of each target client authorized by the operation management system according to the version update process, thereby improving the detection accuracy and efficiency of the device status of the target client. When it is detected that the target client is not online, the game entrance of the game is closed, and according to the version update process, a version update prompt message for the target client is sent to the version update system to prompt the version update system to update the degree code of the game server of the target client. When the client is not online, a version update reminder can be sent to the version update system in time, thereby helping to promote the version update process. When it is detected that the target client is online, according to the version update process, a hot update interface call prompt message for the target client is sent to the version update system to prompt the version update system to call the hot update interface, and according to the hot update interface, the degree code of the game server of the target client is updated. When the client is online, the version update of the client can be quickly and accurately implemented by calling the hot update interface, which is beneficial to improving the game experience and game viscosity of the user corresponding to the online client.
[0231] Embodiment 4
[0232] See also Figure 6 , Figure 6 FIG. 1 is a schematic diagram of the structure of another game version update device based on the version update process disclosed in an embodiment of the present invention. Figure 6 As shown, the game version updating device based on the version updating process may include:
[0233] A memory 601 storing executable program codes;
[0234] a processor 602 coupled to the memory 601;
[0235] The processor 602 calls the executable program code stored in the memory 601 to execute the steps in the game version update method based on the version update process described in the first embodiment of the present invention or the second embodiment of the present invention.
[0236] Embodiment 5
[0237] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps of the game version update method based on the version update process described in Embodiment 1 or Embodiment 2 of the present invention.
[0238] Embodiment 6
[0239] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the game version update method based on the version update process described in Example 1 or Example 2.
[0240] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0241] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0242] Finally, it should be noted that the game version update method and device based on the version update process disclosed in the embodiment of the present invention only discloses the preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A game version update method based on a version update process, characterized in that: The method comprises: The version update system receives a version update instruction for a certain game, and sends the version update instruction to the OPS system, the version update system and the OPS system are in the same intranet environment, and the OPS system is in communication connection with at least one operation management system; The OPS system receives the version update instruction, analyzes the version update instruction, and obtains the latest version data; The OPS system determines the current version data of each target client authorized by the operation management system, each operation management system being associated with at least one target client; The OPS system determines a version update process matching each of the operation management systems according to the latest version data and the current version data of the target client authorized by each of the operation management systems; The OPS system sends each version update process to a matching operation management system; The operation management system receives the corresponding version update process, and according to the version update process, performs version update operations on the game servers of all target clients authorized by the operation management system, and performs update data write-back operations corresponding to the version update operations to the OPS system.
2. The game version update method based on the version update process according to claim 1 is characterized in that: The OPS system determines the current version data of each target client authorized by the operation management system, including: The OPS system determines the whitelist information of each operation management system, wherein the whitelist information includes information of target clients authorized by the corresponding operation management system; For each of the target clients, the OPS system determines whether the current version data of the target client exists in the version data set of the target client stored in the database of the OPS system; When it is determined that the current version data of the target client does not exist in the version data set of the target client, the OPS system sends a current version data collection instruction for the target client to the corresponding operation management system to trigger the operation management system to collect the current version data of the target client; When it is determined that the version data set of the target client contains the current version data of the target client, the OPS system calls out the current version data of the target client from the version data set of the target client.
3. The game version update method based on the version update process according to claim 2 is characterized in that: The OPS system determines the whitelist information of each operation management system, including: The OPS system collects client information of one or more initial clients managed by each of the operation management systems; The OPS system analyzes the credit level of each of the initial clients in the game according to the client information of each of the initial clients corresponding to each of the operation management systems; For each of the initial clients, the OPS system determines whether the current condition of the initial client meets the preset credit condition according to the credit level of the initial client; When it is determined that the current condition of the initial client does not meet the credit condition, the OPS system restricts the initial client based on a preset SSH restriction algorithm; When it is determined that the current condition of the initial client satisfies the credit condition, the OPS system determines the initial client as a target client authorized by the corresponding operation management system; The OPS system sets the whitelist information of each operation management system according to the target client authorized by each operation management system.
4. The game version update method based on the version update process according to claim 3 is characterized in that: The credit level includes the current credit level and / or the historical credit level in different historical time periods; And, for each of the initial clients, the OPS system determines whether the current condition of the initial client meets the preset credit condition according to the credit level of the initial client, including: For each of the initial clients, the OPS system determines whether the current credit level of the initial client is greater than or equal to a preset credit level based on the current credit level of the initial client, which is recorded as the first condition; and / or, The OPS system calculates the credit degree change curve of the initial client in all the historical time periods according to the historical credit degree of the initial client in different historical time periods, and determines the fit between the credit degree change curve of the initial client and the preset standard credit degree recovery curve, and determines whether the fit degree corresponding to the initial client is greater than or equal to the preset fit degree, which is recorded as the second condition; When at least one of the first condition and the second condition is satisfied, the OPS system determines that the current condition of the initial client satisfies the preset credit condition.
5. The game version update method based on the version update process according to any one of claims 1 to 4, characterized in that: After the OPS system receives the version update instruction and before the OPS system analyzes the version update instruction to obtain the latest version data, the method further includes: The OPS system determines whether the version update instruction meets a preset command execution condition according to preset execution command list information of the OPS system, wherein the execution command list information includes information of one or more commands that can be executed; When it is determined that the version update instruction meets the command execution condition, the OPS system is triggered to perform the operation of analyzing the version update instruction to obtain the latest version of data; When it is determined that the version update instruction does not satisfy the command execution condition, the OPS system determines that the version update instruction is a command that prohibits execution, and sends a reminder message to the version update system to stop executing the command corresponding to the version update instruction.
6. The game version update method based on the version update process according to any one of claims 1 to 4, characterized in that: The operation management system performs a version update operation on the game servers of all target clients authorized by the operation management system according to the version update process, including: The operation management system updates the program code of the game server of each target client authorized by the operation management system according to the version update process; The operation management system obtains update data sent by the game server during the version update process, and each version update process includes one or more update nodes; The operation management system outputs the update data of each of the game servers to a target object, and obtains an approval result for the update data sent by the target object; When the approval result of the update data indicates that the update data of the game server meets the expected update data, the operation management system continues to execute the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process until the end update node of the version update process is reached; When the approval result of the update data indicates that the update data of the game server does not meet the expected update data, the operation management system adjusts the version update process according to the data difference information between the update data of the game server and the expected update data, obtains the adjusted version update process, and re-executes the operation of updating the program code of the game server of each target client authorized by the operation management system according to the version update process.
7. The game version update method based on the version update process according to claim 6 is characterized in that: The operation management system updates the program code of the game server of each target client authorized by the operation management system according to the version update process, including: For each of the target clients authorized by the operation management system, the operation management system detects a device status of the target client according to the version update process, where the device status includes a device online status or a device offline status; When it is detected that the device status of the target client is offline, the operation management system closes the game entrance of the game, and according to the version update process, sends version update prompt information for the target client to the version update system through the OPS system, so as to prompt the version update system to update the game server code of the target client; When it is detected that the device status of the target client is the device online status, the operation management system sends a hot update interface call prompt information for the target client to the version update system through the OPS system according to the version update process, so as to prompt the version update system to call the hot update interface, and update the degree code of the game server of the target client according to the hot update interface.
8. A game version update device based on a version update process, characterized in that: The device includes a version update system, an OPS system and at least one operation management system, the version update system and the OPS system are in the same intranet environment, and the OPS system is communicatively connected with at least one of the operation management systems, the version update system includes a first receiving module and a first sending module, the OPS system includes a second receiving module, an analyzing module, a determining module and a second sending module, and the operation management system includes a third receiving module and a control module, wherein: The first receiving module is used to receive a version update instruction for a certain game; The first sending module is used to send the version update instruction to the second receiving module; The second receiving module is used to receive the version update instruction; The analysis module is used to analyze the version update instruction to obtain the latest version data; The determination module is used for the current version data of each target client authorized by the operation management system, and each operation management system is associated with at least one target client; The determination module is further used to determine a version update process matching each of the operation management systems according to the latest version data and the current version data of the target client authorized by each of the operation management systems; The second sending module is used to send each version update process to the third receiving module; The third receiving module is used to receive the corresponding version update process; The control module is used to perform a version update operation on the game servers of all target clients authorized by the operation management system according to the version update process, and to perform an update data write-back operation corresponding to the version update operation to the second receiving module.
9. A game version update device based on a version update process, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the game version update method based on the version update process as described in any one of claims 1-7.
10. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the game version update method based on the version update process as described in any one of claims 1-7.