Transition loading method and device, electronic equipment and computer readable storage medium
Through multi-tasking process management and interactive feedback, the user aesthetic fatigue problem caused by long transition loading time is solved, and the user's active participation and efficient experience during the transition process are achieved.
Patent Information
- Application Number
- CN202510786383.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-09-16
AI Technical Summary
During the transition process, the long loading time of the cutscene animation causes users to become aesthetically fatigued and bored, and users are unable to perform other operations, affecting the user experience.
Through multi-tasking process management, the system's remaining execution capacity is determined, the target execution task is determined based on the transition type and the remaining execution capacity, and the corresponding execution screen is displayed on the display interface, including interactive operation feedback, until the transition loading task is completed or a stop request is received.
Provide interactive operations during the transition process to enhance user participation, reduce the boredom of waiting time, and improve user experience.
Smart Images

Figure CN120653350A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of metaverse, and in particular to a transition loading method, device, electronic device and computer-readable storage medium. Background Art
[0002] Cutscenes are widely used in transitions. While they can briefly capture users' attention, when loading times exceed expectations and users begin to experience lengthy waits, their initial appeal quickly turns to boredom. Prolonged static or repetitive animations can cause users to experience aesthetic fatigue, leading to a significant decline in the user experience.
[0003] It can be seen that when the loading time of the cutscenes in the related art is too long, users may also experience aesthetic fatigue and boredom with the cutscenes. Moreover, during the cutscenes, users can only wait and cannot perform other operations, which poses a technical problem that affects the user experience.
[0004] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention
[0005] The embodiments of the present invention provide a transition loading method, device, electronic device and computer-readable storage medium to at least solve the technical problem in the related art that a transition animation is set during the transition, but when the loading time is too long, the user will feel aesthetic fatigue and boredom of the transition animation, and during the transition, the user can only wait and cannot perform other operations, which affects the user experience.
[0006] According to one aspect of an embodiment of the present invention, a transition loading method is provided, comprising: receiving a transition loading request corresponding to a display interface, wherein the transition loading request carries a transition type; in response to the transition loading request, executing a transition loading task using a multi-tasking process; determining the remaining execution capacity of the multi-tasking process; determining a target execution task based on the remaining execution capacity and the transition type; executing the target execution task using a multi-tasking process, and displaying an execution screen corresponding to the target execution task on the display interface until a target condition is reached, wherein the target condition includes at least one of the following: the transition loading task is completed, and a request to stop executing the task is received.
[0007] Optionally, displaying the execution screen corresponding to the target execution task on the display interface includes: receiving a target operation on the display interface displaying the execution screen; determining operation feedback corresponding to the target operation; and displaying a feedback screen corresponding to the operation feedback on the display interface.
[0008] Optionally, the target execution task is determined based on the remaining execution capability and the transition type, including at least one of the following: when the transition type is a game type, the target execution task is determined based on the remaining execution capability and the transition type, wherein the target execution task at least includes: displaying game rules operation; when the transition type is a map type, the target execution task is determined based on the remaining execution capability and the transition type, wherein the target execution task at least includes: displaying an image operation corresponding to the map scene; when the transition type is other types, the target execution task is determined based on the remaining execution capability and the transition type, wherein the target execution task at least includes: starting an offline stand-alone game operation.
[0009] Optionally, when the transition type is a map type and the target execution task is a display image operation of a corresponding map scene, it also includes: receiving a drag operation on a display interface displaying the execution screen, wherein the execution screen is the display image, and the display image is determined based on the initial position and the corresponding map scene; determining an extended image corresponding to the drag operation based on the corresponding map scene; and displaying a feedback screen corresponding to the extended image on the display interface.
[0010] Optionally, determining the remaining execution capacity of the multi-tasking process includes: determining current resource allocation parameters and reserved resource margin corresponding to the transition loading task; and determining the remaining execution capacity based on the current resource allocation parameters and the reserved resource margin.
[0011] Optionally, in response to the transition loading request, determining the predicted loading time includes: in response to the transition loading request, obtaining historical loading data corresponding to the transition type, wherein the historical loading data includes historical loading time and historical resource occupancy data; determining the predicted loading time based on the historical loading data and current resource occupancy data.
[0012] Optionally, in response to the transition loading request, a multi-tasking process is used to execute a transition loading task, including: in response to the transition loading request, determining a predicted loading time; and when the predicted loading time is greater than a predetermined threshold, using the multi-tasking process to execute the transition loading task.
[0013] According to one aspect of an embodiment of the present invention, a transition loading device is provided, comprising: a receiving module for receiving a transition loading request corresponding to a display interface, wherein the transition loading request carries a transition type; an execution module for executing a transition loading task using a multi-tasking process in response to the transition loading request; a first determination module for determining the remaining execution capacity of the multi-tasking process; a second determination module for determining a target execution task based on the remaining execution capacity and the transition type; a display module for executing the target execution task using a multi-tasking process and displaying an execution screen corresponding to the target execution task on the display interface until a target condition is reached, wherein the target condition includes at least one of the following: the transition loading task is completed, and a request to stop executing the task is received.
[0014] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above methods.
[0015] According to one aspect of an embodiment of the present invention, an electronic device is provided, comprising: a memory storing an executable program; and a processor configured to run the program, wherein the program executes any one of the above methods when running.
[0016] According to one aspect of an embodiment of the present invention, a computer program product is provided, comprising computer instructions, which implement the steps of any one of the above methods when executed by a processor.
[0017] In an embodiment of the present invention, a transition loading request corresponding to a display interface is received, wherein the transition loading request carries a transition type; in response to the transition loading request, a transition loading task is executed using a multitasking process; the remaining execution capacity of the multitasking process is determined; a target execution task is determined based on the remaining execution capacity and the transition type; the target execution task is executed using the multitasking process, and an execution screen corresponding to the target execution task is displayed on the display interface until a target condition is met, wherein the target condition includes at least one of the following: the transition loading task is completed and a request to stop the execution task is received. In this step, in addition to executing the transition loading task by the multitasking process, other execution tasks are selectively determined based on the remaining execution capacity and the transition type. By displaying the execution screen corresponding to the target execution task on the display interface, the interactive experience with the user is enhanced through the execution screen, thereby solving the technical problem in the related art of setting a transition animation, but when the loading time is too long, the user will feel aesthetic fatigue and boredom of the transition animation, and the user can only wait during the transition and cannot perform other operations, which affects the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0019] Figure 1 is a flowchart of a transition loading method according to an embodiment of the present invention;
[0020] Figure 2 4 is a structural block diagram of a transition loading device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] It should be noted that the collected information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this application are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation portals for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or institutions to provide users with corresponding operation portals for users to choose to agree or refuse the automated decision-making results; if the user chooses to refuse, the expert decision-making process will be entered.
[0024] Example 1
[0025] According to an embodiment of the present invention, an embodiment of a transition loading method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] Figure 1 is a flow chart of a transition loading method according to an embodiment of the present invention. Figure 1 As shown, the method includes the following steps:
[0027] Step S102: receiving a transition loading request corresponding to the display interface, wherein the transition loading request carries a transition type;
[0028] In step S102 provided in the present application, a transition loading request corresponding to the display interface is received.
[0029] Among them, the display interface is involved. The display interface usually refers to the part that users directly see and interact with when using computer software, mobile applications or electronic games.
[0030] Among them, a transition loading request is involved. A transition loading request refers to a request received by the system from a user or program, requesting to switch from the content displayed on the current display interface to another content and load new scene data in the process.
[0031] Among them, the transition type is involved. Transition type refers to different types of scenarios, which determines the effect of the transition and the type of loaded data. Optionally, a transition can be understood as switching from the game display interface to the gameplay interface, or switching from one map view to another. The "load request" contains the specific instructions and necessary parameters to trigger this transition.
[0032] In this step, by defining the transition type, the system can predict the amount and complexity of the data to be loaded, and thus decide whether to adopt strategies such as multitasking, loading preview images, or launching mini-games, ensuring that the transition process is smooth and fast without interrupting user activities.
[0033] Step S104, in response to the transition loading request, executing the transition loading task using a multi-tasking process;
[0034] In step S104 provided in the present application, in response to the transition loading request, a transition loading task is executed using a multi-tasking process.
[0035] This involves multitasking. Multitasking refers to the operating system's ability to handle multiple tasks simultaneously. A process is a running program instance in the system, representing the dynamic execution of a program. Using multitasking allows the system to handle multiple tasks in parallel or concurrently, improving system efficiency and responsiveness.
[0036] In this step, the multitasking process allows the system to handle multiple activities in parallel, which means that even resource-intensive transition loading can keep the system running smoothly and will not become sluggish due to a single task.
[0037] Step S106, determining the remaining execution capacity of the multi-tasking process;
[0038] In step S106 provided in the present application, the remaining execution capacity of the multi-tasking process is determined.
[0039] This involves residual execution capacity, which refers to the hardware resources and software capabilities available for executing additional tasks beyond the currently executing task. This includes but is not limited to the processor's idle cycles, remaining memory capacity, I / O bandwidth, GPU resources, etc.
[0040] In this step, determining the remaining capacity of the multitasking process means assessing how much additional load the system can handle, in addition to the existing tasks. By accurately assessing the remaining capacity, the system can intelligently allocate resources to avoid waste while ensuring that all ongoing tasks receive appropriate hardware support. When the system knows it has sufficient spare capacity to handle additional tasks, it can provide more interactive possibilities for users.
[0041] Step S108, determining the target execution task based on the remaining execution capacity and the transition type;
[0042] In step S108 provided in this application, the target execution task is determined based on the remaining execution capacity and the transition type.
[0043] Among them, the target execution task is involved. The target execution task is the specific task or operation that should be performed next, determined based on the system's remaining execution capacity and transition type. For example, if the remaining execution capacity is strong enough and the transition type indicates a long loading time, then the target execution task may have more possibilities, such as choosing to load an image-based map or run a lightweight mini-game. If the remaining execution capacity is not strong enough, then the target execution task may not be enough to support a lightweight mini-game, and you can choose to select tasks that can be executed from tasks such as loading an image-based map.
[0044] In this step, we determine what additional services or activities can be provided to the user during the transition, based on the current state of hardware resources and the nature of the upcoming scene transition. Rather than passively waiting for the transition to complete, we proactively utilize this time and available resources to provide a richer user experience.
[0045] In this step, by determining the target execution task based on the remaining execution capacity and intelligently allocating computing resources based on the transition type, excessive consumption in transitions that do not require a large amount of resources is avoided. At the same time, reasonable scheduling can also be achieved in high-load transitions to ensure overall stable performance. The system can use resources more intelligently, avoiding idle resources during transitions, while ensuring that the loading of new scenes is not affected by additional tasks, maintaining the efficient operation of the system. By intelligently allocating and managing resources across multiple processes, the system can use processors and memory more efficiently, avoiding resource waste, while ensuring that all processes receive the necessary attention and resources to run smoothly.
[0046] Step S110, use the multi-tasking process to execute the target execution task, and display the execution screen corresponding to the target execution task on the display interface until the target condition is reached, wherein the target condition includes at least one of the following: the transition loading task is completed, and a request to stop the execution task is received.
[0047] In step S110 provided in the present application, a multi-tasking process is used to execute the target execution task, that is, at this time the multi-tasking process executes the transition loading task and the target execution task.
[0048] After the multitasking thread executes at least the above two tasks, the execution screen corresponding to the target execution task is displayed on the display interface until the target condition is met, that is, until the main task, the loading task is successful, or a request to stop the target execution task is received.
[0049] This involves the execution screen, which refers to the visual feedback or interactive interface that users see on the display interface corresponding to the target execution task. For example, if it is to execute a mini-game, the execution screen is the actual interface of the mini-game; if it is to display the rules, the execution screen is the display of the rules text or images.
[0050] Among them, the target conditions are involved, which include at least one of the following two situations: one is that the transition loading task is completed, that is, all the data and resources of the new scene are ready and can be loaded into the new scene without the need for loading; the other is receiving a request to stop the execution of the task, which is usually initiated by the user, indicating that they want to stop the current auxiliary task immediately to meet user needs and give users the conditions to choose.
[0051] In this step, the multitasking process can perform both transition tasks and non-transition tasks. Transition tasks involve preparing new interface data, which may include downloading resources, rendering images, initializing states, etc. Secondly, it uses multitasking capabilities to ensure that even while executing transition tasks, the display interface shows the execution screen, the user can interact with the execution screen, or the system can handle other non-transition related tasks to improve the user experience.
[0052] Through the above steps S102-S110, a transition loading request corresponding to the display interface is received, wherein the transition loading request carries a transition type; in response to the transition loading request, a transition loading task is executed using a multitasking process; the remaining execution capacity of the multitasking process is determined; a target execution task is determined based on the remaining execution capacity and the transition type; the target execution task is executed using the multitasking process, and an execution screen corresponding to the target execution task is displayed on the display interface until a target condition is met, wherein the target condition includes at least one of the following: the transition loading task is completed and a task stop request is received. In this step, in addition to executing the transition loading task by the multitasking process, other execution tasks are selectively determined based on the remaining execution capacity and the transition type. By displaying the execution screen corresponding to the target execution task on the display interface, the interactive experience with the user is enhanced through the execution screen, thereby solving the technical problem in the related art of setting a transition animation, but when the loading time is too long, the user will feel aesthetic fatigue and boredom of the transition animation, and the user can only wait during the transition and cannot perform other operations, which affects the user experience.
[0053] As an optional embodiment, displaying an execution screen corresponding to a target execution task on a display interface includes: receiving a target operation on a display interface displaying the execution screen; determining operation feedback corresponding to the target operation; and displaying a feedback screen corresponding to the operation feedback on the display interface.
[0054] In this embodiment, the steps of interacting with the execution screen to display the feedback screen are described.
[0055] Among them, target operations are involved. Target operations refer to various input actions that users can perform when the execution screen is displayed, such as clicking, sliding, keyboard input, etc. These operations can trigger the system to respond to the target execution task.
[0056] Among them, operation feedback is involved. Operation feedback is the response given by the system based on the user's target operation, which can be in the form of updating the display screen, returning operation results, playing sound effects, etc.
[0057] Among them, the feedback screen is involved. The feedback screen is a visual presentation of operation feedback on the display interface, such as the change of the user's score in the mini-game, the position update on the map, the flipping of the tutorial page, etc.
[0058] In this step, during the transition loading process, a feedback screen corresponding to the operation feedback is displayed on the display interface, aiming to build a transition stage in which users can actively participate, rather than having them passively wait. After the system displays a screen related to the target execution task, the user can perform the target operation through input devices such as a touch screen, mouse, or keyboard, such as manipulation in a mini-game, zooming or moving in a map preview, etc. The system then analyzes these operations and gives corresponding feedback, such as updating the game score, changing the map perspective or position, etc. These feedback screens are presented in real time on the display interface, forming a closed-loop interactive process.
[0059] By allowing users to perform meaningful actions during the transition, the system enhances their sense of participation and avoids the boredom and frustration of long waits. Furthermore, providing immediate operational feedback and feedback images increases the fun and practicality of the transition process, improving the user experience.
[0060] As an optional embodiment, the target execution task is determined based on the remaining execution capacity and the transition type, including at least one of the following: when the transition type is a game type, the target execution task is determined based on the remaining execution capacity and the transition type, wherein the target execution task at least includes: displaying the game rules operation; when the transition type is a map type, the target execution task is determined based on the remaining execution capacity and the transition type, wherein the target execution task at least includes: displaying the image operation of the corresponding map scene; when the transition type is other types, the target execution task is determined based on the remaining execution capacity and the transition type, wherein the target execution task at least includes: starting an offline stand-alone game operation.
[0061] In this embodiment, it is described that different target execution tasks can be determined according to different transition types.
[0062] Among them, the game type transition is involved. Game type transition refers to the process of switching from a scene within a game (such as a menu, character selection, story plot, etc.) to another scene in the game, or jumping from a non-game interface to a game interface. This type of transition is usually accompanied by a large amount of data loading, graphics rendering, and audio initialization operations. When the system detects that the next scene is of a game type, it will determine whether the game rules can be displayed at the same time based on the remaining execution capacity for the user to review. If the remaining capacity is average, the system will load the display operation of the game rules, so that the user can be familiar with the rules while waiting for the game to load and prepare for the start of the game.
[0063] Among them, map type transitions are involved. Map type transitions refer to switching from one map (such as the street view of place A) to another map (such as the street view of place B) in a game or activity. The triggering operation can be the operation of the game character switching maps. Map type transitions may involve the capture and processing of real-time data streams, as well as the rendering of high-resolution images. When the system recognizes that the transition is a map type scene, it will evaluate the remaining resources to determine whether the real-time image of the target map can be displayed immediately.
[0064] Among them, other types of transitions are involved. For non-game and non-map transition types, such as transitioning to the settings interface, mall interface, etc., the system will try to start some offline stand-alone games as activities to fill the waiting time based on the remaining execution capacity.
[0065] By dynamically assessing the resource requirements of remaining tasks, we ensure that transition loading is not impacted while fully utilizing idle system resources. We provide added value during transitions, such as learning, entertainment, or practical information, reducing user anxiety while waiting and making transitions a pleasure rather than a pain. We provide tailored content and services based on the type of transition, making the user experience more personalized and relevant.
[0066] As an optional embodiment, when the transition type is a map type and the target execution task is a display image operation of a corresponding map scene, it also includes: receiving a drag operation on a display interface that displays an execution screen, wherein the execution screen is a display image, and the display image is determined based on the initial position and the corresponding map scene; determining an extended image corresponding to the drag operation based on the corresponding map scene; and displaying a feedback screen corresponding to the extended image on the display interface.
[0067] In this embodiment, a feedback screen corresponding to the extended image is displayed on the display interface.
[0068] Among them, the display image is involved. The display image is a preview image generated based on the user's "initial position" (which can be the current position of GPS positioning or the last viewed position of the previous scene) and map data. It shows the basic information of the geographical environment around the user or the area of interest.
[0069] This involves a drag operation, where the user slides their finger or mouse on the screen to change the field of view or perspective of the displayed image, thereby exploring other parts of the map.
[0070] This involves extended images, that is, as the user drags the map, the system preloads the map data to expand the range of the displayed image, allowing the user to see details farther away on the map.
[0071] This involves a feedback screen, where the system responds to the user's dragging operation, namely, updating the displayed image to show the extended image area that the user wants to see through the dragging operation.
[0072] In this step, it is explained that in the scenario where the transition type is "map type", when the system is loading a large amount of map data, there is usually a waiting time for the transition loading. In order to solve the problem that users can only wait passively during this period, the system starts to display the map near the initial position before the data is fully loaded, that is, to display the image, thereby providing immediate visual feedback. Not only that, the system also allows users to drag during this period to explore other parts of the map. In this way, the system can respond to the user's operations in real time, determine the extended image that matches the dragging direction, and display it on the display interface to form a feedback screen.
[0073] This mechanism allows users to avoid boredom or anxiety while waiting for map data to fully load. Instead, they can enjoy a sense of real-time exploration, enhancing the app's appeal and user engagement. Furthermore, the system responds to user drag operations by preloading "extended images" and smoothly transitions to normal map browsing mode once the map data is fully loaded, avoiding sudden data loading delays and improving the overall user experience.
[0074] It should be noted that the image loaded at this time is a two-dimensional image, so it can be loaded while minimizing resource usage, rather than an image that actually moves in a three-dimensional space after the transition.
[0075] As an optional embodiment, in response to a transition loading request, a multi-tasking process is used to execute a transition loading task, including: in response to the transition loading request, determining a predicted loading time; when the predicted loading time is greater than a predetermined threshold, using a multi-tasking process to execute the transition loading task.
[0076] In this embodiment, the case of using a multi-tasking process to execute the transition loading task is described.
[0077] This involves predicted loading time: based on analysis of historical data, current resource status, and transition type, the system estimates the time required to complete a transition load.
[0078] Among them, a predetermined threshold is involved. The predicted threshold is a time standard set by the system. When the expected transition loading time exceeds this threshold, it indicates that the transition process may be relatively long, thereby triggering a special processing mechanism.
[0079] When the system responds to a transition loading request, it will first calculate the predicted loading time. If the predicted loading time exceeds a predetermined threshold, the system will determine that this transition may require a long waiting time, and thus start a multi-tasking process to perform the transition loading task. The core of executing transition loading tasks in a multi-tasking process environment is that the system can simultaneously handle the resource loading and other concurrent tasks required for the transition, such as the animation display of the user interface, the presentation of game rules, mini-game operations, etc. This means that even if the transition loading may take a long time, the user will not feel that the system stops responding or falls into a waiting state, but can continue to perform some lightweight interactions, which improves the user's experience while waiting. And when the transition loading time is short, the branch task can be loaded without loading, allowing the user to quickly enter the transition scene.
[0080] As an optional embodiment, in response to a transition loading request, the predicted loading time is determined, including: in response to the transition loading request, obtaining historical loading data corresponding to the transition type, wherein the historical loading data includes historical loading time and historical resource occupancy data; and determining the predicted loading time based on the historical loading data and the current resource occupancy data.
[0081] In this embodiment, a predicted load time is determined.
[0082] This involves historical loading data, which represents the system's previous loading performance when handling the same or similar transition types, including historical loading times and historical resource usage data. This data has been statistically analyzed and can reflect the specific time and resource consumption of past transition operations.
[0083] Among them, the historical loading time is involved. The historical loading time refers to the time recorded in the historical data from receiving the transition loading request to successfully loading and displaying the next scene.
[0084] This involves historical resource usage data, which represents a quantitative record of the actual usage of various resources such as system CPU, memory, and disk I / O during the transition loading process.
[0085] Among them, the current resource usage data is involved. The current resource usage data is the resources currently being used by the system when it receives a new transition loading request, including the processing power allocated to other tasks, available memory capacity, etc.
[0086] When processing a transition loading request, the system first obtains the historical loading data corresponding to the transition type. This step is based on big data analysis and machine learning. The system will look for how similar transition operations have been handled in the past, especially those cases under similar resource usage conditions. Historical loading data contains performance indicators, including past loading times and the actual consumption of system resources during the loading process. The system then determines the predicted loading time based on the collected historical loading data and the current resource usage data. This process is actually predictive modeling for the future. By comparing the current resource usage with the resource usage in the historical data, the system can estimate the time that this transition loading may take. The prediction algorithm takes into account factors such as the mean and standard deviation of historical loading times and historical resource usage, as well as the difference between the current resource usage level and the historical average level, and strives to provide a prediction value that is closest to the actual situation.
[0087] The use of historical data improves the accuracy of load time predictions, helping the system better prepare and optimize transitions and reducing user wait uncertainty. By considering current resource usage, the system can intelligently determine which activities or services to offer users while they wait, avoiding resource conflicts and improving resource utilization.
[0088] As an optional embodiment, determining the remaining execution capacity of a multi-tasking process includes: determining the current resource allocation parameters and the reserved resource margin corresponding to the transition loading task; and determining the remaining execution capacity based on the current resource allocation parameters and the reserved resource margin.
[0089] In this embodiment, a method of determining the remaining execution capacity is described.
[0090] This involves resource allocation parameters, which are system management metrics used to determine the quantity and quality of computing resources available to each task. These parameters can be dynamically adjusted to optimize task execution efficiency and user experience.
[0091] This involves reserving resource margins. To ensure system stability and cope with emergencies, the system reserves a certain percentage of resources from being immediately allocated to the task being executed. This margin is key to system flexibility and robustness.
[0092] During the transition loading process, in order to provide additional user experience without affecting the main task, the system needs to accurately assess its remaining execution capacity. This process first involves determining the current resource allocation parameters and reserved resource margins corresponding to the transition loading task. That is, the system will check how much CPU time, memory, network resources, etc. are occupied by the ongoing transition loading task, while taking into account a series of resource margins reserved by the system to prevent system crashes or performance degradation when encountering unexpected loads. Next, the system determines the remaining execution capacity based on the current resource allocation parameters and reserved resource margins. This means that the system will calculate how many additional tasks can be processed while meeting the current transition loading task and reserved margin requirements. This calculation result will serve as a basis for guiding the system on how to provide users with additional interactive activities, such as simple games, map previews, or tutorial playback, while waiting for the transition loading to complete, without overconsuming system resources and affecting the completion of the main task.
[0093] Through meticulous resource allocation and margin reservation, the system maximizes the use of unused computing power, improving overall system resource efficiency. This practice of reserving resource margins improves system stability, ensuring that basic service levels can be maintained even under sudden high loads, and reducing the risk of lags and crashes. The system can flexibly adjust the selection and allocation of additional activities based on the needs of different transition tasks and current resource availability, making the technical solution highly adaptable and scalable.
[0094] Based on the above embodiment and optional embodiment, an optional implementation manner is provided, which is described in detail below.
[0095] A transition loading method is provided in an optional embodiment of the present invention, which is described below.
[0096] S1, receiving a transition loading request corresponding to a display interface, wherein the transition loading request carries a transition type;
[0097] S2, in response to the transition loading request, determining a predicted loading time;
[0098] S3, when the predicted loading time is greater than a predetermined threshold, using a multi-tasking process to execute the transition loading task;
[0099] S4, determining the remaining execution capacity of the multi-tasking process;
[0100] S5, determine the target execution task based on the remaining execution capacity and the transition type;
[0101] Because different loading scenarios may require different computing power resource consumption, the operations that can be performed can be determined based on the actual computing power resource consumption.
[0102] S6, using a multi-tasking process to execute the target execution task, and displaying the execution screen corresponding to the target execution task on the display interface until the target condition is reached, wherein the target condition includes at least one of the following: the transition loading task is completed, and a request to stop the execution task is received.
[0103] The target operation to be executed (the operation corresponding to the target execution task) can be determined according to the scene to be jumped to, and the jump loading operation and the target operation can be run simultaneously in the multi-tasking process.
[0104] In other words, multitasking is the ability to handle two applications simultaneously. This is achieved through multitasking processes. Specifically, the system can create two independent processes to run two different operations. These two processes can run simultaneously and receive user input, achieving the effect of processing two different tasks simultaneously.
[0105] It should be noted that in the application system, each application runs in its own process, and the system manages these processes through a process manager. When the user performs a jump operation, the system creates a new task stack to store the target operation process, so that two tasks can be processed simultaneously.
[0106] The target operation can be adaptively set according to the actual application and scenario.
[0107] For example, you can determine the scene type to be switched to, and perform different settings based on different scene types.
[0108] 1) When the scene being transferred is a game scene, the target operation may be to display the game rules on the loading interface;
[0109] 2) When the scene being transferred is a normal map scene, a real-time image of the map scene can be displayed first, that is, to avoid the problem of missing the map display due to slow loading or failure to load;
[0110] 3) When the scene you enter is your home or something familiar, and the scene doesn't change much, you can display a fun click game, and you can get in-game achievements through the fun game. After the scene is loaded, you can also choose to complete the game and then directly display the scene, avoiding users from waiting aimlessly for a long time and avoiding users from feeling tired.
[0111] It should be noted that in order to avoid a strong sense of disconnection, a control can be provided to the user to determine whether to jump to the corresponding scene after the scene is loaded, so as to avoid the discomfort caused by the user not having finished experiencing the mini-game or not having read the rules.
[0112] In the above 2), further settings can be made. Since the user has a landing point after loading into the scene, the real-time scene displayed can be the scene in the scene observed with the landing point as the origin.
[0113] Optionally, a mouse can be used to perform a drag operation, such as dragging to move the viewing angle to observe real-time scenes at different locations in the scene.
[0114] It should be noted that displaying an image is different from loading it directly into the scene. When loaded into the scene, there will be a character image, and you can also interact with the things in the scene, which requires a longer loading process.
[0115] This branch process only requires obtaining real-time monitoring images and changing the viewing angle by dragging and dropping, which can be completed in a very short time.
[0116] Moreover, this operation can also avoid the problem of being unable to observe special scenes in the scene due to too many people in the scene and being unable to be loaded into the scene.
[0117] Regarding the above 3), the mini-game displayed can be a mini-game specially designed for the game scene. The mini-game can also be determined based on the predicted loading time. The time to complete a mini-game can be set to be close to the predicted loading time, so that the user can quickly enter the scene after playing a mini-game, avoiding wasted loading time.
[0118] It should be noted that after loading into the scene, you can close the side quest process to carry out the main quest process in the game to avoid the waste of resources caused by the side quest process.
[0119] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0120] Through the method provided in this optional embodiment, in addition to executing the transition loading task in a multi-tasking process, other execution tasks are selectively determined based on the remaining execution capacity and the transition type. The execution screen corresponding to the target execution task is displayed on the display interface, enhancing the user interaction experience through the execution screen. This solves the technical problem in the related art of setting transition animations, but the loading time is too long, causing users to become aesthetically fatigued and bored with the animations. Moreover, during the transition, users can only wait and cannot perform other operations, which has a technical problem of affecting the user experience.
[0121] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.
[0122] Example 2
[0123] According to an embodiment of the present invention, a device for implementing the above transition loading method is also provided. Figure 2 is a structural block diagram of a transition loading device according to an embodiment of the present invention. Figure 2 As shown, the device includes: a receiving module 202, an execution module 204, a first determination module 206, a second determination module 208 and a display module 210. The device will be described in detail below.
[0124] A receiving module 202 is used to receive a transition loading request corresponding to a display interface, wherein the transition loading request carries a transition type; an execution module 204 is connected to the above-mentioned receiving module 202, and is used to respond to the transition loading request and use a multi-tasking process to execute a transition loading task; a first determination module 206 is connected to the above-mentioned execution module 204, and is used to determine the remaining execution capacity of the multi-tasking process; a second determination module 208 is connected to the above-mentioned first determination module 206, and is used to determine a target execution task based on the remaining execution capacity and the transition type; a display module 210 is connected to the above-mentioned second determination module 208, and is used to use a multi-tasking process to execute the target execution task, and display an execution screen corresponding to the target execution task on the display interface until the target condition is reached, wherein the target condition includes at least one of the following: the transition loading task is completed, and a request to stop executing the task is received.
[0125] Optionally, the display module 210 is further configured to receive a target operation on a display interface displaying an execution screen; determine operation feedback corresponding to the target operation; and display a feedback screen corresponding to the operation feedback on the display interface.
[0126] Optionally, the second determination module 208 is also used to determine the target execution task based on the remaining execution capability and the transition type when the transition type is a game type, wherein the target execution task at least includes: displaying the game rules operation; when the transition type is a map type, determine the target execution task based on the remaining execution capability and the transition type, wherein the target execution task at least includes: displaying the image operation of the corresponding map scene; when the transition type is other types, determine the target execution task based on the remaining execution capability and the transition type, wherein the target execution task at least includes: starting an offline stand-alone game operation.
[0127] Optionally, the second determination module 208 is also used to receive a drag operation on the display interface of the display execution screen when the transition type is a map type and the target execution task is a display image operation of the corresponding map scene, wherein the execution screen is a display image, and the display image is determined based on the initial position and the corresponding map scene; determine the extended image corresponding to the drag operation based on the corresponding map scene; and display a feedback screen corresponding to the extended image on the display interface.
[0128] Optionally, the execution module 204 is further configured to determine a predicted loading time in response to the transition loading request; and when the predicted loading time is greater than a predetermined threshold, execute the transition loading task using a multi-tasking process.
[0129] Optionally, the execution module 204 is further used to obtain historical loading data corresponding to the transition type in response to the transition loading request, wherein the historical loading data includes historical loading time and historical resource occupancy data; and determine the predicted loading time based on the historical loading data and current resource occupancy data.
[0130] Optionally, the first determining module 206 is further configured to determine current resource allocation parameters and reserved resource margin corresponding to the transition loading task; and determine the remaining execution capacity based on the current resource allocation parameters and the reserved resource margin.
[0131] It should be noted here that the above-mentioned receiving module 202, execution module 204, first determination module 206, second determination module 208 and display module 210 correspond to steps S102 to S110 in implementing the transition loading method. The instances and application scenarios implemented by multiple modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.
[0132] Example 3
[0133] An embodiment of the present application may provide an electronic device, which may include: a memory storing an executable program; and a processor for running the program, wherein the program may execute any one of the above-mentioned transition loading methods when running.
[0134] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the above-mentioned method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.
[0135] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: receive a transition loading request corresponding to the display interface, wherein the transition loading request carries a transition type; in response to the transition loading request, use a multi-tasking process to execute the transition loading task; determine the remaining execution capacity of the multi-tasking process; determine the target execution task based on the remaining execution capacity and the transition type; use the multi-tasking process to execute the target execution task, and display the execution screen corresponding to the target execution task on the display interface until the target condition is reached, wherein the target condition includes at least one of the following: the transition loading task is completed, and a request to stop the execution task is received.
[0136] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: displaying the execution screen corresponding to the target execution task on the display interface, including: receiving the target operation of the display interface displaying the execution screen; determining the operation feedback corresponding to the target operation; and displaying the feedback screen corresponding to the operation feedback on the display interface.
[0137] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: determine the target execution task based on the remaining execution capacity and the transition type, including at least one of the following: when the transition type is a game type, determine the target execution task based on the remaining execution capacity and the transition type, wherein the target execution task at least includes: displaying the game rules operation; when the transition type is a map type, determine the target execution task based on the remaining execution capacity and the transition type, wherein the target execution task at least includes: displaying the image operation of the corresponding map scene; when the transition type is other types, determine the target execution task based on the remaining execution capacity and the transition type, wherein the target execution task at least includes: starting an offline stand-alone game operation.
[0138] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: when the transition type is a map type and the target execution task is to display the display image operation of the corresponding map scene, it also includes: receiving a drag operation on the display interface of the display execution screen, wherein the execution screen is a display image, and the display image is determined based on the initial position and the corresponding map scene; determining the extended image corresponding to the drag operation based on the corresponding map scene; and displaying the feedback screen corresponding to the extended image on the display interface.
[0139] The processor can also call the information and applications stored in the memory through the transmission device to perform the following steps: determine the remaining execution capacity of the multi-tasking process, including: determining the current resource allocation parameters and reserved resource margin corresponding to the transition loading task; determining the remaining execution capacity based on the current resource allocation parameters and reserved resource margin.
[0140] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: in response to the transition loading request, determine the predicted loading time, including: in response to the transition loading request, obtain historical loading data corresponding to the transition type, wherein the historical loading data includes historical loading time and historical resource occupancy data; based on the historical loading data and the current resource occupancy data, determine the predicted loading time.
[0141] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: in response to the transition loading request, use the multi-tasking process to perform the transition loading task, including: in response to the transition loading request, determine the predicted loading time; when the predicted loading time is greater than a predetermined threshold, use the multi-tasking process to perform the transition loading task.
[0142] An embodiment of the present application provides a method for loading a transition. The method includes receiving a transition loading request corresponding to a display interface, wherein the transition loading request includes a transition type; responding to the transition loading request, executing a transition loading task using a multitasking process; determining the remaining execution capacity of the multitasking process; determining a target execution task based on the remaining execution capacity and the transition type; executing the target execution task using the multitasking process, and displaying an execution screen corresponding to the target execution task on the display interface until a target condition is met, wherein the target condition includes at least one of the following: completion of the transition loading task and receiving a task stop request. In this step, in addition to executing the transition loading task, the multitasking process selectively determines other execution tasks based on the remaining execution capacity and the transition type. By displaying the execution screen corresponding to the target execution task on the display interface, the user's interactive experience is enhanced through the execution screen, thereby resolving the technical problem in the related art of setting a transition animation during a transition, but causing users to become aesthetically fatigued and bored with the transition animation when the loading time is too long, and also causing users to be unable to perform other operations while the transition is in progress, thereby affecting the user experience.
[0143] Those skilled in the art will appreciate that the above structure is merely illustrative, and the electronic device may also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile internet device (MID), a PAD, or other terminal device. The above does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components than those described above (such as a network interface, a display device, etc.), or have a configuration different from that described above.
[0144] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0145] Example 4
[0146] The embodiments of the present application further provide a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above methods.
[0147] Optionally, in this embodiment, the above-mentioned storage medium can be used to store the program code executed by the transition loading method provided in the above-mentioned embodiment 1.
[0148] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0149] Example 5
[0150] The present application also provides a computer program product comprising computer instructions, which, when executed by a processor, implement the steps of any one of the above methods. When executed on a data processing device, the program is suitable for performing the steps of the transition loading method.
[0151] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0152] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0153] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0154] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0155] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code.
[0157] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A transition loading method, characterized in that: include: Receive a transition loading request corresponding to the display interface, wherein the transition loading request carries a transition type; In response to the transition loading request, executing the transition loading task using a multi-tasking process; determining a remaining execution capacity of the multitasking process; Determining a target execution task based on the remaining execution capacity and the transition type; Use a multi-tasking process to execute the target execution task, and display an execution screen corresponding to the target execution task on the display interface until the target condition is reached, wherein the target condition includes at least one of the following: the transition loading task is completed and a request to stop the execution task is received.
2. The method according to claim 1, characterized in that The displaying, on the display interface, an execution screen corresponding to the target execution task includes: receiving a target operation on a display interface displaying the execution screen; Determining operation feedback corresponding to the target operation; A feedback screen corresponding to the operation feedback is displayed on the display interface.
3. The method according to claim 1, characterized in that Determining a target execution task based on the remaining execution capacity and the transition type includes at least one of the following: In the case where the transition type is a game type, the target execution task is determined according to the remaining execution capacity and the transition type, wherein the target execution task at least includes: displaying a game rule operation; In the case where the transition type is a map type, the target execution task is determined according to the remaining execution capacity and the transition type, wherein the target execution task at least includes: a display image operation of displaying a corresponding map scene; When the transition type is other types, the target execution task is determined based on the remaining execution capacity and the transition type, wherein the target execution task at least includes: starting an offline stand-alone game operation.
4. The method according to claim 2, characterized in that In the case where the transition type is a map type and the target execution task is an image display operation of displaying a corresponding map scene, the method further includes: receiving a drag operation on a display interface displaying the execution screen, wherein the execution screen is the display image, and the display image is determined based on the initial station position and the corresponding map scene; Determining an extended image corresponding to the drag operation according to the corresponding map scene; A feedback screen corresponding to the extended image is displayed on the display interface.
5. The method according to claim 1, characterized in that In response to the transition loading request, executing the transition loading task using a multi-tasking process includes: In response to the transition loading request, determining a predicted loading time; When the predicted loading time is greater than a predetermined threshold, the transition loading task is executed using the multitasking process.
6. The method according to claim 5, characterized in that In response to the transition loading request, determining a predicted loading time includes: In response to the transition loading request, acquiring historical loading data corresponding to the transition type, wherein the historical loading data includes historical loading time and historical resource occupancy data; The predicted loading time is determined based on the historical loading data and the current resource occupancy data.
7. The method according to any one of claims 1 to 6, characterized in that Determining the remaining execution capacity of the multi-tasking process includes: Determine the current resource allocation parameters and reserved resource margin corresponding to the transition loading task; The remaining execution capacity is determined according to the current resource allocation parameter and the reserved resource margin.
8. A transition loading device, characterized in that: include: A receiving module, configured to receive a transition loading request corresponding to a display interface, wherein the transition loading request carries a transition type; An execution module, configured to execute a transition loading task using a multi-tasking process in response to the transition loading request; A first determining module, configured to determine the remaining execution capacity of the multi-tasking process; A second determining module is configured to determine a target execution task based on the remaining execution capacity and the transition type; A display module is used to use a multi-tasking process to execute the target execution task and display an execution screen corresponding to the target execution task on the display interface until a target condition is reached, wherein the target condition includes at least one of the following: the transition loading task is completed and a request to stop the execution task is received.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: a memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 7 when running.
11. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.