CN111309421B - Interface resource loading method and device, terminal and storage medium - Google Patents

Interface resource loading method and device, terminal and storage medium Download PDF

Info

Publication number
CN111309421B
CN111309421B CN202010086073.2A CN202010086073A CN111309421B CN 111309421 B CN111309421 B CN 111309421B CN 202010086073 A CN202010086073 A CN 202010086073A CN 111309421 B CN111309421 B CN 111309421B
Authority
CN
China
Prior art keywords
loading
resource
queue
theme
loaded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010086073.2A
Other languages
Chinese (zh)
Other versions
CN111309421A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010086073.2A priority Critical patent/CN111309421B/en
Publication of CN111309421A publication Critical patent/CN111309421A/en
Application granted granted Critical
Publication of CN111309421B publication Critical patent/CN111309421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/451Execution arrangements for user interfaces
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • 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/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • 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/44594Unloading

Abstract

The application provides a loading method, a loading device, a terminal and a storage medium of interface resources, and relates to the technical field of computers. The method comprises the following steps: determining to load a first resource in a user interface; adding the first resource to a load queue; acquiring a second resource to be loaded from the loading queue according to a resource loading sequence specified by the loading queue; the currently loaded resource in the user interface is removed, and a second resource is loaded in the user interface. According to the technical scheme provided by the embodiment of the application, the resources are loaded and unloaded according to the resource loading sequence specified by the loading queue, so that the loading and unloading of the multiple resources can be completed according to the request sequence, the problem of black screen caused by loading conflict due to simultaneous loading of the multiple resources is avoided, and the interface display effect is improved.

Description

Interface resource loading method and device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device, a terminal and a storage medium for loading interface resources.
Background
With the continuous development of terminal (such as mobile phone) technology, the terminal has become an essential necessity for people's daily work, life, entertainment and leisure. Games developed on the basis of terminals are becoming increasingly popular with a large number of users.
In the related art, when a user runs a client of a game application installed in a terminal, the client may display a user interface in which the user may select a theme to be applied by himself. When receiving a loading request of a target theme, the terminal may load the target theme first and then unload the currently loaded theme. However, when there are a plurality of topics to be loaded in a short time, a failure in loading the target topic requested to be loaded occurs, and the currently loaded topic is successfully unloaded, thereby causing a blank screen.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for loading interface resources, which can be used for avoiding the problem of black screen caused by loading failure and unloading success and improving the display effect of an interface. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for loading an interface resource, where the method includes:
determining to load a first resource in a user interface;
adding the first resource into a loading queue, wherein the loading queue is used for recording the resource to be loaded;
acquiring a second resource to be loaded from the loading queue according to a resource loading sequence specified by the loading queue;
and removing the currently loaded resource in the user interface, and loading the second resource in the user interface.
On the other hand, the embodiment of the application provides a method for loading an interface theme, which comprises the following steps:
displaying a user interface applying a first theme, wherein interface resources of the first theme are loaded in the user interface;
in response to a topic selection indication, displaying at least one candidate topic;
acquiring a selection instruction corresponding to a second theme in the at least one candidate theme;
replacing the interface resource of the first theme in the user interface with the interface resource of the second theme to obtain a user interface applying the second theme;
and after the second theme is added into the loading queue, loading according to the theme loading sequence specified by the loading queue.
In another aspect, an embodiment of the present application provides an interface resource loading apparatus, where the apparatus includes:
the resource determining module is used for determining that the first resource is loaded in the user interface;
the resource adding module is used for adding the first resource into a loading queue, and the loading queue is used for recording the resource to be loaded;
the resource acquisition module is used for acquiring a second resource to be loaded from the loading queue according to the resource loading sequence specified by the loading queue;
and the resource loading module is used for removing the currently loaded resource in the user interface and loading the second resource in the user interface.
In another aspect, an embodiment of the present application provides an interface theme loading apparatus, where the apparatus includes:
the interface display module is used for displaying a user interface applying a first theme, and interface resources of the first theme are loaded in the user interface;
a topic display module to display at least one candidate topic in response to a topic selection indication;
the instruction acquisition module is used for acquiring a selection instruction corresponding to a second theme in the at least one candidate theme;
the resource replacing module is used for replacing the interface resource of the first theme in the user interface with the interface resource of the second theme to obtain the user interface applying the second theme;
and after the second theme is added into the loading queue, loading according to the theme loading sequence specified by the loading queue.
In yet another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for loading the interface resource according to the above aspect, or implement the method for loading the interface theme according to the above aspect.
In yet another aspect, an embodiment of the present application provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the computer-readable storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the loading method for the interface resource according to the above aspect, or to implement the loading method for the interface theme according to the above aspect.
In a further aspect, an embodiment of the present application provides a computer program product, where the computer program product is used to implement the loading method of the interface resource described above, or implement the loading method of the interface theme described above when being executed by a processor.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the resources to be loaded are recorded in the loading queue, and the resources are loaded according to the specified resource loading sequence of the loading queue. Compared with the related art, when a loading request of a target subject is received, the loading and unloading processes are directly carried out. According to the technical scheme provided by the embodiment of the application, the resources are loaded and unloaded according to the resource loading sequence specified by the loading queue, so that the loading and unloading of the multiple resources can be completed according to the request sequence, the problem of black screen caused by loading conflict due to simultaneous loading of the multiple resources is avoided, and the interface display effect is improved.
Drawings
Fig. 1 is a flowchart of a loading method of an interface resource according to an embodiment of the present application;
FIG. 2 is a flowchart of a loading method for interface resources according to another embodiment of the present application;
FIG. 3 is a diagram illustrating a load queue according to the present application;
FIG. 4 is a schematic diagram illustrating another load queue of the present application;
FIG. 5 is a flowchart of a method for loading interface themes provided by an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a game lobby interface of the present application;
FIG. 7 is a flow chart illustrating a loading method of another interface theme of the present application;
FIG. 8 is a schematic diagram illustrating a subject loading scenario of the present application in an exemplary row;
FIG. 9 is a block diagram of an apparatus for loading interface resources provided in one embodiment of the present application;
FIG. 10 is a block diagram of an apparatus for loading interface resources according to another embodiment of the present application;
FIG. 11 is a block diagram of a loading device for interface themes provided by an embodiment of the present application;
FIG. 12 is a block diagram of a loading device for interface themes provided in another embodiment of the present application;
fig. 13 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are briefly described:
1. illusion Engine (Unreal Engine): the illusion engine is one of game engines, and the game engine refers to core components of some edited game systems or some interactive real-time image application programs, and the systems provide various tools required by game developers for designing games.
During the development of a game application, a game engine is often required so that a developer can design the game application more easily and quickly. When a game application program is run in a terminal, a game engine contained in the game application program is started first, and then the game engine calls resources such as images, sounds or animations and the like in the game application program to realize the building and display of a virtual environment in the game application program.
The illusion engine is developed by EPIC (electronic programmable computer) of a game company, is a complete game development platform facing next-generation game machines and DirectX personal computers, and provides a large amount of core technologies, data generation tools and basic support required by game developers. The ghost engines include a UE2(Unreal Engine 2, phantom 2) Engine, a UE3(Unreal Engine 3, phantom 3) Engine, a UE4(Unreal Engine 4, phantom 4) Engine, and so forth.
2. BluePrints (BluePrints): is a type of resource read by the illusion engine (e.g., the UE4 engine), which contains scripts and configuration parameters that are logically controlled in the game application and can be visually edited in the blueprint editor of the illusion engine. Typical blueprint resources include Level BluePrints (Level blue prints) and Class BluePrints (Class blue prints). Wherein, the level blueprint is used as a global event map of the level range; typically each level has its own level blueprint. Blueprints are an ideal type of interactive resource to create doors, switches, collectible items, destructible scenes, and the like.
The Level refers to every thing that a player sees, every thing that interacts with, and the world in which the player exists during the playing of the game, and can also be a scene Level (Level). In the illusion engine (e.g., UE4 engine), a scene checkpoint is composed of a set of Static Mesh objects (Static Mesh), volumes (Volume), lights (Light), and blueprints, and brings the player with the desired game experience. In a ghost engine (e.g., the UE4 engine), a level can be as large as a huge map world, or as small as a small level containing only a few objects (actors).
3. Lua: the script language has the characteristics of light weight, expandability, support of process-oriented programming and functional programming and the like. It can be used for game development under a ghost engine (e.g., UE4 engine), and can facilitate game hot patching by writing in the Lua scripting language, compared to the C + + programming language natively supported by the ghost engine (e.g., UE4 engine).
The loading method of the interface resource and the loading method of the interface theme provided by the application can be applied to a terminal, and the terminal can be a PC (Personal Computer), a mobile phone, a tablet Computer, an e-book reader, an electronic game machine, a Moving Picture Experts Group Audio Layer IV (MP 4) player, and the like.
The terminal may have installed therein a client of a target application, which may be a virtual environment-based application. Optionally, the target application supports a three-dimensional virtual environment. The application program can be any one of a virtual reality application program, a three-dimensional map program, a military simulation program and a game program, such as a TPS game, a First Person Shooter (FPS) game, a Multiplayer Online Battle Arena (MOBA) game and a Multiplayer gun Battle survival game. Alternatively, the target application may be a stand-alone game application, such as a stand-alone 3D game program; or may be a network online version of the game application. The embodiments of the present application do not limit this.
It should be noted that the loading method of the interface resource and the loading method of the interface theme provided in the embodiment of the present application may also be executed by a client of the above target application installed in the terminal.
The technical solution of the present application will be described below by means of several embodiments.
Referring to fig. 1, a flowchart of a loading method of an interface resource according to an embodiment of the present application is shown. In the present embodiment, the method is mainly applied to the client installed with the running target application program in the terminal described above for example. The method may include the steps of:
step 101, determining to load a first resource in a user interface.
The terminal can be provided with a client of the target application program. The target application has been described above and will not be described in detail here.
The user can run the client of the target application program, and the client can display the user interface. The user interface refers to an operation interface displayed to a user, and in the embodiment of the present application, the user interface refers to a user interface displayed in a target application program. Taking the target application as the game application as an example, the user interface may be a game lobby interface, a chat interface, a login interface, a mall interface, or the like, which is not limited in the embodiment of the present application.
Optionally, interface elements such as pictures, controls, models, text, etc. may be included in the user interface. The pictures included in the user interface refer to backgrounds displayed in the user interface; the control included in the user interface is used for the user to execute corresponding operation; a model in a user interface refers to an object displayed at the user interface; text in the user interface is used to assist in understanding what is currently displayed in the user interface.
The resources are used for controlling the visual style of the user interface, and the resources can comprise the interface elements such as the pictures, the controls, the models, the texts and the like. The style of the interface elements included by different resources may be different.
Optionally, the terminal may receive a loading request of the first resource, and determine to load the first resource in the user interface based on the loading request of the first resource.
Step 102, adding the first resource into a load queue.
After determining to load the first resource in the user interface, the first resource may be added to a load queue. The load queue is used for recording the resources to be loaded.
Optionally, the adding of the first resource into the load queue may be directly recording a load request of the first resource in the load queue, may also record identification information of the first resource in the load queue, and may also record any other information indicating that the first resource is loaded in the load queue, which is not limited in this embodiment of the present application.
And 103, acquiring a second resource to be loaded from the loading queue according to the resource loading sequence specified by the loading queue.
After the resources are added into the load queue, the resources to be loaded, such as the second resource to be loaded, may be determined from the load queue according to the loading order specified by the load queue.
The loading sequence specified by the loading queue may be a sequence in which resources to be loaded are added to the loading queue. In this case, the load queue may load the resources added to the queue first and then add the resources to the load queue after loading on a first-in-first-out basis. In some other embodiments, other loading orders may also be available, and this is not limited in this application embodiment.
It should be noted that only one resource can be taken out from the load queue at the same time, and before the taken-out resource is loaded, the next resource cannot be taken out from the load queue for loading.
Optionally, when there is a resource to be loaded in the load queue before adding the first resource into the load queue, in this case, the second resource may be a resource different from the first resource; when there is no resource to be loaded in the load queue before the first resource is added to the load queue, in this case, the second resource may be the same resource as the first resource.
And 104, removing the currently loaded resource in the user interface, and loading a second resource in the user interface.
After the second resource to be loaded is acquired from the loading queue, the currently loaded resource in the user interface may be removed, and the second resource is loaded in the user interface.
For example, taking a resource as an image, a currently loaded image in the user interface is an a image, and when determining that an image to be loaded is a B image according to a resource loading sequence specified by the loading queue, in this case, the currently loaded a image in the user interface may be unloaded, and the a image is displayed in the user interface by being replaced with the B image.
To sum up, in the technical solution provided in the embodiment of the present application, resources to be loaded are recorded in the load queue, and the resources are loaded according to the load queue to the specified resource loading sequence. Compared with the related art, when a loading request of a target subject is received, the loading and unloading processes are directly carried out. According to the technical scheme provided by the embodiment of the application, the resources are loaded and unloaded according to the resource loading sequence specified by the loading queue, so that the loading and unloading of the multiple resources can be completed according to the request sequence, the problem of black screen caused by loading conflict due to simultaneous loading of the multiple resources is avoided, the problem of black screen caused by loading failure and unloading success is avoided, and the interface display effect is improved.
Referring to fig. 2, a flowchart of a loading method of an interface resource according to another embodiment of the present application is shown. In the present embodiment, the method is mainly applied to the client installed with the running target application program in the terminal described above for example. The method may include the steps of:
step 201, determining to load a first resource in a user interface.
This step is the same as or similar to the step 101 in the embodiment of fig. 1, and is not described here again.
After determining to load the first resource in the user interface, it may be detected whether there is already a resource to be loaded in the load queue. If it is determined that the resource to be loaded already exists in the load queue, the following step 202 is executed; if it is determined that there is no resource to be loaded in the load queue, the following step 203 is performed.
Step 202, adding the first resource into the tail of the load queue in response to the resource to be loaded already existing in the load queue.
When the resource to be loaded already exists in the load queue, that is, the resource to be loaded exists and needs to be loaded before the first resource is loaded, therefore, the first resource can be added to the tail of the load queue, so as to ensure that the first resource is loaded after the resource which needs to be loaded before is loaded.
Step 203, in response to that there is no resource to be loaded in the load queue, adding the first resource into the head of the load queue.
When there is no resource to be loaded in the load queue (i.e. the load queue is empty), that is, no other resource needs to be loaded before the first resource is loaded, therefore, the first resource may be added to the head of the load queue to ensure that the first resource is loaded first when the resource is loaded.
Optionally, after detecting whether there is already a resource to be loaded in the load queue, the following steps may also be performed:
(1) responding to the situation that the resource to be loaded does not exist in the loading queue, and comparing whether the first resource is the same as the currently loaded resource in the user interface or not;
(2) and if the first resource is different from the currently loaded resource in the user interface, executing the step of adding the first resource to the head of the loading queue.
When it is determined that the resource to be loaded does not exist in the loading queue, it may also be detected whether the first resource is the same as the resource currently loaded in the user interface. And when the first resource is determined to be different from the currently loaded resource in the user interface, adding the first resource into the head of the loading queue. And when the first resource is determined to be the same as the currently loaded resource in the user interface, ending the process.
Optionally, whether the first resource is the same as the currently loaded resource in the user interface may be determined by comparing whether the identification information of the first resource is the same as the identification information of the currently loaded resource in the user interface. When the identification information of the first resource is the same as the identification information of the currently loaded resource in the user interface, indicating that the first resource is the same as the currently loaded resource in the user interface; and when the identification information of the first resource is different from the identification information of the currently loaded resource in the user interface, the first resource is different from the currently loaded resource in the user interface.
Optionally, the maximum length of the load queue may or may not have a limitation, which is not limited in this embodiment of the present application. When the maximum length of the loading queue is not limited, the loading queue can accommodate all resources to be loaded; when the maximum length of the load queue is limited, the load queue can accommodate part of the resources to be loaded, and after the loading and unloading of a group of resources are completed, the load queue is moved, and the subsequent resources to be loaded are added into the load queue in sequence.
Illustratively, as shown in fig. 3, n resources to be loaded can be accommodated in the load queue, where n is a positive integer greater than 1.
Optionally, the maximum number of resources to be loaded that the load queue holds is 2, so that the load queue can be optimized to a small structure variable.
Illustratively, as shown in fig. 4, only the 1 st resource 41 and the 2 nd resource 42 to be loaded can be accommodated in the load queue.
Optionally, the load queue includes 2 resources to be loaded, where one resource is in a loading state and another resource is in a waiting loading state.
Illustratively, with continued reference to FIG. 4, the 1 st resource to be loaded 41 may be the above-mentioned resource in the loading state, and the 2 nd resource to be loaded 42 may be the above-mentioned resource in the waiting loading state.
The loading method of the interface resource may further include the following steps:
under the condition that the loading queue comprises 2 resources to be loaded, if the target resource needs to be added into the loading queue, moving another resource in a waiting loading state out of the loading queue, and adding the target resource into the loading queue.
For example, assuming that a resource is currently being loaded, and B resource in the load queue is in a waiting-to-load state, in this case, the terminal determines that C resource (i.e., the above target resource) needs to be loaded in the user interface, at this time, B resource may be moved out of the load queue, and C resource is added into the load queue, so that C resource may be directly loaded after a resource is loaded.
Under the condition that the loading queue comprises 2 resources to be loaded, when a target resource needs to be added into the loading queue, the other resource in a waiting loading state is moved out of the loading queue, and the target resource is added into the loading queue, so that on one hand, the length of the loading queue is short, the amount of maintained information is small, unnecessary loading operation can be omitted, and the processing overhead is saved; on the other hand, the interface is prevented from switching multiple resources in a short time, and the user viewing experience is improved.
And step 204, acquiring a second resource to be loaded from the loading queue according to the resource loading sequence specified by the loading queue.
This step is the same as or similar to the step 103 in the embodiment of fig. 1, and is not described here again.
Step 205, a first control request is sent to the ghost engine by the load control function.
After the second resource to be loaded is acquired from the loading queue, the terminal can send a first control request to the illusion engine through the loading control functional unit. The first control request is used for requesting the illusion engine to remove the currently loaded resource in the user interface; wherein the illusion engine is to remove a currently loaded resource in the user interface in response to the first control request. The ghost engine is described above and will not be described further herein.
Alternatively, the load control function unit may be implemented by a script, such as a Lua script. The Lua script is described above and will not be described in detail here.
Optionally, the first control request may include identification information of a currently loaded resource.
At step 206, a second control request is sent to the ghost engine by the load control function.
Similarly, after acquiring the second resource to be loaded from the load queue, the terminal may further send a second control request to the illusion engine through the load control functional unit. The second control request is used for requesting the illusion engine to load a second resource in the user interface; wherein the illusion engine is to load a second resource in the user interface in response to the second control request.
Optionally, the second control request may include identification information of the second resource.
And step 207, in response to the completion of the loading of the second resource, setting the resource indication information as the identification information of the second resource through the loading control functional unit.
After the second resource is loaded, the terminal may set the resource indication information as the identification information of the second resource through the load control function unit. The resource indication information is used for indicating the currently loaded resource in the user interface.
After the resource loading is completed, the resource indication information is set as the identification information of the resource through the loading control function unit, so that the resource indication information of the loading control function unit is ensured to be consistent with the currently loaded resource in the user interface, and the disorder of the resource indication information is avoided.
Optionally, in the process that the second resource is in the loading state, setting the loading queue to be in the locking state, and in the locking state, other resources except the second resource in the loading queue are in the non-loading state; and responding to the completion of the loading of the second resource, and switching the loading queue from a locking state to an unlocking state, wherein the resource in the loading queue is in a loadable state in the unlocking state.
That is, only after the loading of the resource being loaded is completed, if the resource waiting to be loaded is included in the load queue, the resource waiting to be loaded can be loaded.
Through the mechanism of loading the queue, the loading queue is set to be in a locking state in the process of loading the resource, and the loading queue is switched from the locking state to an unlocking state after the loading is finished, so that the loading and the unloading of the resource are switched from asynchronous execution to synchronous execution, and the occurrence of blank screen is further avoided.
To sum up, in the technical solution provided in the embodiment of the present application, resources to be loaded are recorded in the load queue, and the resources are loaded according to the load queue to the specified resource loading sequence. Compared with the related art, when a loading request of a target subject is received, the loading and unloading processes are directly carried out. According to the technical scheme provided by the embodiment of the application, the resources are loaded and unloaded according to the resource loading sequence specified by the loading queue, so that the loading and unloading of the multiple resources can be completed according to the request sequence, the problem of black screen caused by loading conflict due to simultaneous loading of the multiple resources is avoided, the problem of black screen caused by loading failure and unloading success is avoided, and the interface display effect is improved.
In addition, after the resource loading is finished, the resource indication information is set as the identification information of the resource through the loading control function unit, so that the resource indication information of the loading control function unit is ensured to be consistent with the currently loaded resource in the user interface, and the disorder of the resource indication information is avoided.
In addition, under the condition that the loading queue comprises 2 resources to be loaded, when a target resource needs to be added into the loading queue, the other resource in a waiting loading state is moved out of the loading queue, and the target resource is added into the loading queue, so that on one hand, the length of the loading queue is short, the amount of maintained information is small, unnecessary loading operation can be omitted, and the processing overhead is saved; on the other hand, the interface is prevented from switching multiple resources in a short time, and the user viewing experience is improved.
In addition, through the mechanism of loading the queue, the loading queue is set to be in a locking state in the process of loading the resource, and the loading queue is switched from the locking state to an unlocking state after the loading is finished, so that the loading and unloading of the resource are switched from asynchronous execution to synchronous execution, and the occurrence of black screen is further avoided.
Referring to fig. 5, a flowchart of a loading method of an interface theme provided in an embodiment of the present application is shown. In the present embodiment, the method is mainly applied to the client installed with the running target application program in the terminal described above for example. The method may include the steps of:
step 501, displaying a user interface applying a first theme.
The user runs a client of the target application program, and the client can display a user interface applying the first theme. The user interface may be a game lobby interface, a chat interface, a login interface, and the like. The user interface has been described above and will not be described in detail here.
The user interface is loaded with interface resources of a first theme. Wherein the above-mentioned theme is used for controlling the visual style of the displayed user interface. The target application may provide a number of different themes for the user to select for switching. The visual style of the user interface varies from theme to theme.
Each topic corresponds to a respective interface resource, and each topic includes at least one interface resource through which a completed topic is constructed, which may include controls, models, text, and so on. The interface resources for different topics are also different.
It should be noted that, a theme may correspond to multiple user interfaces, that is, when a theme is applied, it indicates that multiple user interfaces all apply the theme.
Step 502, in response to the topic selection indication, displaying at least one candidate topic.
After displaying the user interface applying the first theme, the terminal may obtain a theme selection indication, which is used to trigger displaying of at least one candidate theme.
Optionally, a theme selection control may be included in the user interface, and the theme selection control is configured to trigger the theme selection indication. The user can click the theme selection control, so that the terminal displays the at least one candidate theme.
Illustratively, as shown in FIG. 6, a schematic diagram of a game lobby interface is illustratively shown.
Step 503, a selection instruction corresponding to a second topic in the at least one candidate topic is obtained.
After displaying the at least one candidate topic, the user may click on any one of the candidate topics, such as the second topic. Correspondingly, the terminal can obtain a selection instruction corresponding to a second theme in the at least one candidate theme.
Step 504, replacing the interface resource of the first theme in the user interface with the interface resource of the second theme to obtain the user interface applying the second theme.
After the selection instruction corresponding to the second theme is obtained, the terminal may replace the interface resource of the first theme in the user interface with the interface resource of the second theme to obtain the user interface applying the second theme.
And after the second theme is added into the loading queue, loading according to the theme loading sequence specified by the loading queue. The loading queue is used for recording the theme to be loaded.
After the second theme is added to the load queue, the theme to be loaded may be determined from the load queue according to the loading order specified by the load queue, such as the second theme described above, and then the second theme is loaded.
The loading sequence specified by the loading queue may be a sequence in which resources to be loaded are added to the loading queue. In some other embodiments, other loading orders may also be available, and this is not limited in this application embodiment.
It should be noted that, after the theme is switched, the visual styles of the user interfaces are changed. For example, when switching from a first theme to a second theme, a game hall interface, a chat interface, a login interface, etc. in the user interface all switch to the second theme.
To sum up, according to the technical solution provided in the embodiment of the present application, in the case of applying the first theme, after the selection instruction corresponding to the second theme is obtained, the second theme is loaded through the theme loading sequence specified by the loading queue, and the user interface applying the second theme is obtained. Compared with the related art, according to the technical scheme provided by the embodiment of the application, when a plurality of themes need to be loaded in a short time, the themes are loaded and unloaded according to the theme loading sequence specified by the loading queue, so that the loading and unloading of the themes can be completed according to the request sequence, the problem of black screen caused by loading conflict due to simultaneous loading of the themes is avoided, and the interface display effect is improved.
As shown in fig. 7, based on the optional embodiment provided in the embodiment of fig. 5, the method for loading the interface theme may further include the following steps:
step 701, a first theme loading request is obtained.
The terminal runs the client of the target application program, and the user can log in the user account of the user in the target application program in the client of the application program. Different users have different user accounts in the target application.
When a first user logs in a first user account of the first user in a target application program, a terminal can obtain a first theme loading request, wherein the first theme loading request is used for requesting to load a theme selected by the currently logged-in first user account.
Optionally, the first theme loading request may include identification information of a theme selected by the first user account, where the identification information of the theme selected by the first user account is used to uniquely identify the theme selected by the first user account.
It should be noted that different user accounts may select the same theme or different themes.
Step 702, obtain a second subject loading request.
Similarly, the terminal may obtain a second theme loading request, where the second theme loading request is used to request to load a theme used by the second user account.
The first user account and the second user account have an association relationship. The association relationship means that the first user account and the second user account are in the same game mode. For example, the first user account and the second user account are both in a team mode.
Optionally, the first user account and the second user account have a team relationship, and the second user account is a team leader. In this case, two requirements, namely, the loading of the theme of the captain (second user account) and the loading of the theme of the team member (first user account) may occur, that is, a situation that two themes exist in a short time and need to be loaded may occur.
Illustratively, as shown in FIG. 8, an exemplary row thereof shows a schematic diagram of a subject load scenario. In the theme loading situation, a plurality of user accounts have a team relationship, and different user accounts can select different themes, that is, a plurality of themes are loaded in a short time.
It should be noted that the second theme is a theme different from the first theme.
Optionally, the second theme loading request may include identification information of a theme selected by the second user account, where the identification information of the theme selected by the second user account is used to uniquely identify the theme selected by the second user account.
Step 703, add the theme selected by the first user account and the theme used by the second user account into the loading queue in sequence.
After the loading request of the first theme and the loading request of the second theme are obtained, the theme selected by the first user account and the theme used by the second user account may be added to the loading queue in sequence.
Step 704, according to the theme loading sequence specified by the loading queue, obtaining the theme to be loaded from the loading queue for loading.
To sum up, according to the technical solution provided by the embodiment of the present application, the theme selected by the first user account and the theme used by the second user account are sequentially added to the loading queue, and the theme to be loaded is obtained from the loading queue for loading according to the theme loading sequence specified by the loading queue. Compared with the related art, according to the technical scheme provided by the embodiment of the application, the multiple themes are added into the loading queue in sequence, and the theme to be loaded is obtained according to the theme loading sequence specified by the loading queue for loading, so that the problem of screen blackness caused by successful theme unloading but failed theme loading is effectively avoided.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 9, a block diagram of a loading apparatus for interface resources according to an embodiment of the present application is shown. The device has the function of realizing the loading method example of the interface resource, and the function can be realized by hardware or by hardware executing corresponding software. The device may be the terminal described above, or may be provided on the terminal. The apparatus 900 may include: a resource determining module 910, a resource adding module 920, a resource obtaining module 930, and a resource loading module 940.
A resource determination module 910 configured to determine to load a first resource in a user interface.
A resource adding module 920, configured to add the first resource into a load queue, where the load queue is used to record a resource to be loaded.
A resource obtaining module 930, configured to obtain, according to the resource loading order specified by the load queue, a second resource to be loaded from the load queue.
A resource loading module 940, configured to remove the currently loaded resource in the user interface and load the second resource in the user interface.
To sum up, in the technical solution provided in the embodiment of the present application, resources to be loaded are recorded in the load queue, and the resources are loaded according to the load queue to the specified resource loading sequence. Compared with the related art, when a loading request of a target subject is received, the loading and unloading processes are directly carried out. According to the technical scheme provided by the embodiment of the application, the resources are loaded and unloaded according to the resource loading sequence specified by the loading queue, so that the loading and unloading of the multiple resources can be completed according to the request sequence, the problem of black screen caused by loading conflict due to simultaneous loading of the multiple resources is avoided, and the interface display effect is improved.
In some possible designs, the resource loading module 940 is configured to send, by a loading control function unit, a first control request to a ghost engine, where the first control request is used to request the ghost engine to remove a currently loaded resource in the user interface; wherein the illusion engine is to remove a currently loaded resource in the user interface in response to the first control request; sending, by the load control function unit, a second control request to the ghost engine, the second control request for requesting the ghost engine to load the second resource in the user interface; wherein the illusion engine is to load the second resource in the user interface in response to the second control request; in response to the completion of the loading of the second resource, setting resource indication information as identification information of the second resource by the load control functional unit; the resource indication information is used for indicating the currently loaded resource in the user interface.
In some possible designs, the resource adding module 920 is configured to add the first resource to the tail of the load queue in response to the resource to be loaded already existing in the load queue; or, in response to that the resource to be loaded does not exist in the load queue, adding the first resource to the head of the load queue.
In some possible designs, as shown in fig. 10, the apparatus 900 further comprises: resource alignment module 950.
A resource comparison module 950, configured to compare, in response to that the resource to be loaded does not exist in the load queue, whether the first resource is the same as the currently loaded resource in the user interface;
the resource adding module 920 is further configured to, when the first resource is different from the resource currently loaded in the user interface, execute the step of adding the first resource to the head of the loading queue.
In some possible designs, the maximum number of resources to be loaded that the load queue holds is 2.
In some possible designs, the load queue includes 2 of the resources to be loaded, where one resource is in a loading state and another resource is in a waiting to load state; the resource adding module 920 is further configured to, if a target resource needs to be added into the load queue under the condition that the load queue includes 2 resources to be loaded, remove another resource in the wait-to-load state from the load queue, and add the target resource into the load queue.
In some possible designs, as shown in fig. 10, the apparatus 900 further comprises: a queue lock module 960 and a queue unlock module 970.
A queue locking module 960, configured to set the load queue to a locked state in a process that the second resource is in a loading state, where other resources in the load queue except the second resource are in an unloadable state.
A queue unlocking module 970, configured to switch the load queue from the locked state to an unlocked state in response to completion of loading the second resource, where the resource in the load queue is in a loadable state in the unlocked state.
Referring to fig. 11, a block diagram of a loading apparatus for an interface theme according to an embodiment of the present application is shown. The device has the function of realizing the loading method example of the interface theme, and the function can be realized by hardware or by hardware executing corresponding software. The device may be the terminal described above, or may be provided on the terminal. The apparatus 1100 may include: an interface display module 1110, a theme display module 1120, an instruction fetch module 1130, and a resource replacement module 1140.
The interface display module 1110 is configured to display a user interface applying a first theme, where interface resources of the first theme are loaded in the user interface.
A topic display module 1120 operable to display at least one candidate topic in response to a topic selection indication.
An instruction obtaining module 1130, configured to obtain a selection instruction corresponding to a second topic in the at least one candidate topic.
A resource replacing module 1140, configured to replace the interface resource of the first theme with the interface resource of the second theme in the user interface, so as to obtain a user interface applying the second theme; and after the second theme is added into the loading queue, loading according to the theme loading sequence specified by the loading queue.
To sum up, according to the technical solution provided in the embodiment of the present application, in the case of applying the first theme, after the selection instruction corresponding to the second theme is obtained, the second theme is loaded through the theme loading sequence specified by the loading queue, and the user interface applying the second theme is obtained. Compared with the related art, according to the technical scheme provided by the embodiment of the application, when a plurality of themes need to be loaded in a short time, the themes are loaded and unloaded according to the theme loading sequence specified by the loading queue, so that the loading and unloading of the themes can be completed according to the request sequence, the problem of black screen caused by loading conflict due to simultaneous loading of the themes is avoided, and the interface display effect is improved.
In some possible designs, as shown in fig. 12, the apparatus 1100 further comprises: a request acquisition module 1150, a topic addition module 1160, and a topic loading module 1170.
The request obtaining module 1150 is configured to obtain a first theme loading request, where the first theme loading request is used to request to load a theme selected by a currently logged-in first user account.
The request obtaining module 1150 is configured to obtain a second theme loading request, where the second theme loading request is used to request to load a theme used by a second user account, and the first user account and the second user account have an association relationship.
A theme adding module 1160, configured to add a theme selected by the first user account and a theme used by the second user account into the loading queue in order;
and the theme loading module 1170 is configured to obtain the theme to be loaded from the load queue for loading according to the theme loading order specified by the load queue.
In some possible designs, the first user account and the second user account have a team relationship, and the second user account is a captain.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 13, a block diagram of a terminal according to an embodiment of the present application is shown. In general, terminal 1300 includes: a processor 1301 and a memory 1302.
Processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1301 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1302 is used to store at least one instruction, at least one program, code set, or instruction set for execution by the processor 1301 to implement the loading method of the interface resource provided by the method embodiments in the present application, or to implement the loading method of the interface theme provided by the embodiments described above.
In some embodiments, terminal 1300 may further optionally include: a peripheral interface 1303 and at least one peripheral. Processor 1301, memory 1302, and peripheral interface 1303 may be connected by a bus or signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device may include: at least one of a communication interface 1304, a display screen 1305, an audio circuit 1306, a camera assembly 1307, a positioning assembly 1308, and a power supply 1309.
Those skilled in the art will appreciate that the configuration shown in fig. 13 is not intended to be limiting with respect to terminal 1300 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
In an exemplary embodiment, a computer readable storage medium is further provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which when executed by a processor implements the loading method of the above interface resource or implements the loading method of the above interface theme.
In an exemplary embodiment, a computer program product is further provided, which is configured to implement the loading method of the interface resource or the loading method of the interface theme when the computer program product is executed by a processor.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A method for loading interface resources is characterized by comprising the following steps:
determining to load a first resource in a user interface;
adding the first resource into a loading queue, wherein the loading queue is used for recording the resource to be loaded;
acquiring a second resource to be loaded from the loading queue according to a resource loading sequence specified by the loading queue;
removing currently loaded resources in the user interface through a ghost engine, loading the second resources in the user interface, wherein the loading queue is in a locked state in the process that the second resources are in a loading state, and other resources except the second resources in the loading queue are in an unloadable state in the locked state;
when the maximum number of the resources to be loaded accommodated by the loading queue is 2, and the loading queue comprises 2 resources to be loaded, wherein one resource is in the loading state, and the other resource is in the waiting loading state, if a target resource needs to be added into the loading queue, the resource in the waiting loading state is moved out of the loading queue, and the target resource is added into the loading queue.
2. The method of claim 1, wherein removing the currently loaded resource from the user interface and loading the second resource in the user interface comprises:
sending a first control request to the illusion engine through a loading control functional unit, wherein the first control request is used for requesting the illusion engine to remove the currently loaded resource in the user interface; wherein the illusion engine is to remove a currently loaded resource in the user interface in response to the first control request;
sending, by the load control function unit, a second control request to the ghost engine, the second control request for requesting the ghost engine to load the second resource in the user interface; wherein the illusion engine is to load the second resource in the user interface in response to the second control request;
in response to the completion of the loading of the second resource, setting resource indication information as identification information of the second resource by the load control functional unit; the resource indication information is used for indicating the currently loaded resource in the user interface.
3. The method of claim 1, wherein adding the first resource to a load queue comprises:
adding the first resource to the tail of the loading queue in response to the resource to be loaded existing in the loading queue;
alternatively, the first and second electrodes may be,
adding the first resource to the head of the load queue in response to the absence of the resource to be loaded in the load queue.
4. The method of claim 3, further comprising:
responding to the situation that the resource to be loaded does not exist in the loading queue, and comparing whether the first resource is the same as the currently loaded resource in the user interface or not;
and if the first resource is different from the currently loaded resource in the user interface, executing the step of adding the first resource to the head of the loading queue.
5. The method according to any one of claims 1 to 4, further comprising:
and responding to the completion of the loading of the second resource, and switching the loading queue from the locking state to an unlocking state, wherein the resource in the loading queue is in a loadable state in the unlocking state.
6. A method for loading an interface theme, comprising:
displaying a user interface applying a first theme, wherein interface resources of the first theme are loaded in the user interface;
in response to a topic selection indication, displaying at least one candidate topic;
acquiring a selection instruction corresponding to a second theme in the at least one candidate theme;
replacing the interface resource of the first theme in the user interface with the interface resource of the second theme through a ghost engine to obtain a user interface applying the second theme;
the second theme is loaded according to a theme loading sequence specified by a loading queue after being added into the loading queue, the loading queue is in a locked state in the process that interface resources of the second theme are in a loading state, other resources except the interface resources of the second theme in the loading queue are in an unloadable state in the locked state, the maximum number of the resources to be loaded contained in the loading queue is 2, the loading queue comprises 2 resources to be loaded, one of the resources is in the loading state, and the interface resources of the second theme are added into the loading queue after the resources waiting for the loading state are removed from the loading queue under the condition that the other resource is in a waiting for loading state.
7. The method of claim 6, further comprising:
acquiring a first theme loading request, wherein the first theme loading request is used for requesting to load a theme selected by a currently logged-in first user account;
acquiring a second theme loading request, wherein the second theme loading request is used for requesting to load a theme used by a second user account, and the first user account and the second user account have an association relation;
adding the theme selected by the first user account and the theme used by the second user account into the loading queue in sequence;
and obtaining the theme to be loaded from the loading queue for loading according to the theme loading sequence specified by the loading queue.
8. The method of claim 7, wherein the first user account and the second user account have a team relationship, and wherein the second user account is a team leader.
9. An apparatus for loading interface resources, the apparatus comprising:
the resource determining module is used for determining that the first resource is loaded in the user interface;
the resource adding module is used for adding the first resource into a loading queue, and the loading queue is used for recording the resource to be loaded;
the resource acquisition module is used for acquiring a second resource to be loaded from the loading queue according to the resource loading sequence specified by the loading queue;
a resource loading module, configured to remove a currently loaded resource in the user interface through a ghost engine, and load the second resource in the user interface, where the load queue is in a locked state in a process that the second resource is in a loading state, and in the locked state, other resources in the load queue except the second resource are in an unloadable state;
the resource adding module is further configured to, when the maximum number of the resources to be loaded that are held by the load queue is 2, and the load queue includes 2 resources to be loaded, where one resource is in the loading state, and the other resource is in the waiting loading state, if a target resource needs to be added into the load queue, remove the resource in the waiting loading state from the load queue, and add the target resource into the load queue.
10. An apparatus for loading interface themes, the apparatus comprising:
the interface display module is used for displaying a user interface applying a first theme, and interface resources of the first theme are loaded in the user interface;
a topic display module to display at least one candidate topic in response to a topic selection indication;
the instruction acquisition module is used for acquiring a selection instruction corresponding to a second theme in the at least one candidate theme;
the resource replacing module is used for replacing the interface resource of the first theme in the user interface with the interface resource of the second theme through a ghost engine to obtain the user interface applying the second theme;
the second theme is loaded according to a theme loading sequence specified by a loading queue after being added into the loading queue, the loading queue is in a locked state in the process that interface resources of the second theme are in a loading state, other resources except the interface resources of the second theme in the loading queue are in an unloadable state in the locked state, the maximum number of the resources to be loaded contained in the loading queue is 2, the loading queue comprises 2 resources to be loaded, one of the resources is in the loading state, and the interface resources of the second theme are added into the loading queue after the resources waiting for the loading state are removed from the loading queue under the condition that the other resource is in a waiting for loading state.
11. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, set of codes or set of instructions is stored, which is loaded and executed by the processor to implement the method according to any one of claims 1 to 5, or to implement the method according to any one of claims 6 to 8.
12. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method of any one of claims 1 to 5 or to implement the method of any one of claims 6 to 8.
CN202010086073.2A 2020-02-11 2020-02-11 Interface resource loading method and device, terminal and storage medium Active CN111309421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010086073.2A CN111309421B (en) 2020-02-11 2020-02-11 Interface resource loading method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010086073.2A CN111309421B (en) 2020-02-11 2020-02-11 Interface resource loading method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111309421A CN111309421A (en) 2020-06-19
CN111309421B true CN111309421B (en) 2021-05-14

