Summary of the invention
The purpose of the embodiment of the present invention is to provide method and the device of a kind of orderly broadcast priority reorientation, obtain all kinds of orderly broadcast by scanning, and obtain receiving this recipient of broadcast in order, by receiving the user, the adjustment of recipient's priority is changed to the reception of recipient to orderly broadcast, cause confusion while avoiding receiving orderly broadcast.
The embodiment of the present invention is achieved in that the method for a kind of orderly broadcast priority reorientation, and described method comprises the steps:
Orderly broadcast variety in seeking system, and find out the recipient of the orderly broadcast of described various species;
Receive the orderly broadcast reception order that the user selects;
The orderly broadcast reception of selecting according to the user time ordered pair is broadcasted in order priority and is carried out reorientation, and according to the various orderly broadcast of the processed after reorientation.
Further, the orderly broadcast variety in described seeking system, and recipient's the step that finds out the orderly broadcast of described various species comprises:
The scanning system file directory, the orderly broadcast variety in seeking system;
Find out the recipient of the orderly broadcast of described various species according to the described orderly broadcast variety found out.
The step of the orderly broadcast reception order that further, described reception user selects comprises:
List the priority that orderly broadcast reception person gives tacit consent to selection, receive the replacement that the user carries out orderly broadcast reception person's priority;
Preserve the orderly broadcast reception order that the user selects.
Further, the described orderly broadcast reception of selecting according to the user time ordered pair is broadcasted in order priority and is carried out reorientation, and comprises according to the step of the various orderly broadcast of processed after reorientation:
The orderly broadcast reception of selecting according to the user time ordered pair priority of broadcast in order carries out reorientation, adjusts broadcast reception person's priority;
According to the various orderly broadcast of the processed of the orderly broadcast reception person after reorientation.
Further, described orderly broadcast reception person comprises: system module and application program.
Another purpose of the embodiment of the present invention is to provide the device of a kind of orderly broadcast priority reorientation, and described device comprises:
Search unit, for the orderly broadcast variety of seeking system, and find out the recipient of the orderly broadcast of described various species;
The order receiving element, the orderly broadcast reception order of selecting for receiving the user;
The reorientation unit, broadcast in order priority for the orderly broadcast reception time ordered pair of selecting according to the user and carry out reorientation, and according to the various orderly broadcast of the processed after reorientation.
Further, the unit of searching of described device comprises:
Document scanning unit, for the scanning system file directory, the orderly broadcast variety in seeking system;
The recipient searches unit, for find out the recipient of the orderly broadcast of described various species according to the described orderly broadcast variety found out.
Further, described order receiving element comprises:
List cell, give tacit consent to the priority of selection for listing orderly broadcast reception person, receive the replacement that the user carries out orderly broadcast reception person's priority;
Storage unit, the orderly broadcast reception order of selecting for preserving the user.
Further, described device reorientation unit comprises:
The priority adjustment unit, the priority of broadcasting in order for the orderly broadcast reception time ordered pair of selecting according to the user is carried out reorientation, adjusts broadcast reception person's priority;
Processing unit, for the various orderly broadcast of the processed of the orderly broadcast reception person according to after reorientation.
Further, described orderly broadcast reception person comprises: system module and application program.
The embodiment of the present invention is by method and the device of the reorientation of a kind of orderly broadcast priority, by the orderly broadcast variety in seeking system, and the recipient of the orderly broadcast of various species; Receive afterwards the orderly broadcast reception order that the user selects; The orderly broadcast reception of finally selecting according to the user time ordered pair is broadcasted in order priority and is carried out reorientation; and according to the various orderly broadcast of the processed after reorientation; abnormal or the chaotic problem caused while having avoided installing the application that receives identical orderly broadcast; the priority of simultaneously processing by orderly broadcast is set; adjust broadcast handling process in order; reduce the harassing and wrecking of third party's application, bring better experience.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Below in conjunction with specific embodiment, specific implementation of the present invention is described in detail:
embodiment mono-:
Fig. 1 shows the realization flow of the method for a kind of orderly broadcast priority reorientation that first embodiment of the invention provides, and details are as follows:
S101, the orderly broadcast variety in seeking system, and find out the recipient of the orderly broadcast of described various species.
File directory by the scanning cell phone system, find out the orderly broadcast variety defined in system, such as the note class, and find out the recipient of the orderly broadcast that receives various species, the recipient who wherein broadcasts in order comprises module and the application program of system, and wherein application program comprises the application program that third-party application program and system carry.
S102, receive the orderly broadcast reception order that the user selects.
Receive the reception order of user to recipient's setting of orderly broadcast, and preserve the reception order of the orderly broadcast of user's selection.
S103, the orderly broadcast reception of selecting according to the user time ordered pair is broadcasted in order priority and is carried out reorientation, and according to the various orderly broadcast of the processed after reorientation.
The order of the reception to orderly broadcast of selecting according to the user, reorientated the priority of orderly broadcast, and according to the various orderly broadcast of the processed after reorientation.
The embodiment of the present invention by the way, the method of a kind of orderly broadcast priority reorientation, obtain all kinds of orderly broadcast by scanning, and obtain receiving this recipient of broadcast in order, by receiving the user, the adjustment of recipient's priority is changed to the reception of recipient to orderly broadcast, cause confusion by orderly broadcast being carried out when reorientation has avoided receiving broadcast in order.
embodiment bis-:
Fig. 2 shows the realization flow of the method for a kind of orderly broadcast priority reorientation that second embodiment of the invention provides, and details are as follows:
S201, scanning system file directory, the orderly broadcast variety in seeking system.
The catalogue file of scanning Android system, scanning/system/framework catalogue for example, check out the orderly broadcast variety of all definition of system, such as: note class Intents.SMS_CB_RECEIVED_ACTIONIntents.SMS_EMERGENCY_CB_R ECEIVED_ACTIONIntents.SMS_RECEIVED_ACTIONIntents.DATA_SM S_RECEIVED_ACTION arranged.
S202, find out the recipient of the orderly broadcast of described various species according to the described orderly broadcast variety found out.
Find out and receive the recipient of broadcast in order according to the described orderly broadcast variety found out, the recipient who wherein broadcasts in order comprises module and the application program of system, and wherein application program comprises the application program that third-party application program and system carry.
S203, list the priority that orderly broadcast reception person gives tacit consent to selection, receives the replacement that the user carries out orderly broadcast reception person's priority.
The recipient of all orderly broadcast is listed by list, and demonstrate the priority that the recipient who receives broadcast in order gives tacit consent to selection, the user can be arranged recipient's priority, comprises the operations such as cancellation and replacement.
S204, preserve the orderly broadcast reception order that the user selects.
Preserve the order of the reception to orderly broadcast reception person that the user arranges.
S205, the orderly broadcast reception of selecting according to the user time ordered pair priority of broadcast in order carries out reorientation, adjusts broadcast reception person's priority.
The reception of the orderly broadcast of selecting according to the user time ordered pair priority of broadcast in order carries out reorientation, wherein to the reorientation of priority by the expansion application programming interface API(Application Programming Interface of the PackageManagerService system of Android system) adjusted, wherein expand the interface that the application programming interface support redefines orderly broadcast priority, allow self-defined reception order.
S206, according to the various orderly broadcast of the processed of the orderly broadcast reception person after reorientation.
According to the recipient's of the orderly broadcast after reorientation the various orderly broadcast of processed, the reception & disposal to orderly broadcast arranged according to the user.
By the way, the method for a kind of orderly broadcast priority reorientation, by the orderly broadcast variety in seeking system, and the recipient of the orderly broadcast of various species for the embodiment of the present invention; Receive afterwards the orderly broadcast reception order that the user selects; The orderly broadcast reception of finally selecting according to the user time ordered pair is broadcasted in order priority and is carried out reorientation; and according to the various orderly broadcast of the processed after reorientation; abnormal or the chaotic problem caused while having avoided installing the application that receives identical orderly broadcast; the priority of simultaneously processing by orderly broadcast is set; can adjust orderly broadcast handling process; reduce the harassing and wrecking of third party's application, for the user brings better experience.
embodiment tri-:
Fig. 3 shows the structure chart of the device of a kind of orderly broadcast priority reorientation that third embodiment of the invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.
Search unit 31, for the orderly broadcast variety of seeking system, and find out the recipient of the orderly broadcast of described various species.
Search unit by the file directory of scanning cell phone system, find out the orderly broadcast variety defined in system, such as the note class, and find out the recipient of the orderly broadcast that receives various species, the recipient who wherein broadcasts in order comprises module and the application program of system, and wherein application program comprises the application program that third-party application program and system carry.
Order receiving element 32, the orderly broadcast reception order of selecting for receiving the user.
The order receiving element receives the reception order of user to recipient's setting of orderly broadcast, and preserves the reception order of the orderly broadcast of user's selection.
Reorientation unit 33, broadcast in order priority for the orderly broadcast reception time ordered pair of selecting according to the user and carry out reorientation, and according to the various orderly broadcast of the processed after reorientation.
The order of the reception to orderly broadcast that the reorientation unit is selected according to the user, reorientated the priority of orderly broadcast, and according to the various orderly broadcast of the processed after reorientation.
The embodiment of the present invention by the way, the device of a kind of orderly broadcast priority reorientation, obtain all kinds of orderly broadcast by scanning, and obtain receiving this recipient of broadcast in order, by receiving the user, the adjustment of recipient's priority is changed to the reception of recipient to orderly broadcast, cause confusion by orderly broadcast being carried out when reorientation has avoided receiving broadcast in order.
embodiment tetra-:
Fig. 4 shows the structure chart of the device of a kind of orderly broadcast priority reorientation that fourth embodiment of the invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.
Document scanning unit 41, for the scanning system file directory, the orderly broadcast variety in seeking system.
The catalogue file of document scanning unit scanning Android system, scanning/system/framework catalogue for example, check out the orderly broadcast variety of all definition of system.
The recipient searches unit 42, for find out the recipient of the orderly broadcast of described various species according to the described orderly broadcast variety found out.
The recipient searches unit and finds out and receive the recipient of broadcast in order according to the described orderly broadcast variety found out, the recipient who wherein broadcasts in order comprises module and the application program of system, and wherein application program comprises the application program that third-party application program and system carry.
List cell 43, give tacit consent to the priority of selection for listing orderly broadcast reception person, receive the replacement that the user carries out orderly broadcast reception person's priority.
List cell is listed the recipient of all orderly broadcast by list, and demonstrates the priority that the recipient who receives broadcast in order gives tacit consent to selection, and the user can be arranged recipient's priority, comprises the operations such as cancellation and replacement.
Storage unit 44, the orderly broadcast reception order of selecting for preserving the user.
Storage unit is preserved the order of the reception to orderly broadcast reception person that the user arranges.
Priority adjustment unit 45, the priority of broadcasting in order for the orderly broadcast reception time ordered pair of selecting according to the user is carried out reorientation, adjusts broadcast reception person's priority.
The reception of the orderly broadcast that the priority adjustment unit is selected according to the user time ordered pair priority of broadcast in order carries out reorientation, wherein to the reorientation of priority by the expansion application programming interface API(Application Programming Interface of the PackageManagerService system of Android system) adjusted, wherein expand the interface that the application programming interface support redefines orderly broadcast priority, allow self-defined reception order.
Processing unit 46, for the various orderly broadcast of the processed of the orderly broadcast reception person according to after reorientation.
Processing unit is according to the various orderly broadcast of the recipient's of the orderly broadcast after reorientation processed, according to the reception & disposal to orderly broadcast of user's setting.
By the way, the device of a kind of orderly broadcast priority reorientation, by the orderly broadcast variety in seeking system, and the recipient of the orderly broadcast of various species for the embodiment of the present invention; Receive afterwards the orderly broadcast reception order that the user selects; The orderly broadcast reception of finally selecting according to the user time ordered pair is broadcasted in order priority and is carried out reorientation; and according to the various orderly broadcast of the processed after reorientation; abnormal or the chaotic problem caused while having avoided installing the application that receives identical orderly broadcast; the priority of simultaneously processing by orderly broadcast is set; can adjust orderly broadcast handling process; reduce the harassing and wrecking of third party's application, for the user brings better experience.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.