×

Method for controlling mobile phone to be mute through flip and mobile phone

  • US 9,497,310 B2
  • Filed: 06/28/2013
  • Issued: 11/15/2016
  • Est. Priority Date: 08/29/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for enabling mute through flip functionality on a mobile phone such that flipping the mobile phone onto a supporting surface switches a situational pattern of the mobile phone into a mute pattern that turns off an incoming ring tone and a vibrate alert of the mobile phone, the method comprising:

  • detecting the situational pattern of the mobile phone when a mobile phone receives a call;

    if the situational pattern is in a ringing pattern, controlling a front-facing camera, placed on a plane where the main operation interface of the mobile phone is located, to acquire image data based on a preset time;

    transmitting the image data to a mobile phone base band chip using a frame synchronization signal generated from the front-facing camera to trigger the front-facing camera to transmit the image data to the mobile phone base band chip; and

    using the mobile phone base band chip to determine whether the image data is all-black and caching a determination result;

    if a current image data is determined to be all-black and the determination result indicates that image data acquired in a previous time is not all-black, concluding that the current image data corresponds to the supporting surface and switching the situational pattern of the mobile phone from the ringing pattern into the mute pattern, and controlling the front-facing camera to stop acquiring image data;

    wherein determining whether the image data is all-black comprises determining whether each pixel in the image data is black; and

    when detecting that one of the pixels is not black, determining that the image data is not all-black;

    wherein determining whether each pixel in the image data is black comprises;

    if a transmitting format of the image data is YUV, then determining whether all of the pixels of the image data satisfy Y=0, U=128 and V=128 one by one;

    if yes, then determining that the respective pixel is black;

    if the transmitting format of the image data is RGB, then determining whether all of the pixels of the image data satisfy R=0, G=0 and B=0 one by one;

    if yes, then determining that the respective pixel is black; and

    when all the pixels included in the image data are determined to be black, then determining that the image data is all-black.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×