CN112035187A - Resource loading and packing method, device, equipment and medium - Google Patents

Resource loading and packing method, device, equipment and medium Download PDF

Info

Publication number
CN112035187A
CN112035187A CN202010973142.1A CN202010973142A CN112035187A CN 112035187 A CN112035187 A CN 112035187A CN 202010973142 A CN202010973142 A CN 202010973142A CN 112035187 A CN112035187 A CN 112035187A
Authority
CN
China
Prior art keywords
target
resource
program
sub
package
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.)
Pending
Application number
CN202010973142.1A
Other languages
Chinese (zh)
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 Siming Qichuang Technology Co ltd
Original Assignee
Beijing Siming Qichuang 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 Siming Qichuang Technology Co ltd filed Critical Beijing Siming Qichuang Technology Co ltd
Priority to CN202010973142.1A priority Critical patent/CN112035187A/en
Publication of CN112035187A publication Critical patent/CN112035187A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration 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)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a resource loading and packing method, device, equipment and medium. The resource loading method comprises the following steps: acquiring a target identification library file in a target sub-resource packet corresponding to a target subprogram; the target sub-resource package comprises resources required by the target sub-program, and the target identification library file is stored with resource identifications of the resources and resource types of the resources in a correlated manner; inquiring a target resource type stored in association with the target resource identifier in the target identifier library file; the target resource identification is the resource identification of the target resource to be loaded; and loading the target resource according to a target loading mode corresponding to the target resource type. According to the embodiment of the disclosure, the loading speed of the resource can be improved.

Description

Resource loading and packing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for resource loading and packing.
Background
With the rapid development of the internet technology, an application program is opened through an application client installed in electronic equipment and information interaction is performed, so that the requirement of convenience for people to acquire information cannot be met, and a small program is produced at the right moment. The small program can be issued from the server, and can be executed in a specific container without installation, so that the information interaction mode of the user through the application program is more convenient.
When a user runs an applet on the electronic device through a host program, the electronic device needs to query and load required resources in a local storage space, if the applet has more resources, certain query time is needed, and the loading speed of the resources is reduced.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the present disclosure provides a resource loading and packing method, apparatus, device, and medium.
In a first aspect, the present disclosure provides a resource loading method, including:
acquiring a target identification library file in a target sub-resource packet corresponding to a target subprogram; the target sub-resource package comprises resources required by the target sub-program, and the target identification library file is stored with resource identifications of the resources and resource types of the resources in a correlated manner;
inquiring a target resource type stored in association with the target resource identifier in the target identifier library file; the target resource identification is the resource identification of the target resource to be loaded;
and loading the target resource according to a target loading mode corresponding to the target resource type.
In a second aspect, the present disclosure provides a resource packaging method, including:
acquiring a resource identifier of a resource required by a target subprogram and a resource type of the resource;
storing the resource identification and the resource type association in a target identification library file;
and packaging the resource and target identification library files to obtain a target sub-resource package corresponding to the target sub-program.
In a third aspect, the present disclosure provides a resource loading apparatus, including:
the first acquisition module is used for acquiring a target identification library file in a target sub-resource packet corresponding to a target subprogram; the target sub-resource package comprises resources required by the target sub-program, and the target identification library file is stored with resource identifications of the resources and resource types of the resources in a correlated manner;
the first query module is used for querying a target resource type stored in association with the target resource identifier in the target identifier library file; the target resource identification is the resource identification of the target resource to be loaded;
and the first loading module is used for loading the target resource according to the target loading mode corresponding to the target resource type.
In a fourth aspect, the present disclosure provides a resource packaging apparatus, including:
the second acquisition module is used for acquiring the resource identifier of the resource required by the target subprogram and the resource type of the resource;
the first storage module is used for storing the resource identifier and the resource type association in a target identifier library file;
and the first packing module is used for packing the resource and the target identification library file to obtain a target sub-resource package corresponding to the target sub-program.
In a fifth aspect, the present disclosure provides a computing device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the resource loading method according to the first aspect or the resource packing method according to the second aspect.
In a sixth aspect, the present disclosure provides a storage medium, wherein the instructions of the storage medium, when executed by a processor of a computing device, enable the computing device to perform the resource loading method according to the first aspect or the resource packaging method according to the second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the resource loading and packing method, device, equipment and medium of the embodiments of the present disclosure can obtain a target identifier library file in a target sub-resource package corresponding to a target sub-program, and query, in the target identifier library file, a target resource type stored in association with a target resource identifier of a target resource to be loaded, and further load the target resource according to a target loading manner corresponding to the target resource type.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is an architecture diagram of a resource process provided by one embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a resource loading method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a resource loading method according to another embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a resource packaging method according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a resource packaging process according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a resource loading apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a resource packaging apparatus according to an embodiment of the present disclosure;
fig. 8 is a hardware structure diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
The resource loading and packing method provided by the present disclosure may be applied to the architecture of fig. 1, and is specifically described in detail with reference to fig. 1.
FIG. 1 illustrates an architecture diagram of resource handling provided by one embodiment of the present disclosure.
As shown in fig. 1, the resource processing architecture may include at least one electronic device 110 at a client and a server 120 at a server, where the server 120 may establish a communication connection with each electronic device 110 and perform information interaction, for example, the electronic device 110 may obtain a resource package related to an applet from the server 120. The electronic device 110 may be a mobile phone, a tablet computer, a desktop computer, a notebook computer, a vehicle-mounted terminal, or other devices with a communication function. The server 11 may be a device having storage and computing functions.
Based on the above structure, when a user opens an applet on the electronic device 110 through an application or a web page, the application or the web page may become a host program of the applet.
Based on the above architecture, when the user runs the applet on the electronic device through the host program, the resource required by the applet needs to be loaded. At present, electronic equipment needs to query and load resources required by an applet in an overall resource package of the applet stored in a local storage space, taking an applet developed based on a Cocos Creator (a game development tool with content creation as a core) engine as an example, resources required by a main program and a subprogram of the applet are packaged in an overall resource package, so that the electronic equipment needs to query and load each resource required by the main program or the subprogram in the overall resource package, if the resources of the applet are more, the resource query needs a certain time, and the resource loading speed is reduced.
Thus, in order to increase the loading speed of the resource, the resource can be loaded in the following manner. When a user runs a target sub-program in a target applet on the electronic device 110 through a host program, the electronic device 110 may first obtain a target identifier library file in a target sub-resource package corresponding to the target sub-program, where the target sub-resource package may include resources required by the target sub-program, and the target identifier library file may be associated with a resource identifier storing the resources required by the target sub-program and a resource type of the resources; next, the electronic device 110 may query, in the target identifier library file, a target resource type stored in association with a target resource identifier, where the target resource identifier may be a resource identifier of a target resource to be loaded; finally, the electronic device 110 may load the target resource according to the target loading manner corresponding to the target resource type.
In this way, the electronic device 110 uses the target identifier library file corresponding to the target subprogram to quickly find the target resource type of the target resource, thereby implementing sub-packet loading on the target resource required by the target subprogram and improving the loading speed of the resource.
Accordingly, in order to implement sub-packet loading on the resource required by the sub-program, before the electronic device 110 obtains the target sub-resource packet corresponding to the target sub-program from the server 120, the server 120 may perform sub-packet packaging on the resource required by the target sub-program. Specifically, the server 120 may perform the packing process on the resources required by the target subroutine in the following manner. The server 120 may first obtain a resource identifier of a resource and a resource type of the resource required by the target subprogram; then, storing the resource identification and the resource type association in a target identification library file; and finally, packaging the resource and target identification library files to obtain a target sub-resource package corresponding to the target sub-program.
Therefore, the server 120 can perform sub-packet packaging on the resources required by the target subprogram, so that the electronic device 110 can search the target resource type corresponding to the target resource identifier of the target resource to be loaded when the target subprogram is operated by using the target identifier library file in the target subprogram corresponding to the target subprogram, thereby implementing sub-packet packaging loading on the target resources required by the target subprogram and improving the loading speed of the resources.
In some embodiments of the present disclosure, in a scenario where a user runs an applet of a teaching platform through an electronic device, a target applet may be the teaching applet, a target subprogram may be a subprogram for the user to learn purchased course contents in the teaching applet, resources required by the target subprogram may be the course contents such as pictures and videos, and a target resource to be loaded may be the course contents such as pictures and videos to be loaded.
According to the above architecture and application scenario, the resource loading method provided by the embodiment of the present disclosure is described in detail below with reference to fig. 2 and fig. 3.
Fig. 2 shows a flowchart of a resource loading method according to an embodiment of the present disclosure.
In some embodiments of the present disclosure, the method illustrated in fig. 2 may be performed by an electronic device, such as electronic device 110 illustrated in fig. 1.
As shown in fig. 2, the resource loading method may include the following steps.
S210, acquiring a target identification library file in a target sub-resource packet corresponding to the target sub-program.
In the embodiment of the present disclosure, the target sub-resource package may include resources required by the target sub-program in the target applet, and the resources required by the target sub-program refer to resources necessary for running the target sub-program, that is, resources required for running other sub-programs than the target sub-program in the target applet are not stored in the target sub-resource package. Specifically, the resources required by the target sub program may include at least one of a picture, text, video, and audio.
Taking the target sub program as a sub program in the teaching applet for the user to learn the purchased course content as an example, the resources required by the target sub program may include at least one of teaching pictures, teaching texts, teaching videos and teaching audios related to the course content that the user has purchased.
In the embodiment of the present disclosure, the target identifier library file may store the resource identifier of the resource and the resource type of the resource in an associated manner. The resource may be a resource required by the target sub-program.
Optionally, the resource Identifier may be a Universal Unique Identifier (UUID) of the resource, and one resource corresponds to one resource Identifier.
Alternatively, the resource types may include a picture type, a text type, a video type, an audio type, and the like, that is, the resource types are used to represent file types of the resources.
Continuing with the applet developed based on the Cocos Creator Engine as an example, the target markup library file may be a JavaScript (JS) file. The JavaScript is a client-side scripting language which is based on object and event driving and has relative safety.
In some embodiments of the present disclosure, in a case that the target sub-resource package is an uncompressed package, the electronic device may directly obtain the target identifier library file in the target sub-resource package.
In other embodiments of the present disclosure, in a case that the target sub-resource package is a compressed package, the electronic device may first decompress the target sub-resource package to obtain a decompressed target sub-resource package, and then obtain a target identifier library file in the decompressed target sub-resource package.
S220, inquiring the target resource type stored in association with the target resource identifier in the target identifier library file.
In some embodiments of the present disclosure, the target resource identification may be a resource identification of the target resource to be loaded.
In some embodiments, the target resource to be loaded may be a resource contained in a sub-program page when the sub-program page corresponding to the target sub-program is opened.
In other embodiments, the target resource to be loaded may be a resource to be opened selected by the user in the sub-program page corresponding to the target sub-program.
In other embodiments of the present disclosure, a target package corresponding to a target subprogram may be configured with a configuration file, a resource identifier corresponding to each node in the target package may be stored in the configuration file, and the resource identifier stored in the configuration file is a resource identifier of a resource required by the target subprogram.
Continuing with the applet developed based on the Cocos Creator engine as an example, the configuration file may be the configuration file of the pre-fab (prefab) corresponding to the target sub-program.
Optionally, the target package may include at least one of:
a target sub program package corresponding to the target sub program and a target main program package corresponding to a target main program to which the target sub program belongs.
Specifically, the target sub program package is a program package for running the target sub program, and the target main program package is a program package for running the target main program.
Under the condition that the target program package comprises the target subprogram package and the target main program package, resources corresponding to each node in the target subprogram package and the target main program package are packaged in the same target subprogram resource package, and then the resources required by the target subprogram can be stored in the same target subprogram resource package, so that the resources can be conveniently searched, and the loading speed of the resources is further improved.
In some embodiments, when the target resource to be loaded is a resource included in a sub program page when the sub program page corresponding to the target sub program is opened, before S220, the resource loading method may further include:
acquiring a configuration file of a target program package corresponding to a target subprogram;
and traversing the resource identification corresponding to the node in the target program package in the configuration file to obtain the target resource identification.
Specifically, after obtaining the configuration file of the target package corresponding to the target subprogram, the electronic device may traverse resource identifiers corresponding to all nodes in the target package in the configuration file, take all nodes as target nodes, take resource identifiers corresponding to all nodes as target resource identifiers, and further obtain the target resource identifiers.
Therefore, when the sub program page corresponding to the target sub program is opened, the resources contained in the sub program page can be quickly loaded, the loading time in the sub program page is reduced, and the use experience of a user is further improved.
In other embodiments, in a case that the target resource to be loaded is a resource that needs to be opened and is selected by the user in the sub-program page corresponding to the target sub-program, before S220, the resource loading method may further include:
acquiring a configuration file of a target program package corresponding to a target subprogram;
and in the configuration file, inquiring the resource identifier corresponding to the node selected by the user in the target program package to obtain the target resource identifier.
Specifically, the electronic device may receive a selection operation of a user in a sub-program page, determine a node selected by the user in the target program package based on the selection operation, then, after obtaining a configuration file of the target program package corresponding to the target sub-program, query a resource identifier corresponding to the node selected by the user in the target program package in the configuration file, regard the node selected by the user as a target node, regard a resource identifier corresponding to the node selected by the user as a target resource identifier, and further obtain the target resource identifier.
Therefore, when the resource which needs to be opened and is selected by the user is opened, the resource can be quickly loaded, the loading time of the resource is reduced, and the use experience of the user is further improved.
And S230, loading the target resource according to the target loading mode corresponding to the target resource type.
In some embodiments of the present disclosure, because of the loading manners corresponding to different resource types, after querying a target resource type stored in association with a target resource identifier, the electronic device may obtain and load a target resource from the target sub-resource package according to the target loading manner corresponding to the target resource type.
In other embodiments of the present disclosure, because different resource types correspond to different loading manners and different operating system types correspond to different resource formats, in order to enable different system types to load a required resource through the same target sub-resource package and improve the universality of the target sub-resource package, the target sub-resource package may include the same resource in different resource formats, so that different system types can load the resource. After querying the target resource type stored in association with the target resource identifier, the electronic device needs to determine the target system type of the operating system running the target subprogram, and further obtains and loads the target resource in the target resource format corresponding to the target system type from the target subprogram according to the target loading mode corresponding to the target resource type.
Optionally, before S230, the resource loading method may further include:
determining a target resource format corresponding to the type of the target system; the target system type is the system type of an operating system for running the target subprogram;
accordingly, S230 may specifically include:
and loading the target resource in the target resource format according to the target loading mode.
Specifically, after querying the target resource type stored in association with the target resource identifier, the electronic device may further determine a target resource format that can be loaded by the target resource of the target resource type in the target system type, and further obtain and load the target resource of the target resource format corresponding to the target system type from the target sub-resource package according to a target loading manner corresponding to the target resource type.
Alternatively, the system type may include any one of an android system, an ios system, and a web system.
Under the condition that the system type is an android system or an ios system, a user can open an applet on the electronic equipment through an application program; in the case where the system type is a web system, the user may open an applet on the electronic device through an application or web page.
Optionally, in the case that the resource type of the resource is a picture, the resource format may include png format, pvrtc4 format, etc.; in the case that the resource type of the resource is a video, the resource format may include mp4 format, avi format, mov format, and the like; in the case where the resource type of the resource is audio, the resource format may include an mp3 format, a wav format, a flac format, and the like; in the case where the resource type of the resource is text, the resource format may include txt format, doc format, and the like.
Taking the resource type of the resource as an example, the ios system may use the picture in pvrtc4 format, the android system may use the picture in etc2 format, and the web system may use the picture in png format, that is, different system types may correspond to different resource formats.
Therefore, the same sub-package can support the resource texture compression of different system platforms, the purposes of high loading speed and small memory occupation can be achieved under the condition that the resource quantity of each system platform is large, and even low-end electronic equipment can smoothly experience courses.
In summary, in the embodiment of the present disclosure, a target identifier library file in a target sub-resource package corresponding to a target sub-program can be obtained, and a target resource type stored in association with a target resource identifier of a target resource to be loaded is queried in the target identifier library file, so as to load the target resource according to a target loading manner corresponding to the target resource type. In addition, when the target applet to which the target subprogram belongs is an applet developed based on the Cocos Creator engine, a multi-sub-packet loading mechanism realized by the Cocos Creator engine can be used, so that the problem that the current Cocos Creator engine cannot realize multi-sub-packet loading is solved.
Fig. 3 shows a flowchart of a resource loading method according to another embodiment of the present disclosure.
In some embodiments of the present disclosure, the method illustrated in fig. 3 may be performed by an electronic device, such as electronic device 110 illustrated in fig. 1.
As shown in fig. 3, the resource loading method may include the following steps.
And S310, inquiring a target storage path corresponding to the target sub-resource packet.
In some embodiments of the present disclosure, a user may input a first input for opening a target sub program in a host program on an electronic device, and after receiving the first input, the electronic device may obtain a program identifier of the target sub program in response to the first input, and further query, based on the program identifier of the target sub program, a target storage path of a target sub resource package corresponding to the target sub program.
Alternatively, the first input may be a click input, a long-press input, or a double-click input to the program icon of the target sub-program within the program interface of the host program, which is not limited herein.
Alternatively, the program identification of the target subprogram may be an identification number (ID) of the target subprogram.
In other embodiments of the disclosure, the user may input a second input for opening the target sub program in the target main program of the target applet on the electronic device, and after receiving the second input, the electronic device may obtain the program identifier of the target sub program in response to the second input, and further query, based on the program identifier of the target sub program, the target storage path of the target sub resource package corresponding to the target sub program.
Alternatively, the second input may be a click input, a long press input, or a double click input to the program icon of the target sub program within the program interface of the target main program, which is not limited herein.
Optionally, the target main program may be run by the target process, and after the electronic device receives the second input and before S310, the resource loading method may further include:
receiving a subprogram running request sent by a target process through a preset system language interface; and the subprogram running request comprises the program identification of the target subprogram.
Accordingly, S310 may specifically include:
and responding to the subprogram running request, and inquiring a target storage path corresponding to the program identifier of the target subprogram.
Specifically, after the electronic device receives the second input, the target process may create a new process, where the new process is used to run the target subprogram, after the new process is created, the target process may send a subprogram running request to the new process through a preset system language interface, and after the new process receives the subprogram running request, the new process may respond to the subprogram running request and parse the subprogram running request to obtain subprogram running request information, where the subprogram running request information may include a program identifier of the target subprogram, so that the new process may query a target storage path corresponding to the program identifier of the target subprogram, and perform subsequent steps.
Therefore, in the embodiment of the disclosure, the target subprogram can be operated in different processes of the target main program, so that different program modules in the applet are safely isolated, and the operation safety of each program module in the applet is improved.
Alternatively, the preset system language interface may be an interface set according to an interface definition language corresponding to the target system type.
Taking the Android system as an example, data communication can be performed between processes of the Android system through an Android Interface Definition Language (AIDL) Interface, so as to realize memory sharing between the processes, and further integrate different program modules of the applet into a whole.
Taking a target applet as a teaching applet, a target main program as a program providing a main page of the teaching applet, and a target subprogram as a subprogram in the teaching applet for a user to learn contents of purchased courses, the target main program can be run by one process, when the user clicks a purchased course in the main page, the process running the target main program creates a new process, and realizes communication with the new process through an AIDL interface, so as to send user information (user account information) and course information (program identification of the target subprogram to which the clicked purchased course belongs) to the new process, and the new process can obtain a target subprogram corresponding to the target subprogram through the program identification of the target subprogram and load the target subprogram.
In other embodiments of the present disclosure, S310 may specifically include:
and inquiring a target storage path corresponding to the target sub-resource packet from a plurality of pre-stored storage paths.
Specifically, when the system type is an android system or an ios system, the target sub-resource package has a designated storage path, and the electronic device may query the storage path with the program identifier of the target sub-program from a plurality of pre-stored storage paths, and use the storage path with the program identifier of the target sub-program as the target storage path corresponding to the target sub-resource package.
Alternatively, the pre-stored storage path may be a sandbox path.
In still other embodiments of the present disclosure, S310 may specifically include:
inquiring the storage position of the target sub-resource packet in the storage space corresponding to the host program of the target sub-program;
and generating a target storage path according to the storage position of the target sub-resource packet.
Specifically, in the case that the system type is a web system, the target sub-resource package does not have a specified storage path, and the electronic device may sequentially traverse the storage location of the target sub-resource package in a storage space corresponding to the host program of the target sub-program, such as an installation directory and a decompression directory of the host program, and generate the target storage path according to the storage location of the target sub-resource package.
And S320, acquiring the target sub-resource packet according to the target storage path.
Specifically, after querying the target storage path, the electronic device may directly search and acquire the target sub-resource package according to the target storage path.
S330, acquiring a target identification library file in a target sub-resource packet corresponding to the target sub-program; the target sub-resource package comprises resources required by the target sub-program, and the resource identification of the resources and the resource types of the resources are stored in the target identification library file in an associated mode.
S340, inquiring a target resource type stored in association with the target resource identifier in the target identifier library file; the target resource identifier is a resource identifier of a target resource to be loaded.
And S350, loading the target resource according to the target loading mode corresponding to the target resource type.
S330-S350 are similar to S210-S230 shown in fig. 2, and are not described herein.
The resource packing method provided by the embodiment of the present disclosure is described in detail below with reference to fig. 4 and 5.
Fig. 4 shows a flowchart of a resource packaging method according to an embodiment of the present disclosure.
In some embodiments of the present disclosure, the method illustrated in fig. 4 may be performed by a server, such as server 120 illustrated in fig. 1.
As shown in fig. 4, the resource packaging method may include the following steps.
S410, acquiring the resource identification of the resource required by the target subprogram and the resource type of the resource.
In the embodiment of the present disclosure, the server may obtain the resource identifiers of all the resources required by the target sub program and the resource type of each resource.
And S420, storing the resource identifier and the resource type in a target identifier library file in an associated manner.
In the embodiment of the present disclosure, the server may store the resource identifiers and the resource type associations of all the resources required by the target sub-program in the target identifier library file.
In the case where the resource identifier is a UUID of the resource, the target identifier repository file may be a UUID repository file.
S430, packaging the resource and target identification library files to obtain a target sub-resource package corresponding to the target sub-program.
In some embodiments of the present disclosure, before S430, the resource packaging method may further include:
packaging the resources corresponding to each target program package to obtain a program resource package corresponding to each target program package; wherein, the target program package is a program package corresponding to the target subprogram;
accordingly, S430 may specifically include:
and packaging the program resource package and the target identification library file to obtain a target sub-resource package.
Optionally, the target package may include at least one of:
a target sub program package corresponding to the target sub program and a target main program package corresponding to a target main program to which the target sub program belongs.
Specifically, under the condition that the target program package only includes the target sub-program package, the server may package resources corresponding to the target sub-program package to obtain a target sub-resource package; under the condition that the target program package only comprises the target main program package, the server can package resources corresponding to the target main program package to obtain a target sub-resource package; under the condition that the target program package comprises the target sub-program package and the target main program package, the server can package resources corresponding to the target sub-program package to obtain a program resource package corresponding to the target sub-program package, and then package the program resource package corresponding to the target sub-program package and the resources corresponding to the target main program package to obtain the target sub-resource package, so that a multi-sub-package loading function can be realized.
In other embodiments of the present disclosure, after S430, the resource packaging method may further include:
and compressing the target sub-resource packet to obtain a compressed target sub-resource packet.
Specifically, after obtaining the target sub-resource packet corresponding to the target subprogram, the server may further compress the target sub-resource packet, so as to reduce the space occupation amount of the target sub-resource packet.
In some embodiments of the present disclosure, before S430, the resource packaging method may further include:
performing format conversion on the resources to obtain at least one converted resource; wherein, one converted resource corresponds to one resource format, and one resource format corresponds to one system type of the operating system;
accordingly, S430 may specifically include:
and packaging the resources, the converted resources and the target identification library file to obtain a target sub-resource package corresponding to the target sub-program.
Specifically, the server may first perform format conversion on the resource to obtain at least one converted resource, and then package the resource, the converted resource, and the target identifier library file, so that the target sub-resource package obtained by packaging may support different system platforms.
Taking the resource type of the resource as an example, the server may further compress and convert the resource in the png format into the resources in the pvrtc4 format and the etc2 format, and further pack the resources in the png format, the pvrtc4 format and the etc2 format into one resource packet at the same time.
In summary, in the embodiment of the present disclosure, the resource identifier of the resource and the resource type of the resource required by the target sub-program can be obtained, and the resource identifier and the resource type are stored in the target identifier library file in an associated manner, so as to package the resource and the target identifier library file, obtain the target sub-resource package corresponding to the target sub-program, and perform sub-packet packaging on the resource required by the target sub-program, so that the target identifier library file in the target sub-resource package corresponding to the target sub-program can be used to search for the target resource type corresponding to the target resource identifier of the target resource to be loaded when the target sub-program is run, thereby implementing sub-packet loading on the target resource required by the target sub-program, and improving the loading speed of the resource.
In the following, a resource packaging flow will be described in detail with a specific example.
Fig. 5 is a schematic diagram illustrating a resource packaging process according to an embodiment of the present disclosure.
As shown in fig. 5, a python script resource packaging process implemented by means of the cocorecreator engine may specifically include:
when a main resource packet corresponding to a main program of the small program is packaged, all resources required by the small program are copied to a temporary directory, then only resources required by the main program are reserved, a project is constructed by using the reserved resources to obtain a main resource packet, then an engine file in the main resource packet is deleted, the packaging of the resources required by the main program is completed, and finally, the main resource packet can be compressed to obtain the compressed main resource packet.
When a sub-resource package corresponding to a sub-program of the small program is packaged, all resources required by the small program are copied to a temporary directory, then only resources required by the sub-program to be packaged are reserved, the package name of the sub-resource package is modified, then a project is constructed by using the reserved resources, the sub-resource package is obtained, then an engine file in the sub-resource package is deleted, and the sub-resource package after primary packaging is obtained. After the primarily packaged sub-resource package is obtained, all resources required by the main program need to be copied to the temporary directory, then, a project is reconstructed by using the primarily packaged sub-resource package and all resources required by the main program, the reconstructed sub-resource package is obtained, the package name of the sub-resource package is modified again, then, an engine file in the reconstructed sub-resource package is deleted, a target identification library file is established, the target identification library file is added into the reconstructed sub-resource package, packaging of all resources required by the sub-program is completed, and finally, the reconstructed sub-resource package can be compressed, and the compressed sub-resource package is obtained.
Specifically, after the preliminarily packaged sub-resource package is obtained, format conversion needs to be performed on the resource to obtain at least one converted resource, and then the resource, the converted resource, and the target identifier library file are packaged to obtain a target sub-resource package corresponding to the target sub-program. Taking the resource type of the resource as an example, the resource in the png format may be included in the sub-resource package after the initial packaging, and then the resource in the png format may be further compressed and converted into the resources in the pvrtc4 format and the etc2 format, so that when the project is reconstructed, the resources in the png format, the pvrtc4 format and the etc2 format are packaged in one resource package at the same time.
Therefore, in the embodiment of the disclosure, the automatic packaging of the python script can be realized by depending on the Cocoscreator engine, the problem of long time for packaging multiple lessons is solved, the packaging time is greatly saved, and the problem of incompatibility of the Cocoscreator engine to the packaging of multiple sub-packages is solved.
To sum up, the resource loading and packing method provided by the embodiment of the disclosure can solve the problem that the Cocos Creator engine does not support multi-sub-packet loading per se and the same sub-packet supports resource texture compression of different system platforms at the same time, and the Cocos Creator engine has a multi-sub-packet loading function by performing secondary development on the resource and script loading mode, and the same sub-packet supports different system platforms, and realizes script automatic packing, i.e., resources required by one or more different program packets can be combined into one sub-resource packet by using a python script, thereby successfully realizing the purpose of faster multi-course packet loading, flexible combination of course structure and content, and sub-packet loading speed.
Fig. 6 shows a schematic structural diagram of a resource loading apparatus according to an embodiment of the present disclosure.
In some embodiments of the present disclosure, the apparatus shown in fig. 6 may be applied to an electronic device, such as the electronic device 110 shown in fig. 1.
As shown in fig. 6, the resource loading apparatus 600 may include a first obtaining module 610, a first querying module 620 and a first loading module 630.
The first obtaining module 610 may be configured to obtain a target identifier library file in a target sub-resource package corresponding to a target sub-program; the target sub-resource package comprises resources required by the target sub-program, and the resource identification of the resources and the resource types of the resources are stored in the target identification library file in an associated mode.
The first query module 620 is configured to query, in the target identifier library file, a target resource type stored in association with the target resource identifier; the target resource identifier is a resource identifier of a target resource to be loaded.
The first loading module 630 is configured to load the target resource according to a target loading manner corresponding to the target resource type.
In the embodiment of the disclosure, a target identifier library file in a target sub-resource package corresponding to a target sub-program can be acquired, and a target resource type stored in association with a target resource identifier of a target resource to be loaded is queried in the target identifier library file, so that the target resource is loaded according to a target loading mode corresponding to the target resource type.
In some embodiments of the present disclosure, the resource loading apparatus 600 may further include a second query module and a third obtaining module.
The second query module may be configured to query a target storage path corresponding to the target child resource package.
The third obtaining module may be configured to obtain the target child resource package according to the target storage path.
In some embodiments of the present disclosure, the resource loading apparatus 600 may further include a first receiving module, where the first receiving module may be configured to receive a sub-program running request sent by the target process through a preset system language interface; and the subprogram running request comprises the program identification of the target subprogram.
Accordingly, the second query module may be specifically configured to: and querying the program identification corresponding to the target subprogram.
In other embodiments of the present disclosure, the second query module may be specifically configured to: and inquiring a target storage path corresponding to the target sub-resource packet from a plurality of pre-stored storage paths.
In still other embodiments of the present disclosure, the second query module may include a location query unit and a path generation unit.
The location query unit may be configured to query a storage location of the target sub-resource package in a storage space corresponding to the host program of the target sub-program.
The path generating unit may be configured to generate a target storage path according to the storage location of the target sub-resource packet.
In some embodiments of the present disclosure, the resource loading apparatus 600 may further include a fourth obtaining module and an identification traversing module.
The fourth obtaining module may be configured to obtain a configuration file of the target package corresponding to the target sub-program.
The identifier traversal module may be configured to traverse the resource identifier corresponding to the node in the target package in the configuration file to obtain the target resource identifier.
In some embodiments of the present disclosure, the target package may include at least one of:
a target sub program package corresponding to the target sub program and a target main program package corresponding to a target main program to which the target sub program belongs.
In some embodiments of the present disclosure, the resource loading apparatus 600 may further include a format determining module, where the format determining module may be configured to determine a target resource format corresponding to a target system type; wherein the target system type is the system type of the operating system running the target subprogram.
Accordingly, the first loading module 630 may be specifically configured to: and loading the target resource in the target resource format according to the target loading mode.
It should be noted that the resource loading apparatus 600 shown in fig. 6 may execute each step in the method embodiments shown in fig. 2 and fig. 3, and implement each process and effect in the method embodiments shown in fig. 2 and fig. 3, which is not described herein again.
Fig. 7 shows a schematic structural diagram of a resource packaging apparatus according to an embodiment of the present disclosure.
In some embodiments of the present disclosure, the apparatus shown in fig. 7 may be applied to a server, such as the server 120 shown in fig. 1.
As shown in fig. 7, the resource packaging apparatus 700 may include a second obtaining module 710, a first storing module 720 and a first packaging module 730.
The second obtaining module 710 may be configured to obtain a resource identifier of a resource required by the target sub-program and a resource type of the resource.
The first storage module 720 may be configured to store the resource identification and resource type association in a target identification library file.
The first packing module 730 may be configured to pack the resource and target identifier library files to obtain a target sub-resource package corresponding to the target sub-program.
In the embodiment of the disclosure, the resource identifier of the resource and the resource type of the resource required by the target subprogram can be obtained, and the resource identifier and the resource type are stored in the target identifier library file in an associated manner, so that the resource and the target identifier library file are packaged to obtain the target subprogram corresponding to the target subprogram, and the resource required by the target subprogram is packaged in a sub-packet manner, so that the target identifier library file in the target subprogram corresponding to the target subprogram can be used to search for the target resource type corresponding to the target resource identifier of the target resource to be loaded when the target subprogram is operated, the sub-packet loading of the target resource required by the target subprogram is realized, and the loading speed of the resource is improved.
In some embodiments of the present disclosure, the resource packaging apparatus 700 may further include a second packaging module, where the second packaging module may be configured to package the resource corresponding to each target program package to obtain a program resource package corresponding to each target program package; and the target program package is a program package corresponding to the target subprogram.
Accordingly, the first packetizing module 730 may be specifically configured to: and packaging the program resource package and the target identification library file to obtain a target sub-resource package.
In some embodiments of the present disclosure, the target package may include at least one of:
a target sub program package corresponding to the target sub program and a target main program package corresponding to a target main program to which the target sub program belongs.
In some embodiments of the present disclosure, the resource packaging apparatus 700 may further include a format conversion module, where the format conversion module may be configured to perform format conversion on the resource to obtain at least one converted resource; one converted resource corresponds to one resource format, and one resource format corresponds to one system type of the operating system.
Accordingly, the first packetizing module 730 may be specifically configured to: and packaging the resources, the converted resources and the target identification library file to obtain a target sub-resource package corresponding to the target sub-program.
It should be noted that the resource packaging apparatus 700 shown in fig. 7 may perform each step in the method embodiments shown in fig. 4 and fig. 5, and implement each process and effect in the method embodiments shown in fig. 4 and fig. 5, which are not described herein again.
Fig. 8 shows a hardware structure diagram of a computing device according to an embodiment of the present disclosure.
As shown in fig. 8, the computing device may include a processor 801 and a memory 802 that stores computer program instructions.
Specifically, the processor 801 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 802 may include a mass storage for information or instructions. By way of example, and not limitation, memory 802 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 802 may include removable or non-removable (or fixed) media, where appropriate. Memory 802 may be internal or external to the integrated gateway device, where appropriate. In a particular embodiment, the memory 802 is a non-volatile solid-state memory. In a particular embodiment, the Memory 802 includes a Read-Only Memory (ROM). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (Electrically Erasable PROM, EPROM), Electrically Erasable PROM (Electrically Erasable PROM, EEPROM), Electrically Alterable ROM (Electrically Alterable ROM, EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor 801 reads and executes the computer program instructions stored in the memory 802 to perform the steps of the resource loading method or the resource packaging method provided by the embodiments of the present disclosure.
In one example, the computing device may also include a transceiver 803 and a bus 804. As shown in fig. 8, the processor 801, the memory 802, and the transceiver 803 are connected via a bus 804 to complete communication with each other.
Bus 804 includes hardware, software, or both. By way of example, and not limitation, a BUS may include an Accelerated Graphics Port (AGP) or other Graphics BUS, an Enhanced Industry Standard Architecture (EISA) BUS, a Front-Side BUS (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) BUS, an InfiniBand interconnect, a Low Pin Count (LPC) BUS, a memory Bus, a Micro Channel Architecture (MCA) Bus, a Peripheral Component Interconnect (PCI) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a Video Electronics Standards Association Local Bus (VLB) Bus, or other suitable Bus, or a combination of two or more of these. Bus 804 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The disclosed embodiments also provide a storage medium, such as the memory 802 including instructions, that are executable by the processor 802 of the computing device to perform the resource loading method or the resource packing method provided by the disclosed embodiments. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a Compact disc read only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (16)

1. A method of resource loading, comprising:
acquiring a target identification library file in a target sub-resource packet corresponding to a target subprogram; the target sub-resource package comprises resources required by the target sub-program, and the target identification library file stores resource identifications of the resources and resource types of the resources in an associated manner;
inquiring a target resource type stored in association with a target resource identifier in the target identifier library file; the target resource identifier is a resource identifier of a target resource to be loaded;
and loading the target resource according to a target loading mode corresponding to the target resource type.
2. The method according to claim 1, wherein before the obtaining of the target identifier library file in the target sub-resource package corresponding to the target sub-program, the method further comprises:
inquiring a target storage path corresponding to the target sub-resource packet;
and acquiring the target sub-resource packet according to the target storage path.
3. The method according to claim 2, wherein before the obtaining of the target identifier library file in the target sub-resource package corresponding to the target sub-program, the method further comprises:
receiving a subprogram running request sent by a target process through a preset system language interface; wherein the subprogram running request comprises a program identifier of the target subprogram;
wherein, the querying the target storage path corresponding to the target sub-resource packet includes:
and querying the target storage path corresponding to the program identifier of the target subprogram.
4. The method of claim 2, wherein the querying the target storage path corresponding to the target child resource package comprises:
and inquiring the target storage path corresponding to the target sub-resource packet in a plurality of pre-stored storage paths.
5. The method of claim 2, wherein the querying the target storage path corresponding to the target child resource package comprises:
inquiring the storage position of the target sub-resource packet in a storage space corresponding to a host program of the target sub-program;
and generating the target storage path according to the storage position of the target sub-resource packet.
6. The method of claim 1, wherein prior to querying the target resource type stored in association with a target resource identity in the target identity library file, the method further comprises:
acquiring a configuration file of a target program package corresponding to the target subprogram;
and traversing the resource identification corresponding to the node in the target program package in the configuration file to obtain the target resource identification.
7. The method of claim 6, wherein the object package comprises at least one of:
and the target sub program package corresponding to the target sub program and the target main program package corresponding to the target main program to which the target sub program belongs.
8. The method according to claim 1, wherein before loading the target resource according to the target loading manner corresponding to the target resource type, the method further comprises:
determining a target resource format corresponding to the type of the target system; wherein the target system type is the system type of an operating system running the target subprogram;
wherein, the loading the target resource according to the target loading mode corresponding to the target resource type includes:
and loading the target resource in the target resource format according to the target loading mode.
9. A method of resource packaging, comprising:
acquiring a resource identifier of a resource required by a target subprogram and a resource type of the resource;
storing the resource identification and the resource type association in a target identification library file;
and packaging the resources and the target identification library file to obtain a target sub-resource package corresponding to the target sub-program.
10. The method of claim 9, wherein before the packaging the resource and the target identifier library file to obtain the target sub-resource package corresponding to the target sub-program, the method further comprises:
packaging the resources corresponding to each target program package to obtain a program resource package corresponding to each target program package; wherein, the target program package is a program package corresponding to the target subprogram;
wherein, the packaging the resource and the target identification library file to obtain the target sub-resource package corresponding to the target sub-program comprises:
and packaging the program resource package and the target identification library file to obtain the target sub-resource package.
11. The method of claim 10, wherein the object package comprises at least one of:
and the target sub program package corresponding to the target sub program and the target main program package corresponding to the target main program to which the target sub program belongs.
12. The method of claim 10, wherein before the packaging the resource and the target identifier library file to obtain the target sub-resource package corresponding to the target sub-program, the method further comprises:
performing format conversion on the resources to obtain at least one converted resource; wherein, one of the converted resources corresponds to one resource format, and one resource format corresponds to one system type of the operating system;
wherein, the packaging the resource and the target identification library file to obtain the target sub-resource package corresponding to the target sub-program comprises:
and packaging the resources, the converted resources and the target identification library file to obtain a target sub-resource package corresponding to the target sub-program.
13. A resource loading apparatus, comprising:
the first acquisition module is used for acquiring a target identification library file in a target sub-resource packet corresponding to a target subprogram; the target sub-resource package comprises resources required by the target sub-program, and the target identification library file stores resource identifications of the resources and resource types of the resources in an associated manner;
the first query module is used for querying a target resource type stored in association with a target resource identifier in the target identifier library file; the target resource identifier is a resource identifier of a target resource to be loaded;
and the first loading module is used for loading the target resource according to a target loading mode corresponding to the target resource type.
14. A resource packaging apparatus, comprising:
the second acquisition module is used for acquiring the resource identifier of the resource required by the target subprogram and the resource type of the resource;
the first storage module is used for storing the resource identifier and the resource type association in a target identifier library file;
and the first packing module is used for packing the resources and the target identification library file to obtain a target sub-resource package corresponding to the target sub-program.
15. A computing device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the resource loading method of any one of claims 1 to 8 or the resource packaging method of any one of claims 9 to 12.
16. A storage medium in which instructions, when executed by a processor of a computing device, enable the computing device to perform the resource loading method of any of claims 1 to 8 or the resource packaging method of any of claims 9 to 12.
CN202010973142.1A 2020-09-16 2020-09-16 Resource loading and packing method, device, equipment and medium Pending CN112035187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010973142.1A CN112035187A (en) 2020-09-16 2020-09-16 Resource loading and packing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010973142.1A CN112035187A (en) 2020-09-16 2020-09-16 Resource loading and packing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112035187A true CN112035187A (en) 2020-12-04

Family

ID=73590014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010973142.1A Pending CN112035187A (en) 2020-09-16 2020-09-16 Resource loading and packing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112035187A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356296A (en) * 2021-12-30 2022-04-15 上海米哈游璃月科技有限公司 Resource packaging method and device, electronic equipment and storage medium
CN114385143A (en) * 2021-12-30 2022-04-22 上海米哈游璃月科技有限公司 Resource file packaging method and device, electronic equipment and storage medium
CN115934654A (en) * 2023-02-03 2023-04-07 北京联合伟世科技股份有限公司 Packing method, device and equipment of experimental resources and storage medium
CN116029526A (en) * 2023-02-03 2023-04-28 北京联合伟世科技股份有限公司 Scheduling method, device, equipment and storage medium of experimental resources
CN116383136A (en) * 2023-02-03 2023-07-04 北京联合伟世科技股份有限公司 Experimental resource management method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203418A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 The method and device of resource is chosen according to system configuration
CN107291495A (en) * 2017-06-01 2017-10-24 努比亚技术有限公司 A kind of shared resource loading method, terminal and computer-readable recording medium
CN109582458A (en) * 2017-09-28 2019-04-05 北京国双科技有限公司 Resource information loading method, device, storage medium and processor
CN110244984A (en) * 2018-03-06 2019-09-17 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN111198730A (en) * 2018-10-30 2020-05-26 广州腾讯科技有限公司 Method, device, terminal and computer storage medium for starting sub-application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203418A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 The method and device of resource is chosen according to system configuration
CN107291495A (en) * 2017-06-01 2017-10-24 努比亚技术有限公司 A kind of shared resource loading method, terminal and computer-readable recording medium
CN109582458A (en) * 2017-09-28 2019-04-05 北京国双科技有限公司 Resource information loading method, device, storage medium and processor
CN110244984A (en) * 2018-03-06 2019-09-17 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN111198730A (en) * 2018-10-30 2020-05-26 广州腾讯科技有限公司 Method, device, terminal and computer storage medium for starting sub-application program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356296A (en) * 2021-12-30 2022-04-15 上海米哈游璃月科技有限公司 Resource packaging method and device, electronic equipment and storage medium
CN114385143A (en) * 2021-12-30 2022-04-22 上海米哈游璃月科技有限公司 Resource file packaging method and device, electronic equipment and storage medium
CN115934654A (en) * 2023-02-03 2023-04-07 北京联合伟世科技股份有限公司 Packing method, device and equipment of experimental resources and storage medium
CN116029526A (en) * 2023-02-03 2023-04-28 北京联合伟世科技股份有限公司 Scheduling method, device, equipment and storage medium of experimental resources
CN116383136A (en) * 2023-02-03 2023-07-04 北京联合伟世科技股份有限公司 Experimental resource management method, device, equipment and storage medium
CN116029526B (en) * 2023-02-03 2024-03-12 北京联合伟世科技股份有限公司 Scheduling method, device, equipment and storage medium of experimental resources

Similar Documents

Publication Publication Date Title
CN112035187A (en) Resource loading and packing method, device, equipment and medium
CN109885324B (en) Processing method, device, terminal and storage medium of application program installation package
CN109558525B (en) Test data set generation method, device, equipment and storage medium
CN107229559B (en) Detection method and device for testing integrity of service system
CN108984174A (en) Cross-platform application creation method, device, server and storage medium
CN105573734B (en) method and equipment for providing SDK file
CN110020358B (en) Method and device for generating dynamic page
CN110113391B (en) Client online method and device and client operation method and device
CN110825448A (en) Method, device, electronic equipment and storage medium for realizing mutual calling of multiple service modules
CN113407882A (en) Component generation method and device, computer-readable storage medium and electronic equipment
EP4300303A1 (en) Animation resource information processing method and apparatus, device, medium and product
CN112905933A (en) Page jump method and device, electronic equipment and storage medium
CN108279940A (en) A kind of module loading method and apparatus in web container
CN111428162A (en) Page screenshot method and device
CN113885935A (en) Resource packaging method and device, electronic equipment and computer readable storage medium
CN113873013B (en) Offline package reorganization method and system
CN109617708B (en) Compression method, device and system for embedded point log
CN109032693B (en) Method and device for loading display information, electronic equipment and readable storage medium
CN112286706B (en) Remote and rapid acquisition method for application information of android application and related equipment
CN108491232B (en) Method and system for loading control on voice conversation platform
CN111797270A (en) Audio playing method and device, electronic equipment and computer readable storage medium
CN112948264B (en) Method and device for executing test task, system, storage medium and electronic device
CN115061785A (en) Information issuing method and device, storage medium and server
KR20130103239A (en) Method, server and terminal for providing web browsing service having translation
CN110908958B (en) File processing method, device, terminal and storage medium

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