Family

ID=71148901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010086073.2A Active CN111309421B (en) 2020-02-11 2020-02-11 Interface resource loading method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111309421B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116999808A (en) * 2022-08-18 2023-11-07 腾讯科技(深圳)有限公司 Target interface display method and device, storage medium and electronic equipment
CN117032936B (en) * 2023-09-28 2024-02-06 之江实验室 Data scheduling method and device and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166569A (en) * 2014-08-15 2014-11-26 北京彩云动力教育科技有限公司 Front-end page loading method and system
CN104850639A (en) * 2015-05-26 2015-08-19 湖南蚁坊软件有限公司 Method for switching webpage subjects without refreshing page
CN108572965A (en) * 2017-03-08 2018-09-25 阿里巴巴集团控股有限公司 A kind of resource loading method and device
CN109582899A (en) * 2018-10-26 2019-04-05 平安科技(深圳)有限公司 Page loading method, device, computer equipment and storage medium
CN109657173A (en) * 2018-12-13 2019-04-19 腾讯科技(深圳)有限公司 A kind of Internet resources loading method and device
US20190188050A1 (en) * 2016-09-30 2019-06-20 Vmware, Inc. Resource based virtual computing instance scheduling
CN110222284A (en) * 2019-05-05 2019-09-10 福建天泉教育科技有限公司 Multi-page loading method and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166569A (en) * 2014-08-15 2014-11-26 北京彩云动力教育科技有限公司 Front-end page loading method and system
CN104850639A (en) * 2015-05-26 2015-08-19 湖南蚁坊软件有限公司 Method for switching webpage subjects without refreshing page
US20190188050A1 (en) * 2016-09-30 2019-06-20 Vmware, Inc. Resource based virtual computing instance scheduling
CN108572965A (en) * 2017-03-08 2018-09-25 阿里巴巴集团控股有限公司 A kind of resource loading method and device
CN109582899A (en) * 2018-10-26 2019-04-05 平安科技(深圳)有限公司 Page loading method, device, computer equipment and storage medium
CN109657173A (en) * 2018-12-13 2019-04-19 腾讯科技(深圳)有限公司 A kind of Internet resources loading method and device
CN110222284A (en) * 2019-05-05 2019-09-10 福建天泉教育科技有限公司 Multi-page loading method and computer readable storage medium

Also Published As

Publication number Publication date
CN111309421A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN112988400B (en) Video memory optimization method and device, electronic equipment and readable storage medium
CN111309421B (en) Interface resource loading method and device, terminal and storage medium
CN111467798B (en) Frame display method, device, terminal and storage medium in game application program
CN111240792B (en) Theme switching method and device for user interface, terminal and storage medium
CN110599396A (en) Information processing method and device
CN111672122B (en) Interface display method, device, terminal and storage medium
CN111135579A (en) Game software interaction method and device, terminal equipment and storage medium
CN111494942B (en) Animation playing method, device, terminal and storage medium
US8448190B2 (en) Methods, systems, and computer readable media for high reliability downloading of background assets using a manifest in a virtual world application
CN112699046B (en) Application program testing method and device, electronic equipment and storage medium
CN112346935A (en) Rendering time-consuming acquisition and display method, performance monitoring method, device and equipment
CN112169319A (en) Application program starting method, device, equipment and storage medium
EP2775414A1 (en) Role clearing method, device and system for emulator game
EP3848800B1 (en) Method and apparatus for displaying message box, terminal and storage medium
CN113617022B (en) Method and device for accelerating starting speed of game application
CN113440842B (en) Content display method, device, terminal and storage medium
CN115509671B (en) Interactive courseware playing method, device, equipment and storage medium
US10576378B2 (en) Non-linear interactive experience creation and execution methods and systems
CN115920376A (en) Recording method and device
CN116943197A (en) Virtual character display method, device, terminal, storage medium and program product
CN115970296A (en) Virtual object display method and device, computer equipment and storage medium
CN117771663A (en) Program starting method, device, electronic equipment and storage medium
CN116116005A (en) Multi-user game level editing method, device, equipment and medium
CN114416066A (en) 3D entity processing method and device of game scene and electronic equipment
CN116943142A (en) Thermomigration method, apparatus, device, storage medium and program product for cloud game

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024667

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant