CN112256286A - Application running method and device and computer storage medium - Google Patents

Application running method and device and computer storage medium Download PDF

Info

Publication number
CN112256286A
CN112256286A CN202011134355.1A CN202011134355A CN112256286A CN 112256286 A CN112256286 A CN 112256286A CN 202011134355 A CN202011134355 A CN 202011134355A CN 112256286 A CN112256286 A CN 112256286A
Authority
CN
China
Prior art keywords
target
file
application program
game
code file
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.)
Granted
Application number
CN202011134355.1A
Other languages
Chinese (zh)
Other versions
CN112256286B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202011134355.1A priority Critical patent/CN112256286B/en
Publication of CN112256286A publication Critical patent/CN112256286A/en
Priority to PCT/CN2021/116488 priority patent/WO2022083316A1/en
Application granted granted Critical
Publication of CN112256286B publication Critical patent/CN112256286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/552Details of game data or player data management for downloading to client devices, e.g. using OS version, hardware or software profile of the client device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The present disclosure provides a method, an apparatus, and a computer storage medium for application execution, the method comprising: downloading an installation package of the target subprogram through the target application program; acquiring a code file and a resource file of the target subprogram based on the installation package; and respectively configuring the code file and the resource file in corresponding directories of the target application program, and respectively redirecting access paths of the code file and the resource file, so as to call the code file and the resource file in the target application program through the redirected access paths and operate a target subprogram. In the embodiment of the disclosure, after the installation package of the target subprogram is downloaded through the target application program, the target subprogram can be directly operated in the application program without locally installing the installation package, so that the installation process is omitted, and the operation process of the target subprogram is simple and convenient.

Description

Application running method and device and computer storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for application running, and a computer storage medium.
Background
With the development of internet technology, a great number of various games satisfying the entertainment demands of users are gradually developed. Currently, games that can be run on a third-party browser can be developed by embedding a webpage and using a Web Graphics Library (WebGL) technology in the webpage; and game application programs which can be directly downloaded and installed on the intelligent terminal can be developed through the game engine.
However, due to the limitation of the WebGL technology development capability, the developed game running on the browser cannot show rich image details, and the interactive interface and the related scene are simple, so the game engine is generally used to develop the game with the interactive interface and the relatively complex scene.
However, games developed by using the game engine generally require a user to download a corresponding software installation package through a download link, and the user can experience the games by performing operations such as installation, registration, login, permission setting and the like based on the software installation package, so that the using process is complicated.
Disclosure of Invention
The embodiment of the disclosure at least provides an application running method, an application running device and a computer storage medium.
In a first aspect, an embodiment of the present disclosure provides a method for running an application, where the method includes:
downloading an installation package of the target subprogram through the target application program;
acquiring a code file and a resource file of the target subprogram based on the installation package;
and respectively configuring the code file and the resource file in corresponding directories of the target application program, and respectively redirecting access paths of the code file and the resource file, so as to call the code file and the resource file in the target application program through the redirected access paths and operate the target subprogram.
In a possible implementation manner, the obtaining the code file and the resource file of the target subprogram based on the installation package includes:
based on the type of an application program binary interface (ABI) corresponding to the target application program, decompressing a code file corresponding to the type of the ABI from the installation package;
and taking the files in the installation package except the code file as the resource files.
In one possible embodiment, the target sub-program is a game program.
In a possible implementation manner, configuring the code file and the resource file in corresponding directories of the target application program respectively, and performing redirection of access paths on the code file and the resource file respectively includes:
and respectively storing the code file and the resource file in different storage directories corresponding to the target subprogram codes in the target application program, and respectively modifying the access paths of the code file and the resource file.
In a possible embodiment, the modifying the access path of the code file includes:
and adding the storage directory of the code file in the target application program to the foremost position of the search path of the code file by adopting a preset path modification mechanism.
In a possible implementation manner, after the redirecting of the access paths to the code file and the resource file respectively, the method further includes:
and responding to a starting instruction aiming at the target subprogram, starting a game engine in the target application program based on the code of the accessed game engine, and calling other codes of the code file and the resource file through the game engine to run the target subprogram.
In a possible implementation manner, before downloading the installation package of the target sub program through the target application, the method further includes:
acquiring running environment information of the target subprogram on the target application program;
downloading a container plug-in corresponding to the target subprogram and installing the container plug-in on the target application program based on the running environment information; the container plug-in is used for executing the installation package for downloading the target subprogram, acquiring the code file and the resource file and redirecting the access path.
In a second aspect, an embodiment of the present disclosure further provides an apparatus for running an application, where the apparatus includes:
and the downloading module is used for downloading the installation package of the target subprogram through the target application program.
And the acquisition module is used for acquiring the code file and the resource file of the target subprogram based on the installation package.
And the configuration module is used for respectively configuring the code file and the resource file in corresponding directories of the target application program, and respectively redirecting access paths of the code file and the resource file, so that the code file and the resource file are called in the target application program through the redirected access paths, and the target subprogram is operated.
In a possible implementation manner, the obtaining module is specifically configured to decompress, based on a type of an application binary interface, ABI, corresponding to the target application, from the installation package to obtain a code file corresponding to the type of the ABI; and taking the files in the installation package except the code file as the resource files.
In one possible embodiment, the target sub-program is a game program.
In a possible implementation manner, the configuration module is specifically configured to store the code file and the resource file in different storage directories corresponding to the target sub-program in the target application program, and modify access paths of the code file and the resource file, respectively.
In a possible implementation manner, the configuration module is further specifically configured to add the storage directory of the code file in the target application program to a foremost position of the search path of the code file by using a preset path modification mechanism.
In a possible implementation manner, the apparatus further includes a response module, configured to respond to a start instruction for the target sub-program, start a game engine in the target application program based on the accessed code of the game engine, and call other code of the code file and the resource file through the game engine to run the target sub-program.
In a possible implementation manner, the apparatus further includes a plug-in obtaining module, specifically configured to obtain the running environment information of the target sub-program on the target application program; downloading a container plug-in corresponding to the target subprogram and installing the container plug-in on the target application program based on the running environment information; the container plug-in is used for executing the installation package for downloading the target subprogram, acquiring the code file and the resource file and redirecting the access path.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
The method, the device and the computer storage medium for application operation provided by the embodiment of the disclosure download the installation package of the target subprogram through the target application program, acquire the code file and the resource file of the target subprogram based on the installation package, respectively configure the code file and the resource file in the corresponding directory of the target application program, and respectively redirect the access paths of the code file and the resource file, so that the code file and the resource file can be called in the target application program through the redirected access paths to operate the target subprogram; in the embodiment of the disclosure, local installation of the subprogram installation package is not required, storage and access path redirection of related code files and resource files can be directly performed on the target subprogram through the target application program, so that the target subprogram is directly operated in the target application program, an installation process is omitted, and an operation process of the target subprogram is simple and convenient.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
FIG. 1 is a flow chart illustrating a method for running an application provided by an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating a directory structure for saving code files and resource files provided by an embodiment of the present disclosure;
FIG. 3 shows a detailed flowchart of a method for running an application in an application process according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of an apparatus for running an application provided by an embodiment of the present disclosure;
fig. 5 shows a schematic structural diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
For games developed by using a game engine, generally, a user is required to download a corresponding installation package through a download link, and after the download is completed, the downloaded installation package is installed; after the installation is completed, when the user accesses the software, a series of operations such as software registration, login, permission setting and the like are required to experience the game.
In order to simplify user operation, operations such as installation, software registration, login, permission setting and the like are omitted, and a relevant game is directly run in a currently running target application program (the target application program can be called as a host APP of relevant game software); before the embodiment of the application is provided, the game engine can be recompiled to adapt to the target application program, and the game item is redeveloped and released by using the recompiled game engine; and the target application program for running the game is correspondingly modified, so that the reconstructed game item can be directly run in the modified target application program. However, the above method for directly running the game in the host needs to modify the code of the game engine, which is difficult to develop, and the game engines of different versions need to be modified respectively, which is too high in development cost.
Therefore, based on the above research, the embodiments of the present disclosure provide an application running method, which may download an installation package of a target sub-program through the target application program, obtain a code file and a resource file of the target sub-program, respectively configure the code file and the resource file in corresponding directories of the target application program, and respectively redirect access paths to the code file and the resource file. After the installation package of the target subprogram is obtained through the target application program, the code file and the resource file are respectively configured in the corresponding directory of the target application program, and the access paths of the code file and the resource file are respectively redirected, so that the operation of the target subprogram is realized.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a method for running an application disclosed in the embodiments of the present disclosure is described in detail, where an execution subject of the method for running an application provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, and the computer device includes, for example: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a Personal Digital Assistant (PDA), or other processing device. In some possible implementations, the method of application execution may be implemented by a processor calling computer readable instructions stored in a memory.
In the following, several technical terms related to the present disclosure will be explained first.
The game engine refers to a core component of some edited computer game systems or some interactive real-time image application programs. These systems provide game designers with the various tools required to write games with the goal of allowing game designers to easily and quickly make game programs without starting from zero. The game engine is a code (instruction) set which is designed for a machine running a certain type of game and can be identified by the machine, and controls the running of the game; here, a game composition can be divided into two parts of a game engine and game resources, wherein the game resources comprise images, sounds, animations and the like; here, the following formula can be used: game ═ engine (program code) + resources (images, sounds, animations, etc.); the game engine calls these resources in sequence according to the requirements of the game design.
An Android Application Package (APK) is an application package text format used by an Android operating system, codes are compiled, resources are compressed, and then the APK can be constructed by using a project automation construction tool, the APK includes all contents of an Android application, for example, in an APK file of a game project, the APK file specifically includes a code file (a dynamic library file (here, the dynamic library file is a game code file constructed based on a game engine and used for implementing the game project), a code of the game engine), a resource file (where, the resource file may include picture resources, video resources, audio resources, and the like), and the like.
An Application Binary Interface (ABI), each operating system provides an ABI for applications running under the system, and the ABI contains programming conventions that must be followed by the applications running under the system. On the Android system, ABIs corresponding to the CPU can comprise armeabi, armeabi-v7a, x86, mips, arm64-v8a, mips64, x86_64 and the like; when an application is installed on a device using the Android system, only a dynamic library file (also called. so file) corresponding to ABI provided by the device is installed.
In the Android system, Android application installation generally involves the following directories: directory of apps under system directory (system/apps): the directory contains a plurality of application programs carried by the system, and a user cannot delete the application programs; app directory (data/app) under data directory: the method comprises the steps that an installation catalog for a user program (wherein the user program is one of two types of application software and is software provided for meeting application requirements of users in different fields and different problems), the application program installed by a general user is under the catalog, a subprogram storage catalog (which is used for storing an APK compressed package file of a subprogram downloaded by the user through the application program) corresponding to each installed application program is created under the installation catalog, and the user has deletion permission; data directory under data directory (data/data): the directory is used for storing data of the installed application programs, and a sub program code loading directory corresponding to each installed application program is created under the directory (the sub program code loading directory is used for storing code files of the sub programs downloaded by the user through the application programs).
If the APK needs to be installed locally, the system copies the APK compressed packet file to a data/app directory, creates a subprogram storage directory under the data/app directory (here, the subprogram storage directory is used for storing the APK compressed packet file of the subprogram downloaded by the user through the application), decompresses and scans the APK compressed packet file, decompresses the dynamic library file corresponding to the ABI of the Android system to a data/lib directory, stores the dex file (namely, dalvik byte code) in the APK to a data/dalvik-cache directory, and creates a subprogram code loading directory corresponding to the application under the data/data directory.
The container plug-in is a program written by an application program interface which complies with a certain specification, can only run under a system platform specified by the application program, can simultaneously support a plurality of system platforms, can not run independently when being separated from the specified system platform, and is used for downloading the APK adapted to the currently supported system platform.
The following describes a method for running an application provided by the embodiment of the present disclosure by taking an execution subject as a terminal device as an example.
Example one
In specific implementation, the game can be run in the target application program in the modes of rewriting, reflecting, hook function hook and the like without modifying the code of the game engine; here, a target Application (APP) may be used as a host APP, the host APP downloads a container plug-in from a plug-in server, and downloads and manages an APK compressed package file of a game item matching the container plug-in through the container plug-in, so that the game item can be directly run in the host APP, thereby implementing that a user can directly experience the game in the host APP without installing the game APP, which is described in detail below.
Referring to fig. 1, a flowchart of a method for running an application, which may be applied to the field of games, provided in an embodiment of the present disclosure, includes steps S101 to S103, where:
and S101, downloading the installation package of the target subprogram through the target application program.
The target application program is a host APP and can be an APP installed on electronic equipment such as a mobile phone and a tablet computer; the target subprogram can be a game program, and the target subprogram can be a target game downloaded by a user through relevant introduction information and a download link pushed by the host APP. In the embodiment of the present disclosure, a target subroutine is specifically described as an example of a target game.
Here, the installation package of the target game is an APK compressed package file of the target game, and the installation package may include: a dynamic library file matched with each CPU architecture in the plurality of CPU architectures, and a game engine and game resources; the game resources can comprise various resources such as picture resources, video resources, audio resources and the like; the CPU architecture can be armeabi, armeabi-v7a, x86, mips, arm64-v8a, mips64, x86_64 and the like.
In a specific implementation, the host APP may download a container plug-in from a plug-in server, and download and manage an APK compressed package file of a target game item matching the container plug-in through the container plug-in, where the container plug-in may be obtained through the following method, which is described in detail as follows: acquiring running environment information of a target subprogram on a target application program; and downloading the container plug-in corresponding to the target subprogram and installing the container plug-in on the target application program based on the running environment information.
And on the target application program, downloading the installation package of the target subprogram, and acquiring the code file and the resource file of the installation package of the target subprogram in the following steps S102-S103 through the installed container plug-in, and performing the redirection process of the access path.
The operating environment information may include operating system information supported by the game, hardware configuration information corresponding to the game device, runtime library information required in the game operating process, an Application Programming Interface (API) of the target game, a CPU architecture corresponding to the game device, and the like.
The container plug-in is a program written by an application program interface complying with a certain standard; the container plug-in may be generally accessed through a cloud service or a remote server.
Specifically, the target application downloads a container plug-in matched with the API of the target game from the plug-in server, and installs the container plug-in on the target application, and the container plug-in acquires an APK compressed package file of the target game matched with the container plug-in the container cloud service, and stores the APK compressed package file of the target game in a storage directory of the subprogram of the target application, which corresponds to the target subprogram (i.e., in a target game-specific directory in a subprogram storage directory of the target application, i.e., in a root directory/data/app/target application name/target game name directory).
Here, the subroutine storage directory of the target application is: the directory is created under the target application program directory and is used for storing APK compressed package files of the subprogram downloaded by the user through the target application program; here, the subroutine storage directory of the target application includes: a subprogram-specific directory named by the name of the subprogram downloaded by the target application.
Here, since the sub program downloaded by the target application is described in detail in the embodiment of the present disclosure as an example of the game program, the sub program storage directory of the target application includes a target game-specific directory named by the name of the target game.
In a specific implementation, after the installation package of the target sub program is acquired and downloaded in the target application program through the container plug-in according to step S101, the container plug-in may process the saved installation package of the target sub program through step S102, which is described in detail below.
And S102, acquiring the code file and the resource file of the target subprogram based on the installation package.
The code file comprises a dynamic library file and a code file of a game engine, wherein the dynamic library file and the code file of the game engine are respectively matched with a plurality of CPU architectures; the game resources of the target game may be contained in the resource file. Here, the dynamic library file may contain codes required to run the target game; the game resources may include graphics, audio, video, etc. resources needed when the target game is running.
Here, the ABI is an interface for information interaction between an application program and an operating system and between the application program and a runtime library; the APP generally installed on the mobile phone, the tablet computer and other devices can communicate with the system through the ABI corresponding to the APP, call various function functions of the system, and call various runtime libraries required in runtime through the ABI.
In general, if local downloading and installation are performed on a target game APP, a dynamic library file of the target game is decompressed from an APK compressed package file of the target game to a system installation directory (i.e., a root directory/data/lib directory), and when the target game APP is run, a game engine of the target game APP directly searches for and calls the dynamic library file of the target game in a folder under the system installation directory; however, in the embodiment of the present disclosure, the target game APP is not installed, and therefore, the container plug-in obtained in step S101 needs to extract and store the dynamic library file and the game engine code file in the installation package of the target game APP into the storage directory corresponding to the target subprogram in the target application program (i.e., into the storage directory named by the target game name in the target application program, i.e., into the root directory/data/APP/target application program name/target game name directory), and needs to use the ABI corresponding to the host APP as an interface for communication between the target game and the system, so that the target game can be run even when the target game APP is not installed.
Here, the subroutine code load directory is: and the directory is created under the target application program directory and is used for storing the code files of the sub programs downloaded by the user through the target application program.
Wherein, the sub program downloaded through the target application program can be a game program.
In summary, according to the ABI type of the target application program, the code file required for running the target game is obtained by decompression from the installation package of the target game.
Here, the ABI types may include 32-bit armeabi, armeabi-v7a, x86, mips, and 64-bit arm64-v8a, mips64, x86_ 64.
Specifically, the container plug-in installed on the target application decompresses the dynamic library file matched with the ABI type of the target application from the installation package of the target game, and decompresses the game engine code in the installation package of the target game to obtain a code file containing the dynamic library file and the game engine code; and taking files in the installation package except the code file as resource files.
In a specific implementation, after the container plug-in installed on the target application determines the code file and the resource file in the installation package of the target game through step S102, the code file and the resource file may be saved according to step S103, and an access path for calling the code file and the resource file may be configured, which is described in detail as follows.
S103, respectively configuring the code file and the resource file in corresponding directories of the target application program, and respectively redirecting access paths of the code file and the resource file, so as to call the code file and the resource file in the target application program through the redirected access paths and operate the target subprogram.
In the Android system, a target application program is generally installed under a data directory under a root directory, an APK compressed package file of the target application program is saved under the root directory/data/app/target application program name directory, and a sub-program storage directory (here, the sub-program storage directory is used for storing the APK compressed package file of the sub-program downloaded by a user through the target application program) is created under the directory; and creating a sub program code loading directory corresponding to the target application program under the root directory/data/data directory (here, the sub program code loading directory is used for storing the code files of the sub programs downloaded by the user through the target application program).
In a specific implementation, the code file and the resource file of the target sub program determined in step S102 are stored in different storage directories corresponding to the target sub program in the target application program, and access paths of the code file and the resource file are modified respectively.
Specifically, the code file extracted from the installation package of the target subprogram can be stored in the target application program under the subprogram code loading directory named by the name of the target subprogram; the resource file can be stored in the installation package of the target subprogram, and the storage directory of the resource file is determined according to the storage directory of the installation package of the target subprogram; or extracting the resource file from the installation package of the target subprogram, and saving the resource file in a storage directory corresponding to the target subprogram in the subprogram storage directory of the target application program (namely, in a dedicated directory of the target subprogram named by the name of the target subprogram in the subprogram storage directory of the target application program).
Here, the storage directory of the installation package of the target subroutine is: and a storage directory corresponding to the target subprogram in the subprogram storage directory of the target application program, namely a target subprogram exclusive directory in the subprogram storage directory of the target application program, namely a root directory/data/app/target application program name/target subprogram name directory.
Here, since the detailed description is given by taking the target sub program downloaded by the target application as the game program in the embodiment of the present disclosure, a specific embodiment in which the target game-specific directory is taken as the target sub program-specific directory is described in detail below.
Specifically, the code files (i.e., the dynamic library file and the game engine code file corresponding to the ABI of the host APP) obtained by decompressing from the installation package of the target game in step S102 are stored in the subprogram code loading directory named by the target game name in the target application program (i.e., in the root directory/data/data/target application program name/target game name directory); the storage directory of the resource file determined by step S102 may be determined as follows according to the storage directory of the APK compressed package file of the target game determined in step S101 (i.e., root directory/data/app/target application name/target game name directory): a root directory/data/app/target application program name/target game name directory; the resource file of the target game determined in step S102 may also be extracted from the APK compressed package file of the target game, and directly saved in the dedicated directory of the target game named by the target game name in the sub-program storage directory of the target application program (i.e., in the root directory/data/app/target application program name/target game name directory), where the directory structure diagram of the specifically saved code file and resource file is shown in fig. 2.
In general, if the target game APP is locally downloaded and installed, when the target game APP is run, a system installation path of the target game APP is generally used as a default access path, a system process searches a game engine code of the target game APP in a system installation directory and starts a game engine of the target game APP, and the game engine of the target game APP directly searches and calls a code file and a resource file required by running of the target game in a folder in the system installation directory; however, in the present disclosure, the target game APP is not installed, but the code file and the resource file are respectively saved in different storage directories corresponding to the target game in the target application program through the container plug-in installed on the target application program, so that the default path for searching and calling the code file and the resource file needs to be modified through the container plug-in installed on the target application program, and the specific modification description is as follows.
In the specific implementation, after the code file and the resource file are respectively saved in different storage directories corresponding to the target subprogram in the target application program, the resource read-write path of the game engine can be modified according to the storage directory of the code file (namely, a subprogram code loading directory named by the name of the target subprogram in the target application program, namely, a root directory/data/data/the name of the target application program/the name of the target subprogram directory), and according to the storage directory of the resource file (namely, a target subprogram exclusive directory named by the name of the target subprogram in the subprogram storage directory of the target application program, namely, a root directory/data/app/the name of the target application program/the name of the target subprogram directory).
Specifically, the container plug-in installed on the target application program may adopt a preset path modification mechanism to add a subprogram code storage directory named by a target game name in the target application program to the foremost position of a search path of the code file, so as to configure the search path for searching the code file; and the storage path (namely, root directory/data/app/target application program name/target game name/resource file name) of the resource file under the target game exclusive directory named by the target game name in the subprogram storage directory of the target application program is used as the calling address for calling the resource file.
The preset path modification mechanism may include rewrite (rewrite is rewriting of implementation process of a method allowing access of a child class to a parent class, and a return value and a form parameter cannot be changed), a reflection mechanism (java reflection mechanism is in a running state, all attributes and methods of an entire class can be known for any class, any method and attribute can be called for any object, and the hook function hook has functions of dynamically acquiring information and dynamically calling methods of the object), and a hook function hook.
Specifically, the container plug-in installed in the host APP may obtain the instance object of the game engine through a reflection mechanism, and based on the storage path of the game engine code, through override, an obtain application file storage path function (i.e., getextra filesdir function) in the activity component activity, and the like: correspondingly modifying the example object according to the root directory/data/data/target application program name/target game name/game engine code name, and realizing redirection of a system process access game engine code path; and based on the storage path of the dynamic library file of the target game, through the override, the application file storage path function (namely, getExternalFilesDir function) obtained in the activity, and the like: reconfiguring a path of a dynamic library file of a game engine accessing a target game item according to the root directory/data/data/target application program name/target game name directory/dynamic library file name; and based on the storage path of the resource file of the target game: reconfiguring a path of the game engine for accessing the game resources according to the root directory/data/app/target application program name/target game name directory/resource file name, so as to realize the redirection of the game engine for the access path of the game item codes and the game resources; here, the game item code may include a function for realizing a plurality of functions, for example, a function for realizing a screen switching function, a character object control function, or the like.
Here, since code files that can realize the same function can be included in the system directory (i.e., root directory), the target application directory, and the target game directory at the same time, when the target game is executed in the target application, if the code file that the game engine needs to call is a code file of a function that is simultaneously included in the system directory, the target application directory, and the target game directory, the game engine needs to search for a code file that realizes the function in the target game directory.
Specifically, the container plug-in installed on the target application program may modify, through a preset path modification mechanism, the search directory sequence in which the game engine searches for the code file of the target game is as follows: searching a code file for realizing the function under a system directory (namely a root directory), searching a code file for realizing the function under a target application program directory, and searching a code file for realizing the function under the target game directory.
In a specific implementation, after the container plug-in installed on the target application program reconfigures the access paths of the code file and the resource file, the starting instruction for the target game may be responded, and based on the code of the accessed game engine, the game engine may be started in the target application program, and other codes and resource files of the code file may be called by the game engine to run the target game.
The starting instruction of the target game may be an instruction generated after the user performs a trigger operation on the target game according to operation prompt information (e.g., text prompt information such as "click page to enter game") provided by the target application presentation page.
Specifically, according to the starting instruction of the target game, a game engine code can be searched under the root directory/data/data/target application program name/target game name directory, and the game engine can be started in the target application program; after the game engine is started, other codes required in the running process of the target game are searched and called under the root directory/data/data/target application program name/target game name directory through the game engine, and resources required in the running process of the target game are searched and called under the root directory/data/app/target application program name/target game name directory through the game engine, so that the target game is run in the target application program.
Referring to fig. 3, a detailed flowchart of an application running in an application process provided by the present disclosure is specifically described as follows:
in a specific implementation mode, in the running process of a target application program, a user clicks related introduction information and a download link of a target game displayed on a target application program page, after the user clicks the download link, the target application program acquires running environment information of the running target game included in the download link, acquires a container plug-in matched with the target game in a plug-in server according to an API (application program interface) of the target game included in the running environment information, downloads the container plug-in, and installs the container plug-in on the target application program; downloading an installation package of the target game through the container plug-in, and storing the installation package into a target game exclusive directory in a subprogram storage directory of the target application program: under the root directory/data/app/target application program name/target game name directory, after downloading the installation package of the target game, the container plug-in decompresses and saves the dynamic library file corresponding to the ABI of the target application program and the code file of the game engine in the installation package into the target application program and loads the sub program code named by the target game name into the target application program: under the root directory/data/data/target application program name/target game name directory; taking files in the installation package except the dynamic library file corresponding to the ABI of the target application program and the code file of the game engine as resource files (namely game resource files); and according to the storage directory of the installation package of the target game, determining that the resource file is stored under a target game exclusive directory under a subprogram storage directory in the target application program, namely under a root directory/data/app/target application program name/target game name directory (the resource file can also be extracted from the installation package of the target game, and the resource file is stored under the root directory/data/app/target application program name/target game name directory).
After storing the code file (i.e. the code file of the dynamic library file and the game engine) and the resource file into different storage catalogues corresponding to the target game in the target application program, the calling path of the dynamic library file can be modified into the following steps by methods such as rewriting, reflecting, hooking functions and the like: the method comprises the following steps of (1) modifying an access path of a code file of a game engine into a root directory/data/data/target application program name/target game name/dynamic library file name: root directory/data/data/target application program name/target game name/game engine code file name; the calling path of the resource is modified as follows: root directory/data/app/target application name/resource file name (where the resource file name is determined according to the resource file name that needs to be called); the searching directory sequence of the code file of the function required by the game engine when the game engine searches the running target game can be realized by the following methods of rewriting, reflecting, hooking function and the like: searching a code file for realizing the function under a system directory (namely a root directory), searching a code file for realizing the function under a target application program directory, and searching a code file for realizing the function under the target game directory.
After reconfiguring the call paths of the code file and the resource file, the system process may, according to the access path of the code file of the game engine: accessing a code of the game engine according to the root directory/data/data/target application program name/target game name/game engine code file name, thereby starting the game engine in the target application program; after the game engine is started, the game engine searches and calls codes required in the running process of the target game under a root directory/data/data/target application program name/target game name directory according to a calling path of a dynamic library file of the target game, and searches and calls resources required in the running process of the target game under the root directory/data/app/target application program name/target game name directory according to the calling path of a resource file of the target game, so that the target game is run in the target application program.
In the embodiment of the disclosure, an installation package of a target subprogram is downloaded through a target application program, a code file and a resource file of the target subprogram are obtained based on the installation package, the code file and the resource file are respectively configured in a corresponding directory of the target application program, and the code file and the resource file are respectively redirected with access paths, so that the code file and the resource file can be called in the target application program through the redirected access paths to run the target subprogram; in the embodiment of the disclosure, local installation of the subprogram installation package is not required, storage and access path redirection of related code files and resource files can be directly performed on the target subprogram through the target application program, so that the target subprogram is directly operated in the target application program, an installation process is omitted, and an operation process of the target subprogram is simple and convenient.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, an application running device corresponding to the application running method is further provided in the embodiment of the present disclosure, and as the principle of solving the problem of the device in the embodiment of the present disclosure is similar to the method of the application running method in the embodiment of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not described again.
Example two
Referring to fig. 4, a schematic structural diagram of an apparatus 400 for running an application according to an embodiment of the present disclosure is shown, where the apparatus includes: a downloading module 401, an obtaining module 402 and a configuration module 403; the downloading module 401 is configured to download the installation package of the target sub program through the target application program.
An obtaining module 402, configured to obtain the code file and the resource file of the target subprogram based on the installation package.
A configuration module 403, configured to configure the code file and the resource file in corresponding directories of the target application program, and redirect access paths of the code file and the resource file, respectively, so as to call the code file and the resource file in the target application program through the redirected access paths, and run the target subprogram.
In a possible implementation manner, the obtaining module 402 is specifically configured to decompress, based on a type of an application binary interface, ABI, corresponding to the target application, from the installation package to obtain a code file corresponding to the type of the ABI; and taking the files in the installation package except the code file as the resource files.
In one possible embodiment, the target sub-program is a game program.
In a possible implementation manner, the configuration module 403 is specifically configured to store the code file and the resource file in different storage directories corresponding to the target sub-program in the target application program respectively, and modify access paths of the code file and the resource file respectively.
In a possible implementation manner, the configuration module 403 is further specifically configured to add the storage directory of the code file in the target application to the foremost position of the search path of the code file by using a preset path modification mechanism.
In a possible implementation manner, the apparatus further includes a response module, configured to respond to a start instruction for the target sub-program, start a game engine in the target application program based on the accessed code of the game engine, and call other code of the code file and the resource file through the game engine to run the target sub-program.
In a possible implementation manner, the apparatus further includes a plug-in obtaining module, specifically configured to obtain the running environment information of the target sub-program on the target application program; downloading a container plug-in corresponding to the target subprogram and installing the container plug-in on the target application program based on the running environment information; the container plug-in is used for executing the installation package for downloading the target subprogram, acquiring the code file and the resource file and redirecting the access path.
In the embodiment of the disclosure, an installation package of a target subprogram is downloaded through a target application program, a code file and a resource file of the target subprogram are obtained based on the installation package, the code file and the resource file are respectively configured in a corresponding directory of the target application program, and the code file and the resource file are respectively redirected with access paths, so that the code file and the resource file can be called in the target application program through the redirected access paths to run the target subprogram; in the embodiment of the disclosure, local installation of the subprogram installation package is not required, storage and access path redirection of related code files and resource files can be directly performed on the target subprogram through the target application program, so that the target subprogram is directly operated in the target application program, an installation process is omitted, and an operation process of the target subprogram is simple and convenient.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Based on the same technical concept, the embodiment of the application also provides computer equipment. Referring to fig. 5, a schematic structural diagram of a computer device 500 provided in the embodiment of the present application includes a processor 501, a memory 502, and a bus 503. The memory 502 is used for storing execution instructions and includes a memory 5021 and an external memory 5022; the memory 5021 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 501 and data exchanged with an external storage 5022 such as a hard disk, the processor 501 exchanges data with the external storage 5022 through the memory 5021, and when the computer 500 operates, the processor 501 communicates with the storage 502 through the bus 503, so that the processor 501 executes the following instructions:
downloading an installation package of the target subprogram through the target application program; acquiring a code file and a resource file of the target subprogram based on the installation package; and respectively configuring the code file and the resource file in corresponding directories of the target application program, and respectively redirecting access paths of the code file and the resource file, so as to call the code file and the resource file in the target application program through the redirected access paths and operate the target subprogram.
The specific processing flow of the processor 501 may refer to the description of the above method embodiment, and is not described herein again.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, executes the steps of the method for running an application described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The computer program product of the application running method provided by the embodiment of the present disclosure includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the application running method described in the above method embodiment, which may be specifically referred to in the above method embodiment, and are not described herein again.
The embodiments of the present disclosure also provide a computer program, which when executed by a processor implements any one of the methods of the foregoing embodiments. The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into 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 non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method of application execution, the method comprising:
downloading an installation package of the target subprogram through the target application program;
acquiring a code file and a resource file of the target subprogram based on the installation package;
and respectively configuring the code file and the resource file in corresponding directories of the target application program, and respectively redirecting access paths of the code file and the resource file, so as to call the code file and the resource file in the target application program through the redirected access paths and operate the target subprogram.
2. The method of claim 1, wherein obtaining the code file and the resource file of the target subprogram based on the installation package comprises:
based on the type of an application program binary interface (ABI) corresponding to the target application program, decompressing a code file corresponding to the type of the ABI from the installation package;
and taking the files in the installation package except the code file as the resource files.
3. The method of claim 1, wherein the target sub-program is a game program.
4. The method of claim 3, wherein the configuring the code file and the resource file under the corresponding directories of the target application program respectively, and the redirecting the access paths of the code file and the resource file respectively comprises:
and respectively storing the code file and the resource file in different storage directories corresponding to the target subprogram in the target application program, and respectively modifying the access paths of the code file and the resource file.
5. The method of claim 4, wherein modifying the access path of the code comprises:
and adding the storage directory of the code file in the target application program to the foremost position of the search path of the code file by adopting a preset path modification mechanism.
6. The method of claim 3, wherein after the redirecting the access paths to the code file and the resource file, respectively, further comprises:
and responding to a starting instruction aiming at the target subprogram, starting a game engine in the target application program based on the code of the accessed game engine, and calling other codes of the code file and the resource file through the game engine to run the target subprogram.
7. The method of claim 1, wherein before downloading the installation package of the target sub-program by the target application, the method further comprises:
acquiring running environment information of the target subprogram on the target application program;
downloading a container plug-in corresponding to the target subprogram and installing the container plug-in on the target application program based on the running environment information; the container plug-in is used for executing the installation package for downloading the target subprogram, acquiring the code file and the resource file and redirecting the access path.
8. An apparatus for application execution, the apparatus comprising:
the downloading module is used for downloading the installation package of the target subprogram through the target application program;
the acquisition module is used for acquiring the code file and the resource file of the target subprogram based on the installation package;
and the configuration module is used for respectively configuring the code file and the resource file in corresponding directories of the target application program, and respectively redirecting access paths of the code file and the resource file, so that the code file and the resource file are called in the target application program through the redirected access paths, and the target subprogram is operated.
9. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the method of application execution of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of application execution according to one of the claims 1 to 7.
CN202011134355.1A 2020-10-21 2020-10-21 Application running method and device and computer storage medium Active CN112256286B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011134355.1A CN112256286B (en) 2020-10-21 2020-10-21 Application running method and device and computer storage medium
PCT/CN2021/116488 WO2022083316A1 (en) 2020-10-21 2021-09-03 Application running method and apparatus, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011134355.1A CN112256286B (en) 2020-10-21 2020-10-21 Application running method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN112256286A true CN112256286A (en) 2021-01-22
CN112256286B CN112256286B (en) 2023-05-05

Family

ID=74263063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011134355.1A Active CN112256286B (en) 2020-10-21 2020-10-21 Application running method and device and computer storage medium

Country Status (2)

Country Link
CN (1) CN112256286B (en)
WO (1) WO2022083316A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732365A (en) * 2021-01-28 2021-04-30 北京字跳网络技术有限公司 Method and device for starting pre-installed application program, electronic equipment and storage medium
CN114296830A (en) * 2021-12-30 2022-04-08 上海完美时空软件有限公司 Application program running method and device, storage medium and electronic equipment
WO2022083316A1 (en) * 2020-10-21 2022-04-28 北京字节跳动网络技术有限公司 Application running method and apparatus, and computer storage medium
CN114489850A (en) * 2022-01-20 2022-05-13 中广核工程有限公司 Calling method and device of design software, computer equipment and storage medium
CN115640269A (en) * 2022-12-23 2023-01-24 北京麟卓信息科技有限公司 Android application installation acceleration method based on-demand copying

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721676B (en) * 2022-05-16 2022-08-26 龙芯中科技术股份有限公司 Software installation method and device, electronic equipment and readable storage medium
CN116009959B (en) * 2023-01-17 2024-02-27 广州创盒信息科技有限公司 Flash item transplanting method, device and system and storage medium
CN117311853B (en) * 2023-11-28 2024-03-12 深圳市移卡科技有限公司 APK file processing method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070006155A1 (en) * 2005-06-30 2007-01-04 Microsoft Corporation Locating source code when stopping in a debugger
CN105740033A (en) * 2016-03-15 2016-07-06 广州彩瞳网络技术有限公司 Terminal equipment, plug-in loading and running device and plug-in loading and running method
CN106775793A (en) * 2015-11-23 2017-05-31 卓望数码技术(深圳)有限公司 A kind of Android application exempts to install method, device and the terminal for starting
CN110244984A (en) * 2018-03-06 2019-09-17 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN111722885A (en) * 2020-06-19 2020-09-29 北京字节跳动网络技术有限公司 Program running method and device and electronic equipment
CN111737692A (en) * 2020-08-17 2020-10-02 腾讯科技(深圳)有限公司 Application program risk detection method and device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9841953B2 (en) * 2015-08-21 2017-12-12 Oracle International Corporation Pluggable components for runtime-image generation
CN109395395A (en) * 2018-09-20 2019-03-01 Oppo广东移动通信有限公司 Game running method and Related product
CN110609689A (en) * 2019-08-23 2019-12-24 北京安云世纪科技有限公司 Application installation and operation method and device
CN112256286B (en) * 2020-10-21 2023-05-05 抖音视界有限公司 Application running method and device and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070006155A1 (en) * 2005-06-30 2007-01-04 Microsoft Corporation Locating source code when stopping in a debugger
CN106775793A (en) * 2015-11-23 2017-05-31 卓望数码技术(深圳)有限公司 A kind of Android application exempts to install method, device and the terminal for starting
CN105740033A (en) * 2016-03-15 2016-07-06 广州彩瞳网络技术有限公司 Terminal equipment, plug-in loading and running device and plug-in loading and running method
CN110244984A (en) * 2018-03-06 2019-09-17 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN111722885A (en) * 2020-06-19 2020-09-29 北京字节跳动网络技术有限公司 Program running method and device and electronic equipment
CN111737692A (en) * 2020-08-17 2020-10-02 腾讯科技(深圳)有限公司 Application program risk detection method and device, equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022083316A1 (en) * 2020-10-21 2022-04-28 北京字节跳动网络技术有限公司 Application running method and apparatus, and computer storage medium
CN112732365A (en) * 2021-01-28 2021-04-30 北京字跳网络技术有限公司 Method and device for starting pre-installed application program, electronic equipment and storage medium
CN114296830A (en) * 2021-12-30 2022-04-08 上海完美时空软件有限公司 Application program running method and device, storage medium and electronic equipment
CN114489850A (en) * 2022-01-20 2022-05-13 中广核工程有限公司 Calling method and device of design software, computer equipment and storage medium
CN114489850B (en) * 2022-01-20 2023-08-22 中广核工程有限公司 Calling method and device of design software, computer equipment and storage medium
CN115640269A (en) * 2022-12-23 2023-01-24 北京麟卓信息科技有限公司 Android application installation acceleration method based on-demand copying

