CN110099171B - Ring type automatic adjusting method, device, terminal and storage medium - Google Patents

Ring type automatic adjusting method, device, terminal and storage medium Download PDF

Info

Publication number
CN110099171B
CN110099171B CN201910346521.5A CN201910346521A CN110099171B CN 110099171 B CN110099171 B CN 110099171B CN 201910346521 A CN201910346521 A CN 201910346521A CN 110099171 B CN110099171 B CN 110099171B
Authority
CN
China
Prior art keywords
preset
terminal
parameters
volume
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.)
Active
Application number
CN201910346521.5A
Other languages
Chinese (zh)
Other versions
CN110099171A (en
Inventor
刘真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910346521.5A priority Critical patent/CN110099171B/en
Publication of CN110099171A publication Critical patent/CN110099171A/en
Application granted granted Critical
Publication of CN110099171B publication Critical patent/CN110099171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/042Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/042Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal
    • H04M19/044Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal according to the level of ambient noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/047Vibrating means for incoming calls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

An automatic ring type adjustment method comprises the following steps: acquiring a plurality of environmental parameters and environmental volume of a terminal; when the plurality of environment parameters are matched with a plurality of first sub-parameters in a preset first trigger event, acquiring a first ringing parameter corresponding to the preset first trigger event; when the environmental volume is determined to be smaller than a preset first volume threshold, adjusting the ringing type of the terminal according to a first ringing parameter; when the plurality of environment parameters match a plurality of second sub-parameters in a preset second trigger event, acquiring a second ringing parameter corresponding to the preset second trigger event; and when the environment volume is determined to be larger than the preset second volume threshold, adjusting the ring type of the terminal according to a second ring parameter. The invention also provides a ringing type automatic adjusting device, a terminal and a storage medium. The invention can automatically adjust the ringing type of the terminal by comprehensively considering various factors, and can further determine the ringing type of the terminal by combining the environment of the terminal.

Description

Ring type automatic adjusting method, device, terminal and storage medium
Technical Field
The invention relates to the technical field of mobile communication, in particular to a method, a device, a terminal and a storage medium for automatically adjusting ring types.
Background
With the rapid development of mobile communication technology, the number of mobile phone users is also rapidly increasing, and mobile phones revolutionarily change people's daily life due to their ease of use and portability, and now become essential communication tools in people's life. At present, mobile phone ring tones are more and more diversified, and mobile phone users have more and more requirements on mobile phone ring tones, such as incoming call ring tones, alarm bells, new message reminders and the like. However, the volume of the ring tone required by the mobile phone user is different at quiet night and in noisy stores.
In the prior art, although different requirements of users are ensured by setting different ring tone volumes for different scenes, for example, in a sleeping room from a noisy environment to a quiet bedroom, the ring tone volume is automatically reduced to ensure that normal rest and life are not disturbed; on a road from a quiet bedroom to a noisy road, the volume of the ring tone can be automatically increased, and new troubles caused by missing important calls are avoided. However, the automatic ring adjustment method only considers a single scene, and does not comprehensively consider various factors and some special situations, for example, originally setting the meeting time, the ring mode is silent, and if a meeting is cancelled, the silent ring mode can miss an important incoming call.
Therefore, there is a need for an automatic tuning method for ring types that can take into account a variety of factors.
Disclosure of Invention
In view of the above, there is a need for an automatic ring type adjustment method, apparatus, terminal and storage medium, which can automatically adjust the ring type of the terminal by comprehensively considering various factors, and can further determine the ring type of the terminal according to the environment where the terminal is located.
A first aspect of the present invention provides a method for automatically adjusting a ring type, where the method includes:
acquiring a plurality of environment parameters of the terminal and environment volume of the environment;
judging whether the plurality of environment parameters are matched with a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event;
when the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event, acquiring a first ringing parameter corresponding to the preset first trigger event; judging whether the environment volume is smaller than a preset first volume threshold value or not; when the environment volume is determined to be smaller than the preset first volume threshold, adjusting the ring type of the terminal according to the first ring parameter;
when the plurality of environment parameters match a plurality of second sub-parameters in the preset second trigger event, acquiring a second ringing parameter corresponding to the preset second trigger event; judging whether the environmental volume is greater than a preset second volume threshold value or not; and when the environment volume is determined to be larger than the preset second volume threshold, adjusting the ring type of the terminal according to the second ring parameter.
Preferably, the plurality of environmental parameters include: date, time and geographical location, the plurality of first sub-parameters comprising: presetting a first date range, a first time period and a first geographical position range; the plurality of second sub-parameters includes: presetting a second date range, a second time period and a second geographical position range;
judging whether the plurality of environmental parameters match a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event comprises:
judging whether the date is within the preset first date range or within the preset second date range, whether the time is within the preset first time period or within the preset second time period, and whether the geographic position is within the preset first geographic position range or within the preset second geographic position range;
when the date is within the preset first date range, the time is within the preset first time period and the geographic position is within the preset first geographic position range, determining that the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event;
and when the date is within the preset second date range, the time is within the preset second time period, and the geographic position is within the preset second geographic position range, determining that the plurality of environmental parameters match a plurality of second sub-parameters in the preset second trigger event.
Preferably, the adjusting the ring type of the terminal according to the first ring parameter includes:
adjusting the ring type of the terminal according to a corresponding relation between a preset message source and a first ring type in the first ring parameter, wherein the first ring parameter comprises: silence, vibration after the preset time of silence or silence after the preset time of vibration.
Preferably, the adjusting the ring type of the terminal according to the second ring parameter includes:
randomly acquiring a second ring type in the second ring parameter as the ring type of the terminal, wherein the second ring parameter includes: vibration, ringing after vibration preset time or vibration after ringing preset time.
Preferably, the preset first volume threshold is smaller than the preset second volume threshold,
when it is determined that the ambient volume is greater than or equal to the preset first volume threshold, the method further includes: adjusting the ringing type of the terminal according to the first environment volume;
when it is determined that the ambient volume is less than or equal to the preset second volume threshold, the method further includes: and adjusting the ringing type of the terminal according to the second environment volume.
Preferably, before the obtaining of the plurality of environment parameters where the terminal is located, the method further includes:
detecting whether a touch signal is received on a preset key displayed by the terminal;
when detecting that the preset key receives a touch signal, detecting whether a first switching instruction is received or not;
when the first switching instruction is detected to be received, switching the terminal from a normal ringing mode to an intelligent ringing mode, and acquiring a plurality of environment parameters of the terminal in the intelligent ringing mode;
and when the first switching instruction is detected not to be received, keeping the normal ringing mode of the terminal.
Preferably, after the terminal is switched from the normal ring mode to the intelligent ring mode, the method further includes:
detecting whether a second switching instruction is received;
and when a second switching instruction is detected to be received, switching the intelligent ringing mode of the terminal into the normal ringing mode.
A second aspect of the present invention provides an automatic ring tone adjusting apparatus, operating in a terminal, the apparatus including:
the first acquisition module is used for acquiring a plurality of environment parameters of the terminal and the environment volume of the environment;
the first judging module is used for judging whether the plurality of environment parameters are matched with a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event;
a second obtaining module, configured to obtain a first ring parameter corresponding to the preset first trigger event when the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event;
the second judgment module is used for judging whether the environment volume is smaller than a preset first volume threshold value or not;
the first adjusting module is used for adjusting the ringing type of the terminal according to the first ringing parameter when the environment volume is determined to be smaller than the preset first volume threshold;
a third obtaining module, configured to obtain a second ring parameter corresponding to the preset second trigger event when the plurality of environment parameters match a plurality of second sub-parameters in the preset second trigger event;
the third judging module is used for judging whether the environmental volume is greater than a preset second volume threshold value or not;
and the second adjusting module is used for adjusting the ringing type of the terminal according to the second ringing parameter when the environment volume is determined to be greater than the preset second volume threshold.
A third aspect of the present invention provides a terminal comprising a processor for implementing the ring type automatic adjustment method when executing a computer program stored in a memory.
A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the automatic ring type adjustment method.
In summary, the present invention provides a method, an apparatus, a terminal and a storage medium for automatically adjusting a ring type. Determining two different real scenes by presetting a first trigger event and a second trigger event so as to adjust the ringing type according to the real scenes; the method comprises the steps that the environment volume of the terminal is compared with a preset first volume threshold value and a preset second volume threshold value, and whether the terminal meets a first real scene or a second real scene is further determined; only when the environmental volume is smaller than a preset first volume threshold value, the first real scene is considered to be met, and then the ringing type of the terminal is adjusted according to a first ringing parameter; and only when the environmental volume is greater than a preset second volume threshold, determining that a second real scene is met, and further adjusting the ring type of the terminal according to a second ring parameter. The method can integrate multiple factors to ensure the ringing type of the terminal, so that a user of the terminal can not miss an incoming call, and interference on life and work of the user of the terminal can be reduced to the maximum extent.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an automatic ring type adjustment method according to an embodiment of the present invention.
Fig. 2 is a structural diagram of an automatic ring tone type adjustment device according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a detailed description of the present invention will be given below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and features of the embodiments may be combined with each other without conflict.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention, and the described embodiments are merely a subset of the embodiments of the present invention, rather than a complete embodiment. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Example one
Fig. 1 is a flowchart of an automatic ring type adjustment method according to an embodiment of the present invention.
In this embodiment, the method for automatically adjusting the ring type may be applied to a terminal, and for a terminal that needs to automatically adjust the ring type, the function of automatically adjusting the ring type provided by the method of the present invention may be directly integrated on the terminal, or may be run in the terminal in the form of a Software Development Kit (SKD).
As shown in fig. 1, the automatic ring type adjustment method specifically includes the following steps, and the order of the steps in the flowchart may be changed and some may be omitted according to different requirements.
And S11, acquiring a plurality of environment parameters of the terminal and the environment volume of the environment.
In this embodiment, the terminal detects the environmental parameters and the environmental volume in real time, where the environmental parameters include: date, time, and geographic location. The date refers to the year, month and day of the terminal system, the time refers to the hour, minute and second of the terminal system, and the geographic position refers to the longitude and latitude information of the terminal.
The terminal can acquire the geographical position through a self-contained global positioning system and acquire the surrounding environment volume through a built-in environment sensor.
S12, determining whether the plurality of environment parameters match a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event.
In this embodiment, the terminal may preset a first trigger event and a plurality of first sub-parameters corresponding to the first trigger event, and also preset a second trigger event and a plurality of second sub-parameters corresponding to the second trigger event.
In this embodiment, the plurality of first sub-parameters include: the method comprises the steps of presetting a first date range, presetting a first time period and presetting a first geographical position range. The preset first date range may be one to five weeks per week. The preset first time period may be a time period of a combination of a plurality of time segments of 9:00 am to 6:00 pm, or 9:00 am to 12:00 pm, 2:00 pm to 6:00 pm, and the like. The preset first geographical location range may be a plurality of target geographical locations set in advance, for example, an office location, or within a preset range of the office location.
In this embodiment, the plurality of second sub-parameters include: and presetting a second date range, a second time period and a second geographical position range. The preset second date range may be six to sunday per week. The preset second time period can be a time period formed by a plurality of time segments or a plurality of time segments, such as 6:00-9:00 am, 12:00-2:00 pm or 6:00-12:00 pm every day from saturday to sunday. The preset second geographic location range may be a plurality of target geographic locations set in advance, for example, a home, a supermarket, a square, or the like.
Preferably, in order to save too much time for the end user to set the first trigger event and the second trigger event, the non-first trigger event may be considered as the second trigger event. That is, the end user only needs to set the first trigger event, and the rest except the set first trigger event is regarded as the second trigger event. For example, the terminal user sets the first trigger event to monday through friday, and saturday and sunday are the second trigger events; for another example, if the end user sets the first trigger event to be 9:00 am to 6:00 pm every day, the remaining time periods of each day except 9:00 am to 6:00 pm are all considered as the second trigger event; for another example, the end user sets the first trigger event to monday through friday and each day of the five days is 9:00 am-6:00 pm, then each day of the five days of monday through friday is 00:00 am-9:00 am, 6:00 pm-12:00 pm, and all days of saturday and sunday are considered as the second trigger event.
Specifically, the determining whether the plurality of environmental parameters match a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event includes:
judging whether the date is within the preset first date range or within the preset second date range, whether the time is within the preset first time period or within the preset second time period, and whether the geographic position is within the preset first geographic position range or within the preset second geographic position range;
when the date is within the preset first date range, the time is within the preset first time period and the geographic position is within the preset first geographic position range, determining that the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event;
and when the date is within the preset second date range, the time is within the preset second time period, and the geographic position is within the preset second geographic position range, determining that the plurality of environmental parameters match a plurality of second sub-parameters in the preset second trigger event.
In this embodiment, it needs to be determined whether a plurality of environment parameters correspond to a plurality of first sub-parameters in the first trigger event and a plurality of second sub-parameters in the second trigger event one to one. When the date, the time and the geographic position are respectively matched with a preset first date range, a preset first time period and a preset first geographic position range, the fact that the plurality of environment parameters are matched with a plurality of first sub-parameters in a preset first trigger event is shown. When the date, the time and the geographic position are respectively matched with a preset second date range, a preset second time period and a preset second geographic position range, it is indicated that the plurality of environment parameters are matched with a plurality of second sub-parameters in a preset second trigger event. If any one of the environmental parameters is not matched with the first sub-parameter or the second sub-parameter, it indicates that the environmental parameters are not matched with the first sub-parameters in the preset first trigger event or the second sub-parameters in the preset second trigger event.
When the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event, executing S13; when the plurality of environment parameters match the plurality of second sub-parameters in the preset second trigger event, S16 is executed.
And S13, acquiring a first ringing parameter corresponding to the preset first trigger event.
In this embodiment, the terminal presets a corresponding relationship between a first trigger event and a first ring parameter, where the first ring parameter includes: silence, vibration after the preset time of silence or silence after the preset time of vibration.
And S14, judging whether the environment volume is smaller than a preset first volume threshold value.
In this embodiment, the terminal presets a first volume threshold and a second volume threshold, where the preset first volume threshold is smaller than the second volume threshold.
When the multiple parameter environments are matched with the multiple first sub-parameters, whether the environment volume of the terminal is smaller than a preset first volume threshold value is further judged, so that whether the environment where the terminal is located is a first real scene required by a user is determined, and whether the ringing type of the terminal is adjusted according to the first ringing parameter is further determined.
And S15, when the environment volume is determined to be smaller than the preset first volume threshold, adjusting the ring type of the terminal according to the first ring parameter.
In this embodiment, when it is determined that the environmental volume of the environment in which the terminal is located is smaller than the preset first volume threshold, indicating that the environment in which the terminal is located is a first real scene required by a user, the ring type of the terminal is adjusted according to the first ring parameter; when it is determined that the environmental volume of the environment where the terminal is located is greater than or equal to the preset first volume threshold, which indicates that the environment where the terminal is located is not the first real scene required by the user, the ring type of the terminal is adjusted according to the first environmental volume, for example, it may be determined that the terminal rings at a volume higher than the first environmental volume.
Preferably, the adjusting the ring type of the terminal according to the first ring parameter includes:
and adjusting the ringing type of the terminal according to the corresponding relation between a preset message source and the first ringing type in the first ringing parameter.
In this embodiment, the terminal presets a correspondence relationship between the messages originating from the first ring parameters. The message sources include: incoming call, short message, message in communication software. When the terminal detects the message source, the first ringing parameter corresponding to the message source can be determined, and the message is rung by the determined first ringing parameter.
Illustratively, the first trigger event is 9: 00-6:00 pm every day, the first ringing parameter corresponding to the incoming call is vibration and lasts for 1 minute, and the first ringing parameter corresponding to the short message is mute, so that the terminal vibrates and lasts for 1 minute when receiving the incoming call every 9: 00-6:00 am every day; the terminal alerts the user in a silent manner when receiving the short message every 9:00 am to 6:00 pm.
And S16, acquiring a second ringing parameter corresponding to the preset second trigger event.
In this embodiment, the terminal presets a corresponding relationship between a second trigger event and a second ringing parameter, where the second ringing parameter includes: vibration, ringing after vibration preset time or vibration after ringing preset time.
And S17, judging whether the environment volume is larger than a preset second volume threshold value.
When the plurality of parameter environments are matched with the plurality of second sub-parameters, whether the environment volume of the terminal is larger than a preset second volume threshold value is further judged so as to determine whether the environment where the terminal is located is a second real scene required by the user, and further determine whether the ring type of the terminal is adjusted according to the second ring parameter.
And S18, when the environment volume is determined to be larger than the preset second volume threshold, adjusting the ring type of the terminal according to the second ring parameter.
In this embodiment, when it is determined that the environmental volume of the environment in which the terminal is located is greater than the preset second volume threshold, indicating that the environment in which the terminal is located is a second real scene required by the user, the ring type of the terminal is adjusted according to the second ring parameter; when it is determined that the environmental volume of the environment where the terminal is located is less than or equal to the preset second volume threshold, which indicates that the environment where the terminal is located is not the second real scene required by the user, the ring type of the terminal is adjusted according to the second environmental volume, for example, it may be determined that the terminal rings at a volume lower than the second environmental volume.
Preferably, the adjusting the ring type of the terminal according to the second ring parameter includes:
and randomly acquiring a second ring type in the second ring parameter as the ring type of the terminal.
Illustratively, the second trigger event is saturday to weekend, the randomly acquired second ring parameter is ring, the sound volume is 30 db, and the duration is 1 minute, and when the terminal receives an incoming call, a short message, or various types of messages during saturday or weekend, the terminal rings at the sound volume of 30 db and the duration is 1 minute.
Further, before the obtaining of the plurality of environment parameters where the terminal is located, the method further includes:
detecting whether a touch signal is received on a preset key displayed by the terminal;
when detecting that the preset key receives a touch signal, detecting whether a first switching instruction is received or not;
when the first switching instruction is detected to be received, switching the terminal from a normal ringing mode to an intelligent ringing mode, and acquiring a plurality of environment parameters of the terminal in the intelligent ringing mode;
and when the first switching instruction is detected not to be received, keeping the normal ringing mode of the terminal.
In this embodiment, at least two ringing modes may be preset in the terminal, one being a normal ringing mode, and the other being an intelligent ringing mode. The normal ringing mode refers to that the terminal rings according to a default ringing mode of a system when leaving a factory. The intelligent ringing mode refers to ringing according to ringing parameters corresponding to different preset trigger events when the preset trigger events occur.
The preset key may be a virtual key (e.g., a virtual icon) and may be a physical key (e.g., a physical key on the terminal). The virtual key can be set and displayed on an unlocking interface of the terminal, and can also be set and displayed on any display interface of the terminal. The preset key is displayed on any display interface of the terminal, so that a terminal user can conveniently touch the preset key at any time to switch the ringing mode of the terminal.
The first switching instruction may be pressing the terminal screen for a preset time period (e.g., 2 seconds), or tapping the back of the terminal for a preset number of times (e.g., 2 times), or shaking the terminal for a preset number of times (e.g., 2 times), or the like.
The terminal is switched to the intelligent ring mode by the first switching instruction in order to avoid misoperation of a user by setting a preset key; the terminal receives the first switching instruction when detecting and receiving the touch signal, switches the terminal from the normal ringing mode to the intelligent ringing mode when receiving the first switching instruction, and acquires a plurality of parameters and environmental volume of the terminal under the condition of the intelligent ringing mode.
Further, after switching the terminal from the normal ring mode to the smart ring mode, the method further includes:
detecting whether a second switching instruction is received;
and when a second switching instruction is detected to be received, switching the intelligent ringing mode of the terminal into the normal ringing mode.
The second switching instruction may be pressing the terminal screen for a preset time period (e.g., 3 seconds), or tapping the back of the terminal for a preset number of times (e.g., 3 times), or shaking the terminal for a preset number of times (e.g., 3 times), or the like.
In other embodiments, the first switching instruction may be the same as or different from the second switching instruction. And when the first switching instruction is the same as the second switching instruction, switching the normal ringing mode of the terminal into the intelligent ringing mode when the switching instruction is received for the first time, and switching the intelligent ringing mode of the terminal into the normal ringing mode when the switching instruction is received again. The first switching instruction and the second switching instruction are set to be the same, different switching instructions do not need to be memorized, and brain memory of a terminal user can be released.
In summary, in the automatic ring-down type adjustment method of the present invention, two different real scenes are determined by presetting a first trigger event and a second trigger event, so as to adjust the ring-down type according to the real scenes; the method comprises the steps that the environment volume of the terminal is compared with a preset first volume threshold value and a preset second volume threshold value, and whether the terminal meets a first real scene or a second real scene is further determined; only when the environmental volume is smaller than a preset first volume threshold value, the first real scene is considered to be met, and then the ringing type of the terminal is adjusted according to a first ringing parameter; and only when the environmental volume is greater than a preset second volume threshold, determining that a second real scene is met, and further adjusting the ring type of the terminal according to a second ring parameter. The method can integrate multiple factors to ensure the ringing type of the terminal, so that a user of the terminal can not miss an incoming call, and interference on life and work of the user of the terminal can be reduced to the maximum extent.
Example two
Fig. 2 is a structural diagram of an automatic ring tone type adjustment device according to a second embodiment of the present invention.
In some embodiments, the automatic ring tone adjusting apparatus 20 may include a plurality of functional modules composed of program code segments. The program code of each program segment in the automatic ring type adjustment device 20 may be stored in a memory of the terminal and executed by the at least one processor to perform (see fig. 1 for details) the automatic adjustment of the ring type.
In this embodiment, the automatic ring tone adjusting apparatus 20 may be divided into a plurality of functional modules according to the functions executed by the apparatus. The functional module may include: the system comprises a first obtaining module 201, a first judging module 202, a second obtaining module 203, a second judging module 204, a first adjusting module 205, a third obtaining module 206, a third judging module 207, a second adjusting module 208, a detecting module 209 and a switching module 210. The module referred to herein is a series of computer program segments capable of being executed by at least one processor and capable of performing a fixed function and is stored in memory. In this embodiment, the functions of the modules will be described in detail in the following embodiments.
A first obtaining module 201, configured to obtain a plurality of environment parameters where the terminal is located and an environment volume of the environment where the terminal is located.
In this embodiment, the terminal detects the environmental parameters and the environmental volume in real time, where the environmental parameters include: date, time, and geographic location. The date refers to the year, month and day of the terminal system, the time refers to the hour, minute and second of the terminal system, and the geographic position refers to the longitude and latitude information of the terminal.
The terminal can acquire the geographical position through a self-contained global positioning system and acquire the surrounding environment volume through a built-in environment sensor.
The first determining module 202 is configured to determine whether the plurality of environment parameters match a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event.
In this embodiment, the terminal may preset a first trigger event and a plurality of first sub-parameters corresponding to the first trigger event, and also preset a second trigger event and a plurality of second sub-parameters corresponding to the second trigger event.
In this embodiment, the plurality of first sub-parameters include: the method comprises the steps of presetting a first date range, presetting a first time period and presetting a first geographical position range. The preset first date range may be one to five weeks per week. The preset first time period may be a time period of a combination of a plurality of time segments of 9:00 am to 6:00 pm, or 9:00 am to 12:00 pm, 2:00 pm to 6:00 pm, and the like. The preset first geographical location range may be a plurality of target geographical locations set in advance, for example, an office location, or within a preset range of the office location.
In this embodiment, the plurality of second sub-parameters include: and presetting a second date range, a second time period and a second geographical position range. The preset second date range may be six to sunday per week. The preset second time period can be a time period formed by a plurality of time segments or a plurality of time segments, such as 6:00-9:00 am, 12:00-2:00 pm or 6:00-12:00 pm every day from saturday to sunday. The preset second geographic location range may be a plurality of target geographic locations set in advance, for example, a home, a supermarket, a square, or the like.
Preferably, in order to save too much time for the end user to set the first trigger event and the second trigger event, the non-first trigger event may be considered as the second trigger event. That is, the end user only needs to set the first trigger event, and the rest except the set first trigger event is regarded as the second trigger event. For example, the terminal user sets the first trigger event to monday through friday, and saturday and sunday are the second trigger events; for another example, if the end user sets the first trigger event to be 9:00 am to 6:00 pm every day, the remaining time periods of each day except 9:00 am to 6:00 pm are all considered as the second trigger event; for another example, the end user sets the first trigger event to monday through friday and each day of the five days is 9:00 am-6:00 pm, then each day of the five days of monday through friday is 00:00 am-9:00 am, 6:00 pm-12:00 pm, and all days of saturday and sunday are considered as the second trigger event.
Specifically, the determining, by the first determining module 202, whether the plurality of environment parameters match a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event includes:
judging whether the date is within the preset first date range or within the preset second date range, whether the time is within the preset first time period or within the preset second time period, and whether the geographic position is within the preset first geographic position range or within the preset second geographic position range;
when the date is within the preset first date range, the time is within the preset first time period and the geographic position is within the preset first geographic position range, determining that the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event;
and when the date is within the preset second date range, the time is within the preset second time period, and the geographic position is within the preset second geographic position range, determining that the plurality of environmental parameters match a plurality of second sub-parameters in the preset second trigger event.
In this embodiment, it needs to be determined whether a plurality of environment parameters correspond to a plurality of first sub-parameters in the first trigger event and a plurality of second sub-parameters in the second trigger event one to one. When the date, the time and the geographic position are respectively matched with a preset first date range, a preset first time period and a preset first geographic position range, the fact that the plurality of environment parameters are matched with a plurality of first sub-parameters in a preset first trigger event is shown. When the date, the time and the geographic position are respectively matched with a preset second date range, a preset second time period and a preset second geographic position range, it is indicated that the plurality of environment parameters are matched with a plurality of second sub-parameters in a preset second trigger event. If any one of the environmental parameters is not matched with the first sub-parameter or the second sub-parameter, it indicates that the environmental parameters are not matched with the first sub-parameters in the preset first trigger event or the second sub-parameters in the preset second trigger event.
A second obtaining module 203, configured to obtain a first ring parameter corresponding to the preset first trigger event when the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event.
In this embodiment, the terminal presets a corresponding relationship between a first trigger event and a first ring parameter, where the first ring parameter includes: silence, vibration after the preset time of silence or silence after the preset time of vibration.
The second determining module 204 is configured to determine whether the ambient volume is smaller than a preset first volume threshold.
In this embodiment, the terminal presets a first volume threshold and a second volume threshold, where the preset first volume threshold is smaller than the second volume threshold.
When the multiple parameter environments are matched with the multiple first sub-parameters, whether the environment volume of the terminal is smaller than a preset first volume threshold value is further judged, so that whether the environment where the terminal is located is a first real scene required by a user is determined, and whether the ringing type of the terminal is adjusted according to the first ringing parameter is further determined.
A first adjusting module 205, configured to adjust a ring type of the terminal according to the first ring parameter when it is determined that the environmental volume is smaller than the preset first volume threshold.
In this embodiment, when it is determined that the environmental volume of the environment in which the terminal is located is smaller than the preset first volume threshold, indicating that the environment in which the terminal is located is a first real scene required by a user, the ring type of the terminal is adjusted according to the first ring parameter; when it is determined that the environmental volume of the environment where the terminal is located is greater than or equal to the preset first volume threshold, which indicates that the environment where the terminal is located is not the first real scene required by the user, the ring type of the terminal is adjusted according to the first environmental volume, for example, it may be determined that the terminal rings at a volume higher than the first environmental volume.
Preferably, the adjusting, by the first adjusting module 205, the ring type of the terminal according to the first ring parameter includes:
and adjusting the ringing type of the terminal according to the corresponding relation between a preset message source and the first ringing type in the first ringing parameter.
In this embodiment, the terminal presets a correspondence relationship between the messages originating from the first ring parameters. The message sources include: incoming call, short message, message in communication software. When the terminal detects the message source, the first ringing parameter corresponding to the message source can be determined, and the message is rung by the determined first ringing parameter.
Illustratively, the first trigger event is 9: 00-6:00 pm every day, the first ringing parameter corresponding to the incoming call is vibration and lasts for 1 minute, and the first ringing parameter corresponding to the short message is mute, so that the terminal vibrates and lasts for 1 minute when receiving the incoming call every 9: 00-6:00 am every day; the terminal alerts the user in a silent manner when receiving the short message every 9:00 am to 6:00 pm.
A third obtaining module 206, configured to obtain a second ring parameter corresponding to the preset second trigger event when the plurality of environment parameters match a plurality of second sub-parameters in the preset second trigger event.
In this embodiment, the terminal presets a corresponding relationship between a second trigger event and a second ringing parameter, where the second ringing parameter includes: vibration, ringing after vibration preset time or vibration after ringing preset time.
The third determining module 207 is configured to determine whether the ambient volume is greater than a preset second volume threshold.
When the plurality of parameter environments are matched with the plurality of second sub-parameters, whether the environment volume of the terminal is larger than a preset second volume threshold value is further judged so as to determine whether the environment where the terminal is located is a second real scene required by the user, and further determine whether the ring type of the terminal is adjusted according to the second ring parameter.
And a second adjusting module 208, configured to adjust the ring type of the terminal according to the second ring parameter when it is determined that the environmental volume is greater than the preset second volume threshold.
In this embodiment, when it is determined that the environmental volume of the environment in which the terminal is located is greater than the preset second volume threshold, indicating that the environment in which the terminal is located is a second real scene required by the user, the ring type of the terminal is adjusted according to the second ring parameter; when it is determined that the environmental volume of the environment where the terminal is located is less than or equal to the preset second volume threshold, which indicates that the environment where the terminal is located is not the second real scene required by the user, the ring type of the terminal is adjusted according to the second environmental volume, for example, it may be determined that the terminal rings at a volume lower than the second environmental volume.
Preferably, the adjusting, by the second adjusting module 208, the ring type of the terminal according to the second ring parameter includes:
and randomly acquiring a second ring type in the second ring parameter as the ring type of the terminal.
Illustratively, the second trigger event is saturday to weekend, the randomly acquired second ring parameter is ring, the sound volume is 30 db, and the duration is 1 minute, and when the terminal receives an incoming call, a short message, or various types of messages during saturday or weekend, the terminal rings at the sound volume of 30 db and the duration is 1 minute.
Further, before the obtaining of the plurality of environment parameters where the terminal is located, the apparatus further includes:
a detecting module 209, configured to detect whether a touch signal is received on a preset key displayed by the terminal;
the detecting module 209 is further configured to detect whether a first switching instruction is received when the touch signal received on the preset key is detected;
the switching module 210 is configured to switch the terminal from a normal ring mode to an intelligent ring mode when the first switching instruction is detected to be received, and acquire a plurality of environment parameters where the terminal is located in the intelligent ring mode;
the switching module 210 is further configured to maintain the normal ring mode of the terminal when it is detected that the first switching instruction is not received.
In this embodiment, at least two ringing modes may be preset in the terminal, one being a normal ringing mode, and the other being an intelligent ringing mode. The normal ringing mode refers to that the terminal rings according to a default ringing mode of a system when leaving a factory. The intelligent ringing mode refers to ringing according to ringing parameters corresponding to different preset trigger events when the preset trigger events occur.
The preset key may be a virtual key (e.g., a virtual icon) and may be a physical key (e.g., a physical key on the terminal). The virtual key can be set and displayed on an unlocking interface of the terminal, and can also be set and displayed on any display interface of the terminal. The preset key is displayed on any display interface of the terminal, so that a terminal user can conveniently touch the preset key at any time to switch the ringing mode of the terminal.
The first switching instruction may be pressing the terminal screen for a preset time period (e.g., 2 seconds), or tapping the back of the terminal for a preset number of times (e.g., 2 times), or shaking the terminal for a preset number of times (e.g., 2 times), or the like.
The terminal is switched to the intelligent ring mode by the first switching instruction in order to avoid misoperation of a user by setting a preset key; the terminal receives the first switching instruction when detecting and receiving the touch signal, switches the terminal from the normal ringing mode to the intelligent ringing mode when receiving the first switching instruction, and acquires a plurality of parameters and environmental volume of the terminal under the condition of the intelligent ringing mode.
Further, the detecting module 209 is further configured to detect whether a second switching instruction is received;
the switching module 210 is further configured to switch the intelligent ring mode of the terminal to the normal ring mode when detecting that a second switching instruction is received.
The second switching instruction may be pressing the terminal screen for a preset time period (e.g., 3 seconds), or tapping the back of the terminal for a preset number of times (e.g., 3 times), or shaking the terminal for a preset number of times (e.g., 3 times), or the like.
In other embodiments, the first switching instruction may be the same as or different from the second switching instruction. And when the first switching instruction is the same as the second switching instruction, switching the normal ringing mode of the terminal into the intelligent ringing mode when the switching instruction is received for the first time, and switching the intelligent ringing mode of the terminal into the normal ringing mode when the switching instruction is received again. The first switching instruction and the second switching instruction are set to be the same, different switching instructions do not need to be memorized, and brain memory of a terminal user can be released.
In summary, the automatic ring type adjusting device according to the present invention determines two different real scenes by presetting a first trigger event and a second trigger event, so as to adjust the ring type according to the real scenes; the method comprises the steps that the environment volume of the terminal is compared with a preset first volume threshold value and a preset second volume threshold value, and whether the terminal meets a first real scene or a second real scene is further determined; only when the environmental volume is smaller than a preset first volume threshold value, the first real scene is considered to be met, and then the ringing type of the terminal is adjusted according to a first ringing parameter; and only when the environmental volume is greater than a preset second volume threshold, determining that a second real scene is met, and further adjusting the ring type of the terminal according to a second ring parameter. The method can integrate multiple factors to ensure the ringing type of the terminal, so that a user of the terminal can not miss an incoming call, and interference on life and work of the user of the terminal can be reduced to the maximum extent.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a terminal according to a third embodiment of the present invention. In the preferred embodiment of the present invention, the terminal 3 includes a memory 31, at least one processor 32, at least one communication bus 33, and a transceiver 34.
It will be appreciated by those skilled in the art that the configuration of the terminal shown in fig. 3 is not limiting to the embodiments of the present invention, and may be a bus-type configuration or a star-type configuration, and the terminal 3 may include more or less hardware or software than those shown, or a different arrangement of components.
In some embodiments, the terminal 3 includes a terminal capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware includes but is not limited to a microprocessor, an application specific integrated circuit, a programmable gate array, a digital processor, an embedded device, and the like. The terminal 3 may further include a client device, which includes, but is not limited to, any electronic product capable of performing human-computer interaction with a client through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, a digital camera, and the like.
It should be noted that the terminal 3 is only an example, and other existing or future electronic products, such as those that can be adapted to the present invention, should also be included in the scope of the present invention, and are included herein by reference.
In some embodiments, the memory 31 is used for storing program codes and various data, such as the automatic ring tone adjusting apparatus 20 installed in the terminal 3, and realizes high-speed and automatic access to programs or data during the operation of the terminal 3. The Memory 31 includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an electronically Erasable rewritable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc Memory, a magnetic disk Memory, a tape Memory, or any other medium readable by a computer that can be used to carry or store data.
In some embodiments, the at least one processor 32 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The at least one processor 32 is a Control Unit (Control Unit) of the terminal 3, connects various components of the entire terminal 3 by using various interfaces and lines, and executes various functions of the terminal 3 and processes data, such as a function of automatically adjusting a ring type, by running or executing programs or modules stored in the memory 31 and calling data stored in the memory 31.
In some embodiments, the at least one communication bus 33 is arranged to enable connection communication between the memory 31 and the at least one processor 32 or the like.
Although not shown, the terminal 3 may further include a power supply (such as a battery) for supplying power to various components, and preferably, the power supply may be logically connected to the at least one processor 32 through a power management device, so as to implement functions of managing charging, discharging, and power consumption through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The terminal 3 may further include various sensors, a bluetooth module, a Wi-Fi module, other modules, and the like, which are not described herein again.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a terminal, or a network device) or a processor (processor) to execute parts of the methods according to the embodiments of the present invention.
In a further embodiment, in conjunction with fig. 2, the at least one processor 32 may execute the operating device of the first server terminal 3 and various installed applications (such as the automatic ring tone adjusting device 20), program codes, and the like, for example, the above modules.
The memory 31 has program code stored therein, and the at least one processor 32 can call the program code stored in the memory 31 to perform related functions. For example, the modules described in fig. 2 are program codes stored in the memory 31 and executed by the at least one processor 32, so as to implement the functions of the modules for the purpose of automatic ring type adjustment.
In one embodiment of the present invention, the memory 31 stores a plurality of instructions that are executed by the at least one processor 32 to implement an alarm type automatic adjustment method.
Specifically, the at least one processor 32 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, and details are not repeated here.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or that the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. An automatic ring type adjusting method applied to a terminal is characterized by comprising the following steps:
acquiring a plurality of environment parameters of the terminal and environment volume of the environment;
judging whether the plurality of environment parameters are matched with a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event;
when the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event, acquiring a first ringing parameter corresponding to the preset first trigger event; judging whether the environment volume is smaller than a preset first volume threshold value or not; when the environment volume is determined to be smaller than the preset first volume threshold, adjusting the ring type of the terminal according to the first ring parameter;
when the plurality of environment parameters match a plurality of second sub-parameters in the preset second trigger event, acquiring a second ringing parameter corresponding to the preset second trigger event; judging whether the environmental volume is greater than a preset second volume threshold value or not; and when the environment volume is determined to be larger than the preset second volume threshold, adjusting the ring type of the terminal according to the second ring parameter.
2. The method of claim 1, wherein the plurality of environmental parameters comprise: date, time and geographical location, the plurality of first sub-parameters comprising: presetting a first date range, a first time period and a first geographical position range; the plurality of second sub-parameters includes: presetting a second date range, a second time period and a second geographical position range;
judging whether the plurality of environmental parameters match a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event comprises:
judging whether the date is within the preset first date range or within the preset second date range, whether the time is within the preset first time period or within the preset second time period, and whether the geographic position is within the preset first geographic position range or within the preset second geographic position range;
when the date is within the preset first date range, the time is within the preset first time period and the geographic position is within the preset first geographic position range, determining that the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event;
and when the date is within the preset second date range, the time is within the preset second time period, and the geographic position is within the preset second geographic position range, determining that the plurality of environmental parameters match a plurality of second sub-parameters in the preset second trigger event.
3. The method of claim 1, wherein said adjusting the ring type of the terminal according to the first ring parameter comprises:
adjusting the ring type of the terminal according to a corresponding relation between a preset message source and a first ring type in the first ring parameter, wherein the first ring parameter comprises: silence, vibrations, silence are vibrations after predetermineeing a time length or vibrations are predetermineeing a time length after the silence, it includes to predetermine the message source: incoming call, short message, message in communication software.
4. The method of claim 1, wherein said adjusting the ring type of the terminal according to the second ring parameter comprises:
randomly acquiring a second ring type in the second ring parameter as the ring type of the terminal, wherein the second ring parameter includes: vibration, ringing after vibration preset time or vibration after ringing preset time.
5. The method of claim 1, wherein the preset first volume threshold is less than the preset second volume threshold,
when it is determined that the ambient volume is greater than or equal to the preset first volume threshold, the method further includes: adjusting the ringing type of the terminal according to the first environment volume;
when it is determined that the ambient volume is less than or equal to the preset second volume threshold, the method further includes: and adjusting the ring type of the terminal according to the second environment volume.
6. The method according to any one of claims 1 to 5, wherein before said obtaining a plurality of environmental parameters at which the terminal is located, the method further comprises:
detecting whether a touch signal is received on a preset key displayed by the terminal;
when detecting that the preset key receives a touch signal, detecting whether a first switching instruction is received or not;
when the first switching instruction is detected to be received, switching the terminal from a normal ringing mode to an intelligent ringing mode, and acquiring a plurality of environment parameters of the terminal in the intelligent ringing mode;
and when the first switching instruction is detected not to be received, keeping the normal ringing mode of the terminal.
7. The method according to claim 6, wherein after switching the terminal from the normal ring mode to the smart ring mode, the method further comprises:
detecting whether a second switching instruction is received;
and when a second switching instruction is detected to be received, switching the intelligent ringing mode of the terminal into the normal ringing mode.
8. An automatic ring tone type adjusting apparatus operating in a terminal, the apparatus comprising:
the first acquisition module is used for acquiring a plurality of environment parameters of the terminal and the environment volume of the environment;
the first judging module is used for judging whether the plurality of environment parameters are matched with a plurality of first sub-parameters in a preset first trigger event or a plurality of second sub-parameters in a preset second trigger event;
a second obtaining module, configured to obtain a first ring parameter corresponding to the preset first trigger event when the plurality of environment parameters match a plurality of first sub-parameters in the preset first trigger event;
the second judgment module is used for judging whether the environment volume is smaller than a preset first volume threshold value or not;
the first adjusting module is used for adjusting the ringing type of the terminal according to the first ringing parameter when the environment volume is determined to be smaller than the preset first volume threshold;
a third obtaining module, configured to obtain a second ring parameter corresponding to the preset second trigger event when the plurality of environment parameters match a plurality of second sub-parameters in the preset second trigger event;
the third judging module is used for judging whether the environmental volume is greater than a preset second volume threshold value or not;
and the second adjusting module is used for adjusting the ringing type of the terminal according to the second ringing parameter when the environment volume is determined to be greater than the preset second volume threshold.
9. A terminal characterized in that it comprises a processor for implementing the ring type automatic adjustment method according to any one of claims 1 to 7 when executing a computer program stored in a memory.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the automatic ring type adjustment method according to any one of claims 1 to 7.
CN201910346521.5A 2019-04-26 2019-04-26 Ring type automatic adjusting method, device, terminal and storage medium Active CN110099171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910346521.5A CN110099171B (en) 2019-04-26 2019-04-26 Ring type automatic adjusting method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910346521.5A CN110099171B (en) 2019-04-26 2019-04-26 Ring type automatic adjusting method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110099171A CN110099171A (en) 2019-08-06
CN110099171B true CN110099171B (en) 2022-03-01

Family

ID=67446122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910346521.5A Active CN110099171B (en) 2019-04-26 2019-04-26 Ring type automatic adjusting method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110099171B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798573A (en) * 2019-11-04 2020-02-14 深圳传音控股股份有限公司 Volume adjusting method, mobile terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737523A (en) * 2012-11-02 2015-06-24 高通股份有限公司 Managing a context model in a mobile device by assigning context labels for data clusters
CN106231118A (en) * 2016-08-30 2016-12-14 深圳天珑无线科技有限公司 The control method of terminal volume and device
CN106408258A (en) * 2016-09-19 2017-02-15 北京小米移动软件有限公司 Ringtone reminding method and device
CN106453860A (en) * 2016-09-26 2017-02-22 广东小天才科技有限公司 Switching method and device of sound mode and user terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130032966A (en) * 2011-09-26 2013-04-03 엘지전자 주식회사 Method and device for user interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737523A (en) * 2012-11-02 2015-06-24 高通股份有限公司 Managing a context model in a mobile device by assigning context labels for data clusters
CN106231118A (en) * 2016-08-30 2016-12-14 深圳天珑无线科技有限公司 The control method of terminal volume and device
CN106408258A (en) * 2016-09-19 2017-02-15 北京小米移动软件有限公司 Ringtone reminding method and device
CN106453860A (en) * 2016-09-26 2017-02-22 广东小天才科技有限公司 Switching method and device of sound mode and user terminal

Also Published As

Publication number Publication date
CN110099171A (en) 2019-08-06

Similar Documents

Publication Publication Date Title
US9712643B2 (en) Method and device for calling a taxi
CN107147810B (en) Information reminding method and device, storage medium and electronic equipment
US6943671B2 (en) Generating an alarm based on location and time
US20090307616A1 (en) User interface, device and method for an improved operating mode
EP2853136B1 (en) Portable electronic devices having a separate location trigger unit for use in controlling an application unit
US20080268874A1 (en) Cellular phone with special GPS functions
WO2014029361A1 (en) System and method for adjusting operation modes of a mobile device
US20130250734A1 (en) Suspendable alarms
JP2009182443A (en) Communication terminal, operation mode management program, and operation mode management method
CN104052858A (en) Method for setting situational pattern of mobile terminal and mobile terminal
CN106101419B (en) Alarm clock prompting method and system based on mobile terminal
CN106572260A (en) Event reminding method and device
CN108108090B (en) Communication message reminding method and device
CN110099171B (en) Ring type automatic adjusting method, device, terminal and storage medium
WO2000038338A1 (en) Real time clock system and method
US10706390B2 (en) Method and apparatus for changing electronic device status
KR100420395B1 (en) Method for disenabling alarm temporarily in mobile communication terminal
CN105306720A (en) Alarm clock and implementation method thereof
CN106408258A (en) Ringtone reminding method and device
CN105511745A (en) Information processing method and electronic device
US20140057619A1 (en) System and method for adjusting operation modes of a mobile device
CN107846512A (en) Indicating mode switching method, device, terminal and readable storage medium storing program for executing
CN111314561A (en) Intelligent reminding method, terminal and storage medium
US5493611A (en) User configurable telephone with alarm feature
KR20000042780A (en) Method for displaying schedules in cellular phone

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
GR01 Patent grant
GR01 Patent grant