CN100362477C - Method and device for co-ordinating executing sequence facing user function - Google Patents

Method and device for co-ordinating executing sequence facing user function Download PDF

Info

Publication number
CN100362477C
CN100362477C CNB2006100585218A CN200610058521A CN100362477C CN 100362477 C CN100362477 C CN 100362477C CN B2006100585218 A CNB2006100585218 A CN B2006100585218A CN 200610058521 A CN200610058521 A CN 200610058521A CN 100362477 C CN100362477 C CN 100362477C
Authority
CN
China
Prior art keywords
user
incident
oriented
module
time point
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
CNB2006100585218A
Other languages
Chinese (zh)
Other versions
CN1858709A (en
Inventor
虞靖靓
方晓志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100585218A priority Critical patent/CN100362477C/en
Publication of CN1858709A publication Critical patent/CN1858709A/en
Application granted granted Critical
Publication of CN100362477C publication Critical patent/CN100362477C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a method for coordinating executing sequences of user-oriented functions. User-oriented events to be executed at the current obtained time are known by an event triggering arbitration module, and the execution sequences of the user-oriented events for actual execution are determined. According to the determined execution sequences, corresponding user-oriented functional modules are controlled to execute the corresponding user-oriented events. The present invention also discloses a device for coordinating the execution sequences of user-oriented functions. The device comprises an event triggering arbitration module and at least two user-oriented functional modules connected with the event triggering arbitration module. The modules are matched with each other, so the event triggering arbitration module can control the corresponding user-oriented functional modules to execute the corresponding user-oriented events successively when the event triggering arbitration module knows the user-oriented events to be executed at the current time. The method and the device of the present invention can realize the corresponding user-oriented functions and increase the user satisfaction when the same time point of two or more user-oriented functions is set at a user terminal.

Description

A kind of method and apparatus of co-ordinating executing sequence facing user function
Technical field
The present invention relates to the method and apparatus of co-ordinating executing sequence facing user function.
Background technology
User terminals such as present applied portable terminal, fixed subscriber station can have been realized multiple user-function-oriented, as: alarm clock calling function, Auto Power On function, the function etc. of shutting down automatically.Described user-function-oriented is meant: the function that user terminal is attainable, the user can obviously perceive the presentation when realizing function.
In practical application, the user can make user terminal carry out user-function-oriented when the time point that is provided with arrives by time point is set on user terminal; And, in above-mentioned alarm clock calling function, Auto Power On function, shut down in the user-function-oriented such as function automatically, user terminal can only be put a realization unique user-function-oriented wherein at one time, and can't put the wherein two or more user-function-oriented of realization at one time.
If the user is provided with identical time point for plural user-function-oriented on user terminal, user terminal just can't determine to realize which user-function-oriented when the time point that is provided with arrives so.In this case, operating collision can take place in user terminal.The form of expression of operating collision has two kinds usually, wherein a kind ofly is: user terminal is selected a realization in current all user-function-oriented that will realize; Another kind is: user terminal be because of will realizing plural user-function-oriented simultaneously, and crashes, restarts or ignore situations such as all user-function-oriented.
As seen, when the user is plural user-function-oriented when being provided with identical time point on user terminal, user terminal can can't all, successfully be realized all user-function-oriented that the user is set because of operating collision takes place, and this has influence on user's normal life and important service probably.Because of important affairs are provided with the alarm clock calling function in 8 of mornings on user terminal, also be provided with the Auto Power On function in 8 of mornings as: user, but user terminal because of taken place operating collision only in the morning 8 realized the Auto Power On function; Obviously, the alarm clock calling function that had not realized causes the user not accomplish important affairs probably, and then has obviously reduced user satisfaction.
In sum, at present, when the user is plural user-function-oriented when being provided with identical time point on user terminal, user terminal can can't all, successfully be realized all user-function-oriented that the user is set because of operating collision takes place, and then has reduced user satisfaction.When the set user-function-oriented of user related to important affairs, the reduction of user satisfaction was then more obvious.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method of co-ordinating executing sequence facing user function, guarantee that user terminal is when the identical time point that is provided with at two above user-function-oriented, can all, successfully realize the described user-function-oriented of setting, improve user satisfaction.
Another object of the present invention is to provide a kind of device of co-ordinating executing sequence facing user function, guarantee that user terminal is when the identical time point that is provided with at two above user-function-oriented, can all, successfully realize the described user-function-oriented of setting, improve user satisfaction.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method of co-ordinating executing sequence facing user function, in advance for can realize that each user oriented incident of user-function-oriented is provided with Event Priority, and with the time point of user's setting and corresponding preservation of user oriented incident that will carry out at this time point, this method is further comprising the steps of:
A. be informed in each user oriented incident that the time point of current arrival will be carried out, and determine the actual execution sequence of carrying out each user oriented incident according to the Event Priority that is provided with;
B. according to fixed execution sequence, control can be carried out each user-function-oriented module of described user oriented incident and carry out pairing separately user oriented incident.
Among the step a, describedly know that the step of user oriented incident comprises:
A11. the time point that arrives is carried on and sends to the time keeping module in the incident querying command;
When a12. the time keeping module is received the incident querying command, read the time point that wherein comprises, and the corresponding user oriented incident of the time point that provides and read.
Among the step a, described determining step comprises:
Read the Event Priority that sets in advance, according to the priority of definite each user oriented incident that will carry out of the Event Priority that reads; And, determine the sequencing of each user oriented incident on time point that to carry out according to formed priority height order between the definite event priority.
Among the step a, described determining step comprises:
A21. obtain the user terminal current working state, and, obtain the pairing Event Priority of user terminal current working state according to the corresponding relation between preset user terminal operating status and the Event Priority;
A22. determine the priority of each user oriented incident that will carry out according to the Event Priority that obtains; And, determine the sequencing of each user oriented incident on time point that to carry out according to formed priority height order between the definite event priority.
Step b comprises:
B11. according to the sequencing of each user oriented incident on time point that will carry out, send the incident fill order to the user-function-oriented module that can carry out each user oriented incident respectively in different time points;
B12. the user-function-oriented module is carried out self pairing user oriented incident when receiving the incident fill order.
Step b comprises:
B21. according to the sequencing of each user oriented incident on time point that will carry out, for being provided with, each the user oriented incident that will carry out can embody the delay parameter value of carrying out sequencing, and will be carried in the incident fill order of this user oriented incident for the set delay parameter value of user oriented incident, will send to corresponding user-function-oriented module at the incident fill order of each user oriented incident at identical time point again;
When b22. the user-function-oriented module is received incident fill order at the user oriented incident, read the delay parameter value that comprises in the incident fill order of receiving; And after postponing the pairing time span of this delay parameter value, carry out self pairing user oriented incident.
Step b comprises:
B31. according to the sequencing of each user oriented incident on time point that will carry out, for being provided with, each the user oriented incident that will carry out can embody the delay parameter value of carrying out sequencing, and will be carried in the incident fill order of this user oriented incident for the set delay parameter value of user oriented incident, send all incident fill orders at identical time point to event notification interface again at each user oriented incident;
When b32. event notification interface is received incident fill order at the user oriented incident, read the delay parameter value that comprises in the incident fill order of receiving; And after postponing the pairing time span of this delay parameter value, the described incident fill order of receiving is sent to the user-function-oriented module that can carry out described user oriented incident;
B33. the user-function-oriented module is carried out self pairing user oriented incident when receiving the incident fill order.
Among the step a, the arrival of described time point is by arbitration timer notice, and then before the step a, this method further comprises:
The described time point of preserving according to correspondence is provided with described arbitration timer.
Before described arbitration timer is set, further obtain the pairing user oriented incident of user terminal current working state and described time point, judge in the user oriented incident of obtaining whether the user oriented incident that matches with user terminal work at present state is arranged again; And when determining to have the user oriented incident that matches, described arbitration timer is not set according to the pairing time point of this user oriented incident.
Perhaps, after described arbitration timer is set, further obtain the pairing user oriented incident of user terminal current working state and described time point, judge in the user oriented incident of obtaining whether the user oriented incident that matches with user terminal work at present state is arranged; And when determine having the user oriented incident that matches, read the pairing time point of this user oriented incident, cancel in the described arbitration timer timing setting again at this time point.
Among the step b, the described user-function-oriented module of carrying out the user oriented incident comprises alarm clock calling module, automatic turn-on module, shut down in the module at least two automatically.
The method that the alarm clock calling module is carried out the user oriented incident is: the alarm clock calling module is sent prompting at least a mode in the prompting mode of involving vibrations, audio frequency, video at least;
Automatically the shutdown module is carried out the method for user oriented incident and is: the module of shutting down automatically notifies the operating system of self place user terminal to close upper layer application and operating system, and the user terminal operations system then closes upper layer application, and self is closed; Perhaps, the module of shutting down automatically notifies the operating system of self place user terminal to close upper layer application, and the user terminal operations system then closes upper layer application;
The method that automatic turn-on module is carried out the user oriented incident is: automatic turn-on module notifies the operating system of self place user terminal that this operating system and upper layer application are started, and operating system then starts self, and upper layer application is started; Perhaps, automatic turn-on module is notified self os starting upper layer application of place user terminal, and the operating system of user terminal then starts upper layer application.
The invention also discloses a kind of device of co-ordinating executing sequence facing user function, this device comprises: Event triggered arbitration modules, and at least two user-function-oriented modules that link to each other;
Wherein, the Event triggered arbitration modules, time point that the user who is used for preserving according to correspondence is provided with and the user oriented incident that will carry out at this time point, be informed in each user oriented incident that current overtime time point will be carried out, and determine the actual execution sequence of carrying out each user oriented incident according to the Event Priority height order that sets in advance; Also according to fixed execution sequence, control can be carried out each user-function-oriented module of described user oriented incident and carry out pairing separately user oriented incident;
The user-function-oriented module is used for the control according to the Event triggered arbitration modules, carries out the user oriented incident.
This device further comprises: the time keeping module of Xiang Lianing, timing are provided with module, arbitration timer successively; The Event triggered arbitration modules also links to each other with arbitration timer, time keeping module respectively;
Wherein, the user-function-oriented module, the user oriented incident that is further used for time of reception point and will carries out at this time point, and time point and the user oriented incident of receiving sent to the time keeping module;
The time keeping module is used for the time point that will receive and corresponding preservation of user oriented incident that will carry out at this time point;
Regularly module is set, is used for the time point of acquisition time logging modle, and the arbitration timer is set according to the time point that obtains;
The arbitration timer be used for according to the timing that is provided with that module regularly is set, and notification event triggers arbitration modules when overtime.
Described arbitration timer is based on the software timer of operating system, or does not have the hardware timer of close ties with operating system.
The described time point that the user-function-oriented module receives and in the user oriented incident that this time point will be carried out is that the user-function-oriented module is received by the interface that is provided with on it.
Control described user-function-oriented module and carry out the user oriented incident, realize by sending the incident fill order; Between described Event triggered arbitration modules and each user-function-oriented module, further be connected with event notification interface; Described event notification interface is used for the incident fill order is comprised the processing of forwarding.
The described user-function-oriented module of carrying out the user oriented incident comprises alarm clock calling module, automatic turn-on module, shut down in the module at least two automatically.
Compared with prior art, the method of co-ordinating executing sequence facing user function provided by the present invention, be informed in each user oriented incident that the time point of current arrival will be carried out by the Event triggered arbitration modules, and determine the actual execution sequence of carrying out each user oriented incident; According to fixed execution sequence, control corresponding user-function-oriented module and carry out pairing separately user oriented incident again.The device of co-ordinating executing sequence facing user function provided by the present invention comprises: Event triggered arbitration modules, and at least two user-function-oriented modules that link to each other; Each device is fitted to each other, and makes the Event triggered arbitration modules when knowing each user oriented incident that current time will be carried out, and can control corresponding user-function-oriented module and successively carry out pairing separately user oriented incident.
As seen, the inventive method and device all make user terminal when the identical time point that is provided with at two above user-function-oriented, can realize corresponding user-function-oriented, have obviously improved user satisfaction.
Description of drawings
Fig. 1 is the schematic diagram of the co-ordinating executing sequence facing user function of a preferred embodiment of the present invention;
Fig. 2 is the process flow diagram of the co-ordinating executing sequence facing user function of a preferred embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments to the detailed description of the invention.
The method of co-ordinating executing sequence facing user function provided by the invention needs in advance for can realize that each user oriented incident of user-function-oriented is provided with Event Priority; Be informed in each user oriented incident that the time point of current arrival will be carried out by the Event triggered arbitration modules, and determine the actual execution sequence of carrying out each user oriented incident according to the Event Priority that is provided with; According to fixed execution sequence, control can be carried out each user-function-oriented module of described user oriented incident and carry out pairing separately user oriented incident again.
The device of co-ordinating executing sequence facing user function provided by the invention comprises: Event triggered arbitration modules, and at least two user-function-oriented modules that link to each other; Wherein, the Event triggered arbitration modules is used to be informed in each user oriented incident that current overtime time point will be carried out, and determines the actual execution sequence of carrying out each user oriented incident according to the Event Priority height order that sets in advance; Also according to fixed execution sequence, control can be carried out each user-function-oriented module of described user oriented incident and carry out pairing separately user oriented incident; The user-function-oriented module is used for the control according to the Event triggered arbitration modules, carries out the user oriented incident.
Because it is multiple that the user-function-oriented that user terminal can be realized has, I am unequal to power and lift; Therefore be example only, the inventive method and device are described with alarm clock calling function, Auto Power On function and the function of shutting down automatically commonly used at present.
Referring to Fig. 1, Fig. 1 is the schematic diagram of the co-ordinating executing sequence facing user function of a preferred embodiment of the present invention.The device that each communication entity shown in Figure 1 is formed can be arranged in the user terminal, wherein, time keeping module 123 certainly links to each other with the function mould that can realize user-function-oriented respectively with event notification interface 124, particularly: respectively with alarm clock calling module 130, automatic turn-on module 140, the module 150 of shutting down links to each other automatically; Module 121 regularly is set links to each other with time keeping module 123, arbitration timer 110 respectively, Event triggered arbitration modules 122 links to each other with time keeping module 123, event notification interface 124, arbitration timer 110 respectively.In actual applications, can be arranged at jointly in the same logical block regularly module 121, Event triggered arbitration modules 122, time keeping module 123 and event notification interface 124 being set, and this logical block can be called arbitration unit 120.
In actual applications, need, and want to form priority height order between the different priority in advance for can realize that each user oriented incident of user-function-oriented is provided with different priority.The mode that priority is set for the user oriented incident is as shown in table 1:
Incident Alarm clock calling Auto Power On Automatically shutdown
Priority 2 1 0
Table 1
By table 1 as seen, for alarm clock calling, Auto Power On, this three set priority of incident of shutting down are respectively 2,1,0 automatically, and the big more expression priority of numeral is high more.Certainly, can be alarm clock calling, Auto Power On, the different priority orders in these three incident settings and the table 1 of shutting down automatically also according to the practical application scene.
Described user oriented incident is meant: the incident that can realize user-function-oriented after the execution.Than incidents such as alarm clock calling as shown in table 1, Auto Power On, automatic shutdown; And, alarm clock calling module 130 among Fig. 1, automatic turn-on module 140, the module 150 of shutting down can be carried out alarm clock calling incident, Auto Power On incident, shut down event automatically respectively automatically, to realize alarm clock calling function, Auto Power On function, the function of shutting down automatically respectively.As alarm clock calling module 130, automatic turn-on module 140, the shut down functional module of the realized user-function-oriented the module 150 automatically, be commonly called the user-function-oriented module.
In actual applications, priority can also be set as table 2:
Figure C20061005852100141
Table 2
As seen, " state " in the table 2 and alarm clock calling, Auto Power On, there is corresponding relation in this three Event Priorities that shut down automatically." state " representative of consumer terminal current working state in the table 2, and the big more expression priority of the numeral in the table 2 is high more.As shown in Table 2, can be alarm clock calling, Auto Power On at different working state of user terminal, this three incidents of shutting down are provided with priority automatically: when user terminal is in open state, for alarm clock calling, Auto Power On, the set priority of shutting down is respectively 2,0,1 automatically; When user terminal is in off-mode, for alarm clock calling, Auto Power On, the set priority of shutting down is respectively 2,1,0 automatically.Certainly, working state of user terminal can not only be confined to the startup and shutdown in the table 2, but shutdown etc. when comprising when charging start, charging; And, can also according to the practical application scene at working state of user terminal be alarm clock calling, Auto Power On, automatically shutdown be provided with table 2 in different priority orders.
Can be with for the set priority of user oriented incident be called Event Priority, and Event Priority is stored in the Event triggered arbitration modules 122 usually; Certainly, also can be stored in timing and be provided with in module 121 communication entities such as grade, need the communication entity of Event Priority to obtain smoothly as long as guarantee.
In concrete the application, alarm clock calling module 130, automatic turn-on module 140 and the module 150 of shutting down automatically provide respectively and the interface are set and interface is set, the user show on the user terminal, be provided with on the interface by being provided with of being provided of user-function-oriented module, the user will be received by the interface that is provided with of this user-function-oriented module at the set content of user-function-oriented module, and then send to 123 preservations of time keeping module.
Particularly, the user is at the set content of user-function-oriented module, and the content that is provided with that interface received and be transmitted to time keeping module 123 that is provided with of user-function-oriented module is usually expressed as: time point and the user oriented incident that will carry out at this time point; 123 of time keeping modules are with time point of receiving and corresponding preservation of user oriented incident that will carry out at this time point.
Module 121 regularly is set needs the time point that write down in the acquisition time logging modle 123, to determine how arbitration timer 110 is set.Concrete time point acquisition methods has multiple, as: regularly module 121 is set to time keeping module 123 transmitting time point querying commands, after time keeping module 123 is received this time point querying command, if variation has taken place the time point of self record, then all time points of the time point that changes or self record are sent to module 121 regularly is set; Certainly, when time keeping module 123 also can change at the time point of self record, initiatively all time points of the time point that changes or self record are reported module 121 regularly is set.
Regularly module 121 is set and has obtained after the time point that is write down in the time keeping module 123, the time point that obtains is sent to arbitration timer 110, the time point that 110 bases of arbitration timer are received regularly.
In actual applications, if Event Priority is to be provided with in the mode shown in the table 2, module 121 so regularly is set before arbitration timer 110 is set, can also further use prior art and from the nucleus module of user terminal, obtain the user terminal current working state, judge in the pairing user oriented incident of obtaining of time point whether the user oriented incident that matches with user terminal work at present state is arranged again; And when determining to have the user oriented incident that matches, arbitration timer 110 is not set according to the pairing time point of this user oriented incident.
Certainly, if above-mentioned decision operation carry out after the timer 110 setting up arbitration; Module 121 so regularly is set when determining to have the user oriented incident that matches with user terminal work at present state, can read the pairing time point of this user oriented incident, and use in the prior art cancellation arbitration timer 110 timing setting at this time point.
After this, if variation has taken place the duty of user terminal, the user oriented incident that causes matching with the original duty of user terminal no longer matches with user terminal work at present state; 121 of modules so, regularly are set further arbitration timer 110 are set according to the pairing time point of this user oriented incident.
The user oriented incident that described and user terminal work at present state match is meant: the duty that user terminal will be in because of the execution of user oriented incident is identical with the user terminal current working state.Such as: the user terminal current working state is an open state, and the user oriented incident is an Auto Power On; Because the execution of Auto Power On will make user's end in open state, and the user terminal current working state also is an open state, so user terminal present located open state and this incident of Auto Power On match.
Certainly, can carry out smoothly, the user oriented incident that module 121 needs preservation in the acquisition time logging modle 123 regularly is set in order to guarantee above-mentioned decision operation.Concrete acquisition methods has multiple,, regularly is provided with the module 121 except time point is sent to behind time point querying command as described in receiving as: time keeping module 123, also the pairing user oriented incident of time point is sent to module 121 regularly is set; Time keeping module 123 also can be when being provided with module 121 and reporting time point to timing, the pairing user oriented incident of time point is together reported module 121 regularly is set.
Certainly, module 121 regularly being set can also be carried on the time point that obtains in the incident querying command and send to time keeping module 123; When time keeping module 123 is received this incident querying command, read the time point that wherein comprises, and will send to the corresponding user oriented incident of the time point that reads module 121 regularly is set.
Arbitration timer 110 is because of time point arrives when overtime, triggers arbitration modules 122 time points and arrives to send mode notification events such as time exceeded message.When Event triggered arbitration modules 122 is received from the notice of arbitration timer 110, determine the time point of current arrival, that is: overtime time point.It is multiple that concrete time point determines that method has, as: as described in include the time point of current arrival in the time exceeded message untill further notice at least, Event triggered arbitration modules 122 reads the time point that comprises in the time exceeded message untill further notice of receiving, and what determine the time point that reads is exactly the time point of current arrival; Certainly, Event triggered arbitration modules 122 also can be used prior art and read current system time from user terminal, and determines that the system time that reads is exactly the time point of current arrival.
After the time point of having determined current arrival, Event triggered arbitration modules 122 need be obtained the pairing user oriented incident of time point of arrival.Concrete acquisition methods has multiple, as: Event triggered arbitration modules 122 is carried on the time point that arrives and sends to time keeping module 123 in the incident querying command; When time keeping module 123 is received this incident querying command, read the time point that wherein comprises, and will send to Event triggered arbitration modules 122 with the corresponding user oriented incident of the time point that reads.
In actual applications, if regularly module 121 is set has obtained the pairing user oriented incident of time point from time keeping module 123; So, also can be further establish a communications link regularly being provided with between module 121 and the Event triggered arbitration modules 122, and by Event triggered arbitration modules 122 time point that arrives is carried on to send in the incident querying command module 121 regularly is set; When regularly module 121 being set and receiving this incident querying command, read the time point that wherein comprises, and will send to Event triggered arbitration modules 122 with the corresponding user oriented incident of the time point that reads.
Obviously, the number of the user oriented incident that Event triggered arbitration modules 122 is obtained might be one, also might be at least two; And when getting access to the user oriented incident, Event triggered arbitration modules 122 just can be controlled the user-function-oriented module that will carry out this user oriented incident and carry out the user oriented incident.
Particularly, when 122 of Event triggered arbitration modules had been obtained a user oriented incident, the Event Priority that sets in advance had not just had necessity of application.In this case, Event triggered arbitration modules 122 definite current times only need be carried out that user oriented incident of obtaining, and then send the incident fill orders at this user oriented incident that will carry out to event notification interface 124; When event notification interface 124 is received at the incident fill order of described user oriented incident, the incident fill order of receiving is sent to the user-function-oriented module that can carry out this user oriented incident.
When having obtained at least two user oriented incidents, Event triggered arbitration modules 122 definite current times need be carried out at least two user oriented incidents obtaining.As seen, because Event triggered arbitration modules 122 needs to determine to carry out the sequencing of user oriented incident, so the Event Priority that sets in advance has just had necessity of using.
In this case, Event triggered arbitration modules 122 reads the Event Priority that sets in advance, according to the priority of definite each user oriented incident that will carry out of the Event Priority that reads; And, determine the sequencing of each user oriented incident on time point that to carry out according to formed priority height order between the Event Priority that is provided with.As: the priority of user oriented incident is high more, and the time point of then carrying out this user oriented incident is more early.
Certainly, if Event Priority is to be provided with in the mode shown in the table 2, so Event triggered arbitration modules 122 in definite user oriented incident before the sequencing on the time point, can also further use prior art and from the nucleus module of user terminal, obtain the user terminal current working state, in table 2, reading the pairing Event Priority of the working state of user terminal that is obtained, and determine the sequencing of each user oriented incident on time point that to carry out according to the Event Priority that reads.
As seen, when having obtained at least two user oriented incidents, Event triggered arbitration modules 122 needs according to the definite sequencing of each user oriented incident on time point that will carry out of the Event Priority that sets in advance.
When each user oriented incident of having determined to carry out behind the sequencing on the time point, at the incident fill order of each user oriented incident that will carry out, will be sent to the user-function-oriented module that to carry out each user oriented incident respectively according to fixed time point sequencing.
The exectorial sending method of described incident has multiple, as: Event triggered arbitration modules 122 is according to the sequencing of each user oriented incident on time point that will carry out, send incident fill order in different time points to event notification interface 124 at each user oriented incident, as: Event triggered arbitration modules 122 is sent the incident fill order at the highest alarm clock calling incident of priority orders earlier, send the incident fill order at the priority orders second high Auto Power On incident again, send the incident fill order at the minimum automatic shut down event of priority orders at last.When event notification interface 124 is received at the incident fill order of user oriented incident, the incident fill order of receiving is sent to the user-function-oriented module that can carry out this user oriented incident.
In the incident fill order that Event triggered arbitration modules 122 is sent at each user oriented incident, the time interval between an adjacent previous incident fill order and the back incident fill order can be set in advance by the user, and is stored in the communication entities such as Event triggered arbitration modules 122; 122 time intervals according to setting of Event triggered arbitration modules send two adjacent incident fill orders.
In actual applications, the exectorial sending method of described incident also can be: Event triggered arbitration modules 122 is according to the sequencing of each user oriented incident on time point that will carry out, for being provided with, each the user oriented incident that will carry out can embody the delay parameter value of carrying out sequencing, and will be carried in this user oriented incident for the set delay parameter value of user oriented incident, send all incident fill orders at identical time point to event notification interface 124 again at each user oriented incident.
Such as: Event triggered arbitration modules 122 is that the highest alarm clock calling incident value of being provided with of priority orders is 0 minute a delay parameter value, also this delay parameter value is carried in the incident fill order at the alarm clock calling incident; Event triggered arbitration modules 122 is that priority orders second high Auto Power On incident value of being provided with is 2 minutes a delay parameter value, also this delay parameter value is carried in the incident fill order at the Auto Power On incident; Event triggered arbitration modules 122 is that the minimum automatic shut down event value of being provided with of priority orders is 5 minutes a delay parameter value, also this delay parameter value is carried in the incident fill order at automatic shut down event; And Event triggered arbitration modules 122 sends at alarm clock calling incident, Auto Power On incident, the incident fill order of shut down event automatically to event notification interface 124 at identical time point.
When event notification interface 124 is received at the incident fill order of user oriented incident, read the delay parameter value that comprises in the incident fill order of receiving; And after postponing the pairing time span of this delay parameter value, the described incident fill order of receiving is sent to the user-function-oriented module that can carry out described user oriented incident.As seen, at the incident fill order of alarm clock calling incident, can be sent afterwards in 0 minute by event notification interface 124 delays, that is: the not free delay; At the incident fill order of Auto Power On incident, can be sent afterwards in 2 minutes by event notification interface 124 delays; At the incident fill order of automatic shut down event, then can be sent afterwards in 5 minutes by event notification interface 124 delays.Obviously, receive that exectorial each user-function-oriented module of incident naturally can be in the different pairing separately user oriented incidents of time point execution.
Described delay parameter value can be set in advance by the user, and is stored in the communication entities such as event notification interface 124; 124 delay parameter values according to setting of event notification interface send the incident fill order.Have again, the described delay operation that event notification interface 124 is carried out can be realized by delay timer, as: in event notification interface 124 communication entities such as grade, delay timer is set, and the timing duration of delay timer is set according to the delay parameter value by event notification interface 124; When delay timer was overtime, delay timer sent overtime notice to event notification interface 124, and event notification interface 124 is definite delayed pairing time span of delay parameter value when receiving this overtime notice.
No matter Event triggered arbitration modules 122 has been obtained still at least two user oriented incidents, and the user-function-oriented module all can be used prior art and carry out the user oriented incident when receiving the incident fill order.Such as:
When alarm clock calling module 130 was received the incident fill order, alarm clock calling module 130 was sent prompting at least a mode in the modes such as vibration, audio frequency, video.
When automatic shutdown module 150 was received the incident fill order, the module of shutting down automatically 150 performed automatic power-off operation can be different because of the difference of arbitration timer 110 implementations.Particularly, if arbitration timer 110 is to realize that by the hardware timer that does not have close ties with the user terminal operations system operating system of the module of shutting down so automatically 150 informing user terminals is closed upper layer application and operating system; The operating system of user terminal is then closed upper layer application, and self is closed.If arbitration timer 110 is by realizing based on the software timer of user terminal operations system, the operating system that 150 of the modules of shutting down so automatically can only informing user terminal is closed upper layer application; The operating system of user terminal is then closed upper layer application, and self is not closed, can be based on operating system and operate as normal to guarantee arbitration timer 110.Say from user perspective, closed upper layer application and must cause the user can't use user terminal, can think that therefore closing upper layer application is a kind of form of shutting down.
When automatic turn-on module 140 was received the incident fill order, automatic turn-on module 140 performed Auto Power On operations equally can be different because of the difference of arbitration timer 110 implementations.Particularly, if arbitration timer 110 is to realize that by the hardware timer that does not have close ties with the user terminal operations system operating system of automatic turn-on module 140 informing user terminals starts self so, and upper layer application is started; Operating system then starts self, and upper layer application is started.If arbitration timer 110 is to be realized by the software timer based on the user terminal operations system,, therefore do not need repeated priming operating system when shutdown even the operating system of user terminal can not closed yet so; As seen, 140 of automatic turn-on modules need the os starting upper layer application of informing user terminal; The operating system of user terminal then starts upper layer application.
In fact, why being provided with event notification interface 124 among Fig. 1, is to oversimplify for the operation logic that makes Event triggered arbitration modules 122 communication entities such as grade as far as possible, handles and the certain operations logic returned by event notification interface 124; Like this, even the quantity of user-function-oriented module increases to some extent, certain operations logic wherein also can be handled by event notification interface 124, and can obviously not improve the operation logic complexity of Event triggered arbitration modules 122 communication entities such as grade.
As seen, also event notification interface 124 can be set in actual applications, but with Event triggered arbitration modules 122 directly with alarm clock calling module 130, automatic turn-on module 140, the module 150 of shutting down links to each other respectively automatically.This will cause the exectorial sending method of described incident that a little variation takes place:
When only having obtained a user oriented incident, Event triggered arbitration modules 122 directly sends to the user-function-oriented module that can carry out this user oriented incident.
When having obtained at least two user oriented incidents, and each user oriented incident of having determined to carry out is behind the sequencing on the time point, no matter be in the incident fill order of different time points transmission at each user oriented incident, still send all the incident fill orders that comprise the delay parameter value at identical time point at each user oriented incident, Event triggered arbitration modules 122 all can directly send to the incident fill order at the user oriented incident user-function-oriented module that can carry out this user oriented incident, and no longer sends to event notification interface 124.
Have, comprise under the exectorial situation of incident of delay parameter value in 122 transmissions of Event triggered arbitration modules, the described delay operation that former cause event notification interface 124 is carried out also will change by the exectorial user-function-oriented module of the incident of receiving to be undertaken; After finishing the delay operation, the user-function-oriented module just can have been carried out the user-function-oriented incident.Also have, the described delay parameter value of setting and delay timer then are stored in the communication entity such as user-function-oriented module; And when delay timer was overtime, delay timer changed into to the user-function-oriented module and sends overtime notice.
By the above as seen, the device that each communication entity shown in Figure 1 is formed can be arranged in the user terminal, make user terminal when the identical time point that is provided with at two above user-function-oriented, the described user-function-oriented of setting can be all, successfully realized, therefore user satisfaction can be obviously improved.
If the principle of co-ordinating executing sequence facing user function shown in Figure 1 is represented with flow process, then as shown in Figure 2.Below, the step that Fig. 2 comprised is simply described, realize that the concrete operations of every step can be with reference to the corresponding description among Fig. 1.
Certainly, before each step that in carrying out flow process shown in Figure 2, comprises, be in advance for can realize that the user oriented incident of each user-function-oriented is provided with different priority, and want between the different priority can form the priority height in proper order.Have again, the user can show on the user terminal, be provided with on the interface by being provided with of being provided of user-function-oriented module, the user will be received by the interface that is provided with of this user-function-oriented module at the set content of user-function-oriented module.
Flow process shown in Figure 2 may further comprise the steps:
Step 210: the user-function-oriented module is provided with according to the user who receives, the time point of the user oriented incident that notice time keeping module will be carried out, time keeping module are then with time point of receiving and corresponding preservation of user oriented incident that will carry out at this time point.
Step 220: the time point in the module acquisition time logging modle regularly is set, and timer is set according to the time point that obtains.
Certainly, if Event Priority is to be provided with in the mode shown in the table 2, so regularly module is set before timer is set, can also further use prior art and from the nucleus module of user terminal, obtain the user terminal current working state, judge in the pairing user oriented incident of obtaining of time point whether the user oriented incident that matches with user terminal work at present state is arranged again; And when determining to have the user oriented incident that matches, timer is not set according to the pairing time point of this incident.
Step 230: during timer expiry, notification event triggers arbitration modules.
Step 240: the Event triggered arbitration modules is informed in each user oriented incident that current point in time will be carried out, and according to the Event Priority height order that sets in advance, determines the actual execution sequence of carrying out each user oriented incident.
Certainly, if Event Priority is to be provided with in the mode shown in the table 2, the Event triggered arbitration modules is before determining to carry out the execution sequence of user oriented incident so, can also further use prior art and from the nucleus module of user terminal, obtain the user terminal current working state, in table 2, reading the pairing Event Priority of the working state of user terminal that is obtained, and determine the sequencing of each user oriented incident on time point that to carry out according to the Event Priority that reads.
Step 250: the control of Event triggered arbitration modules will be carried out each user-function-oriented module of user oriented incident, carries out pairing separately user oriented incident according to fixed execution sequence.
Certainly,, then do not need to determine the execution sequence of execution incident, carry out described user oriented incident but directly control the user-function-oriented module by the Event triggered arbitration modules if the user oriented incident that will carry out at current time has only one.
By the above as can be seen, the method and apparatus of co-ordinating executing sequence facing user function provided by the present invention, can guarantee that all user terminal is when the identical time point that is provided with at two above user-function-oriented, the described user-function-oriented of setting can be all, successfully realized, thereby user satisfaction can be obviously improved.

Claims (18)

1. the method for a co-ordinating executing sequence facing user function, it is characterized in that, in advance for can realize that each user oriented incident of user-function-oriented is provided with Event Priority, and with the time point of user's setting and corresponding preservation of user oriented incident that will carry out at this time point, this method is further comprising the steps of:
A. be informed in each user oriented incident that the time point of current arrival will be carried out, and determine the actual execution sequence of carrying out each user oriented incident according to the Event Priority that is provided with;
B. according to fixed execution sequence, control can be carried out each user-function-oriented module of described user oriented incident and carry out pairing separately user oriented incident.
2. the method for claim 1 is characterized in that, among the step a, describedly knows that the step of user oriented incident comprises:
A11. the time point that arrives is carried on and sends to the time keeping module in the incident querying command;
When a12. the time keeping module is received the incident querying command, read the time point that wherein comprises, and the corresponding user oriented incident of the time point that provides and read.
3. the method for claim 1 is characterized in that, among the step a, described determining step comprises:
Read the Event Priority that sets in advance, according to the priority of definite each user oriented incident that will carry out of the Event Priority that reads; And, determine the sequencing of each user oriented incident on time point that to carry out according to formed priority height order between the definite event priority.
4. the method for claim 1 is characterized in that, among the step a, described determining step comprises:
A21. obtain the user terminal current working state, and, obtain the pairing Event Priority of user terminal current working state according to the corresponding relation between preset user terminal operating status and the Event Priority;
A22. determine the priority of each user oriented incident that will carry out according to the Event Priority that obtains; And, determine the sequencing of each user oriented incident on time point that to carry out according to formed priority height order between the definite event priority.
5. as each described method of claim 1 to 4, it is characterized in that step b comprises:
B11. according to the sequencing of each user oriented incident on time point that will carry out, send the incident fill order to the user-function-oriented module that can carry out each user oriented incident respectively in different time points;
B12. the user-function-oriented module is carried out self pairing user oriented incident when receiving the incident fill order.
6. as each described method of claim 1 to 4, it is characterized in that step b comprises:
B21. according to the sequencing of each user oriented incident on time point that will carry out, for being provided with, each the user oriented incident that will carry out can embody the delay parameter value of carrying out sequencing, and will be carried in the incident fill order of this user oriented incident for the set delay parameter value of user oriented incident, will send to corresponding user-function-oriented module at the incident fill order of each user oriented incident at identical time point again;
When b22. the user-function-oriented module is received incident fill order at the user oriented incident, read the delay parameter value that comprises in the incident fill order of receiving; And after postponing the pairing time span of this delay parameter value, carry out self pairing user oriented incident.
7. as each described method of claim 1 to 4, it is characterized in that step b comprises:
B31. according to the sequencing of each user oriented incident on time point that will carry out, for being provided with, each the user oriented incident that will carry out can embody the delay parameter value of carrying out sequencing, and will be carried in the incident fill order of this user oriented incident for the set delay parameter value of user oriented incident, send all incident fill orders at identical time point to event notification interface again at each user oriented incident;
When b32. event notification interface is received incident fill order at the user oriented incident, read the delay parameter value that comprises in the incident fill order of receiving; And after postponing the pairing time span of this delay parameter value, the described incident fill order of receiving is sent to the user-function-oriented module that can carry out described user oriented incident;
B33. the user-function-oriented module is carried out self pairing user oriented incident when receiving the incident fill order.
8. the method for claim 1 is characterized in that, among the step a, the arrival of described time point is by arbitration timer notice, and then before the step a, this method further comprises:
The described time point of preserving according to correspondence is provided with described arbitration timer.
9. method as claimed in claim 8 is characterized in that:
Before described arbitration timer is set, further obtain the pairing user oriented incident of user terminal current working state and described time point, judge in the user oriented incident of obtaining whether the user oriented incident that matches with user terminal work at present state is arranged again; And when determining to have the user oriented incident that matches, described arbitration timer is not set according to the pairing time point of this user oriented incident.
10. method as claimed in claim 8 is characterized in that:
After described arbitration timer is set, further obtain the pairing user oriented incident of user terminal current working state and described time point, judge in the user oriented incident of obtaining whether the user oriented incident that matches with user terminal work at present state is arranged; And when determine having the user oriented incident that matches, read the pairing time point of this user oriented incident, cancel in the described arbitration timer timing setting again at this time point.
11. the method for claim 1 is characterized in that, among the step b, the described user-function-oriented module of carrying out the user oriented incident comprises alarm clock calling module, automatic turn-on module, shut down in the module at least two automatically.
12. method as claimed in claim 11 is characterized in that:
The method that the alarm clock calling module is carried out the user oriented incident is: the alarm clock calling module is sent prompting at least a mode in the prompting mode of involving vibrations, audio frequency, video at least;
Automatically the shutdown module is carried out the method for user oriented incident and is: the module of shutting down automatically notifies the operating system of self place user terminal to close upper layer application and operating system, and the user terminal operations system then closes upper layer application, and self is closed; Perhaps, the module of shutting down automatically notifies the operating system of self place user terminal to close upper layer application, and the user terminal operations system then closes upper layer application;
The method that automatic turn-on module is carried out the user oriented incident is: automatic turn-on module notifies the operating system of self place user terminal that this operating system and upper layer application are started, and operating system then starts self, and upper layer application is started; Perhaps, automatic turn-on module is notified self os starting upper layer application of place user terminal, and the operating system of user terminal then starts upper layer application.
13. the device of a co-ordinating executing sequence facing user function is characterized in that, this device comprises: Event triggered arbitration modules, and at least two user-function-oriented modules that link to each other;
Wherein, the Event triggered arbitration modules, time point that the user who is used for preserving according to correspondence is provided with and the user oriented incident that will carry out at this time point, be informed in each user oriented incident that current overtime time point will be carried out, and determine the actual execution sequence of carrying out each user oriented incident according to the Event Priority height order that sets in advance; Also according to fixed execution sequence, control can be carried out each user-function-oriented module of described user oriented incident and carry out pairing separately user oriented incident;
The user-function-oriented module is used for the control according to the Event triggered arbitration modules, carries out the user oriented incident.
14. device as claimed in claim 13 is characterized in that, this device further comprises: the time keeping module of Xiang Lianing, timing are provided with module, arbitration timer successively; The Event triggered arbitration modules also links to each other with arbitration timer, time keeping module respectively;
Wherein, the user-function-oriented module, the user oriented incident that is further used for time of reception point and will carries out at this time point, and time point and the user oriented incident of receiving sent to the time keeping module;
The time keeping module is used for the time point that will receive and corresponding preservation of user oriented incident that will carry out at this time point;
Regularly module is set, is used for the time point of acquisition time logging modle, and the arbitration timer is set according to the time point that obtains;
The arbitration timer be used for according to the timing that is provided with that module regularly is set, and notification event triggers arbitration modules when overtime.
15. device as claimed in claim 14 is characterized in that, described arbitration timer is based on the software timer of operating system, or does not have the hardware timer of close ties with operating system.
16. device as claimed in claim 14 is characterized in that, the described time point that the user-function-oriented module receives and in the user oriented incident that this time point will be carried out is that the user-function-oriented module is received by the interface that is provided with on it.
17. device as claimed in claim 13 is characterized in that, controls described user-function-oriented module and carries out the user oriented incident, realizes by sending the incident fill order; Between described Event triggered arbitration modules and each user-function-oriented module, further be connected with event notification interface; Described event notification interface is used for the incident fill order is comprised the processing of forwarding.
18., it is characterized in that the described user-function-oriented module of carrying out the user oriented incident comprises alarm clock calling module, automatic turn-on module, shut down in the module at least two automatically as each described device of claim 13 to 17.
CNB2006100585218A 2006-03-10 2006-03-10 Method and device for co-ordinating executing sequence facing user function Active CN100362477C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100585218A CN100362477C (en) 2006-03-10 2006-03-10 Method and device for co-ordinating executing sequence facing user function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100585218A CN100362477C (en) 2006-03-10 2006-03-10 Method and device for co-ordinating executing sequence facing user function

Publications (2)

Publication Number Publication Date
CN1858709A CN1858709A (en) 2006-11-08
CN100362477C true CN100362477C (en) 2008-01-16

Family

ID=37297618

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100585218A Active CN100362477C (en) 2006-03-10 2006-03-10 Method and device for co-ordinating executing sequence facing user function

Country Status (1)

Country Link
CN (1) CN100362477C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102453525A (en) * 2010-10-15 2012-05-16 中国石油化工股份有限公司 Multi-stage boiling bed hydrogenation process

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508701A (en) * 2011-10-18 2012-06-20 北京百纳威尔科技有限公司 User terminal and method for controlling automatically-operating application program
CN104184908B (en) * 2014-07-21 2017-03-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104360934B (en) * 2014-12-04 2018-02-13 上海斐讯数据通信技术有限公司 A kind of mobile terminal and its application notification processing method
CN105554286B (en) * 2015-12-21 2019-05-24 珠海市魅族科技有限公司 The method and device of quarter-bell is set

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1177772A (en) * 1996-08-27 1998-04-01 松下电器产业株式会社 Multi-program-flow synchronous processor independently processing multiple instruction stream, soft controlling processing function of every instrunetion
US6157831A (en) * 1997-01-11 2000-12-05 Compaq Computer Corp. Method and apparatus for implementing configurable call forwarding bins in a mobile telephone system
CN1320003A (en) * 2001-04-20 2001-10-31 北京邮电通信设备厂 Alarm memorandum book work mode and writing method for memorandum book for mobile telephone set
CN1677352A (en) * 2004-03-30 2005-10-05 京瓷株式会社 Cell-phone terminal, program management method and computer program of the same
CN1744046A (en) * 2004-08-31 2006-03-08 华为技术有限公司 Multi-task application software module management method in real-time operating system environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1177772A (en) * 1996-08-27 1998-04-01 松下电器产业株式会社 Multi-program-flow synchronous processor independently processing multiple instruction stream, soft controlling processing function of every instrunetion
US6157831A (en) * 1997-01-11 2000-12-05 Compaq Computer Corp. Method and apparatus for implementing configurable call forwarding bins in a mobile telephone system
CN1320003A (en) * 2001-04-20 2001-10-31 北京邮电通信设备厂 Alarm memorandum book work mode and writing method for memorandum book for mobile telephone set
CN1677352A (en) * 2004-03-30 2005-10-05 京瓷株式会社 Cell-phone terminal, program management method and computer program of the same
CN1744046A (en) * 2004-08-31 2006-03-08 华为技术有限公司 Multi-task application software module management method in real-time operating system environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102453525A (en) * 2010-10-15 2012-05-16 中国石油化工股份有限公司 Multi-stage boiling bed hydrogenation process

Also Published As

Publication number Publication date
CN1858709A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
CN111405610B (en) Method and equipment for receiving data by D2D
CN100362477C (en) Method and device for co-ordinating executing sequence facing user function
US7899433B2 (en) Method and apparatus for saving power by controlling listening periods in wireless telecommunication device having a plurality for power-saving modes
US20060148463A1 (en) Method for restoring automatically an original setting in a mobile device
EP3927053B1 (en) Method, terminal storage medium for operating a drx timer
CN106533633B (en) Information processing method, user equipment and base station
CN101094475B (en) Method and mobile terminal for monitoring seek channel
US20080045277A1 (en) Method and system for coordinating necessary radio transmission events with unrelated opportunistic events to optimize battery life and network resources
KR101828295B1 (en) Terminal and method for managing application thereof
CN105657860A (en) Method and device for improving data service response speed
MX2014010061A (en) Processing-time dependent control of data block transmission.
CN108012314A (en) Low power consumption method and its radio communication device drop
CN105068844A (en) Method and apparatus for solving problem of no startup of Android terminal
CN103427932A (en) Method and device for controlling data transmission
CN114285849A (en) Current limiting state adjusting method and device, storage medium and electronic device
EP1890503A1 (en) Method and system for coordinating necessary radio transmission events with unrelated opportunistic events to optimize battery life and network resources
CN108712494A (en) Handle the method, apparatus and equipment of asynchronous message
CN111107041B (en) Method and device for preventing intelligent household appliance from being maliciously controlled
CN108931923B (en) Device control method and apparatus, storage medium, and electronic apparatus
CN104168608A (en) Flow control method, flow control system and electronic devices
CN101313531B (en) System, apparatus and method for speak-right determination
JP2678690B2 (en) Receiver controller method and apparatus
CN107734715B (en) Network connection processing method of mobile terminal, storage device and mobile terminal
EP3893567B1 (en) Methods and devices for controlling detachment of mobile terminal
CN113939026A (en) User equipment, network side equipment and wireless communication method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant