WO2019042171A1 - 资源配置方法及相关产品 - Google Patents
资源配置方法及相关产品 Download PDFInfo
- Publication number
- WO2019042171A1 WO2019042171A1 PCT/CN2018/101181 CN2018101181W WO2019042171A1 WO 2019042171 A1 WO2019042171 A1 WO 2019042171A1 CN 2018101181 W CN2018101181 W CN 2018101181W WO 2019042171 A1 WO2019042171 A1 WO 2019042171A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- scenario
- running
- adjusted
- operating system
- resource
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/824—Applicable to portable or mobile terminals
Definitions
- the present application relates to the field of mobile terminal technologies, and in particular, to a resource configuration method and related products.
- the embodiment of the present application provides a resource configuration method and related products, and the application program can improve the real-time performance and accuracy of the performance optimization of the running scenario of the mobile terminal controlling the target application.
- the embodiment of the present application provides a resource configuration method, which is applied to a mobile terminal, where the mobile terminal runs an operating system and one or more applications, and the method includes:
- the operating system adjusts allocation of system resources of the running scenario according to the performance optimization policy.
- the embodiment of the present application provides a resource configuration apparatus, which is applied to a mobile terminal, where the mobile terminal runs an operating system and an application program, where the resource configuration apparatus includes a processing unit and a communication unit.
- the processing unit is configured to receive, by using the communication unit, a scenario data packet sent by the target application that is running, where the scenario data packet includes scenario information of a current running scenario of the target application and a system to be adjusted And a performance optimization policy for determining the running scenario according to the scenario information and the system resource to be adjusted; and an allocation of system resources for adjusting the running scenario according to the performance optimization policy.
- an embodiment of the present application provides a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory, and are configured by The processor executes, the program comprising instructions for performing the steps in any of the methods of the first aspect of the embodiments of the present application.
- an embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute as implemented in the present application.
- the computer comprises a mobile terminal.
- an embodiment of the present application provides a computer program product, where the computer program product includes a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Apply some or all of the steps described in any of the methods of the first aspect of the embodiments.
- the computer program product can be a software installation package, the computer comprising a mobile terminal.
- 1A is a schematic diagram of a program running space of a smart phone
- 1B is a system architecture diagram of an Android system
- FIG. 2 is a schematic flowchart of a resource configuration method according to an embodiment of the present application.
- FIG. 3 is a schematic flowchart of a resource configuration method according to an embodiment of the present application.
- FIG. 4 is a schematic flowchart of a resource configuration method according to an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
- FIG. 6 is a block diagram of a functional unit of a mobile terminal disclosed in an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a smart phone disclosed in an embodiment of the present application.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
- the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
- the mobile terminal involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user devices (User Equipment, UE), mobile station (MS), terminal device, and the like.
- user devices User Equipment, UE
- MS mobile station
- terminal device terminal device, and the like.
- the operating system involved in the embodiments of the present invention is a software system that uniformly manages hardware resources and provides a service interface to users.
- a mobile terminal such as a smart phone is generally provided with a program running space, and the program running space includes a user space and an operating system space, wherein the user space runs one or more applications, and the one or more applications
- the program is a third-party application installed on the mobile terminal, and the operating system space runs an operating system with the mobile terminal.
- the mobile terminal can specifically run the Android Android system, the mobile operating system iOS developed by Apple, etc., and is not limited herein.
- the mobile terminal runs an Android system as an example, and the corresponding user space includes an application layer in the Android system, and the operating system space may include an application framework layer in the Android system.
- the application layer includes various types of applications that directly interact with the user, or a service program written in the Java language and running in the background. For example, programs that implement common basic functions on smartphones, such as Short Messaging Service (SMS) text messages, phone dialing, picture browsers, calendars, games, maps, World Wide Web (Web) browsers, etc. Programs, as well as other applications developed by developers.
- SMS Short Messaging Service
- the application framework layer provides a set of libraries needed to develop Android applications, which can be used to reuse components, or to extend personalization through inheritance.
- the system runtime layer is the support of the application framework, providing services for the various components in the Android system.
- the system runtime layer consists of the system class library and the Android runtime.
- the Android runtime consists of a core library and a Dalvik virtual machine.
- the Linux kernel layer is used to implement core functions such as hardware device driver, process and memory management, network protocol stack, power management, and wireless communication.
- the process created by the third-party application is initially run in the user space.
- it wants to perform operations such as sending data and reading disk resources on the network, it must call standard interface functions provided by the operating system, such as write and send.
- the CPU calls the code of the operating system space to complete the user's request operation.
- third-party applications want to call the functions provided by the operating system and can only call the standard interface functions they provide.
- the operating system does not know which functions are actually executed by the third-party application, and the target application cannot command the operating system to perform special operations.
- the two are independent of each other, which makes the operating system unable to distinguish the internal running scenario of the target application. It can only be adapted using a standard set of parameters, and it is not possible to perform targeted performance optimization for the internal running scenario of the target application.
- the embodiment of the present application provides a resource configuration method for a target application of a mobile terminal, where the operating system receives a scenario data packet sent by a running target application, and the scenario data packet includes a target application.
- the implementation of the operating system to optimize the performance of the target application during the running process is beneficial to improve the real-time performance and accuracy of the performance optimization of the running scenario of the mobile terminal controlling the target application.
- FIG. 2 is a schematic flowchart of a resource configuration method, which is applied to a mobile terminal.
- the mobile terminal runs an operating system and one or more applications, as shown in the figure.
- Configuration methods include:
- the operating system receives a scenario data packet sent by the target application that is running, where the scenario data packet includes scenario information of a current running scenario of the target application and system resources to be adjusted.
- the target application refers to a third-party application installed in a user space of the mobile terminal, and the third-party application may be, for example, a video application, a communication application, a game application, or the like, and the third-party application may be installed by a user. It can also be pre-installed by the developer before leaving the factory, which is not limited here.
- the running scenario is an internal running scenario when the target application is running, and the internal running scenario may be divided according to different preset conditions, for example, according to whether there is user interaction, the internal running scenario may be divided into an interactive scenario and a non-interactive scenario. Or, according to the complexity of the task, it is divided into a single-user scenario and a multi-user scenario, or divided into a login scenario, a small-screen playback scenario, a video playback with a barrage scene, a full-screen playback scenario, etc. according to different behaviors, and is not unique here. limited.
- the scenario information may include at least one of the following information related to a current internal running scenario of the target application: a scenario identifier, a key performance parameter, and duration information, where the scenario identifier may be collected by a key of the current internal running scenario.
- the information is determined, and the key information may include login information, small screen playback information, video playback with bullet information, interface type information, etc.
- Key performance parameters may include current internal running scene frame rate, frame loss, network status information, and CPU status. Information, power, battery temperature, Caton and other information, etc., are not limited here.
- the format of the scene data packet may be, for example, a Java Object Object Notation (JSON), a protocol buffer (ProtocolBuffer, Protobuf), a custom format, and the like, and is not limited herein.
- the system resource to be adjusted may be a system resource or a combination of multiple system resources, which is not limited herein.
- the operating system determines a performance optimization policy of the running scenario according to the scenario information and the system resource to be adjusted.
- the performance optimization policy refers to a resource configuration policy, such as a CPU resource adjustment policy, a GPU resource adjustment policy, a memory bandwidth resource adjustment policy, a disk resource adjustment policy, and a network resource, for improving the running performance of the running target application. Adjustment strategies, etc., are not limited here.
- the operating system adjusts allocation of system resources of the running scenario according to the performance optimization policy.
- the system resource includes at least one of the following resources of the mobile terminal: a CPU resource, a GPU resource, a memory bandwidth resource, a disk resource, and a network resource.
- the network resources include network resources of the data network of the mobile terminal, network resources of the wireless fidelity Wi-Fi network, and control parameter resources of the Bluetooth module.
- the operating system can communicate with the kernel layer of the operating system space through direct connection communication, and adjust the configuration of the system resource.
- Direct communication means direct communication through an abstract Application Programming Interface (API).
- API Application Programming Interface
- the operating system can communicate with the kernel layer of the operating system space through indirect communication to adjust the configuration of the system resource, and the indirect communication mode refers to indirect communication by calling a proxy service, such as a network.
- a proxy service such as a network.
- the Wi-Fi subsystem or the data network subsystem in the resource does not run in the same system as the operating system. It needs to access these system resources indirectly through some proxy methods.
- the Wi-Fi proxy service is provided in the operating system. The interface of the proxy service is invoked to communicate indirectly with the Wi-Fi subsystem.
- the operating system of the mobile terminal first receives the scenario data packet sent by the target application, where the scenario data packet includes scenario information of the current running scenario of the target application and system resources to be adjusted, and secondly The operating system determines a performance optimization strategy of the running scenario according to the scenario information and the system resource to be adjusted. Finally, the operating system adjusts the allocation of system resources of the running scenario according to the performance optimization policy. Since the scenario data packet includes the scenario information of the target application and the system resource to be adjusted, and the scenario data packet is sent by the running target application, the operating system can determine the performance of the running scenario according to the scenario information and the system resources to be adjusted.
- the optimization strategy is implemented, and the operating system adjusts the configuration of the system resources of the running scenario in real time according to the performance optimization strategy, thereby realizing real-time performance optimization of the target application in the running process by the operating system, which is beneficial to improving the mobile terminal control target application.
- the running scenario of the running is optimized for real-time and accuracy.
- the operating system determines the performance optimization policy of the running scenario according to the scenario information and the system resource to be adjusted, including: determining, by the operating system, the scenario of the running scenario according to the scenario information.
- the adjustment amount of the system resource is adjusted; the operating system generates a performance optimization policy of the running scenario according to the adjustment amount of the system resource to be adjusted.
- the scenario information includes key performance parameters such as a scenario identifier, an application type identifier, and a network bandwidth.
- the operating system can obtain the scenario information of the current running scenario of the target application and the system resources to be adjusted, so that the operating system can determine the adjustment amount of the system resource to be adjusted in real time, and based on the adjustment amount.
- the performance optimization strategy of the running scenario is generated, so that the operating system can accurately adjust the internal running scenario of the target application, avoiding adopting a unified system-level performance optimization strategy, and having higher power consumption, which is beneficial to reducing the control target of the mobile terminal.
- the application optimizes the power consumption during the running process to improve the endurance of the mobile terminal.
- the scenario information includes a scenario identifier of the running scenario
- the operating system determines, according to the scenario information, an adjustment amount of the system resource to be adjusted of the running scenario, including:
- the operating system uses the scenario identifier of the running scenario as the query identifier, and the mapping relationship between the scenario identifier of the running scenario of the target application and the adjustment amount of the system resource to be adjusted is obtained, and the operation is obtained.
- the scenario identifier of the scenario corresponds to the adjustment amount of the system resource to be adjusted.
- the mapping relationship between the scenario identifier of the running scenario and the adjustment amount of the system resource to be adjusted may include, for example, a correspondence between the first running scenario identifier of the target application and the first adjustment amount of the system resource to be adjusted.
- the relationship between the second running scenario identifier of the target application and the second adjustment amount of the system resource to be adjusted, etc., is not limited herein.
- the system resource to be adjusted is a system resource in the mobile terminal that can affect the running performance of the target application in the current internal running scenario.
- an internal running scenario of the video type application is a “login video interface” scenario, and the mobile terminal is configured.
- the CPU resources and disk resources affect the running performance of the scenario.
- the system resources corresponding to the scenario ID of the scenario are CPU resources and disk resources.
- the operating system can quickly generate a performance optimization strategy of the running scenario, avoiding a high delay of the complex computing process, and is beneficial to improving the mobile terminal optimization target application.
- the real-time nature of the program's running scenario is beneficial to improving the mobile terminal optimization target application.
- the scenario information includes a key performance parameter of the running scenario
- the operating system determines, according to the scenario information, an adjustment amount of the system resource to be adjusted of the running scenario, including: The operating system determines the adjustment amount of the to-be-adjusted resource of the running scenario according to the key performance parameter of the running scenario.
- the key performance parameters may include the frame rate, frame loss, network status information, CPU status information, power, battery temperature, and cardot information of the current internal running scenario, and are not limited herein.
- the target application can pass key performance parameters that the operating system does not originally collect to the operating system, so that the operating system can specifically optimize the performance of the current internal running scenario of the target application, that is, according to
- the key performance parameters quickly determine a high-accuracy performance optimization strategy to adjust the configuration of the system resources of the running target application in real time, which is beneficial to improve the real-time and accuracy of the mobile terminal's operation optimization for the target application.
- the target application is a video application
- the current running scenario is a login scenario
- the scenario information of the login scenario includes a size of a resource update package of the login scenario, and a memory to be loaded.
- the size of the data, the system resource to be adjusted includes the network bandwidth and the reading speed of the memory data;
- the operating system determines the adjustment amount of the system resource to be adjusted in the running scenario according to the scenario information, including: The operating system determines an adjustment amount of the network bandwidth of the login scenario according to the size of the resource update package, and determines an adjustment amount of the read speed of the memory data of the login scenario according to the size of the memory data to be loaded.
- the mobile terminal can accurately determine the adjustment amount of the network bandwidth and the adjustment amount of the read speed of the memory data according to the network bandwidth and the reading speed of the memory data, so as to avoid the login scenario. Improve the real-time and accuracy of the landing scene of the mobile terminal optimized video application.
- the target application is a video application
- the current running scene is a small screen playing scene
- the scene information of the small screen playing scene includes a frame rate of the small screen playing window and a user interface.
- a refresh rate the system resource to be adjusted includes a network bandwidth and a CPU;
- the operating system determines, according to the scenario information, an adjustment amount of the system resource to be adjusted in the running scenario, including: the operating system according to the The frame rate of the small screen play window and the interface refresh rate of the user determine the adjustment amount of the network bandwidth of the small screen play scene and the configuration parameter of the CPU, and the configuration parameters of the CPU include the number of CPUs and the operating frequency.
- the mobile terminal can accurately determine the adjustment amount of the network bandwidth and the configuration parameters of the CPU according to the frame rate of the small screen playback window and the interface refresh rate of the user, and avoid the small video playing scene. Caton improves the real-time and accuracy of small video playback scenarios for mobile terminal-optimized video applications.
- the target application is a video application
- the current running scenario is a barrage scene
- the scene information of the barrage scene includes a frame rate and a number of barrages
- the system to be adjusted The resource includes the network bandwidth and the CPU;
- the operating system determines the adjustment amount of the system resource to be adjusted in the running scenario according to the scenario information, and the operating system determines, according to the frame rate and the number of the barrage
- the adjustment amount of the network bandwidth of the barrage scene and the configuration parameter of the CPU, and the configuration parameters of the CPU include the number of CPUs and the operating frequency.
- the mobile terminal can accurately determine the adjustment amount of the network bandwidth and the configuration parameters of the CPU according to the frame rate and the number of the barrage according to the frame rate and the number of the barrage, thereby avoiding the jamming of the barrage scene and improving the video application of the mobile terminal.
- the real-time and accuracy of the barrage scene can accurately determine the adjustment amount of the network bandwidth and the configuration parameters of the CPU according to the frame rate and the number of the barrage according to the frame rate and the number of the barrage, thereby avoiding the jamming of the barrage scene and improving the video application of the mobile terminal.
- the target application is a video application
- the current running scenario is a full-screen playback scenario
- the scene information of the full-screen playback scenario includes a frame rate and a sharpness
- the system resource to be adjusted The network bandwidth and the CPU are included; the operating system determines the adjustment amount of the system resource to be adjusted in the running scenario according to the scenario information, where the operating system determines the full screen according to the frame rate and the definition.
- the adjustment amount of the network bandwidth of the play scene and the configuration parameter of the CPU, and the configuration parameters of the CPU include the number of CPUs and the operating frequency.
- the mobile terminal can accurately determine the adjustment amount of the network bandwidth and the configuration parameters of the CPU according to the frame rate and the definition for the full-screen playback scenario of the video application, thereby avoiding the full-screen playback of the scene and improving the video application of the mobile terminal.
- the key performance parameter of the "Login Video Interface” scenario of the video type application is the frame rate X FPS.
- the system resources to be adjusted in the "Login Video Interface” scenario are CPU resources and GPU resources, and the operating system is acquiring After the frame rate X FPS and the CPU resource and the GPU resource information, the adjustment amount of the CPU resource is determined to be A according to the frame rate X FPS, the adjustment amount of the GPU resource is determined to be B, and finally, the adjustment amount A and the adjustment amount B are generated according to the adjustment amount A and the adjustment amount B.
- Performance optimization strategy for this "Login Video Interface" scenario is the frame rate X FPS.
- the scenario information further includes adjusting the duration information.
- the operating system adjusts the allocation of the system resources of the running scenario according to the performance optimization policy, including: the operating system is in the adjustment duration information.
- the corresponding adjustment period adjusts the allocation of system resources of the target application according to the performance optimization policy.
- the operating system adjusts the resource according to the adjustment period corresponding to the adjustment duration information, that is, once the adjustment period is operated, the operating system can interrupt the adjustment operation, thereby preventing the operating system from performing resource adjustment for a long time. Affecting the normal operation of the system is beneficial to improving the stability of the performance of the mobile terminal optimization target application.
- the method before the operating system receives the scenario data packet sent by the running target application, the method further includes: the operating system receiving a data channel establishment request from the target application, The data channel establishment request includes an application identifier of the target application; the operating system allocates a data transmission interface to the target application when the application identifier of the target application is included in the preset application identifier set, A data transfer interface is used to transfer data between the target application and the operating system, the data including at least the scene data package.
- the application identifier set includes an application identifier of an application that is authorized to perform performance optimization.
- the application identifier may be set by the system or set by the user, and is not limited herein.
- the operating system since the operating system only configures the data transmission interface for the application with performance optimization permission, and then performs subsequent performance optimization, it can avoid additional resources for performance optimization of the application without performance optimization permission. Loss is beneficial to improve the resource utilization efficiency and accuracy of mobile terminals.
- the method further includes: the operating system receiving a resource configuration interrupt request from the target application; the operating system responding to the resource configuration interrupt request, canceling adjustment according to the performance optimization policy The allocation of system resources of the running scenario.
- FIG. 3 is a schematic flowchart of a resource configuration method according to an embodiment of the present disclosure, which is applied to a mobile terminal, where an operating system runs on the mobile terminal. And a plurality of applications, the scene data package includes scene information of the target application and system resources to be adjusted.
- the resource configuration method includes:
- the operating system receives a scenario data packet sent by the target application that is running, where the scenario data packet includes scenario information of a current running scenario of the target application and system resources to be adjusted.
- the operating system determines, according to the scenario information, an adjustment amount of the system resource to be adjusted in the running scenario, where the scenario information includes a scenario identifier of the running scenario.
- the operating system uses the scenario identifier of the running scenario as a query identifier, and queries a mapping relationship between a preset scenario identifier of the running scenario of the target application and an adjustment amount of the system resource to be adjusted. Obtaining an adjustment amount of the system resource to be adjusted corresponding to the scenario identifier of the running scenario.
- the operating system generates a performance optimization policy of the running scenario according to the adjusted amount of the system resource to be adjusted.
- the operating system adjusts allocation of system resources of the running scenario according to the performance optimization policy.
- the operating system of the mobile terminal receives the scenario data packet sent by the running target application, and the scenario data packet includes scenario information of the current running scenario of the target application and system resources to be adjusted;
- the system determines a performance optimization strategy of the running scenario according to the scenario information and the system resources to be adjusted; the operating system adjusts the allocation of system resources of the running scenario according to the performance optimization policy. Since the scenario data packet includes the scenario information of the target application and the system resource to be adjusted, and the scenario data packet is sent by the running target application, the operating system can determine the performance of the running scenario according to the scenario information and the system resources to be adjusted.
- the optimization strategy is implemented, and the operating system adjusts the configuration of the system resources of the running scenario in real time according to the performance optimization strategy, thereby realizing real-time performance optimization of the target application in the running process by the operating system, which is beneficial to improving the mobile terminal control target application.
- the running scenario of the running is optimized for real-time and accuracy.
- the operating system can obtain the scenario information of the current running scenario of the target application and the system resources to be adjusted, so that the operating system can determine the adjustment amount of the system resource to be adjusted in real time, and generate the running scenario based on the adjusted amount.
- the performance optimization strategy achieves accurate resource adjustment by the operating system to the internal running scenario of the target application, avoiding adopting a unified system level performance optimization strategy, and having higher power consumption, which is beneficial to reducing the mobile terminal control target application running. Performance-optimized power consumption during the process improves the endurance of the mobile terminal.
- the operating system can quickly generate a performance optimization strategy of the running scenario, avoiding a high delay of the complex computing process, and is beneficial to improving the running scenario of the mobile terminal optimization target application. Real time.
- FIG. 4 is a schematic flowchart of a resource configuration method according to an embodiment of the present disclosure, which is applied to a mobile terminal, where an operating system runs on the mobile terminal. And the one or more applications, the scene data package includes scene information of the target application and an adjustment amount of a system resource to be adjusted, and the scene information includes a scene identifier.
- the resource configuration method includes:
- the operating system receives a data channel establishment request from the target application, where the data channel establishment request includes an application identifier of the target application.
- the operating system allocates a data transmission interface to the target application when the application identifier of the target application is included in a preset application identifier set, where the data transmission interface is used for the target application and the application.
- Data is transmitted between operating systems, the data including at least the scene data packet.
- the operating system acquires the scenario identifier and system resources to be adjusted from the scenario data packet.
- the operating system uses the scenario identifier of the running scenario as a query identifier, and queries a mapping relationship between a preset scenario identifier of the running scenario of the target application and an adjustment amount of the system resource to be adjusted. Obtaining an adjustment amount of the system resource to be adjusted corresponding to the scenario identifier of the running scenario.
- the operating system generates a performance optimization policy of the running scenario according to the adjusted amount of the system resource to be adjusted.
- the operating system adjusts allocation of system resources of the running scenario according to the performance optimization policy.
- the operating system receives a resource configuration interrupt request from the target application.
- the operating system responds to the resource configuration interrupt request, and cancels allocation of system resources of the running scenario according to the performance optimization policy.
- the operating system space of the mobile terminal receives the scenario data packet sent by the running target application, and the scenario data packet includes the scenario information of the current running scenario of the target application and the to-be-adjusted
- the operating system determines the performance optimization strategy of the running scenario according to the scenario information and the system resources to be adjusted; the operating system adjusts the allocation of system resources in the running scenario according to the performance optimization policy. Since the scenario data packet includes the scenario information of the target application and the system resource to be adjusted, and the scenario data packet is sent by the running target application, the operating system can determine the performance of the running scenario according to the scenario information and the system resources to be adjusted.
- Optimize the strategy, and the operating system adjusts the configuration of the system resources of the target application in real time according to the performance optimization strategy, thereby realizing the real-time performance optimization of the target application in the running process by the operating system, which is beneficial to improving the target application of the mobile terminal.
- the running scenario of the program is running for real-time performance and accuracy.
- the operating system can obtain the scenario information of the current running scenario of the target application and the system resources to be adjusted, so that the operating system can determine the adjustment amount of the system resource to be adjusted in real time, and generate the running scenario based on the adjusted amount.
- the performance optimization strategy achieves accurate resource adjustment by the operating system to the internal running scenario of the target application, avoiding adopting a unified system level performance optimization strategy, and having higher power consumption, which is beneficial to reducing the mobile terminal control target application running. Performance-optimized power consumption during the process improves the endurance of the mobile terminal.
- the operating system can quickly generate a performance optimization strategy of the running scenario, avoiding a high delay of the complex computing process, and is beneficial to improving the running scenario of the mobile terminal optimization target application. Real time.
- the operating system since the operating system only configures the data transfer interface for applications with performance optimization permissions, and then performs subsequent performance optimization, it can avoid additional resource loss caused by performance optimization of applications without performance optimization rights, which is beneficial to Improve resource utilization efficiency and accuracy of mobile terminals.
- the target application can actively request the operating system to interrupt the resource adjustment operation, it is beneficial to reduce the control delay of resource adjustment of the running scenario of the target application, and improve real-time performance.
- FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
- the mobile terminal runs one or more An application and an operating system, as shown, the mobile terminal includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are different from the one or more applications, and The one or more programs are stored in the memory and configured to be executed by the processor, the program including instructions for performing the following steps;
- scenario data packet sent by the target application that is running, where the scenario data packet includes scenario information of a current running scenario of the target application and system resources to be adjusted;
- the operating system of the mobile terminal receives the scenario data packet sent by the running target application, and the scenario data packet includes scenario information of the current running scenario of the target application and system resources to be adjusted;
- the system determines a performance optimization strategy of the running scenario according to the scenario information and the system resources to be adjusted; the operating system adjusts the allocation of system resources of the running scenario according to the performance optimization policy. Since the scenario data packet includes the scenario information of the target application and the system resource to be adjusted, and the scenario data packet is sent by the running target application, the operating system can determine the performance of the running scenario according to the scenario information and the system resources to be adjusted.
- the optimization strategy is implemented, and the operating system adjusts the configuration of the system resources of the running scenario in real time according to the performance optimization strategy, thereby realizing real-time performance optimization of the target application in the running process by the operating system, which is beneficial to improving the mobile terminal control target application.
- the running scenario of the running is optimized for real-time and accuracy.
- the instructions in the program are specifically configured to perform the following operations: according to the scenario information. Determining an adjustment amount of the system resource to be adjusted in the running scenario; and generating a performance optimization policy of the running scenario according to the adjustment amount of the system resource to be adjusted.
- the scenario information includes a scenario identifier of the running scenario
- an instruction in the program is used to determine an adjustment amount of the system resource to be adjusted of the running scenario according to the scenario information.
- the method is as follows: the mapping between the scenario identifier of the running scenario of the target application and the adjustment amount of the system resource to be adjusted is performed by using the scenario identifier of the running scenario as a query identifier. Obtaining an adjustment amount of the system resource to be adjusted corresponding to the scenario identifier of the running scenario, and generating a performance optimization policy of the running scenario according to the adjustment amount of the system resource to be adjusted.
- the scenario information includes a key performance parameter of the running scenario, and determining, in the program, an adjustment amount of the system resource to be adjusted of the running scenario according to the scenario information.
- the instruction is specifically configured to: determine an adjustment amount of the to-be-adjusted resource in the running scenario according to a key performance parameter of the running scenario, and generate a performance of the running scenario according to the adjusted amount of the system resource to be adjusted. Optimization Strategy.
- the scenario information further includes adjusting duration information; in adjusting allocation of system resources of the running scenario according to the performance optimization policy, the instructions in the program are specifically configured to perform the following operations: The adjustment period corresponding to the adjustment duration information adjusts the allocation of system resources of the target application according to the performance optimization policy.
- the instructions in the program are specifically configured to: receive a data channel setup request from the target application,
- the data channel establishment request includes an application identifier of the target application; and when the application identifier of the target application is included in the preset application identifier set, the data transmission interface is allocated to the target application, the data A transport interface is used to transfer data between the target application and the operating system, the data including at least the scene data packet.
- the instructions in the program are further configured to: receive a resource configuration interrupt request from the target application; and cancel the performance optimization policy in response to the resource configuration interrupt request Adjusting the allocation of system resources for the running scenario.
- the system resource includes at least one of the following resources of the mobile terminal: a CPU resource, a GPU resource, a memory bandwidth resource, a disk resource, and a network resource.
- the mobile terminal includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the functions.
- the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for each particular application to implement the described functionality, but such implementation should not be considered to be beyond the scope of the application.
- the embodiment of the present application may divide a functional unit into a mobile terminal according to the method example.
- each functional unit may be divided according to each function, or two or more functions may be integrated into one processing unit.
- the integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
- FIG. 6 shows a block diagram of one possible functional unit composition of the resource configuration apparatus involved in the embodiment.
- the resource configuration device 600 is applied to a mobile terminal having an operating system and one or more applications running thereon, and the resource configuration device 600 includes a processing unit 602 and a communication unit 603.
- the processing unit 602 is configured to perform control management on the action of the resource configuration apparatus.
- the processing unit 602 is configured to support the resource configuration apparatus to perform steps S201-S203 in FIG. 2, steps S301-S305 in FIG. 3, and steps in FIG. S401-S408 and/or other processes for the techniques described herein.
- the resource configuration device may further include a storage unit 601 for storing program codes and data.
- the processing unit 602 is configured to receive, by using the communication unit 603, a scenario data packet that is sent by the target application that is running, where the scenario data packet includes scenario information of the target application and system resources to be adjusted; And a performance optimization policy for determining the running scenario according to the scenario information and the system resource to be adjusted; and an allocation of system resources for adjusting the running scenario according to the performance optimization policy.
- the processing unit 602 is specifically configured to: determine the running according to the scenario information, in determining a performance optimization policy of the running scenario according to the scenario information and the system resource to be adjusted.
- the adjustment amount of the system resource to be adjusted of the scenario; and the performance optimization policy of the running scenario is generated according to the adjustment amount of the system resource to be adjusted.
- the scenario information includes a scenario identifier of the running scenario
- the processing unit is configured to determine an adjustment amount of the system resource to be adjusted of the running scenario according to the scenario information.
- the 602 is specifically configured to: use the scenario identifier of the running scenario as a query identifier, and query a mapping relationship between a preset scenario identifier of the running scenario of the target application and an adjustment amount of the system resource to be adjusted, and obtain The adjustment of the system resource to be adjusted corresponding to the scenario identifier of the running scenario; and the performance optimization policy of the running scenario according to the adjustment amount of the system resource to be adjusted.
- the scenario information includes a key performance parameter of the running scenario
- the determining, in the determining, the amount of adjustment of the system resource to be adjusted of the running scenario according to the scenario information the processing The unit 602 is specifically configured to: determine an adjustment amount of the to-be-adjusted resource in the running scenario according to a key performance parameter of the running scenario, and generate performance optimization of the running scenario according to the adjusted amount of the system resource to be adjusted. Strategy.
- the scenario information further includes adjusting the duration information; the processing unit 602 is specifically configured to: in the adjusting the allocation of the system resources of the running scenario according to the performance optimization policy The adjustment period corresponding to the adjustment duration information adjusts the allocation of the system resources of the target application according to the performance optimization policy.
- the processing unit 602 is further configured to: before receiving the scenario data packet sent by the running target application, receive a data channel establishment request from the target application, the data channel establishment request Include an application identifier of the target application; and when the application identifier of the target application is included in a preset application identifier set, assign a data transmission interface to the target application, and control the data transmission interface to be used for Transmitting data between the target application and the operating system, the data including at least the scene data packet.
- the processing unit 602 is further configured to: receive a resource configuration interrupt request from the target application; and cancel the adjusting the running scenario according to the performance optimization policy in response to the resource configuration interrupt request The allocation of system resources.
- the system resource includes at least one of the following resources of the mobile terminal: a CPU resource, a GPU resource, a memory bandwidth resource, a disk resource, and a network resource.
- the processing unit 602 may be a processor or a controller
- the communication unit 603 may be an internal communication interface between the processor and the program running space, such as a communication interface between the processor and the operating system space, or a communication between the processor and the user space.
- the interface or the like, the storage unit 601 may be a memory.
- FIG. 7 is a schematic structural diagram of a smart phone 700.
- the smart phone 700 includes a housing 710, a touch display screen 720, a main board 730, a battery 740, and a sub-board 750.
- the main board 730 is provided with a front camera 731, a processor 732, a memory 733, a power management chip 734, and the like.
- the sub board is provided with a vibrator 751, an integrated sound chamber 752, a VOOC flash charging interface 753, and a fingerprint recognition module 754.
- the smart phone runs an operating system and one or more applications, the target application runs in the user space, the operating system runs in the operating system space, and the operating system receives the scenario data packet sent by the running target application.
- the scenario data packet includes the scenario information of the current running scenario of the target application and the system resource to be adjusted; the operating system determines the performance optimization strategy of the running scenario according to the scenario information and the system resource to be adjusted; the operating system adjusts according to the performance optimization policy.
- the allocation of system resources for running scenarios includes the scenario information of the current running scenario of the target application and the system resource to be adjusted; the operating system determines the performance optimization strategy of the running scenario according to the scenario information and the system resource to be adjusted; the operating system adjusts according to the performance optimization policy.
- the processor 732 is a control center of the smartphone, and connects various parts of the entire smartphone by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 733, and calling the storage in the memory 733.
- the processor 732 may include one or more processing units; preferably, the processor 732 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the modem processor may also not be integrated into the processor 732.
- the processor 732 can be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and field programmable. Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the memory 733 can be used to store software programs and modules, and the processor 732 executes various functional applications and data processing of the smartphone by running software programs and modules stored in the memory 733.
- the memory 733 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function, and the like; the storage data area may store data created according to usage of the smartphone, and the like.
- the memory 733 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the memory 733 can be, for example, a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory (EPROM), and an electrically erasable memory.
- RAM random access memory
- ROM read only memory
- EPROM erasable programmable read only memory
- EEPROM Electrically erasable memory.
- registers hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
- the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to execute part or all of any of the methods described in the method embodiment.
- the computer includes a mobile terminal.
- the embodiment of the present application further provides a computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute as described in the method embodiment Part or all of the steps of either method.
- the computer program product can be a software installation package, the computer comprising a mobile terminal.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory.
- a computer readable memory A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
- ROM Read-Only Memory
- RAM Random Access Memory
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
Abstract
一种资源配置方法及相关产品。该方法应用于移动终端,移动终端上运行有操作系统以及一个或多个应用程序,方法包括:操作系统接收正在运行的目标应用程序发送的场景数据包(201),场景数据包包括目标应用程序当前的运行场景的场景信息和待调整的系统资源;操作系统根据场景信息和待调整的系统资源确定运行场景的性能优化策略(202);操作系统按照性能优化策略调整运行场景的系统资源的分配(203)。所述方法有利于提高移动终端控制目标应用程序正在运行的运行场景进行性能优化的实时性和精确度。
Description
本申请涉及移动终端技术领域,具体涉及资源配置方法及相关产品。
随着智能手机相关技术的快速发展,越来越多的应用被安装在用户手机中,如阅读类应用、支付类应用、游戏类应用、音乐类应用等,人们的衣食住行已经与手机密不可分。如何为手机中的应用进行资源配置以提高手机的使用体验,是领域内亟待解决的热点问题。
发明内容
本申请实施例提供了资源配置方法及相关产品,应用程序可以提高移动终端控制目标应用程序正在运行的运行场景进行性能优化的实时性和精确度。
第一方面,本申请实施例提供一种资源配置方法,应用于移动终端,所述移动终端上运行有操作系统以及一个或多个应用程序,所述方法包括:
所述操作系统接收正在运行的所述目标应用程序发送的场景数据包,所述场景数据包包括所述目标应用程序当前的运行场景的场景信息和待调整的系统资源;
所述操作系统根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略;
所述操作系统按照所述性能优化策略调整所述运行场景的系统资源的分配。
第二方面,本申请实施例提供一种资源配置装置,应用于移动终端,所述移动终端上运行有操作系统和应用程序,所述资源配置装置包括处理单元和通信单元,
所述处理单元,用于通过所述通信单元接收正在运行的所述目标应用程序发送的场景数据包,所述场景数据包包括所述目标应用程序当前的运行场景的场景信息和待调整的系统资源;以及用于根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略;以及用于按照所述性能优化策略调整所述运行场景的系统资源的分配。
第三方面,本申请实施例提供一种移动终端,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤,所述计算机包括移动终端。
第五方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括移动终端。
下面将对本申请实施例所涉及到的附图作简单地介绍。
图1A是一种智能手机的程序运行空间的示意图;
图1B是一种安卓系统的系统架构图;
图2是本申请实施例提供的一种资源配置方法的流程示意图;
图3是本申请实施例公开的一种资源配置方法的流程示意图;
图4是本申请实施例公开的一种资源配置方法的流程示意图;
图5是本申请实施例公开的一种移动终端的结构示意图;
图6是本申请实施例公开的一种移动终端的功能单元组成框图;
图7是本申请实施例公开的一种智能手机的结构示意图。
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为移动终端。本发明实施例所涉及到的操作系统是对硬件资源进行统一管理,并向用户提供业务接口的软件系统。
如图1A所示,目前智能手机等移动终端一般设置有程序运行空间,该程序运行空间包括用户空间和操作系统空间,其中,用户空间运行有一个或多个应用程序,该一个或多个应用程序为移动终端安装的第三方应用程序,操作系统空间运行有移动终端的操作系统。该移动终端具体可以运行安卓Android系统、苹果公司开发的移动操作系统iOS等,此处不做唯一限定。如图1B所示,以所述移动终端运行有Android系统为例,对应的用户空间包括该Android系统中的应用层(Applications),操作系统空间可以包括该Android系统中的应用程序框架层(Application Framework)、系统运行库层(包括系统运行库层Libraries和Android运行时Android Runtime)、Linux内核层(Linux Kernel)。其中,应用层上包括各类与用户直接交互的应用程序,或由Java语言编写的运行于后台的服务程序。例如,智能手机上实现的常见基本功能的程序,诸如短消息业务(Short Messaging Service,SMS)短信,电话拨号,图片浏览器,日历,游戏,地图,万维网(World Wide Web,Web)浏览器等程序,以及开发人员开发的其他应用程序。应用程序框架层提供开发Android应用程序所需的一系列类库,能够用于重用组件,也可以通过继承实现个性化的扩展。系统运行库层是应用程序框架的支撑,为Android系统中的各个组件提供服务。系统运行库层由系统类库和Android运行时构成。Android运行时包含核心库和Dalvik虚拟机两部分。Linux内核层用于实现硬件设备驱动,进程和内存管理,网络协议栈,电源管理,无线通信等核心功能。
所述第三方应用程序所创建的进程一开始是运行在用户空间的,当它要执行网络发送数据、读取磁盘资源等动作时,必须通过调用write、send等由操作系统提供的标准接口函 数来完成,即由CPU调用操作系统空间的代码来完成用户的请求操作。可见,第三方应用程序想要调用操作系统提供的功能,只能调用其提供的标准接口函数。同时,操作系统不知道第三方应用程序具体在执行哪些功能,目标应用程序也不能命令操作系统执行特殊的操作,这两者是相互独立的,这使得操作系统无法区分目标应用程序的内部运行场景,只能使用一套标准的参数去适配,无法针对目标应用程序的内部运行场景进行针对性的性能优化。
针对所述情况,本申请实施例提出一种针对移动终端的目标应用程序的资源配置方法,该方法中,操作系统接收正在运行的目标应用程序发送的场景数据包,场景数据包包括目标应用程序的当前的运行场景的场景信息和待调整的系统资源;操作系统根据场景信息和待调整的系统资源确定运行场景的性能优化策略;操作系统按照性能优化策略调整运行场景的系统资源的分配。实现由操作系统针对目标应用程序在运行过程中的性能进行优化,有利于提高移动终端控制目标应用程序正在运行的运行场景进行性能优化的实时性和精确度。
下面结合附图对本申请实施例进行介绍。
请参阅图2,图2是本申请实施例提供了一种资源配置方法的流程示意图,应用于移动终端,移动终端上运行有操作系统和一个或多个应用程序,如图所示,本资源配置方法包括:
S201,所述操作系统接收正在运行的所述目标应用程序发送的场景数据包,所述场景数据包包括所述目标应用程序当前的运行场景的场景信息和待调整的系统资源。
其中,目标应用程序是指安装在移动终端的用户空间的第三方应用程序,该第三方应用程序例如可以是视频类应用、通讯类应用、游戏类应用等,该第三方应用程序可以由用户安装,也可以由开发人员在移动终端出厂前预装,此处不做唯一限定。
其中,上述运行场景为目标应用程序正在运行时的内部运行场景,该内部运行场景可以按照不同预设条件进行划分,如按照是否有用户交互可以划分内部运行场景为交互式场景和非交互式场景,或者,按照任务的复杂度划分为单用户场景和多用户场景,或者按照不同的行为划分为登录场景、小屏幕播放场景、视频播放附带弹幕场景、全屏播放场景等,此处不做唯一限定。
其中,上述场景信息可以包括与目标应用程序的当前的内部运行场景的以下至少一种信息:场景标识、关键性能参数、时长信息,其中,场景标识可以由采集到的当前的内部运行场景的关键信息确定,关键信息可以包括登录信息、小屏幕播放信息、视频播放附带弹幕信息、界面类型信息等,关键性能参数可以包括当前的内部运行场景的帧率、丢帧、网络状态信息、CPU状态信息、电量、电池温度、卡顿等信息等,此处不做唯一限定。此外,场景数据包的格式例如可以是Java脚本对象标记(JavaScript Object Notation,JSON)、协议缓冲区(ProtocolBuffer,Protobuf)、自定义格式等数据传输格式,此处不做唯一限定。
其中,上述待调整的系统资源可以为一种系统资源,或者多个系统资源的组合,此处不做唯一限定。
S202,所述操作系统根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略。
其中,性能优化策略是指用于提高所述正在运行的目标应用程序的运行性能的资源配置策略,如CPU资源调整策略、GPU资源调整策略、内存带宽资源调整策略、磁盘资源调整策略、网络资源调整策略等,此处不做唯一限定。
S203,所述操作系统按照所述性能优化策略调整所述运行场景的系统资源的分配。
在一个可能的示例中,所述系统资源包括所述移动终端的以下资源中的至少一种: CPU资源、GPU资源、内存带宽资源、磁盘资源、网络资源。其中,网络资源包括移动终端的数据网络的网络资源、无线保真Wi-Fi网络的网络资源、蓝牙模块的控制参数资源等。
其中,在所述系统资源为CPU资源、GPU资源内存带宽资源、磁盘资源中的至少一种时,操作系统可以通过直连通信方式与操作系统空间的内核层通信,调整该系统资源的配置,直连通信方式是指通过抽象的应用程序编程接口(Application Programming Interface,API)直接通信。
其中,在所述系统资源为网络资源时,操作系统可以通过间接通信方式与操作系统空间的内核层通信,调整该系统资源的配置,间接通信方式是指通过调用代理服务来间接通信,如网络资源中的Wi-Fi子系统或者数据网络子系统与操作系统不运行在同一个系统内,需要通过一些代理的方式,间接访问这些系统资源,操作系统中提供了Wi-Fi的代理服务,通过调用该代理服务的接口来间接和Wi-Fi子系统通信。
可以看出,本申请实施例中,移动终端的操作系统首先接收目标应用程序发送的场景数据包,所述场景数据包包括目标应用程序当前的运行场景的场景信息和待调整的系统资源,其次,操作系统根据场景信息和所述待调整的系统资源确定运行场景的性能优化策略,最后,操作系统按照性能优化策略调整运行场景的系统资源的分配。由于场景数据包包括目标应用程序的场景信息和待调整的系统资源,且场景数据包由正在运行的目标应用程序发送,操作系统能够根据场景信息和待调整的系统资源精细化确定运行场景的性能优化策略,并由操作系统按照该性能优化策略实时调整运行场景的系统资源的配置,从而实现由操作系统对运行过程中的目标应用程序进行实时的性能优化,有利于提高移动终端控制目标应用程序正在运行的运行场景进行性能优化的实时性和精确度。
在一个可能的示例中,操作系统根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略,包括:所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量;所述操作系统根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
其中,场景信息包括场景标识、应用类型标识、网络带宽等关键性能参数。
可见,本示例中,由于操作系统能够获取到目标应用程序的当前的运行场景的场景信息和待调整的系统资源,从而操作系统能够实时确定待调整的系统资源的调整量,并基于该调整量生成该运行场景的性能优化策略,如此实现了由操作系统对目标应用程序的内部运行场景进行精确的资源调整,避免采用统一的系统层级性能优化策略功耗较高,有利于降低移动终端控制目标应用程序在运行过程中进行性能优化的功耗,提高移动终端的续航能力。
在一个可能的示例中,所述场景信息包括所述运行场景的场景标识;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统以所述运行场景的场景标识为查询标识,查询预设的所述目标应用程序的运行场景的场景标识与所述待调整的系统资源的调整量之间的映射关系,获取所述运行场景的场景标识对应的所述待调整的系统资源的调整量。
其中,上述运行场景的场景标识与待调整的系统资源的调整量之间的映射关系例如可以包括:目标应用程序的第一运行场景标识与待调整的系统资源的第一调整量之间的对应关系,目标应用程序的第二运行场景标识与待调整的系统资源的第二调整量之间的对应关系等,此处不做唯一限定。
其中,待调整的系统资源为移动终端中能够影响目标应用程序在当前的内部运行场景的运行性能的系统资源,如视频类型应用程序的一个内部运行场景为“登录视频界面”场景,移动终端的CPU资源和磁盘资源影响该场景的运行性能,则该场景的场景标识对应的 系统资源为CPU资源和磁盘资源。
可见,本示例中,通过设置场景标识对应待调整的系统资源的调整量,从而操作系统能够快速生成运行场景的性能优化策略,避免复杂计算流程延时较高,有利于提高移动终端优化目标应用程序的运行场景的实时性。
在一个可能的示例中,所述场景信息包括所述运行场景的关键性能参数;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述运行场景的关键性能参数确定所述运行场景的所述待调整资源的调整量。
其中,关键性能参数可以包括当前的内部运行场景的帧率、丢帧、网络状态信息、CPU状态信息、电量、电池温度、卡顿等信息等,此处不做唯一限定。
可见,本示例中,目标应用程序能够将操作系统原本采集不到的关键性能参数传递给操作系统,使得操作系统可以针对性的对目标应用程序的当前的内部运行场景的性能进行优化,即根据关键性能参数快速确定出高准确度的性能优化策略,以便实时调整正在运行的目标应用程序的系统资源的配置,有利于提高移动终端对目标应用程序进行运行优化的实时性和准确度。
在一个可能的示例中,所述目标应用程序为视频应用程序,所述当前的运行场景为登录场景,所述登录场景的场景信息包括所述登录场景的资源更新包的大小、待加载的内存数据的大小,所述待调整的系统资源包括网络带宽和内存数据的读取速度;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述资源更新包的大小确定所述登录场景的网络带宽的调整量,根据所述待加载的内存数据的大小确定所述登录场景的内存数据的读取速度的调整量。
可见,本示例中,移动终端针对视频应用的登录场景,能够根据网络带宽和内存数据的读取速度准确确定网络带宽的调整量和内存数据的读取速度的调整量,避免登录场景卡顿,提高移动终端优化视频应用的登陆场景的实时性和准确度。
在一个可能的示例中,所述目标应用程序为视频应用程序,所述当前的运行场景为小屏幕播放场景,所述小屏幕播放场景的场景信息包括小屏播放窗口的帧率和用户的界面刷新速度,所述待调整的系统资源包括网络带宽和CPU;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述小屏播放窗口的帧率和所述用户的界面刷新速度,确定所述小屏幕播放场景的网络带宽的调整量和CPU的配置参数,所述CPU的配置参数包括CPU的数量和工作频率。
可见,本示例中,移动终端针对视频应用的小视频播放场景,能够根据小屏播放窗口的帧率和用户的界面刷新速度准确确定网络带宽的调整量和CPU的配置参数,避免小视频播放场景卡顿,提高移动终端优化视频应用的小视频播放场景的实时性和准确度。
在一个可能的示例中,所述目标应用程序为视频应用程序,所述当前的运行场景为弹幕场景,所述弹幕场景的场景信息包括帧率和弹幕数量,所述待调整的系统资源包括网络带宽和CPU;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述帧率和弹幕数量确定所述弹幕场景的网络带宽的调整量和CPU的配置参数,所述CPU的配置参数包括CPU的数量和工作频率。
可见,本示例中,移动终端针对视频应用的弹幕场景,能够根据帧率和弹幕数量准确确定网络带宽的调整量和CPU的配置参数,避免弹幕场景卡顿,提高移动终端优化视频应用的弹幕场景的实时性和准确度。
在一个可能的示例中,所述目标应用程序为视频应用程序,所述当前的运行场景为全屏播放场景,所述全屏播放场景的场景信息包括帧率和清晰度,所述待调整的系统资源包括网络带宽和CPU;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系 统资源的调整量,包括:所述操作系统根据所述帧率和清晰度确定所述全屏播放场景的网络带宽的调整量和CPU的配置参数,所述CPU的配置参数包括CPU的数量和工作频率。
可见,本示例中,移动终端针对视频应用的全屏播放场景,能够根据帧率和清晰度准确确定网络带宽的调整量和CPU的配置参数,避免全屏播放场景卡顿,提高移动终端优化视频应用的全屏播放场景的实时性和准确度。
举例来说,假设视频类型应用程序的“登录视频界面”场景的关键性能参数为帧率X FPS,该“登录视频界面”场景的待调整的系统资源为CPU资源和GPU资源,操作系统在获取到该帧率X FPS和CPU资源和GPU资源信息后,根据帧率X FPS确定CPU资源的调整量为A,确定GPU资源的调整量为B,最后,根据该调整量A和调整量B生成该“登录视频界面”场景的性能优化策略。
在一个可能的示例中,所述场景信息还包括调整时长信息;所述操作系统按照所述性能优化策略调整所述运行场景的系统资源的分配,包括:所述操作系统在所述调整时长信息对应的调整时段按照所述性能优化策略调整所述目标应用程序的系统资源的分配。
可见,本示例中,由于操作系统是在调整时长信息对应的调整时段进行资源调整,即一旦调整时长操作该调整时段,操作系统可以中断调整操作,如此可以避免操作系统过长时间进行资源调整而影响系统的正常运行,有利于提高移动终端优化目标应用程序的性能的稳定性。
在一个可能的示例中,所述操作系统接收正在运行的目标应用程序发送的场景数据包之前,所述方法还包括:所述操作系统接收来自所述目标应用程序的数据通道建立请求,所述数据通道建立请求包括所述目标应用程序的应用标识;所述操作系统在预设的应用标识集合中包括所述目标应用程序的应用标识时,为所述目标应用程序分配数据传输接口,所述数据传输接口用于所述目标应用程序和所述操作系统之间传输数据,所述数据至少包括所述场景数据包。
其中,上述应用标识集合中包括有权限进行性能优化的应用程序的应用标识,此类应用标识可以由系统设置,或者由用户主动设置,此处不做唯一限定。
可见,本示例中,由于操作系统仅针对具有性能优化权限的应用程序配置数据传输接口,进而进行后续的性能优化,如此可以避免针对不具备性能优化权限的应用程序进行性能优化而造成额外的资源损耗,有利于提高移动终端的资源利用效率和准确度。
在一个可能的示例中,所述方法还包括:所述操作系统接收来自所述目标应用程序的资源配置中断请求;所述操作系统响应所述资源配置中断请求,取消按照所述性能优化策略调整所述运行场景的系统资源的分配。
可见,本示例中,由于目标应用程序能够主动要求操作系统中断资源调整操作,有利于降低目标应用程序的运行场景的资源调整的控制时延,提高实时性。
与所述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种资源配置方法的流程示意图,应用于移动终端,所述移动终端上运行有操作系统和一个多个应用程序,所述场景数据包包括所述目标应用程序的场景信息和待调整的系统资源。如图所示,本资源配置方法包括:
S301,所述操作系统接收正在运行的所述目标应用程序发送的场景数据包,所述场景数据包包括所述目标应用程序的当前的运行场景的场景信息和待调整的系统资源。
S302,所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,其中,所述场景信息包括所述运行场景的场景标识。
S303,所述操作系统以所述运行场景的场景标识为查询标识,查询预设的所述目标应 用程序的运行场景的场景标识与所述待调整的系统资源的调整量之间的映射关系,获取所述运行场景的场景标识对应的所述待调整的系统资源的调整量。
S304,所述操作系统根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
S305,所述操作系统按照所述性能优化策略调整所述运行场景的系统资源的分配。
可以看出,本申请实施例中,移动终端的操作系统接收正在运行的目标应用程序发送的场景数据包,场景数据包包括目标应用程序当前的运行场景的场景信息和待调整的系统资源;操作系统根据场景信息和待调整的系统资源确定运行场景的性能优化策略;操作系统按照性能优化策略调整运行场景的系统资源的分配。由于场景数据包包括目标应用程序的场景信息和待调整的系统资源,且场景数据包由正在运行的目标应用程序发送,操作系统能够根据场景信息和待调整的系统资源精细化确定运行场景的性能优化策略,并由操作系统按照该性能优化策略实时调整运行场景的系统资源的配置,从而实现由操作系统对运行过程中的目标应用程序进行实时的性能优化,有利于提高移动终端控制目标应用程序正在运行的运行场景进行性能优化的实时性和精确度。
此外,由于操作系统能够获取到目标应用程序的当前的运行场景的场景信息和待调整的系统资源,从而操作系统能够实时确定待调整的系统资源的调整量,并基于该调整量生成该运行场景的性能优化策略,如此实现了由操作系统对目标应用程序的内部运行场景进行精确的资源调整,避免采用统一的系统层级性能优化策略功耗较高,有利于降低移动终端控制目标应用程序在运行过程中进行性能优化的功耗,提高移动终端的续航能力。
此外,通过设置场景标识对应待调整的系统资源的调整量,从而操作系统能够快速生成运行场景的性能优化策略,避免复杂计算流程延时较高,有利于提高移动终端优化目标应用程序的运行场景的实时性。
与所述图2所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种资源配置方法的流程示意图,应用于移动终端,所述移动终端上运行有操作系统和一个或多个应用程序,所述场景数据包包括所述目标应用程序的场景信息和待调整的系统资源的调整量,所述场景信息包括场景标识。如图所示,本资源配置方法包括:
S401,所述操作系统接收来自所述目标应用程序的数据通道建立请求,所述数据通道建立请求包括所述目标应用程序的应用标识。
S402,所述操作系统在预设的应用标识集合中包括所述目标应用程序的应用标识时,为所述目标应用程序分配数据传输接口,所述数据传输接口用于所述目标应用程序和所述操作系统之间传输数据,所述数据至少包括所述场景数据包。
S403,所述操作系统从所述场景数据包中获取所述场景标识和待调整的系统资源。
S404,所述操作系统以所述运行场景的场景标识为查询标识,查询预设的所述目标应用程序的运行场景的场景标识与所述待调整的系统资源的调整量之间的映射关系,获取所述运行场景的场景标识对应的所述待调整的系统资源的调整量。
S405,所述操作系统根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
S406,所述操作系统按照所述性能优化策略调整所述运行场景的系统资源的分配。
S407,所述操作系统接收来自所述目标应用程序的资源配置中断请求;
S408,所述操作系统响应所述资源配置中断请求,取消按照所述性能优化策略调整所述运行场景的系统资源的分配。
可以看出,本申请实施例中,移动终端的操作系统空间的操作系统接收正在运行的目 标应用程序发送的场景数据包,场景数据包包括目标应用程序当前的运行场景的场景信息和待调整的系统资源;操作系统根据场景信息和待调整的系统资源确定运行场景的性能优化策略;操作系统按照性能优化策略调整运行场景的系统资源的分配。由于场景数据包包括目标应用程序的场景信息和待调整的系统资源,且场景数据包由正在运行的目标应用程序发送,操作系统能够根据场景信息和待调整的系统资源精细化确定运行场景的性能优化策略,并由操作系统按照该性能优化策略实时调整目标应用程序的系统资源的配置,从而实现由操作系统对运行过程中的目标应用程序进行实时的性能优化,有利于提高移动终端控制目标应用程序正在运行的运行场景进行性能优化的实时性和精确度。
此外,由于操作系统能够获取到目标应用程序的当前的运行场景的场景信息和待调整的系统资源,从而操作系统能够实时确定待调整的系统资源的调整量,并基于该调整量生成该运行场景的性能优化策略,如此实现了由操作系统对目标应用程序的内部运行场景进行精确的资源调整,避免采用统一的系统层级性能优化策略功耗较高,有利于降低移动终端控制目标应用程序在运行过程中进行性能优化的功耗,提高移动终端的续航能力。
此外,通过设置场景标识对应待调整的系统资源的调整量,从而操作系统能够快速生成运行场景的性能优化策略,避免复杂计算流程延时较高,有利于提高移动终端优化目标应用程序的运行场景的实时性。
此外,由于操作系统仅针对具有性能优化权限的应用程序配置数据传输接口,进而进行后续的性能优化,如此可以避免针对不具备性能优化权限的应用程序进行性能优化而造成额外的资源损耗,有利于提高移动终端的资源利用效率和准确度。
此外,由于目标应用程序能够主动要求操作系统中断资源调整操作,有利于降低目标应用程序的运行场景的资源调整的控制时延,提高实时性。
与所述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种移动终端的结构示意图,该移动终端运行有一个或多个应用程序和操作系统,如图所示,该移动终端包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序不同于所述一个或多个应用程序,且所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下步骤的指令;
接收正在运行的所述目标应用程序发送的场景数据包,所述场景数据包包括所述目标应用程序当前的运行场景的场景信息和待调整的系统资源;
根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略;
按照所述性能优化策略调整所述运行场景的系统资源的分配。
可以看出,本申请实施例中,移动终端的操作系统接收正在运行的目标应用程序发送的场景数据包,场景数据包包括目标应用程序当前的运行场景的场景信息和待调整的系统资源;操作系统根据场景信息和待调整的系统资源确定运行场景的性能优化策略;操作系统按照性能优化策略调整运行场景的系统资源的分配。由于场景数据包包括目标应用程序的场景信息和待调整的系统资源,且场景数据包由正在运行的目标应用程序发送,操作系统能够根据场景信息和待调整的系统资源精细化确定运行场景的性能优化策略,并由操作系统按照该性能优化策略实时调整运行场景的系统资源的配置,从而实现由操作系统对运行过程中的目标应用程序进行实时的性能优化,有利于提高移动终端控制目标应用程序正在运行的运行场景进行性能优化的实时性和精确度。
在一个可能的示例中,在根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略方面,所述程序中的指令具体用于执行以下操作:根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量;以及根据所述待调整的系统资源的调 整量生成所述运行场景的性能优化策略。
在一个可能的示例中,所述场景信息包括所述运行场景的场景标识;在根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述程序中的指令具体用于执行以下操作:以所述运行场景的场景标识为查询标识,查询预设的所述目标应用程序的运行场景的场景标识与所述待调整的系统资源的调整量之间的映射关系,获取所述运行场景的场景标识对应的所述待调整的系统资源的调整量,根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
在一个可能的示例中,所述场景信息包括所述运行场景的关键性能参数;在根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述程序中的指令具体用于执行以下操作:根据所述运行场景的关键性能参数确定所述运行场景的所述待调整资源的调整量,根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
在一个可能的示例中,所述场景信息还包括调整时长信息;在按照所述性能优化策略调整所述运行场景的系统资源的分配方面,所述程序中的指令具体用于执行以下操作:在所述调整时长信息对应的调整时段按照所述性能优化策略调整所述目标应用程序的系统资源的分配。
在一个可能的示例中,在接收正在运行的目标应用程序发送的场景数据包之前的方面,所述程序中的指令具体用于执行以下操作:接收来自所述目标应用程序的数据通道建立请求,所述数据通道建立请求包括所述目标应用程序的应用标识;以及在预设的应用标识集合中包括所述目标应用程序的应用标识时,为所述目标应用程序分配数据传输接口,所述数据传输接口用于所述目标应用程序和所述操作系统之间传输数据,所述数据至少包括所述场景数据包。
在一个可能的示例中,所述程序中的指令还具体用于执行以下操作:接收来自所述目标应用程序的资源配置中断请求;以及响应所述资源配置中断请求,取消按照所述性能优化策略调整所述运行场景的系统资源的分配。
在一个可能的示例中,所述系统资源包括所述移动终端的以下资源中的至少一种:CPU资源、GPU资源、内存带宽资源、磁盘资源、网络资源。
上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,移动终端为了实现所述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据所述方法示例对移动终端进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用集成的单元的情况下,图6示出了所述实施例中所涉及的资源配置装置的一种可能的功能单元组成框图。资源配置装置600应用于移动终端,所述移动终端上运行有操作系统和一个或多个应用程序,资源配置装置600包括处理单元602和通信单元603。处理单元602用于对资源配置装置的动作进行控制管理,例如,处理单元602用于支持资源配置装置执行图2中的步骤S201-S203、图3中的步骤S301-S305、图4中的步骤S401-S408和/或用于本 文所描述的技术的其它过程。资源配置装置还可以包括存储单元601,用于存储程序代码和数据。
所述处理单元602,用于通过所述通信单元603接收正在运行的所述目标应用程序发送的场景数据包,所述场景数据包包括所述目标应用程序的场景信息和待调整的系统资源;以及用于根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略;以及用于按照所述性能优化策略调整所述运行场景的系统资源的分配。
在一个可能的示例中,在根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略方面,所述处理单元602具体用于:根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量;以及根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
在一个可能的示例中,所述场景信息包括所述运行场景的场景标识;在所述根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述处理单元602具体用于:以所述运行场景的场景标识为查询标识,查询预设的所述目标应用程序的运行场景的场景标识与所述待调整的系统资源的调整量之间的映射关系,获取所述运行场景的场景标识对应的所述待调整的系统资源的调整量;以及根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
在一个可能的示例中,所述场景信息包括所述运行场景的关键性能参数;在所述根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述处理单元602具体用于:根据所述运行场景的关键性能参数确定所述运行场景的所述待调整资源的调整量,以及根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
在一个可能的示例中,所述场景信息还包括调整时长信息;在所述按照所述性能优化策略调整所述运行场景的系统资源的分配方面,所述处理单元602具体用于:在所述调整时长信息对应的调整时段按照所述性能优化策略调整所述目标应用程序的系统资源的分配。
在一个可能的示例中,所述处理单元602还用于:在接收正在运行的目标应用程序发送的场景数据包之前,接收来自所述目标应用程序的数据通道建立请求,所述数据通道建立请求包括所述目标应用程序的应用标识;以及在预设的应用标识集合中包括所述目标应用程序的应用标识时,为所述目标应用程序分配数据传输接口,以及控制所述数据传输接口用于所述目标应用程序和所述操作系统之间传输数据,所述数据至少包括所述场景数据包。
在一个可能的示例中,所述处理单元602还用于:接收来自所述目标应用程序的资源配置中断请求;以及响应所述资源配置中断请求,取消按照所述性能优化策略调整所述运行场景的系统资源的分配。
在一个可能的示例中,所述系统资源包括所述移动终端的以下资源中的至少一种:CPU资源、GPU资源、内存带宽资源、磁盘资源、网络资源。
其中,处理单元602可以是处理器或控制器,通信单元603可以是处理器和程序运行空间之间的内部通信接口,如处理器与操作系统空间的通信接口,或者处理器与用户空间的通信接口等,存储单元601可以是存储器。
请参阅图7,图7是本申请实施例提供了一种智能手机700的结构示意图,所述智能手机700包括:壳体710、触控显示屏720、主板730、电池740和副板750,主板730上设置有前置摄像头731、处理器732、存储器733、电源管理芯片734等,副板上设置有振子751、一体音腔752、VOOC闪充接口753和指纹识别模组754。
其中,该智能手机上运行有操作系统和一个或多个应用程序,目标应用程序运行于用 户空间,操作系统运行于操作系统空间,操作系统接收正在运行的目标应用程序发送的场景数据包,所述场景数据包包括目标应用程序当前的运行场景的场景信息和待调整的系统资源;操作系统根据场景信息和所述待调整的系统资源确定运行场景的性能优化策略;操作系统按照性能优化策略调整运行场景的系统资源的分配。
所述处理器732是智能手机的控制中心,利用各种接口和线路连接整个智能手机的各个部分,通过运行或执行存储在存储器733内的软件程序和/或模块,以及调用存储在存储器733内的数据,执行智能手机的各种功能和处理数据,从而对智能手机进行整体监控。可选的,处理器732可包括一个或多个处理单元;优选的,处理器732可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,所述调制解调处理器也可以不集成到处理器732中。该处理器732例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。
所述存储器733可用于存储软件程序以及模块,处理器732通过运行存储在存储器733的软件程序以及模块,从而执行智能手机的各种功能应用以及数据处理。存储器733可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据智能手机的使用所创建的数据等。此外,存储器733可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。该存储器733例如可以是随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如所述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括移动终端。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如所述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括移动终端。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在所述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可 以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解所述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。
Claims (20)
- 一种资源配置方法,其特征在于,应用于移动终端,所述移动终端上运行有操作系统以及一个或多个应用程序,所述方法包括:所述操作系统接收正在运行的所述目标应用程序发送的场景数据包,所述场景数据包包括所述目标应用程序当前的运行场景的场景信息和待调整的系统资源;所述操作系统根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略;所述操作系统按照所述性能优化策略调整所述运行场景的系统资源的分配。
- 根据权利要求1所述的方法,其特征在于,所述操作系统根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略,包括:所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量;所述操作系统根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
- 根据权利要求2所述的方法,其特征在于,所述场景信息包括所述运行场景的场景标识;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统以所述运行场景的场景标识为查询标识,查询预设的所述目标应用程序的运行场景的场景标识与所述待调整的系统资源的调整量之间的映射关系,获取所述运行场景的场景标识对应的所述待调整的系统资源的调整量。
- 根据权利要求2所述的方法,其特征在于,所述场景信息包括所述运行场景的关键性能参数;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述运行场景的关键性能参数确定所述运行场景的所述待调整资源的调整量。
- 根据权利要求4所述的方法,其特征在于,所述目标应用程序为视频应用程序,所述当前的运行场景为登录场景,所述登录场景的场景信息包括所述登录场景的资源更新包的大小、待加载的内存数据的大小,所述待调整的系统资源包括网络带宽和内存数据的读取速度;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述资源更新包的大小确定所述登录场景的网络带宽的调整量,根据所述待加载的内存数据的大小确定所述登录场景的内存数据的读取速度的调整量。
- 根据权利要求4所述的方法,其特征在于,所述目标应用程序为视频应用程序,所述当前的运行场景为小屏幕播放场景,所述小屏幕播放场景的场景信息包括小屏播放窗口的帧率和用户的界面刷新速度,所述待调整的系统资源包括网络带宽和CPU;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述小屏播放窗口的帧率和所述用户的界面刷新速度,确定所述小屏幕播放场景的网络带宽的调整量和CPU的配置参数,所述CPU的配置参数包括CPU的数量和工作频率。
- 根据权利要求4所述的方法,其特征在于,所述目标应用程序为视频应用程序,所述当前的运行场景为弹幕场景,所述弹幕场景的场景信息包括帧率和弹幕数量,所述待调整的系统资源包括网络带宽和CPU;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述帧率和弹幕数量确定所述弹幕场景的网络带宽的调整量和CPU的配置参数,所述CPU的配置参数包括CPU的数量和工作频率。
- 根据权利要求4所述的方法,其特征在于,所述目标应用程序为视频应用程序,所述当前的运行场景为全屏播放场景,所述全屏播放场景的场景信息包括帧率和清晰度,所述待调整的系统资源包括网络带宽和CPU;所述操作系统根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量,包括:所述操作系统根据所述帧率和清晰度确定所述全屏播放场景的网络带宽的调整量和CPU的配置参数,所述CPU的配置参数包括CPU的数量和工作频率。
- 根据权利要求1-8任一项所述的方法,其特征在于,所述场景信息还包括调整时长信息;所述操作系统按照所述性能优化策略调整所述运行场景的系统资源的分配,包括:所述操作系统在所述调整时长信息对应的调整时段按照所述性能优化策略调整所述目标应用程序的系统资源的分配。
- 根据权利要求1-9任一项所述的方法,其特征在于,所述操作系统接收正在运行的目标应用程序发送的场景数据包之前,所述方法还包括:所述操作系统接收来自所述目标应用程序的数据通道建立请求,所述数据通道建立请求包括所述目标应用程序的应用标识;所述操作系统在预设的应用标识集合中包括所述目标应用程序的应用标识时,为所述目标应用程序分配数据传输接口,所述数据传输接口用于所述目标应用程序和所述操作系统之间传输数据,所述数据至少包括所述场景数据包。
- 根据权利要求1-10任一项所述的方法,其特征在于,所述方法还包括:所述操作系统接收来自所述目标应用程序的资源配置中断请求;所述操作系统响应所述资源配置中断请求,取消按照所述性能优化策略调整所述运行场景的系统资源的分配。
- 一种资源配置装置,其特征在于,应用于移动终端,所述移动终端运行有操作系统和一个或多个应用程序,所述资源配置装置包括处理单元和通信单元,所述处理单元,用于通过所述通信单元接收正在运行的所述目标应用程序发送的场景数据包,所述场景数据包包括所述目标应用程序当前的运行场景的场景信息和待调整的系统资源;以及用于根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略;以及用于按照所述性能优化策略调整所述运行场景的系统资源的分配。
- 根据权利要求12所述的装置,其特征在于,在所述根据所述场景信息和所述待调整的系统资源确定所述运行场景的性能优化策略方面,所述处理单元具体用于:根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量;以及根据所述待调整的系统资源的调整量生成所述运行场景的性能优化策略。
- 根据权利要求13所述的装置,其特征在于,所述场景信息包括所述运行场景的场景标识;在所述根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述处理单元具体用于:以所述运行场景的场景标识为查询标识,查询预设的所述目标应用程序的运行场景的场景标识与所述待调整的系统资源的调整量之间的映射关系,获取所述运行场景的场景标识对应的所述待调整的系统资源的调整量。
- 根据权利要求13所述的装置,其特征在于,所述场景信息包括所述运行场景的关键性能参数;在所述根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述处理单元具体用于:根据所述运行场景的关键性能参数确定所述运行场景的所述待调整资源的调整量。
- 根据权利要求15所述的装置,其特征在于,所述目标应用程序为视频应用程序,所述当前的运行场景为登录场景,所述登录场景的场景信息包括所述登录场景的资源更新包的大小、待加载的内存数据的大小,所述待调整的系统资源包括网络带宽和内存数据的读取速度;在所述根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述处理单元具体用于:根据所述资源更新包的大小确定所述登录场景的网络带宽的调整量,根据所述待加载的内存数据的大小确定所述登录场景的内存数据的读取速度的调整量。
- 根据权利要求15所述的装置,其特征在于,所述目标应用程序为视频应用程序,所述当前的运行场景为小屏幕播放场景,所述小屏幕播放场景的场景信息包括小屏播放窗口的帧率和用户的界面刷新速度,所述待调整的系统资源包括网络带宽和CPU;在所述根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述处理单元具体用于:根据所述小屏播放窗口的帧率和所述用户的界面刷新速度,确定所述小屏幕播放场景的网络带宽的调整量和CPU的配置参数,所述CPU的配置参数包括CPU的数量和工作频率。
- 根据权利要求15所述的装置,其特征在于,所述目标应用程序为视频应用程序,所述当前的运行场景为弹幕场景,所述弹幕场景的场景信息包括帧率和弹幕数量,所述待调整的系统资源包括网络带宽和CPU;在所述根据所述场景信息确定所述运行场景的所述待调整的系统资源的调整量方面,所述处理单元具体用于:根据所述帧率和弹幕数量确定所述弹幕场景的网络带宽的调整量和CPU的配置参数,所述CPU的配置参数包括CPU的数量和工作频率。
- 一种移动终端,其特征在于,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行权利要求1-11任一项方法中的步骤的指令。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-11任一项所述的方法,所述计算机包括移动终端。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710776020.1A CN107515787A (zh) | 2017-08-31 | 2017-08-31 | 资源配置方法及相关产品 |
CN201710776020.1 | 2017-08-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019042171A1 true WO2019042171A1 (zh) | 2019-03-07 |
Family
ID=60723739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/101181 WO2019042171A1 (zh) | 2017-08-31 | 2018-08-17 | 资源配置方法及相关产品 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107515787A (zh) |
WO (1) | WO2019042171A1 (zh) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107515787A (zh) * | 2017-08-31 | 2017-12-26 | 广东欧珀移动通信有限公司 | 资源配置方法及相关产品 |
CN108647088A (zh) * | 2018-03-13 | 2018-10-12 | 广东欧珀移动通信有限公司 | 资源配置方法、装置、终端及存储介质 |
EP3779690A4 (en) | 2018-04-20 | 2021-05-12 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | PROCESSOR CORE PLANNING METHOD AND DEVICE, TERMINAL DEVICE AND STORAGE MEDIUM |
CN109542614B (zh) * | 2018-05-30 | 2023-06-23 | Oppo广东移动通信有限公司 | 资源配置方法、装置、终端及存储介质 |
CN109304035B (zh) * | 2018-09-03 | 2022-04-19 | Oppo广东移动通信有限公司 | 游戏时长的获取方法、装置、终端设备及存储介质 |
CN109376053B (zh) * | 2018-09-20 | 2022-11-08 | Oppo广东移动通信有限公司 | 数据处理方法、装置以及移动终端 |
CN109379548B (zh) * | 2018-09-26 | 2021-04-06 | Oppo广东移动通信有限公司 | 多媒体录制方法、装置、终端及存储介质 |
CN109240833A (zh) * | 2018-09-26 | 2019-01-18 | Oppo广东移动通信有限公司 | 资源配置方法、装置、终端及存储介质 |
CN109151966B (zh) * | 2018-10-15 | 2021-08-17 | Oppo广东移动通信有限公司 | 终端控制方法、装置、终端设备及存储介质 |
CN109960395B (zh) * | 2018-10-15 | 2021-06-08 | 华为技术有限公司 | 资源调度方法和计算机设备 |
CN111797867A (zh) * | 2019-04-09 | 2020-10-20 | Oppo广东移动通信有限公司 | 系统资源优化方法、装置、存储介质及电子设备 |
CN110475325A (zh) * | 2019-08-22 | 2019-11-19 | 北京字节跳动网络技术有限公司 | 功率分配方法、装置、终端及存储介质 |
CN110784598B (zh) * | 2019-10-24 | 2022-04-08 | 北京小米移动软件有限公司 | 信息处理方法、装置及存储介质 |
CN114258529A (zh) * | 2019-10-31 | 2022-03-29 | 深圳市欢太科技有限公司 | 参数配置方法、装置、电子设备及计算机可读介质 |
CN113434300B (zh) * | 2019-11-06 | 2023-01-24 | 腾讯科技(深圳)有限公司 | 一种数据处理方法以及相关装置 |
CN111124310B (zh) * | 2019-12-22 | 2023-01-10 | 苏州浪潮智能科技有限公司 | 存储系统调度优化方法及相关组件 |
CN111339048A (zh) * | 2020-02-28 | 2020-06-26 | 京东数字科技控股有限公司 | 缓存读取量调整方法、装置、电子设备及存储介质 |
CN114840270A (zh) * | 2022-05-09 | 2022-08-02 | 珠海全志科技股份有限公司 | 系统总线带宽调整方法、计算机装置及计算机可读存储介质 |
CN117170857A (zh) * | 2022-05-27 | 2023-12-05 | 华为技术有限公司 | 一种资源管控方法、电子设备及介质 |
CN115525362B (zh) * | 2022-09-29 | 2023-09-15 | 建信金融科技有限责任公司 | 基于操作系统内核参数调整平台的参数变更方法和装置 |
CN118034613B (zh) * | 2024-04-11 | 2024-06-11 | 深圳市铨兴科技有限公司 | 一种存储空间数据智能调度方法、系统及存储器 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110167424A1 (en) * | 2010-01-07 | 2011-07-07 | International Business Machines Corporation | Integrated differentiated operation throttling |
CN105511965A (zh) * | 2015-12-01 | 2016-04-20 | 上海斐讯数据通信技术有限公司 | 一种当前界面应用程序的优化方法和系统 |
CN106095592A (zh) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | 一种前景应用程序场景同步方法及装置、系统 |
CN107426432A (zh) * | 2017-07-31 | 2017-12-01 | 广东欧珀移动通信有限公司 | 资源配置方法及相关产品 |
CN107450988A (zh) * | 2017-07-31 | 2017-12-08 | 广东欧珀移动通信有限公司 | 资源配置方法及相关产品 |
CN107515787A (zh) * | 2017-08-31 | 2017-12-26 | 广东欧珀移动通信有限公司 | 资源配置方法及相关产品 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5845351B2 (ja) * | 2012-07-06 | 2016-01-20 | ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. | リソース割当方法及び装置 |
CN106020990B (zh) * | 2016-06-30 | 2020-01-10 | 宇龙计算机通信科技(深圳)有限公司 | 一种中央处理器的控制方法及终端设备 |
CN106549880A (zh) * | 2016-11-25 | 2017-03-29 | 珠海市魅族科技有限公司 | 一种终端的资源分配方法及终端设备 |
-
2017
- 2017-08-31 CN CN201710776020.1A patent/CN107515787A/zh active Pending
-
2018
- 2018-08-17 WO PCT/CN2018/101181 patent/WO2019042171A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110167424A1 (en) * | 2010-01-07 | 2011-07-07 | International Business Machines Corporation | Integrated differentiated operation throttling |
CN105511965A (zh) * | 2015-12-01 | 2016-04-20 | 上海斐讯数据通信技术有限公司 | 一种当前界面应用程序的优化方法和系统 |
CN106095592A (zh) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | 一种前景应用程序场景同步方法及装置、系统 |
CN107426432A (zh) * | 2017-07-31 | 2017-12-01 | 广东欧珀移动通信有限公司 | 资源配置方法及相关产品 |
CN107450988A (zh) * | 2017-07-31 | 2017-12-08 | 广东欧珀移动通信有限公司 | 资源配置方法及相关产品 |
CN107515787A (zh) * | 2017-08-31 | 2017-12-26 | 广东欧珀移动通信有限公司 | 资源配置方法及相关产品 |
Also Published As
Publication number | Publication date |
---|---|
CN107515787A (zh) | 2017-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019042171A1 (zh) | 资源配置方法及相关产品 | |
CN107426432B (zh) | 资源配置方法及相关产品 | |
WO2019047709A1 (zh) | 资源配置方法及相关产品 | |
CN107577533B (zh) | 资源配置方法及相关产品 | |
CN107547746B (zh) | 资源配置方法及相关产品 | |
CN107479970B (zh) | 资源配置方法及相关产品 | |
US11151010B2 (en) | Resource configuration method, mobile terminal and storage medium | |
CN107861816B (zh) | 资源配置方法及装置 | |
WO2019042180A1 (zh) | 资源配置方法及相关产品 | |
CN107528976B (zh) | 资源配置方法及相关产品 | |
CN107450988B (zh) | 资源配置方法及相关产品 | |
CN107547745B (zh) | 资源配置方法及相关产品 | |
WO2019109868A1 (zh) | 资源配置方法及相关产品 | |
CN107589977B (zh) | 资源配置方法,资源配置装置,移动终端及介质 | |
US11016812B2 (en) | Method for resource allocation and terminal device | |
US11182210B2 (en) | Method for resource allocation and terminal device | |
WO2019072208A1 (zh) | 应用程序运行控制方法及设备 | |
WO2019047708A1 (zh) | 资源配置方法及相关产品 | |
CN107517306B (zh) | 资源配置方法及相关产品 | |
WO2019072180A1 (zh) | 应用程序的资源配置方法及设备 | |
WO2019042172A1 (zh) | 资源配置方法及相关产品 | |
CN107528977B (zh) | 资源配置方法及相关产品 | |
CN107479972A (zh) | 资源配置方法及相关产品 | |
WO2019076254A1 (zh) | 游戏应用控制方法及设备 | |
CN107967178B (zh) | 资源配置方法和资源配置装置及移动终端和介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18850293 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18850293 Country of ref document: EP Kind code of ref document: A1 |