CN112148354B - Game starting method and device - Google Patents

Game starting method and device Download PDF

Info

Publication number
CN112148354B
CN112148354B CN202011037053.2A CN202011037053A CN112148354B CN 112148354 B CN112148354 B CN 112148354B CN 202011037053 A CN202011037053 A CN 202011037053A CN 112148354 B CN112148354 B CN 112148354B
Authority
CN
China
Prior art keywords
branch
target
local
file
game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011037053.2A
Other languages
Chinese (zh)
Other versions
CN112148354A (en
Inventor
钟维海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011037053.2A priority Critical patent/CN112148354B/en
Publication of CN112148354A publication Critical patent/CN112148354A/en
Application granted granted Critical
Publication of CN112148354B publication Critical patent/CN112148354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program

Abstract

The invention provides a game starting method and a game starting device, which are applied to a game starter, wherein the game starter comprises a graphical user interface, the graphical user interface comprises a branch switching control, and the method comprises the following steps: responding to a branch switching operation aiming at a branch switching control, acquiring a branch list, and displaying the branch list in a branch list display area of the graphical user interface; determining a selected target branch in response to a selection operation for a branch entry in the branch list; restoring a target local development file corresponding to a target branch according to a server version file corresponding to the target branch; and after the reduction of the target local development file is completed, starting the reduced target local development file. Therefore, the branch one-key operation can be realized, the operation complexity of developers is greatly reduced, and the development efficiency is improved.

Description

Game starting method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for starting a game.
Background
SVN (subversion) is a version control system of open source code for efficient management by employing a branch management system. Based on SVN, multiple persons can commonly develop the same project, and shared resources and centralized management are realized.
The splitting branch needs to manually split the branch locally by using an SVN command line, then enter a directory to find a start script, and double-click to start a game of a specific branch, where the SVN command generally needs to be processed separately for each outer chain, and a conflict is encountered or local lock needs to be performed separately by using a reverse command (one command of a previous version is replied) or a cleanup command (one command of a clear lock state).
The current mode can be interrupted for a plurality of times in the switching process, and the switching can be successfully completed only by debugging for a plurality of times, so that the operation is complex, the development difficulty based on SVN is high, and the user experience is very poor.
Disclosure of Invention
The invention aims to provide a game starting method and device, which are used for relieving the technical problem of high development difficulty in the prior art.
In a first aspect, an embodiment of the present invention provides a method for starting a game. The game starter is applied to a terminal, the game starter comprises a graphical user interface, the graphical user interface comprises a branch switching control, a server version library corresponds to a game in a server, a local version library corresponds to the terminal, the local version library comprises a plurality of branches, and each branch corresponds to a server version file and a local development file, and the method comprises the following steps: responding to the branch switching operation aiming at the branch switching control, acquiring a branch list, and displaying in a branch list display area of the graphical user interface; determining a selected target branch in response to a selection operation for a branch entry in the branch list; restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch; and after the reduction of the target local development file is completed, starting the reduced target local development file.
In an alternative implementation, the local development file includes one or more extranets, and one or more local editorial content.
In an alternative implementation manner, the step of restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch includes: determining a first outer chain corresponding to the target branch based on the local development file; for each first outer chain, executing a recovery command and a clear command in a directory corresponding to the first outer chain, so as to restore the first outer chain in the local development file.
In an alternative implementation manner, the step of determining the first outer chain corresponding to the target branch based on the local development file includes: determining whether the one or more extralinks conflict with the one or more local editorial content; the determination that a conflict exists in one or more outer chains is referred to as a first outer chain.
In an alternative implementation, before the step of starting the restored target specimen development file, the method further includes: and if the local editing content is locked, unlocking the local editing content.
In an alternative implementation, after the step of starting the restored target specimen development file, the method further includes: if abnormality occurs when the restored target specimen development file is started, sequentially conducting investigation according to a predetermined investigation list; when the target content causing the abnormality is determined to be in the second outer chain, the relevant responsible person of the target content in the second outer chain is determined, and a reminder is sent to the relevant responsible person.
In an alternative implementation, the relevant liability person is the last submitter to which the target content corresponds.
In an alternative implementation, the step of determining the selected target branch in response to a selection operation for a branch entry in the branch list includes: determining an input character string in response to an input operation for a search box in a graphical user interface; based on the input character string, matching is carried out in a branch list, and a branch table item corresponding to a branch to be selected with high matching degree is displayed in a branch list display area; and responding to the selection operation of the branch table item corresponding to the branch to be selected, and determining the selected target branch.
In an alternative implementation, the graphical user interface further includes one or more of modifying controls, deleting controls, typesetting controls, closing game controls, and opening catalog controls in which the game resides.
In alternative implementations, the branch switch operation includes an operation to create a new branch and switch to a newly created branch, or an operation to switch to an existing branch.
In an alternative implementation, each branch corresponds to a first version number, each outer chain and each local edit content corresponds to a second version number, respectively, and the combination of the first version number and the second version number is used to designate a version of the game.
In a second aspect, an embodiment of the present invention provides a game starting apparatus. The game starter is applied to a terminal, the game starter comprises a graphical user interface, the graphical user interface comprises a branch switching control, a server version library corresponds to a game in a server, a local version library corresponds to the terminal, the local version library comprises a plurality of branches, each branch corresponds to a server version file and a local development file, and the device comprises: the acquisition module is used for responding to the branch switching operation aiming at the branch switching control, acquiring a branch list and displaying the branch list in a branch list display area of the graphical user interface; the determining module is used for responding to the selection operation aiming at the branch table items in the branch list and determining the selected target branch; the restoring module is used for restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch; and the starting module is used for starting the restored target local development file after the target local development file is restored.
In an alternative implementation, the local development file includes one or more extranets, and one or more local editorial content.
In an alternative implementation manner, the step of restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch includes: determining a first outer chain corresponding to the target branch based on the local development file; for each first outer chain, executing a recovery command and a clear command in a directory corresponding to the first outer chain, so as to restore the first outer chain in the local development file.
In an alternative implementation manner, the step of determining the first outer chain corresponding to the target branch based on the local development file includes: determining whether the one or more extralinks conflict with the one or more local editorial content; the determination that a conflict exists in one or more outer chains is referred to as a first outer chain.
In an alternative implementation, before the step of starting the restored target specimen development file, the method further includes: and if the local editing content is locked, unlocking the local editing content.
In an alternative implementation, after the step of starting the restored target specimen development file, the method further includes: if abnormality occurs when the restored target specimen development file is started, sequentially conducting investigation according to a predetermined investigation list; when the target content causing the abnormality is determined to be in the second outer chain, the relevant responsible person of the target content in the second outer chain is determined, and a reminder is sent to the relevant responsible person.
In an alternative implementation, the relevant liability person is the last submitter to which the target content corresponds.
In an alternative implementation, the step of determining the selected target branch in response to a selection operation for a branch entry in the branch list includes: determining an input character string in response to an input operation for a search box in a graphical user interface; based on the input character string, matching is carried out in a branch list, and a branch table item corresponding to a branch to be selected with high matching degree is displayed in a branch list display area; and responding to the selection operation of the branch table item corresponding to the branch to be selected, and determining the selected target branch.
In an alternative implementation, the graphical user interface further includes one or more of modifying controls, deleting controls, typesetting controls, closing game controls, and opening catalog controls in which the game resides.
In alternative implementations, the branch switch operation includes an operation to create a new branch and switch to a newly created branch, or an operation to switch to an existing branch.
In an alternative implementation, each branch corresponds to a first version number, each outer chain and each local edit content corresponds to a second version number, respectively, and the combination of the first version number and the second version number is used to designate a version of the game.
In a third aspect, an embodiment of the present invention provides a computer device, where the computer device includes a memory, and a processor, where the memory stores a computer program executable on the processor, and where the processor executes the computer program to implement the steps of the method according to any one of the foregoing embodiments.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of any of the preceding embodiments.
The embodiment of the invention provides a game starting method and device. Acquiring a branch list by responding to a branch switching operation aiming at a branch switching control, and displaying the branch list in a branch list display area of a graphical user interface; determining a selected target branch in response to a selection operation for a branch entry in the branch list; restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch; and after the reduction of the target local development file is completed, starting the reduced target local development file. Therefore, the branch one-key operation can be realized, the operation complexity of developers is greatly reduced, and the development efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a starter according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for starting a game according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a game starting device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The development of the target for the game is mainly based on a code management platform, which is generally a code management platform for version control. When a programmer writes a code file, the code file can be obtained from the code management platform, the code file is written locally, and the written code file is uploaded back to the code management platform after writing. Thus, a plurality of programmers can share the code file library, write and modify the code files therein, and realize the simultaneous code file development of a plurality of persons.
For example, it is currently common for game development to utilize SVN (version control system) based on which innumerable SVN operations can be performed to realize game development. However, in the SVN operation, some conflict problems sometimes occur, and a developer needs to manually restore the SVN operation, so that situations of unsuccessful restoration or no treatment need to resort to and the like may often occur for an unfamiliar SVN developer. The embodiment of the invention can be operated more conveniently by a developer through carrying out one-key processing on the branch switching operation, as shown in fig. 1, and can be started by switching to the appointed branch through one-key.
Wherein the SVN is an open source version control system, and as an open source version control system, subversion manages data changing with time. These data are placed in a central Repository (Repository). This archive acts much like a normal file server, but it keeps track of every file change. This allows the archive to be restored to an old version or the history of changes to the file to be browsed. Subversion is a general-purpose system that can be used to manage any type of file, including program source code.
The SVN generally adopts a client/server (C/S) architecture, various versions of a project are stored on a server, a program developer firstly obtains a required version from the server and copies a program file corresponding to the version to a local machine, and then on the basis, each developer can perform independent development work on own client and can submit new codes to the server at any time. Of course, the latest code on the server can also be obtained through the updating operation, so that the consistency with the version used by other developers is maintained.
The clients of the SVN may be of two types, one may be Web-based and the other may be implemented in client software. The SVN storage version data may be implemented based on BDB (a transaction security type table type) or FSFS (a storage system that does not require a database) or the like.
Some embodiments of the present invention are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Fig. 2 is a schematic flow chart of a game starting method according to an embodiment of the present invention. As shown in fig. 2, the method may be applied to a game initiator in a terminal, the game initiator including a graphical user interface including a branch switching control, the game corresponding to a server version library in a server, the terminal corresponding to a local version library including a plurality of branches, each branch corresponding to a server version file and a local development file, the method may include the steps of:
s210, responding to the branch switching operation aiming at the branch switching control, acquiring a branch list, and displaying in a branch list display area of the graphical user interface.
When multiple iterations (a set of a series of requirements) under one project need to be developed, in order to reduce the influence of code change between different iterations in the development process and improve the development efficiency, several copies (i.e., branches) need to be created from a trunk (trunk) to perform parallel development, i.e., branch development. In the branch development mode, in order to ensure the stability of the final release code, after each branch development is completed, the changed code needs to be submitted back to the trunk, and other unfinished branches need to synchronize the update on the trunk to the branches regularly, so that the characteristic of other released branches is avoided when the branches are released finally.
In the branch development mode, the trunk code can continuously and synchronously issue the change content on the branches, and the synchronization process cannot ensure that no new problem is introduced, so that in general, after the branches are combined into the trunk, the version of the trunk is tested (which can be performed through continuous integration), after the test passes or the version is issued, the current revision number can be ensured to be a stable version, and the current revision number can be provided for other branches which are not issued for synchronization, and at the moment, the revision number of the trunk is called a stable revision number.
The branch may be understood as another code environment. It is generally the case that there is a large functional development and other people do not want to influence, and the development is self-carried out by pulling a branch from trunk (namely, a new piece of code from trunk copy which is commonly used). Switching branches is required in cases where testing or development of branches is required. I.e. to replace a set of codes locally.
The branch switching operation may include an operation of creating a new branch and switching to the newly created branch, an operation of switching to an existing branch, or the like.
In the embodiment of the invention, each branch corresponds to a first version number, each outer link and each local editing content corresponds to a second version number, and the combination of the first version number and the second version number is used for designating one version of the game. In addition, for version number, an "even/odd" layout pattern may be used, with even-numbered decimal places (1.0, 1.2, etc.) considered stable. Such a version will only change for the correction of the problem and will not add new functions. In contrast, odd numbered decimal places (1.1, 1.3, etc.) are developed versions in which new functions are added, tending to change and reform rapidly.
The initiator can be used for a terminal facing a developer or a tester or the like, through which the development or the test of the game can be realized.
In the graphical user interface of the initiator, a branch switch control may be provided for which a user may trigger a branch switch operation by operation. The operation for switching the branches can be operations such as clicking, and the clicking operation can be triggered by means of a touch screen or a mouse and the like, and is determined according to actual needs.
After determining the branch switching operation, a branch list may be acquired, and the branch list to be acquired may be a branch capable of switching. The branches capable of switching can be branches corresponding to local development files, can also be all branches corresponding to the trunks, and can also comprise other trunks and branches corresponding to the trunks. In other words, the branch list can realize the switching of different branches in the same item, and also can realize the switching among different items, and can be specifically configured according to actual needs.
After the branch list is obtained, it may be displayed in the graphical user interface of the initiator. Wherein, the graphical user interface can comprise a branch list display area, and the display can be performed in the branch list display area. In addition, since the space of the branching list display area is generally limited, and the branching list may include a lot of items, the items to be displayed may be determined based on the branching list and displayed at the time of displaying. For example, the branches may be ordered based on the switching frequency, and based on the ordering, a specified number of branches ordered earlier may be selected for presentation, and in addition, the level of the branches may be considered when selecting the item to be presented, e.g., the presentation priority of the main branch may be higher than the priority of the other branches.
When the item to be displayed is displayed, the user can also perform sliding operation on the branch list display area, and based on the sliding operation, the item to be displayed can be displayed in a rolling mode.
In addition, during the display, the display can be performed according to the hierarchical structure of the branches, so that a user can more quickly position the branches to be switched.
S220, determining a selected target branch in response to a selection operation for a branch table item in the branch list;
wherein the display and selection of the branching list may include a variety of implementations. For example, an input string may be determined in response to an input operation for a search box in a graphical user interface; based on the input character string, matching is carried out in a branch list, and a branch table item corresponding to a branch to be selected with high matching degree is displayed in a branch list display area; and responding to the selection operation of the branch table item corresponding to the branch to be selected, and determining the selected target branch. For another example, the recommended common branches may be displayed in a list display area, with the rest being forward. Since the list display area is generally a limited area, and the number of branches may exceed the maximum display range of the list display area, the display may be performed in a scrollable display manner, and in this case, the selection operation may include a scroll operation, which may be a drag operation, a select operation, which may be a click operation, and the like.
Additionally, for the selected target branch, a highlighting may be performed in the displayed branch list. After the user selects the target branch, a prompt box may be displayed, where the prompt box is used to display a confirmation control or a cancel control, and when an operation for the confirmation control is received, the currently selected branch is determined to be the target branch, and when an operation for the cancel control is received, the currently selected branch is cancelled, for example, a highlight may be cancelled.
S230, restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch.
The local development file may include one or more extranets, and one or more local editorial content. The external link may refer to the edited content that has been submitted, confirmed, or developed and published in the server. The local editing contents may refer to contents newly edited locally or contents modified locally for an out-link, and so on.
Based on the above, the first outer chain corresponding to the target branch can be determined based on the local development file; for each first outer chain, executing a recovery command and a clear command in a directory corresponding to the first outer chain, so as to restore the first outer chain in the local development file. The act of executing the resume command and the clear command in the directory corresponding to the first outer chain may be triggered by determining the selected target branch.
At the time of restoration, each svn outer chain can be entered to perform restoration operations such as executing svn reverse command (restore command) and svn clear command (clear command). For example, all the exochains can be found directly by the svnst command (query command), and then the corresponding directory is entered to execute the svn reverse command and the svn clear command.
As an example, the step of determining the first outer chain corresponding to the target branch based on the local development file may include: determining whether the one or more extralinks conflict with the one or more local editorial content; the determination that a conflict exists in one or more outer chains is referred to as a first outer chain.
In some embodiments, since when the svn switches branches, if there is a local change, a conflict may occur, the development file of the target branch in the local svn may be restored to be the same as the development file corresponding to the target branch in the svn server. If there is an abnormal situation such as an interruption in the execution of the svn operation during the switching process, it is necessary to execute the svn clean to unlock and then execute another svn operation.
As an example, the method may further comprise: and if the local editing content is locked, unlocking the local editing content, and restoring the locked content after unlocking the local editing content.
S240, after the restoration of the target local development file is completed, starting the restored target local development file.
In the starting process, if abnormality occurs in starting the restored target specimen development file, sequentially performing investigation according to a predetermined investigation list; when it is determined that the target content causing the anomaly is in the second outer chain, then the relevant responsible person of the target content in the second outer chain may be determined and a reminder sent to the relevant responsible person.
Wherein the relevant responsible person may refer to the last submitter to which the target content corresponds. In other words, if a certain document fails to be checked, the submitter who has recently changed the document can be considered as the responsible person who has caused the error to occur, and the responsible person can be notified to make the modification.
In some embodiments, the graphical user interface may also include one or more of modifying controls, deleting controls, typesetting controls, closing game controls, and opening inventory controls in which the game resides.
As one example, the initiator may also include a control to open the catalog where the game is located, a control to close all games that have been opened with one key, a modification control to the local host file, a deletion cache control, an automatic typesetting of all game window controls that have been opened, and a game instruction input control, among others.
In response to a control for opening a catalog of a game, the catalog of the game can be acquired based on the selected game, and the acquired catalog is displayed in an image interface of the starter for a user to view. Wherein the selected game may refer to a game that has been currently initiated, or may be a game selected based on a list of games, where each game herein may correspond to a game branch.
In response to a trigger operation for closing controls of all opened games, it may be determined that games that are currently opened based on the initiator are sequentially closed, and the sequence of closing may be determined according to the sequence of opening times.
In response to a triggering operation of a modification control for the local host file, a modification interface can be displayed based on the local host file, the local host file can be modified based on the modification interface, and after modification is completed, the modified file can be automatically stored and uploaded.
And in response to the triggering operation for deleting the cache control, cache deletion can be performed on all the content opened by the initiator.
In response to a triggering operation for the automatic typesetting control, all the opened game windows can be determined, and the opened game windows are ordered according to a preset order. The preset order may include multiple types, for example, may be ordered according to a category, may be ordered according to an on time, may further include multiple ordering modes, determine a target ordering mode based on a selection of a user, and may further customize the ordering modes. In addition, for the sorting of the opened game windows, each game window may be obtained first, the currently edited game window is determined, then the graphical user interface of the starter is divided according to the number of the opened game windows, a specific division manner may be preset, and then each game window is sequentially displayed according to the divided graphical user interface, for example, the division manner may include a manner of one master window and a plurality of slave windows, and the currently edited game window may be displayed in the master window.
In response to an operation for the game instruction input control, a game instruction can be simulated, and the simulated game instruction is applied to the currently controlled opened game, so that the game can be tested more conveniently.
In the embodiment of the invention, by adding a game starter which is mainly used for being matched with the version control system, each corresponding game version in the version control system can be managed based on the starter, and the management comprises but is not limited to starting, switching, modifying, testing, typesetting and the like. The game starter can realize the switching of game versions, automatically find problems in the switching process and solve the found problems, wherein the method for solving the problems comprises the steps of, but not limited to, solving the problems according to a preset solving strategy or arranging the problems to be solved into prompt information and sending the prompt information to related responsible persons. Through the starter, the development process of a developer based on the version control system can be greatly simplified, the workload of the developer in actual work is reduced, and the game development efficiency is improved.
According to the embodiment of the invention, the branch list is obtained by responding to the branch switching operation aiming at the branch switching control, and the branch list is displayed in a branch list display area of the graphical user interface; determining a selected target branch in response to a selection operation for a branch entry in the branch list; restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch; and after the reduction of the target local development file is completed, starting the reduced target local development file. Therefore, the branch one-key operation can be realized, the operation complexity of developers is greatly reduced, and the development efficiency is improved.
Fig. 3 is a schematic structural diagram of a game starting device according to an embodiment of the present invention. The game starter is applied to a terminal, the game starter comprises a graphical user interface, the graphical user interface comprises a branch switching control, a server version library corresponds to a game in a server, a local version library corresponds to the terminal, the local version library comprises a plurality of branches, each branch corresponds to a server version file and a local development file, and as shown in fig. 3, the device comprises:
the obtaining module 301 is configured to obtain a branch list in response to a branch switching operation for a branch switching control, and display the branch list in a branch list display area of the graphical user interface;
A determining module 302, configured to determine a selected target branch in response to a selection operation for a branch entry in the branch list;
the restoring module 303 is configured to restore the target local development file corresponding to the target branch according to the server version file corresponding to the target branch;
the starting module 304 is configured to start the restored target local development file after the target local development file is restored.
In some embodiments, the local development file includes one or more extranets, and one or more local editorial content.
In some embodiments, the step of restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch includes:
determining a first outer chain corresponding to the target branch based on the local development file;
for each first outer chain, executing a recovery command and a clear command in a directory corresponding to the first outer chain, so as to restore the first outer chain in the local development file.
In some embodiments, the step of determining a first outer chain corresponding to the target branch based on the local development file includes:
determining whether the one or more extralinks conflict with the one or more local editorial content;
The determination that a conflict exists in one or more outer chains is referred to as a first outer chain.
In some embodiments, prior to the step of initiating the restored target locally developing the file, the method further comprises:
and if the local editing content is locked, unlocking the local editing content.
In some embodiments, after the step of initiating the restored object-native development file, the method further comprises:
if abnormality occurs when the restored target specimen development file is started, sequentially conducting investigation according to a predetermined investigation list;
when the target content causing the abnormality is determined to be in the second outer chain, the relevant responsible person of the target content in the second outer chain is determined, and a reminder is sent to the relevant responsible person.
In some embodiments, the relevant responsible person is the last submitter to which the target content corresponds.
In some embodiments, the step of determining the selected target branch in response to a selection operation for a branch entry in the branch list comprises:
determining an input character string in response to an input operation for a search box in a graphical user interface;
based on the input character string, matching is carried out in a branch list, and a branch table item corresponding to a branch to be selected with high matching degree is displayed in a branch list display area;
And responding to the selection operation of the branch table item corresponding to the branch to be selected, and determining the selected target branch.
In some embodiments, the graphical user interface further includes one or more of modifying controls, deleting controls, typesetting controls, closing game controls, and opening a catalog control in which the game resides.
In some embodiments, the branch switch operation includes an operation to create a new branch and switch to a newly created branch, or an operation to switch to an existing branch.
In some embodiments, each branch corresponds to a first version number, each out-link and each local edit content corresponds to a second version number, respectively, the combination of the first version number and the second version number being used to designate a version of the game.
The game starting device provided by the embodiment of the application has the same technical characteristics as the game starting method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
As shown in fig. 4, a computer device 700 provided in an embodiment of the present application, for example, the computer device 700 may be a preprocessing server, including: the electronic device comprises a processor 701, a memory 702 and a bus, wherein the memory 702 stores machine-readable instructions executable by the processor 701, and when the electronic device is running, the processor 701 and the memory 702 communicate through the bus, and the processor 701 executes the machine-readable instructions to perform the steps of the method for starting the game as described above.
The processor 701 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), the processor 701 may be one or a combination of several of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), or other form of processing unit having data processing and/or instruction execution capabilities, and may control other components in the computer device 700 to perform desired functions.
The memory 702 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer readable storage medium that can be executed by the processor 701 to implement client functionality and/or other desired functionality in embodiments of the present invention described below. Various applications and various data, such as various data used and/or generated by the applications, may also be stored in the computer readable storage medium.
Specifically, the memory 702 and the processor 701 can be general-purpose memories and processors, and are not particularly limited herein, and the starting method of the game described above can be executed when the processor 701 runs a computer program stored in the memory 702.
In addition, the computer device 700 may also include input means as well as output means. The input device is mainly used for realizing man-machine interaction, and can be a device used for inputting instructions by a user and can comprise one or more of a keyboard, a mouse, a microphone, a touch screen and the like. The output device may output various information (e.g., images or sounds) to the outside (e.g., a user), and may include one or more of a display, a speaker, and the like. The output device may be used to display a graphical user interface for the actuator described above.
Corresponding to the above game starting method, the embodiment of the application further provides a computer readable storage medium, wherein the computer readable storage medium stores machine executable instructions, and the computer executable instructions, when being called and executed by the processor, cause the processor to execute the steps of the above game starting method.
The game starting device provided by the embodiment of the application can be specific hardware on the equipment or software or firmware installed on the equipment. The device provided in the embodiments of the present application has the same implementation principle and technical effects as those of the foregoing method embodiments, and for a brief description, reference may be made to corresponding matters in the foregoing method embodiments where the device embodiment section is not mentioned. It will be clear to those skilled in the art that, for convenience and brevity, the specific operation of the system, apparatus and unit described above may refer to the corresponding process in the above method embodiment, which is not described in detail herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional unit in the embodiments provided in the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device to perform all or part of the steps of the movement control method of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numerals and letters in the following figures denote like items, and thus once an item is defined in one figure, no further definition or explanation of it is required in the following figures, and furthermore, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely illustrative of specific embodiments of the present application, and are not intended to limit the scope of the present application, although the present application is described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application. Are intended to be encompassed within the scope of this application.

Claims (10)

1. A method for starting a game, the method being applied to a game starter in a terminal, the game starter comprising a graphical user interface, the graphical user interface comprising a branch switching control, the game having a server version library corresponding to a server, the terminal having a local version library corresponding to a local version library, the local version library comprising a plurality of branches, each branch corresponding to a server version file and a local development file, the method comprising:
Responding to a branch switching operation aiming at a branch switching control, acquiring a branch list, and displaying the branch list in a branch list display area of the graphical user interface;
determining a selected target branch in response to a selection operation for a branch entry in the branch list;
restoring a target local development file corresponding to a target branch according to a server version file corresponding to the target branch;
after the reduction of the target specimen development file is completed, starting the reduced target specimen development file;
the local development file comprises one or more extranets and one or more local editing contents;
the method comprises the steps of restoring a target local development file corresponding to a target branch according to a server version file corresponding to the target branch, and comprises the following steps:
determining a first outer chain corresponding to the target branch based on the local development file;
and executing a recovery command and a clear command in a directory corresponding to the first outer chain for each first outer chain so as to restore the first outer chain in the local development file.
2. The method of claim 1, wherein the step of determining a first outer chain corresponding to the target branch based on the local development file comprises:
Determining whether the one or more extralinks conflict with the one or more local editorial content;
and determining that a conflict exists in the one or more outer chains as a first outer chain.
3. The method of claim 1, wherein prior to the step of initiating the restored object-native development file, the method further comprises:
and unlocking the local editing content if the local editing content is locked.
4. The method of claim 1, wherein after the step of initiating the restored object-native development file, the method further comprises:
if abnormality occurs when the restored target specimen development file is started, sequentially conducting investigation according to a predetermined investigation list;
when the target content causing the abnormality is determined to be in the second outer chain, determining relevant responsible persons of the target content in the second outer chain, and sending a reminder to the relevant responsible persons.
5. The method of claim 1, wherein the step of determining the selected target branch in response to a selection operation for a branch entry in the branch list comprises:
determining an input character string in response to an input operation for a search box in the graphical user interface;
Based on the input character string, matching is carried out in the branch list, and a branch table item corresponding to a candidate branch with high matching degree is displayed in the branch list display area;
and responding to the selection operation of the branch table item corresponding to the branch to be selected, and determining the selected target branch.
6. The method of claim 1, wherein the branch switching operation comprises an operation of creating a new branch and switching to a newly created branch, or an operation of switching to an existing branch.
7. The method of claim 6, wherein each branch corresponds to a first version number, each out-link and each local edit content corresponds to a second version number, respectively, and wherein a combination of the first version number and the second version number is used to designate a version of the game.
8. A game starting device applied to a terminal, wherein the game starting device comprises a graphical user interface, the graphical user interface comprises a branch switching control, the game corresponds to a server version library in a server, the terminal corresponds to a local version library, the local version library comprises a plurality of branches, and each branch corresponds to a server version file and a local development file, and the device comprises:
The acquisition module is used for responding to the branch switching operation aiming at the branch switching control, acquiring a branch list and displaying the branch list in a branch list display area of the graphical user interface;
the determining module is used for responding to the selection operation for the branch table items in the branch list and determining the selected target branch;
the restoring module is used for restoring the target local development file corresponding to the target branch according to the server version file corresponding to the target branch;
the starting module is used for starting the restored target specimen development file after the target specimen development file is restored;
the local development file comprises one or more extranets and one or more local editing contents;
the reduction module is specifically used for:
determining a first outer chain corresponding to the target branch based on the local development file;
and executing a recovery command and a clear command in a directory corresponding to the first outer chain for each first outer chain so as to restore the first outer chain in the local development file.
9. A computer device comprising a memory, a processor, the memory having stored therein a computer program executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the method of any of the preceding claims 1 to 7.
10. A computer readable storage medium storing machine executable instructions which, when invoked and executed by a processor, cause the processor to perform the method of any one of claims 1 to 7.
CN202011037053.2A 2020-09-27 2020-09-27 Game starting method and device Active CN112148354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011037053.2A CN112148354B (en) 2020-09-27 2020-09-27 Game starting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011037053.2A CN112148354B (en) 2020-09-27 2020-09-27 Game starting method and device

