CN105530363A - Method and device for controlling do not disturb mode - Google Patents

Method and device for controlling do not disturb mode Download PDF

Info

Publication number
CN105530363A
CN105530363A CN201410573758.4A CN201410573758A CN105530363A CN 105530363 A CN105530363 A CN 105530363A CN 201410573758 A CN201410573758 A CN 201410573758A CN 105530363 A CN105530363 A CN 105530363A
Authority
CN
China
Prior art keywords
time
event
disturb mode
arrangement information
disturb
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
CN201410573758.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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410573758.4A priority Critical patent/CN105530363A/en
Publication of CN105530363A publication Critical patent/CN105530363A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method and a device for controlling a do not disturb mode. The method and the device are used for conveniently, flexibly and automatically opening the do not disturb mode. The method comprises the following steps: obtaining user schedule arrangement information; determining a start time and an end time of an event in the user schedule arrangement information; and starting or stopping the do not disturb mode according to the start time and the end time of the event. The method and the device provided by the technical scheme can not only be used for controlling the automatic on-off of the do not disturb mode in multiple time periods, but also can be used for controlling the do not disturb mode according to the user schedule arrangement, therefore the actual demand of the user is satisfied, the do not disturb mode can be conveniently, flexibly and automatically opened and closed, and the user experience is improved.

Description

The control method of do-not-disturb mode and device
Technical field
The disclosure relates to terminal and does not disturb processing technology field, particularly relates to control method and the device of do-not-disturb mode.
Background technology
At present, the user of the terminal equipment such as mobile phone, panel computer, can be in do-not-disturb mode and to help user and prevent from bothering by arranging by terminal equipment.After user opens do-not-disturb mode, except non-user is manually specified separately, generally the various attention programs of terminal equipment all can be stopped, such as incoming ring tone or vibrations, notice the tinkle of bells or vibrations etc. all can be stopped, and other behaviors (such as screen wakes up automatically) may bothering user also can be stopped in the lump.
But, do-not-disturb mode in current terminal equipment user oneself can only manually arrange the time starting or stoping do-not-disturb mode, there is following problem in such mode: cannot disposable appointment multiple time period be do-not-disturb mode, can not start or stop do-not-disturb mode flexibly according to the actual needs of user.Visible, in current terminal equipment there is inconvenient, inflexible problem in the control mode of do-not-disturb mode.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides control method and the device of do-not-disturb mode, in order to realize automatic switch do-not-disturb mode easily and flexibly.
According to the first aspect of disclosure embodiment, a kind of control method of do-not-disturb mode is provided, comprises:
Obtain subscriber calendar arrangement information;
Determine time started and the end time of event in described subscriber calendar arrangement information;
According to time started and the end time of described event, start or stop do-not-disturb mode.
In one embodiment, before described acquisition subscriber calendar arrangement information, described method also comprises:
Obtain described subscriber calendar arrangement information and do-not-disturb mode auto-switch function carried out associate instruction is set;
Instruction is set according to described, described subscriber calendar arrangement information is associated with described do-not-disturb mode auto-switch function.
In one embodiment, the described time started according to described event and end time, start or stop do-not-disturb mode, comprising:
Whether the event type judging described event is do not disturb event type;
When the event type of described event be described do not disturb event type time, according to time started and the end time of described event, start or stop do-not-disturb mode
In one embodiment, the described time started according to described event and end time, start or stop do-not-disturb mode, comprising:
When described event is not with when the time of origin section of other event has overlapping in described subscriber calendar arrangement information, is set to the start-up time of do-not-disturb mode the time started of described event, is set to the dwell time of do-not-disturb mode the end time of described event;
When described event is with when in described subscriber calendar arrangement information, the time of origin section of at least one other event is overlapping, in described event and at least one other event described respective time started and end time, determine earliest start time and end time the latest; Described earliest start time is set to the start-up time of do-not-disturb mode, is set to the dwell time of do-not-disturb mode the described end time the latest;
Whether monitoring current time arrives start-up time or the dwell time of described do-not-disturb mode;
When monitoring current time and arriving the start-up time of described do-not-disturb mode, start do-not-disturb mode; When monitoring current time and arriving the dwell time of described do-not-disturb mode, stop do-not-disturb mode.
In one embodiment, described method also comprises:
In the time of origin section of described event, mark and be currently in do-not-disturb mode.
In one embodiment, described acquisition subscriber calendar arrangement information, comprising:
Whether real-time supervisory user scheduling information is updated;
When monitoring subscriber calendar arrangement information and being updated, obtain the subscriber calendar arrangement information after upgrading.
According to the second aspect of disclosure embodiment, a kind of control device of do-not-disturb mode is provided, comprises:
Data obtaining module, for obtaining subscriber calendar arrangement information;
Time determination module, for determining time started and the end time of event in described subscriber calendar arrangement information;
Mode control module, for according to time started of described event and end time, starts or stops do-not-disturb mode.
In one embodiment, described device also comprises:
Instruction acquisition module, before obtaining subscriber calendar arrangement information at described data obtaining module, obtain described subscriber calendar arrangement information and do-not-disturb mode auto-switch function carried out associate instruction is set;
Relating module, for arranging instruction according to described, associates described subscriber calendar arrangement information with described do-not-disturb mode auto-switch function.
In one embodiment, described mode control module comprises:
Judge submodule, for judging whether the event type of described event is do not disturb event type;
Switch submodule, for when the event type of described event be described do not disturb event type time, according to time started and the end time of described event, start or stop do-not-disturb mode.
In one embodiment, described mode control module comprises:
First arranges submodule, for when described event is not with when in described subscriber calendar arrangement information, the time of origin section of other event has overlapping, is set to the start-up time of do-not-disturb mode the time started of described event, is set to the dwell time of do-not-disturb mode the end time of described event;
Second arranges submodule, for when described event is with when in described subscriber calendar arrangement information, the time of origin section of at least one other event is overlapping, in described event and at least one other event described respective time started and end time, determine earliest start time and end time the latest; Described earliest start time is set to the start-up time of do-not-disturb mode, is set to the dwell time of do-not-disturb mode the described end time the latest;
Whether monitoring submodule, arrive start-up time or the dwell time of described do-not-disturb mode for monitoring current time;
Control submodule, for when monitoring current time and arriving the start-up time of described do-not-disturb mode, start do-not-disturb mode; When monitoring current time and arriving the dwell time of described do-not-disturb mode, stop do-not-disturb mode.
In one embodiment, described device also comprises:
Mark module, in the time of origin section of described event, marks and is currently in do-not-disturb mode.
In one embodiment, described data obtaining module comprises:
Whether monitoring submodule, be updated for supervisory user scheduling information;
Obtain submodule, for when monitoring subscriber calendar arrangement information and being updated, obtain the subscriber calendar arrangement information after upgrading.
According to the third aspect of disclosure embodiment, a kind of control device of do-not-disturb mode is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain subscriber calendar arrangement information;
Determine time started and the end time of event in described subscriber calendar arrangement information;
According to time started and the end time of described event, start or stop do-not-disturb mode.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Technique scheme, not only can carry out the automatic switch control of do-not-disturb mode to multiple time period, and be the control carrying out do-not-disturb mode according to the schedule of user, meet the actual demand of user, automatic switch do-not-disturb mode that can be convenient, flexible, improves Consumer's Experience; Further, can also when subscriber calendar arrangement information have renewal, the control strategy of adjustment do-not-disturb mode, achieves and can carry out switch do-not-disturb mode according to up-to-date subscriber calendar arrangement information in real time in time, avoids the information errors of foundation and has influence on the use of user.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of the control method of a kind of do-not-disturb mode according to an exemplary embodiment.
Fig. 2 is the flow chart of the control method of another kind of do-not-disturb mode according to an exemplary embodiment.
Fig. 3 is the flow chart of the control method of another do-not-disturb mode according to an exemplary embodiment.
Fig. 4 is the block diagram of the control device of a kind of do-not-disturb mode according to an exemplary embodiment.
Fig. 5 is the block diagram of the control device of another kind of do-not-disturb mode according to an exemplary embodiment.
Fig. 6 is the block diagram of the control device of another do-not-disturb mode according to an exemplary embodiment.
Fig. 7 is the block diagram (general structure of terminal equipment) being applicable to the control device of do-not-disturb mode according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
At present, do-not-disturb mode in terminal equipment user oneself can only manually arrange the time starting or stoping do-not-disturb mode, there is following problem in such mode: cannot disposable appointment multiple time period be do-not-disturb mode, user can forget startup do-not-disturb mode when there is emergency, can not start or stop do-not-disturb mode flexibly according to the actual needs of user.In order to overcome the above problems, disclosure embodiment, in conjunction with subscriber calendar arrangement information existing in terminal equipment, realizes switch do-not-disturb mode easily and flexibly, is user-friendly to.
Wherein, subscriber calendar arrangement information refers to subscriber calendar arrangement information described in conventional calendar prompting application program, it comprises the event that namely one or more user will participate in, each event correspondence has time started and the end time of event title, event, if event is the event repeated, then also may correspond to the recurring rule of event.In addition, user, can also according to self needing the calendar arranging multiple different attribute in calendar prompting application program, and each calendar is the combination of one group of event.Such as arrange " work " calendar, in this calendar, correspondence arranges a set of subscriber calendar arrangement information, to record the work schedules of user; Can arrange " individual " calendar for another example, in this calendar, correspondence arranges another set of subscriber calendar arrangement information, to record the private schedule of user.
Disclosure embodiment provides a kind of control method of do-not-disturb mode, can be applicable to have in the terminal equipment of do-not-disturb mode, or can be applicable to as terminal equipment provides in the application program of do-not-disturb mode function, as shown in Figure 1, the method comprises the following steps S101-S103:
In step S101, obtain subscriber calendar arrangement information.
In one embodiment, can record the application program of subscriber calendar arrangement information from other and obtain subscriber calendar arrangement information, such as obtain from calendar prompting application program.
In one embodiment, due to many covers user's scheduling information (the different calendars as aforementioned setting) may be there is in system, therefore, user can be as required, by certain a set of or many cover user scheduling information overlapped in user's scheduling information more, the do-not-disturb mode auto-switch function provided with disclosure embodiment associates, thus, the subscriber calendar arrangement information got in step S101, be actually user and be tied to subscriber calendar arrangement information on do-not-disturb mode auto-switch function in advance, namely, user is made the method that provides of free setting disclosure embodiment to be carry out do-not-disturb mode automatic switch control according to the event in which subscriber calendar arrangement information, meet the individual demand of user, improve user's experience.Now, as shown in Figure 2, before execution step S101, said method also can comprise step S100: obtain subscriber calendar arrangement information and do-not-disturb mode auto-switch function carried out associate instruction is set; According to arranging instruction, subscriber calendar arrangement information is associated with do-not-disturb mode auto-switch function.Thus the individual demand of user can be met, improve Consumer's Experience.
In step s 102, time started and the end time of event in subscriber calendar arrangement information is determined.
In one embodiment, subscriber calendar arrangement information just records time started and the end time of each event, therefore, can directly get from subscriber calendar arrangement information.Wherein, if there is an event in subscriber calendar arrangement information, then time started and the end time of this event is only obtained; If have multiple event in subscriber calendar arrangement information, then to obtain each event respective time started and end time.
In step s 103, according to time started and the end time of event, do-not-disturb mode is started or stoped.
In one embodiment, an event or multiple event may be there is in subscriber calendar arrangement information.Sometimes, the time of origin section of these events time of origin section of event (this period of time namely between the time started to end time be called) can not be overlapping, and the time of origin section sometimes having two events or multiple event occurs overlapping, now, will be different for the process starting or stoping do-not-disturb mode, to ensure science correctly switch do-not-disturb mode.Thus, now, above-mentioned steps S103 can be embodied as following steps A1-A3:
In steps A 1, when event is not with when the time of origin section of other event has overlapping in subscriber calendar arrangement information, is set to the start-up time of do-not-disturb mode the time started of event, is set to the dwell time of do-not-disturb mode the end time of event;
When event is with when the time of origin section of at least one other event is overlapping in subscriber calendar arrangement information, in event and at least one other event respective time started and end time, determine earliest start time and end time the latest; Earliest start time is set to the start-up time of do-not-disturb mode, end time is the latest set to the dwell time of do-not-disturb mode.
In steps A 2, whether monitoring current time arrives start-up time or the dwell time of do-not-disturb mode.
In steps A 3, when monitoring current time and arriving the start-up time of do-not-disturb mode, start do-not-disturb mode; When monitoring current time and arriving the dwell time of do-not-disturb mode, stop do-not-disturb mode.
In above steps A 1-A3, when the time of origin Duan Weiyu of event overlaps At All Other Times, directly according to time started and the end time switch do-not-disturb mode of event; And when the time of origin section of event has overlapping with other event, then determine the union of the time of origin section of the event overlapped, according to the earliest start time of this union and end time switch do-not-disturb mode the latest.There will not be chaotic situation when more than process can ensure switch do-not-disturb mode, realize science correctly switch do-not-disturb mode.
The said method that disclosure embodiment provides, automatic switch do-not-disturb mode is carried out according to subscriber calendar arrangement information, compared with needing the technology of user's hand switch do-not-disturb mode at present, said method not only can carry out the automatic switch control of do-not-disturb mode to multiple time period, and be the control carrying out do-not-disturb mode according to the schedule of user, meet the actual demand of user, automatic switch do-not-disturb mode that can be convenient, flexible, improves Consumer's Experience.
In another embodiment, step S103 also may be embodied as following steps B1-B2: in step bl is determined., and whether the event type of decision event is do not disturb event type, when not being when not disturbing event type, and process ends; When being when not disturbing event type, perform step B2; In step B2, when the event type of event is not for disturbing event type, according to time started and the end time of event, start or stop do-not-disturb mode.Wherein, do not disturb event type to be needed to preset according to self by user, such as not disturbing event type can be that user thinks important, do not wish the event type be disturbed, as conference type, lecture type etc., and (running is comprised to insignificant event type such as body-building event type, the events such as swimming), leisure event type (as drink afternoon tea event, lunch break event) etc., user can arrange these event types for not disturb event type, thus normal handling process can be carried out as received incoming call or read messages etc. in insignificant Time To Event section.That is, user can customize do-not-disturb mode automatic switch control for event type be which event type, meet the actual demand of user, more hommization.
In one embodiment, conveniently user checks whether terminal equipment is in do-not-disturb mode, so that user adopts remedial measures, said method also can comprise: in the time of origin section of event, mark and be currently in do-not-disturb mode, such as at certain position display " do-not-disturb mode the carry out in " Word message of the display screen of terminal equipment to show currently to be in do-not-disturb mode, can understand that terminal equipment is current after user sees this mark and be in do-not-disturb mode; If the non-show tags of terminal equipment or display is show that the current mark not being in do-not-disturb mode is as " do-not-disturb mode stops ", illustrate that present terminal equipment is not in do-not-disturb mode, user also can learn easily and currently not be in do-not-disturb mode, if and the current do-not-disturb mode that is in of the actual expectation of user, then user can manually be arranged, the time of origin section of this event is set to do-not-disturb mode, to carry out remedial measure.
In one embodiment, user may make increasing to one group of subscriber calendar arrangement information at any time, delete, the renewal rewards theory such as to change, now, real-time supervisory user scheduling information is just needed whether to be updated, when being updated, again switch do-not-disturb mode to be carried out according to the subscriber calendar arrangement information upgraded, thus, now, step S101 can be embodied as following steps B1-B2:
In step bl is determined., whether real-time supervisory user scheduling information is updated.
In step bl is determined., when monitoring subscriber calendar arrangement information and being updated, obtain the subscriber calendar arrangement information after upgrading.
After this, in step S102-S103, the subscriber calendar arrangement information of institute's foundation is the subscriber calendar arrangement information after upgrading.Achieve and can carry out switch do-not-disturb mode according to up-to-date subscriber calendar arrangement information in real time, avoid the information errors of foundation and have influence on the use of user.
With a specific embodiment, the said method that disclosure embodiment provides is described below.
The said method that disclosure embodiment provides is loaded in a do-not-disturb mode switching programme by the present embodiment, this do-not-disturb mode switching programme is applied to a mobile phone, two calendars " work " and " individual " is provided with in calendar prompting application program in this mobile phone, as shown in Figure 3, the present embodiment comprises the steps:
In step S301, do-not-disturb mode switching programme is installed in mobile phone by the user of mobile phone, and user opens do-not-disturb mode switching programme.
In step s 302, user arranges instruction to the input of do-not-disturb mode switching programme, and this arranges instruction and is used to indicate do-not-disturb mode switching programme and the subscriber calendar arrangement information in " work " calendar and do-not-disturb mode auto-switch function is bound; After do-not-disturb mode switching programme receives and arranges instruction, according to arranging instruction, the subscriber calendar arrangement information in " work " calendar and do-not-disturb mode auto-switch function are bound.
In step S303, do-not-disturb mode switching programme obtains the subscriber calendar arrangement information in " work " calendar.
In step s 304, do-not-disturb mode switching programme is determined in the subscriber calendar arrangement information in " work " calendar, the time started of each event and end time.
In step S305, do-not-disturb mode switching programme, according to the time started of the event got in step S304 and end time, starts or stops do-not-disturb mode according to abovementioned steps A1-A3.
Wherein, after the start-up time that steps A 1 sets out do-not-disturb mode and dwell time, can in the subscriber calendar arrangement information of this " work " calendar event time of origin section in, mark this event for " in carrying out ".
In step S306, do-not-disturb mode switching programme is stated in the process of step S303-S305 before execution, whether whether the subscriber calendar arrangement information of real-time monitoring " work " calendar be updated (such as by user's amendment, increase, deletion etc.), when monitor be updated time, obtain the subscriber calendar arrangement information after upgrading, and continue to re-execute step S304-S305.
In the present embodiment, not only can carry out the automatic switch control of do-not-disturb mode to multiple time period, and be the control carrying out do-not-disturb mode according to the schedule of user, meet the actual demand of user, automatic switch do-not-disturb mode that can be convenient, flexible, improves Consumer's Experience; Further, can also when subscriber calendar arrangement information have renewal, the control strategy of adjustment do-not-disturb mode, achieves and can carry out switch do-not-disturb mode according to up-to-date subscriber calendar arrangement information in real time in time, avoids the information errors of foundation and has influence on the use of user.
The said method that corresponding disclosure embodiment provides, the disclosure embodiment still provides a kind of control device of do-not-disturb mode, can be applicable to have in the terminal equipment of do-not-disturb mode, or can be applicable to as terminal equipment provides in the application program of do-not-disturb mode function, as shown in Figure 4, this device comprises:
Data obtaining module 41, for obtaining subscriber calendar arrangement information;
Time determination module 42, for determining time started and the end time of event in subscriber calendar arrangement information;
Mode control module 43, for according to time started of event and end time, starts or stops do-not-disturb mode.
In one embodiment, as shown in Figure 5, said apparatus also can comprise:
Instruction acquisition module 51, before obtaining subscriber calendar arrangement information at data obtaining module, obtain subscriber calendar arrangement information and do-not-disturb mode auto-switch function carried out associate instruction is set;
Relating module 52, for according to arranging instruction, associates subscriber calendar arrangement information with do-not-disturb mode auto-switch function.
In one embodiment, above-mentioned mode control module can comprise:
Judge submodule, whether the event type for decision event is do not disturb event type;
Switch submodule, for when the event type of event is not for disturbing event type, according to time started and the end time of event, starts or stops do-not-disturb mode.
In one embodiment, above-mentioned mode control module can comprise:
First arranges submodule, for when event is not with when the time of origin section of other event has overlapping in subscriber calendar arrangement information, is set to the start-up time of do-not-disturb mode the time started of event, is set to the dwell time of do-not-disturb mode the end time of event;
Second arranges submodule, for when event is with when in subscriber calendar arrangement information, the time of origin section of at least one other event is overlapping, in event and at least one other event respective time started and end time, determine earliest start time and end time the latest; Earliest start time is set to the start-up time of do-not-disturb mode, end time is the latest set to the dwell time of do-not-disturb mode;
Whether monitoring submodule, arrive start-up time or the dwell time of do-not-disturb mode for monitoring current time;
Control submodule, for when monitoring current time and arriving the start-up time of do-not-disturb mode, start do-not-disturb mode; When monitoring current time and arriving the dwell time of do-not-disturb mode, stop do-not-disturb mode.
In one embodiment, as shown in Figure 6, said apparatus also can comprise:
Mark module 61, in the time of origin section of event, marks and is currently in do-not-disturb mode.
In one embodiment, above-mentioned data obtaining module can comprise:
Whether monitoring submodule, be updated for real-time supervisory user scheduling information;
Obtain submodule, for when monitoring subscriber calendar arrangement information and being updated, obtain the subscriber calendar arrangement information after upgrading.
The said method that corresponding disclosure embodiment provides, the disclosure embodiment still provides a kind of control device of do-not-disturb mode, can be applicable to have in the terminal equipment of do-not-disturb mode, or can be applicable to as terminal equipment provides in the application program of do-not-disturb mode function, this device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain subscriber calendar arrangement information;
Determine time started and the end time of event in subscriber calendar arrangement information;
According to time started and the end time of event, start or stop do-not-disturb mode.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of control method of do-not-disturb mode, described method comprises:
Obtain subscriber calendar arrangement information;
Determine time started and the end time of event in subscriber calendar arrangement information;
According to time started and the end time of event, start or stop do-not-disturb mode.
Fig. 7 is the block diagram of a kind of control device 1200 for do-not-disturb mode according to an exemplary embodiment, and this device is applicable to terminal equipment.Such as, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 7, device 1200 can comprise following one or more assembly: processing components 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor cluster 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing unit 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Memory 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loud speaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1214 comprises one or more transducer, for providing the state estimation of various aspects for device 1200.Such as, sensor cluster 1214 can detect the start/stop state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right checkout gear 1200 of sensor cluster 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the variations in temperature of device 1200 orientation or acceleration/deceleration and device 1200.Sensor cluster 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a control method for do-not-disturb mode, is characterized in that, comprising:
Obtain subscriber calendar arrangement information;
Determine time started and the end time of event in described subscriber calendar arrangement information;
According to time started and the end time of described event, start or stop do-not-disturb mode.
2. the method for claim 1, is characterized in that, before described acquisition subscriber calendar arrangement information, described method also comprises:
Obtain described subscriber calendar arrangement information and do-not-disturb mode auto-switch function carried out associate instruction is set;
Instruction is set according to described, described subscriber calendar arrangement information is associated with described do-not-disturb mode auto-switch function.
3. the method for claim 1, is characterized in that, the described time started according to described event and end time, starts or stops do-not-disturb mode, comprising:
Whether the event type judging described event is do not disturb event type;
When the event type of described event be described do not disturb event type time, according to time started and the end time of described event, start or stop do-not-disturb mode.
4., as the method as described in arbitrary in claims 1 to 3, it is characterized in that,
The described time started according to described event and end time, start or stop do-not-disturb mode, comprising:
When described event is not with when the time of origin section of other event has overlapping in described subscriber calendar arrangement information, is set to the start-up time of do-not-disturb mode the time started of described event, is set to the dwell time of do-not-disturb mode the end time of described event;
When described event is with when in described subscriber calendar arrangement information, the time of origin section of at least one other event is overlapping, in described event and at least one other event described respective time started and end time, determine earliest start time and end time the latest; Described earliest start time is set to the start-up time of do-not-disturb mode, is set to the dwell time of do-not-disturb mode the described end time the latest;
Whether monitoring current time arrives start-up time or the dwell time of described do-not-disturb mode;
When monitoring current time and arriving the start-up time of described do-not-disturb mode, start do-not-disturb mode; When monitoring current time and arriving the dwell time of described do-not-disturb mode, stop do-not-disturb mode.
5. method as claimed in claim 4, it is characterized in that, described method also comprises:
In the time of origin section of described event, mark and be currently in do-not-disturb mode.
6. the method for claim 1, is characterized in that,
Described acquisition subscriber calendar arrangement information, comprising:
Whether real-time supervisory user scheduling information is updated;
When monitoring subscriber calendar arrangement information and being updated, obtain the subscriber calendar arrangement information after upgrading.
7. a control device for do-not-disturb mode, is characterized in that, comprising:
Data obtaining module, for obtaining subscriber calendar arrangement information;
Time determination module, for determining time started and the end time of event in described subscriber calendar arrangement information;
Mode control module, for according to time started of described event and end time, starts or stops do-not-disturb mode.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
Instruction acquisition module, before obtaining subscriber calendar arrangement information at described data obtaining module, obtain described subscriber calendar arrangement information and do-not-disturb mode auto-switch function carried out associate instruction is set;
Relating module, for arranging instruction according to described, associates described subscriber calendar arrangement information with described do-not-disturb mode auto-switch function.
9. device as claimed in claim 7, it is characterized in that, described mode control module comprises:
Judge submodule, for judging whether the event type of described event is do not disturb event type;
Switch submodule, for when the event type of described event be described do not disturb event type time, according to time started and the end time of described event, start or stop do-not-disturb mode.
10., as the device as described in arbitrary in claim 7 to 9, it is characterized in that, described mode control module comprises:
First arranges submodule, for when described event is not with when in described subscriber calendar arrangement information, the time of origin section of other event has overlapping, is set to the start-up time of do-not-disturb mode the time started of described event, is set to the dwell time of do-not-disturb mode the end time of described event;
Second arranges submodule, for when described event is with when in described subscriber calendar arrangement information, the time of origin section of at least one other event is overlapping, in described event and at least one other event described respective time started and end time, determine earliest start time and end time the latest; Described earliest start time is set to the start-up time of do-not-disturb mode, is set to the dwell time of do-not-disturb mode the described end time the latest;
Whether monitoring submodule, arrive start-up time or the dwell time of described do-not-disturb mode for monitoring current time;
Control submodule, for when monitoring current time and arriving the start-up time of described do-not-disturb mode, start do-not-disturb mode; When monitoring current time and arriving the dwell time of described do-not-disturb mode, stop do-not-disturb mode.
11. devices as claimed in claim 10, it is characterized in that, described device also comprises:
Mark module, in the time of origin section of described event, marks and is currently in do-not-disturb mode.
12. devices as claimed in claim 7, it is characterized in that, described data obtaining module comprises:
Whether monitoring submodule, be updated for real-time supervisory user scheduling information;
Obtain submodule, for when monitoring subscriber calendar arrangement information and being updated, obtain the subscriber calendar arrangement information after upgrading.
The control device of 13. 1 kinds of do-not-disturb modes, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain subscriber calendar arrangement information;
Determine time started and the end time of event in described subscriber calendar arrangement information;
According to time started and the end time of described event, start or stop do-not-disturb mode.
CN201410573758.4A 2014-10-23 2014-10-23 Method and device for controlling do not disturb mode Pending CN105530363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410573758.4A CN105530363A (en) 2014-10-23 2014-10-23 Method and device for controlling do not disturb mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410573758.4A CN105530363A (en) 2014-10-23 2014-10-23 Method and device for controlling do not disturb mode

Publications (1)

Publication Number Publication Date
CN105530363A true CN105530363A (en) 2016-04-27

Family

ID=55772332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410573758.4A Pending CN105530363A (en) 2014-10-23 2014-10-23 Method and device for controlling do not disturb mode

Country Status (1)

Country Link
CN (1) CN105530363A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231081A (en) * 2016-07-22 2016-12-14 乐视控股(北京)有限公司 Method of not disturbing, device and the terminal of a kind of information
CN106686251A (en) * 2017-02-13 2017-05-17 北京奇虎科技有限公司 Calling request response method, calling request response device and wearable device
CN108366164A (en) * 2018-01-16 2018-08-03 深圳市金立通信设备有限公司 A kind of method, terminal and the computer readable storage medium of setting do-not-disturb mode
CN109714479A (en) * 2018-12-28 2019-05-03 上海爱优威软件开发有限公司 Conducive to the terminal control method and system improved efficiency
WO2019085642A1 (en) * 2017-11-01 2019-05-09 上海掌门科技有限公司 Method and device for implementing do-not-disturb mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024153A (en) * 2012-11-28 2013-04-03 深圳市中兴移动通信有限公司 Method and terminal for adjusting environmental mode
CN103167117A (en) * 2012-06-19 2013-06-19 深圳市金立通信设备有限公司 System and method for automatically setting contextual model of mobile phone based on schedule management
CN103200317A (en) * 2013-03-06 2013-07-10 广东欧珀移动通信有限公司 Mobile phone and method for achieving contextual mode switching through memorandum
CN103491247A (en) * 2013-09-12 2014-01-01 上海摩软通讯技术有限公司 Method and system for switching contextual models based on schedules

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167117A (en) * 2012-06-19 2013-06-19 深圳市金立通信设备有限公司 System and method for automatically setting contextual model of mobile phone based on schedule management
CN103024153A (en) * 2012-11-28 2013-04-03 深圳市中兴移动通信有限公司 Method and terminal for adjusting environmental mode
CN103200317A (en) * 2013-03-06 2013-07-10 广东欧珀移动通信有限公司 Mobile phone and method for achieving contextual mode switching through memorandum
CN103491247A (en) * 2013-09-12 2014-01-01 上海摩软通讯技术有限公司 Method and system for switching contextual models based on schedules

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231081A (en) * 2016-07-22 2016-12-14 乐视控股(北京)有限公司 Method of not disturbing, device and the terminal of a kind of information
CN106686251A (en) * 2017-02-13 2017-05-17 北京奇虎科技有限公司 Calling request response method, calling request response device and wearable device
WO2019085642A1 (en) * 2017-11-01 2019-05-09 上海掌门科技有限公司 Method and device for implementing do-not-disturb mode
CN108366164A (en) * 2018-01-16 2018-08-03 深圳市金立通信设备有限公司 A kind of method, terminal and the computer readable storage medium of setting do-not-disturb mode
CN109714479A (en) * 2018-12-28 2019-05-03 上海爱优威软件开发有限公司 Conducive to the terminal control method and system improved efficiency

Similar Documents

Publication Publication Date Title
US9800666B2 (en) Method and client terminal for remote assistance
CN106792173B (en) Video playing method and device and non-transitory computer readable storage medium
CN104580738A (en) Method and device for setting information reminding modes
CN104836897A (en) Method and device for controlling terminal communication through wearable device
CN104065836A (en) Method and device for monitoring calls
CN107368818A (en) Meeting room state method to set up, device, system and storage medium
CN104915123A (en) Terminal display method and device
CN105607834A (en) Screen control method and apparatus as well as terminal
CN106203167A (en) Application rights management method and device
CN105530363A (en) Method and device for controlling do not disturb mode
CN105487857A (en) Method and apparatus for prompting image shooting part to be started
CN105187629A (en) Event reminding method and device
CN104156848A (en) Schedule management method and schedule management device
CN105898032A (en) Adjusting method and apparatus for warning tone
CN105530384A (en) Method and device for power reminding based on alarm clock
CN104750357A (en) Memo information processing method and device
CN106407079A (en) Mobile terminal charging prompting method, device and equipment
CN105100472A (en) Terminal processing method and apparatus
CN104461715A (en) Reminding task executing method and device based on reminding mode
CN105337839A (en) Exchange group control method and device
CN104394137A (en) Voice call reminding method and device
CN105807894A (en) Processing method and device of lock holding of application
CN105141769A (en) Communication message processing method and device as well as terminal
CN105468343A (en) Application control method and apparatus
CN104184888A (en) Call transfer method, device and terminal

Legal Events

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

Application publication date: 20160427

RJ01 Rejection of invention patent application after publication