WO2020057253A1 - Method and system for game updating, terminal and computer readable storage medium - Google Patents

Method and system for game updating, terminal and computer readable storage medium Download PDF

Info

Publication number
WO2020057253A1
WO2020057253A1 PCT/CN2019/097661 CN2019097661W WO2020057253A1 WO 2020057253 A1 WO2020057253 A1 WO 2020057253A1 CN 2019097661 W CN2019097661 W CN 2019097661W WO 2020057253 A1 WO2020057253 A1 WO 2020057253A1
Authority
WO
WIPO (PCT)
Prior art keywords
update package
online
updating
kernel
game
Prior art date
Application number
PCT/CN2019/097661
Other languages
French (fr)
Inventor
Qiankun ZHU
Original Assignee
Beijing Elex Technology 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 Beijing Elex Technology Co., Ltd filed Critical Beijing Elex Technology Co., Ltd
Publication of WO2020057253A1 publication Critical patent/WO2020057253A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • A63F13/69Generating 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 by enabling or updating specific game elements, e.g. unlocking hidden features, items, levels or versions
    • 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/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory

Definitions

  • the present disclosure relates to software technology, and more particularly, to a method and a system for game updating, a terminal and a computer readable storage medium.
  • a game system is typically updated by releasing new versions periodically, e.g., weekly or monthly, so as to add both fixed codes and new functional modules in the past week or month.
  • new versions periodically, e.g., weekly or monthly, so as to add both fixed codes and new functional modules in the past week or month.
  • erroneous codes if found, cannot be fixed online in time and will thus affect players for a long time.
  • the time required for the updated version to be available online depends on review processes of channels. Depending on the review time, it usually takes one to three days to be available online.
  • each time an updated version is released an individual channel package needs to be prepared for each channel, resulting in a high workload in preparation of the packages.
  • the embodiments of the present disclosure provide a method and a system for game updating, a terminal and a computer readable storage medium, capable of solving the technical problem in the related art associated with delay in fixing and updating a game system, such that the game system can be updated online in real time and an associated labor cost can be significantly reduced.
  • a method for game updating includes: detecting, upon start of a game, whether an update package has been released online, the update package including a functional module update package and/or an erroneous code fixing update package; initiating a native language kernel when it is detected that the update package has been released online; loading a script language kernel by using the native language kernel; downloading the update package to a local code library by using the script language kernel; and updating a functional module online and/or fixing an erroneous code online based on the update package in the local code library.
  • the method can further include: updating the script language kernel by using the native language kernel.
  • the method can further include: determining whether the script language kernel has been updated successfully, and if so, determining that the updated script language kernel is usable, or otherwise rolling the script language kernel for which the updating has failed back to a version before the updating for use.
  • the method can further include: issuing an update failure warning when the step of updating the functional module online and/or fixing the erroneous code online fails.
  • the method can further include, prior to the step of detecting whether an update package has been released online: selecting one or more target functional modules from all functional modules of the game; and enabling an online updating function for each of the one or more target functional modules.
  • the step of detecting whether an update package has been released online can include: detecting whether an update package associated with any of the one or more target functional modules has been released online.
  • a system for game updating includes: an update package detecting unit configured to detect, upon start of a game, whether an update package has been released online, the update package including a functional module update package and/or an erroneous code fixing update package; a kernel initiating unit configured to initiate a native language kernel when it is detected that the update package has been released online; a kernel loading unit configured to load a script language kernel by using the native language kernel; an update package downloading unit configured to download the update package to a local code library by using the script language kernel; and an online updating unit configured to update a functional module online and/or fix an erroneous code online based on the update package in the local code library.
  • system can further include: a kernel updating unit configured to update the script language kernel by using the native language kernel.
  • the system can further include: a determining unit configured to: determine whether the script language kernel has been updated successfully, and if so, determine that the updated script language kernel is usable, or otherwise roll the script language kernel for which the updating has failed back to a version before the updating for use.
  • a determining unit configured to: determine whether the script language kernel has been updated successfully, and if so, determine that the updated script language kernel is usable, or otherwise roll the script language kernel for which the updating has failed back to a version before the updating for use.
  • the system can further include: a warning unit configured to issue an update failure warning when the step of updating the functional module online and/or said fixing the erroneous code online fails.
  • a warning unit configured to issue an update failure warning when the step of updating the functional module online and/or said fixing the erroneous code online fails.
  • the system can further include a module selecting unit configured to, prior to the step of detecting whether an update package has been released online: select one or more target functional modules from all functional modules of the game; and an update function enabling unit configured to enable an online updating function for each of the one or more target functional modules.
  • the update package detecting unit can be configured to: detect whether an update package associated with any of the one or more target functional modules has been released online.
  • a terminal in a third aspect, includes at least one processor and a memory communicatively connected to the at least one processor.
  • the memory stores instructions executable by the at least one processor, the instructions being configured to perform any of the above methods according to the first aspect.
  • a computer readable storage medium has computer executable instructions stored thereon, the computer executable instructions being configured to perform any of the above methods according to the first aspect.
  • the game system can be updated online in real time.
  • a native language kernel (C#Bootstrap) having a simple core function can be provided using a native language (C#) .
  • the native language kernel is a frontend development framework.
  • a script language kernel (Lua Bootstrap) can be loaded by using the native language kernel.
  • an online update package can be downloaded to a database by using the script language kernel and installed to the game system, such that the game system can be updated and/or fixed online.
  • the native language kernel is only responsible for updating the script language kernel and has simple internal logics.
  • the current initiation of the script language kernel fails, it will be rolled back to the previous script language kernel that had been initiated successfully.
  • the script language kernel can be initially normally, which provides a basis for a successful subsequent real-time online update.
  • the script language kernel can guarantee upon start of the game that the update package will be downloaded and updated to the local code library, thereby fixing the code online in real time.
  • the script language kernel can guarantee upon start of the game that the update package will be downloaded and updated to the local code library, thereby allowing real-time online release of the new functional module.
  • Fig. 1 is a flowchart illustrating a method for game updating according to an embodiment of the present disclosure
  • Fig. 2 is a flowchart illustrating a method for game updating according to another embodiment of the present disclosure
  • Fig. 3 is a block diagram of a system for game updating according to an embodiment of the present disclosure.
  • Fig. 4 is a block diagram of a terminal according to an embodiment of the present disclosure.
  • Fig. 1 is a flowchart illustrating a method for game updating according to an embodiment of the present disclosure.
  • a method for game updating includes the following steps.
  • the update package includes a functional module update package and/or an erroneous code fixing update package.
  • a native language kernel is initiated.
  • a native language kernel (C#Bootstrap) having a simple core function can be provided using a native language (C#) .
  • the native language kernel is a frontend development framework.
  • a script language kernel is loaded by using the native language kernel.
  • the update package is downloaded to a local code library by using the script language kernel.
  • a script language kernel (Lua Bootstrap) can be loaded by using the native language kernel.
  • an online update package can be downloaded to a database by using the script language kernel and installed to the game system, such that the game system can be updated and/or fixed online.
  • a functional module is updated online and/or an erroneous code is fixed online based on the update package in the local code library.
  • the present disclosure uses a native language to develop a kernel (C#Bootstrap) having a simple core function, loads a script language kernel (Lua Bootstrap) onto the kernel, and then updates and loads game functional modules and game resources by using the script language kernel.
  • a kernel C#Bootstrap
  • Loa Bootstrap script language kernel
  • the game system can be updated online in real time.
  • the native language kernel is only responsible for updating the script language kernel and has simple internal logics. When the current initiation of the script language kernel fails, it will be rolled back to the previous script language kernel that had been initiated successfully. Thus, it is possible to guarantee that the script language kernel can be initially normally, which provides a basis for a successful subsequent real-time online update.
  • the script language kernel can guarantee upon start of the game that the update package will be downloaded and updated to the local code library, thereby fixing the code online in real time.
  • the script language kernel can guarantee upon start of the game that the update package will be downloaded and updated to the local code library, thereby allowing real-time online release of the new functional module.
  • the method can further include, subsequent to the step 110: issuing an update failure warning when the step of updating the functional module online and/or fixing the erroneous code online fails.
  • an update failure warning can be issued to inform a game user that the operation of updating the functional module online and/or fixing the erroneous code online has failed, such that the game user can restart the game or initiate the updating operation again in response to the update failure warning.
  • Fig. 2 is a flowchart illustrating a method for game updating according to another embodiment of the present disclosure.
  • the method for game updating includes the following steps.
  • a script language kernel is updated by using a native language kernel.
  • the native language kernel is only used for loading and updating the script language kernel. It has simple and controllable logics and is not used for any other purposes. In this way, it can be guaranteed that the script language kernel can be loaded in real time for updating the game online, so as to ensure the effectiveness of the online updating of the game.
  • step 204 it is determined whether the script language kernel has been updated successfully. If so, the method proceeds with step 206, or otherwise it proceeds with step 208.
  • step 206 it is determined that the updated script language kernel is usable.
  • the script language kernel for which the updating has failed is rolled back to a version before the updating for use.
  • script language kernel has been updated successfully, it can be used directly for downloading the update package.
  • script language kernel has not been updated successfully, in order to guarantee a usable script language kernel, data rollback can be applied to the script language kernel for which the updating has failed, i.e., it can be roll back to the version before the updating for use, such that the subsequent online updating procedures, such as downloading the update package, can be performed successfully.
  • all functional modules of the game system can be set as modules that can be updated online, such that all the functional modules of the game system can be updated online in real time, thereby simplifying the overall procedure for updating the game, saving the maintenance cost, improving the updating efficiency and enhancing the user experience of the game.
  • one or more target functional modules can be selected from all functional modules of the game.
  • An online updating function can be enabled for each of the one or more target functional modules.
  • the step of detecting whether an update package has been released online can include: detecting whether an update package associated with any of the one or more target functional modules has been released online.
  • one or more target functional modules having low requirements with respect to privacy protection or security can be selected from all functional modules of the game and the online updating function can be enabled for the one or more target functional modules only.
  • the online updating function can be disenabled, so as to protect their data security.
  • the target functional modules that can be updated online in real time can be selected automatically by the game system or manually by the game user, so as to meet the actual requirements.
  • it is only required to detect whether an update package associated with any target functional module has been released online. Even if there are any update packages for other functional modules than the target functional modules of the game system, they will not be prohibited from being downloaded, so as to protect data security for the other functional modules.
  • Fig. 3 is a block diagram of a system for game updating according to an embodiment of the present disclosure.
  • a system 300 for game updating include: an update package detecting unit 302 configured to detect, upon start of a game, whether an update package has been released online, the update package including a functional module update package and/or an erroneous code fixing update package; a kernel initiating unit 304 configured to initiate a native language kernel when it is detected that the update package has been released online; a kernel loading unit 306 configured to load a script language kernel by using the native language kernel; an update package downloading unit 308 configured to download the update package to a local code library by using the script language kernel; and an online updating unit 310 configured to update a functional module online and/or fix an erroneous code online based on the update package in the local code library.
  • the system 300 for game updating uses any of the solutions described in the embodiments shown in Figs. 1 and 2, and thus has all of the above technical effects, the description of which will be omitted here.
  • the system 300 for game updating may include the following technical features.
  • system can further include: a kernel updating unit configured to update the script language kernel by using the native language kernel.
  • the system can further include: a determining unit configured to: determine whether the script language kernel has been updated successfully, and if so, determine that the updated script language kernel is usable, or otherwise roll the script language kernel for which the updating has failed back to a version before the updating for use.
  • a determining unit configured to: determine whether the script language kernel has been updated successfully, and if so, determine that the updated script language kernel is usable, or otherwise roll the script language kernel for which the updating has failed back to a version before the updating for use.
  • the system can further include: a warning unit configured to issue an update failure warning when the step of updating the functional module online and/or said fixing the erroneous code online fails.
  • a warning unit configured to issue an update failure warning when the step of updating the functional module online and/or said fixing the erroneous code online fails.
  • the system can further include a module selecting unit configured to, prior to the step of detecting whether an update package has been released online: select one or more target functional modules from all functional modules of the game; and an update function enabling unit configured to enable an online updating function for each of the one or more target functional modules.
  • the update package detecting unit 302 can be configured to: detect whether an update package associated with any of the one or more target functional modules has been released online.
  • Fig. 4 is a block diagram of a terminal according to an embodiment of the present disclosure.
  • a terminal 400 includes at least one processor 402 and a memory 404 communicatively connected to the at least one processor 402.
  • the memory stores instructions executable by the at least one processor 404, the instructions being configured to perform any of the solutions in the embodiments described above in connection with Figs. 1 and 2.
  • the terminal 400 has the same technical effects as the embodiments described in Figs. 1 and 2, the description of which will be omitted here.
  • a computer readable storage medium has computer executable instructions stored thereon.
  • the computer executable instructions are configured to perform any of the methods in the embodiments described above in connection with Figs. 1 and 2.
  • the term “if” as used herein can be interpreted as “when” , “in a case where” , “in response to determining ...” or “in response to detecting ...” .
  • the phrase “if it is determined ...” or “if it is detected ...(astatement of a condition or event) ” can be interpreted as “when it is determined ...” , “in response to determining ...” , “when it is detected ... (astatement of a condition or event) ” , or “in response to detecting ... (astatement of a condition or event) ” .
  • the terminal may include, but not limited to, Personal Computer (PC) , Personal Digital Assistant (PDA) , wireless handheld device, tablet computer, cell phone, MP3 player, MP4 player or the like.
  • PC Personal Computer
  • PDA Personal Digital Assistant
  • the disclosed systems, apparatuses and methods can be implemented in alternative ways.
  • the apparatus embodiments as described above are illustrative only.
  • the modules have been divided in accordance with their logical functions, other divisions are possible in practice.
  • more than one module or element can be combined or can be integrated into another system, or some features can be ignored or omitted.
  • the coupling, direct coupling or communicative connection between various components as shown or discussed can be an indirect coupling or communicative connection via some interface, device or module and can be electrical, mechanical or in another form.
  • all the functional modules in various embodiments of the present disclosure can be integrated within one processing module, each of these modules can be a separate module, or two or more modules can be integrated into one module.
  • Such integrated module can be implemented in hardware, possibly in combination with software functional modules.
  • the above integrated modules when implemented in software functional modules, can be stored in a computer readable storage medium.
  • the software functional modules can be stored in a storage medium, which may be any of various mediums capable of storing program codes, such as a USB disk, a mobile hard disk, a Read Only Memory (ROM) , a Random Access Memory (RAM) , a magnetic disk or an optical disc or the like, containing instructions which cause a computer device (which can be a personal computer, a server, a network device or the like) to perform at least a portion of the steps of the methods according to the embodiments of the present disclosure.
  • a computer device which can be a personal computer, a server, a network device or the like

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a method and a system for game updating, a terminal and a computer readable storage medium. The method includes: detecting, upon start of a game, whether an update package has been released online, the update package including a functional module update package and/or an erroneous code fixing update package; initiating a native language kernel when it is detected that the update package has been released online; loading a script language kernel by using the native language kernel; downloading the update package to a local code library by using the script language kernel; and updating a functional module online and/or fixing an erroneous code online based on the update package in the local code library. With the solutions according to the embodiments of the present disclosure, it is possible to achieve online fixing without planning and code tracking in advance, such that procedures such as releasing versions for individual channels and reviewing by the channels can be omitted. In this way, the workload for maintenance of the game system can be reduced, the time cost required for updating and fixing the game system can be saved, and the user experience of the game can be enhanced.

Description

METHOD AND SYSTEM FOR GAME UPDATING, TERMINAL AND COMPUTER READABLE STORAGE MEDIUM TECHNICAL FIELD
The present disclosure relates to software technology, and more particularly, to a method and a system for game updating, a terminal and a computer readable storage medium.
BACKGROUND
At present, fixes and updates in game systems occur frequently.
In order to fix erroneous codes in a game system, planning and tracking are typically performed on the codes in advance, so as to plan in advance which module or modules need to be implemented by scripts. If the codes are not planned in advance, this method cannot be used to fix the codes online, leading to delays in code fixing.
A game system is typically updated by releasing new versions periodically, e.g., weekly or monthly, so as to add both fixed codes and new functional modules in the past week or month. In this way, erroneous codes, if found, cannot be fixed online in time and will thus affect players for a long time. Moreover, the time required for the updated version to be available online depends on review processes of channels. Depending on the review time, it usually takes one to three days to be available online. In addition, each time an updated version is released, an individual channel package needs to be prepared for each channel, resulting in a high workload in preparation of the packages.
Therefore, how to avoid the delay in fixing and updating the game system has become a technical problem to be solved currently.
SUMMARY
The embodiments of the present disclosure provide a method and a system for  game updating, a terminal and a computer readable storage medium, capable of solving the technical problem in the related art associated with delay in fixing and updating a game system, such that the game system can be updated online in real time and an associated labor cost can be significantly reduced.
In a first aspect, according to an embodiment of the present disclosure, a method for game updating is provided. The method includes: detecting, upon start of a game, whether an update package has been released online, the update package including a functional module update package and/or an erroneous code fixing update package; initiating a native language kernel when it is detected that the update package has been released online; loading a script language kernel by using the native language kernel; downloading the update package to a local code library by using the script language kernel; and updating a functional module online and/or fixing an erroneous code online based on the update package in the local code library.
Optionally, in the above embodiment of the present disclosure, the method can further include: updating the script language kernel by using the native language kernel.
Optionally, in the above embodiment of the present disclosure, the method can further include: determining whether the script language kernel has been updated successfully, and if so, determining that the updated script language kernel is usable, or otherwise rolling the script language kernel for which the updating has failed back to a version before the updating for use.
Optionally, in the above embodiment of the present disclosure, the method can further include: issuing an update failure warning when the step of updating the functional module online and/or fixing the erroneous code online fails.
Optionally, in the above embodiment of the present disclosure, the method can further include, prior to the step of detecting whether an update package has been released online: selecting one or more target functional modules from all functional modules of the game; and enabling an online updating function for each of the one or more target functional modules. The step of detecting whether an update package has been released online can include: detecting whether an update package associated with any of the one or more target functional modules has been released online.
In a second aspect, according to an embodiment of the present disclosure, a system for game updating is provided. The system includes: an update package detecting unit configured to detect, upon start of a game, whether an update package has been released online, the update package including a functional module update package and/or an erroneous code fixing update package; a kernel initiating unit configured to initiate a native language kernel when it is detected that the update package has been released online; a kernel loading unit configured to load a script language kernel by using the native language kernel; an update package downloading unit configured to download the update package to a local code library by using the script language kernel; and an online updating unit configured to update a functional module online and/or fix an erroneous code online based on the update package in the local code library.
Optionally, in the above embodiment of the present disclosure, the system can further include: a kernel updating unit configured to update the script language kernel by using the native language kernel.
Optionally, in the above embodiment of the present disclosure, the system can further include: a determining unit configured to: determine whether the script language kernel has been updated successfully, and if so, determine that the updated script language kernel is usable, or otherwise roll the script language kernel for which the updating has failed back to a version before the updating for use.
Optionally, in the above embodiment of the present disclosure, the system can further include: a warning unit configured to issue an update failure warning when the step of updating the functional module online and/or said fixing the erroneous code online fails.
Optionally, in the above embodiment of the present disclosure, the system can further include a module selecting unit configured to, prior to the step of detecting whether an update package has been released online: select one or more target functional modules from all functional modules of the game; and an update function enabling unit configured to enable an online updating function for each of the one or more target functional modules. The update package detecting unit can be configured to: detect whether an update package associated with any of the one or more target functional modules has been released online.
In a third aspect, according to an embodiment of the present disclosure, a terminal  is provided. The terminal includes at least one processor and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, the instructions being configured to perform any of the above methods according to the first aspect.
In a fourth aspect, according to an embodiment of the present disclosure, a computer readable storage medium is provided. The computer readable storage medium has computer executable instructions stored thereon, the computer executable instructions being configured to perform any of the above methods according to the first aspect.
With the above solutions, in order to solve the technical problem in the related art associated with delay in fixing and updating a game system, the game system can be updated online in real time. In particular, a native language kernel (C#Bootstrap) having a simple core function can be provided using a native language (C#) . The native language kernel is a frontend development framework. Then, a script language kernel (Lua Bootstrap) can be loaded by using the native language kernel. Finally, an online update package can be downloaded to a database by using the script language kernel and installed to the game system, such that the game system can be updated and/or fixed online.
In these solutions, the native language kernel is only responsible for updating the script language kernel and has simple internal logics. When the current initiation of the script language kernel fails, it will be rolled back to the previous script language kernel that had been initiated successfully. Thus, it is possible to guarantee that the script language kernel can be initially normally, which provides a basis for a successful subsequent real-time online update.
Accordingly, when an erroneous code in the game system needs to be fixed, the script language kernel can guarantee upon start of the game that the update package will be downloaded and updated to the local code library, thereby fixing the code online in real time. When a new functional module of the game system is released, the script language kernel can guarantee upon start of the game that the update package will be downloaded and updated to the local code library, thereby allowing real-time online release of the new functional module.
With the above solutions, it is possible to achieve online fixing without planning and code tracking in advance, such that procedures such as releasing versions for individual  channels and reviewing by the channels can be omitted. In this way, the workload for updating and fixing the game system can be greatly reduced, the labor cost can be reduced, the time cost required for updating and fixing the game system can be saved, and the user experience of the game can be enhanced.
BRIEF DESCRIPTION OF DRAWINGS
In order to more clearly illustrate technical solutions of embodiments of the present disclosure, the accompanying drawings used in the embodiments are briefly described below. The drawings described below are merely a part of the embodiments of the present disclosure. Based on these drawings, those skilled in the art can obtain other drawings without any creative effort.
Fig. 1 is a flowchart illustrating a method for game updating according to an embodiment of the present disclosure;
Fig. 2 is a flowchart illustrating a method for game updating according to another embodiment of the present disclosure;
Fig. 3 is a block diagram of a system for game updating according to an embodiment of the present disclosure; and
Fig. 4 is a block diagram of a terminal according to an embodiment of the present disclosure.
DESCRIPTION OF EMBODIMENTS
In order to better understand technical solutions of the present disclosure, the embodiments of the present disclosure are described in details with reference to the drawings.
It should be clear that the described embodiments are merely part of the embodiments of the present disclosure rather than all of the embodiments. All other embodiments obtained by those skilled in the art without paying creative labor shall fall into the protection scope of the present disclosure.
The terms used in the embodiments of the present disclosure are merely for the purpose of describing specific embodiment, rather than limiting the present disclosure. The  terms "a" , "an" , "the" and "said" in a singular form in the embodiments of the present disclosure and the attached claims are also intended to include plural forms thereof, unless noted otherwise.
Fig. 1 is a flowchart illustrating a method for game updating according to an embodiment of the present disclosure.
As shown in Fig. 1, a method for game updating according to an embodiment of the present disclosure includes the following steps.
At step 102, it is detected, upon start of a game, whether an update package has been released online. Here, the update package includes a functional module update package and/or an erroneous code fixing update package.
At step 104, when it is detected that the update package has been released online, a native language kernel is initiated.
A native language kernel (C#Bootstrap) having a simple core function can be provided using a native language (C#) . The native language kernel is a frontend development framework.
At step 106, a script language kernel is loaded by using the native language kernel.
At step 108, the update package is downloaded to a local code library by using the script language kernel.
Then, a script language kernel (Lua Bootstrap) can be loaded by using the native language kernel. Finally, an online update package can be downloaded to a database by using the script language kernel and installed to the game system, such that the game system can be updated and/or fixed online.
At step 110, a functional module is updated online and/or an erroneous code is fixed online based on the update package in the local code library.
In general, the present disclosure uses a native language to develop a kernel (C#Bootstrap) having a simple core function, loads a script language kernel (Lua Bootstrap) onto the kernel, and then updates and loads game functional modules and game resources by using the script language kernel. In this way, new functional modules can be updated online and erroneous codes can be fixed online.
With the above solutions, in order to solve the technical problem in the related art  associated with delay in fixing and updating a game system, the game system can be updated online in real time. In these solutions, the native language kernel is only responsible for updating the script language kernel and has simple internal logics. When the current initiation of the script language kernel fails, it will be rolled back to the previous script language kernel that had been initiated successfully. Thus, it is possible to guarantee that the script language kernel can be initially normally, which provides a basis for a successful subsequent real-time online update.
Accordingly, when an erroneous code in the game system needs to be fixed, the script language kernel can guarantee upon start of the game that the update package will be downloaded and updated to the local code library, thereby fixing the code online in real time. When a new functional module of the game system is released, the script language kernel can guarantee upon start of the game that the update package will be downloaded and updated to the local code library, thereby allowing real-time online release of the new functional module.
With the above solutions, it is possible to achieve online fixing without planning and code tracking in advance, such that procedures such as releasing versions for individual channels and reviewing by the channels can be omitted. In this way, the workload for updating and fixing the game system can be greatly reduced, the labor cost can be reduced, the time cost required for updating and fixing the game system can be saved, and the user experience of the game can be enhanced.
The method can further include, subsequent to the step 110: issuing an update failure warning when the step of updating the functional module online and/or fixing the erroneous code online fails.
That is, it can be monitored whether the step of updating the functional module online and/or fixing the erroneous code online has succeeded. If it fails, an update failure warning can be issued to inform a game user that the operation of updating the functional module online and/or fixing the erroneous code online has failed, such that the game user can restart the game or initiate the updating operation again in response to the update failure warning.
Fig. 2 is a flowchart illustrating a method for game updating according to another embodiment of the present disclosure.
As shown in Fig. 2, the method for game updating according to the other embodiment of the present disclosure includes the following steps.
At step 202, a script language kernel is updated by using a native language kernel.
Here, the native language kernel is only used for loading and updating the script language kernel. It has simple and controllable logics and is not used for any other purposes. In this way, it can be guaranteed that the script language kernel can be loaded in real time for updating the game online, so as to ensure the effectiveness of the online updating of the game.
At step 204, it is determined whether the script language kernel has been updated successfully. If so, the method proceeds with step 206, or otherwise it proceeds with step 208.
At step 206, it is determined that the updated script language kernel is usable.
At step 208, the script language kernel for which the updating has failed is rolled back to a version before the updating for use.
Accordingly, if the script language kernel has been updated successfully, it can be used directly for downloading the update package. On the other hand, if the script language kernel has not been updated successfully, in order to guarantee a usable script language kernel, data rollback can be applied to the script language kernel for which the updating has failed, i.e., it can be roll back to the version before the updating for use, such that the subsequent online updating procedures, such as downloading the update package, can be performed successfully.
On the basis of the embodiments shown in Figs. 1 and 2, in an implementation of the present disclosure, before the step 102, all functional modules of the game system can be set as modules that can be updated online, such that all the functional modules of the game system can be updated online in real time, thereby simplifying the overall procedure for updating the game, saving the maintenance cost, improving the updating efficiency and enhancing the user experience of the game.
In another implementation of the present disclosure, before the step 102, one or more target functional modules can be selected from all functional modules of the game. An online updating function can be enabled for each of the one or more target functional modules. In this case, the step of detecting whether an update package has been released online can include: detecting whether an update package associated with any of the one or more target  functional modules has been released online.
Accordingly, one or more target functional modules having low requirements with respect to privacy protection or security can be selected from all functional modules of the game and the online updating function can be enabled for the one or more target functional modules only. For those functional modules having high requirements with respect to privacy protection or security, the online updating function can be disenabled, so as to protect their data security. However, in a practical scenario, depending on actual requirements of the game system or the game user, the target functional modules that can be updated online in real time can be selected automatically by the game system or manually by the game user, so as to meet the actual requirements. Thus, when detecting the update package, it is only required to detect whether an update package associated with any target functional module has been released online. Even if there are any update packages for other functional modules than the target functional modules of the game system, they will not be prohibited from being downloaded, so as to protect data security for the other functional modules.
Fig. 3 is a block diagram of a system for game updating according to an embodiment of the present disclosure.
As shown in Fig. 3, a system 300 for game updating according to an embodiment of the present disclosure include: an update package detecting unit 302 configured to detect, upon start of a game, whether an update package has been released online, the update package including a functional module update package and/or an erroneous code fixing update package; a kernel initiating unit 304 configured to initiate a native language kernel when it is detected that the update package has been released online; a kernel loading unit 306 configured to load a script language kernel by using the native language kernel; an update package downloading unit 308 configured to download the update package to a local code library by using the script language kernel; and an online updating unit 310 configured to update a functional module online and/or fix an erroneous code online based on the update package in the local code library.
The system 300 for game updating uses any of the solutions described in the embodiments shown in Figs. 1 and 2, and thus has all of the above technical effects, the description of which will be omitted here. The system 300 for game updating may include the  following technical features.
Optionally, in the above embodiment of the present disclosure, the system can further include: a kernel updating unit configured to update the script language kernel by using the native language kernel.
Optionally, in the above embodiment of the present disclosure, the system can further include: a determining unit configured to: determine whether the script language kernel has been updated successfully, and if so, determine that the updated script language kernel is usable, or otherwise roll the script language kernel for which the updating has failed back to a version before the updating for use.
Optionally, in the above embodiment of the present disclosure, the system can further include: a warning unit configured to issue an update failure warning when the step of updating the functional module online and/or said fixing the erroneous code online fails.
Optionally, in the above embodiment of the present disclosure, the system can further include a module selecting unit configured to, prior to the step of detecting whether an update package has been released online: select one or more target functional modules from all functional modules of the game; and an update function enabling unit configured to enable an online updating function for each of the one or more target functional modules. The update package detecting unit 302 can be configured to: detect whether an update package associated with any of the one or more target functional modules has been released online.
Fig. 4 is a block diagram of a terminal according to an embodiment of the present disclosure.
As shown in Fig. 4, a terminal 400 according to an embodiment of the present disclosure includes at least one processor 402 and a memory 404 communicatively connected to the at least one processor 402. The memory stores instructions executable by the at least one processor 404, the instructions being configured to perform any of the solutions in the embodiments described above in connection with Figs. 1 and 2. Thus, the terminal 400 has the same technical effects as the embodiments described in Figs. 1 and 2, the description of which will be omitted here.
In addition, according to an embodiment of the present disclosure, a computer readable storage medium is provided. The computer readable storage medium has computer  executable instructions stored thereon. The computer executable instructions are configured to perform any of the methods in the embodiments described above in connection with Figs. 1 and 2.
The solutions of the present disclosure have been described in detail above with reference to the figures. With the above solutions, it is possible to achieve online fixing without planning and code tracking in advance, such that procedures such as releasing versions for individual channels and reviewing by the channels can be omitted. In this way, the workload for updating and fixing the game system can be greatly reduced, the labor cost can be reduced, the time cost required for updating and fixing the game system can be saved, and the user experience of the game can be enhanced.
It should be understood that the term "and/or" used in the context of the present disclosure is to describe a correlation relation of related objects, indicating that there may be three relations, e.g., A and/or B may indicate only A, both A and B, and only B. In addition, the symbol "/" in the context generally indicates that the relation between the objects in front and at the back of "/" is an "or" relationship.
Depending on the context, the term “if” as used herein can be interpreted as “when” , “in a case where” , “in response to determining …” or “in response to detecting …” . Similarly, depending on the context, the phrase “if it is determined …” or “if it is detected …(astatement of a condition or event) ” can be interpreted as “when it is determined …” , “in response to determining …” , “when it is detected … (astatement of a condition or event) ” , or “in response to detecting … (astatement of a condition or event) ” .
It is to be noted here that the terminal as used in the embodiments of the present disclosure may include, but not limited to, Personal Computer (PC) , Personal Digital Assistant (PDA) , wireless handheld device, tablet computer, cell phone, MP3 player, MP4 player or the like.
It can be appreciated from the embodiments of the present disclosure that the disclosed systems, apparatuses and methods can be implemented in alternative ways. The apparatus embodiments as described above are illustrative only. For example, while the modules have been divided in accordance with their logical functions, other divisions are possible in practice. For example, more than one module or element can be combined or can  be integrated into another system, or some features can be ignored or omitted. In addition, the coupling, direct coupling or communicative connection between various components as shown or discussed can be an indirect coupling or communicative connection via some interface, device or module and can be electrical, mechanical or in another form.
Further, all the functional modules in various embodiments of the present disclosure can be integrated within one processing module, each of these modules can be a separate module, or two or more modules can be integrated into one module. Such integrated module can be implemented in hardware, possibly in combination with software functional modules.
The above integrated modules, when implemented in software functional modules, can be stored in a computer readable storage medium. The software functional modules can be stored in a storage medium, which may be any of various mediums capable of storing program codes, such as a USB disk, a mobile hard disk, a Read Only Memory (ROM) , a Random Access Memory (RAM) , a magnetic disk or an optical disc or the like, containing instructions which cause a computer device (which can be a personal computer, a server, a network device or the like) to perform at least a portion of the steps of the methods according to the embodiments of the present disclosure.
While the preferred embodiments of the present disclosure have been described above, the scope of the present disclosure is not limited thereto. Various modifications, equivalent alternatives or improvements can be made by those skilled in the art without departing from the scope of the present disclosure. These modifications, equivalent alternatives and improvements are to be encompassed by the scope of the present disclosure.

Claims (10)

  1. A method for game updating, comprising:
    detecting, upon start of a game, whether an update package has been released online, the update package comprising a functional module update package and/or an erroneous code fixing update package;
    initiating a native language kernel when it is detected that the update package has been released online;
    loading a script language kernel by using the native language kernel;
    downloading the update package to a local code library by using the script language kernel; and
    updating a functional module online and/or fixing an erroneous code online based on the update package in the local code library.
  2. The method of claim 1, further comprising:
    updating the script language kernel by using the native language kernel.
  3. The method of claim 2, further comprising:
    determining whether the script language kernel has been updated successfully, and
    if so, determining that the updated script language kernel is usable, or
    otherwise rolling the script language kernel for which the updating has failed back to a version before the updating for use.
  4. The method of claim 1, further comprising:
    issuing an update failure warning when said updating the functional module online and/or said fixing the erroneous code online fails.
  5. The method of any of claims 1-4, further comprising, prior to said detecting whether an update package has been released online:
    selecting one or more target functional modules from all functional modules of the game; and
    enabling an online updating function for each of the one or more target functional modules,
    wherein said detecting whether an update package has been released online comprises:
    detecting whether an update package associated with any of the one or more target functional modules has been released online.
  6. A system for game updating, comprising:
    an update package detecting unit configured to detect, upon start of a game, whether an update package has been released online, the update package comprising a functional module update package and/or an erroneous code fixing update package;
    a kernel initiating unit configured to initiate a native language kernel when it is detected that the update package has been released online;
    a kernel loading unit configured to load a script language kernel by using the native language kernel;
    an update package downloading unit configured to download the update package to a local code library by using the script language kernel; and
    an online updating unit configured to update a functional module online and/or fix an erroneous code online based on the update package in the local code library.
  7. The system of claim 6, further comprising:
    a kernel updating unit configured to update the script language kernel by using the native language kernel.
  8. The system of claim 7, further comprising:
    a determining unit configured to:
    determine whether the script language kernel has been updated successfully, and
    if so, determine that the updated script language kernel is usable, or
    otherwise roll the script language kernel for which the updating has failed back to a version before the updating for use.
  9. A terminal, comprising at least one processor and a memory communicatively connected to the at least one processor,
    wherein the memory stores instructions executable by the at least one processor, the instructions being configured to perform the method according to any of claims 1-5.
  10. A computer readable storage medium having computer executable instructions stored thereon, the computer executable instructions being configured to perform the method according to any of claims 1-5.
PCT/CN2019/097661 2018-09-17 2019-07-25 Method and system for game updating, terminal and computer readable storage medium WO2020057253A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811082961.6A CN109298877B (en) 2018-09-17 2018-09-17 Game updating method and system, terminal and computer readable storage medium
CN201811082961.6 2018-09-17

Publications (1)

Publication Number Publication Date
WO2020057253A1 true WO2020057253A1 (en) 2020-03-26

Family

ID=65163231

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097661 WO2020057253A1 (en) 2018-09-17 2019-07-25 Method and system for game updating, terminal and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109298877B (en)
WO (1) WO2020057253A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112604295A (en) * 2020-12-29 2021-04-06 珠海金山网络游戏科技有限公司 Method and device for reporting game update failure, management method and server
CN112604296A (en) * 2020-12-30 2021-04-06 深圳市创梦天地科技有限公司 Game updating method, electronic equipment and related system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298877B (en) * 2018-09-17 2021-10-19 北京智明星通科技股份有限公司 Game updating method and system, terminal and computer readable storage medium
CN111111198B (en) * 2019-12-25 2024-03-12 上海米哈游网络科技股份有限公司 Logic code execution method, device, server and medium
CN111913730A (en) * 2020-07-15 2020-11-10 上海莉莉丝科技股份有限公司 User-insensitive application program internal updating method, user side and program server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111855A (en) * 2014-07-29 2014-10-22 广东能龙教育股份有限公司 Method for dynamic update of iOS (Iphone Operation System) client based on Lua
CN105978849A (en) * 2015-12-08 2016-09-28 乐视网信息技术(北京)股份有限公司 Client updating method and system, client and server
CN108287836A (en) * 2017-01-09 2018-07-17 腾讯科技(深圳)有限公司 A kind of resource caching method and device
CN109298877A (en) * 2018-09-17 2019-02-01 北京智明星通科技股份有限公司 Game renewal method and system, terminal and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636147B (en) * 2015-03-09 2016-05-25 北京恒华伟业科技股份有限公司 A kind of implementation method and system of cross-platform mobile application
CN107231490A (en) * 2017-07-19 2017-10-03 中国银行股份有限公司 Dynamic updates method, client and the server of IOS system applications
CN108399074A (en) * 2018-01-30 2018-08-14 努比亚技术有限公司 A kind of update method of application program, terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111855A (en) * 2014-07-29 2014-10-22 广东能龙教育股份有限公司 Method for dynamic update of iOS (Iphone Operation System) client based on Lua
CN105978849A (en) * 2015-12-08 2016-09-28 乐视网信息技术(北京)股份有限公司 Client updating method and system, client and server
CN108287836A (en) * 2017-01-09 2018-07-17 腾讯科技(深圳)有限公司 A kind of resource caching method and device
CN109298877A (en) * 2018-09-17 2019-02-01 北京智明星通科技股份有限公司 Game renewal method and system, terminal and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112604295A (en) * 2020-12-29 2021-04-06 珠海金山网络游戏科技有限公司 Method and device for reporting game update failure, management method and server
CN112604296A (en) * 2020-12-30 2021-04-06 深圳市创梦天地科技有限公司 Game updating method, electronic equipment and related system

Also Published As

Publication number Publication date
CN109298877A (en) 2019-02-01
CN109298877B (en) 2021-10-19

Similar Documents

Publication Publication Date Title
WO2020057253A1 (en) Method and system for game updating, terminal and computer readable storage medium
CN110058873B (en) Application page updating method, device, equipment and storage medium
US11385903B2 (en) Firmware update patch
KR101931007B1 (en) Initialization trace of a computing device
RU2571726C2 (en) System and method of checking expediency of installing updates
EP3509270B1 (en) Data backup method and device, storage medium and electronic apparatus
US9063819B2 (en) Extensible patch management
WO2019019668A1 (en) Application startup method and device, computer apparatus, and storage medium
US9104841B2 (en) Methods and systems for executing protected content
CN104685469A (en) Background application page architecture for WEB applications
US9516094B2 (en) Event-responsive download of portions of streamed applications
US20200356358A1 (en) Systems and methods for incrementally and dynamically updating firmware
CN108510287B (en) Client return visit judgment method, electronic device and computer readable storage medium
CN109726076B (en) Applet life cycle management method and system
CN110716845A (en) Method for reading log information of Android system
US20160306568A1 (en) Coordinated point-in-time snapshots of multiple computing platforms
US11983519B2 (en) Abort installation of firmware bundles
CN108132832B (en) Application program starting method and device
CN114048506A (en) Application control method, device, equipment and storage medium
KR101083229B1 (en) Method, apparatus, system, and recording medium for downloading necessary application of mobile terminal
CN110471828B (en) Operating system testing method, device and equipment thereof
CN113392002B (en) Test system construction method, device, equipment and storage medium
CN113076248B (en) Application processing method, device and equipment and readable storage medium
CN111666219B (en) Service function verification method and device, computer system and storage medium
CN110221952B (en) Service data processing method and device and service data processing system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19861525

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19861525

Country of ref document: EP

Kind code of ref document: A1