×

Method, apparatus, and storage medium for controlling audio playing based on playing environment

  • US 10,324,682 B2
  • Filed: 09/22/2016
  • Issued: 06/18/2019
  • Est. Priority Date: 09/25/2015
  • Status: Active Grant
First Claim
Patent Images

1. A control method for controlling audio playback, comprising:

  • obtaining, by an electronic device, a play instruction corresponding to a multi-media file;

    detecting, by the electronic device, whether a current playing environment meets a preset condition, the current playing environment including a current time and at least one of a current audio output channel and content of the multi-media file, wherein the content of the multi-media file includes sensitive information; and

    controlling, by the electronic device, playback of audio data in the multi-media file if the current playing environment meets the preset condition,wherein detecting whether the current playing environment meets the preset condition includes;

    when the current playing environment includes the content of the multi-media file, detecting whether the content of the multi-media file belongs to a target media-file content genre; and

    determining that the current playing environment meets the preset condition if the content of the multi-media file belongs to the target media-file content genre, andwherein detecting whether the content of the multi-media file belongs to the target media-file content genre includes;

    extracting at least one image frame from the multi-media file;

    detecting whether the at least one image frame includes a target element; and

    determining that the content of the multi-media file belongs to the target media-file content genre if the at least one image frame includes the target element.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×