CN112306649A - Method and device for managing processes - Google Patents

Method and device for managing processes Download PDF

Info

Publication number
CN112306649A
CN112306649A CN201910683849.6A CN201910683849A CN112306649A CN 112306649 A CN112306649 A CN 112306649A CN 201910683849 A CN201910683849 A CN 201910683849A CN 112306649 A CN112306649 A CN 112306649A
Authority
CN
China
Prior art keywords
push service
service process
target
party application
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910683849.6A
Other languages
Chinese (zh)
Other versions
CN112306649B (en
Inventor
刘华西
程飞飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910683849.6A priority Critical patent/CN112306649B/en
Priority claimed from CN201910683849.6A external-priority patent/CN112306649B/en
Priority to PCT/CN2020/102043 priority patent/WO2021017825A1/en
Publication of CN112306649A publication Critical patent/CN112306649A/en
Application granted granted Critical
Publication of CN112306649B publication Critical patent/CN112306649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/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
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Abstract

The application provides a method and a device for managing processes, wherein the method is executed in terminal equipment, the terminal equipment is provided with at least one third-party application, the third-party application is integrated with push service processes provided by a plurality of manufacturers, and the method comprises the following steps: judging whether the target third-party application integrates a first push service process, wherein the first push service process is a push service process provided by a first manufacturer, and the first manufacturer is a manufacturer of the terminal equipment; and under the condition that the target third-party application integrates the first push service process, intercepting the starting of a second push service process, wherein the second push service process is a push service process integrated by the target third-party application except the first push service process. Through the technical scheme, the third-party application push service process can be managed and controlled, so that the memory resource of the terminal equipment is saved.

Description

Method and device for managing processes
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for managing processes in the field of communications.
Background
In order to achieve the purposes that the three-party application is adaptive to terminal devices of multiple manufacturers and the success rate of pushing the messages of the three-party application is guaranteed, the three-party application integrates multiple push (push) service processes, and the fact that the terminal devices of the multiple manufacturers can receive the messages pushed by the three-party application is guaranteed. Generally, each push service process has its own independent process, and when a three-party application installed on a terminal device integrates multiple push service processes, the multiple push processes are all running. However, only one of the push service processes is required for the terminal devices of a specific manufacturer to ensure that the push message is received, thereby causing waste of system resources.
Disclosure of Invention
The application provides a process management method and device, which can save memory resources of terminal equipment.
In a first aspect, a method for managing processes is provided, where the method is executed in a terminal device, where the terminal device is installed with at least one third-party application, and the third-party application is integrated with push service processes provided by multiple vendors, and the method includes: judging whether a target third-party application integrates a first push service process, wherein the first push service process is a push service process provided by a first manufacturer, and the first manufacturer is a manufacturer of the terminal equipment; and under the condition that the target third-party application integrates the first push service process, intercepting the starting of a second push service process, wherein the second push service process is a push service process integrated by the target third-party application except the first push service process.
The target third-party application may be any one of one or more third-party applications installed on the terminal device.
In the method for managing the process, whether the target third-party application integrates the push service process of the manufacturer of the terminal equipment installed by the target third-party application is judged, and the push service process of the manufacturer of the terminal equipment not installed by the terminal equipment is intercepted under the condition that the target third-party application integrates the push service process of the manufacturer of the terminal equipment installed by the target third-party application, so that the memory resource of the terminal equipment can be saved, and the memory resource of the terminal equipment can be reasonably utilized.
With reference to the first aspect, in a possible implementation manner, the intercepting starting of a second push service process when the target third-party application integrates the first push service process includes: obtaining a first feature library indicating at least one push service process provided by the first vendor; acquiring a currently started push service process of the target third-party application; and intercepting the currently started push service process of the target third-party application under the condition that the currently started push service process of the target third-party application does not exist in the first feature library.
With reference to the first aspect, in a possible implementation manner, in a case that the first feature library is used to indicate at least one push service process provided by the first vendor, the method further includes: and starting the currently started push service process of the target third-party application under the condition that the second push service process exists in the first feature library.
When the suppliers of the push service processes of the plurality of third applications indicated by the first feature library are manufacturers of the terminal equipment installed by the target third-party application, if the push process currently started by the target third-party application does not exist in the first feature library, the push service process currently started by the target third-party application is intercepted; if the push service process currently started by the target third-party application exists in the first feature library, the push service process currently started by the target third-party application is started, so that the third-party application push service process pushed by the first manufacturer is started, and the third-party application service process not pushed by the first manufacturer is intercepted, so that the memory resource of the terminal equipment can be saved, and the memory resource of the terminal equipment can be reasonably utilized.
With reference to the first aspect, in a possible implementation manner, the intercepting starting of a second push service process when the target third-party application integrates the first push service process includes: obtaining a first feature library, wherein the first feature library is used for indicating at least one push service process provided by a manufacturer except the first manufacturer; acquiring a currently started push service process of the target third-party application; and intercepting the currently started push service process of the target third-party application under the condition that the currently started push service process of the target third-party application exists in the first feature library.
With reference to the first aspect, in a possible implementation manner, in a case that the first feature library is used to indicate at least one push service process provided by a vendor other than the first vendor, the method further includes: and under the condition that the second push service process does not exist in the first feature library, starting the currently started push service process of the target third-party application.
When the suppliers of the push service processes of the plurality of third applications indicated by the first feature library are not manufacturers of the terminal equipment installed by the target third-party application, if the push process currently started by the target third-party application exists in the first feature library, the push service process currently started by the target third-party application is intercepted; if the push service process currently started by the target third-party application does not exist in the first feature library, the push service process currently started by the target third-party application is started, so that the third-party application push service process pushed by the first manufacturer is started, and the third-party application service process not pushed by the first manufacturer is intercepted, so that the memory resource of the terminal equipment can be saved, and the memory resource of the terminal equipment can be reasonably utilized.
With reference to the first aspect, in a possible implementation manner, the determining whether the target third-party application integrates the first push service process includes: acquiring the first information, wherein the first information is used for indicating a manufacturer of the terminal equipment; according to the first information, inquiring registration information of a push service process provided by the first manufacturer; under the condition that the registration information of the push service process provided by the first manufacturer is inquired, integrating the first push service process by the target third-party application; in the case that the registration information of the push service note provided by the first vendor is not queried, the target third party application does not integrate the first push service process.
With reference to the first aspect, in a possible implementation manner, the querying, according to the first information, registration information of a push service process provided by the first vendor further includes: acquiring second information of the target third-party application, wherein the second information is used for indicating an application package name of the target third-party application, a version number of the target third-party application and an operating system version number of the target third-party application; and inquiring the registration information of the push service process provided by the first manufacturer according to the first information and the second information.
With reference to the first aspect, in a possible implementation manner, the querying, according to the first information and the second information, registration information of a push service process provided by the first vendor includes: judging whether the target third-party application is started for the first time; under the condition that the target third-party application is started for the first time, according to the first information and the second information, inquiring registration information of a push service process provided by the first manufacturer from a cloud database; and under the condition that the target third-party application is not started for the first time, inquiring the registration information of the push service process provided by the first manufacturer from a local database according to the first information and the second information.
It should be appreciated that the target third party application may be launched for the first time after installation of the target third party application; alternatively, the first launch of the target third-party application may be a first launch after the target third-party application is updated.
When the registration information of the push service process provided by the first manufacturer is inquired, whether the target third party application is started for the first time is judged, under the condition that the target third party application is started for the first time, the registration information of the push service process provided by the first manufacturer is inquired from the cloud database, and under the condition that the target third party application is not started for the first time, the registration information of the push service process provided by the first manufacturer is inquired from the local database, so that the push service registration information of the first manufacturer can be effectively inquired, and the accuracy of the management process is improved.
With reference to the first aspect, in a possible implementation manner, before the determining whether the target third-party application integrates the first push service process, the method further includes: acquiring third information of a target third-party application, wherein the third information is used for indicating an application package name of the target third-party application; judging whether the application package name of the target third-party application exists in a second feature library according to the third information, wherein the second feature library is used for indicating the application package names of a plurality of third-party applications; and under the condition that the application package name of the target third-party application exists in the second feature library, judging whether the target third-party application integrates a first push service process.
Only the third-party application in the second feature library is judged whether to integrate the first manufacturer push service, so that the efficiency of the management process can be improved.
With reference to the first aspect, in a possible implementation manner, when the cloud database queries the registration information of the first push service process, the method further includes:
and storing the registration information of the first push service process to the local database.
When the registration information of the push service process provided by the first manufacturer is inquired in the cloud database, the inquired registration information of the push service process provided by the first manufacturer needs to be stored in the local database, so that when the target third-party application is started subsequently, the efficiency of managing the process of the target third-party application can be improved.
In a second aspect, an apparatus for managing a process is provided, where the apparatus is installed with at least one third-party application integrated with a push service process provided by a plurality of vendors, and the apparatus includes: the processing unit is used for judging whether a target third-party application integrates a first push service process, wherein the first push service process is a push service process provided by a first manufacturer, and the first manufacturer is a manufacturer of the terminal equipment; the processing unit is further configured to intercept starting of a second push service process, where the second push service process is a push service process integrated by the target third-party application and is other than the first push service process, in a case where the target third-party application integrates the first push service process.
In the device for managing the process, the processing unit judges whether the target third-party application integrates the push service process of the manufacturer of the terminal equipment installed by the target third-party application, and under the condition that the target third-party application integrates the push service process of the manufacturer of the terminal equipment installed by the target third-party application, the processing unit intercepts the push service process of the manufacturer of the non-terminal equipment, so that the memory resource of the terminal equipment can be saved, and the memory resource of the terminal equipment can be reasonably utilized.
With reference to the second aspect, in a possible implementation manner, the apparatus further includes: an obtaining unit, configured to obtain a first feature library, where the first feature library is used to indicate at least one push service process provided by the first vendor; the obtaining unit is further configured to obtain a push service process currently started by the target third-party application; the processing unit is further configured to intercept a push service process currently started by the target third-party application, when the push service process currently started by the target third-party application does not exist in the first feature library;
with reference to the second aspect, in a possible implementation manner, when the first feature library is used to indicate at least one push service process provided by the first vendor, and when the second push service process exists in the first feature library, the processing unit is further configured to start a currently-started push service process of the target third-party application.
With reference to the second aspect, in a possible implementation manner, the apparatus further includes: an acquisition unit configured to acquire a first feature library indicating at least one push service process provided by a vendor other than the first vendor; the obtaining unit is further configured to obtain a push service process currently started by the target third-party application; and the processing unit is further configured to intercept a push service process currently started by the target third-party application, when the push service process currently started by the target third-party application exists in the first feature library.
With reference to the second aspect, in a possible implementation manner, when the first feature library is used to indicate at least one push service process provided by a vendor other than the first vendor, and the second push service process does not exist in the first feature library, the processing unit is further configured to start a currently started push service process of the target third-party application.
With reference to the second aspect, in a possible implementation manner, the apparatus further includes: the acquisition unit is further used for acquiring the first information, and the first information is used for indicating a manufacturer of the terminal equipment; the processing unit is further configured to query, according to the first information, registration information of a push service process provided by the first vendor; under the condition that the registration information of the push service process provided by the first manufacturer is inquired, integrating the first push service process by the target third-party application; in the case that the registration information of the push service note provided by the first vendor is not queried, the target third party application does not integrate the first push service process.
With reference to the second aspect, in a possible implementation manner, the obtaining unit is further configured to obtain second information of the target third-party application, where the second information is used to indicate an application package name of the target third-party application, a version number of the target third-party application, and an operating system version number of the target third-party application; the processing unit is further configured to query registration information of a push service process provided by the first vendor according to the first information and the second information.
With reference to the second aspect, in a possible implementation manner, the processing unit is further configured to determine whether the target third-party application is started for the first time; the processing unit is further configured to query, according to the first information and the second information, registration information of a push service process provided by the first manufacturer from a cloud database under the condition that the target third-party application is started for the first time; and under the condition that the target third-party application is not started for the first time, the processing unit is further configured to query, from a local database, registration information of a push service process provided by the first vendor according to the first information and the second information.
With reference to the second aspect, in a possible implementation manner, the apparatus further includes: the acquisition unit is used for acquiring third information of a target third-party application, wherein the third information is used for indicating an application package name of the target third-party application; the processing unit is further configured to determine, according to the third information, whether an application package name of the target third-party application exists in a second feature library, where the second feature library is used to indicate application package names of a plurality of third-party applications; and under the condition that the application package name of the target third-party application exists in the second feature library, the processing unit is further configured to determine whether the target third-party application integrates a first push service process.
With reference to the second aspect, in a possible implementation manner, the processing unit is further configured to store the registration information of the first push service process in the local database.
In a third aspect, an electronic device is provided, including: one or more processors; one or more memories; one or more third party applications; and one or more programs, wherein the one or more programs are stored in the one or more memories and configured to be executed by the one or more processors, the one or more programs comprising means for performing the method of managing a process in any possible implementation of the first aspect and the first aspect as discussed above.
In a fourth aspect, an apparatus is provided, the apparatus being included in an electronic device, the apparatus having functionality to implement the above aspects and possible implementations of the above aspects. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as an acquisition module or unit, a processing module or unit, etc.
In a fifth aspect, the present application provides an electronic device, comprising: the input unit is used for acquiring the started third application and comprises a touch display screen, wherein the touch display screen comprises a touch-sensitive surface and a display; a processing unit; the one or more processors are used for the electronic device and the cloud device to interact; a memory for storing a first library of features and a second library of features; one or more third party applications; and one or more computer programs. Wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. The instructions, when executed by the electronic device, cause the electronic device to perform the method of managing processes in any one of the possible implementations of the first aspect and the first aspect described above.
In one design, the processing unit includes a network processing device of a Wi-Fi chip or a network processing device of a modem chip.
In a sixth aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors and the one or more memories are configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of managing processes of the first aspect described above and any of the possible implementations of the first aspect.
In a seventh aspect, the present application provides a computer-readable storage medium, which includes instructions that, when executed on an electronic device, cause the electronic device to perform the method for managing processes in any one of the above first aspect and the possible implementation manners of the first aspect.
In an eighth aspect, the present application provides a computer program product containing instructions, which when run on an electronic device, causes the electronic device to perform the method for managing processes of the first aspect and any possible implementation manner of the first aspect.
In a ninth aspect, there is provided a chip comprising: a processor, configured to read an instruction stored in a memory, and when the processor executes the instruction, cause the chip to implement the method for managing a process in any one of the foregoing first aspect and possible implementation manners of the first aspect.
Drawings
Fig. 1 is a schematic diagram of a communication system 100 suitable for use in the methods provided by embodiments of the present application.
Fig. 2 is a schematic diagram of an architecture of a process in which application a receives push service on different vendor terminal devices.
Fig. 3 is a schematic flow chart of a method 300 for managing a process according to an embodiment of the present application.
Fig. 4 is a schematic flowchart of determining whether a target third-party application integrates registration information of a push service process provided by a first vendor according to an embodiment of the present disclosure.
Fig. 5 is a schematic flow chart of a method for managing a process according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an apparatus for managing a process according to an embodiment of the present application.
Detailed Description
To facilitate understanding of the embodiments of the present application, the following description is made before describing the embodiments of the present application.
First, in the embodiments of the present application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. If the information indicated by a certain piece of information (e.g., the first indication information described below) is referred to as information to be indicated, in a specific implementation process, there are many ways to indicate the information to be indicated, for example, but not limited to, the information to be indicated may be directly indicated, such as the information to be indicated itself or an index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein an association relationship exists between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other part of the information to be indicated is known or predetermined. For example, the indication of the specific information may be implemented by means of a predetermined arrangement order of the respective information (e.g., protocol specification), thereby reducing the indication overhead to some extent.
Second, the first, second and various numerical numbers in the embodiments shown below are merely for convenience of description and are not intended to limit the scope of the embodiments of the present application. E.g. to distinguish different messages, etc.
Third, the "plurality" referred to in the embodiments of the present application means two or more.
Fourth, the correspondence shown in the table related in the embodiment of the present application is merely an example, and the present application is not limited thereto.
The technical solution in the present application will be described below with reference to the accompanying drawings. To facilitate understanding of the embodiments of the present application, first, a communication system suitable for the method provided by the embodiments of the present application is described in detail with reference to fig. 1, and fig. 1 shows a schematic diagram of a communication system 100 suitable for the method provided by the embodiments of the present application. As shown, the communication system 100 may include a push cloud server, such as the push cloud server 110 shown in fig. 1; the communication system 100 may also include at least one terminal device, such as the terminal device 12 shown in fig. 1. The push cloud server stores information of push services registered by various three-party applications, so that the terminal equipment can inquire the registration information of the corresponding three-party application push services. The push cloud server and the terminal device may communicate via a wireless link, for example, the terminal device may send registration information for querying the three-party application push service to the push cloud server, and the push cloud server may search, based on the registration information for querying the push service sent by the terminal device, the registration information for the corresponding three-party application push service from the registration information for the corresponding three-party application push service stored in the push cloud server, and return a query result to the terminal device.
Terminal equipment in the embodiments of the present application may refer to user equipment, access terminals, subscriber units, subscriber stations, mobile stations, remote terminals, mobile devices, user terminals, wireless communication devices, user agents, or user devices. The terminal device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN), and the like, which are not limited in this embodiment.
By way of example, and not limitation, in embodiments of the present invention, the terminal device may also be a wearable device. Wearable equipment can also be called wearable intelligent equipment, is the general term of applying wearable technique to carry out intelligent design, develop the equipment that can dress to daily wearing, like glasses, gloves, wrist-watch, dress and shoes etc.. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable smart device includes full functionality, large size, and can implement full or partial functionality without relying on a smart phone, such as: smart watches or smart glasses and the like, and only focus on a certain type of application functions, and need to be used in cooperation with other devices such as smart phones, such as various smart bracelets for physical sign monitoring, smart jewelry and the like.
In addition, in the embodiment of the present invention, the terminal device may also be a terminal device in an internet of things (IoT) system, where IoT is an important component of future information technology development, and the main technical feature of the present invention is to connect an article with a network through a communication technology, so as to implement an intelligent network with interconnected human-computer and interconnected objects.
The functions and specific implementations of the terminal device, the access network device and the core network device listed above are merely exemplary illustrations, and the present invention is not limited thereto.
In the embodiment of the application, the terminal device comprises a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a Central Processing Unit (CPU), a Memory Management Unit (MMU), and a memory (also referred to as a main memory). The operating system may be any one or more computer operating systems that implement business processing through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer comprises applications such as a browser, an address list, word processing software, instant messaging software and the like. Moreover, the specific structure of the execution main body of the method provided in the embodiment of the present application is not particularly limited in the embodiment of the present application, as long as the execution main body can communicate with the method provided in the embodiment of the present application by running the program recorded with the code of the method provided in the embodiment of the present application, for example, the execution main body of the method provided in the embodiment of the present application may be a terminal device or a push cloud server, or a functional module capable of calling the program and executing the program in the terminal device or the push cloud server.
In addition, various aspects or features of the present application may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. For example, computer-readable media may include, but are not limited to: magnetic storage devices (e.g., hard disk, floppy disk, or magnetic tape), optical disks (e.g., Compact Disk (CD), Digital Versatile Disk (DVD), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROM), card, stick, or key drive, etc.). In addition, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" can include, without being limited to, wireless channels and various other media capable of storing, containing, and/or carrying instruction(s) and/or data.
It should be further understood that fig. 1 is a simplified schematic diagram for ease of understanding only, and that the communication system 100 may further include other push cloud servers or may further include other terminal devices, which are not shown in fig. 1.
For the convenience of understanding the embodiment of the present application, the push mechanism referred to hereinafter is first briefly described.
The push mechanism is an important mechanism for third party applications to receive push messages, and currently, push service process providers are on the market as many as 25. In order to adapt to terminal devices of multiple manufacturers and guarantee successful message pushing, a third-party application often integrates pushing service processes of multiple manufacturers at the same time. For example, as shown in table 1, the memory size occupied by part of the pushing process on different third-party applications is shown.
TABLE 1
Figure BDA0002145660700000071
Figure BDA0002145660700000081
Taking application a as an example, the architecture of receiving push service processes on different vendor terminal devices is shown in fig. 2. The application a integrates 3 push service processes, for example, a terminal device 1 push service process, a terminal device 2 push service process, and a terminal device 3 push service process. Meanwhile, the terminal device 1 push server stores registration information for the application a, the terminal device 2 push server also stores registration information for the application a, and the terminal device 3 push server also stores registration information for the application a. For example, if the application a is installed on the terminal device 1, when a user holding the terminal device 1 starts the application a, the push server of the terminal device 1 sends a push service process of the terminal device 1 to the terminal device 1, and the push service process of the terminal device 1 carries a service push message; meanwhile, the terminal device 2 push server sends a terminal device 2 push service process to the terminal device 1, and the terminal device 2 pushes a service message which is not loaded with effective service in the service process; meanwhile, the terminal device 3 push server sends the terminal device 3 push service process to the terminal device 1, and the terminal device 3 does not carry an effective service push message in the service push service process. Thus, the operation of the push service process of the terminal device 2 and the operation of the push service process of the terminal device 3 cause waste of system resources. For another example, if the application a is installed on the terminal device 2, when the user holding the terminal device 2 starts the application a, the terminal device 2 push server sends a terminal device 2 push service process to the terminal device 2, where the terminal device 2 push service process carries a service push message; meanwhile, the terminal device 1 push server sends a terminal device 1 push service process to the terminal device 2, and the terminal device 1 pushes a service push message which is not loaded effectively in the service process; meanwhile, the terminal device 3 push server sends the terminal device 3 push service process to the terminal device 2, and the terminal device 3 does not carry an effective service push message in the service push service process. Thus, the operation of the push service process of the terminal device 1 and the operation of the push service process of the terminal device 3 cause waste of system resources. For another example, if the application a is installed on the terminal device 3, when the user holding the terminal device 3 starts the application a, the push server of the terminal device 3 sends a push service process of the terminal device 3 to the terminal device 3, and the push service process of the terminal device 3 carries a service push message; meanwhile, the terminal device 1 push server sends a terminal device 1 push service process to the terminal device 3, and the terminal device 1 pushes a service push message which is not loaded effectively in the service process; meanwhile, the terminal device 2 push server sends a terminal device 2 push service process to the terminal device 3, and the terminal device 2 push service process does not carry an effective service push message. Thus, the operation of the push service process of the terminal device 1 and the operation of the push service process of the terminal device 2 cause waste of system resources.
Therefore, it is desirable to provide a method for managing and controlling a third-party application push service process, so as to save memory resources of a terminal device.
The method for managing processes provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the embodiments shown below, optionally, the present application provides a method for managing a process, which is executed in a terminal device, where the terminal device is installed with at least one third-party application, and the third-party application is integrated with push service processes provided by multiple vendors. As shown in fig. 3, the method 300 may include steps 310 and 320. The various steps in method 300 are described in detail below.
Prior to step 310, the method 300 may further include steps 301 through 303.
301, determining whether a target third party application is started, wherein the target third party application is installed on the terminal device.
Alternatively, determining whether the target third-party application is launched may be accomplished in the following manner. Mode 1: the terminal equipment can judge whether the target third-party application is started or not through monitoring; mode 2: the terminal device can check the background process in a continuous polling mode, so that whether the target third-party application is started or not can be judged.
In case the target third party application is started, the terminal device may also perform steps 302 to 303.
And 302, obtaining third information of the target third-party application, wherein the third information is used for indicating the application package name of the target third-party application.
Alternatively, the third information of the target third-party application may be acquired by a program.
It should be appreciated that each third party application has a unique application package name corresponding thereto. Which application is known by the application package name.
And 303, judging whether the application package name of the target third-party application exists in a second feature library according to the third information, wherein the second feature library is used for indicating the application package names of a plurality of third-party applications.
Wherein each of the plurality of third applications integrates a plurality of push service processes. Multiple push service processes may be understood as the push service processes may be push services of different vendors. For example, the third-party application may be a today's headline, the today's headline may integrate 3 push service processes, and the 3 push services may be a huaji push service process, a millet push service process, and a push service process, respectively. For another example, the third party application may be an arcade, the arcade may integrate 4 push service processes, and the 4 push services may be a huazi push service process, a millet push service process, an apple push service process, and a push service process, respectively. The present application does not limit the specific content of the push services.
And the plurality of third-party applications in the second feature library are obtained by testing the third-party applications used by the plurality of user equipment.
Optionally, the plurality of third party applications in the second feature library, for the user device: the method comprises the following steps that firstly, sensitive third-party application is realized, namely the third-party application has large influence on the memory of user equipment; third party applications with improper push messages, such as third party applications with delayed push messages. And if the target third-party application does not exist in the second feature library, starting the process of starting the target third-party application, and not executing the following steps. For example, if the target third-party application is a WPS application and the WPS application push message is normal, i.e., the WPS application is not in the second feature library, the WPS initiated process is allowed to be initiated. Step 310 may be performed again in the event that a target third party application is present in the second feature library.
Optionally, the plurality of third party applications in the second feature library, for the user device: the method comprises the following steps that firstly, third-party application which is relatively insensitive, namely the third-party application has relatively small influence on a memory of user equipment; and secondly, pushing the third-party application with normal message, such as the third-party application without delay of the message. And if the target third-party application exists in the second feature library, starting the process of starting the target third-party application, and not executing the following steps. For example, the target third-party application is a today's top application, and the push message of the today's top application is normal, that is, the WPS application exists in the second feature library, which allows the process started by the today's top application to be started. In the event that the target third party application is not present in the second feature library, step 310 may be performed again.
And 310, judging whether the target third-party application integrates a first push service process, wherein the first push service process is provided by a first manufacturer, and the first manufacturer is a manufacturer of the terminal equipment.
The target third-party application may be any one of one or more third-party applications installed on the terminal device.
Specifically, first information is acquired, and the first information is used for indicating a manufacturer of the terminal equipment; according to the first information, inquiring registration information of a push service process provided by a first manufacturer; under the condition that the registration information of the push service process provided by the first manufacturer is inquired, integrating the first push service process by the target third party application; in the case that registration information of a push service provided by a first vendor is not queried, a target third party application does not integrate the first push service process.
Wherein the first information, i.e. the manufacturer of the terminal device, may be obtained by a program.
It should be understood that each terminal device has a unique manufacturer associated with it.
It should be appreciated that if the target third party application integrates the first push service process thereon, the target third party application generates registration information of the first push service process, i.e. registration information of the push service provided by the first vendor.
Specifically, according to the first information, querying registration information of a push service process provided by a first vendor includes: acquiring second information of the target third-party application, wherein the second information is used for indicating an application package name of the target third-party application, a version number of the target third-party application and an operating system version number of the target third-party application; and inquiring the registration information of the push service process provided by the first manufacturer according to the first information and the second information.
The second information of the target third-party application, namely the application package name of the target third-party application, the version number of the target third-party application and the operating system version number of the target third-party application, can be obtained through the program.
Wherein, according to the first information and the second information, querying registration information of the push service process provided by the first vendor comprises: judging whether the target third-party application is started for the first time; under the condition that the target third-party application is started for the first time, according to the first information and the second information, inquiring registration information of a push service process provided by a first manufacturer from a cloud database; and under the condition that the target third-party application is not started for the first time, according to the first information and the second information, inquiring the registration information of the push service process provided by the first manufacturer from the local database.
It should be appreciated that the target third party application may be launched for the first time after installation of the target third party application; alternatively, the first launch of the target third-party application may be a first launch after the target third-party application is updated.
It should be understood that the cloud database and the local database are databases corresponding to the terminal device that installs the target third-party application. The cloud database is the cloud database corresponding to the terminal device. For example, if the terminal device is a hua-shi terminal device, the cloud database is a hua-shi cloud database. For another example, if the terminal device is a terminal device of millet, the cloud database is a cloud database of millet. The local database is the local database of the terminal device. For example, if the terminal device is a hua-shi terminal device, the local database is a local database of the hua-shi terminal device. For another example, if the terminal device is a millet terminal device, the local database is a local database of the millet terminal device.
Optionally, when the cloud database queries the first vendor push service registration information, the first vendor push service registration information is stored in the local database.
Fig. 4 is a schematic flow chart illustrating a process for determining whether a target third party application integrates registration information of a first vendor-provided push service process. For example, if the first manufacturer is hua ye, it is necessary to determine the manufacturer of the terminal device (i.e., obtain the first information), and if the manufacturer of the terminal device is hua ye, it is necessary to query the registration information of the hua ye push service process. When inquiring registration information of the Huawei push service process, firstly judging whether the target third-party application is started for the first time, and inquiring the registration information of the Huawei push service process in a cloud database (namely the Huawei cloud database) of the terminal equipment according to the application package name of the target third-party application, the version number of the target third-party application and the version number (namely second information) of an operating system of the target third-party application under the condition that the target third-party application is started for the first time; under the condition that the target third-party application is not started for the first time, inquiring Huawei push service registration information in a local database of the terminal equipment according to the application package name of the target third-party application, the version number of the target third-party application and the version number of an operating system of the target third-party application; under the condition that the registration information of the push service process provided by the first manufacturer is inquired, the target third party application integration certificate is the push service process; and under the condition that the registration information of the push service of the first manufacturer is not inquired, the target third-party application is not integrated into the push service process.
Optionally, in a case where the target third-party application does not integrate the push service process provided by the first vendor, the process started by the target third-party application is started, and the following steps are not performed any more. For example, the manufacturer of the terminal device is a millet manufacturer, the target third party application is internet cloud music, the internet cloud music is not integrated with a millet manufacturer push service process, and at the moment, the internet cloud music is started.
Optionally, in case the target third party application integrates a push service process provided by the first vendor, the following step 320 is performed. For example, the manufacturer of the terminal device is a millet manufacturer, the target third party application is a today's headline, and the today's headline integrates a millet manufacturer push service process, and then the following step 320 is executed.
320. And under the condition that the target third-party application integrates the first push service process, intercepting the starting of a second push service process, wherein the second push service process is a push service process integrated by the target third-party application except the first push service process.
Intercepting the start of the second push service process in case the target third party application integrates the first push service process is described below in two cases.
Case 1
321. A first feature library is obtained indicating at least one push service process provided by a first vendor.
For example, in a case where the manufacturer of the terminal device is a hua-qi manufacturer, the providers of the at least one push service process indicated in the first feature library are all hua-qi manufacturers. For another example, in a case where the first manufacturer of the terminal device is a millet manufacturer, the providers of the at least one push service process indicated in the first feature library are all millet manufacturers.
322, obtaining the push service process currently started by the target third party application.
Alternatively, the push service process currently started by the third-party application may be acquired by a program.
It should be appreciated that when the target third party application is launched, a push service process currently launched by the third party application is generated.
323, intercepting the currently started push service process of the target third party application under the condition that the currently started push service process of the target third party application does not exist in the first feature library.
Optionally, in a case that the second push service process exists in the first feature library, the currently started push service process of the target third-party application is started.
For example, if a manufacturer of the terminal device is a manufacturer in china, and providers of the push service processes of the plurality of third applications indicated in the first feature library are all vendors in china, if the push service process currently started by the target third-party application is a push service process provided by the manufacturer in china, and there is a push service process currently started by the target third-party application in the first feature library, the push service process currently started by the target third-party application is started; if the currently started push service process of the target third-party application is a push service process provided by a millet manufacturer and the currently started push service process of the target third-party application is not in the first feature library, intercepting the currently started push service process of the target third-party application.
Case 2
321' obtaining a first feature library indicating at least one push service process provided by a vendor other than said first vendor.
For example, in a case that the manufacturer of the terminal device is a hua-qi manufacturer, none of the providers of the at least one push service process indicated in the first feature library is a hua-qi manufacturer (e.g., may be a millet manufacturer, an OPPO manufacturer, and/or an apple manufacturer, etc.). For another example, in a case that the first manufacturer of the terminal device is a millet manufacturer, none of the providers of the at least one push service process indicated in the first feature library is a millet manufacturer (e.g., may be a hua manufacturer, an OPPO manufacturer, and/or an apple manufacturer, etc.).
Alternatively, the push service process currently started by the third-party application may be acquired by a program.
It should be appreciated that when the target third party application is launched, a push service process currently launched by the third party application is generated.
322' obtaining the push service process currently started by the target third party application.
Alternatively, the push service process currently started by the third-party application may be acquired by a program.
It should be appreciated that when the target third party application is launched, a push service process currently launched by the third party application is generated.
323' intercepting the push service process currently started by the target third party application in case that the push service process currently started by the target third party application exists in the first feature library.
Optionally, in a case that the second push service process does not exist in the first feature library, the currently started push service process of the target third-party application is started.
For example, if a manufacturer of the terminal device is a manufacturer in china, and the providers of the push service processes of the plurality of third applications indicated in the first feature library are not vendors in china, if the push service process currently started by the target third-party application is a push service process provided by the manufacturer in china, and there is no push service process currently started by the target third-party application in the first feature library, starting the push service process currently started by the target third-party application; if the currently started push service process of the target third-party application is a push service process provided by a millet manufacturer and the currently started push service process of the target third-party application exists in the first feature library, intercepting the currently started push service process of the target third-party application.
FIG. 5 is a schematic flow chart diagram illustrating a method of managing a process. For example, if the target third-party application is a today's headline and the today's headline is installed on a millet terminal device, first, an application package name (i.e., third information) of the today's headline needs to be acquired, and according to the application package name of the today's headline, whether the today's headline is a specific third-party application (i.e., a sensitive application or a delayed third-party application is pushed) is determined, and in the case that the today's headline is not a specific third-party application, the pushing process of the today's headline is allowed to be started; under the condition that the current headline is a specific third-party application, acquiring a currently started push service process of the current headline, judging whether the currently started push service process of the current headline is a push service process of a specific manufacturer (millet), and allowing the currently started push service process of the current headline to be started under the condition that the currently started push service process of the current headline is a millet push service process; and intercepting the currently started push service process of the current headline under the condition that the process name of the current headline is not the service process of millet push. Therefore, under the condition that the push service of a specific manufacturer is integrated at the beginning of the day, only the push service process of the specific manufacturer is started, and the push service process of a non-specific manufacturer is intercepted, so that the memory resource of the terminal equipment can be saved, and the memory resource of the terminal equipment can be reasonably utilized.
For example, five tests were performed on 330 applications commonly used by the user equipment, and the specific test cases are shown in table 2. Wherein 45 application push processes are intercepted, and the average memory benefit is intercepted by 35175KB which is 34.35 MB; the average memory gain for all 330 tested applications was 4795 KB-4.68 MB.
TABLE 2
Figure BDA0002145660700000121
In case 1 or case 2, when the target third-party application integrates the first push service process (the push service process provided by the first vendor), the first vendor push service process is started, and the non-first vendor push service process is intercepted, so as to reasonably utilize the memory resource of the terminal device.
It should be understood that the method for managing a process provided in the embodiment of the present application may be executed when the third-party application needs to send a push message, or when the third-party application is in an idle state and does not need to send a push message, the third-party application manages a push service process first, waits until a subsequent push message needs to be sent, and pushes a message according to a result of a corresponding management process.
The embodiment of the present application further provides a device for managing a process, where the device for managing a process may be included in an electronic device, and the device for managing a process may also be a chip configured in the electronic device. Wherein the electronic device may be a terminal equipment. Hereinafter, the push management apparatus according to the embodiment of the present application will be described in detail with reference to fig. 6.
Fig. 6 is a schematic diagram of an apparatus 600 for managing a process according to an embodiment of the present application. The apparatus 600 may include a processing unit 610.
A processing unit 610, configured to determine whether a target third-party application integrates a first push service process, where the first push service process is a push service process provided by a first manufacturer, and the first manufacturer is a manufacturer of the terminal device;
in a case that the target third-party application integrates the first vendor push service, the processing unit 610 is further configured to intercept starting of a second push service process, where the second push service process is a push service process integrated by the target third-party application except for the first push service process.
Optionally, the apparatus 600 further comprises and acquiring unit 620.
Optionally, the obtaining unit 620 is configured to obtain a first feature library, where the first feature library is used to indicate at least one push service process provided by the first vendor; the obtaining unit 620 is further configured to obtain a push service process currently started by the target third-party application; in a case that the push service process currently started by the target third-party application does not exist in the first feature library, the processing unit 610 is further configured to intercept the push service process currently started by the target third-party application.
Optionally, in a case that the first feature library is used to indicate at least one push service process provided by the first vendor, and the second push service process exists in the first feature library, the processing unit 610 is further configured to start a currently started push service process of the target third-party application.
Optionally, the obtaining unit 620 is configured to obtain a first feature library, where the first feature library is used to indicate at least one push service process provided by a vendor other than the first vendor; the obtaining unit 620 is further configured to obtain a push service process currently started by the target third-party application; in a case that the push service process currently started by the target third-party application exists in the first feature library, the processing unit 610 is further configured to intercept the push service process currently started by the target third-party application;
optionally, in a case that the first feature library is used to indicate at least one push service process provided by a vendor other than the first vendor, and the second push service process does not exist in the first feature library, the processing unit 610 is further configured to start the currently started push service process of the target third-party application.
Optionally, the obtaining unit 620 is further configured to obtain the first information, where the first information is used to indicate a manufacturer of the terminal device; the processing unit 610 is further configured to query, according to the first information, registration information of a push service process provided by the first vendor; under the condition that the registration information of the push service process provided by the first manufacturer is inquired, integrating the first push service process by the target third-party application; in the case that the registration information of the push service note provided by the first vendor is not queried, the target third party application does not integrate the first push service process.
Optionally, the obtaining unit 620 is further configured to obtain second information of the target third-party application, where the second information is used to indicate an application package name of the target third-party application, a version number of the target third-party application, and an operating system version number of the target third-party application; the processing unit 610 is further configured to query, according to the first information and the second information, registration information of a push service process provided by the first vendor.
Optionally, the processing unit 610 is further configured to determine whether the target third-party application is started for the first time; when the target third-party application is started for the first time, the processing unit 610 is further specifically configured to query, from a cloud database, registration information of a push service process provided by the first manufacturer according to the first information and the second information; in a case that the target third-party application is not started for the first time, the processing unit 610 is further specifically configured to query, from a local database, registration information of a push service process provided by the first vendor according to the first information and the second information.
Optionally, the obtaining unit 620 is configured to obtain third information of a target third-party application, where the third information is used to indicate an application package name of the target third-party application; the processing unit 610 is further configured to determine, according to the third information, whether an application package name of the target third-party application exists in a second feature library, where the second feature library is used to indicate application package names of a plurality of third-party applications; in a case that the target third-party application exists in the second feature library, the processing unit 610 is further configured to determine whether the target third-party application is integrated with a first push service process.
Optionally, the processing unit 610 is further configured to store the registration information of the first push service process in the local database.
An embodiment of the present application further provides an electronic device, including: one or more processors; one or more memories; one or more third party applications; and one or more programs, wherein the one or more programs are stored in the one or more memories and configured to be executed by the one or more processors, the one or more programs including instructions for performing the above-described method of managing a process.
Embodiments of the present application also provide an apparatus, which is included in an electronic apparatus, and has a function of implementing the behavior of the electronic apparatus in the above aspect and the possible implementation manners of the above aspect. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as an acquisition module or unit, a processing module or unit, etc.
An embodiment of the present application further provides an electronic device, including: the input unit is used for acquiring the started third application and comprises a touch display screen, wherein the touch display screen comprises a touch-sensitive surface and a display; a processing unit; the one or more processors are used for the electronic device and the cloud device to interact; a memory for storing a first library of features and a second library of features; one or more third party applications; and one or more computer programs. Wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. The instructions, when executed by the electronic device, cause the electronic device to perform the method of managing a process described above.
In one design, the processing unit includes a network processing device of a Wi-Fi chip or a network processing device of a modem chip.
Embodiments of the present application also provide an electronic device including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors and the one or more memories are configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of managing a process described above.
The embodiment of the application also provides a computer-readable storage medium, which comprises instructions, and when the instructions are run on an electronic device, the electronic device is caused to execute the method for managing the process.
The embodiment of the present application further provides a computer program product containing instructions, which when run on an electronic device, causes the electronic device to execute the method for managing processes.
An embodiment of the present application further provides a chip, including: and the processor is used for reading the instructions stored in the memory and enabling the chip to realize the method for managing the process when the processor executes the instructions.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects achieved by the electronic device, the computer storage medium, the computer program product, or the chip can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. A method for managing processes, wherein the method is executed in a terminal device, the terminal device is installed with at least one third-party application, and the third-party application is integrated with push service processes provided by a plurality of manufacturers, and the method comprises the following steps:
judging whether a target third-party application integrates a first push service process, wherein the first push service process is a push service process provided by a first manufacturer, and the first manufacturer is a manufacturer of the terminal equipment;
and under the condition that the target third-party application integrates the first push service process, intercepting the starting of a second push service process, wherein the second push service process is a push service process integrated by the target third-party application except the first push service process.
2. The method of claim 1, wherein intercepting the launching of a second push service process in the case that the target third party application integrates the first push service process comprises:
obtaining a first feature library indicating at least one push service process provided by the first vendor;
acquiring a currently started push service process of the target third-party application;
and intercepting the currently started push service process of the target third-party application under the condition that the currently started push service process of the target third-party application does not exist in the first feature library.
3. The method of claim 1, wherein intercepting the launching of a second push service process in the case that the target third party application integrates the first push service process comprises:
obtaining a first feature library, wherein the first feature library is used for indicating at least one push service process provided by a manufacturer except the first manufacturer;
acquiring a currently started push service process of the target third-party application;
and intercepting the currently started push service process of the target third-party application under the condition that the currently started push service process of the target third-party application exists in the first feature library.
4. The method of claim 1, wherein determining whether the target third-party application integrates the first push service process comprises:
acquiring the first information, wherein the first information is used for indicating a manufacturer of the terminal equipment;
according to the first information, inquiring registration information of a push service process provided by the first manufacturer;
under the condition that the registration information of the push service process provided by the first manufacturer is inquired, integrating the first push service process by the target third-party application;
in the case that the registration information of the push service note provided by the first vendor is not queried, the target third party application does not integrate the first push service process.
5. The method of claim 4, wherein the querying registration information of the push service process provided by the first vendor according to the first information further comprises:
acquiring second information of the target third-party application, wherein the second information is used for indicating an application package name of the target third-party application, a version number of the target third-party application and an operating system version number of the target third-party application;
and inquiring the registration information of the push service process provided by the first manufacturer according to the first information and the second information.
6. The method of claim 5, wherein the querying registration information of the push service process provided by the first vendor according to the first information and the second information comprises:
judging whether the target third-party application is started for the first time;
under the condition that the target third-party application is started for the first time, according to the first information and the second information, inquiring registration information of a push service process provided by the first manufacturer from a cloud database;
and under the condition that the target third-party application is not started for the first time, inquiring the registration information of the push service process provided by the first manufacturer from a local database according to the first information and the second information.
7. The method of claim 1, wherein prior to the determining whether the target third-party application integrates the first push service process, the method further comprises:
acquiring third information of a target third-party application, wherein the third information is used for indicating an application package name of the target third-party application;
judging whether the application package name of the target third-party application exists in a second feature library according to the third information, wherein the second feature library is used for indicating the application package names of a plurality of third-party applications;
and under the condition that the application package name of the target third-party application exists in the second feature library, judging whether the target third-party application integrates a first push service process.
8. The method of claim 6, wherein in the case that the cloud database queries the first push service process for registration information, the method further comprises:
and storing the registration information of the first push service process to the local database.
9. An apparatus for managing a process, the apparatus having at least one third-party application installed therein, the third-party application being integrated with a plurality of vendor-provided push service processes, the apparatus comprising:
the processing unit is used for judging whether a target third-party application integrates a first push service process, wherein the first push service process is a push service process provided by a first manufacturer, and the first manufacturer is a manufacturer of the terminal equipment;
the processing unit is further configured to intercept starting of a second push service process, where the second push service process is a push service process integrated by the target third-party application and is other than the first push service process, in a case where the target third-party application integrates the first push service process.
10. The apparatus of claim 9, further comprising:
an obtaining unit, configured to obtain a first feature library, where the first feature library is used to indicate at least one push service process provided by the first vendor;
the obtaining unit is further configured to obtain a push service process currently started by the target third-party application;
the processing unit is further configured to intercept a push service process currently started by the target third-party application, when the push service process currently started by the target third-party application does not exist in the first feature library.
11. The apparatus of claim 9, further comprising:
an acquisition unit configured to acquire a first feature library indicating at least one push service process provided by a vendor other than the first vendor;
the obtaining unit is further configured to obtain a push service process currently started by the target third-party application;
and the processing unit is further configured to intercept a push service process currently started by the target third-party application, when the push service process currently started by the target third-party application exists in the first feature library.
12. The apparatus of claim 9, further comprising:
the acquisition unit is further used for acquiring the first information, and the first information is used for indicating a manufacturer of the terminal equipment;
the processing unit is further configured to query, according to the first information, registration information of a push service process provided by the first vendor;
under the condition that the registration information of the push service process provided by the first manufacturer is inquired, integrating the first push service process by the target third-party application;
in the case that the registration information of the push service note provided by the first vendor is not queried, the target third party application does not integrate the first push service process.
13. The apparatus according to claim 12, wherein the obtaining unit is further configured to obtain second information of the target third-party application, where the second information is used to indicate an application package name of the target third-party application, a version number of the target third-party application, and an operating system version number of the target third-party application;
the processing unit is further configured to query registration information of a push service process provided by the first vendor according to the first information and the second information.
14. The apparatus according to claim 13, wherein the processing unit is further configured to determine whether the target third-party application is first started;
the processing unit is further configured to query, according to the first information and the second information, registration information of a push service process provided by the first manufacturer from a cloud database under the condition that the target third-party application is started for the first time;
and under the condition that the target third-party application is not started for the first time, the processing unit is further configured to query, from a local database, registration information of a push service process provided by the first vendor according to the first information and the second information.
15. The apparatus of claim 9, further comprising:
the acquisition unit is used for acquiring third information of a target third-party application, wherein the third information is used for indicating an application package name of the target third-party application;
the processing unit is further configured to determine, according to the third information, whether an application package name of the target third-party application exists in a second feature library, where the second feature library is used to indicate application package names of a plurality of third-party applications;
and under the condition that the application package name of the target third-party application exists in the second feature library, the processing unit is further configured to determine whether the target third-party application integrates a first push service process.
16. The apparatus according to claim 9, wherein the processing unit is further configured to save registration information of the first push service process to the local database.
17. An electronic device, comprising:
one or more processors;
one or more memories;
one or more third party applications;
and one or more programs, wherein the one or more programs are stored in the one or more memories and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of any of claims 1-8.
18. A computer-readable storage medium comprising instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-8.
19. A computer program product comprising instructions for causing an electronic device to perform the method according to any one of claims 1 to 8 when the computer program product is run on the electronic device.
20. A chip, comprising: a processor for reading instructions stored in a memory, which when executed by the processor, cause the chip to carry out the method of any one of claims 1 to 8.
CN201910683849.6A 2019-07-26 2019-07-26 Method and device for managing processes Active CN112306649B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910683849.6A CN112306649B (en) 2019-07-26 Method and device for managing processes
PCT/CN2020/102043 WO2021017825A1 (en) 2019-07-26 2020-07-15 Process management method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910683849.6A CN112306649B (en) 2019-07-26 Method and device for managing processes

Publications (2)

Publication Number Publication Date
CN112306649A true CN112306649A (en) 2021-02-02
CN112306649B CN112306649B (en) 2024-04-26

Family

ID=

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130047034A1 (en) * 2011-08-17 2013-02-21 Lookout, Inc., A California Corporation System and method for mobile device push communications
CN103401896A (en) * 2013-07-15 2013-11-20 四川公用信息产业有限责任公司 Multi-Android-client service sharing method and system
KR20140109565A (en) * 2013-03-05 2014-09-16 (주)필링크 push service system and method
CN105847366A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Method and apparatus for sharing push service
CN107370810A (en) * 2017-07-13 2017-11-21 北京奇艺世纪科技有限公司 Push channel system of selection, server and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130047034A1 (en) * 2011-08-17 2013-02-21 Lookout, Inc., A California Corporation System and method for mobile device push communications
KR20140109565A (en) * 2013-03-05 2014-09-16 (주)필링크 push service system and method
CN103401896A (en) * 2013-07-15 2013-11-20 四川公用信息产业有限责任公司 Multi-Android-client service sharing method and system
CN105847366A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Method and apparatus for sharing push service
CN107370810A (en) * 2017-07-13 2017-11-21 北京奇艺世纪科技有限公司 Push channel system of selection, server and terminal device

Also Published As

Publication number Publication date
WO2021017825A1 (en) 2021-02-04

Similar Documents

Publication Publication Date Title
CN109691151B (en) Method and system for controlling UICC and EUICC
CN110637449B (en) Method and device for accessing equipment identifier
EP3179790B1 (en) Method and apparatus for determining location of target portable device
CN105335187B (en) Application processing method and device
CN110809255B (en) Card information activation method and device and storage medium
CN103049515A (en) Method, device and equipment for classifying application programs
CN109462601B (en) Multi-platform access method and device based on eSIM
CN102783121A (en) Communications device
CN110968331B (en) Method and device for running application program
KR20200140555A (en) Electronic device for switching between a dual standby mode and a single standby mode and method for the same
US11570611B2 (en) Electronic device, external electronic device, and method for managing eSIM of external electronic device
CN113727333B (en) Downloading system for custom applications
CN109246280B (en) Address book cloud processing method and device, computer equipment and readable storage medium
CN112148477A (en) Service process processing method, electronic device and storage medium
US20170126872A1 (en) Method and apparatus for providing contact information
CN108241515B (en) Application shortcut establishing method and terminal
US10530732B2 (en) Method for using a content subscription list and electronic device supporting the same
US7778660B2 (en) Mobile communications terminal, information transmitting system and information receiving method
CN112306649B (en) Method and device for managing processes
CN112306649A (en) Method and device for managing processes
CN108133123B (en) Application program identification method and system
US20220286861A1 (en) Subscriber Identity Module (SIM) Remote Update Agent
CN116244764A (en) Method and system for generating device unique ID of Android device
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller
CN111488286B (en) Method and device for independently developing Android modules

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant