The content of the invention
In view of this, the present invention provides processing method, system and the data processing equipment of a kind of electronic equipment data, with solution
Certainly since the data volume of function sub-modules processing is big, and cause processor over-burden, the problem of operating system reaction is slow.
The processing method of a kind of electronic equipment data, including:
Receive enabled instruction;
Obtain the data that operating system provides;
The hash in the data is filtered according to preset function parameter, obtains useful data, it is described default
Functional parameter is the set of the functional parameter of each function sub-modules;
The useful data is allocated to each function sub-modules.
Preferably, it is described that the useful data is allocated to each function sub-modules, including:
From the useful data, the target useful data for meeting preset condition is filtered out;
The target useful data filtered out is allocated to each function sub-modules, by the function sub-modules to sieve
The target useful data selected carries out priority processing;
After preset time period, the useful data for being unsatisfactory for the preset condition is allocated to each function sub-modules.
Preferably, the preset condition is to be no more than preset value with the correlation degree of other useful datas.
The processing system of a kind of electronic equipment data, including:
Receiving unit, for receiving enabled instruction;
Acquiring unit, for obtaining the data of operating system offer;
Screening unit for being filtered according to preset function parameter to the hash in the data, obtains useful
Data, the preset function parameter are the set of the functional parameter of each function sub-modules;
Dispensing unit, for the useful data to be allocated to each function sub-modules.
Preferably, the dispensing unit includes:
Subelement is screened, for from the useful data, filtering out the target useful data for meeting preset condition;
First configuration subelement, for the target useful data filtered out to be allocated to each function sub-modules,
Priority processing is carried out to the target useful data filtered out by the function sub-modules;
Second configuration subelement, for after preset time period, the useful data for being unsatisfactory for the preset condition to be configured
To each function sub-modules.
Preferably, the preset condition is to be no more than preset value with the correlation degree of other useful datas.
A kind of data processing equipment, including:Processor and the memory being connected to the processor;
The processor obtains the data that operating system provides, according to preset function parameter pair for receiving enabled instruction
Hash in the data is filtered, and obtains useful data, and the useful data is allocated to each function submodule
Block, the preset function parameter are the set of the functional parameter of each function sub-modules;
The data that the memory is used to generate the processor during electronic device data is handled store.
It can be seen from the above technical scheme that processing method, system the present invention provides a kind of electronic equipment data
And data processing equipment, application program is after the data that operating system provides are obtained, according to preset function parameter logistic in
Hash is filtered, and obtained useful data then is allocated to each function sub-modules.Since application program is by data
Screening Treatment is carried out to data before being sent to function sub-modules, so that function sub-modules data volume to be treated is big
Amplitude reduction, and then the burden of processor is alleviated, improve the reaction speed of operating system.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment belongs to the scope of protection of the invention.
The embodiment of the invention discloses the processing method, system and data processing equipment of a kind of electronic equipment data, with solution
Certainly since the data volume of function sub-modules processing is big, and cause processor over-burden, the problem of operating system reaction is slow.
Referring to Fig. 1, the embodiment of the invention discloses the process flow figure of a kind of electronic equipment data, including step:
Step S11, enabled instruction is received;
Step S12, the data that operating system provides are obtained;
Step S13, the hash in the data is filtered according to preset function parameter, obtains useful data;
Wherein, the preset function parameter is the set of the functional parameter of each function sub-modules.
It is understood that each application program has there are one specific function, therefore, according to the realization specific function
Required functional parameter can filter out the hash in the data of acquisition.
Step S14, the useful data is allocated to each function sub-modules.
It illustrates:
Application program is screen locking application program, the event being related to during screen touch for Touch touch events and
Touch slip events, operating system, which is sent in the data of screen locking application program, to be included Touch touch events and largely connects
Continuous Touch slip events, but for screen locking application program, it is only necessary to know that Touch touch events and part Touch are slided
Event, therefore, screen locking application program are all to what is received according to itself function before Touch slip events are handled
Touch slip events in unwanted Touch slip events filtered out, obtain useful Touch slip events, therefore,
The useful data that screen locking application program is finally allocated to each function sub-modules includes Touch touch events and useful Touch cunnings
Dynamic event.Since the data volume of function sub-modules Touch slip events to be treated is reduced, alleviate processor
Burden improves the reaction speed of operating system.
It in summary it can be seen, application program has been carried out at screening data before function sub-modules are sent the data to
Reason, that is to say, that the data useless to itself have been filtered out, so that function sub-modules data volume to be treated significantly drops
It is low, and then the burden of processor is alleviated, improve the reaction speed of operating system.
In order to further optimize the above embodiments, referring to Fig. 2, a kind of electronic equipment data disclosed in another embodiment of the present invention
Process flow figure, including step:
Step S21, enabled instruction is received;
Step S22, the data that operating system provides are obtained;
Step S23, the hash in the data is filtered according to preset function parameter, obtains useful data;
Wherein, the preset function parameter is the set of the functional parameter of each function sub-modules.
Step S24, from the useful data, the target useful data for meeting preset condition is filtered out;
Wherein, preset condition is to be no more than preset value with the correlation degree of other useful datas, and preset value concrete foundation is real
Depending on border needs, the present invention does not limit herein.
Step S25, the target useful data filtered out is allocated to each function sub-modules, by function
Module carries out priority processing to the target useful data filtered out;
Step S26, after preset time period, the useful data for being unsatisfactory for the preset condition is allocated to each function
Submodule.
Wherein, preset time period depend on the actual needs.
For example, by taking screen locking as an example, screen locking application program has the special efficacy of the local effervescent touched in finger, and
When finger slides, bubble will also follow, while also have input password above screen locking, fast check unread short messages, do not connect
The functions such as incoming call.If the region that finger touches in this special effective function button region, needs just according to normal rule of doing
Will be when event be received, should handle bubble special efficacy will also handle the response of special effective function button, so as to lead
The burden for causing function sub-modules in screen locking application program is very heavy.According to the priority processing principle in the present embodiment, can locate in advance
Special efficacy is steeped in qi-regulating, is then reprocessed special effective function button, can so be greatly reduced the disposable data processing amount of processor, from
And the burden of processor is alleviated, improve the reaction speed of operating system.
It in summary it can be seen, on the one hand the present invention has carried out layered shaping to the data that the operating system received is sent,
That is, filtering out hash first, priority processing then is carried out to the partial information in useful data, finally reprocessing is surplus
Remaining useful data;On the other hand temporal optimization processing has been carried out, that is to say, that priority processing part useful data, so
After reprocess remaining useful data.As can be seen that the present invention alleviates each work(in application program by filtering out useless data
Energy total data processing amount of submodule namely the data processing amount of processor, meanwhile, by being located to useful data in batches
Reason, reduces the disposable data processing amount of processor, so as to alleviate the burden of processor, improves the reaction of operating system
Speed.
Corresponding with above method embodiment, the present invention also provides the processing systems of a kind of electronic equipment data.
Referring to Fig. 3, the structure diagram of the processing system of a kind of electronic equipment data disclosed by the embodiments of the present invention, bag
It includes:
Receiving unit 31, for receiving enabled instruction;
Acquiring unit 32, for obtaining the data of operating system offer;
Screening unit 33 for being filtered according to preset function parameter to the hash in the data, is had
Use data;
Wherein, the preset function parameter is the set of the functional parameter of each function sub-modules.
It is understood that each application program has there are one specific function, therefore, according to the realization specific function
Required functional parameter can filter out the hash in the data of reception.
Dispensing unit 34, for the useful data to be allocated to each function sub-modules.
It illustrates:
Application program is screen locking application program, the event being related to during screen touch for Touch touch events and
Touch slip events, operating system, which is sent in the data of screen locking application program, to be included Touch touch events and largely connects
Continuous Touch slip events, but for screen locking application program, it is only necessary to know that Touch touch events and part Touch are slided
Event, therefore, screen locking application program are all to what is received according to itself function before Touch slip events are handled
Touch slip events in unwanted Touch slip events filtered out, obtain useful Touch slip events, therefore,
The useful data that screen locking application program is finally allocated to each function sub-modules includes Touch touch events and useful Touch cunnings
Dynamic event.Since the data volume of function sub-modules Touch slip events to be treated is reduced, alleviate the negative of CPU
Load improves the reaction speed of operating system.
It in summary it can be seen, application program has been carried out at screening data before by data configuration to function sub-modules
Reason, that is to say, that the data useless to itself have been filtered out, so that function sub-modules data volume to be treated significantly drops
It is low, and then the burden of processor is alleviated, improve the reaction speed of operating system.
In order to further optimize the above embodiments, referring to Fig. 4, a kind of electronic equipment data disclosed in another embodiment of the present invention
Processing system structure diagram, including:
Receiving unit 41, for receiving enabled instruction;
Acquiring unit 42, for obtaining the data of operating system offer;
Screening unit 43 for being filtered according to preset function parameter to the hash in the data, is had
Use data;
Wherein, the preset function parameter is the set of the functional parameter of each function sub-modules.
Subelement 44 is screened, for from the useful data, filtering out the target useful data for meeting preset condition;
Wherein, preset condition is to be no more than preset value with the correlation degree of other useful datas, and preset value concrete foundation is real
Depending on border needs, the present invention does not limit herein.
First configuration subelement 45, for the target useful data filtered out to be allocated to each function submodule
Block carries out priority processing by the function sub-modules to the target useful data filtered out;
Second configuration subelement 46, for after preset time period, the useful data for being unsatisfactory for the preset condition to be matched somebody with somebody
It puts to each function sub-modules.
Wherein, preset time period depend on the actual needs.
It should be noted that the dispensing unit 34 in Fig. 3 disclosed embodiments is specifically included in Fig. 4 disclosed embodiments
It screens subelement 44, first and configures the configuration subelement 46 of subelement 45 and second.
For example, by taking screen locking as an example, screen locking application program has the special efficacy of the local effervescent touched in finger, and
When finger slides, bubble will also follow, while also have input password above screen locking, fast check unread short messages, do not connect
The functions such as incoming call.If the region that finger touches in this special effective function button region, needs just according to normal rule of doing
Will be when event be received, should handle bubble special efficacy will also handle the response of special effective function button, so as to lead
The burden for causing function sub-modules in screen locking application program is very heavy.According to the priority processing principle in the present embodiment, can locate in advance
Special efficacy is steeped in qi-regulating, is then reprocessed special effective function button, can so be greatly reduced the disposable data processing amount of processor, from
And the burden of processor is alleviated, improve the reaction speed of operating system.
It in summary it can be seen, on the one hand the present invention has carried out layered shaping to the data that the operating system received is sent,
That is, filtering out hash first, priority processing then is carried out to the partial information in useful data, finally reprocessing is surplus
Remaining useful data;On the other hand temporal optimization processing has been carried out, that is to say, that priority processing part useful data, so
After reprocess remaining useful data.As can be seen that the present invention alleviates each work(in application program by filtering out useless data
Energy total data processing amount of submodule namely the data processing amount of processor, meanwhile, by being located to useful data in batches
Reason, reduces the disposable data processing amount of processor, so as to alleviate the burden of processor, improves the reaction of operating system
Speed.
It should be noted that the operation principle of each component is referring to embodiment of the method in system embodiment, herein no longer
It repeats.
Referring to Fig. 5, a kind of structure diagram of data processing equipment disclosed by the embodiments of the present invention, including:Processor 51
With the memory 52 being connected with processor 51;
Processor 51 for receiving enabled instruction, obtains the data that operating system provides, according to preset function parameter to institute
The hash stated in data is filtered, and obtains useful data, and the useful data is allocated to each function sub-modules,
The preset function parameter is the set of the functional parameter of each function sub-modules;
Memory 52, the data for being generated to processor 51 during electronic device data is handled store.
It should be noted that the concrete operating principle of processor 51, referring to above system embodiment, details are not described herein again.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other
The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide scope caused.