Method and device for playing instant message voice by vehicle-mounted terminal

Method and device for playing instant message voice by vehicle-mounted terminal

  • CN 105,530,171 B
  • Filed: 12/23/2015
  • Issued: 08/25/2020
  • Est. Priority Date: 12/23/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for playing an instant message voice by a vehicle-mounted terminal is characterized by comprising the following steps:

  • when instant messaging software installed on a vehicle-mounted terminal receives an instant message, a message sound channel is started to play an instant message sound corresponding to the instant message, wherein the instant message sound is used for reminding the instant message to come from the instant messaging software, the instant messaging software is positioned on an application layer, and the instant messaging software sends a play request to a strategy layer through an audio control interface provided by a framework layer so as to obtain an audio focus, so that the function of audio play is realized;

    in the process of playing the instant message sound by using the message sound track, if the vehicle-mounted terminal receives any type of playing content, calling a pre-stored sound track control rule according to the playing content, wherein the sound track control rule at least comprises the following steps;

    an interruption rule, a mixed playing rule and a serial playing rule;

    the vehicle-mounted terminal controls the working states of the message sound channel and the sound channel for playing the playing content according to the sound channel control rule, so that the instant message sound and the playing content are switched, sequentially played or mixed played;

    when the playing content is another instant message sound or a plurality of instant message sounds, the vehicle-mounted terminal calls the serial playing rule to sequentially play the instant message sound and the playing content which are currently played in the opened message sound channel;

    the step of, when the playing content is another one or more pieces of instant message sound, the in-vehicle terminal invoking the serial playing rule to sequentially play the instant message sound and the playing content being played in the opened message sound channel includes;

    calling the serial playing rule to obtain at least one instant message sound to be played under the condition that the playing content is another instant message sound or a plurality of instant message sounds;

    acquiring playing condition information of each instant message voice to be played, wherein the playing condition information at least comprises the following components;

    the playing priority of each instant message sound to be played and the receiving time of each instant message sound to be played;

    storing each instant message voice to be played and the corresponding playing condition information into a list to be played;

    when the instant message sound which is currently played is played, playing the instant message sound stored in the list to be played according to the playing condition information of each instant message sound to be played;

    under the condition that the playing priorities of the instant message tones stored in the list to be played are the same, extracting the instant messages stored in the list to be played according to the receiving time of the received instant messages and playing the corresponding instant message tones;

    wherein the channel control rule is an audio collision policy table pre-stored in the vehicle-mounted terminal, and the controlling, by the vehicle-mounted terminal according to the channel control rule, the working states of the message audio channel and the channel for playing the playing content includes;

    the strategy layer responds to the playing request of the application layer according to the audio conflict strategy table, and sends a response result to the implementation layer through the intermediate layer, so that the control of the content to be played by the playing request is realized;

    the middle layer is used for shielding the realization of the realization layer and adapting the realization of the realization layer to a uniform interface, and the realization layer is used for realizing a physical channel and an audio switching interface in the vehicle-mounted terminal;

    wherein the method further comprises;

    when the vehicle-mounted terminal calls the mixed playing rule to sequentially play the instant message sound and the playing content which are currently played in the opened message sound channel, reducing the volume of the instant message sound which is currently played to a first preset volume, and starting to play the content to be played in the playing request at a second preset volume, wherein the volume values of the first preset volume and the second preset volume are determined according to the importance of the instant message sound which is currently played and the content to be played;

    the vehicle-mounted terminal provides a plurality of physical playing chips, each physical playing chip provides a corresponding playing channel for each type of playing content, and after each physical playing chip receives the playing content to be played, the vehicle-mounted terminal switches the received plurality of playing contents to be played to use the same logical playing channel for playing.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×