Publications (2)

Publication Number Publication Date
CN112148354A CN112148354A (en) 2020-12-29
CN112148354B true CN112148354B (en) 2023-07-25

Family

ID=73895867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011037053.2A Active CN112148354B (en) 2020-09-27 2020-09-27 Game starting method and device

Country Status (1)

Country Link
CN (1) CN112148354B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113426113A (en) * 2021-07-05 2021-09-24 未来科技(襄阳)有限公司 3D game starter and 3D starting method of 2D game

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR1458070A (en) * 1964-06-09 1966-03-04 Dassault Electronique Method and equipment for achieving on the ground the conditions of non-resistance offered to an artificial satellite in extraterrestrial space
US6724409B1 (en) * 2000-11-16 2004-04-20 Hewlett-Packard Development Company L.P. Tree-based graphical user interface for creating and editing machine control sequences
WO2007024736A2 (en) * 2005-08-19 2007-03-01 Biap Systems, Inc. System and method for recommending items of interest to a user
CN103514040A (en) * 2012-08-27 2014-01-15 Tcl康钛汽车信息服务(深圳)有限公司 Car computer system achievement and control method and car computer system
CN106778345A (en) * 2016-12-19 2017-05-31 网易(杭州)网络有限公司 The treating method and apparatus of the data based on operating right
CN107608749A (en) * 2017-11-06 2018-01-19 中国银行股份有限公司 A kind of edition control method, developing instrument plug-in unit and developing instrument
CN108540666A (en) * 2018-04-10 2018-09-14 南昌黑鲨科技有限公司 A kind of intelligent terminal and control method
CN109543121A (en) * 2018-11-09 2019-03-29 深圳万物云联科技有限公司 A kind of exterior chain url resource transfer method and device
CN110096289A (en) * 2019-06-28 2019-08-06 奥特酷智能科技(南京)有限公司 The quick deployment method of automatic Pilot heterogeneous platform exploitation environment
CN110971721A (en) * 2019-12-13 2020-04-07 睿哲科技股份有限公司 External link processing method, device, server and storage medium
CN111625221A (en) * 2020-05-26 2020-09-04 艾普阳科技(深圳)有限公司 Version control method, device, equipment and medium applied to integrated development environment
CN111639019A (en) * 2020-04-24 2020-09-08 北京五八信息技术有限公司 Code testing method and device and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9740476B2 (en) * 2015-12-14 2017-08-22 Sap Se Version control for customized applications

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR1458070A (en) * 1964-06-09 1966-03-04 Dassault Electronique Method and equipment for achieving on the ground the conditions of non-resistance offered to an artificial satellite in extraterrestrial space
US6724409B1 (en) * 2000-11-16 2004-04-20 Hewlett-Packard Development Company L.P. Tree-based graphical user interface for creating and editing machine control sequences
WO2007024736A2 (en) * 2005-08-19 2007-03-01 Biap Systems, Inc. System and method for recommending items of interest to a user
CN103514040A (en) * 2012-08-27 2014-01-15 Tcl康钛汽车信息服务(深圳)有限公司 Car computer system achievement and control method and car computer system
CN106778345A (en) * 2016-12-19 2017-05-31 网易(杭州)网络有限公司 The treating method and apparatus of the data based on operating right
CN107608749A (en) * 2017-11-06 2018-01-19 中国银行股份有限公司 A kind of edition control method, developing instrument plug-in unit and developing instrument
CN108540666A (en) * 2018-04-10 2018-09-14 南昌黑鲨科技有限公司 A kind of intelligent terminal and control method
CN109543121A (en) * 2018-11-09 2019-03-29 深圳万物云联科技有限公司 A kind of exterior chain url resource transfer method and device
CN110096289A (en) * 2019-06-28 2019-08-06 奥特酷智能科技(南京)有限公司 The quick deployment method of automatic Pilot heterogeneous platform exploitation environment
CN110971721A (en) * 2019-12-13 2020-04-07 睿哲科技股份有限公司 External link processing method, device, server and storage medium
CN111639019A (en) * 2020-04-24 2020-09-08 北京五八信息技术有限公司 Code testing method and device and readable storage medium
CN111625221A (en) * 2020-05-26 2020-09-04 艾普阳科技(深圳)有限公司 Version control method, device, equipment and medium applied to integrated development environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CEGUI界面编辑器的设计与实现;胡绵涛;陈滔滔;杜晓荣;;计算机与现代化(第07期);全文 *
软件演进驱动的按需自动测试;王嘉捷;蒋凡;程绍银;张晓菲;林锦滨;;中国科学技术大学学报(第05期);全文 *

Also Published As

Publication number Publication date
CN112148354A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN106294533B (en) The distributed work flow replicated using database
US10877846B2 (en) Performing a closure merge operation
US7603393B1 (en) Software merging utility
JP4573277B2 (en) Database conflict resolution method
US10311024B2 (en) Merging file storage directory structures through user interface visualization of refactoring decisions
US10175975B2 (en) Self-mending software builder
US9811332B2 (en) Deploying incremental scripts
CN108776643B (en) Target code merging control method and system based on version control process
US11055078B2 (en) Systems and methods for deploying software products to environments
CN111708764A (en) Method and device for controlling database change version
CN112148354B (en) Game starting method and device
Majumdar et al. Source code management using version control system
US20030051230A1 (en) Code management software fast transactions using state table technology
JP4951137B2 (en) How to manage the database
US10528342B2 (en) Function tracking for source code files
WO2019027842A1 (en) Seamless integration of computer and human generated code
US20180150294A1 (en) Backout tool for source control systems
US20030220939A1 (en) Information processing system, information processing method, and information processing program
JP4484148B2 (en) SI target file and SI related file management system
US8219977B1 (en) Using a software repository to increase the speed of software testing
CN113741931B (en) Software upgrading method and device, electronic equipment and readable storage medium
TW202416194A (en) Electronic apparatus and method for providing code information
EP3722965A1 (en) Method, apparatus and computer program for synchronizing data between a first repository and a second repository
CN113885838A (en) Method, device and equipment for automatically generating function switch and storage medium
KR20240000809A (en) Electronic apparatus and method for providing code information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant