Summary of the invention
In view of this, the invention provides a kind of disposal route of electronic device data, system and data processing equipment, large with the data volume solved due to function sub-modules process, and over-burden to cause processor, operating system reacts slow problem.
A disposal route for electronic device data, comprising:
Receive enabled instruction;
Obtain the data that operating system provides;
Filter the gibberish in described data according to preset function parameter, obtain useful data, described preset function parameter is the set of the functional parameter of each function sub-modules;
Described useful data is configured to each described function sub-modules.
Preferably, described described useful data to be configured to each described function sub-modules, comprising:
From described useful data, filter out and meet pre-conditioned target useful data;
The described target useful data filtered out is configured to each described function sub-modules, by described function sub-modules, priority processing is carried out to the described target useful data filtered out;
After preset time period, configure not meeting described pre-conditioned useful data to each described function sub-modules.
Preferably, described pre-conditioned for being no more than preset value with the correlation degree of useful data described in other.
A disposal system for electronic device data, comprising:
Receiving element, for receiving enabled instruction;
Acquiring unit, for obtaining the data that operating system provides;
Screening unit, for filtering the gibberish in described data according to preset function parameter, obtain useful data, described preset function parameter is the set of the functional parameter of each function sub-modules;
Dispensing unit, for configuring described useful data to each described function sub-modules.
Preferably, described dispensing unit comprises:
Screening subelement, for from described useful data, filters out and meets pre-conditioned target useful data;
First configuration subelement, for configuring to each described function sub-modules by the described target useful data filtered out, carries out priority processing by described function sub-modules to the described target useful data filtered out;
Second configuration subelement, for after preset time period, configures not meeting described pre-conditioned useful data to each described function sub-modules.
Preferably, described pre-conditioned for being no more than preset value with the correlation degree of useful data described in other.
A kind of data processing equipment, comprising: processor and the storer be connected with described processor;
Described processor is for receiving enabled instruction, obtain the data that operating system provides, according to preset function parameter, the gibberish in described data is filtered, obtain useful data, configured by described useful data to each described function sub-modules, described preset function parameter is the set of the functional parameter of each function sub-modules;
The data that described storer is used for described processor produces in process electronic device data process store.
As can be seen from above-mentioned technical scheme, the invention provides a kind of disposal route of electronic device data, system and data processing equipment, application program is after obtaining the data that provide of operating system, filter according to the gibberish in preset function parameter logistic certificate, then the useful data obtained is configured to each function sub-modules.Because application program had carried out Screening Treatment to data before sending the data to function sub-modules, thus make function sub-modules need data volume to be processed significantly to reduce, and then alleviate the burden of processor, improve the reaction velocity of operating system.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of disposal route of electronic device data, system and data processing equipment, large with the data volume solved due to function sub-modules process, and over-burden to cause processor, operating system reacts slow problem.
See Fig. 1, the embodiment of the invention discloses a kind of process flow figure of electronic device data, comprise step:
Step S11, reception enabled instruction;
The data that step S12, acquisition operating system provide;
Step S13, according to preset function parameter, the gibberish in described data to be filtered, obtain useful data;
Wherein, described preset function parameter is the set of the functional parameter of each function sub-modules.
Be understandable that, each application program has a specific function, therefore, can carry out filtering according to the functional parameter realized needed for this specific function to the gibberish in the data obtained.
Step S14, described useful data to be configured to each described function sub-modules.
Illustrate:
Application program is screen locking application program, the event related in screen touch process is Touch touch event and Touch slip event, operating system sends in the data of screen locking application program and includes Touch touch event and a large amount of continuous print Touch slip event, but for screen locking application program, only need know Touch touch event and part Touch slip event, therefore, screen locking application program is before process Touch slip event, according to self function, filtering is carried out to unwanted Touch slip event in all Touch slip event received, obtain useful Touch slip event, therefore, screen locking application program finally configures and comprises Touch touch event and useful Touch slip event to the useful data of each function sub-modules.Because function sub-modules needs the data volume of Touch slip event to be processed to reduce, therefore, alleviate the burden of processor, improve the reaction velocity of operating system.
In summary it can be seen, application program had carried out Screening Treatment to data before sending the data to function sub-modules, that is, filtering data useless to self, thus make function sub-modules need data volume to be processed significantly to reduce, and then alleviate the burden of processor, improve the reaction velocity of operating system.
For optimizing above-described embodiment further, see Fig. 2, a kind of process flow figure of electronic device data disclosed in another embodiment of the present invention, comprises step:
Step S21, reception enabled instruction;
The data that step S22, acquisition operating system provide;
Step S23, according to preset function parameter, the gibberish in described data to be filtered, obtain useful data;
Wherein, described preset function parameter is the set of the functional parameter of each function sub-modules.
Step S24, from described useful data, filter out and meet pre-conditioned target useful data;
Wherein, pre-conditioned for be no more than preset value with the correlation degree of other useful data, preset value is concrete to be determined according to actual needs, and the present invention does not limit at this.
Step S25, the described target useful data filtered out is configured to each described function sub-modules, by described function sub-modules, priority processing is carried out to the described target useful data filtered out;
Step S26, after preset time period, to configure not meeting described pre-conditioned useful data to each described function sub-modules.
Wherein, preset time period is determined according to actual needs.
Illustrate, for screen locking, screen locking application program has the special efficacy emitting bubble in the place of finger touch, and when finger sliding, bubble also will be followed, and inputs password in addition, fast checks the function such as unread short messages, missed call above screen locking simultaneously.If the region of finger touch is just in this special effective function button region, need when receiving event according to normally doing rule, the response that bubble special efficacy also will process special effective function button should be processed, thus cause the burden of function sub-modules in screen locking application program very heavy.According to the priority processing principle in the present embodiment, can advanced processing bubble special efficacy, and then process special effective function button, so can greatly reduce the disposable data processing amount of processor, thus alleviate the burden of processor, improve the reaction velocity of operating system.
In summary it can be seen, the present invention has carried out layered shaping on the one hand to the data that the operating system received sends, and that is, first filtering gibberish, then carries out priority processing to the partial information in useful data, the remaining useful data of last reprocessing; Carry out temporal optimization process on the other hand, that is, priority processing part useful data, and then process remaining useful data.Can find out, the present invention passes through the useless data of filtering, alleviate total data processing amount of each function sub-modules in application program, also be the data processing amount of processor, meanwhile, by carrying out batch treatment to useful data, decrease the disposable data processing amount of processor, thus alleviate the burden of processor, improve the reaction velocity of operating system.
Corresponding with said method embodiment, present invention also offers a kind of disposal system of electronic device data.
See Fig. 3, a kind of structural representation of disposal system of electronic device data disclosed in the embodiment of the present invention, comprising:
Receiving element 31, for receiving enabled instruction;
Acquiring unit 32, for obtaining the data that operating system provides;
Screening unit 33, for filtering the gibberish in described data according to preset function parameter, obtains useful data;
Wherein, described preset function parameter is the set of the functional parameter of each function sub-modules.
Be understandable that, each application program has a specific function, therefore, can carry out filtering according to the functional parameter realized needed for this specific function to the gibberish in the data received.
Dispensing unit 34, for configuring described useful data to each described function sub-modules.
Illustrate:
Application program is screen locking application program, the event related in screen touch process is Touch touch event and Touch slip event, operating system sends in the data of screen locking application program and includes Touch touch event and a large amount of continuous print Touch slip event, but for screen locking application program, only need know Touch touch event and part Touch slip event, therefore, screen locking application program is before process Touch slip event, according to self function, filtering is carried out to unwanted Touch slip event in all Touch slip event received, obtain useful Touch slip event, therefore, screen locking application program finally configures and comprises Touch touch event and useful Touch slip event to the useful data of each function sub-modules.Because function sub-modules needs the data volume of Touch slip event to be processed to reduce, therefore, alleviate the burden of CPU, improve the reaction velocity of operating system.
In summary it can be seen, application program by data configuration to function sub-modules before Screening Treatment has been carried out to data, that is, filtering data useless to self, thus make function sub-modules need data volume to be processed significantly to reduce, and then alleviate the burden of processor, improve the reaction velocity of operating system.
For optimizing above-described embodiment further, see Fig. 4, a kind of structural representation of disposal system of electronic device data disclosed in another embodiment of the present invention, comprising:
Receiving element 41, for receiving enabled instruction;
Acquiring unit 42, for obtaining the data that operating system provides;
Screening unit 43, for filtering the gibberish in described data according to preset function parameter, obtains useful data;
Wherein, described preset function parameter is the set of the functional parameter of each function sub-modules.
Screening subelement 44, for from described useful data, filters out and meets pre-conditioned target useful data;
Wherein, pre-conditioned for be no more than preset value with the correlation degree of other useful data, preset value is concrete to be determined according to actual needs, and the present invention does not limit at this.
First configuration subelement 45, for configuring to each described function sub-modules by the described target useful data filtered out, carries out priority processing by described function sub-modules to the described target useful data filtered out;
Second configuration subelement 46, for after preset time period, configures not meeting described pre-conditioned useful data to each described function sub-modules.
Wherein, preset time period is determined according to actual needs.
It should be noted that, the screening subelement 44, first specifically comprised in embodiment disclosed in Fig. 4 of the dispensing unit 34 in embodiment disclosed in Fig. 3 configures subelement 45 and the second configuration subelement 46.
Illustrate, for screen locking, screen locking application program has the special efficacy emitting bubble in the place of finger touch, and when finger sliding, bubble also will be followed, and inputs password in addition, fast checks the function such as unread short messages, missed call above screen locking simultaneously.If the region of finger touch is just in this special effective function button region, need when receiving event according to normally doing rule, the response that bubble special efficacy also will process special effective function button should be processed, thus cause the burden of function sub-modules in screen locking application program very heavy.According to the priority processing principle in the present embodiment, can advanced processing bubble special efficacy, and then process special effective function button, so can greatly reduce the disposable data processing amount of processor, thus alleviate the burden of processor, improve the reaction velocity of operating system.
In summary it can be seen, the present invention has carried out layered shaping on the one hand to the data that the operating system received sends, and that is, first filtering gibberish, then carries out priority processing to the partial information in useful data, the remaining useful data of last reprocessing; Carry out temporal optimization process on the other hand, that is, priority processing part useful data, and then process remaining useful data.Can find out, the present invention passes through the useless data of filtering, alleviate total data processing amount of each function sub-modules in application program, also be the data processing amount of processor, meanwhile, by carrying out batch treatment to useful data, decrease the disposable data processing amount of processor, thus alleviate the burden of processor, improve the reaction velocity of operating system.
It should be noted that, in system embodiment, the principle of work of each ingredient is see embodiment of the method, repeats no more herein.
See Fig. 5, a kind of structural representation of data processing equipment disclosed in the embodiment of the present invention, comprising: processor 51 and the storer 52 be connected with processor 51;
Processor 51, for receiving enabled instruction, obtain the data that operating system provides, according to preset function parameter, the gibberish in described data is filtered, obtain useful data, configured by described useful data to each described function sub-modules, described preset function parameter is the set of the functional parameter of each function sub-modules;
Storer 52, stores for the data produced in process electronic device data process processor 51.
It should be noted that, the specific works principle of processor 51, see said system embodiment, repeats no more herein.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.