CN107682579B - Incoming call reminding control method and device, storage medium and mobile terminal - Google Patents

Incoming call reminding control method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN107682579B
CN107682579B CN201710998305.XA CN201710998305A CN107682579B CN 107682579 B CN107682579 B CN 107682579B CN 201710998305 A CN201710998305 A CN 201710998305A CN 107682579 B CN107682579 B CN 107682579B
Authority
CN
China
Prior art keywords
incoming call
volume
ringtone
determining
playing
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
CN201710998305.XA
Other languages
Chinese (zh)
Other versions
CN107682579A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710998305.XA priority Critical patent/CN107682579B/en
Publication of CN107682579A publication Critical patent/CN107682579A/en
Application granted granted Critical
Publication of CN107682579B publication Critical patent/CN107682579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • 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
    • 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/048Arrangements providing optical indication of the incoming call, e.g. flasher circuits
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

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

Abstract

The embodiment of the application discloses a method and a device for controlling incoming call reminding, a storage medium and a mobile terminal, wherein the method comprises the following steps: detecting that an incoming call event is triggered, and acquiring the approaching state information of a user and the mobile terminal and the environment volume of an external environment; determining a calling ringtone playing mode and a calling display mode according to the proximity state information and the environment volume; and controlling the playing of the incoming call ringtone and the display of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode. The technical scheme provided by the embodiment of the application can reasonably control the incoming call reminding mode of the mobile terminal.

Description

Incoming call reminding control method and device, storage medium and mobile terminal
Technical Field
The embodiment of the application relates to the technical field of incoming call control, in particular to an incoming call reminding control method, an incoming call reminding control device, a storage medium and a mobile terminal.
Background
Mobile terminals such as mobile phones have more and more functions, which provides convenience for life and work of people, and people can make and receive calls, listen to music, watch videos, play games and the like by using the mobile phones. When a call comes, a general terminal plays a ring tone and displays incoming call information to prompt a user to answer the call. The incoming call reminding control method in the related art has the defects and needs to be improved.
Disclosure of Invention
The embodiment of the application provides a method and a device for controlling call reminding, a storage medium and a mobile terminal, which can reasonably control a call reminding mode.
In a first aspect, an embodiment of the present application provides an incoming call alert control method, including:
detecting that an incoming call event is triggered, and acquiring the approaching state information of a user and the mobile terminal and the environment volume of an external environment;
determining a calling ringtone playing mode and a calling display mode according to the proximity state information and the environment volume;
and controlling the playing of the incoming call ringtone and the display of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode.
In a second aspect, an embodiment of the present application provides an incoming call alert control apparatus, including:
the environment information acquisition module is used for detecting that the incoming call event is triggered and acquiring the approaching state information of the user and the mobile terminal and the environment volume of the external environment;
the incoming call reminding mode determining module is used for determining an incoming call ringtone playing mode and an incoming call display mode according to the approaching state information and the environment volume;
and the incoming call reminding control module is used for controlling the playing of the incoming call ringtone and the display of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the incoming call reminder control method as provided in the first aspect.
In a fourth aspect, an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing, implements the incoming call alert control method as provided in the first aspect.
According to the embodiment of the application, under the condition that the incoming call event is triggered, the approaching state information of the user and the mobile terminal and the environment volume of the external environment are obtained, the incoming call ringtone playing mode and the incoming call display mode are determined according to the approaching state and the environment volume, the incoming call ringtone playing mode and the incoming call display mode are controlled, the incoming call information display mode is controlled, and the incoming call reminding mode of the mobile terminal can be reasonably controlled.
Drawings
Fig. 1 is a flowchart of an incoming call alert control method according to an embodiment of the present application;
fig. 2 is a flowchart of another incoming call reminder control method provided in the embodiment of the present application;
fig. 3 is a flowchart of another incoming call reminder control method provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an incoming call reminder control device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a method for controlling an incoming call reminder according to an embodiment of the present application, where the method of the present embodiment may be performed by an incoming call reminder control device, which may be implemented by hardware and/or software, and the device may be disposed inside a mobile terminal as a part of the mobile terminal. The mobile terminal described in this embodiment includes, but is not limited to, a smart phone, a notebook, or a tablet computer.
As shown in fig. 1, the incoming call reminder control method provided in this embodiment includes the following steps:
step 101, detecting that an incoming call event is triggered, and acquiring the proximity state information of a user and the mobile terminal and the environment volume of an external environment.
The detection of the incoming call event being triggered may be a detection of a modem receiving an incoming call signal. The proximity state information of the user and the mobile terminal may include both a proximity state and a distant state. In some embodiments, the proximity state information may be implemented by detecting a distance between the user and the mobile terminal, for example, by using a proximity sensor or an ultrasonic sensor of the mobile terminal, and if the distance is smaller than a set distance value, the proximity state information may be determined to be close, otherwise, the proximity state information may be determined to be far. The environment volume is the noise volume of the external environment where the mobile terminal is located, and can be collected through a microphone of the mobile terminal.
In some embodiments, the proximity state information may be implemented by analyzing captured image information acquired by a front camera of the mobile terminal, for example, determining whether a face exists in the captured image, and if a face image exists in the captured image and the similarity between the size of the face contour in the face image and a set contour is greater than a set ratio, it may be determined that the proximity state information is proximity if the user is in front of the mobile terminal; if the face image does not exist in the shot image, or the similarity between the size of the face contour in the face image and the set contour is not larger than the set ratio although the face image exists, the user can be considered not to be in front of the mobile terminal, and the approaching state information can be determined to be far away. For another example, whether a human eye image exists in a shot image is judged, if the human eye image exists in the shot image and the radius of human eyes in the human eye image is larger than a set value, the user can be considered to be in front of the mobile terminal, and the approaching state information can be determined to be approaching; if the human eye image does not exist in the shot image or the human eye radius in the human eye image is not larger than the set value although the human eye image exists, the user can be considered not to be in front of the mobile terminal, and the approaching state information can be determined to be far away. The approach state information of the user and the mobile terminal can be accurately determined by identifying and analyzing the radius of the human eyes in the shot image to determine the approach state information, the image identification amount can be reduced, the efficiency of determining the approach state information is improved, and the power consumption of the mobile terminal is reduced.
And 102, determining an incoming call ring playing mode and an incoming call display mode according to the proximity state information and the environment volume.
The incoming call ringtone playing mode may include an incoming call ringtone playing mode, incoming call ringtone playing volume, and incoming call ringtone playing tracks. The incoming call ringtone play mode may include a shake play mode and a ringtone play mode. The incoming call display mode comprises the steps that incoming call information is displayed on a bright screen, and incoming call information is not displayed on a black screen.
This step may include: determining an incoming call ringtone playing mode according to the proximity state information and the environment volume; and determining the caller identification form according to the proximity state information and the environment volume. Alternatively, the method may further include: determining a caller identification mode according to the approaching state information; and determining the incoming call ringtone playing mode according to the environment volume.
Optionally, the incoming call ringtone tracks may be determined based on a preset correspondence between the environment volume and the ringtone track type according to the environment volume. For different types of ring tones, the user is given a different auditory volume experience even if the playback volume is the same, e.g., a rock-type song sounds louder than a light music-type song at the same playback volume. In this embodiment, the incoming call ringtone tracks suitable for the current ambient volume can be determined based on the preset corresponding relationship between the ambient volume and the ringtone track type according to the ambient volume. Determining the incoming call ringtone tracks according to the environment volume and based on the preset corresponding relationship between the environment volume and the ringtone track types may include: determining an environment volume level corresponding to the environment volume; determining a target ringtone track type corresponding to the environment volume level based on a preset corresponding relation between the environment volume level and the ringtone track type; and selecting one song from the songs of the target ringtone song types according to a preset selection mode to serve as the song of the incoming ringtone. The preset selection mode can be random selection or cyclic alternate selection. Each environment volume level can correspond to environment volume in a certain range, if the environment volume is larger, the environment volume level corresponding to the environment volume level is higher, the ring track type corresponding to one high environment volume level can be determined as a rock type in a preset corresponding relation, the ring track type corresponding to one low environment volume level can be determined as a light music type, and the ring track types corresponding to other environment volume levels can be determined as popular music types and the like.
Optionally, the incoming call ringtone tracks may be determined based on a preset correspondence between the proximity state information and the ringtone track types according to the proximity state information. Illustratively, in the preset correspondence, the close state corresponds to a light music genre, and the far state corresponds to a rock music genre.
And 103, controlling the playing of the incoming call ringtone and the display of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode.
After determining the incoming call ringtone playing mode and the incoming call display mode, playing the incoming call ringtone according to the incoming call ringtone playing mode, and displaying incoming call information according to the incoming call display mode. The incoming call information comprises information such as the telephone number of an incoming call contact person, the name of the contact person, the attribution and whether the incoming call contact person is an important contact person.
Optionally, the method may further include: and stopping playing the incoming call ringtone when detecting that the user picks up the mobile terminal. The implementation manner of detecting that the user picks up the terminal may be: whether the mobile terminal is converted from a static state to a moving state is detected by an acceleration sensor or a gyroscope of the mobile terminal, and if yes, the operation that a user picks up the mobile terminal is determined to be detected. The reason why the playing of the incoming call ring is stopped when the user is detected to pick up the mobile terminal, rather than when the user is detected to answer the call, is that on one hand, the user does not need to be continuously reminded of the incoming call disturbing the user now that the user has picked up the mobile terminal, and the actual requirements of the user can be met, on the other hand, the playing of the ring can be stopped as soon as possible, and the power consumption of the terminal is reduced.
According to the incoming call reminding control method provided by the embodiment, under the condition that the incoming call event is triggered, the approaching state information of the user and the mobile terminal and the environment volume of the external environment are obtained, the incoming call playing mode and the incoming call display mode are determined according to the approaching state and the environment volume, the incoming call playing mode and the incoming call display mode are controlled based on the incoming call playing mode and the incoming call display mode, and the incoming call reminding mode of the mobile terminal can be reasonably controlled.
Fig. 2 is a flowchart of another incoming call reminder control method according to an embodiment of the present application. As shown in fig. 2, the method provided by this embodiment includes the following steps:
step 201, when detecting that the incoming call event is triggered, acquiring the proximity state information of the user and the mobile terminal.
Step 202, determining whether the approaching state information is approaching, if yes, executing step 203, otherwise executing step 205.
If the approaching state information is approaching, step 203 is executed, otherwise step 205 is executed.
Step 203, determining the playing volume of the incoming call ringtone to be the first set volume and the incoming call display mode to be bright screen display incoming call information.
The first set volume may be zero, that is, when the user is close to the mobile terminal, the ring tone may be determined to be silent.
Optionally, when determining that the playing volume of the incoming call ringtone is the first set volume, the method may further include: and determining the playing mode of the incoming call ringtone as vibration.
Optionally, if the proximity state information is proximity, determining that the incoming call display mode is bright screen display incoming call information may include: if the approaching state information is approaching, acquiring the distance between the user and the mobile terminal; determining the brightness of a screen target according to the distance, wherein the distance is in direct proportion to the brightness of the screen target; and determining the incoming call display mode as bright screen display, and performing bright screen display on the incoming call information based on the screen target brightness. The reason for this is: when the user is close to the mobile terminal, the user is in front of the mobile terminal, the brightness of the screen can be gradually reduced in the process that the user gradually approaches the mobile terminal to finally pick up the mobile terminal, and the corresponding target brightness of the screen is determined according to the distance between the user and the mobile terminal. The values of the first brightness and the second brightness can be preset and stored according to the requirements of users.
And 204, controlling to play the incoming call ringtone based on the first set volume and displaying the incoming call information based on a bright screen display mode.
Step 205, determining whether the approaching state information is far away, if so, executing step 206, otherwise, ending the process.
If the approaching status information is far away, step 206 is executed.
And step 206, determining that the incoming call display mode is a black screen and not displaying the incoming call information.
And if the approaching state information is far away, determining that the incoming call information is not displayed in a black screen mode if the user is not in front of the mobile terminal. Optionally, the method may further include: if the approaching state is further detected to be the approaching state, the incoming call display mode is controlled to be converted into bright screen display, and incoming call information is displayed. The reason for this is: on one hand, unnecessary power consumption can be reduced, and operation resources and power consumption of the mobile terminal are greatly saved. On the other hand, the privacy of the user can be protected, and the incoming call information cannot be easily displayed.
And step 207, acquiring the environment volume of the external environment.
And step 208, determining the target playing volume of the incoming call ringtone according to the environment volume.
This step may include: the playing volume of the incoming call ringtone comprises: if the environment volume is smaller than the preset environment volume, determining that the target playing volume of the incoming call ringtone is a second set volume, wherein the second set volume is larger than the first set volume; otherwise, determining the target playing volume of the incoming call ringtone to be a third set volume, wherein the third set volume is greater than the second set volume. The second volume may be a default playing volume of the mobile terminal, or the third volume may be a default playing volume of the mobile terminal.
Optionally, after determining that the playing volume of the incoming call ringtone is the second set volume if the environment volume is less than the preset environment volume, the method further includes: when the fact that the timing time of a set timer reaches a set time is detected, acquiring the information of the contact person of the incoming call, wherein the set timer is initialized to 0 when the playing volume of the incoming call ringtone is determined to be a second set volume; and if the incoming call contact is the set important contact, controlling the incoming call ringtone to play at a fourth set volume, wherein the fourth set volume is greater than the second set volume. Wherein the fourth set volume may be the same as the third set volume. The reason for this is: when the user is far away from the mobile terminal and the environment volume is smaller than the preset environment volume, if the user does not pick up the mobile terminal after the set time length, the user is possibly far away from the mobile terminal, and the incoming call condition of the important contact can be reminded by turning up the volume of the incoming call ring. Compared with the method that when the incoming call event is detected to be triggered, the incoming call contact information is immediately acquired, and if the incoming call contact is an important contact, the incoming call ringtone is immediately played at the fourth set volume with higher volume.
And step 209, controlling to play the incoming call ringtone based on the target playing volume, and not displaying the incoming call information based on a black screen display mode.
And step 210, ending.
According to the method provided by the embodiment of the application, when the incoming call event is triggered, the approaching state information of the user and the mobile terminal is obtained, if the approaching state is approaching, the playing volume of the incoming call ringtone is determined to be the first set volume, the incoming call display mode is bright screen display incoming call information, if the approaching state is far away, the incoming call display mode is determined to be a black screen display mode, the incoming call information is not displayed, the environment volume is obtained, the playing volume of the incoming ringtone is determined according to the environment volume, the incoming ringtone playing mode and the incoming call display mode can be reasonably controlled according to the approaching state information and the environment volume, incoming call reminding is accurately and efficiently carried out, and the actual demand of the incoming call reminding of the user is met.
Fig. 3 is a flowchart of another incoming call reminder control method according to an embodiment of the present application. As shown in fig. 3, the incoming call reminder control method provided in this embodiment includes the following steps:
step 301, when detecting that an incoming call event is triggered, starting a front camera of the mobile terminal to shoot, and acquiring a shot image.
Step 302, judging whether a human eye image exists in the shot image and whether the human eye radius in the human eye image is larger than a set value, if so, executing step 303, otherwise, executing step 304.
Step 303, reminding the user of the incoming call in a vibration mode.
If the radius of the human eyes in the human eye image is larger than the set value, the user is in front of the mobile terminal, and at the moment, the incoming call ring does not need to be played, and the user can be reminded in a vibration mode.
And step 304, acquiring the environment volume of the external environment.
Step 305, determining whether the environmental volume is smaller than a preset environmental volume, if so, executing step 306, otherwise, executing step 307.
Step 306, determining the playing volume of the incoming call ringtone to be the second set volume, and controlling the incoming call ringtone to be played at the second set volume to remind the user of the incoming call.
If the environmental volume is smaller than the preset environmental volume, the environmental noise volume is smaller, and the playing volume of the incoming call ringtone can be determined to be a second set volume which is relatively smaller.
And 307, determining the playing volume of the incoming call ringtone to be a third set volume, and controlling the incoming call ringtone to be played at the third set volume to remind the user of incoming call.
If the environmental volume is not less than the preset environmental volume, the environmental noise volume is larger, and the playing volume of the incoming call ringtone can be determined to be a third set volume which is relatively larger.
Step 308, start a timer and initialize the timer to 0.
After the playing volume of the incoming call ringtone is determined to be the second set volume, a timer is started and initialized to 0.
And 309, acquiring the information of the incoming call contact person when the timing time of the timer reaches the set time.
The set duration can be preset and stored according to user requirements. For example, the set time period may be set to a large value, for example, 15 seconds, if the user of the mobile terminal is an old person, and may be set to a small value, for example, 10 seconds, if the user is a young person.
And 310, if the incoming call contact is the set important contact, controlling the incoming call ring to play at a third set volume. Wherein the third set volume is greater than the second set volume.
Step 311, when it is detected that the user picks up the terminal, stopping playing the incoming call ringtone.
The method provided by this embodiment starts a front-facing camera of a mobile terminal to shoot when an incoming call event is detected to be triggered, obtains a shot image, analyzes a human eye image in the shot image, reminds a user of an incoming call in a vibration mode if the radius of human eyes in the human eye image is larger than a set value, otherwise obtains an environment volume, determines the playing volume of an incoming call ringtone to be a second set volume when the environment volume is smaller than a preset environment volume, plays the incoming call ringtone to remind the user of the incoming call in a third set volume, determines the playing volume of the incoming call to be the third set volume when the environment volume is not smaller than the preset environment volume, plays the incoming call in the third set volume to remind the user of the incoming call, can accurately determine the approaching state information of the user and the mobile terminal through the human eye image, and controls the incoming call playing mode reasonably by combining the environment volume, the incoming call ringtone can be accurately and efficiently reminded.
Fig. 4 is a schematic structural diagram of an incoming call alert control device according to an embodiment of the present application, where the device may be implemented by software and/or hardware and integrated in a mobile terminal. As shown in fig. 4, the apparatus includes an environment information obtaining module 41, an incoming call alert mode determining module 42, and an incoming call alert control module 43.
The environment information obtaining module 41 is configured to detect that an incoming call event is triggered, and obtain proximity state information of the user and the mobile terminal and an environment volume of an external environment;
the incoming call reminding mode determining module 42 is configured to determine an incoming call ringtone playing mode and an incoming call display mode according to the proximity state information and the environment volume;
the incoming call reminding control module 43 is configured to control the playing of the incoming call ringtone and the displaying of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode.
The device provided by the embodiment acquires the approaching state information of the user and the mobile terminal and the environment volume of the external environment under the condition of detecting that the incoming call event is triggered, determines the incoming call playing mode and the incoming call display mode according to the approaching state and the environment volume, controls the playing of the incoming call ring and the display of the incoming call information based on the incoming call ring playing mode and the incoming call display mode, and can reasonably control the incoming call reminding mode of the terminal.
Optionally, the environment information obtaining module and the incoming call reminding mode determining module are specifically configured to:
when an incoming call event is detected to be triggered, acquiring the proximity state information;
if the approaching state information is approaching, determining that the playing volume of the incoming call ringtone is a first set volume and the incoming call display mode is bright screen display incoming call information;
if the approaching state information is far away, determining that the incoming call display mode is a black screen display mode and not displaying the incoming call information, and acquiring the environment volume;
and determining the playing volume of the incoming call ringtone according to the environment volume.
Optionally, the determining, by the incoming call alert mode determining module, the playing volume of the incoming call ringtone according to the environment volume includes:
if the environment volume is smaller than the preset environment volume, determining the playing volume of the incoming call ringtone to be a second set volume, wherein the second set volume is larger than the first set volume;
otherwise, determining the playing volume of the incoming call ringtone to be a third set volume, wherein the third set volume is greater than the second set volume.
Optionally, the first set volume is mute, and the incoming call alert mode determining module further includes:
and the incoming call ringtone playing mode determining unit is used for determining that the playing mode of the incoming call ringtone is vibration while determining that the playing volume of the incoming call ringtone is the first set volume.
Optionally, if the incoming call reminding mode determining module determines that the incoming call display mode is bright screen display incoming call information if the approaching state information is approaching, the incoming call reminding mode determining module determines that the incoming call display mode is bright screen display incoming call information, and the method includes:
if the approaching state information is approaching, acquiring the distance between the user and the mobile terminal;
determining the brightness of a screen target according to the distance, wherein the distance is in direct proportion to the brightness of the screen target;
and determining the incoming call display mode as bright screen display, and performing bright screen display on the incoming call information based on the screen target brightness.
Optionally, the acquiring, by the environment information acquiring module, proximity state information of the user and the mobile terminal includes:
starting a front camera of the mobile terminal to shoot, and acquiring a shot image;
if a human eye image exists in the shot image and the radius of human eyes in the human eye image is larger than a set value, determining that the approaching state information is approaching;
otherwise, determining that the approaching state information is far away.
Optionally, the apparatus further comprises:
the system comprises an incoming call contact person information acquisition module, a setting timer and a processing module, wherein the incoming call contact person information acquisition module is used for acquiring incoming call contact person information after determining that the playing volume of the incoming call ringtone is a second set volume if the environment volume is less than the preset environment volume and when detecting that the timing time of the setting timer reaches a set time length, the setting timer is initialized to 0 when determining that the playing volume of the incoming call ringtone is the second set volume;
and the incoming call ringtone playing control module is used for controlling the incoming call ringtone to play at a fourth set volume if the incoming call contact is a set important contact.
Optionally, the apparatus further comprises:
and the incoming call ringtone track determining module is used for determining the tracks of the incoming ringtones according to the environment volume and based on the preset corresponding relation between the environment volume and the types of the ringtone tracks.
Optionally, the apparatus further comprises:
and the incoming call ringtone stop playing module is used for stopping playing the incoming call ringtone when detecting that the user picks up the terminal.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for call alert control, the method including:
detecting that an incoming call event is triggered, and acquiring the approaching state information of a user and the mobile terminal and the environment volume of an external environment;
determining a calling ringtone playing mode and a calling display mode according to the proximity state information and the environment volume;
and controlling the playing of the incoming call ringtone and the display of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the incoming call reminder control operation described above, and may also perform related operations in the incoming call reminder control method provided in any embodiments of the present application.
The embodiment of the application provides a mobile terminal, which can comprise the incoming call reminding control device provided by any embodiment of the application. Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, and as shown in fig. 5, the mobile terminal may include: a memory 501, a Central Processing Unit (CPU) 502 (also called a processor, hereinafter referred to as CPU), and the memory 501, which is used for storing executable program codes; the processor 502 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 501, for performing: detecting that an incoming call event is triggered, and acquiring the approaching state information of a user and the mobile terminal and the environment volume of an external environment; determining a calling ringtone playing mode and a calling display mode according to the proximity state information and the environment volume; and controlling the playing of the incoming call ringtone and the display of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode.
The mobile terminal further includes: peripheral interface 503, RF (Radio Frequency) circuitry 505, audio circuitry 506, speakers 511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devices 510, and external port 504, which communicate via one or more communication buses or signal lines 507.
It should be understood that the illustrated mobile terminal 500 is merely one example of a mobile terminal and that the mobile terminal 500 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail the mobile terminal for controlling incoming call reminder provided in this embodiment, where the mobile terminal is a mobile phone as an example.
A memory 501, the memory 501 being accessible by the CPU502, the peripheral interface 503, and the like, the memory 501 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 503, the peripheral interface 503 may connect input and output peripherals of the device to the CPU502 and the memory 501.
An I/O subsystem 509, which I/O subsystem 509 may connect input and output peripherals on the device, such as a touch screen 512 and other input/control devices 510, to the peripheral interface 503. The I/O subsystem 509 may include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510. Where one or more input controllers 5092 receive electrical signals from or send electrical signals to other input/control devices 510, the other input/control devices 510 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 5092 may be connected to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 512, which is an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 5091 in the I/O subsystem 509 receives electrical signals from the touch screen 512 or transmits electrical signals to the touch screen 512. The touch screen 512 detects a contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 512, that is, implements a human-computer interaction, and the user interface object displayed on the touch screen 512 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 505 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 505 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 505 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. The RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 506 is mainly used to receive audio data from the peripheral interface 503, convert the audio data into an electric signal, and transmit the electric signal to the speaker 511.
The speaker 511 is used for restoring the voice signal received by the handset from the wireless network through the RF circuit 505 to sound and playing the sound to the user.
And a power management chip 508 for supplying power and managing power to the hardware connected to the CPU502, the I/O subsystem, and the peripheral interface 503.
The incoming call reminding control device, the storage medium and the mobile terminal provided in the above embodiments can execute the incoming call reminding control method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to an incoming call reminder control method provided in any embodiment of the present application.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (8)

1. An incoming call reminding control method is characterized by comprising the following steps:
detecting that an incoming call event is triggered, starting a front camera of a mobile terminal to shoot, acquiring a shot image, if a human eye image exists in the shot image and the radius of human eyes in the human eye image is larger than a set value, determining that the approaching state information is approaching, determining that the playing volume of an incoming call ringtone is a first set volume and displaying the incoming call information in a bright screen mode, wherein the first set volume is mute;
otherwise, determining that the approaching state information is far away, determining that the incoming call display mode is a black screen display mode and not displaying the incoming call information, and acquiring the environment volume;
if the environment volume is smaller than the preset environment volume, determining the playing volume of the incoming call ringtone to be a second set volume, after the incoming call ringtone is played at the second set volume, acquiring the information of the incoming call contact person when the timing time of a set timer is detected to reach a set time length, and initializing the set timer to be 0 when the playing volume of the incoming ringtone is determined to be the second set volume, wherein the second set volume is larger than the first set volume;
if the incoming call contact person is a set important contact person, controlling an incoming call ringtone to play at a fourth set volume, wherein the fourth set volume is greater than the second set volume;
and controlling the playing of the incoming call ringtone and the display of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode.
2. The method of claim 1, wherein determining the playing volume of the incoming ringtone to be the first set volume further comprises: and determining the playing mode of the incoming call ringtone as vibration.
3. The method of claim 1, wherein if the proximity status information is proximity, determining that the incoming call display mode is bright screen display incoming call information comprises:
if the approaching state information is approaching, acquiring the distance between the user and the mobile terminal;
determining the brightness of a screen target according to the distance, wherein the distance is in direct proportion to the brightness of the screen target;
and determining the incoming call display mode as bright screen display, and performing bright screen display on the incoming call information based on the screen target brightness.
4. The method of claim 1, further comprising:
and determining the tracks of the incoming call ringtone according to the environment volume and based on the preset corresponding relation between the environment volume and the ringtone track type.
5. The method of claim 1, further comprising:
and stopping playing the incoming call ringtone when detecting that the user picks up the mobile terminal.
6. An incoming call alert control apparatus, comprising:
the environment information acquisition module is used for detecting that the incoming call event is triggered and acquiring the approaching state information of the user and the mobile terminal and the environment volume of the external environment;
the incoming call reminding mode determining module is used for determining an incoming call ringtone playing mode and an incoming call display mode according to the approaching state information and the environment volume;
the incoming call reminding control module is used for controlling the playing of the incoming call ringtone and the display of the incoming call information based on the incoming call ringtone playing mode and the incoming call display mode;
the system comprises an incoming call contact person information acquisition module, a first setting volume setting module and a second setting volume setting module, wherein the incoming call contact person information acquisition module is used for acquiring incoming call contact person information when detecting that the timing time of a setting timer reaches a set time length after playing with the second setting volume, and the setting timer is initialized to 0 when determining that the playing volume of incoming call ringtone is the second setting volume;
the incoming call ringtone playing control module is used for controlling the incoming call ringtone to play at a fourth set volume if the incoming call contact is a set important contact;
the environment information acquisition module and the incoming call reminding mode determination module are specifically used for:
starting a front camera of a mobile terminal to shoot, acquiring a shot image, if a human eye image exists in the shot image and the radius of human eyes in the human eye image is greater than a set value, determining that the approaching state information is approaching, and determining that the playing volume of the incoming call ringtone is a first set volume and the incoming call display mode is bright screen display incoming call information, wherein the first set volume is mute, and the second set volume is greater than the first set volume;
otherwise, determining that the approaching state information is far away, determining that the incoming call display mode is a black screen display mode and does not display the incoming call information, acquiring the environment volume, and if the environment volume is smaller than the preset environment volume, determining that the playing volume of the incoming call ringtone is the second set volume.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out an incoming call alert control method according to any one of claims 1 to 5.
8. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the incoming call alert control method according to any one of claims 1 to 5 when executing the computer program.
CN201710998305.XA 2017-10-20 2017-10-20 Incoming call reminding control method and device, storage medium and mobile terminal Active CN107682579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710998305.XA CN107682579B (en) 2017-10-20 2017-10-20 Incoming call reminding control method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710998305.XA CN107682579B (en) 2017-10-20 2017-10-20 Incoming call reminding control method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107682579A CN107682579A (en) 2018-02-09
CN107682579B true CN107682579B (en) 2021-03-02

Family

ID=61141941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710998305.XA Active CN107682579B (en) 2017-10-20 2017-10-20 Incoming call reminding control method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107682579B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924375B (en) * 2018-06-14 2021-09-07 Oppo广东移动通信有限公司 Ringtone volume processing method and device, storage medium and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753711A (en) * 2008-12-16 2010-06-23 株式会社Ntt都科摩 Mobile terminal function switching method and device thereof
CN101873386A (en) * 2010-06-13 2010-10-27 华为终端有限公司 Mobile terminal and incoming-call prompt method thereof
CN102447787A (en) * 2011-12-09 2012-05-09 惠州Tcl移动通信有限公司 Mobile phone and method for controlling of prompt tone
CN103503427A (en) * 2011-05-13 2014-01-08 诺基亚公司 Detecting movement for determining characteristics of user notification
CN104935717A (en) * 2015-06-11 2015-09-23 广东欧珀移动通信有限公司 Call reminder method based on rotary camera and terminal
CN105592216A (en) * 2014-11-17 2016-05-18 富泰华工业(深圳)有限公司 System and method for notifying new event

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744052A (en) * 2014-12-11 2016-07-06 富泰华工业(深圳)有限公司 Incoming call ringtone control system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753711A (en) * 2008-12-16 2010-06-23 株式会社Ntt都科摩 Mobile terminal function switching method and device thereof
CN101873386A (en) * 2010-06-13 2010-10-27 华为终端有限公司 Mobile terminal and incoming-call prompt method thereof
CN103503427A (en) * 2011-05-13 2014-01-08 诺基亚公司 Detecting movement for determining characteristics of user notification
CN102447787A (en) * 2011-12-09 2012-05-09 惠州Tcl移动通信有限公司 Mobile phone and method for controlling of prompt tone
CN105592216A (en) * 2014-11-17 2016-05-18 富泰华工业(深圳)有限公司 System and method for notifying new event
CN104935717A (en) * 2015-06-11 2015-09-23 广东欧珀移动通信有限公司 Call reminder method based on rotary camera and terminal

Also Published As

Publication number Publication date
CN107682579A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN110413134B (en) Wearing state detection method and related equipment
CN105117211B (en) The method and device of prompting message
WO2018045536A1 (en) Sound signal processing method, terminal, and headphones
CN108449493B (en) Voice call data processing method and device, storage medium and mobile terminal
CN107506167B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
CN107743178B (en) Message playing method and mobile terminal
CN108810749B (en) Player control method, device, terminal equipment and storage medium
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
CN110233934B (en) Electronic equipment control method and device and computer readable storage medium
CN107770759B (en) Bluetooth voice link establishing method and device, storage medium and mobile terminal
CN108322614B (en) Event reminding method and device, storage medium and electronic equipment
CN105138319B (en) Event-prompting method and device
CN109062535B (en) Sound production control method and device, electronic device and computer readable medium
CN107846516B (en) Call scene prompting method and mobile terminal
CN108449502B (en) Voice call data processing method and device, storage medium and mobile terminal
CN107483735A (en) Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN108900231B (en) Dynamic antenna adjustment method and related product
CN108924375B (en) Ringtone volume processing method and device, storage medium and terminal
CN107844341B (en) Process starting control method and device, storage medium and mobile terminal
CN112150778A (en) Environmental sound processing method and related device
CN108449497B (en) Voice call data processing method and device, storage medium and mobile terminal
CN111739628B (en) Adjusting method of wearable massager and related device
CN109862169B (en) Electronic equipment control method, device and storage medium
CN112394901A (en) Audio output mode adjusting method and device and electronic equipment
CN108900688B (en) Sound production control method and device, electronic device and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant