In electronic equipment, based on sequence of events, set realizes the method that the theme alarm clock is controlledTechnical field
The present invention relates to the electronic apparatus application technical field, particularly alarm clock control method technical field in electronic equipment, specifically refer to that in a kind of electronic equipment, set realizes the method that the theme alarm clock is controlled based on sequence of events.
Background technology
All have alarm clock function on each current class of electronic devices, still, there is following defect in existing alarm clock mechanism:
1, an only corresponding time point reminded in a current alarm clock theme, causes an alarm clock theme can only remind the generation of an event.And, in actual life, what we often needed prompting is the generation of sequence of events, and the set of this sequence of events just forms a complete thing.Such as this thing of stewing soup, its process may be just by start ten minutes with big fire endure, middle enduring with little fire in one hour, and within last ten minutes, with big fire, endure this three phases and form, so need to all provide at first prompting at this three phases.And present alarm clock mechanism obviously can not be reminded the alarm clock theme of definition of stewing soup, must three processes wherein be defined respectively, this mechanism makes event too single, discrete, and user's application is very inconvenient.
2, a current alarm clock theme reminds that the set time is all often the absolute time that event occurs.The thing formed for a plurality of events, often have dependence between event.Such as a thing is comprised of event A, event B and event C, event A occurred after ten minutes, and event B just occurs, if event A does not occur, event B just can not occur; Event B occurred after one hour, and event C just occurs, if event B does not occur, event C just can not occur; Only have and occurred as event C, just form a complete generation thing.In this case, give event A definition an absolute time, event B and event C must be relative times so.And current alarm clock mechanism is not supported this event relation pattern.
3,, on the device end of the self-defined alarm clock of permission equipment, as mobile terminal, PC, once the definition of user's alarm clock, this alarm clock calling function does not have propagated and reusability.The user can not use this alarm clock on miscellaneous equipment.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art, a kind of serial prompting function that can realize for the thing formed by sequence of events or the composition of matter that is mutually related is provided, this self-defining series can be reminded to the alarm clock semiotics formed and is applied to other electronic equipment simultaneously, and implementation method is simple, application cost is cheap, and in the electronic equipment had wide range of applications, based on sequence of events, set realizes the method that the theme alarm clock is controlled.
In order to realize above-mentioned purpose, in electronic equipment of the present invention, based on sequence of events, set realizes in the method for theme alarm clock control, have theme alarm clock administration module in electronic equipment, described theme alarm clock administration module comprises interconnective alarm clock setup unit and event setup unit.The method comprises the following steps:
(1) system operates according to the user, by described theme alarm clock administration module, sets an alarm clock theme;
(2) system operates according to the user, by described alarm clock setup unit, sets a plurality of alarm clocks in described alarm clock theme;
(3) system operates according to the user, by described event setup unit, sets the event associated with described each alarm clock;
(4) system operates according to the user, by described event setup unit, sets the relation between described each event;
(5) described theme alarm clock administration module is encapsulated as theme alarm clock packet by the relation between described each alarm clock, event and each event;
(6) described theme alarm clock administration module is according to described each alarm clock of the operation of the relation between described each event.
In this electronic equipment, based on sequence of events, set realizes that in the method for theme alarm clock control, the pass between described each event is ordinal relation or conditional relationship, and described ordinal relation is specially the time order and function relation between each event; Described conditional relationship is specially on the basis of time order and function, and the generation of a rear event is confirmed to be the relation of condition with last event.
In this electronic equipment, based on sequence of events, set realizes in the method for theme alarm clock control, pass between described each event is ordinal relation, described theme alarm clock administration module is according to described each alarm clock of the operation of the relation between described each event, and be specially: described theme alarm clock administration module moves described each alarm clock successively according to the ordinal relation between described each event.
In this electronic equipment, based on sequence of events, set realizes that in the method for theme alarm clock control, the pass between described each event is conditional relationship, and described step (6) specifically comprises the following steps:
(61) described theme alarm clock administration module, according to the time order and function relation of described each event, moves the alarm clock with a previous event correlation;
(62) described theme alarm clock administration module request user confirms this previous event;
(63) described theme alarm clock administration module judges whether the user confirms that this previous event occurs, if, enter step (64), if not, return to step (61);
(64) described theme alarm clock administration module, according to described time order and function relation, moves the associated alarm clock of event after this previous event in the alarm clock theme, and, using this event as previous event, returns to step (62).
In this electronic equipment, based on sequence of events, set realizes in method that the theme alarm clock controls, and described event is to set up one or more in voice, picture and the video of storing in electronic equipment.
In this electronic equipment, based on sequence of events, set realizes that in the method for theme alarm clock control, described method is further comprising the steps of afterwards in described step (6):
(7) described electronic equipment by described theme alarm clock Packet Generation to other electronic equipment.
In this electronic equipment, based on sequence of events, set realizes in the method for theme alarm clock control, one or both in described electronic equipment mobile device, PC and server, described electronic equipment to other electronic equipment, is specially described theme alarm clock Packet Generation: a kind of electronic equipment in mobile device, PC and server is sent to described theme alarm clock packet in a kind of electronic equipment in mobile device, PC and server by one or more modes in note, multimedia message, mail, instant messaging and web server.
Adopted that in the electronic equipment of this invention, set realizes the method that the theme alarm clock is controlled based on sequence of events, device systems not only according to user's operating and setting quantity and the event corresponding to alarm clock of the theme of serial alarm clock, included alarm clock, also set the relation between described each event, move each alarm clock according to the relation between described each event, thereby can make the user define a series of alarm clocks with regard to a theme, realize the serial prompting function for the thing formed by sequence of events or the composition of matter that is mutually related.Further, the present invention also is encapsulated as theme alarm clock packet by the relation between described each alarm clock, event and each event, by sending this packet to miscellaneous equipment, make this self-defining series remind the alarm clock theme formed can be applied to other electronic equipment, expanded the scope of application of theme alarm clock, and in electronic equipment of the present invention, set realizes the method that the theme alarm clock is controlled based on sequence of events, its implementation is simple, application cost is cheap, and range of application is also comparatively extensive.
The accompanying drawing explanation
Fig. 1 is that in electronic equipment of the present invention, based on sequence of events, set realizes the flow chart of steps of the method that the theme alarm clock is controlled.
Fig. 2 is in practical application of the present invention, between event, to be each event alarm clock calling sequential schematic of linear independence relation.
Fig. 3 is in practical application of the present invention, between event, to be each event alarm clock calling sequential schematic of linear correlation relation.
Fig. 4 is that in electronic equipment of the present invention, based on sequence of events, set realizes the alarm clock subject data form pack arrangement schematic diagram in method that the theme alarm clock controls.
Embodiment
In order more clearly to understand the technology page of the present invention, especially exemplified by following examples, describe in detail.
Refer to shown in Fig. 1, in electronic equipment of the present invention, based on sequence of events, set realizes the flow chart of steps of the method that the theme alarm clock is controlled.
Utilize the electronic equipment of method of the present invention to have theme alarm clock administration module, this theme alarm clock administration module comprises interconnective alarm clock setup unit and event setup unit.In one embodiment, the method comprises the following steps:
(1) system operates according to the user, by described theme alarm clock administration module, sets an alarm clock theme;
(2) system operates according to the user, by described alarm clock setup unit, sets a plurality of alarm clocks in described alarm clock theme;
(3) system operates according to the user, by described event setup unit, sets the event associated with described each alarm clock;
(4) system operates according to the user, by described event setup unit, sets the relation between described each event;
(5) described theme alarm clock administration module is encapsulated as theme alarm clock packet by the relation between described each alarm clock, event and each event;
(6) described theme alarm clock administration module is according to described each alarm clock of the operation of the relation between described each event.
A kind of preferred embodiment in, the pass between described each event is ordinal relation or conditional relationship, described ordinal relation is specially the time order and function relation between each event; Described conditional relationship is specially on the basis of time order and function, and the generation of a rear event is confirmed to be the relation of condition with last event.
Accordingly, if the pass between described each event is ordinal relation, the described theme alarm clock of step (6) administration module is according to described each alarm clock of the operation of the relation between described each event, and be specially: described theme alarm clock administration module moves described each alarm clock successively according to the ordinal relation between described each event.
And if the pass between described each event is conditional relationship, described step (6) specifically comprises the following steps:
(61) described theme alarm clock administration module, according to the time order and function relation of described each event, moves the alarm clock with a previous event correlation;
(62) described theme alarm clock administration module request user confirms this previous event;
(63) described theme alarm clock administration module judges whether the user confirms that this previous event occurs, if, enter step (64), if not, return to step (61);
(64) described theme alarm clock administration module, according to described time order and function relation, moves the associated alarm clock of event after this previous event in the alarm clock theme, and, using this event as previous event, returns to step (62).
At further preferred embodiment, described event can be for setting up one or more in voice, picture and the video of storing in electronic equipment.
In a kind of preferred execution mode, described method is further comprising the steps of afterwards in described step (6):
(7) described electronic equipment by described theme alarm clock Packet Generation to other electronic equipment.
And one or both in electronic equipment mobile device, PC and server wherein.The described electronic equipment of step (5) to other electronic equipment, is specially described theme alarm clock Packet Generation: a kind of electronic equipment in mobile device, PC and server is sent to described theme alarm clock packet in a kind of electronic equipment in mobile device, PC and server by one or more modes in note, multimedia message, mail, instant messaging and web server.
In actual applications, in electronic equipment of the present invention, based on sequence of events, set realizes that the method that the theme alarm clock is controlled has following characteristics:
1,, on the equipment of various support alarm clocks, the thing that needs are reminded is divided into the set of a plurality of events, and sets up the relation between these events.
2, the relation between event can be concrete is described as linear independence (ordinal relation) and linear dependence (conditional relationship).Linear independence refers between a plurality of events that form thing does not have other dependence except the precedence relationship of time.Linear dependence refers between a plurality of events that form thing, except the precedence relationship of time, whether the rear event that determining of last event occurs, event there is dependence.
3, according to the relation between event, when the alarm clock theme is set on equipment, according to user's needs, give and need the thing of reminding to set up alarm clock calling, its method is to the single alarm clock event notification of each event establishment that forms this thing, if be linear independence between event, set up absolute time (as required can to each event, set up relative time also can to each event), if event is linear correlation, can set up relative time for each event.
4, for each event that forms the prompting of alarm clock theme, the media such as the voice that can set up device systems to provide, picture, video, also can set up the media such as the self-defining voice of equipment user, picture, video.
5, remind for the alarm clock theme be successfully established, when the theme thing occurs, first provide first event alarm clock calling that forms this thing, if event is linear independence, as shown in Figure 2, then according to the relation of event, provide successively each event alarm clock calling.
6, for the alarm clock theme be successfully established, remind, when thing occurs, first provide first event alarm clock calling that forms this thing, if event is linear correlation, as shown in Figure 3, only have event must obtain equipment alarm clock user's confirmation, just start the generation timing for next event, if event does not obtain equipment alarm clock user's confirmation, next event can not occur.
7, remind for the alarm clock theme be successfully established, form the prompting of each event of theme thing prompting, reflecting the progress of ongoing thing.
8, remind for the alarm clock theme occurred, in the equipment alarm clock application, separate data structure is as shown in Figure 4 arranged, the equipment alarm clock application can be according to the alarm clock subject data form bag of this data structure building the present invention definition.
9, equipment alarm clock user can pass through device network, the alarm clock subject data form bag of the present invention's definition is propagated and is shared by communication tool, as note, multimedia message, mail, instant messaging, web server etc.After other equipment alarm clock users are resolved the alarm clock subject data form bag got, at reusable this alarm clock theme of its local device.
Adopted that in the electronic equipment of this invention, set realizes the method that the theme alarm clock is controlled based on sequence of events, device systems not only according to user's operating and setting quantity and the event corresponding to alarm clock of the theme of serial alarm clock, included alarm clock, also set the relation between described each event, move each alarm clock according to the relation between described each event, thereby can make the user define a series of alarm clocks with regard to a theme, realize the serial prompting function for the thing formed by sequence of events or the composition of matter that is mutually related.Further, the present invention also is encapsulated as theme alarm clock packet by the relation between described each alarm clock, event and each event, by sending this packet to miscellaneous equipment, make this self-defining series remind the alarm clock theme formed can be applied to other electronic equipment, expanded the scope of application of theme alarm clock, and in electronic equipment of the present invention, set realizes the method that the theme alarm clock is controlled based on sequence of events, its implementation is simple, application cost is cheap, and range of application is also comparatively extensive.
In this specification, the present invention is described with reference to its specific embodiment.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.