CN105094278B - A kind of information processing method and device - Google Patents

A kind of information processing method and device Download PDF

Info

Publication number
CN105094278B
CN105094278B CN201510372322.3A CN201510372322A CN105094278B CN 105094278 B CN105094278 B CN 105094278B CN 201510372322 A CN201510372322 A CN 201510372322A CN 105094278 B CN105094278 B CN 105094278B
Authority
CN
China
Prior art keywords
receiver
condition
starting
database
preset condition
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.)
Active
Application number
CN201510372322.3A
Other languages
Chinese (zh)
Other versions
CN105094278A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510372322.3A priority Critical patent/CN105094278B/en
Publication of CN105094278A publication Critical patent/CN105094278A/en
Application granted granted Critical
Publication of CN105094278B publication Critical patent/CN105094278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

The invention discloses a kind of information processing method, the method includes:Obtain the first corresponding entry condition of the first broadcast of system forwards;It is obtained and each receiver assembly corresponding to first entry condition based on first entry condition;Each receiver assembly is monitored, and judges whether there is receiver assembly and meets the first preset condition, if so, being managed control to the receiver assembly for meeting first preset condition.The present invention further simultaneously discloses a kind of information processing unit.Technical solution using the present invention can be realized to the control of application self-starting, save the power consumption of electronic equipment.

Description

Information processing method and device
Technical Field
The invention relates to the technical field of computer software, in particular to an information processing method and device.
Background
At present, various electronic devices (such as mobile phones, tablet computers and the like) can be installed with various applications, and as the applications installed on the electronic devices are more and more, many applications on the electronic devices can be automatically started when the electronic devices are started, so that many resources of the electronic devices are occupied, the running speed of the electronic devices is influenced, and some applications do not need to be automatically started when the electronic devices are started. Still some applications may run in the background self-starting without the user's knowledge, revealing some private data of the user.
For android electronic devices, most applications are self-initiated when a receiver (receiver) component of the application receives a broadcast forwarded by the system. At present, the control of prohibiting the application from starting can be achieved by prohibiting the receiver component including actions (action) such as "boot complete", "network connection change", and the like. However, detection of broadcasts of custom actions is insufficient. However, there has not been an effective solution to how to better control application self-launch.
Disclosure of Invention
In view of the above, the present invention is directed to an information processing method and apparatus, which can implement control of application self-starting and save power consumption of an electronic device.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides an information processing method, which comprises the following steps:
acquiring a first starting condition corresponding to a first broadcast forwarded by a system;
acquiring each receiver component corresponding to the first starting condition based on the first starting condition;
and monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition.
In the foregoing solution, preferably, the performing management control on the receiver component meeting the first preset condition includes:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
In the foregoing solution, preferably, the method further includes:
analyzing a configuration file of the system;
and acquiring the starting condition of each application and the receiver component corresponding to the starting condition of each application, and storing the starting condition and the receiver component in a first database.
In the foregoing solution, preferably, after the storing into the first database, the method further includes:
performing a normalization process on all the starting conditions in the first database to generate a second database, wherein the second database comprises N different starting conditions, and each starting condition corresponds to at least one receiver component; n is a positive integer greater than or equal to 1;
all start-up conditions in the second database are registered.
In the foregoing solution, preferably, the acquiring, based on the first starting condition, each receiver component corresponding to the first starting condition includes:
and in a second database, taking the first starting condition as an index, and acquiring each receiver assembly corresponding to the first starting condition.
In the foregoing solution, preferably, the determining whether there is a receiver component that meets the first preset condition includes:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
The present invention also provides an information processing apparatus, including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first starting condition corresponding to a first broadcast forwarded by the system;
a determining unit, configured to determine, based on the first start-up condition, each receiver component corresponding to the first start-up condition;
and the processing unit is used for monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition.
In the foregoing solution, preferably, the processing unit is further configured to:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
In the foregoing solution, preferably, the apparatus further includes:
the analysis unit is used for analyzing the configuration file of the system; and acquiring the starting condition of each application and the receiver component corresponding to the starting condition of each application, and storing the starting condition and the receiver component in a first database.
In the foregoing solution, preferably, the apparatus further includes:
a uniqueness unit, configured to perform a unionization process on all start-up conditions in the first database to generate a second database, where the second database includes N different start-up conditions, and each start-up condition corresponds to at least one receiver component; n is a positive integer greater than or equal to 1;
and the registration unit is used for registering all the starting conditions in the second database.
In the foregoing solution, preferably, the determining unit is further configured to:
and in a second database, taking the first starting condition as an index, and acquiring each receiver assembly corresponding to the first starting condition.
In the foregoing solution, preferably, the processing unit is further configured to:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
The information processing method and the device provided by the invention are used for acquiring a first starting condition corresponding to a first broadcast forwarded by a system; acquiring each receiver component corresponding to the first starting condition based on the first starting condition; monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition; therefore, the control on the self-starting of the application can be realized, the power consumption of the electronic equipment is saved, and the cruising ability of the system is improved.
Drawings
Fig. 1 is a first schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an implementation flow of an information processing method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of the information processing method according to the embodiment of the present invention;
FIG. 4 is a first schematic diagram illustrating a first structural configuration of an information processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a composition structure of an information processing apparatus according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
Fig. 1 is a schematic flow chart illustrating an implementation process of an information processing method according to an embodiment of the present invention, where the information processing method in the embodiment is applicable to an electronic device, as shown in fig. 1, the information processing method mainly includes the following steps:
step 101: and acquiring a first starting condition corresponding to the first broadcast forwarded by the system.
Here, the system refers to a system of an electronic device, such as an android system.
Here, the first start-up condition means: the first action (action).
Here, the system forwards the first broadcast to each receiver component (receiver) corresponding to the first start-up condition.
Step 102: and acquiring each receiver component corresponding to the first starting condition based on the first starting condition.
That is, the respective receiver component (receiver) corresponding to the first action is acquired.
It should be noted that each receiver component refers to a receiver component of a different application.
Here, for an application, one action corresponds to one receiver; a receiver may have multiple actions.
Step 103: and monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition.
Preferably, the management and control of the receiver component meeting the first preset condition may include:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
Here, the prohibiting the receiver component satisfying the first preset condition from receiving the first broadcast may include:
and controlling the receiver assembly meeting the first preset condition to be in a forbidden (frozen) state.
It should be noted that, in general, when the receiver component is in the enabled state, the broadcast forwarded by the system can be received; however, when the receiver component is in the disabled (frozen) state, the system-forwarded broadcast is not received.
In this way, when the system forwards the first broadcast next time, the receiver component satisfying the first preset condition does not receive the first broadcast.
Preferably, the determining whether any receiver component satisfies the first preset condition may include:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
Here, the first threshold may be set according to actual conditions, and for example, the first threshold may be 10.
Accordingly, the second threshold may also be set according to actual conditions, for example, the second threshold may be 1%.
Here, the power consumption of each receiver component can be determined by using a detection statistical method in the prior art, and is not described in detail herein.
For example, the first preset condition may be:
the number of activations of a certain receiver component per unit time is equal to or greater than a first threshold value.
Here, the first preset condition may be understood as:
a receiver component which is frequently activated is determined to be an abnormal phenomenon, and management control such as prohibition is performed on the receiver component belonging to the abnormal phenomenon.
For another example, the first preset condition may be:
the power consumption of the receiver component is greater than or equal to the second threshold.
Here, the preset condition may be understood as:
management control such as prohibition is performed on the receiver component that consumes a large amount of power.
For another example, the first preset condition may be:
when the number of times of starting the receiver component in unit time is larger than or equal to a first threshold value, and the power consumption of the receiver component is larger than or equal to a second threshold value.
Here, the preset condition may be understood as:
management control such as prohibition is performed for a receiver component which is frequently activated and has a large amount of power.
It should be noted that the first preset condition is not limited to the above-listed cases, and is not listed here.
In the foregoing solution, preferably, the method may further include:
forwarding the first broadcast to receiver components that do not satisfy the first preset condition.
In the foregoing solution, preferably, the method may further include:
analyzing a configuration file of the system;
and acquiring the starting condition of each application and the receiver component corresponding to the starting condition of each application, and storing the starting condition and the receiver component in a first database.
Therefore, the user-defined action in the application can be analyzed, and a basis is provided for the subsequent self-starting control of the user-defined action.
Preferably, the parsing system configuration file may include:
analyzing a receiver in an android management (xml) file of the APK through a packet analyzer (packageParser), obtaining a corresponding action, and storing the action in a first database.
Specifically, each application has a different action file, belonging to the configuration file of the APK.
Here, APK is an abbreviation of Android Package, i.e., Android installation Package.
Here, the respective applications include applications that are provided in the electronic device system, for example, a clock application, an address book application, and the like, and third party applications installed by the user, for example, a game application, a mail application, an instant chat application, a payment application, and the like.
In the foregoing solution, preferably, after the storing into the first database, the method may further include:
performing a normalization process on all the starting conditions in the first database to generate a second database, wherein the second database comprises N different starting conditions, and each starting condition corresponds to at least one receiver component; n is a positive integer greater than or equal to 1;
all start-up conditions in the second database are registered.
That is, the normalization process is performed for all the startup conditions in the first database, and only one of the same action in each application may be retained.
Preferably, the registering all the starting conditions in the second database may include:
the broadcasterever is started to register all actions.
In the foregoing aspect, preferably, the acquiring, based on the first enabling condition, each receiver component corresponding to the first enabling condition may include:
and in a second database, taking the first starting condition as an index, and acquiring each receiver assembly corresponding to the first starting condition.
In this embodiment, the electronic device may be a smart phone, a tablet computer, a notebook computer, a television, or other device capable of being installed with an application.
For example, five applications are installed in the electronic device, which are respectively denoted as application 1, application 2, application 3, application 4, and application 5, where the application 1, the application 2, and the application 3 all have a receiver1, a receiver2, and a receiver3 that are "complete when turned on"; both the application 4 and the application 5 have a receiver4 and a receiver5 which are "network connection change" with action, and the application 4 also has a receiver6 which is "custom" with action; by adopting the technical scheme of the embodiment, when the system forwards the broadcast about action ═ network connection change', the broadcast is intercepted, and the receiver components corresponding to the broadcast, namely receiver4 and receiver5, are obtained; and judging whether the receiver4 and the receiver5 meet a first preset condition, and if the receiver4 meets the first preset condition, prohibiting the broadcast from being forwarded to the receiver4, so that the control on the self-starting of the application can be realized, and the power consumption of the electronic equipment is saved.
In the embodiment of the invention, a first starting condition corresponding to a first broadcast forwarded by a system is obtained; acquiring each receiver component corresponding to the first starting condition based on the first starting condition; monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition; therefore, the control on the self-starting of the application can be realized, the power consumption of the electronic equipment is saved, and the cruising ability of the system is improved.
Example two
Fig. 2 is a schematic view of an implementation flow of an information processing method according to an embodiment of the present invention, where the information processing method in the embodiment is applicable to an electronic device, as shown in fig. 2, the information processing method mainly includes the following steps:
step 201: and acquiring a first starting condition corresponding to the first broadcast forwarded by the system.
Here, the system refers to a system of an electronic device, such as an android system.
Here, the first start-up condition means: the first action (action).
Step 202: and acquiring each receiver component corresponding to the first starting condition based on the first starting condition.
That is, the respective receiver component (receiver) corresponding to the first action is acquired.
It should be noted that each receiver component refers to a receiver component of a different application.
Here, for an application, one action corresponds to one receiver; a receiver may have multiple actions.
Step 203: and monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition.
Preferably, the management and control of the receiver component meeting the first preset condition may include:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
Here, the prohibiting the receiver component satisfying the first preset condition from receiving the first broadcast may include:
and controlling the receiver assembly meeting the first preset condition to be in a forbidden (frozen) state.
It should be noted that, in general, when the receiver component is in the enabled state, the broadcast forwarded by the system can be received; however, when the receiver component is in the disabled (frozen) state, the system-forwarded broadcast is not received.
Preferably, the determining whether any receiver component satisfies the first preset condition may include:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
Here, the first threshold may be set according to actual conditions, and for example, the first threshold may be 10.
Accordingly, the second threshold may also be set according to actual conditions, for example, the second threshold may be 1%.
Here, the power consumption of each receiver component can be determined by using a detection statistical method in the prior art, and is not described in detail herein.
It should be noted that the first preset condition is not limited to the above-listed cases, and is not listed here.
Step 204: when the system forwards the first broadcast next time, the receiver component meeting the first preset condition does not receive the first broadcast.
In this embodiment, the electronic device may be a smart phone, a tablet computer, a notebook computer, a television, or other device capable of being installed with an application.
For example, five applications are installed in the electronic device, which are respectively denoted as application 1, application 2, application 3, application 4, and application 5, where the application 1, the application 2, and the application 3 all have a receiver1, a receiver2, and a receiver3 that are "complete when turned on"; both the application 4 and the application 5 have a receiver4 and a receiver5 which are "network connection change" with action, and the application 4 also has a receiver6 which is "custom" with action; by adopting the technical scheme of the embodiment, when the system forwards the broadcast about action ═ network connection change', the broadcast is intercepted, and the receiver components corresponding to the broadcast, namely receiver4 and receiver5, are obtained; judging whether the receiver4 and the receiver5 meet a first preset condition, if the receiver4 meets the first preset condition and the receiver5 does not meet the first preset condition, forwarding the broadcast to the receiver5 and forbidding forwarding the broadcast to the receiver4, so that the control on the self-starting of the application can be realized, and the power consumption of the electronic equipment is saved.
In the embodiment of the invention, a first starting condition corresponding to a first broadcast forwarded by a system is obtained; acquiring each receiver component corresponding to the first starting condition based on the first starting condition; monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition; when the system forwards the first broadcast next time, the receiver assembly meeting the first preset condition does not receive the first broadcast; therefore, the control on the self-starting of the application can be realized, the power consumption of the electronic equipment is saved, and the cruising ability of the system is improved.
EXAMPLE III
Fig. 3 is a third schematic flow chart illustrating an implementation process of the information processing method according to the embodiment of the present invention, where the information processing method in the embodiment is applicable to an electronic device, as shown in fig. 3, the information processing method mainly includes the following steps:
step 301: analyzing a configuration file of the system; and acquiring the starting condition of each application and the receiver component corresponding to the starting condition of each application, and storing the starting condition and the receiver component in a first database.
Preferably, the parsing system configuration file may include:
analyzing a receiver in an android management (xml) file of the APK through a packet analyzer (packageParser), obtaining a corresponding action, and storing the action in a first database.
Specifically, each application has a different action file, belonging to the configuration file of the APK.
Here, APK is an abbreviation of Android Package, i.e., Android installation Package.
Here, the respective applications include applications that are provided in the electronic device system, for example, a clock application, an address book application, and the like, and third party applications installed by the user, for example, a game application, a mail application, an instant chat application, a payment application, and the like.
Therefore, the user-defined action in the application can be analyzed, and a basis is provided for the subsequent self-starting control of the user-defined action.
Step 302: performing a normalization process on all the starting conditions in the first database to generate a second database, wherein the second database comprises N different starting conditions, and each starting condition corresponds to at least one receiver component; n is a positive integer greater than or equal to 1; all start-up conditions in the second database are registered.
Here, the normalization processing for all the startup conditions in the first database may be performed by reserving only one action for the same action in each application.
Preferably, the registering all the starting conditions in the second database may include:
the broadcasterever is started to register all actions.
Step 303: and acquiring a first starting condition corresponding to the first broadcast forwarded by the system.
Here, the first start-up condition means: the first action (action).
Step 304: and acquiring each receiver component corresponding to the first starting condition based on the first starting condition.
That is, the respective receiver component (receiver) corresponding to the first action is acquired.
It should be noted that each receiver component refers to a receiver component of a different application.
Here, for an application, one action corresponds to one receiver; a receiver may have multiple actions.
Preferably, the acquiring, based on the first start-up condition, each receiver component corresponding to the first start-up condition may include:
and in a second database, taking the first starting condition as an index, and acquiring each receiver assembly corresponding to the first starting condition.
Step 305: and monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition.
Preferably, the management and control of the receiver component meeting the first preset condition may include:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
Here, the prohibiting the receiver component satisfying the first preset condition from receiving the first broadcast may include:
and controlling the receiver assembly meeting the first preset condition to be in a forbidden (frozen) state.
It should be noted that, in general, when the receiver component is in the enabled state, the broadcast forwarded by the system can be received; however, when the receiver component is in the disabled (frozen) state, the system-forwarded broadcast is not received.
Preferably, the determining whether any receiver component satisfies the first preset condition may include:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
It should be noted that the first preset condition is not limited to the above-listed cases, and is not listed here.
Step 306: when the system forwards the first broadcast next time, the receiver component meeting the first preset condition does not receive the first broadcast.
In this embodiment, the electronic device may be a smart phone, a tablet computer, a notebook computer, a television, or other device capable of being installed with an application.
For example, five applications are installed in the electronic device, which are respectively denoted as application 1, application 2, application 3, application 4, and application 5, where the application 1, the application 2, and the application 3 all have a receiver1, a receiver2, and a receiver3 that are "complete when turned on"; both the application 4 and the application 5 have a receiver4 and a receiver5 which are "network connection change" with action, and the application 4 also has a receiver6 which is "custom" with action; by adopting the technical scheme of the embodiment, when the system forwards the broadcast about action ═ network connection change', the broadcast is intercepted, and the receiver components corresponding to the broadcast, namely receiver4 and receiver5, are obtained; judging whether the receiver4 and the receiver5 meet a first preset condition, if the receiver4 meets the first preset condition and the receiver5 does not meet the first preset condition, forwarding the broadcast to the receiver5 and forbidding forwarding the broadcast to the receiver4, so that the control on the self-starting of the application can be realized, and the power consumption of the electronic equipment is saved.
In the embodiment of the invention, the configuration file of the system is analyzed; acquiring starting conditions of each application and receiver components corresponding to the starting conditions of each application, and storing the starting conditions and the receiver components in a first database; performing a normalization process on all the starting conditions in the first database to generate a second database, wherein the second database comprises N different starting conditions, and each starting condition corresponds to at least one receiver component; n is a positive integer greater than or equal to 1; registering all starting conditions in a second database; acquiring a first starting condition corresponding to a first broadcast forwarded by a system; acquiring each receiver component corresponding to the first starting condition based on the first starting condition; monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition; when the system forwards the first broadcast next time, the receiver assembly meeting the first preset condition does not receive the first broadcast; therefore, the control on the self-starting of the application can be realized, the power consumption of the electronic equipment is saved, and the cruising ability of the system is improved.
Example four
Fig. 4 is a schematic diagram of a first configuration of an information processing apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes an intercepting unit 41, a determining unit 42, and a processing unit 43; wherein,
the obtaining unit 41 is configured to obtain a first starting condition corresponding to a first broadcast forwarded by the system;
the determining unit 42 is configured to determine, based on the first starting condition, each receiver component corresponding to the first starting condition;
the processing unit 43 is configured to monitor each receiver component, determine whether any receiver component meets a first preset condition, and manage and control the receiver components meeting the first preset condition if any.
Preferably, the management and control of the receiver component meeting the first preset condition may include:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
Here, the prohibiting the receiver component satisfying the first preset condition from receiving the first broadcast may include:
and controlling the receiver assembly meeting the first preset condition to be in a forbidden (frozen) state.
It should be noted that, in general, when the receiver component is in the enabled state, the broadcast forwarded by the system can be received; however, when the receiver component is in the disabled (frozen) state, the system-forwarded broadcast is not received.
As such, the receiver component that satisfies the first preset condition will not receive the first broadcast when the system next forwards the first broadcast.
Preferably, the processing unit 43 is further configured to:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
For example, the first preset condition may be:
the number of activations of a certain receiver component per unit time is equal to or greater than a first threshold value.
Here, the first preset condition may be understood as:
a receiver component which is frequently activated is determined to be an abnormal phenomenon, and management control such as prohibition is performed on the receiver component belonging to the abnormal phenomenon.
For another example, the first preset condition may be:
the power consumption of the receiver component is greater than or equal to the second threshold.
Here, the preset condition may be understood as:
management control such as prohibition is performed on the receiver component that consumes a large amount of power.
For another example, the first preset condition may be:
when the number of times of starting the receiver component in unit time is larger than or equal to a first threshold value, and the power consumption of the receiver component is larger than or equal to a second threshold value.
Here, the preset condition may be understood as:
management control such as prohibition is performed for a receiver component which is frequently activated and has a large amount of power.
It should be noted that the first preset condition is not limited to the above-listed cases, and is not listed here.
The information processing apparatus according to this embodiment may be disposed on an electronic device.
In this embodiment, the electronic device may be a smart phone, a tablet computer, a notebook computer, a television, or other device capable of being installed with an application.
Those skilled in the art will understand that the functions implemented by the processing units in the information processing apparatus shown in fig. 4 can be understood by referring to the related description of the aforementioned information processing method. Those skilled in the art will understand that each processing unit in the information processing apparatus shown in fig. 4 may be implemented by a program running on a processor, and may also be implemented by a specific logic circuit.
EXAMPLE five
Fig. 5 is a schematic diagram of a composition structure of an information processing apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes an intercepting unit 41, a determining unit 42, a processing unit 43, an analyzing unit 44, a uniqueness unit 45, and a registration unit 46; wherein,
the parsing unit 44 is configured to parse a configuration file of the system; acquiring starting conditions of each application and receiver components corresponding to the starting conditions of each application, and storing the starting conditions and the receiver components in a first database;
the uniqueness unit 45 is configured to perform a unionization process on all the start-up conditions in the first database to generate a second database, where the second database includes N different start-up conditions, and each start-up condition corresponds to at least one receiver component; n is a positive integer greater than or equal to 1;
the registering unit 46 is configured to register all the starting conditions in the second database;
the acquiring unit 41 is configured to intercept a first broadcast forwarded by a system, and acquire a first starting condition corresponding to the first broadcast;
the determining unit 42 is configured to determine, based on the first starting condition, each receiver component corresponding to the first starting condition;
the processing unit 43 is configured to monitor each receiver component, determine whether any receiver component meets a first preset condition, and manage and control the receiver components meeting the first preset condition if any.
Preferably, the management and control of the receiver component meeting the first preset condition may include:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
Here, the prohibiting the receiver component satisfying the first preset condition from receiving the first broadcast may include:
and controlling the receiver assembly meeting the first preset condition to be in a forbidden (frozen) state.
It should be noted that, in general, when the receiver component is in the enabled state, the broadcast forwarded by the system can be received; however, when the receiver component is in the disabled (frozen) state, the system-forwarded broadcast is not received.
As such, the receiver component that satisfies the first preset condition will not receive the first broadcast when the system next forwards the first broadcast.
Preferably, the determining unit 42 is further configured to:
and in a second database, taking the first starting condition as an index, and acquiring each receiver assembly corresponding to the first starting condition.
Preferably, the processing unit 43 is further configured to:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
For example, the first preset condition may be:
the number of activations of a certain receiver component per unit time is equal to or greater than a first threshold value.
Here, the first preset condition may be understood as:
a receiver component which is frequently activated is determined to be an abnormal phenomenon, and management control such as prohibition is performed on the receiver component belonging to the abnormal phenomenon.
For another example, the first preset condition may be:
the power consumption of the receiver component is greater than or equal to the second threshold.
Here, the preset condition may be understood as:
management control such as prohibition is performed on the receiver component that consumes a large amount of power.
For another example, the first preset condition may be:
when the number of times of starting the receiver component in unit time is larger than or equal to a first threshold value, and the power consumption of the receiver component is larger than or equal to a second threshold value.
Here, the preset condition may be understood as:
management control such as prohibition is performed for a receiver component which is frequently activated and has a large amount of power.
It should be noted that the first preset condition is not limited to the above-listed cases, and is not listed here.
The information processing apparatus according to this embodiment may be disposed on an electronic device.
In this embodiment, the electronic device may be a smart phone, a tablet computer, a notebook computer, a television, or other device capable of being installed with an application.
Those skilled in the art will understand that the functions implemented by the processing units in the information processing apparatus shown in fig. 5 can be understood by referring to the related description of the aforementioned information processing method. Those skilled in the art will understand that each processing unit in the information processing apparatus shown in fig. 5 may be implemented by a program running on a processor, and may also be implemented by a specific logic circuit.
The intercepting Unit 41, the determining Unit 42, the Processing Unit 43, the analyzing Unit 44, the uniqueness Unit 45, and the registration Unit 46 in the network switching device according to the above embodiments may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Programmable gate array (FPGA), or the like in the information Processing device or an electronic device in which the information Processing device is located in practical applications.
The invention also describes an electronic device comprising the information processing device. Specifically, the electronic device may include the information processing apparatus shown in fig. 4 or fig. 5, which is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An information processing apparatus characterized in that the apparatus comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first starting condition corresponding to a first broadcast forwarded by the system;
a determining unit, configured to determine, based on the first start-up condition, each receiver component corresponding to the first start-up condition;
the processing unit is used for monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition;
the device further comprises:
the analysis unit is used for analyzing the configuration file of the system; and acquiring the starting condition of each application and the receiver component corresponding to the starting condition of each application, and storing the starting condition and the receiver component in a first database.
2. The apparatus of claim 1, wherein the processing unit is further configured to:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
3. The apparatus of claim 1, further comprising:
a uniqueness unit, configured to perform a unionization process on all start-up conditions in the first database to generate a second database, where the second database includes N different start-up conditions, and each start-up condition corresponds to at least one receiver component; n is a positive integer greater than or equal to 1;
and the registration unit is used for registering all the starting conditions in the second database.
4. The apparatus of claim 3, wherein the determining unit is further configured to:
and in a second database, taking the first starting condition as an index, and acquiring each receiver assembly corresponding to the first starting condition.
5. The apparatus of claim 1, wherein the processing unit is further configured to:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
6. An information processing method, characterized in that the method comprises:
acquiring a first starting condition corresponding to a first broadcast forwarded by a system;
acquiring each receiver component corresponding to the first starting condition based on the first starting condition;
monitoring each receiver assembly, judging whether any receiver assembly meets a first preset condition, and if so, managing and controlling the receiver assemblies meeting the first preset condition;
the method further comprises the following steps:
analyzing a configuration file of the system;
and acquiring the starting condition of each application and the receiver component corresponding to the starting condition of each application, and storing the starting condition and the receiver component in a first database.
7. The method according to claim 6, wherein the management control of the receiver component satisfying the first preset condition comprises:
prohibiting receiver components that satisfy the first preset condition from receiving the first broadcast.
8. The method of claim 6, wherein after storing in the first database, further comprising:
performing a normalization process on all the starting conditions in the first database to generate a second database, wherein the second database comprises N different starting conditions, and each starting condition corresponds to at least one receiver component; n is a positive integer greater than or equal to 1;
all start-up conditions in the second database are registered.
9. The method of claim 8, wherein the obtaining receiver components corresponding to the first start-up condition based on the first start-up condition comprises:
and in a second database, taking the first starting condition as an index, and acquiring each receiver assembly corresponding to the first starting condition.
10. The method of claim 6, wherein the determining whether any receiver component satisfies a first predetermined condition comprises:
and when the starting times of the receiver assembly in unit time are larger than or equal to a first threshold value and/or the power consumption of the receiver assembly is larger than or equal to a second threshold value, judging that the receiver assembly meets a first preset condition.
CN201510372322.3A 2015-06-30 2015-06-30 A kind of information processing method and device Active CN105094278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510372322.3A CN105094278B (en) 2015-06-30 2015-06-30 A kind of information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510372322.3A CN105094278B (en) 2015-06-30 2015-06-30 A kind of information processing method and device

Publications (2)

Publication Number Publication Date
CN105094278A CN105094278A (en) 2015-11-25
CN105094278B true CN105094278B (en) 2018-10-12

Family

ID=54574923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510372322.3A Active CN105094278B (en) 2015-06-30 2015-06-30 A kind of information processing method and device

Country Status (1)

Country Link
CN (1) CN105094278B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933684A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of control method of broadcast recipients, device and mobile terminal
CN106919460A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of method for controlling broadcast transmission, device and mobile terminal
CN109144676B (en) * 2017-06-15 2022-05-17 阿里巴巴集团控股有限公司 Self-starting detection method and device of application program and server
US11449369B2 (en) 2017-08-08 2022-09-20 Huawei Technologies Co., Ltd. Broadcast event processing method and device
CN112052101A (en) * 2020-07-17 2020-12-08 苏宁智能终端有限公司 Broadcast processing method and device and computer system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595547A (en) * 2013-11-15 2014-02-19 北京奇虎科技有限公司 Broadcast intercept method and device of intelligent equipment
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2294499A1 (en) * 2008-06-25 2011-03-16 Nxp B.V. Electronic device, a method of controlling an electronic device, and system on-chip
CN102999343A (en) * 2012-11-29 2013-03-27 北京奇虎科技有限公司 Method and device for forbidding self-starting of startup project
CN103823699A (en) * 2014-02-27 2014-05-28 广州视源电子科技股份有限公司 Method and device for controlling self-starting of application program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595547A (en) * 2013-11-15 2014-02-19 北京奇虎科技有限公司 Broadcast intercept method and device of intelligent equipment
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device

Also Published As

Publication number Publication date
CN105094278A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105094278B (en) A kind of information processing method and device
CN106774786B (en) Power consumption control method and device
US9654577B2 (en) Techniques to generate mass push notifications
CN111104664B (en) Risk identification method of electronic equipment and server
US20170063913A1 (en) Method, apparatus and system for detecting fraudulant software promotion
US20130254325A1 (en) Cache system and cache service providing method using network switch
CN110362455B (en) Data processing method and data processing device
US10530726B2 (en) Email notifications
CN108469893B (en) Display screen control method, device, equipment and computer readable storage medium
CN108390856B (en) DDoS attack detection method and device and electronic equipment
CN109547427B (en) Blacklist user identification method and device, computer equipment and storage medium
CN109688094B (en) Suspicious IP configuration method, device, equipment and storage medium based on network security
EP3486823B1 (en) System notification service control method, apparatus, terminal device, and storage medium
CN111752770A (en) Service request processing method, system, computer device and storage medium
CN104254074A (en) Method and device for intercepting spam short messages
CN105337783B (en) Monitor the method and device of communication equipment non-normal consumption flow
CN107957905A (en) Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation
US9760414B2 (en) Preserving event data for lazily-loaded macro components in a publish/subscribe system
CN109165135B (en) Data management method, computer readable storage medium and terminal equipment
CN110808967B (en) Detection method for challenging black hole attack and related device
CN110619541B (en) Application program management method, device, computer equipment and storage medium
CN110177075B (en) Abnormal access interception method, device, computer equipment and storage medium
CN112016080A (en) Application authority management method and device and electronic equipment
CN110768934A (en) Method and device for checking network access rule
CN106533882B (en) Message processing method and device

Legal Events

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