WO2019128573A1 - Procédé de traitement d'informations, appareil, dispositif informatique et support d'informations lisible par ordinateur - Google Patents

Procédé de traitement d'informations, appareil, dispositif informatique et support d'informations lisible par ordinateur Download PDF

Info

Publication number
WO2019128573A1
WO2019128573A1 PCT/CN2018/117010 CN2018117010W WO2019128573A1 WO 2019128573 A1 WO2019128573 A1 WO 2019128573A1 CN 2018117010 W CN2018117010 W CN 2018117010W WO 2019128573 A1 WO2019128573 A1 WO 2019128573A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
user space
resource
communication
priority
Prior art date
Application number
PCT/CN2018/117010
Other languages
English (en)
Chinese (zh)
Inventor
方攀
陈岩
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019128573A1 publication Critical patent/WO2019128573A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/468Specific access rights for resources, e.g. using capability register
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Definitions

  • the present application relates to the field of computer technology, and in particular, to an information processing method, apparatus, computer device, and computer readable storage medium.
  • kernel space In the Linux operating system, the system can be divided into two parts: kernel space and user space. Among them, the system core software runs in the kernel space, and the normal application runs in the user space. The above kernel space has higher permissions and the user space has lower permissions. Kernel space is aware of the underlying changes in the application.
  • the embodiment of the present application provides an information processing method, apparatus, computer device, and computer readable storage medium.
  • An information processing method includes:
  • the classified process event includes a process communication event, and the process communication event is generated according to communication between processes;
  • the kernel space asynchronously transmits the classified process event and the corresponding process to the user space, so that the user space adjusts resource restrictions on the process according to the process communication event.
  • An information processing apparatus comprising:
  • a classification module configured to acquire a process event in the kernel space, and classify the process event to obtain a classified process event; the classified process event includes a process communication event, and the process communication event is based on an interprocess process Communication generated
  • a transmitting module configured to: the kernel space asynchronously transmits the classified process event and the corresponding process to the user space, so that the user space adjusts resource restrictions on the process according to the process communication event.
  • a computer apparatus comprising a memory and a processor, the memory storing a computer program, the computer program being executed by the processor, causing the processor to perform the operations of the method as described above.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the operations of the methods described above.
  • the kernel space asynchronously transmits the process event to the user space, which improves the efficiency of the user space to obtain the underlying change information of the process.
  • the process of classifying process events through kernel space, the method of available resources in the user space decision process, and the compatibility of user space rich strategy and kernel space can timely acquire the characteristics of process state changes.
  • resources are restricted to processes, processes can be avoided due to resources. Limit the problem that caused the state to be abnormal.
  • FIG. 1 is a schematic diagram showing the internal structure of a computer device in an embodiment.
  • FIG. 2 is a partial architectural diagram of a computer device in an embodiment.
  • 3 is a flow chart of an information processing method in an embodiment.
  • FIG. 4 is a flow chart of an information processing method in another embodiment.
  • Figure 5 is a flow chart of an information processing method in another embodiment.
  • Figure 6 is a flow chart of an information processing method in another embodiment.
  • Fig. 7 is a block diagram showing the structure of an information processing apparatus in an embodiment.
  • Fig. 8 is a block diagram showing the structure of an information processing apparatus in another embodiment.
  • Fig. 9 is a block diagram showing the structure of an information processing apparatus in another embodiment.
  • Figure 10 is a block diagram showing the structure of an information processing apparatus in another embodiment.
  • FIG. 11 is a block diagram showing a partial structure of a mobile phone related to a computer device according to an embodiment of the present application.
  • FIG. 1 is a schematic diagram showing the internal structure of a computer device in an embodiment.
  • the computer device includes a processor, a memory, and a network interface connected by a system bus.
  • the processor is used to provide computing and control capabilities to support the operation of the entire computer device.
  • the memory is used to store data, programs, etc., and at least one computer program is stored on the memory, and the computer program can be executed by the processor to implement the information processing method applicable to the computer device provided in the embodiment of the present application.
  • the memory can include a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the computer program can be executed by a processor for implementing an information processing method provided by the following various embodiments.
  • the internal memory provides a cached operating environment for operating system computer programs in a non-volatile storage medium.
  • the network interface may be an Ethernet card or a wireless network card or the like for communicating with an external computer device.
  • the computer device can be a cell phone, a tablet or a personal digital assistant or a wearable device or the like.
  • FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • the computer device further includes a network interface connected through a system bus, and the network interface may be an Ethernet card or a wireless network card, etc., for communicating with an external computer device, for example, for communicating with a server.
  • the architecture of the computer device includes a Java spatial layer 210, a local framework layer 220, and a Kernel space layer 230.
  • the freeze and thaw module 212 is included in the Java space layer.
  • the freeze and thaw module 212 is used to implement a freeze policy for each application, such as freezing the application that consumes the background.
  • the local framework layer 220 includes a resource priority and restriction management module 222 and a platform freeze management module 224.
  • the resource priority and restriction management module 222 can perform different resource restrictions on different applications, so that different applications are in different resource priorities.
  • the resource priority and restriction management module 222 can also adjust the resource priority of the application according to the needs of the upper layer so that the computer device can use the resource reasonably.
  • the platform freeze management module 224 can determine the level of resource restriction on the process application according to the duration of the application entering the background.
  • the platform freeze management module 224 can preset different resource limit levels, and the longer the application enters the background, the platform The higher the level of resource restriction on the application by the freeze management module 224, the higher the resource limit on the application.
  • the foregoing resource restriction level may include: a CPU restricted sleep mode, a CPU freeze sleep mode, and a process deep freeze mode.
  • the CPU limit sleep mode refers to limiting the central processing unit (CPU) resources that can be used by the application process, so that the application process can use less CPU resources; in the CPU limited sleep mode, Further limit the network resources and input/output (I/O) resources available to the application's processes.
  • CPU freeze sleep mode means that the process of the application is prohibited from using CPU resources, network resources and I/O resources, but the memory resources occupied by the application process are not recycled.
  • the above CPU freeze mode is the depth of resources available to the application. Restricted mode.
  • CPU freeze sleep mode refers to prohibiting the application process from using CPU resources, network resources, and I/O resources, while reclaiming the memory resources occupied by the application's processes.
  • the interface module of the local framework layer 220 includes a binder interface developed to the upper layer.
  • the upper framework or application can send a resource restriction instruction to the resource restriction management module 222 and send a freeze instruction to the platform freeze management module 224 through the binder interface.
  • the kernel space layer 230 includes a UID management module 231, a Cgroup module 232, a binder management module 233, a process memory recovery module 234, and a timeout freeze exit module 235.
  • the current process management of the application is implemented based on the process identification (PID).
  • the process does not correspond to the application, which is not conducive to unified management of resources corresponding to all processes of an application.
  • the UID management module 231 can manage the resources of the application through the User Identifier (UID) of the application, and can also freeze the application by the UID of the application.
  • the Cgroup module 232 can provide resource-based mechanisms based on CPU, CPUSET, memory, I/O resources, and Net.
  • the binder management module 233 can be used to limit the priority of the binder communication between background processes.
  • the process memory recovery module 234 is configured to implement the process deep freeze mode. When the process enters the process deep freeze mode, the file area of the process is released, thereby saving memory and speeding up the next time the application corresponding to the process starts.
  • the timeout freeze exit module 235 is used to solve the problem that the process has an abnormality in the freeze timeout.
  • an information processing method includes:
  • a process event is obtained in the kernel space, and the process event is classified to obtain a classified process event; the classified process event includes a process communication event, and the process communication event is generated according to communication between processes.
  • kernel space stores the kernel code and data
  • user space stores the application code and data. Kernel space has higher permissions and user space has lower permissions.
  • a process is a run-time activity of a program with certain independence about a data set.
  • An application includes multiple processes at runtime.
  • process events are generated due to changes in the inter-process communication mechanism and process state.
  • the process events generated by the process can be classified in the kernel space to obtain the classified process events.
  • the above classified process events may include process communication events and process status events.
  • the above process communication event is an event generated according to inter-process communication
  • the above process status event is an event generated due to a change in the process state.
  • the kernel space asynchronously transfers the classified process event and the corresponding process to the user space, so that the user space adjusts the resource limit of the process according to the process communication event.
  • kernel space and user space mainly communicate through asynchronous netlink.
  • kernel space can follow the package structure agreed by kernel space and user space, and generate different data according to different process events.
  • the kernel space can transfer the classified process event, the process corresponding to the event, and the cause of the event to the user space when the classified process event and the corresponding process are asynchronously transmitted to the user space.
  • the socket arrival event may be generated, and the kernel space may cause the socket arrival event, the UID of the background process, and the socket arrival event to occur: the background process receives the communication message of the foreground process. Transfer to user space.
  • the user space After receiving the data asynchronously transmitted by the kernel space, the user space can parse the received data, obtain the underlying changes of the process, and then update the resource limit of the process according to the change of the underlying process.
  • the resource limitation of the user space to the process mainly includes limiting the CPU resources, I/O resources, network resources, and memory resources that can be used by the process, so that the resources between the processes can be properly allocated.
  • the limitation of the resources that can be used by the application is mainly performed by the user space, and the user space can put the applications corresponding to the different level resources into different resource groups through the Cgroup mechanism.
  • User space can call rich libraries and rich policies to determine the restrictions on the resources available to the application.
  • the resource limit level of the program due to the low user space permissions, only the user space information and policies cannot update the application according to the changes of the underlying application.
  • the kernel space asynchronously transmits the process event to the user space, thereby improving the efficiency of the user space to obtain the underlying change information of the process.
  • the process of classifying process events through kernel space, the method of available resources in the user space decision process, and the compatibility of user space rich strategy and kernel space can timely acquire the characteristics of process state changes.
  • resources are restricted to processes, processes can be avoided due to resources. Limit the problem that caused the state to be abnormal.
  • the user space adjusts resource limits to the process based on the process communication event including at least one of the following methods:
  • Inter-process communication events include binder start events, binder idle events, and socket arrival events.
  • User space adjusts resource limits for processes based on the received process communication events.
  • Binder is an important interprocess communication mechanism in mobile operating systems. Most of the communication between different processes is binder communication. Among them, the kernel space can set two events for the binder communication: the binder startup event and the binder idle event. Among them, the binder startup event means that the process will immediately generate a binder startup event once it receives the binder sent by other processes. The binder idle event means that the process no longer has a binder session inventory after the preset time period, and a binder idle event is generated. When the process generates a binder startup event, it indicates that there is communication between the process and other processes. The user space can increase the resource priority of the above process and increase the resources available to the process. When a process generates a binder idle event, it indicates that there is no communication between the process and other processes. The user space can reduce the resource priority of the above process and reduce the resources available to the process.
  • the binder startup event means that the process will immediately generate a binder startup event once it receives the binder sent by other processes.
  • Sockets are also a widely used communication mechanism in mobile operating systems.
  • the socket mechanism is often used in Android systems.
  • Kernel space sets an event for socket communication: the socket arrives at the event.
  • the socket arrival event is that when the process accepts the socket sent by another process, a socket arrival event is generated.
  • a process When a process generates a socket arrival event, it indicates that there is communication between the process and other processes.
  • the user space can increase the resource priority of the above process and increase the resources available to the process.
  • the arrival of the event through the socket can solve the problem that the communication application cannot receive the message in time when the resource is restricted.
  • the process list can be set in the kernel space. Only when the process receives the binder or socket in the process list, the corresponding process communication event will be generated.
  • the above resource priority is the level of restriction on the resources available to the process.
  • the user space can set different resource priorities for the application. When the above resource priorities are different, the restrictions on the resources that can be used by the application process are different, that is, the user space can implement the application by setting the resource priority to the application.
  • the process sets the resource priority.
  • User space allows applications with different resource priorities to be placed in different resource groups, facilitating user space management of the application.
  • the user space prioritizes the application resource includes: the user space sets the resource priority corresponding to the application, wherein the resource priority corresponds to the size of the total resource that the application can use.
  • the user space setting application has a resource priority of 1 and the application can use 80% of the total resources, the application can use 80% of the CPU resources, 80% of the memory resources, and 80% of the I/O resources, respectively. 80% of network resources.
  • User space can also set resource priorities for resources that can be used by applications, including CPU resource priority, memory resource priority, I/O resource priority, and network resource priority.
  • the priority of each resource corresponding to an application may be different.
  • the CPU resource priority of the application is 1 level, 90% of the total CPU resources can be used; the corresponding memory resource priority is 2, and the total memory resource can be used. 75%; the corresponding I/O resource has a priority of 4, which can use 30% of the total I/O resources; the corresponding network resource has a priority of 2, and can use 80% of the total network resources.
  • the user space can adjust the resource priority corresponding to the process by using the received process event, and the resource limitation of the process in the user space is more rapid and accurate, and the accuracy of the resource limitation of the user space to the process is improved.
  • the resource priority of the promotion process includes:
  • the user space can assign different resource priorities to different applications, and the processes corresponding to the same application have the same resource priority, and the processes corresponding to different applications can have different resource priorities.
  • the user space is used to raise the priority of the resource, if the process with the priority of the elevated resource is detected as the background process, the resource priority of the currently running foreground process is obtained.
  • the resource priority of the background process can be lower than the resource priority of the foreground process.
  • the resources available to the background process are lower than the resources available to the foreground process.
  • the user space can increase the resource priority of the background process, so that the resource priority of the background process is lower than the resource priority of the foreground process.
  • the user space increases the priority of the background process, including: increasing the total resource priority of the background process, that is, the priority of each resource that can be used by the background process can be improved; or upgrading one of the background processes or
  • the priority of multiple resources such as increasing the CPU resource priority of the background process, makes the CPU resources available to the background process increase.
  • the priority of the resource of the foreground process is higher than that of the background process, and the priority of the resource of the background process is higher than that of the foreground process.
  • the process resources are preempted and the foreground process is running slowly.
  • the classified process event further includes a process state event, and the process state event is generated according to a change of the process in the life cycle; the user space may update the process information of the process in the user space according to the process state event.
  • Kernel space also monitors the process's lifecycle changes and generates process state events based on changes in the lifecycle of the process.
  • a process creates, exits, or changes a UID, it generates a corresponding process state event.
  • the process state event indicates that the process state has changed.
  • user space receives a process state event, it can maintain updates to the process and application state based on the process state events described above.
  • the user space may update the process and the process state according to the process state event, so that the user space can maintain the update of the process, so that the user space does not need to query when the resource is restricted to the process. Update the process and process state to improve the efficiency of user space.
  • the above method further includes:
  • the user space acquires the duration of the process entering the background.
  • the duration of the process entering the background reaches a preset duration, the process is frozen; freezing the process refers to prohibiting the process from using system resources.
  • the resource limitation of the process by the computer device may include: a normal restriction mode, a depth restriction mode, and a freeze mode.
  • the common restriction mode is to limit the CPU resources that the process can use, and correspondingly limit other resources that the process can use, such as I/O resources and network resources.
  • the deep limit mode prohibits the process from using CPU resources and network resources. There are restrictions on I/O resources, but there are no restrictions on the memory resources used by the process.
  • the freeze mode is that the process uses all system resources, that is, prohibits the process from using CPU resources, network resources, and I/O resources, and reclaims the memory resources occupied by the process.
  • the user space can obtain the length of time that the process enters the background. When the process reaches the background for a preset period of time, it can be determined that the process is not enabled for a long time, and the process is frozen to release the resources occupied by the process.
  • the process when the duration of the process entering the background reaches a preset duration, the process may be frozen, and the system resources occupied by the process are released, so that the computer device can reasonably regulate the resources used by the process and reduce the power consumption of the computer device.
  • the above method further includes:
  • Operation 308 when the user space receives the process communication event corresponding to the process in the frozen state, wake up the process in the frozen state and adjust the resource limit of the process.
  • the process cannot use system resources.
  • the process in the frozen state may be awakened, so that the process can use the system resource to respond to the process communication event.
  • the user space wakes up the process in the frozen state, including: switching the process from the freeze mode to the normal limit mode, so that the process can use the system resources.
  • the user space can also adjust the resource priority of the process according to the type of the process communication event received.
  • the user space when receiving the process communication event corresponding to the process in the frozen state, the user space may wake up the process in the frozen state and adjust the resource limit of the process, so that the frozen process can respond in time. Communication messages of other processes improve the resource control rate of the user space to the process.
  • the above method further includes:
  • a computer device uses two sets of code to terminate a process, one set of code to terminate the unfrozen process and another set of code to terminate the frozen process.
  • the computer device When the computer device receives the termination command for the frozen process, if it is detected that the frozen process is in a frozen state, the process in the frozen state is thawed, and the thawed process is set to a non-freeze state, then thawed The subsequent process can respond correctly to the above termination command, that is, the above thawed process can be closed.
  • the method in the embodiment of the present application can implement the method of first thawing and then terminating the frozen process to implement the secure termination of the frozen process, and avoid the situation that the process cannot be terminated.
  • the computer device can terminate the frozen according to the unified termination instruction.
  • the process and the unfrozen process realize the compatibility of terminating the frozen process and terminating the unfrozen process, reducing the difficulty of software development and facilitating the maintenance of the mobile operating system.
  • an information processing method includes:
  • the kernel space asynchronously transfers the classified process event and the corresponding process to the user space, so that the user space adjusts the resource limit of the process according to the process communication event.
  • the user space adjusts the resource limitation of the process according to the process communication event, including at least one of the following methods: the user space starts the event promotion event resource priority according to the binder; and the user space reduces the resource priority of the process according to the binder idle event; The user space is based on the resource priority of the socket arrival event promotion process.
  • the resource priority of the process is as follows: when the process of detecting the priority of the resource to be upgraded is the background process, the resource priority of the currently running foreground process is obtained; the resource priority of the background process is raised, and the background process is improved. The resource priority is no higher than the resource priority of the foreground process.
  • the classified process event further includes a process state event, and the process state event is generated according to the change of the process in the life cycle; the user space updates the process information of the process in the user space according to the process state event.
  • the method further includes: a time period in which the user space acquisition process enters the background, and when the process enters the background for a preset duration, the process is frozen; and freezing the process refers to prohibiting the process from using the system resource.
  • the method further includes: when the user space receives the process communication event corresponding to the process in the frozen state, the process in the frozen state is awakened and the resource restriction on the process is adjusted.
  • the method further includes: when the user space receives the termination command for the process in the frozen state, unfreezing the process, and setting the thawed process to a non-freeze state, and terminating the thawed process according to the termination command.
  • Fig. 7 is a block diagram showing the structure of an information processing apparatus of an embodiment. As shown in FIG. 7, an information processing apparatus includes:
  • the classification module 702 is configured to acquire process events in the kernel space, and classify the process events to obtain the classified process events.
  • the classified process events include process communication events, and process communication events are generated based on communication between processes.
  • the transmitting module 704 is configured to, in the kernel space, asynchronously transfer the classified process event and the corresponding process to the user space, so that the user space adjusts resource limits on the process according to the process communication event.
  • the user space adjusts resource limits to the process based on the process communication event including at least one of the following methods:
  • the resource priority of the user space promotion process includes: if the process of detecting the priority of the resource to be upgraded is a background process, obtaining the resource priority of the currently running foreground process. The resource priority of the background process is increased. After the promotion, the resource priority of the background process is not higher than the resource priority of the foreground process.
  • the classified process event further includes a process state event that is generated based on changes in the life cycle of the process.
  • the transfer module 704 transmits the above process status event to the user space
  • the user space updates the process information of the process in the user space according to the process status event.
  • FIG. 8 is a structural block diagram of an information processing module in another embodiment.
  • an information processing apparatus includes: a classification module 802, a transmission module 804, and a freezing module 806.
  • the classification module 802 and the transmission module 804 have the same functions as the corresponding modules in FIG. 7.
  • the freeze module 806 is used for the duration of the user space acquisition process entering the background. If the duration of the process entering the background reaches a preset duration, the process is frozen. Freezing a process means disabling the process from using system resources.
  • an information processing apparatus includes: a classification module 902, a transmission module 904, and a wakeup module 906.
  • the classification module 902 and the transmission module 904 have the same functions as the corresponding modules in FIG. 7.
  • the wake-up module 906 is configured to wake up a process in a frozen state and adjust a resource limit to the process if the user space receives a process communication event corresponding to the process in the frozen state.
  • FIG. 10 is a structural block diagram of an information processing module in another embodiment.
  • an information processing apparatus includes: a classification module 1002, a transmission module 1004, a defrosting module 1006, and a termination module 1008.
  • the classification module 1002 and the transmission module 1004 have the same functions as the corresponding modules in FIG. 7.
  • the defrosting module 1006 is configured to unfreeze the process if the user space receives the termination command for the process in the frozen state, and set the thawing process to the unfreeze state.
  • the termination module 1008 is configured to terminate the post-thawing process according to the termination command.
  • each module in the above information processing apparatus is for illustrative purposes only. In other embodiments, the information processing apparatus may be divided into different modules as needed to complete all or part of the functions of the information processing apparatus.
  • the various modules in the above information processing apparatus may be implemented in whole or in part by software, hardware, and combinations thereof.
  • Each of the above modules may be embedded in or independent of the processor in the computer device, or may be stored in a memory in the computer device in a software form, so that the processor invokes the operations corresponding to the above modules.
  • each module in the information processing apparatus provided in the embodiments of the present application may be in the form of a computer program.
  • the computer program can run on a terminal or server.
  • the program modules of the computer program can be stored on the memory of the terminal or server.
  • the operation of the method described in the embodiments of the present application is implemented when the computer program is executed by the processor.
  • the embodiment of the present application also provides a computer readable storage medium.
  • One or more non-transitory computer readable storage media containing computer executable instructions that, when executed by one or more processors, cause the processor to perform the operations of the information processing methods in the embodiments of the present application.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the operations of the information processing method of the embodiments of the present application.
  • the embodiment of the present application also provides a computer device. As shown in FIG. 11 , for the convenience of description, only the parts related to the embodiments of the present application are shown. For details that are not disclosed, refer to the method part of the embodiment of the present application.
  • the computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking a computer device as a mobile phone as an example. :
  • FIG. 11 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 1110 , a memory 1120 , an input unit 1130 , a display unit 1140 , a sensor 1150 , an audio circuit 1160 , a wireless fidelity (WiFi) module 1170 , and a processor 1180 .
  • RF radio frequency
  • the RF circuit 1110 can be used for receiving and transmitting information during the transmission and reception of information or during the call.
  • the downlink information of the base station can be received and processed by the processor 1180.
  • the uplink data can also be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 1110 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Pack
  • the memory 1120 can be used to store software programs and modules, and the processor 1180 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1120.
  • the memory 1120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.);
  • the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
  • memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1130 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 1100.
  • the input unit 1130 may include a touch panel 1131 and other input devices 1132.
  • the touch panel 1131 which may also be referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 1131 or near the touch panel 1131. Operation) and drive the corresponding connection device according to a preset program.
  • the touch panel 1131 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1180 is provided and can receive commands from the processor 1180 and execute them.
  • the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1130 may also include other input devices 1132.
  • other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.).
  • the display unit 1140 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 1140 may include a display panel 1141.
  • the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1131 can cover the display panel 1141. When the touch panel 1131 detects a touch operation thereon or nearby, the touch panel 1131 transmits to the processor 1180 to determine the type of the touch event, and then the processor 1180 is The type of touch event provides a corresponding visual output on display panel 1141.
  • the touch panel 1131 and the display panel 1141 are used as two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated. Realize the input and output functions of the phone.
  • the handset 1100 can also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1141 and/or when the mobile phone moves to the ear. Or backlight.
  • the motion sensor may include an acceleration sensor, and the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
  • the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
  • Audio circuitry 1160, speaker 1161, and microphone 1162 can provide an audio interface between the user and the handset.
  • the audio circuit 1160 can transmit the converted electrical data of the received audio data to the speaker 1161, and convert it into a sound signal output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the audio circuit 1160 After receiving, it is converted into audio data, and then processed by the audio data output processor 1180, transmitted to another mobile phone via the RF circuit 1110, or outputted to the memory 1120 for subsequent processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 1170, which provides users with wireless broadband Internet access.
  • FIG. 11 shows the WiFi module 1170, it will be understood that it does not belong to the essential configuration of the handset 1100 and may be omitted as needed.
  • the processor 1180 is a control center for the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1120, and invoking data stored in the memory 1120, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • processor 1180 can include one or more processing units.
  • the processor 1180 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, etc.; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1180.
  • the handset 1100 also includes a power source 1190 (such as a battery) that supplies power to the various components.
  • a power source 1190 such as a battery
  • the power source can be logically coupled to the processor 1180 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the handset 1100 can also include a camera, a Bluetooth module, and the like.
  • the processor 1180 included in the computer device implements the operation of the information processing method in the embodiment of the present application when executing the computer program stored in the memory.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM), which acts as an external cache.
  • RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • synchronization Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

Abstract

L'invention a trait à un procédé de traitement d'informations, selon lequel : des événements de processus sont acquis à partir d'un espace de noyau, et les événements de processus sont classés pour obtenir des événements de processus classés ; les événements de processus classés comprennent des événements de communication de processus, ces événements de communication de processus étant générés selon une communication entre des processus (302) ; l'espace de noyau transmet les événements de processus classés et une désynchronisation de processus correspondant à un espace utilisateur de sorte que l'espace utilisateur ajuste des contraintes de ressources des processus en fonction des événements de communication de processus (304).
PCT/CN2018/117010 2017-12-29 2018-11-22 Procédé de traitement d'informations, appareil, dispositif informatique et support d'informations lisible par ordinateur WO2019128573A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711480459.6 2017-12-29
CN201711480459.6A CN109992425B (zh) 2017-12-29 2017-12-29 信息处理方法、装置、计算机设备和计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2019128573A1 true WO2019128573A1 (fr) 2019-07-04

Family

ID=67066408

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/117010 WO2019128573A1 (fr) 2017-12-29 2018-11-22 Procédé de traitement d'informations, appareil, dispositif informatique et support d'informations lisible par ordinateur

Country Status (2)

Country Link
CN (1) CN109992425B (fr)
WO (1) WO2019128573A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111832976A (zh) * 2020-07-29 2020-10-27 深圳市睿策者科技有限公司 资源配置推送方法、装置、计算机设备和存储介质
CN112416380A (zh) * 2019-08-21 2021-02-26 成都鼎桥通信技术有限公司 一种应用防杀死防冻结的方法和装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472952A (zh) * 2020-03-31 2021-10-01 深圳市万普拉斯科技有限公司 拨打电话方法、装置、计算机设备和存储介质
CN113849238B (zh) * 2021-09-29 2024-02-09 浪潮电子信息产业股份有限公司 数据通信方法、装置、电子设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070130569A1 (en) * 2005-12-01 2007-06-07 International Business Machines Corporation Method, apparatus and program storage device for providing a no context switch attribute that allows a user mode thread to become a near interrupt disabled priority
CN102117240A (zh) * 2009-12-31 2011-07-06 腾讯科技(深圳)有限公司 一种获取进程阻塞信息的方法及装置
CN105138402A (zh) * 2015-08-25 2015-12-09 海信集团有限公司 一种应用进程内存释放的优先级调整方法及装置
CN106909834A (zh) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 一种数据处理方法和装置
CN106951314A (zh) * 2017-03-10 2017-07-14 清华大学 面向Android系统后台服务自动唤醒的切断方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479108B (zh) * 2010-11-26 2013-09-11 中国科学院声学研究所 一种多应用进程的嵌入式系统终端资源管理系统及方法
CN102722431B (zh) * 2012-04-25 2015-09-30 华为技术有限公司 进程监控方法及装置
CN103514030B (zh) * 2012-07-24 2016-12-21 Tcl集团股份有限公司 Android系统的事件收集上报系统及其收集上报方法
CN105808324A (zh) * 2014-12-30 2016-07-27 展讯通信(天津)有限公司 一种提高系统流畅度的方法及移动终端
CN105677460B (zh) * 2015-12-28 2019-07-23 小米科技有限责任公司 应用程序处理方法以及装置
CN105938441B (zh) * 2016-04-15 2019-04-30 惠州Tcl移动通信有限公司 一种移动终端应用程序设置处理方法及系统
CN106648849A (zh) * 2016-10-18 2017-05-10 上海传英信息技术有限公司 进程的冷冻方法和移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070130569A1 (en) * 2005-12-01 2007-06-07 International Business Machines Corporation Method, apparatus and program storage device for providing a no context switch attribute that allows a user mode thread to become a near interrupt disabled priority
CN102117240A (zh) * 2009-12-31 2011-07-06 腾讯科技(深圳)有限公司 一种获取进程阻塞信息的方法及装置
CN105138402A (zh) * 2015-08-25 2015-12-09 海信集团有限公司 一种应用进程内存释放的优先级调整方法及装置
CN106909834A (zh) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 一种数据处理方法和装置
CN106951314A (zh) * 2017-03-10 2017-07-14 清华大学 面向Android系统后台服务自动唤醒的切断方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416380A (zh) * 2019-08-21 2021-02-26 成都鼎桥通信技术有限公司 一种应用防杀死防冻结的方法和装置
CN112416380B (zh) * 2019-08-21 2024-03-29 成都鼎桥通信技术有限公司 一种应用防杀死防冻结的方法和装置
CN111832976A (zh) * 2020-07-29 2020-10-27 深圳市睿策者科技有限公司 资源配置推送方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN109992425B (zh) 2022-03-15
CN109992425A (zh) 2019-07-09

Similar Documents

Publication Publication Date Title
KR102148948B1 (ko) 전자 장치의 멀티 태스킹 방법 및 그 전자 장치
WO2019128540A1 (fr) Procédé de gestion de ressources, terminal mobile et support d'informations lisible par ordinateur
TWI494857B (zh) 喚醒事件管理方法、喚醒事件管理裝置以及喚醒事件管理電腦程式產品
CN110018901B (zh) 内存回收方法、装置、计算机设备和计算机可读存储介质
WO2019128546A1 (fr) Procédé de traitement de programme d'application, dispositif électronique et support de stockage lisible par ordinateur
WO2019128573A1 (fr) Procédé de traitement d'informations, appareil, dispositif informatique et support d'informations lisible par ordinateur
WO2020024732A1 (fr) Procédé de traitement de processus, dispositif électronique et support de stockage lisible par ordinateur
KR102137097B1 (ko) 소모 전류 저감 방법 및 이를 지원하는 전자 장치
CN110032266B (zh) 信息处理方法、装置、计算机设备和计算机可读存储介质
WO2019128537A1 (fr) Procédé de gel d'application, dispositif informatique, et support de stockage lisible par ordinateur
WO2019128574A1 (fr) Procédé et dispositif de traitement d'informations, dispositif informatique et support d'informations lisible par ordinateur
WO2020093208A1 (fr) Procédé et appareil de traitement d'applications, dispositif informatique, et support de stockage lisible par ordinateur
WO2019137170A1 (fr) Procédé de traitement d'informations, terminal mobile et support de stockage lisible par ordinateur
WO2019137252A1 (fr) Procédé de traitement de mémoire, dispositif électronique et support de stockage lisible par ordinateur
WO2015081664A1 (fr) Procédé, appareil, dispositif et système de commande de l'activation/désactivation d'un réseau sans fil
WO2019128588A1 (fr) Procédé et appareil de traitement de processus, dispositif électronique et support d'informations lisible par ordinateur
CN110018905B (zh) 信息处理方法、装置、计算机设备和计算机可读存储介质
WO2019128571A1 (fr) Procédé et dispositif de gestion de ressources, terminal mobile, ainsi que support d'informations lisible par ordinateur
WO2019128586A1 (fr) Procédé de traitement d'applications, dispositif électronique et support de stockage lisible par ordinateur
WO2019128569A1 (fr) Procédé et appareil pour geler une application et support de stockage et terminal
WO2019137173A1 (fr) Procédé de gestion de ressources, terminal mobile et support d'informations lisible par ordinateur
CN110018886B (zh) 应用状态切换方法和装置、电子设备、可读存储介质
WO2019128553A1 (fr) Procédé de traitement d'application, dispositif électronique et support de stockage lisible par ordinateur
WO2019128570A1 (fr) Appareil et procédé de gel d'une application et support de stockage et terminal
CN109992360B (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: 18896901

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: 18896901

Country of ref document: EP

Kind code of ref document: A1