Also Published As

Publication number Publication date
CN112256286B (en) 2023-05-05
WO2022083316A1 (en) 2022-04-28

Similar Documents

Publication Publication Date Title
CN112256286B (en) Application running method and device and computer storage medium
EP3035191B1 (en) Identifying source code used to build executable files
CN110618876B (en) Linux and Android coexistence and interaction method based on Feiteng platform and shared kernel
EP3605324A1 (en) Application development method and tool, device, and storage medium thereof
CN102971688B (en) Cross-platform program frame
US5903753A (en) Name space registry with backward compatibility for older applications
US11016785B2 (en) Method and system for mirror image package preparation and application operation
CN107967139B (en) Hot updating method and device for game
Gilbert et al. Pocket ISR: Virtual machines anywhere
RU2459238C2 (en) Managed execution environment for software application interfacing
JP2008516323A (en) Platform independent dynamic linking
CN106569856A (en) Method and device of loading application view resource file
CN109669692B (en) Source code sharing method, server, computer readable storage medium and system
KR100452343B1 (en) Memory medium storing file for Mobile Communication Device including Machine-Language-Code Execution Section and File Execution Method using the same
CN111880801A (en) Application program dynamic method and device and electronic equipment
CN110532016B (en) Version management method, version updating method and version management system
Panigrahy Xamarin Mobile Application Development for Android
CN116401003A (en) Android application running method, system and storage medium based on desktop operating system
KR20110130611A (en) Web platform unit for mobile terminal connectioned web-application program in heterogeneous operating system
US20150081269A1 (en) Language Localization Of Java Applications
CN112235132A (en) Method, device, medium and server for dynamically configuring service
US9448782B1 (en) Reducing a size of an application package
CN113157348A (en) Game starting method and device, computer equipment and storage medium
CN114860202A (en) Project operation method, device, server and storage medium
CN114911497A (en) SDK upgrading method and device and computer equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant