CN109474750A - Method, apparatus, electronic equipment and the medium of alarm clock are set - Google Patents

Method, apparatus, electronic equipment and the medium of alarm clock are set Download PDF

Info

Publication number
CN109474750A
CN109474750A CN201811553803.4A CN201811553803A CN109474750A CN 109474750 A CN109474750 A CN 109474750A CN 201811553803 A CN201811553803 A CN 201811553803A CN 109474750 A CN109474750 A CN 109474750A
Authority
CN
China
Prior art keywords
alarm clock
environment parameter
parameter
history
history environment
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.)
Pending
Application number
CN201811553803.4A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811553803.4A priority Critical patent/CN109474750A/en
Publication of CN109474750A publication Critical patent/CN109474750A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Electric Clocks (AREA)

Abstract

This application discloses a kind of method, apparatus, electronic equipment and media that alarm clock is arranged.Wherein, in the application, after obtaining the current environment parameter for target terminal, pre-stored history environment parameter is transferred, and the matching relationship based on current environment parameter and history environment parameter, corresponding alarm clock is set.It by the technical solution of application the application, can be recorded according to the local environment and history alarm clock of current electronic device, the automatic correspondence alarm clock for being suitble to current environment for user setting.When because of personal reason forgetting that alarm clock is arranged so as to avoid user, electronic equipment can not carry out clock alarming to user.And then cause to reduce user experience.

Description

Method, apparatus, electronic equipment and the medium of alarm clock are set
Technical field
This application involves the information processing technology, especially a kind of method, apparatus, electronic equipment and medium that alarm clock is set.
Background technique
With the development of communication and society, smart electronics terminal is obtained extensively as more and more users use Development.
Wherein, the alarm clock function on mobile terminal becomes the very high function of frequency of use in terminal user's daily life Energy.By the way that alarm clock is arranged, the purpose for reminding user at the scheduled time can achieve.In general technology, used in user mobile whole When alarm clock function on end, user can shift to an earlier date the opening time of manual setting alarm clock, then to reach this preset noisy When the clock opening time, mobile terminal can be by jingle bell, and the modes such as vibration are reminded.
However, when user forgets to preset corresponding alarm clock function due to personal, and or will set in advance unintentionally When the alarm clock function set is closed, then will lead to alarm clock in the time for presetting alarm clock calling not will do it prompting, so as to cause User cannot do the thing mapped out in preset basis of time alarm clock calling, reduce user experience.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus, electronic equipment and medium that alarm clock is arranged.
Wherein, according to the one aspect of the embodiment of the present application, a kind of method of the setting alarm clock provided, which is characterized in that Include:
The current environment parameter for being directed to target terminal is obtained, the current environment parameter is for being characterized in current time, institute State the parameter information that target terminal corresponds to use environment;
Pre-stored history environment parameter is transferred, the history environment parameter is the institute when alarm clock is arranged in historical period State the parameter information that target terminal corresponds to use environment;
Matching relationship based on the current environment parameter and the history environment parameter, is arranged corresponding alarm clock.
Optionally, it in another embodiment based on the application above method, obtains described for target terminal Before current environment parameter, further includes:
The corresponding alarm clock calling time of each history environment parameter is detected, and records each history environment parameter and makes a noise The corresponding relationship of clock reminder time.
Optionally, described to be based on the current environment parameter in another embodiment based on the application above method And the matching relationship of the history environment parameter, corresponding alarm clock is set, comprising:
The matching value for calculating the current environment parameter Yu each history environment parameter obtains the first history environment ginseng Number, the first history environment parameter are the corresponding history environment parameter of the highest matching value of numerical value in each matching value;
Based on the corresponding alarm clock calling time of the first history environment parameter, the corresponding alarm clock is set.
Optionally, in another embodiment based on the application above method, each history environment ginseng of detection The corresponding alarm clock calling time of number, and the corresponding relationship of each the history environment parameter and the alarm clock calling time is recorded, it wraps It includes:
When receiving the first setting instruction for the first alarm clock, detection is mentioned for the first alarm clock of first alarm clock Awake time and the second history environment parameter, first alarm clock are in the first preset time period before current point in time It is interior, and/or, any one alarm clock in the first preset times;
Record the corresponding relationship of the second history environment parameter Yu first alarm clock calling time.
Optionally, in another embodiment based on the application above method, each history environment ginseng of detection The corresponding alarm clock calling time of number, and the corresponding relationship of each the history environment parameter and the alarm clock calling time is recorded, it wraps It includes:
It detects the corresponding alarm clock calling time of each history environment parameter and each history environment parameter is corresponding Travel information;
The travel information correspondence of each history environment parameter is added to each history environment parameter and the alarm clock In the corresponding relationship of reminder time, and record the corresponding relationship of each the history environment parameter and the alarm clock calling time.
Optionally, in another embodiment based on the application above method, each history environment is recorded described After the corresponding relationship of parameter and the alarm clock calling time, further includes:
When getting target stroke information, it is corresponding with the alarm clock calling time to traverse each history environment parameter Relationship;
When detecting in each history environment parameter, there is the second history ring to match with the target stroke information When the parameter of border, it is based on the corresponding alarm clock calling time of the second history environment parameter, corresponding alarm clock is set.
Optionally, in another embodiment based on the application above method, the current environment ginseng is calculated described Several matching values with each history environment parameter, after obtaining the first history environment parameter, further includes:
When detecting the presence of at least two third history environment parameters, at least two thirds history environment ginseng Number respective generation times, the third history environment parameter be in each matching value, numerical value highest matching value pair side by side The history environment parameter answered;
Based in at least two thirds history environment parameter, the third history environment parameter of time the latest is generated, if Set corresponding alarm clock.
Optionally, in another embodiment based on the application above method, based on the current environment parameter and The matching relationship of the history environment parameter, is arranged corresponding alarm clock, comprising:
Calculate the matching value of the current environment parameter Yu each history environment parameter;
When detecting each matching value lower than preset threshold, monitors whether to receive and set for the second of the second alarm clock Instruction is set, the second setting instruction sets for the alarm clock generated after the acquisition is directed to the current environment parameter of target terminal Set instruction;
When receiving the setting instruction for second alarm clock, second setting is set and instructs corresponding alarm clock.
Optionally, in another embodiment based on the application above method, based on the current environment parameter with And the matching relationship of the history environment parameter, it is arranged after corresponding alarm clock, comprising:
Prompt information is generated, the prompt information is for prompting user that corresponding alarm clock has currently been arranged.
Optionally, described to transfer pre-stored history ring in another embodiment based on the application above method Border parameter, comprising:
It transfers in the second preset time period before current point in time, and/or, the history ring in the second preset times Border parameter.
Optionally, described to obtain working as target terminal in another embodiment based on the application above method Preceding environmental parameter, comprising:
When detecting current point in time is predetermined time, the current environment parameter for being directed to the target terminal is obtained.
Optionally, in another embodiment based on the application above method, the environmental parameter includes weather parameters Any one or more in information, height parameter information, position parameter data and time parameter information.
According to the other side of the embodiment of the present application, a kind of device of the setting alarm clock provided, comprising:
Module is obtained, for obtaining the current environment parameter for being directed to target terminal, the current environment parameter is for characterizing At current time, the target terminal corresponds to the parameter information of use environment;
Module is transferred, for transferring pre-stored history environment parameter, the history environment parameter is in historical period When alarm clock is arranged, the target terminal corresponds to the parameter information of use environment;
Setup module, for the matching relationship based on the current environment parameter and the history environment parameter, setting Corresponding alarm clock.
According to the another aspect of the embodiment of the present application, a kind of electronic equipment that provides, comprising:
Memory, for storing executable instruction;And
The device of alarm clock is set, for the memory setting alarm clock with execute the executable instruction to complete State the operation of the method for any setting alarm clock.
According to the still another aspect of the embodiment of the present application, a kind of computer readable storage medium provided, based on storing The instruction that calculation machine can be read, described instruction are performed the operation for executing the method for any of the above-described setting alarm clock.
In the application, after obtaining the current environment parameter for target terminal, pre-stored history environment ginseng is transferred Number, and the matching relationship based on current environment parameter and history environment parameter, are arranged corresponding alarm clock.By applying the application Technical solution, can be recorded according to the local environment and history alarm clock of current electronic device, be suitble to work as user setting automatically The correspondence alarm clock of preceding environment.So as to avoid user because personal reason forget be arranged alarm clock when, electronic equipment can not to user into Row clock alarming.And then cause to reduce user experience.
Below by drawings and examples, the technical solution of the application is described in further detail.
Detailed description of the invention
The attached drawing for constituting part of specification describes embodiments herein, and together with description for explaining The principle of the application.
The application can be more clearly understood according to following detailed description referring to attached drawing, in which:
Fig. 1 is the flow chart of method one embodiment that alarm clock is arranged in the application.
Fig. 2 is the flow chart that another embodiment of the method for alarm clock is arranged in the application.
Fig. 3 is the flow chart that another embodiment of the method for alarm clock is arranged in the application.
Fig. 4 is the flow chart for the method further embodiment that alarm clock is arranged in the application.
Fig. 5 is the flow chart for the method a still further embodiment that alarm clock is arranged in the application.
Fig. 6 is the structural schematic diagram for the device that alarm clock is arranged in the application.
Fig. 7 is the electronic devices structure schematic diagram that alarm clock is arranged in the application.
Specific embodiment
The various exemplary embodiments of the application are described in detail now with reference to attached drawing.It should also be noted that unless in addition having Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of application.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality Proportionate relationship draw.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the application And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
It is to be appreciated that the directional instruction (such as up, down, left, right, before and after ...) of institute is only used in the embodiment of the present application In explaining in relative positional relationship, the motion conditions etc. under a certain particular pose (as shown in the picture) between each component, if should When particular pose changes, then directionality instruction also correspondingly changes correspondingly.
In addition, the description for being such as related to " first ", " second " in this application is used for description purposes only, and should not be understood as Its relative importance of indication or suggestion or the quantity for implicitly indicating indicated technical characteristic.Define as a result, " first ", The feature of " second " can explicitly or implicitly include at least one of the features.In the description of the present application, " multiples' " contains Justice is at least two, such as two, three etc., unless otherwise specifically defined.
In this application unless specifically defined or limited otherwise, term " connection ", " fixation " etc. shall be understood in a broad sense, For example, " fixation " may be a fixed connection, it may be a detachable connection, or integral;It can be mechanical connection, be also possible to Electrical connection;It can be directly connected, the connection inside two elements or two can also be can be indirectly connected through an intermediary The interaction relationship of a element, unless otherwise restricted clearly.It for the ordinary skill in the art, can basis Concrete condition understands the concrete meaning of above-mentioned term in this application.
It in addition, the technical solution between each embodiment of the application can be combined with each other, but must be general with this field Based on logical technical staff can be realized, it will be understood that when the combination of technical solution appearance is conflicting or cannot achieve this The combination of technical solution is not present, also not this application claims protection scope within.
It is described below with reference to Fig. 1 to Fig. 5 according to the application illustrative embodiments for being configured the side of alarm clock Method.It should be noted that following application scenarios are merely for convenience of understanding spirit herein and principle and showing, the application's Embodiment is unrestricted in this regard.On the contrary, presently filed embodiment can be applied to applicable any scene.
The application proposes a kind of method, apparatus, target terminal and medium that alarm clock is arranged.
Fig. 1 schematically shows a kind of flow diagram of the method for setting alarm clock according to the application embodiment. As shown in Figure 1, this method comprises:
S101 obtains the current environment parameter for being directed to target terminal, and current environment parameter is for being characterized in current time, mesh Mark terminal corresponds to the parameter information of use environment.
Firstly the need of explanation, the application does not do concrete restriction to target terminal.For example, an object of the application terminal can Think the electric terminals such as mobile phone, or the electric terminals such as PAD.The type variation of target terminal will not influence the application's Protection scope.
Optionally, the available current environment parameter for the target terminal in the application, which can Think the parameter in the use environment at the current time of target terminal.For example, when at 15 in the 2018.12.12 days afternoons, electronics Terminal is available in 15 point moment in 2018.12.12 days afternoons, believes for the parameter of the periphery use environment of target terminal Breath.
Further, in the application, current environment parameter may be the environment in distance objective terminal preset range Parameter information.It is understood that the application is not specifically limited preset range, for example, the current environment in the application is joined Number can be the ambient parameter information centered on target terminal, within the scope of the 500m of periphery.
Further, environmental parameter is not specifically limited in the application, it is to be understood that as long as can characterize The parameter information of corresponding use environment in target terminal preset range, can be used as the environmental parameter of the application.Example Such as, environmental parameter can be weather parameters information, the audio parameter information, locating height parameter of target terminal within a preset range Information, present position parameter information, time parameter information etc..
It also should be noted that not doing and having to the time for the current environment parameter for obtaining target terminal in the application Body limits.That is, the current environment parameter of target terminal can be obtained in the application in real time by electronic equipment, it can also be by electronics Equipment obtains the current environment parameter of target terminal after every prescribed time period.For example, can in daily 6:00,12: The period of 00,18:00,24:00 respectively obtain the current environment parameter of a target terminal.Likewise, can also be set by electronics For after monitoring every mobile preset distance, the current environment parameter of target terminal is obtained.
It should be noted that not done to the electronic equipment for the current environment parameter for obtaining target terminal equally in the application It is specific to limit.That is, the current environment parameter of itself can be obtained in the application by target terminal.Likewise, can also be by it His electronic equipment obtains the current environment parameter of target terminal.For example, server etc..
S102, transfers pre-stored history environment parameter, and history environment parameter is the mesh when alarm clock is arranged in historical period Mark terminal corresponds to the parameter information of use environment.
It optionally,, can be from target terminal after getting the current environment parameter for target terminal in the application Transfer pre-stored multiple history environment parameters, wherein multiple history environment parameter be before current time, The history environment parameter generated in predetermined period.Further, which is the mesh when alarm clock is arranged in historical period Mark terminal corresponds to the parameter information of use environment.
Further, it is transferred in target terminal with corresponding to, the current time of pre-stored history environment parameter is 2018.12.12 for day 15:00: then the history environment parameter be in the period before 2018.12.12 days 15:00, Each time when user setting alarm clock, by the parameter information of the correspondence use environment of target terminal acquisition.For example, it may be 2018.12.10 when day 20:00, when target terminal receives the alarm clock that second day early morning is arranged in of user's generation, by target Terminal is collected in 2018.12.10 days 20:00 moment, the parameter information of the corresponding use environment in target terminal present position (it is located at XX cell, rain and snow weather is highly 15m etc.).
S103, the matching relationship based on current environment parameter and history environment parameter, is arranged corresponding alarm clock.
In the application, after transferring pre-stored history environment parameter, the target terminal that can will be referred in S101 The matching corresponding with the progress of history environment parameter of current environment parameter, and according to the matching relationship, for target terminal setting pair The alarm clock answered.
It should be noted that in the application, when history environment parameter has multiple, need by current environment parameter with it is multiple History environment parameter is matched one by one.And according to the multiple matching results carried out after matching one by one, for target terminal setting pair The alarm clock answered.
In the application, after obtaining the current environment parameter for target terminal, pre-stored history environment ginseng is transferred Number, and the matching relationship based on current environment parameter and history environment parameter, are arranged corresponding alarm clock.By applying the application Technical solution, can be recorded according to the local environment and history alarm clock of current electronic device, be suitble to work as user setting automatically The correspondence alarm clock of preceding environment.So as to avoid user because personal reason forget be arranged alarm clock when, electronic equipment can not to user into Row clock alarming.And then cause to reduce user experience.
Optionally, the environmental parameter in the application can include but is not limited to following parameter information any one or it is more Kind:
Weather parameters information, height parameter information, position parameter data and time parameter information.
Further, pre-stored history environment parameter is transferred in the application, comprising:
It transfers in the second preset time period before current point in time, and/or, the history ring in the second preset times Border parameter.
Optionally, it in the application, can transfer after the current environment parameter for obtaining target terminal apart from current time In the second preset time period before point, and/or, the history environment parameter in the second preset times.Wherein it should be noted that In second preset time period, and/or, the history environment parameter in the second preset times can be to be stored in advance in terminal itself Multiple history environment parameters, or be uploaded to multiple history environment parameters of server in advance by target terminal.
It should also be noted that, not being specifically limited to the second preset time period, i.e. the second preset time period in the application It can be 24 hours periods, the second preset time period may be 72 hours periods.Likewise, in the application, Second preset times are not specifically limited, i.e. the second preset times can be 5 times, and the second preset times may be 10 times. The specific variation of second preset time period and the second preset times will not influence the protection scope of the application.
Further alternative, the acquisition in the application is directed to the current environment parameter of target terminal, can be with are as follows:
When detecting current point in time is predetermined time, the current environment parameter for being directed to target terminal is obtained.
For example, in order to avoid obtaining the money of unnecessary waste electronic equipment caused by the current environment parameter of target terminal in real time The drawbacks of source.In the application, when can choose at the time of default, the function of the acquisition current environment parameter to target terminal is opened Energy.
It should be noted that not being specifically limited to predetermined time in the application.In following two preferred embodiment In, predetermined time can be workaday 6:00,12:00,18:00, four periods of 24:00.Alternatively, predetermined time can also Think two periods of the 12:00,18:00 on day off.
It is further alternative, in a kind of embodiment of the application, (obtains in S101 and work as front ring for target terminal Border parameter) before, it further include a kind of specific embodiment, as shown in Figure 2, comprising:
S201 detects the corresponding alarm clock calling time of each history environment parameter, and records each history environment parameter and alarm clock The corresponding relationship of reminder time.
Optionally, in the application, before obtaining the current environment parameter for target terminal, it is also necessary to which detection is each first Alarm clock calling time corresponding to history environment parameter, and detecting alarm clock calling time corresponding to each history environment parameter Afterwards, then by each history environment parameter with the corresponding relationship of alarm clock calling time it is recorded in corresponding electronic equipment.
It is illustrated herein, for example, by taking history environment parameter is the corresponding environmental parameter of alarm clock A as an example, firstly, electric Sub- equipment can acquire user within a preset period of time before receiving current environment parameter, and the usage record of alarm clock A is arranged.Into One step, for user's first, on weekdays 2018.10.10 days afternoons, it is being located at YangQiao, FengTai District, BeiJing City mansion In 12 layers of office, it is arranged one to remind the alarm clock A for oneself starting body building.Wherein, alarm clock A is the evening on the day of The upper 20:00 moment opens the alarm clock of jingle bell prompting.For the behavior of user's first, when target terminal is collecting user setting After alarm clock A, detecting the corresponding alarm clock calling time of alarm clock A is evening on working day 20:00, further, by A pairs of the alarm clock The history environment parameter answered is recorded in corresponding electronic equipment with the corresponding relationship of evening on working day 20:00.
It can also be appreciated that for example, by history environment parameter be the corresponding environmental parameter of alarm clock B for, firstly, electric Sub- equipment can acquire user within a preset period of time before receiving current environment parameter, and the usage record of alarm clock B is arranged.Into One step, for user's second, in the afternoon on day off 2018.12.12 day, it is being located at Fengtai District, Beijing City morning twilight cell In 4 layers of family, it is arranged one to remind the alarm clock B for getting up oneself morning and attending class.Wherein, alarm clock B is in the next morning The 08:00 moment opens the alarm clock of jingle bell prompting.For the behavior of user's second, when target terminal is collecting the noisy of user setting After clock B, second day early morning 08:00 that the corresponding alarm clock calling time of alarm clock B is day off is detected, further, by this The corresponding history environment parameter of alarm clock B is recorded corresponding electronics with the corresponding relationship of second day early morning 08:00 on day off and sets In standby.
S202 transfers pre-stored history environment parameter.
S203 calculates the matching value of current environment parameter and each history environment parameter, obtains the first history environment parameter, the One history environment parameter is the corresponding history environment parameter of the highest matching value of numerical value in each matching value.
In a kind of embodiment of the application, the matching value for calculating current environment parameter and each history environment parameter can be with It generates and obtains in the following manner:
When receiving the first setting instruction for the first alarm clock, when detection is directed to the first alarm clock calling of the first alarm clock Between and the second history environment parameter, the first alarm clock be in the first preset time period before current point in time, and/ Or, any one alarm clock in the first preset times.
Record the corresponding relationship of the second history environment parameter Yu first alarm clock calling time.
Optionally, after transferring pre-stored history environment parameter, current environment parameter can be calculated first and is respectively gone through Each matching value of history environmental parameter, and from each matching value being calculated, it is corresponding to choose the highest matching value of numerical value History environment parameter is as the first history environment parameter, so that subsequent according to the first history environment parameter, setting is corresponding noisy Clock.
It is equally illustrated with the example above, for example, when there is only two history rings for the history environment parameter transferred When the parameter of border, and when the corresponding history environment parameter of respectively alarm clock A and the corresponding history environment parameter of alarm clock B, examine respectively Measure the corresponding history environment parameter of alarm clock A and corresponding clock alarming time are as follows: position parameter data is shopping centre Parameter information, height parameter information are the parameter information of high-rise building, and time parameter information is the parameter information in afternoon on working day, are made a noise Bell reminder time is evening on working day 20:00.And when the corresponding history environment parameter of alarm clock B and corresponding clock alarming Between are as follows: position parameter data is the parameter information of residential block, and weather parameters information is the parameter information of fair weather, time parameter Information is parameter information the period in the evening on day off, and the clock alarming time is second day day off early morning 08:00.
Further, by current environment parameter history environment parameter corresponding with alarm clock A and alarm clock B is corresponding goes through respectively History environmental parameter is matched.For example, be the parameter information in shopping centre with the position parameter data in current environment parameter, it is high Spending parameter information is the parameter information greater than 40m, and time parameter information is parameter information, weather parameters information the period in the afternoon For the parameter information of fair weather.By in the respective history environment parameter of alarm clock A and alarm clock B each parameter information with Each parameter information in current environment parameter carries out Corresponding matching.Specifically, in matching position parameter information, due to current Location information in environmental parameter is the position parameter data of shopping centre.Corresponding, electronic equipment detects that alarm clock A is corresponding and goes through Position parameter data is shopping centre in history environmental parameter, then the matching numerical value of alarm clock A and current environment parameter is added a counting Unit.Further, in match time parameter information, since the location information in current environment parameter is the period in the afternoon Parameter information.Corresponding, electronic equipment detects that the time parameter information in the corresponding history environment parameter of alarm clock A is 14:30- 15:00 then continues the matching numerical value of alarm clock A and current environment parameter to add a digit.And so on, until will be current All parameter informations of environmental parameter history environment parameter corresponding with each alarm clock matches.
Further, current environment parameter is being matched with the history environment parameter of alarm clock A and alarm clock B respectively Afterwards, the higher matching result of matching degree of the corresponding history environment parameter of alarm clock A Yu current environment parameter is obtained, and then is determined In multiple history environment parameters, the matching degree of the corresponding history environment parameter of alarm clock A and current environment parameter is highest, alarm clock B The matching degree of corresponding history environment parameter and current environment parameter is time height.
It should be noted that recording in corresponding history environment parameter, can configuring more to each alarm clock in the application A corresponding parameter information.For example, each alarm clock records in corresponding history environment parameter, two different priorities can be configured Position parameter data, the parameter information of two time different priorities, the weather parameters information of two different priorities and The height parameter information etc. of two different priorities.And it can be according to the usage record of user, respectively to each parameter information Carry out the setting of corresponding matching angle value.For example, for alarm clock A, when detect the company for being located at shopping centre for user 5 times and It is located in the family of residential block simultaneously when alarm clock A is set for 2 times, it can be by the position parameter data of the shopping centre and by the residential block Position parameter data simultaneously be recorded in the corresponding history environment parameter of alarm clock A.And it being set according to respective position The position parameter data for being located at shopping centre is set as the higher position parameter data of priority by number.
It should also be noted that, not being specifically limited to the first preset time period, i.e. the first preset time period in the application It can be 24 hours periods, the first preset time period may be 72 hours periods.Likewise, in the application, First preset times are not specifically limited, i.e. the first preset times can be 5 times, and the first preset times may be 10 times. The specific variation of first preset time period and the first preset times will not influence the protection scope of the application.
S204 is based on the corresponding alarm clock calling time of the first history environment parameter, corresponding alarm clock is arranged.
Optionally, in the application, the matching value of current environment parameter and each history environment parameter is being calculated, and obtain first After history environment parameter, alarm clock can be generated for user at current time automatically.And the alarm clock calling time of the alarm clock is arranged For the corresponding alarm clock calling time of the first history environment parameter.
In the application, the corresponding relationship of each history environment parameter and alarm clock calling time is recorded first, and be directed in acquisition Before the current environment parameter of target terminal, transfer pre-stored history environment parameter, and based on current environment parameter and Corresponding alarm clock is arranged in the matching relationship of history environment parameter.It, can be according to current electricity by the technical solution of application the application The local environment and history alarm clock of sub- equipment record corresponding ring time and remind, and are automatically user setting history alarm clock record pair The alarm clock for the ring time answered.So as to which when user forgets that alarm clock ring time is arranged, electronic equipment is set automatically for user The alarm clock of corresponding ring time is set, to save the operating time of user.
Further, in this application it before S101 (obtaining the current environment parameter for being directed to target terminal), also wraps Include a kind of specific embodiment.Optionally, the application further includes a kind of method that alarm clock is arranged, as shown in figure 3,
S301 detects the corresponding alarm clock calling time of each history environment parameter and the corresponding row of each history environment parameter Journey information.
Optionally, in the application, before obtaining the current environment parameter for target terminal, it is also necessary to which detection is each first Alarm clock calling time corresponding to history environment parameter and the corresponding travel information of each history environment parameter.
The travel information correspondence of each history environment parameter is added to each history environment parameter and alarm clock calling time by S302 Corresponding relationship in, and record the corresponding relationship of each history environment parameter and alarm clock calling time.
Optionally, in the application, alarm clock calling time corresponding to each history environment parameter and corresponding is being detected Travel information and then each history environment parameter and the corresponding relationship of alarm clock calling time and corresponding travel information are recorded Into corresponding electronic equipment.
It is illustrated herein, for example, by taking history environment parameter is the corresponding environmental parameter of alarm clock C as an example, firstly, electric Sub- equipment can collect user third within a preset period of time before receiving current environment parameter, the use note of setting alarm clock C Record.Further, for user third, on weekdays 2018.12.10 days afternoons, it is being located at Fengtai District, Beijing City ocean In the office of 12 floor of bridge mansion, an alarm clock C is set.Wherein, alarm clock C is at the 06:00 moment in the 2018.12.11 days mornings Open the alarm clock that jingle bell is reminded.And user third is after setting up alarm clock C, in the electronic device by the corresponding stroke of alarm clock C Information is set as " Shanghai is gone to go on business ".For the behavior of user third, when target terminal is in the alarm clock C for collecting user setting Afterwards, detect that the corresponding alarm clock calling time of alarm clock C is evening on working day 20:00 and travel information is to go on business Shanghai, more into One step, by the corresponding relationship note of the corresponding history environment parameter of alarm clock C and 06:00 in morning moment, and Shanghai of going on business It records in corresponding electronic equipment.
S303 traverses each history environment parameter pass corresponding with alarm clock calling time when getting target stroke information System.
Optionally, in the application, after recording the corresponding relationship of each history environment parameter and alarm clock calling time, detection is worked as It is preceding whether to get target stroke information, and when getting target stroke information, it traverses each history environment parameter and is mentioned with alarm clock The corresponding relationship of awake time wherein includes the corresponding travel information of each history environment parameter in the corresponding relationship.
Further, which can be the travel information that electronic equipment automatically detects.For example, working as user When going to the plane ticket in Shanghai using certain application program purchase of the target terminal, system can get the purchase aircraft automatically The information of ticket.And then be generated for user automatically, go to the target stroke information in Shanghai.
It should be understood that the target stroke information may be the travel information that user generates.For example, when user uses certain When application program has purchased the train ticket for going to Chengdu, the information of the purchase train ticket can be added to target terminal by user In certain application program (such as memorandum, calendar).Letter of the system when the acquisition of information added according to user to the purchase train ticket It after breath, and then is generated for user automatically, goes to the target stroke information in Chengdu.
There is the second history environment to match with target stroke information when detecting in each history environment parameter in S304 When parameter, it is based on the corresponding alarm clock calling time of the second history environment parameter, corresponding alarm clock is set.
Optionally, in the application, when getting target stroke information, and traversing each history environment parameter and alarm clock calling Between corresponding relationship after, if detected in pre-stored each history environment parameter, exist and match with target stroke information The second history environment parameter when, can automatically be the corresponding quarter-bell of user setting.And it sets the ring time of the quarter-bell to The corresponding alarm clock calling time of second history environment parameter.
Likewise, by taking the content referred in S302 as an example, when target terminal detects that user has bought flying for Shanghai of flying to When air ticket, the target stroke information in Shanghai of going on business is generated.Further, target terminal traverses each history environment parameter and alarm clock The corresponding relationship of reminder time.And when detecting the presence of the corresponding second history environment parameter of alarm clock C and 06:00 in morning Carve, and Shanghai of going on business corresponding relationship when, automatically be the corresponding quarter-bell of user setting.And the ring time of the quarter-bell is set It is set on the day of aircraft at 06:00 moment in the morning.
In the application, the corresponding relationship of each history environment parameter and travel information and alarm clock calling time is recorded first, And before obtaining the current environment parameter for target terminal, pre-stored history environment parameter is transferred, and based on current The matching relationship of the travel information of environmental parameter and history environment parameter, is arranged corresponding alarm clock.Pass through application the application's Technical solution, can be by corresponding travel information phase in travel information and history alarm clock that current electronic device is got record Match, automatic is the alarm clock of the corresponding ring time of user setting the trip information.So as to forget to set for certain stroke in user When setting alarm clock ring time, electronic equipment is the corresponding alarm clock ring time of the good the trip information of user setting automatically, to save The operating time of user.
Further, in this application it before S101 (obtaining the current environment parameter for being directed to target terminal), also wraps Include a kind of specific embodiment.Optionally, the application further includes a kind of method that alarm clock is arranged, as shown in figure 4,
S401 detects the corresponding alarm clock calling time of each history environment parameter, and records each history environment parameter and alarm clock The corresponding relationship of reminder time.
S402 calculates the matching value of current environment parameter and each history environment parameter, obtains the first history environment parameter.
Optionally, in the application, electronic equipment can calculate the matching value of current environment parameter Yu each history environment parameter, Obtain the first history environment parameter.For example, equally with the S203 alarm clock A referred to for example, electronic equipment can be in every detection To user's first in the office for being located at 12 floor of YangQiao, FengTai District, BeiJing City mansion, when alarm clock A is arranged, i.e., respectively to alarm clock The higher level parameters information in shopping centre parameter information, height parameter in the corresponding location parameter of A, the lower period of the day from 11 a.m. to 1 p.m in time parameter Between section parameter information respectively add a digit.It is understood that when electronic equipment often detects user's first in evening On, in 3 layers of Fengtai District, Beijing City morning twilight cell of family, when alarm clock B is set.Electronic equipment is then corresponding to alarm clock B respectively The lowrise layer parameter information in residential block parameter information, height parameter in location parameter, in time parameter period in the evening Parameter information equally respectively adds a digit.
Further, can be by each alarm clock in the application, the most current environment parameter conduct of stored count unit The corresponding history environment parameter of the alarm clock icon.For example, when electric terminal detects user's first at noon, in Fengtai District, Beijing City In the office that 12 layers of YangQiao Building, the behavior of setting alarm clock A occurs 10 times, at night, it is small to be located at Fengtai District, Beijing City morning twilight It, then will be to the shopping centre parameter in the corresponding location parameter of alarm clock A when the behavior of setting alarm clock B occurs 3 times in the family of 3 floor of area The parameter information in high-storey parameter information, time parameter in information, height parameter is added to ten the period in the afternoon respectively Digit.It will be to the residential block parameter information in the corresponding location parameter of alarm clock B, the letter of the lowrise layer parameter in height parameter Parameter information in breath, time parameter is added to three digits the period in the evening respectively.Further, can also will tire out Count the shopping centre parameter information in the most location parameter of digit, the high-storey parameter information in height parameter, time ginseng History environment parameter of the noon section parameter information as alarm clock A in number.
Further, current environment parameter is matched with the history environment parameter of alarm clock A and alarm clock B respectively.Example Such as, by position parameter data of current environment parameter in the parameter information of residential block, the parameter that height parameter information is 2m is believed Breath, time parameter information is parameter information the period in the morning, for weather parameters information is the parameter information of rainy weather.? After electronic equipment receives current environment parameter, the history environment parameter of alarm clock A and alarm clock B are matched.Further, Since the position parameter data and current environment parameter of alarm clock A mismatch, then any place is not done to the position parameter data of alarm clock A Reason.And the position parameter data due to alarm clock B matches with current environment parameter, then history parameters of the electronic equipment to alarm clock B Information adds the matching value of a digit.Likewise, due to alarm clock A height parameter information and current environment parameter not Match, then any processing is not done to the height parameter information of alarm clock A.And the height parameter information due to alarm clock B and current environment are joined Number matches, then electronic equipment adds the matching value of a digit to the historical parameter information of alarm clock B.And so on.Until After all parameter informations are matched, the higher matching result of matching degree of alarm clock B Yu current environment parameter are obtained, and then really It makes in multiple history environment parameters, the numerical value of the matching value of the corresponding history environment parameter of alarm clock B is highest, A pairs of alarm clock The numerical value of the matching value for the history environment parameter answered is time height, and using the corresponding history environment parameter of alarm clock A as the first history Environmental parameter.
S403 compares at least two third history environments when detecting the presence of at least two third history environment parameters Parameter respective generation time, third history environment parameter are in each matching value, and highest matching value is corresponding side by side goes through for numerical value History environmental parameter.
S404 is based at least two third history environment parameters, generates the third history environment parameter of time the latest, if Set corresponding alarm clock.
Optionally, in the application, due to will appear in the terminal, there are the identical multiple history environment parameters of matching value The case where occur.For the situation, the time can be generated the latest based at least two third history environment parameters in the application Third history environment parameter, corresponding alarm clock is set
For example, being determined each when the matching relationship based on current environment parameter and the corresponding history environment parameter of each alarm clock After the size of the matching value of the corresponding history environment parameter of alarm clock and current environment parameter, detects while occurring that there are three phases With the history environment parameter of matching value size.Namely history environment parameter a, history environment parameter b, history environment parameter c, into one Step, three history environment parameters corresponding generation time is detected, and respectively correspond as 2018.10.11 days, 2018.10.12 Day, 2018.10.13 days.Then by the history environment parameter of three identical match value sizes, determine that generate the time is to go through the latest History environmental parameter c.And then according to the corresponding alarm clock calling time of history environment parameter c, corresponding alarm clock is set.
In the application, the corresponding relationship of each history environment parameter and alarm clock calling time is recorded first, and be directed in acquisition After the current environment parameter of target terminal, transfer pre-stored history environment parameter, and based on current environment parameter and Corresponding alarm clock is arranged in the matching relationship of history environment parameter.It, can be according to electronics by the technical solution of application the application The current environmental parameter of equipment, automatic is the alarm clock of the corresponding ring time of user setting.So as to forget to be arranged in user When alarm clock ring time, electronic equipment is the alarm clock that user setting corresponds to well ring time automatically, when operation to save user Between.
Further, in this application S103 (matching relationship based on current environment parameter and history environment parameter, Corresponding alarm clock is set) after, it further include a kind of specific embodiment.Optionally, the application further includes a kind of setting alarm clock Method, as shown in figure 5,
S501 obtains the current environment parameter for being directed to target terminal.
S502 transfers pre-stored history environment parameter.
S503, the matching relationship based on current environment parameter and history environment parameter, is arranged corresponding alarm clock.
Optionally, in a kind of embodiment of the application, current environment parameter and each history environment parameter can be calculated Matching value.
When detecting each matching value lower than preset threshold, monitors whether to receive the second setting for the second alarm clock and refer to It enables, the second setting instruction is the alarm clock setting instruction generated after obtaining the current environment parameter for target terminal.
When receiving the setting instruction for the second alarm clock, the second setting of setting instructs corresponding alarm clock.
Optionally, it in the application, after calculating the matching value of current environment parameter and each history environment parameter, and detects When the numerical value of each matching value is below preset threshold, then corresponding alarm clock is no longer set automatically for user.Further, mesh Mark terminal, which can start the second setting whether monitoring currently receives by user's generation, for the second alarm clock, to be instructed.More into One step, it is monitoring to receive by user's generation, when instruction is arranged for the second of the second alarm clock, according to second setting Corresponding alarm clock calling time is instructed, corresponding alarm clock is set.
It is also noted herein that the application is not specifically limited preset threshold, i.e., preset threshold can be 0, Preset threshold may be 1.The specific variation of preset threshold will not influence the protection scope of the application.
S504 generates prompt information, and prompt information is for prompting user that corresponding alarm clock has currently been arranged.
Optionally, in the application, in the matching relationship based on current environment parameter and history environment parameter, setting is corresponded to Alarm clock after, a prompt information can also be automatically generated.Wherein, the prompt information is for prompting user that correspondence has currently been arranged Alarm clock.So that user after receiving the prompt information, chooses whether that the alarm clock is modified or deleted accordingly.
In the application, the corresponding relationship of each history environment parameter and alarm clock calling time is recorded first, and be directed in acquisition Before the current environment parameter of target terminal, transfer pre-stored history environment parameter, and based on current environment parameter and Corresponding alarm clock is arranged in the matching relationship of history environment parameter.It, can be according to current electricity by the technical solution of application the application The local environment and history alarm clock of sub- equipment record corresponding ring time and remind, and are automatically user setting history alarm clock record pair After the alarm clock for the ring time answered, generate for reminding user that the prompt information of alarm clock has been arranged.So as to be received in user It to after the prompting message, chooses whether to modify to the alarm clock according to the demand of itself, to be further ensured that the item of user It arranges.
In another embodiment of the application, as shown in fig. 6, the application also provides a kind of dress that alarm clock is arranged It sets, which includes obtaining module 601, transfers module 602, setup module 603, wherein
Module 601 is obtained, for obtaining the current environment parameter for being directed to target terminal, the current environment parameter is used for table For sign at current time, the target terminal corresponds to the parameter information of use environment;
Module 602 is transferred, for transferring pre-stored history environment parameter, the history environment parameter is in history When section setting alarm clock, the target terminal corresponds to the parameter information of use environment;
Setup module 603, for the matching relationship based on the current environment parameter and the history environment parameter, if Set corresponding alarm clock.
In the application, after obtaining the current environment parameter for target terminal, pre-stored history environment ginseng is transferred Number, and the matching relationship based on current environment parameter and history environment parameter, are arranged corresponding alarm clock.By applying the application Technical solution, can be recorded according to the local environment and history alarm clock of current electronic device, be suitble to work as user setting automatically The correspondence alarm clock of preceding environment.So as to avoid user because personal reason forget be arranged alarm clock when, electronic equipment can not to user into Row clock alarming.And then cause to reduce user experience.
In the another embodiment of the application, the environmental parameter include weather parameters information, height parameter information, Any one or more in position parameter data and time parameter information.
It in the another embodiment of the application, further include detection module 604, in which:
Detection module 604 for detecting the corresponding alarm clock calling time of each history environment parameter, and records described each The corresponding relationship of history environment parameter and alarm clock calling time.
It in the another embodiment of the application, further include setup module 603, further includes: computing unit, setting are single Member, in which:
Computing unit obtains for calculating the matching value of the current environment parameter Yu each history environment parameter One history environment parameter, the first history environment parameter are in each matching value, and the highest matching value of numerical value is corresponding to be gone through History environmental parameter.
The correspondence is arranged for being based on the corresponding alarm clock calling time of the first history environment parameter in setting unit Alarm clock.
In the another embodiment of the application, detection module 604 further include: receiving unit, recording unit, in which:
Receiving unit, for when receiving the first setting instruction for the first alarm clock, detection to be noisy for described first First alarm clock calling time of clock and the second history environment parameter, first alarm clock are before current point in time In first preset time period, and/or, any one alarm clock in the first preset times.
Recording unit, for recording, the second history environment parameter is corresponding with first alarm clock calling time to be closed System.
In the another embodiment of the application, detection module 604 further include: detection unit, in which:
Detection unit, for detecting the corresponding alarm clock calling time of each history environment parameter and each history The corresponding travel information of environmental parameter.
Recording unit is added to each history environment ginseng for corresponding to the travel information of each history environment parameter In several corresponding relationships with the alarm clock calling time, and record each history environment parameter and the alarm clock calling time Corresponding relationship.
In the another embodiment of the application, detection module 604 is also used to:
Recording unit, for traversing each history environment parameter and the alarm clock when getting target stroke information The corresponding relationship of reminder time.
Recording unit detects in each history environment parameter exist and the target stroke information phase for working as When the second history environment parameter matched, it is based on the corresponding alarm clock calling time of the second history environment parameter, is arranged corresponding Alarm clock.
In the another embodiment of the application, detection module 604 further include: setting unit, in which:
Detection unit, for when detecting the presence of at least two third history environment parameters, more described at least two Third history environment parameter respective generation time, the third history environment parameter are in each matching value, and numerical value is arranged side by side The corresponding history environment parameter of highest matching value.
Setting unit, for based in at least two thirds history environment parameter, the third of generation time the latest to be gone through Corresponding alarm clock is arranged in history environmental parameter.
In the another embodiment of the application, detection module 604 is also used to:
Setting unit, for calculating the matching value of the current environment parameter Yu each history environment parameter.
Setting unit, for when detecting each matching value lower than preset threshold, monitoring whether to receive for the Two alarm clocks second setting instruction, it is described second setting instruction for it is described obtain for target terminal current environment parameter it The alarm clock setting instruction generated afterwards.
Setting unit refers to for second setting when receiving the setting instruction for second alarm clock, to be arranged Enable corresponding alarm clock.
It in the another embodiment of the application, further include generation module 605, in which:
Generation module 605, for generating prompt information, the prompt information is corresponding for prompting user to be currently arranged Alarm clock.
In the another embodiment of the application, module 602 is transferred, is also used to:
Module 602 is transferred, for transferring in the second preset time period before current point in time, and/or, second is pre- If the history environment parameter in number.
In the another embodiment of the application, module 601 is obtained, is also used to:
When detecting current point in time is predetermined time, the current environment parameter for being directed to the target terminal is obtained.
After the method for the setting alarm clock for describing the application illustrative embodiments and the device of setting alarm clock, connect down Come, with reference to Fig. 7 to the application illustrative embodiments, for realizing each step documented in above method embodiment Electronic equipment is illustrated.The computer system/server 70 that Fig. 7 is shown is only an example, should not be implemented to the application The function and use scope of example bring any restrictions.
As shown in fig. 7, computer system/server 70 is showed in the form of universal computing device.Computer system/service The component of device 70 can include but is not limited to: one or more message handler or communication unit 701, system storage 702, connect the bus 703 of different system components (including system storage 702 and communication unit 701).
Computer system/server 70 typically comprises a variety of computer system readable media.These media, which can be, appoints What usable medium that can be accessed by computer system/server 70, including volatile and non-volatile media, it is moveable and Immovable medium.
System storage 702 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 7021 and/or cache memory 7022.Computer system/server 70 may further include it Its removable/nonremovable, volatile/non-volatile computer system storage medium.Only as an example, ROM 7023 can be with For reading and writing immovable, non-volatile magnetic media (not showing in Fig. 7, commonly referred to as " hard disk drive ").Although not existing It is shown in Fig. 7, disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") and right can be provided The CD drive of removable anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these feelings Under condition, each driver can be connected by one or more data media interfaces with bus 703.In system storage 702 It may include at least one program product, which has one group of (for example, at least one) program module, these program moulds Block is configured to perform the function of each embodiment of the application.
Program/utility 7027 with one group of (at least one) program module 7027, can store in such as system In memory 702, and such program module 7027 includes but is not limited to: operating system, one or more alarm clock, Qi Tacheng It may include the realization of network environment in sequence module and program data, each of these examples or certain combination.Program Module 7027 usually executes function and/or method in embodiments described herein.
Computer system/server 70 can also be with one or more external equipment 707 (such as keyboard, sensing equipment, displays Device etc.) communication.This communication can be carried out by input/output (I/O) interface 707.Also, computer system/server 70 Can also by network adapter 707 and one or more network (such as local area network (LAN), wide area network (WAN) and/or Public network, such as internet) communication.As shown in fig. 7, network adapter 707 passes through bus 703 and computer system/service Other modules (such as communication unit 701) of device 70 communicate.It should be understood that department of computer science can be combined although being not shown in Fig. 7 System/server 70 uses other hardware and/or software module.
The computer program that communication unit 701 is stored in system storage 702 by operation, thereby executing various functions Using and data communication, for example, execute for realizing each step in above method embodiment instruction;Specifically, logical Letter unit 701 can execute the computer program stored in system storage 702, and the computer program is performed, following Instruction is run:
The current environment parameter for being directed to target terminal is obtained, the current environment parameter is for being characterized in current time, institute State the parameter information that target terminal corresponds to use environment;
Pre-stored history environment parameter is transferred, the history environment parameter is the institute when alarm clock is arranged in historical period State the parameter information that target terminal corresponds to use environment;
Matching relationship based on the current environment parameter and the history environment parameter, is arranged corresponding alarm clock.
Certainly, also included other of electronic equipment instruct the content as described in the device side of equipment side method side, herein no longer It repeats one by one.
In the application, after obtaining the current environment parameter for target terminal, pre-stored history environment ginseng is transferred Number, and the matching relationship based on current environment parameter and history environment parameter, are arranged corresponding alarm clock.By applying the application Technical solution, can be recorded according to the local environment and history alarm clock of current electronic device, be suitble to work as user setting automatically The correspondence alarm clock of preceding environment.So as to avoid user because personal reason forget be arranged alarm clock when, electronic equipment can not to user into Row clock alarming.And then cause to reduce user experience.
The embodiment of the present application also provides a kind of computer readable storage medium, for storing computer-readable instruction, Described instruction is performed the operation for executing the method for the setting alarm clock for including in above-mentioned Fig. 1-Fig. 5.The setting alarm clock Method description content, this is no longer going to repeat them.
The above is only the part optional embodiment of the application, be not intended to limit the scope of the patents of the application, it is all Under the design of the application, using equivalent structure transformation made by present specification and accompanying drawing content, or directly/be used in indirectly Other related technical areas are included in the scope of patent protection of the application.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with its The difference of its embodiment, the same or similar part cross-reference between each embodiment.For system embodiment For, since it is substantially corresponding with embodiment of the method, so being described relatively simple, referring to the portion of embodiment of the method in place of correlation It defends oneself bright.
The present processes and device may be achieved in many ways.For example, can by software, hardware, firmware or Software, hardware, firmware any combination realize the present processes and device.The said sequence of the step of for the method Merely to be illustrated, the step of the present processes, is not limited to sequence described in detail above, special unless otherwise It does not mentionlet alone bright.In addition, in some embodiments, also the application can be embodied as to record program in the recording medium, these programs Including for realizing according to the machine readable instructions of the present processes.Thus, the application also covers storage for executing basis The recording medium of the program of the present processes.
The description of the present application is given for the purpose of illustration and description, and is not exhaustively or by the application It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches Embodiment is stated and be the principle and practical application in order to more preferably illustrate the application, and those skilled in the art is enable to manage Solution the application is to design various embodiments suitable for specific applications with various modifications.

Claims (15)

1. a kind of method that alarm clock is arranged characterized by comprising
The current environment parameter for being directed to target terminal is obtained, the current environment parameter is for being characterized in current time, the mesh Mark terminal corresponds to the parameter information of use environment;
Pre-stored history environment parameter is transferred, the history environment parameter is the mesh when alarm clock is arranged in historical period Mark terminal corresponds to the parameter information of use environment;
Matching relationship based on the current environment parameter and the history environment parameter, is arranged corresponding alarm clock.
2. the method as described in claim 1, which is characterized in that it is described obtain for target terminal current environment parameter it Before, further includes:
The corresponding alarm clock calling time of each history environment parameter is detected, and records each history environment parameter and is mentioned with alarm clock The corresponding relationship of awake time.
3. method according to claim 2, which is characterized in that described to be based on the current environment parameter and the history ring Corresponding alarm clock is arranged in the matching relationship of border parameter, comprising:
The matching value for calculating the current environment parameter Yu each history environment parameter, obtains the first history environment parameter, institute Stating the first history environment parameter is the corresponding history environment parameter of the highest matching value of numerical value in each matching value;
Based on the corresponding alarm clock calling time of the first history environment parameter, the corresponding alarm clock is set.
4. method according to claim 2, which is characterized in that the corresponding alarm clock of each history environment parameter that detects mentions It wakes up the time, and records the corresponding relationship of each the history environment parameter and the alarm clock calling time, comprising:
When receiving the first setting instruction for the first alarm clock, when detection is directed to the first alarm clock calling of first alarm clock Between and the second history environment parameter, first alarm clock be in the first preset time period before current point in time, And/or first any one alarm clock in preset times;
Record the corresponding relationship of the second history environment parameter Yu first alarm clock calling time.
5. method as claimed in claim 4, which is characterized in that the corresponding alarm clock of each history environment parameter that detects mentions It wakes up the time, and records the corresponding relationship of each the history environment parameter and the alarm clock calling time, comprising:
Detect the corresponding alarm clock calling time of each history environment parameter and the corresponding stroke of each history environment parameter Information;
The travel information correspondence of each history environment parameter is added to each history environment parameter and the alarm clock calling In the corresponding relationship of time, and record the corresponding relationship of each the history environment parameter and the alarm clock calling time.
6. method as claimed in claim 5, which is characterized in that record each history environment parameter and the alarm clock described After the corresponding relationship of reminder time, further includes:
When getting target stroke information, each history environment parameter pass corresponding with the alarm clock calling time is traversed System;
When detecting in each history environment parameter, there is the second history environment to match with the target stroke information and join When number, it is based on the corresponding alarm clock calling time of the second history environment parameter, corresponding alarm clock is set.
7. method as claimed in claim 3, which is characterized in that calculate the current environment parameter and each history described The matching value of environmental parameter, after obtaining the first history environment parameter, further includes:
When detecting the presence of at least two third history environment parameters, at least two thirds history environment parameter is each From the generation time, the third history environment parameter be each matching value in, highest matching value is corresponding side by side for numerical value History environment parameter;
Based in at least two thirds history environment parameter, the third history environment parameter of time the latest, setting pair are generated The alarm clock answered.
8. method as claimed in claim 3, which is characterized in that joined based on the current environment parameter and the history environment Corresponding alarm clock is arranged in several matching relationships, comprising:
Calculate the matching value of the current environment parameter Yu each history environment parameter;
When detecting each matching value lower than preset threshold, monitors whether to receive the second setting for the second alarm clock and refer to Order, the second setting instruction refer to for the alarm clock setting generated after the acquisition is directed to the current environment parameter of target terminal It enables;
When receiving the setting instruction for second alarm clock, second setting is set and instructs corresponding alarm clock.
9. the method as described in claim 1, which is characterized in that be based on the current environment parameter and the history environment The matching relationship of parameter is arranged after corresponding alarm clock, comprising:
Prompt information is generated, the prompt information is for prompting user that corresponding alarm clock has currently been arranged.
10. the method as described in claim 1, which is characterized in that described to transfer pre-stored history environment parameter, comprising:
It transfers in the second preset time period before current point in time, and/or, the history environment ginseng in the second preset times Number.
11. the method as described in claim 1, which is characterized in that described to obtain the current environment parameter for being directed to target terminal, packet It includes:
When detecting current point in time is predetermined time, the current environment parameter for being directed to the target terminal is obtained.
12. the method as described in claim 1-11, which is characterized in that the environmental parameter includes weather parameters information, height Any one or more in parameter information, position parameter data and time parameter information.
13. a kind of device that alarm clock is arranged characterized by comprising
Module is obtained, for obtaining the current environment parameter for being directed to target terminal, the current environment parameter is worked as being characterized in Preceding moment, the target terminal correspond to the parameter information of use environment;
Module is transferred, for transferring pre-stored history environment parameter, the history environment parameter is to be arranged in historical period When alarm clock, the target terminal corresponds to the parameter information of use environment;
Setup module, for the matching relationship based on the current environment parameter and the history environment parameter, setting is corresponded to Alarm clock.
14. a kind of electronic equipment characterized by comprising
Memory, for storing executable instruction;And
The device of alarm clock is set, for wanting to execute the executable instruction to complete right for alarm clock to be arranged with the memory Ask the operation of the method for any setting alarm clock in 1-12.
15. a kind of computer readable storage medium, for storing computer-readable instruction, which is characterized in that described instruction It is performed the operation that perform claim requires the method for any setting alarm clock in 1-12.
CN201811553803.4A 2018-12-18 2018-12-18 Method, apparatus, electronic equipment and the medium of alarm clock are set Pending CN109474750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811553803.4A CN109474750A (en) 2018-12-18 2018-12-18 Method, apparatus, electronic equipment and the medium of alarm clock are set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811553803.4A CN109474750A (en) 2018-12-18 2018-12-18 Method, apparatus, electronic equipment and the medium of alarm clock are set

Publications (1)

Publication Number Publication Date
CN109474750A true CN109474750A (en) 2019-03-15

Family

ID=65676247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811553803.4A Pending CN109474750A (en) 2018-12-18 2018-12-18 Method, apparatus, electronic equipment and the medium of alarm clock are set

Country Status (1)

Country Link
CN (1) CN109474750A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023142735A1 (en) * 2022-01-27 2023-08-03 荣耀终端有限公司 Method and apparatus for setting alarm clock

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378441A (en) * 2014-11-25 2015-02-25 小米科技有限责任公司 Schedule creating method and device
CN104967731A (en) * 2015-05-13 2015-10-07 深圳市金立通信设备有限公司 Terminal reminding method and terminal
CN105208209A (en) * 2015-09-23 2015-12-30 小米科技有限责任公司 Alarm clock setting method and device and terminal equipment
CN106412233A (en) * 2016-08-29 2017-02-15 乐视控股(北京)有限公司 Method and device for adding reminding event
CN106603827A (en) * 2016-11-28 2017-04-26 深圳市金立通信设备有限公司 Alarm setting method and terminal
CN107346483A (en) * 2017-06-30 2017-11-14 广东欧珀移动通信有限公司 Setting method of alarm, device, storage medium and electronic equipment
CN107809530A (en) * 2017-10-17 2018-03-16 华勤通讯技术有限公司 A kind of method and terminal for generating prompting message
CN108174044A (en) * 2018-03-15 2018-06-15 维沃移动通信有限公司 A kind of alarm clock setting method and mobile terminal
CN108960785A (en) * 2018-07-13 2018-12-07 维沃移动通信有限公司 A kind of information cuing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378441A (en) * 2014-11-25 2015-02-25 小米科技有限责任公司 Schedule creating method and device
CN104967731A (en) * 2015-05-13 2015-10-07 深圳市金立通信设备有限公司 Terminal reminding method and terminal
CN105208209A (en) * 2015-09-23 2015-12-30 小米科技有限责任公司 Alarm clock setting method and device and terminal equipment
CN106412233A (en) * 2016-08-29 2017-02-15 乐视控股(北京)有限公司 Method and device for adding reminding event
CN106603827A (en) * 2016-11-28 2017-04-26 深圳市金立通信设备有限公司 Alarm setting method and terminal
CN107346483A (en) * 2017-06-30 2017-11-14 广东欧珀移动通信有限公司 Setting method of alarm, device, storage medium and electronic equipment
CN107809530A (en) * 2017-10-17 2018-03-16 华勤通讯技术有限公司 A kind of method and terminal for generating prompting message
CN108174044A (en) * 2018-03-15 2018-06-15 维沃移动通信有限公司 A kind of alarm clock setting method and mobile terminal
CN108960785A (en) * 2018-07-13 2018-12-07 维沃移动通信有限公司 A kind of information cuing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023142735A1 (en) * 2022-01-27 2023-08-03 荣耀终端有限公司 Method and apparatus for setting alarm clock

Similar Documents

Publication Publication Date Title
JP6349467B2 (en) Vehicle allocation reservation method and apparatus, program, and recording medium
US9496736B1 (en) Portable device charging system
CN103019737B (en) The display packing of a kind of application program shortcut and device
US20100151918A1 (en) Intelligent battery warning system
CN105284144A (en) Modeling significant locations
CN107209655A (en) Equipment, method and graphic user interface for setting up the relation between two equipment and connection
CN107251065A (en) Personalized notifications
JP4920003B2 (en) Electricity billing system and electric energy management device
CN107646119A (en) The intelligence of prompting emerges
CN106133646A (en) User's response to notice is determined based on physiological parameter
CN109686049A (en) Children fall single based reminding method, device, medium and electronic equipment in public place
CN105547331B (en) Intelligent electric meter electric quantity reminding method based on wireless communication
CN109947495A (en) Application program preloads method, apparatus, storage medium and mobile terminal
CN104836914A (en) Item reminding method based on communication content and reminding system
CN107851243A (en) Infer physics conference location
CN103377205A (en) Method and device for executing scheduled tasks
CN106157602A (en) The method and apparatus of calling vehicle
CN107783701A (en) A kind of displaying method of terminal, device and intelligent terminal
CN110110026A (en) A kind of method, apparatus and medium of intelligent prompt trip help information
CN107707766A (en) Charging reminding method based on routing
CN106487071A (en) A kind of charging management method and terminal
CN105306690B (en) A kind of method and apparatus of processing communication information
CN106022725A (en) Reminding method and device of automatic generation of event
CN111429235A (en) Method, device and equipment for acquiring order thermodynamic information and storage medium
CN107734185A (en) Indicating mode switching method, device, computer installation and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190315

RJ01 Rejection of invention patent application after publication