WO2023245366A1 - Procédé et appareil de gestion d'applications, dispositif électronique et support de stockage - Google Patents
Procédé et appareil de gestion d'applications, dispositif électronique et support de stockage Download PDFInfo
- Publication number
- WO2023245366A1 WO2023245366A1 PCT/CN2022/099930 CN2022099930W WO2023245366A1 WO 2023245366 A1 WO2023245366 A1 WO 2023245366A1 CN 2022099930 W CN2022099930 W CN 2022099930W WO 2023245366 A1 WO2023245366 A1 WO 2023245366A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- configuration information
- application instance
- application
- target process
- instance
- Prior art date
Links
- 238000007726 management method Methods 0.000 title claims abstract description 29
- 238000000034 method Methods 0.000 claims abstract description 237
- 230000008569 process Effects 0.000 claims abstract description 217
- 230000004044 response Effects 0.000 claims abstract description 30
- 230000015654 memory Effects 0.000 claims description 43
- 230000004807 localization Effects 0.000 claims description 7
- 238000012545 processing Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000005291 magnetic effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000004793 poor memory Effects 0.000 description 2
- 230000026676 system process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- 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/48—Program initiating; Program switching, e.g. by interrupt
Definitions
- the present disclosure relates to the technical field of electronic equipment, and specifically relates to an application management method, device, electronic equipment and storage medium.
- embodiments of the present disclosure provide an application management method, device, electronic device and storage medium.
- embodiments of the present disclosure provide an application management method, applied to electronic devices, and the method includes:
- the current first configuration information of the first application instance is obtained, and the first configuration information is cached in the current
- the target processes running include:
- the first configuration information is determined according to the global configuration information and the state parameters, and the first configuration information is cached in the target process.
- the method described in the present disclosure further includes:
- the target process is configured according to the first configuration information of the first application instance cached in the target process.
- obtaining the second configuration information of the second application instance and initializing the configuration of the target process according to the second configuration information includes:
- obtaining the second configuration information of the second application instance and initializing the configuration of the target process according to the second configuration information includes:
- initializing the configuration of the target process according to the second configuration information to run the second application instance in the target process includes:
- Configure the application environment of the target process according to the global configuration information configure the second application instance in the target process according to the status parameter, so as to run the second application instance in the target process.
- both the first configuration information and the second configuration information include at least one of the following:
- System capability interface information application timer information, application plug-in information, multi-language information, and localization setting information.
- the electronic device includes a wearable device.
- an application management device including:
- the first acquisition module is configured to, in response to switching from the currently running first application instance to the second application instance, acquire the current first configuration information of the first application instance, and cache the first configuration information in the current In the running target process;
- the second acquisition module is configured to acquire the second configuration information of the second application instance, and initialize the configuration of the target process according to the second configuration information, so as to run the second application instance in the target process.
- the first acquisition module is configured to:
- the first configuration information is determined according to the global configuration information and the state parameters, and the first configuration information is cached in the target process.
- the device of the present disclosure further includes a configuration module configured to:
- the target process is configured according to the first configuration information of the first application instance cached in the target process.
- the second acquisition module is configured as:
- the second acquisition module is configured as:
- the second acquisition module is configured to:
- Configure the application environment of the target process according to the global configuration information configure the second application instance in the target process according to the status parameter, so as to run the second application instance in the target process.
- both the first configuration information and the second configuration information include at least one of the following:
- System capability interface information application timer information, application plug-in information, multi-language information, and localization setting information.
- the electronic device includes a wearable device.
- an electronic device including:
- a memory stores computer instructions for causing the processor to execute the method according to any implementation manner of the first aspect.
- an embodiment of the present disclosure provides a storage medium that stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any embodiment of the first aspect.
- the application management method of the embodiment of the present disclosure includes, in response to switching from the currently running first application instance to the second application instance, caching the first configuration information of the first application instance in the target process, and based on the second application instance's
- the second configuration information performs initial configuration on the target process to run the second application instance in the target process.
- there is no need to create a new process when switching applications and based on the configuration information cached when the application is switched to the background, when the application is switched to the foreground, there is no need to restart the application, and the application can be directly passed through
- the cached configuration information enables the application to run, enables multiple applications to be kept alive in a single process at the same time, and improves application startup efficiency.
- Figure 1 is a flowchart of an application management method according to some embodiments of the present disclosure.
- FIG. 2 is a flowchart of an application management method according to some embodiments of the present disclosure.
- FIG. 3 is a flowchart of an application management method in some embodiments of the present disclosure.
- Figure 4 is a flowchart of an application management method according to some embodiments of the present disclosure.
- Figure 5 is a structural block diagram of an application management device according to some embodiments of the present disclosure.
- Figure 6 is a structural block diagram of an electronic device according to some embodiments of the present disclosure.
- APP Application
- the system creates an independent process for the application and allocates a certain amount of memory space to the process, and implements the functions of the application through the process.
- devices such as smart watches and smart bracelets
- their memory space is small and their hardware performance is limited, and often only one process can exist at the same time.
- devices with poor memory space and hardware performance are defined as Lightweight device.
- embodiments of the present disclosure provide an application management method, device, electronic device and storage medium, aiming to use a single process to achieve simultaneous keep-aliveness of multiple applications and improve multi-application switching without basically increasing memory consumption.
- the efficiency is particularly beneficial for deployment on lightweight electronic devices with low memory.
- an embodiment of the present disclosure provides an application management method, which can be applied to electronic devices.
- the specific type of the electronic device can be any device type suitable for implementation, such as a smart phone, a tablet, a smart watch, a smart bracelet, etc.
- the present disclosure does not limit this.
- the embodiments of the disclosure are more effective for lightweight devices with poor memory and hardware performance. This is because devices such as smartphones and tablets have strong memory space and system performance. When multiple applications are running, a process can be created for each application to ensure that multiple applications can survive in the background. For devices such as smart watches and smart bracelets, the memory space is very limited, and often only one process or even one thread can exist at the same time. Therefore, the disclosed method can be used to achieve the simultaneous survival of multiple applications in a single process or single thread. The following description will be made in conjunction with the embodiments.
- Process It is the basic unit of resource allocation and scheduling in the system.
- the process is the container of threads.
- the system will create a process for the application, allocate a certain amount of memory space to the process, and initialize the process according to the relevant configuration information of the application to implement the application. Correct operation of the program.
- Thread It is the smallest unit that the system can perform operation scheduling. It is included in the process and is the actual operating unit in the process. That is, a process can include at least one thread, and each thread performs different tasks in parallel. For example, when an application is started, the application process can include multiple threads, each thread is responsible for performing different tasks, thereby realizing multiple functions of the application.
- Instance In object-oriented programming, the process of creating an object using a class is usually called instantiation, and creating an object is an instance.
- the applications themselves are lightweight applications and can only implement a relatively single function. Therefore, when the system runs the application, it can only run a single thread.
- the application management method of the present disclosure includes:
- an application instance refers to an instance of an application running in a process.
- the system switches from a currently running application to another application, defines the currently running application as the first application instance, and defines the other application after switching as the second application instance.
- the system When the system runs the first application instance, it will create a process for the first application instance and allocate memory to the process.
- multiple application instances implement application switching in the same process, and the system process is defined as the target process.
- the system when the system detects that the currently running first application instance is switched to the second application instance, it means that the first application instance needs to be switched to running in the background, and the second application instance remains running in the foreground.
- the first configuration information of the first application instance at the current moment is obtained, and the first Configuration information is cached in the currently running target process.
- the configuration information of an application instance refers to the relevant configuration information when running the application. It can be understood that when the application is started, the created process needs to be initialized according to the relevant configuration information declared by the application. Moreover, as the application runs, some status parameters in the configuration information will also change.
- the status parameters may include scheduled task parameters, timer parameters, etc.
- the relevant configuration information and status parameters of the first application instance at the current moment can be obtained, the first configuration information at the current moment can be obtained, and then the first application instance can be obtained.
- Configuration information is cached in the memory of the currently running target process.
- the target process is to run the second application instance normally and needs to reinitialize the configuration according to the second configuration information corresponding to the second application instance.
- the configuration information of the current application instance will be cached. Therefore, in the embodiment of the present disclosure, the second application instance may be an application that has been opened before but was switched to the background, or it may be an application that is opened for the first time.
- the second configuration information of the second application instance cached in the process memory can be directly read.
- the program file (Application File) corresponding to the second application instance can be read to obtain the second configuration information declared in the program file. This will be described in the following embodiments of the present disclosure and will not be described in detail here.
- the currently running target process is directly initialized and configured according to the second configuration information. That is, in the embodiment of the present disclosure, there is no need to end the currently running target process, but directly Configure the second application instance for the currently running target process, thereby running the second application instance in the target process.
- the first application instance when switching from the first application instance to the second application instance in the target process, since the first configuration information of the first application instance is cached in the target process, when switching from the second application instance to the second application instance again, the first application instance can be initialized according to the first configuration information cached in the target process.
- the application management method of the embodiment of the present disclosure further includes: in response to switching from the currently running second application instance to the first application instance, configuring the target according to the first configuration information of the first application instance cached in the target process. process.
- the system when the system switches from the second application instance to the first application instance again, since the first configuration information when the first application instance enters the background has been cached in the process memory in S110, it can be directly accessed from Read the first configuration information of the first application instance in the memory, and then initialize the configuration of the target process according to the first configuration information, so that the first application instance can maintain the state when it enters the background and continue to run normally in the target process without restarting start up.
- the first configuration information cached when the first application instance switches to background running includes global configuration information corresponding to the first application instance and status parameters corresponding to the moment when it enters the background.
- the global configuration information refers to the relevant configuration information required for the operation declared by the first application instance
- the status parameters refer to parameters that change with the operation of the first application instance, such as scheduled task progress, etc.
- first application instance and the second application instance when they switch between front and back, they can run in the same target process, and both can survive in the same process at the same time, achieving Keep-alive of multiple applications in a single process.
- the application management method of the present disclosure includes:
- S220 Determine the first configuration information according to the global configuration information and status parameters, and cache the first configuration information in the target process.
- the system when the system switches from a first application instance to a second application instance, the first application instance needs to be maintained in the background while the second application instance runs in the foreground.
- the first configuration information includes global configuration information and status parameters.
- Global configuration information refers to the global variable configuration declared by the first application instance, which may include, for example: system capability interface information, used to declare the API (Application Programming Interface, application program interface) required by the application instance; application timer information, Used to declare the timer required by the application instance; application plug-in information, used to declare plug-in related information required by the application instance; multi-language information, used to declare the language information corresponding to the application instance; and some localization setting information.
- Status parameters refer to dynamic parameters corresponding to the first application instance, which may change with the operation of the first application instance, such as scheduled task parameters, timer parameters, etc.
- the global configuration information and status parameters corresponding to the first application instance at the current moment can be cached in the memory of the target process.
- the first application instance enters the background and runs. At this time, only the current first configuration information of the first application instance needs to be saved. There is no need to cache data other than the first configuration information, such as the display interface. Therefore, the first application When the instance is running in the background, the memory space occupied by the first configuration information is very small and will not affect the operation of the second application instance in the target process.
- the first application instance After caching the first configuration information of the first application instance, the first application instance enters the background and is maintained. At this time, the second application instance can be configured into the target process and run in the foreground.
- the second application instance is an application that has been cached in the target process before, that is, before running the first application instance, the second application instance has cached the corresponding second configuration information in the target process according to the foregoing process.
- the target process it means that when the first application instance is running, the second application instance has maintained state in the background of the target process.
- the second configuration information of the second application instance since the second configuration information of the second application instance has been cached in the memory, it is only necessary to directly read the second configuration information of the second application instance from the memory of the target process, and then configure the second application instance according to the second configuration information. After the target process is initialized and configured, the second application instance can be run in the target process.
- the configuration information of the current application instance is cached, so that the current application instance is maintained in the background.
- the application instance is switched back to the foreground again, it only needs to read the previously cached configuration information from the memory to initialize the configuration of the target process.
- the second application instance is a newly opened application, that is, before running the first application instance, the second configuration information of the second application instance is not cached in the memory of the target process, the second application The instance is not an application held in the background.
- the program file (Application File) of the second application instance needs to be read, and the program file declares the second configuration information required by the second application instance.
- Configuration information By reading the program file of the second application instance, the second configuration information can be obtained, and then the target process is initialized and configured according to the second configuration information, so that the second application instance can be run in the target process.
- the second configuration information may also include the aforementioned global configuration information and status parameters.
- the global configuration information corresponding to the second application instance at the switching time and The current state parameters are cached in the target process's memory.
- the configuration information of the background application is cached in the target process, so that when the background application switches to the foreground, the cached configuration information can be used to initialize the configuration in the current process, thereby realizing a single process and multiple processes. Keep alive while applying.
- the application management method of this disclosure example includes a process of initializing the configuration of the target process according to the second configuration information, including:
- S320 Configure the application environment of the target process according to the global configuration information, and configure the second application instance in the target process according to the status parameters to run the second application instance in the target process.
- the second configuration information may include global configuration information and status parameters.
- Global configuration information refers to the global variable configuration declared by the second application instance, which may include the aforementioned system capability interface information, application timer information, application plug-in information, multi-language information, localization setting information, etc.
- Status parameters refer to some dynamic parameters corresponding to the second application instance, such as scheduled task parameters, timer parameters, etc. It can be understood that if the second application instance is an application that has been cached in the target process, the status parameter may be the parameter value corresponding to the last time the second application instance was switched to the background; if the second application instance is an application started for the first time, the status parameter Parameters can be initial default parameter values.
- the target After obtaining the global configuration information and status parameters of the second configuration information, the target can be configured based on the system capability interface information, application timer information, application plug-in information, multi-language information and localization setting information declared by the global configuration information. Configure the application environment of the process.
- the second application instance is configured in the target process according to the state parameter of the second application instance, so as to run the second application instance in the target process and switch it to the foreground.
- the application management method of the present disclosure includes:
- S410 Render the display interface corresponding to the application instance according to the configuration information of the application instance currently running in the target process.
- a display device refers to a device used to display the interface of an electronic device, such as a display module of a smartphone, a display screen of a smart watch, etc.
- the display device may be, for example, an LCD (Liquid Crystal Display) device, an OLED (Organic Light-Emitting Diode, organic light-emitting semiconductor) device, etc., which is not limited by the present disclosure.
- the system switches from the second application instance to the first application instance
- the first application instance has been cached in the memory of the target process and is switched to the background.
- the first configuration information needs to be read, and the first configuration information of the cache needs to be read, and the target process is initialized and configured according to the first configuration information, so that the first application instance can run normally in the target process.
- the visualization level it is necessary to re-render the display interface corresponding to the first application instance, that is, the display interface of the application program, according to the first configuration information, and output and display the display interface on the display device.
- the display interface corresponding to the first application program can be displayed on the display device of the electronic device, and the user realizes the related information of the first application program through the display interface. operate.
- the display interface can be rendered according to the above process, so that the display interface of the application instance is displayed on the display device.
- the above output is displayed, which will not be described again in this disclosure.
- the user first starts the first application instance, and the first application instance runs normally in the target process. Then switch from the first application instance to the second application instance. Based on the aforementioned management method, the first configuration information of the first application instance can be cached in the target process, the first application instance can be maintained in the background, and the second application instance can be configured Runs normally in the target process. Afterwards, switching from the second application instance to the third application instance, based on the aforementioned management method, the second configuration information of the second application instance can be cached in the target process, and the second application instance can also be entered into the background to maintain, and the third application instance The configuration runs normally in the target process. Then, the third application instance is switched back to the first application instance.
- the third configuration information of the third application instance can be cached in the target process, the third application instance can be maintained in the background, and the cached information can be read.
- the first configuration information configures the first application instance to run normally in the target process.
- embodiments of the present disclosure provide an application management device, which can be applied to electronic devices.
- the specific type of the electronic device can be any device type suitable for implementation, such as a smart phone, a tablet, a smart watch, a smart bracelet, etc.
- the present disclosure does not limit this.
- the application management device of the present disclosure includes:
- the first acquisition module 10 is configured to, in response to switching from the currently running first application instance to the second application instance, acquire the current first configuration information of the first application instance, and cache the first configuration information in the currently running target. in progress;
- the second acquisition module 20 is configured to acquire the second configuration information of the second application instance, and initialize the configuration of the target process according to the second configuration information, so as to run the second application instance in the target process.
- the first acquisition module 10 is configured as:
- the first configuration information is determined according to the global configuration information and the status parameters, and the first configuration information is cached in the target process.
- the device of the present disclosure further includes a configuration module, and the configuration module is configured to:
- the target process is configured according to the first configuration information of the first application instance cached in the target process.
- the second acquisition module 20 is configured as:
- the second acquisition module 20 is configured as:
- the second configuration information cached in the target process is obtained, and the configuration of the target process is initialized according to the second configuration information.
- the second acquisition module 20 is configured as:
- the device of the present disclosure further includes a display module, and the display module is configured to:
- a display interface is output on the display device of the electronic device.
- both the first configuration information and the second configuration information include at least one of the following:
- System capability interface information application timer information, application plug-in information, multi-language information, and localization setting information.
- the electronic device includes a wearable device.
- an electronic device including:
- the memory stores computer instructions for causing the processor to execute the method according to any embodiment of the first aspect.
- an embodiment of the present disclosure provides a storage medium storing computer instructions, and the computer instructions are used to cause a computer to execute the method according to any embodiment of the first aspect.
- FIG. 6 shows a structural block diagram of an electronic device in some embodiments of the present disclosure. The relevant principles of electronic devices and storage media in some embodiments of the present disclosure will be described below in conjunction with FIG. 6 .
- electronic device 1800 may include one or more of the following components: processing component 1802, memory 1804, power supply component 1806, multimedia component 1808, audio component 1810, input/output (I/O) interface 1812, sensor component 1816, and Communication component 1818.
- Processing component 1802 generally controls the overall operations of electronic device 1800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
- Processing component 1802 may include one or more processors 1820 to execute instructions.
- processing component 1802 may include one or more modules that facilitate interaction between processing component 1802 and other components.
- processing component 1802 may include a multimedia module to facilitate interaction between multimedia component 1808 and processing component 1802.
- the processing component 1802 can read executable instructions from the memory to implement electronic device-related functions.
- Memory 1804 is configured to store various types of data to support operations at electronic device 1800 . Examples of such data include instructions for any application or method operating on electronic device 1800, contact data, phonebook data, messages, pictures, videos, etc.
- Memory 1804 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read-only memory
- EEPROM erasable programmable read-only memory
- EPROM Programmable read-only memory
- PROM programmable read-only memory
- ROM read-only memory
- magnetic memory flash memory, magnetic or optical disk.
- Power supply component 1806 provides power to various components of electronic device 1800 .
- Power supply components 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1800 .
- Multimedia component 1808 includes a display screen that provides an output interface between the electronic device 1800 and the user.
- multimedia component 1808 includes a front-facing camera and/or a rear-facing camera.
- the front camera and/or the rear camera may receive external multimedia data.
- Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
- Audio component 1810 is configured to output and/or input audio signals.
- audio component 1810 includes a microphone (MIC) configured to receive external audio signals when electronic device 1800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1804 or sent via communications component 1818 .
- audio component 1810 includes a speaker for outputting audio signals.
- the I/O interface 1812 provides an interface between the processing component 1802 and a peripheral interface module.
- the peripheral interface module may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
- Sensor component 1816 includes one or more sensors for providing various aspects of status assessment for electronic device 1800 .
- the sensor component 1816 can detect the open/closed state of the electronic device 1800, the relative positioning of components, such as the display and keypad of the electronic device 1800, the sensor component 1816 can detect the electronic device 1800 or a component of the electronic device 1800. changes in position, the presence or absence of user contact with the electronic device 1800 , the orientation or acceleration/deceleration of the electronic device 1800 and changes in the temperature of the electronic device 1800 .
- Sensor component 1816 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 1816 may include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 1816 may include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 1818 is configured to facilitate wired or wireless communication between electronic device 1800 and other devices.
- the electronic device 1800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G or 6G, or a combination thereof.
- communication component 1818 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel.
- the communications component 1818 includes a near field communications (NFC) module to facilitate short-range communications.
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- electronic device 1800 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable Programmed gate array
- controller microcontroller, microprocessor or other electronic component implementation.
- embodiments of the present disclosure provide a chip, including one or more interface circuits and one or more processors; the interface circuit is used to receive signals from a memory of an electronic device and send signals to the processor.
- the signal includes a computer instruction stored in a memory; when the processor executes the computer instruction, the electronic device is caused to execute the method described in any implementation manner of the first aspect.
- the chip provided by the present disclosure can be any chip type suitable for implementation, such as a CPU (central processing unit, central processing unit) chip, a GPU (graphics processing unit, graphics processor) chip, an SoC (system-level processor) Chip, System on Chip), etc., may also be an accelerator chip dedicated to artificial intelligence technology, such as an AI (Artificial Intelligence, artificial intelligence) accelerator, etc. This disclosure does not limit this.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
La présente invention se rapporte au domaine technique des dispositifs électroniques, et concerne en particulier un procédé et un appareil de gestion d'applications, un dispositif électronique et un support de stockage. Le procédé de gestion d'applications consiste à : en réponse au fait qu'une première instance d'application en cours d'exécution est commutée vers une seconde instance d'application, mettre en cache des premières informations de configuration de la première instance d'application dans un processus cible en cours d'exécution ; et effectuer une initialisation de configuration sur le processus cible conformément à des secondes informations de configuration obtenues de la seconde instance d'application. Les modes de réalisation de la présente invention réalisent le maintien en activité de multiples applications dans un processus unique, et améliorent l'efficacité de démarrage d'applications.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202280004237.XA CN117616390A (zh) | 2022-06-20 | 2022-06-20 | 应用管理方法、装置、电子设备以及存储介质 |
PCT/CN2022/099930 WO2023245366A1 (fr) | 2022-06-20 | 2022-06-20 | Procédé et appareil de gestion d'applications, dispositif électronique et support de stockage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2022/099930 WO2023245366A1 (fr) | 2022-06-20 | 2022-06-20 | Procédé et appareil de gestion d'applications, dispositif électronique et support de stockage |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023245366A1 true WO2023245366A1 (fr) | 2023-12-28 |
Family
ID=89378998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/099930 WO2023245366A1 (fr) | 2022-06-20 | 2022-06-20 | Procédé et appareil de gestion d'applications, dispositif électronique et support de stockage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117616390A (fr) |
WO (1) | WO2023245366A1 (fr) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144600A (zh) * | 2018-06-21 | 2019-01-04 | 连尚(新昌)网络科技有限公司 | 一种应用程序的运行方法、设备及计算机可读介质 |
CN110825772A (zh) * | 2019-10-28 | 2020-02-21 | 爱钱进(北京)信息科技有限公司 | 多个服务实例的内存数据的同步方法、装置及存储介质 |
CN111596916A (zh) * | 2020-04-20 | 2020-08-28 | 北京飞漫软件技术有限公司 | 一种应用程序管理方法、装置、设备及计算机存储介质 |
CN113806026A (zh) * | 2020-06-12 | 2021-12-17 | 腾讯科技(上海)有限公司 | 一种应用程序安全切换方法、装置、设备及存储介质 |
CN114077461A (zh) * | 2020-08-21 | 2022-02-22 | 北京小米移动软件有限公司 | 应用程序的运行方法、装置、设备及存储介质 |
CN114153570A (zh) * | 2017-08-11 | 2022-03-08 | 华为技术有限公司 | 一种应用切换方法及装置 |
WO2022089281A1 (fr) * | 2020-10-30 | 2022-05-05 | 阿里巴巴集团控股有限公司 | Procédé et appareil de gestion d'application basés sur un conteneur |
-
2022
- 2022-06-20 WO PCT/CN2022/099930 patent/WO2023245366A1/fr active Application Filing
- 2022-06-20 CN CN202280004237.XA patent/CN117616390A/zh active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114153570A (zh) * | 2017-08-11 | 2022-03-08 | 华为技术有限公司 | 一种应用切换方法及装置 |
CN109144600A (zh) * | 2018-06-21 | 2019-01-04 | 连尚(新昌)网络科技有限公司 | 一种应用程序的运行方法、设备及计算机可读介质 |
CN110825772A (zh) * | 2019-10-28 | 2020-02-21 | 爱钱进(北京)信息科技有限公司 | 多个服务实例的内存数据的同步方法、装置及存储介质 |
CN111596916A (zh) * | 2020-04-20 | 2020-08-28 | 北京飞漫软件技术有限公司 | 一种应用程序管理方法、装置、设备及计算机存储介质 |
CN113806026A (zh) * | 2020-06-12 | 2021-12-17 | 腾讯科技(上海)有限公司 | 一种应用程序安全切换方法、装置、设备及存储介质 |
CN114077461A (zh) * | 2020-08-21 | 2022-02-22 | 北京小米移动软件有限公司 | 应用程序的运行方法、装置、设备及存储介质 |
WO2022089281A1 (fr) * | 2020-10-30 | 2022-05-05 | 阿里巴巴集团控股有限公司 | Procédé et appareil de gestion d'application basés sur un conteneur |
Also Published As
Publication number | Publication date |
---|---|
CN117616390A (zh) | 2024-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113553014B (zh) | 多窗口投屏场景下的应用界面显示方法及电子设备 | |
CN105955765B (zh) | 应用预加载方法及装置 | |
CN109254849B (zh) | 应用程序的运行方法及装置 | |
CN108762881B (zh) | 界面绘制方法、装置、终端及存储介质 | |
WO2022083296A1 (fr) | Procédé d'affichage et dispositif électronique | |
JP2024515462A (ja) | アプリケーションによる描画操作を実行する方法及び電子装置 | |
CN114625525A (zh) | 一种资源管控方法及设备 | |
CN109861966B (zh) | 处理状态事件的方法、装置、终端及存储介质 | |
CN116028149B (zh) | 窗口渲染方法、***、设备、存储介质和计算机程序产品 | |
CN111865630B (zh) | 拓扑信息获取方法、装置、终端及存储介质 | |
WO2023245366A1 (fr) | Procédé et appareil de gestion d'applications, dispositif électronique et support de stockage | |
WO2017128664A1 (fr) | Procédé et dispositif permettant d'appeler un processus | |
WO2023066165A1 (fr) | Procédé d'affichage d'effet d'animation et dispositif électronique | |
CN116743908B (zh) | 壁纸显示方法及相关装置 | |
CN117135268B (zh) | 拍摄的方法和电子设备、芯片、存储介质 | |
CN116700660B (zh) | 音频播放方法和电子设备 | |
CN116709557B (zh) | 业务处理方法、设备及存储介质 | |
CN113179362B (zh) | 电子设备及其图像显示方法 | |
WO2023051036A1 (fr) | Procédé et appareil de chargement de nuanceur | |
WO2022268009A1 (fr) | Procédé de partage d'écran et dispositif associé | |
WO2022267786A1 (fr) | Procédé d'affichage d'icône de raccourci et dispositif terminal | |
WO2023066177A1 (fr) | Procédé d'affichage d'effet d'animation et dispositif électronique | |
CN117909000A (zh) | 界面生成方法及电子设备 | |
CN116166257A (zh) | 界面生成方法及电子设备 | |
CN118259796A (zh) | 应用程序多窗口展示方法和电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 202280004237.X Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22947147 Country of ref document: EP Kind code of ref document: A1 |