US10908870B2 - Audio playing method, apparatus, device and server - Google Patents

Audio playing method, apparatus, device and server Download PDF

Info

Publication number
US10908870B2
US10908870B2 US16/004,736 US201816004736A US10908870B2 US 10908870 B2 US10908870 B2 US 10908870B2 US 201816004736 A US201816004736 A US 201816004736A US 10908870 B2 US10908870 B2 US 10908870B2
Authority
US
United States
Prior art keywords
audio
playing
audio file
server
target
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, expires
Application number
US16/004,736
Other versions
US20190012134A1 (en
Inventor
Xiantang Chang
Lifeng Zhao
Shiwei YAN
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.)
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Assigned to BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD. reassignment BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHANG, XIANTANG, YAN, SHIWEI, ZHAO, LIFENG
Publication of US20190012134A1 publication Critical patent/US20190012134A1/en
Application granted granted Critical
Publication of US10908870B2 publication Critical patent/US10908870B2/en
Assigned to BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD., SHANGHAI XIAODU TECHNOLOGY CO. LTD. reassignment BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • the present disclosure relates to the field of audio technologies, and more particularly to an audio playing method, an audio playing apparatus, an audio playing device and a server.
  • an audio playing device such as a smart speaker is a popular smart device, which may play audio for a user by connecting to a Wi-Fi (Wireless Fidelity) network.
  • Wi-Fi Wireless Fidelity
  • the audio playing device plays music
  • the network condition is bad or the network is unstable
  • audio data may be buffered and music stuttering further occurs. If the music stuttering pauses for a long time period, the audio playing device may broadcast to the user a voice message that the present network condition is not good or ask the user to check the network. Therefore, the user may perform corresponding operations based on the prompt message.
  • the user is prompted when the music is stuck, which results in the user frequently being prompted when the number of music stuttering is large, thus the user may be disturbed and the audio playing device has poor use effect.
  • Embodiments of a first aspect of the present disclosure provide an audio playing method.
  • the method may be applicable to an audio playing device.
  • the method may include the following.
  • a loading speed of a present audio file containing target audio content is changed during the present audio file is played, a target definition for playing the target audio content is determined. It is determined whether to report an audio file acquisition request to a server based on a preset strategy.
  • the audio file acquisition request is reported to the server.
  • the audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
  • An audio playing instruction sent by the server is acquired.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • the target audio file is played.
  • Embodiments of a second aspect of the present disclosure provide another audio playing method.
  • the method may be applicable to a server.
  • the method may include the following.
  • An audio file acquisition request reported by an audio playing device is acquired.
  • the audio file acquisition request may include a target definition and an identifier of a target audio file containing target audio content.
  • An audio playing instruction is sent to the audio playing device.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • Embodiments of a third aspect of the present disclosure provide an audio playing device.
  • the device may include a memory, a processor and computer programs stored on the memory and executable by the processor.
  • the processor is configured to execute the computer programs to implement the audio playing method according to the embodiments of the first aspect of the present disclosure.
  • Embodiments of a fourth aspect of the present disclosure provide a server.
  • the server may include a memory, a processor and computer programs stored on the memory and executable by the processor.
  • the processor is configured to execute the computer programs to implement the audio playing method according to the embodiments of the second aspect of the present disclosure.
  • Embodiments of a fifth aspect of the present disclosure provide a computer-readable storage medium having computer programs stored thereon.
  • the processor is caused to perform the audio playing method according to the embodiments of the first aspect of the present disclosure.
  • Embodiments of a sixth aspect of the present disclosure provide another computer-readable storage medium having computer programs stored thereon.
  • the processor is caused to perform the audio playing method according to the embodiments of the second aspect of the present disclosure.
  • FIG. 1 is a flow chart of an audio playing method according to an embodiment of the present disclosure
  • FIG. 2 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
  • FIG. 3 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
  • FIG. 4 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
  • FIG. 5 is a signaling interaction diagram of an audio playing method according to an embodiment of the present disclosure.
  • FIG. 6 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
  • FIG. 7 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
  • FIG. 8 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
  • FIG. 9 is a block diagram illustrating an audio playing apparatus according to an embodiment of the present disclosure.
  • FIG. 10 is a block diagram illustrating an audio playing apparatus according to another embodiment of the present disclosure.
  • the audio playing device when the audio playing device plays music, if the music stuttering occurs, the audio playing device may prompt the user, which results in frequent prompting of the user and causing interference to the user when the number of times of the music stuttering is large, causing the poor use effect of the audio playing device.
  • an audio playing method is proposed.
  • a target definition for playing the target audio content is determined. Then it is determined whether to report an audio file acquisition request to a server based on a preset strategy. If yes, the audio file acquisition request is reported to the server. Thus, an audio playing instruction sent by the server is acquired, and a target audio file corresponding to the target definition is played. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
  • the following takes a side of the audio playing device as an example to specifically describe the audio playing method provided in the embodiments of the present disclosure.
  • FIG. 1 is a flow chart of an audio playing method according to an embodiment of the present disclosure.
  • the audio playing method include the acts in the following blocks.
  • a target definition for playing the target audio content is determined.
  • the audio playing method provided in the embodiments of the present disclosure may be configured to be implemented in the audio playing device provided in the embodiments of the present disclosure.
  • the audio playing device may be any terminal device that may play audio, such as a speaker, a mobile phone or a computer.
  • the change of the loading speed may be the decrease of the loading speed or the increase of the loading speed, which is not limited herein.
  • the target definition refers to the highest definition for playing the target audio content smoothly after the loading speed of the present audio file is changed.
  • the definition for playing the target audio content may be determined as a high definition, a normal definition, a smooth definition and the like based on a sampling accuracy of the audio file.
  • the definition for playing the target audio content may be determined as the high definition when the sampling accuracy of the audio file is 32 bit/192 KHZ (kilohertz) or more; the definition for playing the target audio content may be determined as the normal definition when the sampling accuracy of the audio file is 24 bit/96 KHZ-32 bit/192 KH; the definition for playing the target audio content may be determined as the smooth definition, the sampling accuracy of the audio file is 16 bit/44.1 KHZ-24 bit/96 KHZ; and so on.
  • a correspondence between the loading speeds and the definitions may be set in advance.
  • the target definition may be determined based on the changed loading speed.
  • the corresponding definition is the smooth definition; when the loading speed is 256 Kb/s-512 Kb/s, the corresponding definition is the normal definition; when the loading speed is higher than 512 Kb/s, the corresponding definition is the high definition. If the loading speed of the present audio file is reduced from 300 Kb/s to 200 Kb/s, it may be determined that the target definition is the smooth definition.
  • the preset strategy may be set as needed. For example, it may be based on an instruction of a user or other triggering conditions, which is not limited in this embodiment.
  • the music stuttering may occur.
  • the audio playing device may directly report the audio file acquisition request to the server.
  • the audio playing device may also play a voice inquiry message to the user first, to ask the user whether to switch the definition for playing the target audio content. If the user selects the switching of the definition, the audio file acquisition request may be reported to the server.
  • the audio playing device may be determined whether to report the audio file acquisition request to the server by the audio playing device based on the present network condition only. For example, in the process of playing audio, the loading speed of the present audio file is changed several times, and the audio playing device may determine that the present network condition is not stable, thereby reporting the audio file acquisition request to the server; or when the loading speed of the present audio file is changed, the audio playing device may play a voice inquiry message to the user to inquire of the user whether to switch the definition for playing the target audio content. If the confirmation instruction returned by the user is not received during a long time period, the audio playing device may report the audio file acquisition request to the server.
  • the audio file acquisition request is reported to the server.
  • the audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
  • the audio content of the target audio file is the same as the audio content of the present audio file, and the definition of the audio content of the target audio file is different from the definition of the audio content of the present audio file.
  • the identifier of the target audio file may be configured to uniquely identify the target audio file.
  • an audio playing instruction sent by the server is acquired.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • the target audio file is played.
  • the audio playing device may report the audio file acquisition request to the server so that the server will send the target audio file corresponding to the identifier and the target definition to the audio playing device.
  • the audio playing device may, based on the audio playing instruction, play the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition, so as to implement the switching of the definition for playing the target audio content.
  • the act in block 102 may specifically include the following.
  • the first time period threshold, the second time period threshold and the first number threshold may be set as needed. For example, it may be determined based on empirical values, or based on the history record of the network environment, etc., which is not limited herein.
  • the audio playing device may report the audio file acquisition request to the server, so that the server sends the audio playing instruction to the audio playing device. After acquiring the audio playing instruction sent by the server, the audio playing device may, based on the audio playing instruction, play the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition.
  • the audio playing device may also play a voice inquiry message to the user, so as to determine whether to report the audio file acquisition request to the server based on a selection of the user, to switch the definition for playing the target audio content. That is, the act in block 102 may include the following.
  • a voice inquiry message is played to a user.
  • the voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
  • the audio playing device may play the voice inquiry message, such as “since the present network state is quite unstable, please switch to the smooth mode to listen to music, is it OK?”, so ask the user whether to switch the definition for playing the target audio content.
  • the user may input the instruction through the voice, such as “sure”, “OK” or other with the same meaning.
  • the audio playing device acquires the instruction returned by the user, if it is determined that the acquired instruction of the user is a confirming instruction for switching the definition for playing the target audio content through voice recognition, the audio file acquisition request may be reported to the server by the audio playing device. Then the server may send the audio playing instruction to the audio playing device.
  • the audio playing device may, based on the audio playing instruction, play the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition.
  • the audio playing device may play the voice inquiry message to user after it is determined that the loading speed is not changed within the first time period threshold, or, the number of changes of the loading speed within the second time period threshold exceeds the first number threshold, to avoid frequently playing the voice inquiry message to the user and avoid causing the user's resentment. In this way, the use effect of the audio playing device may be improved and the user experience may be improved.
  • the audio playing device may also report a loading speed change event to the server after determining that the loading speed of the present audio file is changed, so that the server determines whether the audio playing device plays the voice inquiry message to the user or whether the audio playing device reports the audio file acquisition request to the server, so as to switch the definition for playing the target audio content. That is, before the act in block 103 , the method may further include the following.
  • a loading speed change event is reported to the server at a preset time interval.
  • the method before playing the voice inquiry message to the user, the method further includes the following.
  • a voice inquiry message playing instruction sent by the server is acquired.
  • the preset time interval may be set as needed. For example, it may be determined based on empirical values, or based on the history record of the network environment, which is not limited herein.
  • the audio playing device may report the loading speed change event to the server at the preset time interval, so that the server may send the voice inquiry message playing instruction to the audio playing device based on a specific change of the loading speed. After the audio playing device acquires the voice inquiry message playing instruction sent by the server, it may play the voice inquiry message to the user, so that the user may select whether to switch the definition for playing the target audio content or not.
  • the audio playing device may start to play the target audio file from the beginning or from the moment of stopping playing the audio file when the loading speed is changed.
  • the audio playing instruction may further include a starting playing moment.
  • act in block 104 may include the following.
  • the target audio file is played based on the starting playing moment.
  • the starting playing moment may be determined based on a playing progress of the present audio file by the server or by the audio playing device when the loading speed is changed, which is not limited herein.
  • the audio playing device may start from the starting playing moment to play the target audio file, so that the user does not need to listen to the already played audio file again, thereby improving the effect of the audio playing device and the user experience.
  • the audio playing device may determine that the present network environment is extremely poor, and even if a minimum-definition audio file is played, it will be stuck. At this point, the audio playing device may play a prompt message such as “the present network is not available, please check the network” to the user to prompt the user to check whether the network is available.
  • the target definition for playing the target audio content is determined. Then it is determined whether to report the audio file acquisition request to the server based on the preset strategy. If yes, the audio file acquisition request is reported to the server.
  • the audio playing instruction sent by the server may be acquired, and the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition is played. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
  • the target definition for playing the audio file may be determined. After the voice inquiry message is played to the user, the definition for playing the target audio content may be switched based on the confirmation instruction returned by the user. In practical use, after the audio playing device plays the voice inquiry message to the user, the confirmation instruction returned by the user may not be received. The following describes this condition in detail with reference to FIG. 2 .
  • FIG. 2 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
  • the audio playing method include the acts in the following blocks.
  • a target definition for playing the target audio content is determined.
  • a voice inquiry message is played to a user.
  • the voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
  • the third time period threshold may be set as needed. For example, it may be determined based on an empirical value, or based on the history record of instructions returned by the user, which is not limited herein.
  • the audio file acquisition request is reported to the server.
  • the audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
  • an audio playing instruction sent by the server is acquired.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • the target audio file is played.
  • the audio playing device plays the voice inquiry message to the user, to ask the user whether to switch the definition for playing the target audio content, and if the time period elapsed since the voice inquiry message is played to the user is greater than the third time period threshold and the confirmation instruction returned by the user is not acquired, it may be considered that the user may be far from the audio playing device and the inquiry message played by the audio playing device may not be heard, or the audio playing device may not recognize the instruction of the user.
  • the audio playing device may report the audio file acquisition request to the server and switch the definition for playing the target audio content based on the audio playing instruction sent by the server.
  • the audio playing device plays a plurality of inquiry message for inquiring of the user whether to switch the definition for playing the target audio content to the user
  • the confirmation instruction returned by the user may not be acquired.
  • the audio file acquisition request may also be reported to the server and the definition for playing the target audio content may be switched based on the audio playing instruction sent by the server. That is, the act in block 204 may also be the following.
  • the audio playing device plays the inquiry message for inquiring of the user whether to switch the definition for playing the target audio content, and the number of occurrences of playing the voice inquiry message to the user is multiple and the confirmation instruction returned by the user is not acquired, it may be considered that the user may be far from the audio playing device and the inquiry message played by the audio playing device may not be heard, or the audio playing device may not recognize the instruction of the user.
  • the audio playing device may report the audio file acquisition request to the server and switch the definition for playing the target audio content based on the audio playing instruction sent by the server.
  • the definition for playing the target audio content may still be adaptively controlled. Therefore, the use effect of the audio playing device is improved and the user experience is improved.
  • the target definition for playing the target audio content is determined.
  • the inquiry message for inquiring of the user whether to switch the definition for playing the target audio content may be played to the user.
  • the time period elapsed since the voice inquiry message is played to the user is greater than the third time period threshold and the confirmation instruction returned by the user is not acquired, the audio file acquisition request is reported to the server.
  • the audio playing instruction sent by the server may be acquired, and the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition is played. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
  • the following takes a side of the server device as an example to specifically describe the audio playing method provided in the embodiments of the present disclosure.
  • FIG. 3 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
  • the audio playing method include the acts in the following blocks.
  • an audio file acquisition request reported by an audio playing device is acquired.
  • the audio file acquisition request may include a target definition and an identifier of a target audio file containing target audio content.
  • the audio playing method provided in the embodiments of the present disclosure may be configured to be implemented in the server provided in the embodiments of the present disclosure.
  • an audio playing instruction is sent to the audio playing device.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • the target definition may be determined. And then the audio file acquisition request containing the identifier and the target definition may be reported to the server. After receiving the audio file acquisition request reported by the audio playing device, the server may send the audio playing instruction to the audio playing device. The audio playing device plays the target audio file corresponding to the identifier and the target definition based on the audio playing instruction.
  • the audio playing device may play a voice inquiry message to the user.
  • the user may determine whether to perform the switching of the definition for playing the target audio content.
  • the audio playing device may report the loading speed change event to the server.
  • the server determines whether the audio playing device plays the voice inquiry message to the user based on the loading speed change event. That is, before the act in block 301 , the method further includes the followings.
  • a loading speed change event reported by the audio playing device is acquired.
  • a voice inquiry message playing instruction is sent to the audio playing device.
  • the voice inquiry message playing instruction is configured to instruct the audio playing device to play a voice inquiry message to the user.
  • the voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
  • the second time period threshold and the first number threshold may be set as needed. For example, it may be determined based on empirical values, or based on the history of the network environment, etc., which is not limited herein.
  • the server may send the voice inquiry message playing instruction to the audio playing device.
  • the audio playing device plays the voice inquiry message to the user accordingly, thereby enabling the user to select whether to perform the switching of the definition for playing the target audio content.
  • the audio playing device may report the audio file acquisition request to the server. Then the server may send the audio playing instruction to the audio playing device. The audio playing device plays the target audio file and achieves the switching of the definition for playing the target audio content.
  • the audio playing device frequently plays the voice inquiry message to the user after the network condition is changed, which causes the user to feel disgusted, thereby improving the use effect of the audio playing device and the user experience.
  • the audio playing instruction sent by the server to the audio playing device may include a starting playing moment.
  • the audio playing device may play the target audio file based on the starting playing moment.
  • the method may further include the following.
  • a playing progress of a present audio file played by the audio playing device is determined.
  • a starting playing moment of the target audio file is determined based on the playing progress.
  • act in block 302 may include the following.
  • the audio playing instruction including the starting playing moment is sent to the audio playing device.
  • the server may determine the starting playing moment of the target audio file based on the playing progress of the present audio file when the loading speed of the present audio file is changed in the audio playing device, and send the audio playing instruction containing the starting playing moment to the audio playing device.
  • the audio playing device may acquire the audio playing instruction sent by the server and play the target audio file starting from the starting playing moment. In this way, the user does not need to listen to the already played audio file again, thereby improving the effect of the audio playing device and the user experience.
  • the audio playing device plays the present audio file
  • the loading speed is changed when it reaches 03:00.
  • the server may determine that the starting playing moment of the target audio file is 03:00 based on the playing progress of the present audio file.
  • the audio playing device may start playing the target audio file from 03:00.
  • the audio playing instruction when the audio file acquisition request reported by the audio playing device is acquired, the audio playing instruction may be sent to the audio playing device. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
  • the server may send the voice inquiry message playing instruction to the audio playing device based on the loading speed change event reported by the audio playing device.
  • the audio playing device plays the voice inquiry message.
  • the confirmation instruction is returned by the user to the audio playing device
  • the audio playing device reports the audio file acquisition request to the server.
  • the server may send the audio playing instruction to the audio playing device based on the audio file acquisition request reported by the audio playing device.
  • the audio playing device plays the target audio file after the definition is switched.
  • the confirmation instruction returned by the user may not be received, and thus the server may not receive the audio file acquisition request reported by the audio playing device. The following describes the above situation in detail with reference to FIG. 4 .
  • FIG. 4 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
  • the audio playing method include the acts in the following blocks.
  • a loading speed change event reported by the audio playing device is acquired.
  • a voice inquiry message playing instruction is sent to the audio playing device.
  • the voice inquiry message playing instruction is configured to instruct the audio playing device to play a voice inquiry message to the user.
  • the voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
  • the server sends the voice inquiry message playing instruction to the audio playing device
  • the server may send the audio playing instruction to the audio playing device.
  • the audio playing device plays the target audio file after the definition is switched.
  • the server may send the audio playing instruction to the audio playing device.
  • the audio playing device plays the target audio file after the definition is switched. That is, the act in block 404 may also be the following.
  • the audio playing instruction is sent to the audio playing device.
  • the server sends the voice inquiry message playing instruction to the audio playing device
  • the server may send the audio playing instruction to the audio playing device.
  • the audio playing device plays the target audio file after the definition is switched.
  • the definition for playing the target audio content may still be adaptively controlled. Therefore, the use effect of the audio playing device is improved and the user experience is improved.
  • the server when it does not acquire the audio file acquisition request including the identifier and the target definition and reported by the audio playing device, it may determine a target definition achievable currently by the audio playing device based on the loading speed change event reported by the audio playing device. That is, the act in block 404 , before sending the audio playing instruction to the audio playing device, the method further includes the following.
  • a target definition achievable currently by the audio playing device is determined based on the loading speed change event reported by the audio playing device.
  • the server may determine the present network state of the audio playing device based on the loading speed change event reported by the audio playing device to determine the target definition that can be achieved by the audio playing device and determine the identifier of the target audio file based on the present audio file played by the audio playing device.
  • the target audio file corresponding to the identifier and the determined target definition may be sent to the audio playing device.
  • the audio playing device may switch the definition for playing the target audio content.
  • the loading speed change event reported by the audio playing device is acquired. Then it is determined whether the number of occurrences of the loading speed change event reported by the audio playing device within the second time period threshold exceeds the first number threshold. If yes, the voice inquiry message playing instruction is sent to the audio playing device. If it is determined that the time period elapsed since the voice inquiry message playing instruction is sent to the audio playing device is greater than the third time period threshold and the audio file acquisition request reported by the audio playing device is not acquired, the audio playing instruction is sent to the audio playing device. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
  • FIG. 5 is a signaling interaction diagram of an audio playing method according to an embodiment of the present disclosure.
  • the audio playing method may include the following acts.
  • an audio playing device determines a target definition for playing the target audio content.
  • the audio playing device determines that a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
  • the audio playing device plays a voice inquiry message.
  • the voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
  • the audio playing device acquires a confirmation instruction returned by the user.
  • the audio playing device reports the audio file acquisition request to the server.
  • the audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
  • the server sends an audio playing instruction to the audio playing device.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • the audio playing device plays the target audio file.
  • the audio playing device may play the voice inquiry message to the user based on the change of the loading speed and acquires the target audio file corresponding to the identifier and the target definition from the server after obtaining the confirmation instruction returned by the user, to switch the definition for playing the target audio content.
  • FIG. 6 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
  • the audio playing method may include the following acts.
  • an audio playing device determines a target definition for playing the target audio content.
  • the audio playing device determines that a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
  • the audio playing device plays a voice inquiry message.
  • the audio playing device determines that a number of occurrences of playing the voice inquiry message to the user is greater than a second number threshold and a confirmation instruction returned by the user is not acquired.
  • the audio playing device reports the audio file acquisition request to the server.
  • the audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
  • the server sends an audio playing instruction to the audio playing device.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • the audio playing device plays the target audio file.
  • the audio playing device may play the voice inquiry message to the user based on the change of the loading speed and acquires the target audio file corresponding to the identifier and the target definition from the server when the number of occurrences of playing the voice inquiry message to the user is greater than the second number threshold and the confirmation instruction returned by the user is not acquired, so as to switch the definition for playing the target audio content.
  • FIG. 7 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
  • the audio playing method may include the following acts.
  • an audio playing device determines a target definition for playing the target audio content.
  • the audio playing device reports a loading speed change event to the server at the preset time interval.
  • the server determines that a number of occurrences of the loading speed change event reported by the audio playing device within a second time period threshold exceeds a first number threshold.
  • the server sends a voice inquiry message playing instruction to the audio playing device.
  • the voice inquiry message playing instruction is configured to instruct the audio playing device to play a voice inquiry message to the user.
  • the voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
  • the audio playing device plays the voice inquiry message.
  • the audio playing device acquires a confirmation instruction returned by the user.
  • the audio playing device reports the audio file acquisition request to the server.
  • the audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
  • the server sends an audio playing instruction to the audio playing device.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • the audio playing device plays the target audio file.
  • the server may send the voice inquiry message playing instruction to the audio playing device based on the loading speed change event reported by the audio playing device.
  • the audio playing device may play the voice inquiry message to the user, and acquire the confirmation instruction returned by the user, and then acquire the target audio file corresponding to the identifier and the target definition from the server so as to switch the definition for playing the target audio content.
  • FIG. 8 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
  • the audio playing method may include the following acts.
  • an audio playing device determines a target definition for playing the target audio content.
  • the audio playing device reports a loading speed change event to the server at the preset time interval.
  • the server determines that a number of occurrences of the loading speed change event reported by the audio playing device within a second time period threshold exceeds a first number threshold.
  • the server sends a voice inquiry message playing instruction to the audio playing device.
  • the voice inquiry message playing instruction is configured to instruct the audio playing device to play a voice inquiry message to the user.
  • the voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
  • the audio playing device plays the voice inquiry message.
  • the server determines that a time period elapsed since the voice inquiry message playing instruction is sent is greater than a third time period threshold and an audio file acquirement request is not received from the audio playing.
  • the server determines a target definition achievable currently by the audio playing device based on the loading speed change event reported by the audio playing device.
  • the server sends an audio playing instruction to the audio playing device.
  • the audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
  • the server when the server does not acquire the audio file acquisition request reported by the audio playing device, it may determine the identifier of the target audio file based on the present audio file played by the audio playing device, and determine the target definition achievable currently by the audio playing device based on the loading speed change event reported by the audio playing device. Therefore, the audio playing instruction sent to the audio playing device may include the target audio file corresponding to the identifier and the target definition.
  • the audio playing device plays the target audio file.
  • the server may send the voice inquiry message playing instruction to the audio playing device based on the loading speed change event reported by the audio playing device. After acquiring the voice inquiry message playing instruction, the audio playing device may play the voice inquiry message to the user. If the server determines that the time period elapsed since the voice inquiry message playing instruction is sent is greater than the third time period threshold and the audio file acquirement request is not received from the audio playing device, it sends the audio playing instruction to the audio playing device, as to switch the definition for playing the target audio content.
  • FIG. 9 is a block diagram illustrating an audio playing apparatus according to an embodiment of the present disclosure.
  • the audio playing apparatus may include a first determining module 901 , a second determining module 902 , a first sending module 903 , a first acquiring module 904 and a first acquiring module 905 .
  • the first determining module 901 is configured to, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, determine a target definition for playing the target audio content.
  • the second determining module 902 is configured to, determine whether to report an audio file acquisition request to a server based on a preset strategy.
  • the first sending module 903 is configured to, when it is determined to report the audio file acquisition request to the server, report the audio file acquisition request to the server, the audio file acquisition request comprising the target definition and an identifier of a target audio file containing the target audio content.
  • the first acquiring module 904 is configured to, acquire an audio playing instruction sent by the server, the audio playing instruction comprising the target audio file corresponding to the identifier and the target definition.
  • the first playing module 905 is configured to play the target audio file.
  • the audio playing apparatus may be configured in any terminal device that may play audio, such as any smart speaker, mobile phone, or computer, for executing the audio playing method performed at the side of the audio playing device.
  • the above-mentioned second determining module 902 is specifically configured to: determine whether to report the audio file acquisition request to the server, based on whether the loading speed is changed within a first time period threshold, and/or, whether a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
  • the above-mentioned second determining module 902 is further configured to: play a voice inquiry message to a user, the voice inquiry message being configured to inquire of the user whether to switch a definition for playing the target audio content; determine whether to report the audio file acquisition request to the server based on an acquired instruction returned by the user.
  • the above-mentioned second determining module 902 is further configured to: when a time period elapsed since the voice inquiry message is played to the user is greater than a third time period threshold and a confirmation instruction returned by the user is not acquired, determine to report the audio file acquisition request to the server; or a number of occurrences of playing the voice inquiry message to the user is greater than a second number threshold and a confirmation instruction returned by the user is not acquired, determine to report the audio file acquisition request to the server.
  • the audio playing apparatus further includes a second sending module and a second acquiring module.
  • the second sending module is configured to report a loading speed change event to the server at a preset time interval.
  • the second acquiring module is configured to acquire a voice inquiry message playing instruction sent by the server.
  • the audio playing instruction further includes a starting playing moment.
  • the above-mentioned the first playing module 905 is configured to: play the target audio file based on the starting playing moment.
  • the target definition for playing the target audio content is determined. Then it is determined whether to report the audio file acquisition request to the server based on the preset strategy. If yes, the audio file acquisition request is reported to the server.
  • the audio playing instruction sent by the server may be acquired, and the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition is played. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
  • FIG. 10 is a block diagram illustrating an audio playing apparatus according to another embodiment of the present disclosure.
  • the audio playing apparatus may include a third acquiring module 1001 and a third sending module 1002 .
  • the third acquiring module 1001 is configured to acquire an audio file acquisition request reported by an audio playing device, the audio file acquisition request comprising a target definition and an identifier of a target audio file containing target audio content.
  • the third sending module 1002 is configured to send an audio playing instruction to the audio playing device, the audio playing instruction comprising the target audio file corresponding to the identifier and the target definition.
  • the audio playing apparatus provided in this embodiment may be configured in a server provided in an embodiment of the present disclosure and is configured to execute the audio playing method performed at the side of the server.
  • the audio playing instruction further includes a fourth acquiring module, a first judging module, and a fourth sending module.
  • the fourth acquiring module is configured to acquire a loading speed change event reported by the audio playing device.
  • the first judging module is configured to determine whether a number of occurrences of the loading speed change event reported by the audio playing device within a second time period threshold exceeds a first number threshold.
  • the fourth sending module is configured to, when the number of occurrences of the loading speed change event reported by the audio playing device within the second time period threshold exceeds the first number threshold, send a voice inquiry message playing instruction to the audio playing device, the voice inquiry message playing instruction being configured to instruct the audio playing device to play a voice inquiry message to the user, the voice inquiry message being configured to inquire of the user whether to switch a definition for playing the target audio content.
  • the audio playing instruction further includes a third determining module.
  • the third determining module is configured to, send the audio playing instruction to the audio playing device when it is determined that a time period elapsed since the voice inquiry message playing instruction is sent to the audio playing device is greater than a third time period threshold and the audio file acquisition request reported by the audio playing device is not acquired, or it is determined that a number of occurrences of sending the voice inquiry message playing instruction to the audio playing device is greater than a second number threshold and the audio file acquisition request reported by the audio playing device is not acquired.
  • the audio playing instruction further includes a fourth determining module.
  • the fourth determining module is configured to determine a target definition achievable currently by the audio playing device based on the loading speed change event reported by the audio playing device.
  • the audio playing instruction further includes a fifth determining module and a sixth determining module.
  • the fifth determining module is configured to determine a playing progress of a present audio file played by the audio playing device, the present audio file containing the target audio content.
  • the sixth determining module is configured to determine a starting playing moment of the target audio file based on the playing progress.
  • the above-mentioned third sending module 1002 is configured to: send the audio playing instruction comprising the starting playing moment to the audio playing device.
  • the audio playing instruction when the audio file acquisition request reported by the audio playing device is acquired, the audio playing instruction may be sent to the audio playing device. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
  • an audio playing device may include a memory, a processor and computer programs stored on the memory and executable by the processor.
  • the processor is configured to execute the computer programs to implement the audio playing method according to the embodiments of the first aspect of the present disclosure.
  • the server may include a memory, a processor and computer programs stored on the memory and executable by the processor.
  • the processor is configured to execute the computer programs to implement the audio playing method according to the embodiments of the second aspect of the present disclosure.
  • embodiments of still another aspect of the present disclosure provide a computer-readable storage medium having computer programs stored thereon.
  • the processor is caused to perform the audio playing method according to the embodiments of the first aspect of the present disclosure.
  • embodiments of still another aspect of the present disclosure provide another computer-readable storage medium having computer programs stored thereon.
  • the processor is caused to perform the audio playing method according to the embodiments of the second aspect of the present disclosure.
  • embodiments of still another aspect of the present disclosure provide a computer program product having stored computer programs thereon.
  • the computer programs are executed by a processor the audio playing method according to the embodiments of the first aspect of the present disclosure is performed.
  • embodiments of still another aspect of the present disclosure provide a computer program product having stored computer programs thereon.
  • the computer programs are executed by a processor the audio playing method according to the embodiments of the second aspect of the present disclosure is performed.
  • first and second are used herein for purposes of description and are not intended to indicate or imply relative importance or significance.
  • the feature defined with “first” and “second” may comprise one or more this feature.
  • “a plurality of” means two or more, for example, two, three, unless specified otherwise.
  • the logic and/or step described in other manners herein or shown in the flow chart, for example, a particular sequence table of executable instructions for realizing the logical function may be specifically achieved in any computer readable medium to be used by the instruction execution system, device or equipment (such as the system based on computers, the system comprising processors or other systems capable of obtaining the instruction from the instruction execution system, device and equipment and executing the instruction), or to be used in combination with the instruction execution system, device and equipment.
  • the computer readable medium may be any device adaptive for including, storing, communicating, propagating or transferring programs to be used by or in combination with the instruction execution system, device or equipment.
  • the computer readable medium comprise but are not limited to: an electronic connection (an electronic device) with one or more wires, a portable computer enclosure (a magnetic device), a random access memory (RAM), a read only memory (ROM), an erasable programmable read-only memory (EPROM or a flash memory), an optical fiber device and a portable compact disk read-only memory (CDROM).
  • the computer readable medium may even be a paper or other appropriate medium capable of printing programs thereon, this is because, for example, the paper or other appropriate medium may be optically scanned and then edited, decrypted or processed with other appropriate methods when necessary to obtain the programs in an electric manner, and then the programs may be stored in the computer memories.
  • each part of the present disclosure may be realized by the hardware, software, firmware or their combination.
  • a plurality of steps or methods may be realized by the software or firmware stored in the memory and executed by the appropriate instruction execution system.
  • the steps or methods may be realized by one or a combination of the following techniques known in the art: a discrete logic circuit having a logic gate circuit for realizing a logic function of a data signal, an application-specific integrated circuit having an appropriate combination logic gate circuit, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
  • each function cell of the embodiments of the present disclosure may be integrated in a processing module, or these cells may be separate physical existence, or two or more cells are integrated in a processing module.
  • the integrated module may be realized in a form of hardware or in a form of software function modules. When the integrated module is realized in a form of software function module and is sold or used as a standalone product, the integrated module may be stored in a computer readable storage medium.
  • the storage medium mentioned above may be read-only memories, magnetic disks or CD, etc.

Abstract

The present disclosure provides an audio playing method and device. The method may include the following. When a loading speed of a present audio file containing target audio content is changed during the present audio file is played, a target definition for playing the target audio content is determined. It is determined whether to report an audio file acquisition request to a server based on a preset strategy. When it is determined to report the audio file acquisition request to the server, the audio file acquisition request is reported to the server. The audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content. An audio playing instruction sent by the server is acquired. The audio playing instruction may include the target audio file corresponding to the identifier and the target definition. The target audio file is played.

Description

CROSS-REFERENCE TO RELATED APPLICATION
This application is based upon and claims a priority to Chinese Patent Application Serial No. 201710542305.9, filed on Jul. 5, 2017, the entire content of which are incorporated herein by reference.
FIELD
The present disclosure relates to the field of audio technologies, and more particularly to an audio playing method, an audio playing apparatus, an audio playing device and a server.
BACKGROUND
At present, an audio playing device such as a smart speaker is a popular smart device, which may play audio for a user by connecting to a Wi-Fi (Wireless Fidelity) network.
In the related art, when the audio playing device plays music, if the network condition is bad or the network is unstable, audio data may be buffered and music stuttering further occurs. If the music stuttering pauses for a long time period, the audio playing device may broadcast to the user a voice message that the present network condition is not good or ask the user to check the network. Therefore, the user may perform corresponding operations based on the prompt message. However, by the above manner, the user is prompted when the music is stuck, which results in the user frequently being prompted when the number of music stuttering is large, thus the user may be disturbed and the audio playing device has poor use effect.
SUMMARY
Embodiments of a first aspect of the present disclosure provide an audio playing method. The method may be applicable to an audio playing device. The method may include the following. When a loading speed of a present audio file containing target audio content is changed during the present audio file is played, a target definition for playing the target audio content is determined. It is determined whether to report an audio file acquisition request to a server based on a preset strategy. When it is determined to report the audio file acquisition request to the server, the audio file acquisition request is reported to the server. The audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content. An audio playing instruction sent by the server is acquired. The audio playing instruction may include the target audio file corresponding to the identifier and the target definition. The target audio file is played.
Embodiments of a second aspect of the present disclosure provide another audio playing method. The method may be applicable to a server. The method may include the following. An audio file acquisition request reported by an audio playing device is acquired. The audio file acquisition request may include a target definition and an identifier of a target audio file containing target audio content. An audio playing instruction is sent to the audio playing device. The audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
Embodiments of a third aspect of the present disclosure provide an audio playing device. The device may include a memory, a processor and computer programs stored on the memory and executable by the processor. The processor is configured to execute the computer programs to implement the audio playing method according to the embodiments of the first aspect of the present disclosure.
Embodiments of a fourth aspect of the present disclosure provide a server. The server may include a memory, a processor and computer programs stored on the memory and executable by the processor. The processor is configured to execute the computer programs to implement the audio playing method according to the embodiments of the second aspect of the present disclosure.
Embodiments of a fifth aspect of the present disclosure provide a computer-readable storage medium having computer programs stored thereon. When the computer programs are executed by a processor, the processor is caused to perform the audio playing method according to the embodiments of the first aspect of the present disclosure.
Embodiments of a sixth aspect of the present disclosure provide another computer-readable storage medium having computer programs stored thereon. When the computer programs are executed by a processor, the processor is caused to perform the audio playing method according to the embodiments of the second aspect of the present disclosure.
Additional aspects and advantages of embodiments of the present disclosure will be given in part in the following descriptions, become apparent in part from the following descriptions, or be learned from the practice of the embodiments of the present disclosure.
BRIEF DESCRIPTION OF THE DRAWINGS
The above and/or additional aspects and advantages of embodiments of the present disclosure will become apparent and more readily appreciated from the following descriptions made with reference to the drawings, in which:
FIG. 1 is a flow chart of an audio playing method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of an audio playing method according to another embodiment of the present disclosure;
FIG. 3 is a flow chart of an audio playing method according to another embodiment of the present disclosure;
FIG. 4 is a flow chart of an audio playing method according to another embodiment of the present disclosure;
FIG. 5 is a signaling interaction diagram of an audio playing method according to an embodiment of the present disclosure;
FIG. 6 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure;
FIG. 7 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure;
FIG. 8 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure;
FIG. 9 is a block diagram illustrating an audio playing apparatus according to an embodiment of the present disclosure; and
FIG. 10 is a block diagram illustrating an audio playing apparatus according to another embodiment of the present disclosure.
DETAILED DESCRIPTION
Embodiments of the present disclosure will be described in detail and examples of embodiments are illustrated in the drawings. The same or similar elements and the elements having same or similar functions are denoted by like reference numerals throughout the descriptions. Embodiments described herein with reference to drawings are explanatory, serve to explain the present disclosure, and are not construed to limit embodiments of the present disclosure.
In the related art, when the audio playing device plays music, if the music stuttering occurs, the audio playing device may prompt the user, which results in frequent prompting of the user and causing interference to the user when the number of times of the music stuttering is large, causing the poor use effect of the audio playing device. For that, an audio playing method is proposed.
With the audio playing method according to embodiments of the present disclosure, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, a target definition for playing the target audio content is determined. Then it is determined whether to report an audio file acquisition request to a server based on a preset strategy. If yes, the audio file acquisition request is reported to the server. Thus, an audio playing instruction sent by the server is acquired, and a target audio file corresponding to the target definition is played. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
The following describes an audio playing method, an audio playing apparatus, an audio playing device, and a server according to embodiments of the present disclosure with reference to the accompanying drawings.
The following takes a side of the audio playing device as an example to specifically describe the audio playing method provided in the embodiments of the present disclosure.
FIG. 1 is a flow chart of an audio playing method according to an embodiment of the present disclosure.
As illustrated in FIG. 1, the audio playing method include the acts in the following blocks.
In block 101, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, a target definition for playing the target audio content is determined.
In detail, the audio playing method provided in the embodiments of the present disclosure may be configured to be implemented in the audio playing device provided in the embodiments of the present disclosure. The audio playing device may be any terminal device that may play audio, such as a speaker, a mobile phone or a computer.
The change of the loading speed may be the decrease of the loading speed or the increase of the loading speed, which is not limited herein.
The target definition refers to the highest definition for playing the target audio content smoothly after the loading speed of the present audio file is changed.
In detail, the definition for playing the target audio content may be determined as a high definition, a normal definition, a smooth definition and the like based on a sampling accuracy of the audio file. For example, the definition for playing the target audio content may be determined as the high definition when the sampling accuracy of the audio file is 32 bit/192 KHZ (kilohertz) or more; the definition for playing the target audio content may be determined as the normal definition when the sampling accuracy of the audio file is 24 bit/96 KHZ-32 bit/192 KH; the definition for playing the target audio content may be determined as the smooth definition, the sampling accuracy of the audio file is 16 bit/44.1 KHZ-24 bit/96 KHZ; and so on.
In an implementation, a correspondence between the loading speeds and the definitions may be set in advance. When the loading speed of the present audio file is changed, the target definition may be determined based on the changed loading speed.
For example, it may be preset that, when the loading speed of the audio file is lower than 256 kilobit (Kb)/second (s), the corresponding definition is the smooth definition; when the loading speed is 256 Kb/s-512 Kb/s, the corresponding definition is the normal definition; when the loading speed is higher than 512 Kb/s, the corresponding definition is the high definition. If the loading speed of the present audio file is reduced from 300 Kb/s to 200 Kb/s, it may be determined that the target definition is the smooth definition.
In block 102, it is determined whether to report an audio file acquisition request to a server based on a preset strategy.
The preset strategy may be set as needed. For example, it may be based on an instruction of a user or other triggering conditions, which is not limited in this embodiment.
For example, in the process of playing audio, when the loading speed of the present audio file is reduced, the music stuttering may occur. At this time, if an instruction for switching the definition for playing the target audio content from the user is received, the audio playing device may directly report the audio file acquisition request to the server.
Alternatively, when the loading speed of the present audio file is changed, the audio playing device may also play a voice inquiry message to the user first, to ask the user whether to switch the definition for playing the target audio content. If the user selects the switching of the definition, the audio file acquisition request may be reported to the server.
Alternatively, it may be determined whether to report the audio file acquisition request to the server by the audio playing device based on the present network condition only. For example, in the process of playing audio, the loading speed of the present audio file is changed several times, and the audio playing device may determine that the present network condition is not stable, thereby reporting the audio file acquisition request to the server; or when the loading speed of the present audio file is changed, the audio playing device may play a voice inquiry message to the user to inquire of the user whether to switch the definition for playing the target audio content. If the confirmation instruction returned by the user is not received during a long time period, the audio playing device may report the audio file acquisition request to the server.
It should be noted that, the foregoing manners for determining whether to report the audio file acquisition request to the server is merely illustrative, and they cannot be used as a limitation on the technical solutions of the present disclosure. On these basis, skilled in the art may arbitrarily set the preset strategy based on requirements to determine whether to report the audio file acquisition request to the server, which is not limited herein.
In block 103, when it is determined to report the audio file acquisition request to the server, the audio file acquisition request is reported to the server. The audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
The audio content of the target audio file is the same as the audio content of the present audio file, and the definition of the audio content of the target audio file is different from the definition of the audio content of the present audio file.
The identifier of the target audio file may be configured to uniquely identify the target audio file.
In block 104, an audio playing instruction sent by the server is acquired. The audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
In block 105, the target audio file is played.
In detail, when the loading speed of the present audio file is changed and it is determined to report the audio file acquisition request to the server based on the preset strategy, the audio playing device may report the audio file acquisition request to the server so that the server will send the target audio file corresponding to the identifier and the target definition to the audio playing device. After acquiring the audio playing instruction sent by the server, the audio playing device may, based on the audio playing instruction, play the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition, so as to implement the switching of the definition for playing the target audio content.
In a possible implementation, after the loading speed of the present audio file is changed, the previous loading speed may be restored in a short time period; or the loading speed of the present audio file may be changed frequently in a time period. Then, to avoid frequently reporting the audio file acquisition request to the server to change the definition for playing the target audio content, in the embodiment of the present disclosure, it is determined whether to report the audio file acquisition request to the server based on a specific condition of change of the loading speed of the present audio file. That is, the act in block 102 may specifically include the following.
It is determined whether to report the audio file acquisition request to the server, based on whether the loading speed is changed within a first time period threshold, and/or, whether a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
The first time period threshold, the second time period threshold and the first number threshold may be set as needed. For example, it may be determined based on empirical values, or based on the history record of the network environment, etc., which is not limited herein.
In detail, if the loading speed is not changed within the first time period threshold, that is, it is always in a higher or lower state after the loading speed of the present audio file is changed, it indicates that the network environment has changed. If the audio file with the present definition continues to be loaded, the music may be in a stuck state. Or if the number of changes of the loading speed within the second time period threshold exceeds the first number threshold, it indicates that the present network is unstable. If the audio file with the present definition continues to be loaded, the music is prone to intermittent situations. In either of the above two situations, or when both situations occur simultaneously, the audio playing device may report the audio file acquisition request to the server, so that the server sends the audio playing instruction to the audio playing device. After acquiring the audio playing instruction sent by the server, the audio playing device may, based on the audio playing instruction, play the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition.
It should be understood that, after the loading speed of the present audio file is changed, the audio playing device may also play a voice inquiry message to the user, so as to determine whether to report the audio file acquisition request to the server based on a selection of the user, to switch the definition for playing the target audio content. That is, the act in block 102 may include the following.
A voice inquiry message is played to a user. The voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
It is determined whether to report the audio file acquisition request to the server based on an acquired instruction returned by the user.
In detail, after the loading speed of the present audio file is changed, the audio playing device may play the voice inquiry message, such as “since the present network state is quite unstable, please switch to the smooth mode to listen to music, is it OK?”, so ask the user whether to switch the definition for playing the target audio content. After listening to the voice inquiry message, the user may input the instruction through the voice, such as “sure”, “OK” or other with the same meaning. After the audio playing device acquires the instruction returned by the user, if it is determined that the acquired instruction of the user is a confirming instruction for switching the definition for playing the target audio content through voice recognition, the audio file acquisition request may be reported to the server by the audio playing device. Then the server may send the audio playing instruction to the audio playing device. After acquiring the audio playing instruction sent by the server, the audio playing device may, based on the audio playing instruction, play the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition.
It should be noted that, the audio playing device may play the voice inquiry message to user after it is determined that the loading speed is not changed within the first time period threshold, or, the number of changes of the loading speed within the second time period threshold exceeds the first number threshold, to avoid frequently playing the voice inquiry message to the user and avoid causing the user's resentment. In this way, the use effect of the audio playing device may be improved and the user experience may be improved.
In addition, the audio playing device may also report a loading speed change event to the server after determining that the loading speed of the present audio file is changed, so that the server determines whether the audio playing device plays the voice inquiry message to the user or whether the audio playing device reports the audio file acquisition request to the server, so as to switch the definition for playing the target audio content. That is, before the act in block 103, the method may further include the following.
A loading speed change event is reported to the server at a preset time interval.
Correspondingly, before playing the voice inquiry message to the user, the method further includes the following.
A voice inquiry message playing instruction sent by the server is acquired.
The preset time interval may be set as needed. For example, it may be determined based on empirical values, or based on the history record of the network environment, which is not limited herein.
In detail, the audio playing device may report the loading speed change event to the server at the preset time interval, so that the server may send the voice inquiry message playing instruction to the audio playing device based on a specific change of the loading speed. After the audio playing device acquires the voice inquiry message playing instruction sent by the server, it may play the voice inquiry message to the user, so that the user may select whether to switch the definition for playing the target audio content or not.
It should be noted that, after acquiring the audio playing instruction sent by the server, the audio playing device may start to play the target audio file from the beginning or from the moment of stopping playing the audio file when the loading speed is changed.
That is, the audio playing instruction may further include a starting playing moment.
Correspondingly, the act in block 104 may include the following.
The target audio file is played based on the starting playing moment.
The starting playing moment may be determined based on a playing progress of the present audio file by the server or by the audio playing device when the loading speed is changed, which is not limited herein.
In detail, after the audio playing device acquires the audio playing instruction sent by the server, it may start from the starting playing moment to play the target audio file, so that the user does not need to listen to the already played audio file again, thereby improving the effect of the audio playing device and the user experience.
In addition, if there is a failure when the audio playing device reports the audio file acquisition request to the server or reports the loading speed change event to the server, it may determine that the present network environment is extremely poor, and even if a minimum-definition audio file is played, it will be stuck. At this point, the audio playing device may play a prompt message such as “the present network is not available, please check the network” to the user to prompt the user to check whether the network is available.
With the audio playing method according to the embodiments of the present disclosure, when the loading speed of the present audio file containing the target audio content is changed during the present audio file is played, the target definition for playing the target audio content is determined. Then it is determined whether to report the audio file acquisition request to the server based on the preset strategy. If yes, the audio file acquisition request is reported to the server. Thus, the audio playing instruction sent by the server may be acquired, and the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition is played. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
Through the above analysis, it may be known that, when playing the present audio file, if it is determined that the loading speed of the present audio file is changed, the target definition for playing the audio file may be determined. After the voice inquiry message is played to the user, the definition for playing the target audio content may be switched based on the confirmation instruction returned by the user. In practical use, after the audio playing device plays the voice inquiry message to the user, the confirmation instruction returned by the user may not be received. The following describes this condition in detail with reference to FIG. 2.
FIG. 2 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
As illustrated in FIG. 2, the audio playing method include the acts in the following blocks.
In block 201, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, a target definition for playing the target audio content is determined.
In block 202, it is determined that a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
In block 203, a voice inquiry message is played to a user.
The voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
In block 204, it is determined that a time period elapsed since the voice inquiry message is played to the user is greater than a third time period threshold and a confirmation instruction returned by the user is not acquired.
The third time period threshold may be set as needed. For example, it may be determined based on an empirical value, or based on the history record of instructions returned by the user, which is not limited herein.
In block 205, the audio file acquisition request is reported to the server. The audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
In block 206, an audio playing instruction sent by the server is acquired. The audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
In block 207, the target audio file is played.
For the implementation process and principle of the acts in above blocks 201-203 and 205-207, the reference may be made to the detailed description of the acts in above blocks 101-104 in the foregoing embodiment, and details are not described herein again.
In detail, if the audio playing device plays the voice inquiry message to the user, to ask the user whether to switch the definition for playing the target audio content, and if the time period elapsed since the voice inquiry message is played to the user is greater than the third time period threshold and the confirmation instruction returned by the user is not acquired, it may be considered that the user may be far from the audio playing device and the inquiry message played by the audio playing device may not be heard, or the audio playing device may not recognize the instruction of the user. At this time, the audio playing device may report the audio file acquisition request to the server and switch the definition for playing the target audio content based on the audio playing instruction sent by the server.
In addition, after the audio playing device plays a plurality of inquiry message for inquiring of the user whether to switch the definition for playing the target audio content to the user, the confirmation instruction returned by the user may not be acquired. In this case, the audio file acquisition request may also be reported to the server and the definition for playing the target audio content may be switched based on the audio playing instruction sent by the server. That is, the act in block 204 may also be the following.
When a number of occurrences of playing the voice inquiry message to the user is greater than a second number threshold and a confirmation instruction returned by the user is not acquired, it is determined to report the audio file acquisition request to the server.
In detail, after the audio playing device plays the inquiry message for inquiring of the user whether to switch the definition for playing the target audio content, and the number of occurrences of playing the voice inquiry message to the user is multiple and the confirmation instruction returned by the user is not acquired, it may be considered that the user may be far from the audio playing device and the inquiry message played by the audio playing device may not be heard, or the audio playing device may not recognize the instruction of the user. At this time, the audio playing device may report the audio file acquisition request to the server and switch the definition for playing the target audio content based on the audio playing instruction sent by the server.
Through the above manners, when the user is far away from the audio playing device and cannot interact with the audio playing device, the definition for playing the target audio content may still be adaptively controlled. Therefore, the use effect of the audio playing device is improved and the user experience is improved.
With the audio playing method according to the embodiments of the present disclosure, when the loading speed of the present audio file containing the target audio content is changed during the present audio file is played, the target definition for playing the target audio content is determined. When it is determined that the number of changes of the loading speed within the second time period threshold exceeds the first number threshold, the inquiry message for inquiring of the user whether to switch the definition for playing the target audio content may be played to the user. When the time period elapsed since the voice inquiry message is played to the user is greater than the third time period threshold and the confirmation instruction returned by the user is not acquired, the audio file acquisition request is reported to the server. Thus, the audio playing instruction sent by the server may be acquired, and the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition is played. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
The following takes a side of the server device as an example to specifically describe the audio playing method provided in the embodiments of the present disclosure.
FIG. 3 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
As illustrated in FIG. 3, the audio playing method include the acts in the following blocks.
In block 301, an audio file acquisition request reported by an audio playing device is acquired. The audio file acquisition request may include a target definition and an identifier of a target audio file containing target audio content.
In detail, the audio playing method provided in the embodiments of the present disclosure may be configured to be implemented in the server provided in the embodiments of the present disclosure.
In block 302, an audio playing instruction is sent to the audio playing device. The audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
For a description of the identifier and the target definition, the reference may be made to the related description of the foregoing embodiments, and details are not described herein again.
During an implementation, when the audio playing device plays the audio file, if it is determined that the loading speed of the present audio file is changed, the target definition may be determined. And then the audio file acquisition request containing the identifier and the target definition may be reported to the server. After receiving the audio file acquisition request reported by the audio playing device, the server may send the audio playing instruction to the audio playing device. The audio playing device plays the target audio file corresponding to the identifier and the target definition based on the audio playing instruction.
It should be understood that, after the loading speed of the present audio file is changed, the audio playing device may play a voice inquiry message to the user. The user may determine whether to perform the switching of the definition for playing the target audio content. In a possible implementation of the present disclosure, the audio playing device may report the loading speed change event to the server. The server determines whether the audio playing device plays the voice inquiry message to the user based on the loading speed change event. That is, before the act in block 301, the method further includes the followings.
A loading speed change event reported by the audio playing device is acquired.
It is determined whether a number of occurrences of the loading speed change event reported by the audio playing device within a second time period threshold exceeds a first number threshold.
When the number of occurrences of the loading speed change event reported by the audio playing device within the second time period threshold exceeds the first number threshold, a voice inquiry message playing instruction is sent to the audio playing device. The voice inquiry message playing instruction is configured to instruct the audio playing device to play a voice inquiry message to the user. The voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
The second time period threshold and the first number threshold may be set as needed. For example, it may be determined based on empirical values, or based on the history of the network environment, etc., which is not limited herein.
In detail, the number of occurrences of the loading speed change event reported by the audio playing device within the second time period threshold exceeds the first number threshold, it indicates that the present network of the audio playing device is unstable. If the audio file with the present definition continues to be loaded, the music is prone to intermittent situations. Then, the server may send the voice inquiry message playing instruction to the audio playing device. The audio playing device plays the voice inquiry message to the user accordingly, thereby enabling the user to select whether to perform the switching of the definition for playing the target audio content.
If the user returns the confirmation instruction, the audio playing device may report the audio file acquisition request to the server. Then the server may send the audio playing instruction to the audio playing device. The audio playing device plays the target audio file and achieves the switching of the definition for playing the target audio content.
Through the above manner, it may be avoided that the audio playing device frequently plays the voice inquiry message to the user after the network condition is changed, which causes the user to feel disgusted, thereby improving the use effect of the audio playing device and the user experience.
It should be noted that, the audio playing instruction sent by the server to the audio playing device may include a starting playing moment. The audio playing device may play the target audio file based on the starting playing moment.
That is, before the act in block 302, the method may further include the following.
A playing progress of a present audio file played by the audio playing device is determined.
A starting playing moment of the target audio file is determined based on the playing progress.
Correspondingly, the act in block 302 may include the following.
The audio playing instruction including the starting playing moment is sent to the audio playing device.
In detail, the server may determine the starting playing moment of the target audio file based on the playing progress of the present audio file when the loading speed of the present audio file is changed in the audio playing device, and send the audio playing instruction containing the starting playing moment to the audio playing device. The audio playing device may acquire the audio playing instruction sent by the server and play the target audio file starting from the starting playing moment. In this way, the user does not need to listen to the already played audio file again, thereby improving the effect of the audio playing device and the user experience.
For example, it is assumed that the audio playing device plays the present audio file, the loading speed is changed when it reaches 03:00. After the audio playing device reports the audio file acquisition request to the server, the server may determine that the starting playing moment of the target audio file is 03:00 based on the playing progress of the present audio file. After the server sends the audio playing instruction containing 03:00 to the audio playing device, the audio playing device may start playing the target audio file from 03:00.
With the audio playing method according to the embodiments of the present disclosure, when the audio file acquisition request reported by the audio playing device is acquired, the audio playing instruction may be sent to the audio playing device. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
Through the above analysis, it may be known that, the server may send the voice inquiry message playing instruction to the audio playing device based on the loading speed change event reported by the audio playing device. The audio playing device plays the voice inquiry message. When the confirmation instruction is returned by the user to the audio playing device, the audio playing device reports the audio file acquisition request to the server. The server may send the audio playing instruction to the audio playing device based on the audio file acquisition request reported by the audio playing device. The audio playing device plays the target audio file after the definition is switched. In practical use, after the audio playing device plays the voice inquiry message, the confirmation instruction returned by the user may not be received, and thus the server may not receive the audio file acquisition request reported by the audio playing device. The following describes the above situation in detail with reference to FIG. 4.
FIG. 4 is a flow chart of an audio playing method according to another embodiment of the present disclosure.
As illustrated in FIG. 4, the audio playing method include the acts in the following blocks.
In block 401, a loading speed change event reported by the audio playing device is acquired.
In block 402, it is determined whether a number of occurrences of the loading speed change event reported by the audio playing device within a second time period threshold exceeds a first number threshold.
In block 403, when the number of occurrences of the loading speed change event reported by the audio playing device within the second time period threshold exceeds the first number threshold, a voice inquiry message playing instruction is sent to the audio playing device.
The voice inquiry message playing instruction is configured to instruct the audio playing device to play a voice inquiry message to the user. The voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
In block 404, when it is determined that a time period elapsed since the voice inquiry message playing instruction is sent is greater than a third time period threshold and an audio file acquirement request is not received from the audio playing device, an audio playing instruction is sent to the audio playing device.
For an implementation process and principle of the above acts in above blocks 401-403, the reference may be made to the detailed description of the acts in above blocks 301-302 in the foregoing embodiment, and details are not described herein again.
In detail, after the server sends the voice inquiry message playing instruction to the audio playing device, if it is determined that the time period elapsed since the voice inquiry message playing instruction is sent to the audio playing device is greater than the third time period threshold and the audio file acquirement request is not received from the audio playing device, it may be considered that the user may be far from the audio playing device and the inquiry message played by the audio playing device may not be heard, or the audio playing device may not recognize the instruction of the user. At this time, the server may send the audio playing instruction to the audio playing device. The audio playing device plays the target audio file after the definition is switched.
In addition, if the server does not receive the audio file acquisition request reported by the audio playing device after sending a plurality of voice inquiry message playing instructions to the audio playing device, the server may send the audio playing instruction to the audio playing device. The audio playing device plays the target audio file after the definition is switched. That is, the act in block 404 may also be the following.
When it is determined that a number of occurrences of sending the voice inquiry message playing instruction to the audio playing device is greater than a second number threshold and the audio file acquisition request reported by the audio playing device is not acquired, the audio playing instruction is sent to the audio playing device.
In detail, after the server sends the voice inquiry message playing instruction to the audio playing device, if it is determined that the number of occurrences of sending the voice inquiry message playing instruction to the audio playing device is greater than the second number threshold and the audio file acquisition request reported by the audio playing device is not acquired, it may be considered that the user may be far from the audio playing device and the inquiry message played by the audio playing device may not be heard, or the audio playing device may not recognize the instruction of the user. At this time, the server may send the audio playing instruction to the audio playing device. The audio playing device plays the target audio file after the definition is switched.
Through the above manners, when the user is far away from the audio playing device and cannot interact with the audio playing device, the definition for playing the target audio content may still be adaptively controlled. Therefore, the use effect of the audio playing device is improved and the user experience is improved.
It should be noted that, when the server does not acquire the audio file acquisition request including the identifier and the target definition and reported by the audio playing device, it may determine a target definition achievable currently by the audio playing device based on the loading speed change event reported by the audio playing device. That is, the act in block 404, before sending the audio playing instruction to the audio playing device, the method further includes the following.
A target definition achievable currently by the audio playing device is determined based on the loading speed change event reported by the audio playing device.
In detail, the server may determine the present network state of the audio playing device based on the loading speed change event reported by the audio playing device to determine the target definition that can be achieved by the audio playing device and determine the identifier of the target audio file based on the present audio file played by the audio playing device. When the audio playing instruction is sent to the audio playing device, the target audio file corresponding to the identifier and the determined target definition may be sent to the audio playing device. The audio playing device may switch the definition for playing the target audio content.
With the audio playing method according to the embodiments of the present disclosure, firstly, the loading speed change event reported by the audio playing device is acquired. Then it is determined whether the number of occurrences of the loading speed change event reported by the audio playing device within the second time period threshold exceeds the first number threshold. If yes, the voice inquiry message playing instruction is sent to the audio playing device. If it is determined that the time period elapsed since the voice inquiry message playing instruction is sent to the audio playing device is greater than the third time period threshold and the audio file acquisition request reported by the audio playing device is not acquired, the audio playing instruction is sent to the audio playing device. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
FIG. 5 is a signaling interaction diagram of an audio playing method according to an embodiment of the present disclosure.
As illustrated in FIG. 5, the audio playing method may include the following acts.
In act 501, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, an audio playing device determines a target definition for playing the target audio content.
In act 502, the audio playing device determines that a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
In act 503, the audio playing device plays a voice inquiry message.
The voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
In act 504, the audio playing device acquires a confirmation instruction returned by the user.
In act 505, the audio playing device reports the audio file acquisition request to the server.
The audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
In act 506, the server sends an audio playing instruction to the audio playing device. The audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
In act 507, the audio playing device plays the target audio file.
In detail, the audio playing device may play the voice inquiry message to the user based on the change of the loading speed and acquires the target audio file corresponding to the identifier and the target definition from the server after obtaining the confirmation instruction returned by the user, to switch the definition for playing the target audio content.
Through the above process, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
FIG. 6 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
As illustrated in FIG. 6, the audio playing method may include the following acts.
In act 601, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, an audio playing device determines a target definition for playing the target audio content.
In act 602, the audio playing device determines that a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
In act 603, the audio playing device plays a voice inquiry message.
In act 604, the audio playing device determines that a number of occurrences of playing the voice inquiry message to the user is greater than a second number threshold and a confirmation instruction returned by the user is not acquired.
In act 605, the audio playing device reports the audio file acquisition request to the server.
The audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
In act 606, the server sends an audio playing instruction to the audio playing device.
The audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
In act 607, the audio playing device plays the target audio file.
In detail, the audio playing device may play the voice inquiry message to the user based on the change of the loading speed and acquires the target audio file corresponding to the identifier and the target definition from the server when the number of occurrences of playing the voice inquiry message to the user is greater than the second number threshold and the confirmation instruction returned by the user is not acquired, so as to switch the definition for playing the target audio content.
Through the above process, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
FIG. 7 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
As illustrated in FIG. 7, the audio playing method may include the following acts.
In act 701, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, an audio playing device determines a target definition for playing the target audio content.
In act 702, the audio playing device reports a loading speed change event to the server at the preset time interval.
In act 703, the server determines that a number of occurrences of the loading speed change event reported by the audio playing device within a second time period threshold exceeds a first number threshold.
In act 704, the server sends a voice inquiry message playing instruction to the audio playing device.
The voice inquiry message playing instruction is configured to instruct the audio playing device to play a voice inquiry message to the user. The voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
In act 705, the audio playing device plays the voice inquiry message.
In act 706, the audio playing device acquires a confirmation instruction returned by the user.
In act 707, the audio playing device reports the audio file acquisition request to the server.
The audio file acquisition request may include the target definition and an identifier of a target audio file containing the target audio content.
In act 708, the server sends an audio playing instruction to the audio playing device.
The audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
In act 709, the audio playing device plays the target audio file.
In detail, the server may send the voice inquiry message playing instruction to the audio playing device based on the loading speed change event reported by the audio playing device. After acquiring the voice inquiry message playing instruction, the audio playing device may play the voice inquiry message to the user, and acquire the confirmation instruction returned by the user, and then acquire the target audio file corresponding to the identifier and the target definition from the server so as to switch the definition for playing the target audio content.
Through the above process, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
FIG. 8 is a signaling interaction diagram of an audio playing method according to another embodiment of the present disclosure.
As illustrated in FIG. 8, the audio playing method may include the following acts.
In act 801, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, an audio playing device determines a target definition for playing the target audio content.
In act 802, the audio playing device reports a loading speed change event to the server at the preset time interval.
In act 803, the server determines that a number of occurrences of the loading speed change event reported by the audio playing device within a second time period threshold exceeds a first number threshold.
In act 804, the server sends a voice inquiry message playing instruction to the audio playing device.
The voice inquiry message playing instruction is configured to instruct the audio playing device to play a voice inquiry message to the user. The voice inquiry message is configured to inquire of the user whether to switch a definition for playing the target audio content.
In act 805, the audio playing device plays the voice inquiry message.
In act 806, the server determines that a time period elapsed since the voice inquiry message playing instruction is sent is greater than a third time period threshold and an audio file acquirement request is not received from the audio playing.
In act 807, the server determines a target definition achievable currently by the audio playing device based on the loading speed change event reported by the audio playing device.
In act 808, the server sends an audio playing instruction to the audio playing device.
The audio playing instruction may include the target audio file corresponding to the identifier and the target definition.
It should be noted that, when the server does not acquire the audio file acquisition request reported by the audio playing device, it may determine the identifier of the target audio file based on the present audio file played by the audio playing device, and determine the target definition achievable currently by the audio playing device based on the loading speed change event reported by the audio playing device. Therefore, the audio playing instruction sent to the audio playing device may include the target audio file corresponding to the identifier and the target definition.
In act 809, the audio playing device plays the target audio file.
In detail, the server may send the voice inquiry message playing instruction to the audio playing device based on the loading speed change event reported by the audio playing device. After acquiring the voice inquiry message playing instruction, the audio playing device may play the voice inquiry message to the user. If the server determines that the time period elapsed since the voice inquiry message playing instruction is sent is greater than the third time period threshold and the audio file acquirement request is not received from the audio playing device, it sends the audio playing instruction to the audio playing device, as to switch the definition for playing the target audio content.
Through the above process, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
FIG. 9 is a block diagram illustrating an audio playing apparatus according to an embodiment of the present disclosure.
As illustrated in FIG. 9, the audio playing apparatus may include a first determining module 901, a second determining module 902, a first sending module 903, a first acquiring module 904 and a first acquiring module 905.
The first determining module 901 is configured to, when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, determine a target definition for playing the target audio content.
The second determining module 902 is configured to, determine whether to report an audio file acquisition request to a server based on a preset strategy.
The first sending module 903 is configured to, when it is determined to report the audio file acquisition request to the server, report the audio file acquisition request to the server, the audio file acquisition request comprising the target definition and an identifier of a target audio file containing the target audio content.
The first acquiring module 904 is configured to, acquire an audio playing instruction sent by the server, the audio playing instruction comprising the target audio file corresponding to the identifier and the target definition.
The first playing module 905 is configured to play the target audio file.
In detail, the audio playing apparatus provided in this embodiment may be configured in any terminal device that may play audio, such as any smart speaker, mobile phone, or computer, for executing the audio playing method performed at the side of the audio playing device.
In a possible implementation of the embodiment of the present disclosure, the above-mentioned second determining module 902 is specifically configured to: determine whether to report the audio file acquisition request to the server, based on whether the loading speed is changed within a first time period threshold, and/or, whether a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
In a possible implementation of the embodiment of the present disclosure, the above-mentioned second determining module 902 is further configured to: play a voice inquiry message to a user, the voice inquiry message being configured to inquire of the user whether to switch a definition for playing the target audio content; determine whether to report the audio file acquisition request to the server based on an acquired instruction returned by the user.
In a possible implementation of the embodiment of the present disclosure, the above-mentioned second determining module 902 is further configured to: when a time period elapsed since the voice inquiry message is played to the user is greater than a third time period threshold and a confirmation instruction returned by the user is not acquired, determine to report the audio file acquisition request to the server; or a number of occurrences of playing the voice inquiry message to the user is greater than a second number threshold and a confirmation instruction returned by the user is not acquired, determine to report the audio file acquisition request to the server.
In a possible implementation of the embodiment of the present disclosure, the audio playing apparatus further includes a second sending module and a second acquiring module.
The second sending module is configured to report a loading speed change event to the server at a preset time interval.
The second acquiring module is configured to acquire a voice inquiry message playing instruction sent by the server.
In a possible implementation of the embodiment of the present disclosure, the audio playing instruction further includes a starting playing moment. The above-mentioned the first playing module 905 is configured to: play the target audio file based on the starting playing moment.
It should be noted that, the foregoing explanation of the embodiment of the audio playing method performed at the side of the audio playing device also be applicable to the audio playing apparatus of this embodiment, which will not be described here.
With the audio playing apparatus according to the embodiments of the present disclosure, when the loading speed of the present audio file containing the target audio content is changed during the present audio file is played, the target definition for playing the target audio content is determined. Then it is determined whether to report the audio file acquisition request to the server based on the preset strategy. If yes, the audio file acquisition request is reported to the server. Thus, the audio playing instruction sent by the server may be acquired, and the target audio file included in the audio playing instruction and corresponding to the identifier and the target definition is played. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
FIG. 10 is a block diagram illustrating an audio playing apparatus according to another embodiment of the present disclosure.
As illustrated in FIG. 10, the audio playing apparatus may include a third acquiring module 1001 and a third sending module 1002.
The third acquiring module 1001 is configured to acquire an audio file acquisition request reported by an audio playing device, the audio file acquisition request comprising a target definition and an identifier of a target audio file containing target audio content.
The third sending module 1002 is configured to send an audio playing instruction to the audio playing device, the audio playing instruction comprising the target audio file corresponding to the identifier and the target definition.
In detail, the audio playing apparatus provided in this embodiment may be configured in a server provided in an embodiment of the present disclosure and is configured to execute the audio playing method performed at the side of the server.
In a possible implementation of the embodiment of the present disclosure, the audio playing instruction further includes a fourth acquiring module, a first judging module, and a fourth sending module.
The fourth acquiring module is configured to acquire a loading speed change event reported by the audio playing device.
The first judging module is configured to determine whether a number of occurrences of the loading speed change event reported by the audio playing device within a second time period threshold exceeds a first number threshold.
The fourth sending module is configured to, when the number of occurrences of the loading speed change event reported by the audio playing device within the second time period threshold exceeds the first number threshold, send a voice inquiry message playing instruction to the audio playing device, the voice inquiry message playing instruction being configured to instruct the audio playing device to play a voice inquiry message to the user, the voice inquiry message being configured to inquire of the user whether to switch a definition for playing the target audio content.
In a possible implementation of the embodiment of the present disclosure, the audio playing instruction further includes a third determining module.
The third determining module is configured to, send the audio playing instruction to the audio playing device when it is determined that a time period elapsed since the voice inquiry message playing instruction is sent to the audio playing device is greater than a third time period threshold and the audio file acquisition request reported by the audio playing device is not acquired, or it is determined that a number of occurrences of sending the voice inquiry message playing instruction to the audio playing device is greater than a second number threshold and the audio file acquisition request reported by the audio playing device is not acquired.
In a possible implementation of the embodiment of the present disclosure, the audio playing instruction further includes a fourth determining module.
The fourth determining module is configured to determine a target definition achievable currently by the audio playing device based on the loading speed change event reported by the audio playing device.
In a possible implementation of the embodiment of the present disclosure, the audio playing instruction further includes a fifth determining module and a sixth determining module.
The fifth determining module is configured to determine a playing progress of a present audio file played by the audio playing device, the present audio file containing the target audio content.
The sixth determining module is configured to determine a starting playing moment of the target audio file based on the playing progress.
In a possible implementation of the embodiment of the present disclosure, the above-mentioned third sending module 1002 is configured to: send the audio playing instruction comprising the starting playing moment to the audio playing device.
It should be noted that, the foregoing description of the embodiment of the audio playing method performed at the side of the server also be applicable to the audio playing apparatus in this embodiment, which is not described herein again.
With the audio playing apparatus according to the embodiments of the present disclosure, when the audio file acquisition request reported by the audio playing device is acquired, the audio playing instruction may be sent to the audio playing device. Therefore, it may realize the self-adaptive control on the definition for playing the target audio content based on the present network condition of the audio playing device and the preset strategy, thereby improving the use effect of the audio playing device and the user experience.
To realize the above objectives, embodiments of another aspect of the present disclosure provide an audio playing device. The device may include a memory, a processor and computer programs stored on the memory and executable by the processor. The processor is configured to execute the computer programs to implement the audio playing method according to the embodiments of the first aspect of the present disclosure.
To realize the above objectives, embodiments of still another aspect of the present disclosure provide a server. The server may include a memory, a processor and computer programs stored on the memory and executable by the processor. The processor is configured to execute the computer programs to implement the audio playing method according to the embodiments of the second aspect of the present disclosure.
To realize the above objectives, embodiments of still another aspect of the present disclosure provide a computer-readable storage medium having computer programs stored thereon. When the computer programs are executed by a processor, the processor is caused to perform the audio playing method according to the embodiments of the first aspect of the present disclosure.
To realize the above objectives, embodiments of still another aspect of the present disclosure provide another computer-readable storage medium having computer programs stored thereon. When the computer programs are executed by a processor, the processor is caused to perform the audio playing method according to the embodiments of the second aspect of the present disclosure.
To achieve the above objectives, embodiments of still another aspect of the present disclosure provide a computer program product having stored computer programs thereon. When the computer programs are executed by a processor the audio playing method according to the embodiments of the first aspect of the present disclosure is performed.
To achieve the above objectives, embodiments of still another aspect of the present disclosure provide a computer program product having stored computer programs thereon. When the computer programs are executed by a processor the audio playing method according to the embodiments of the second aspect of the present disclosure is performed.
Reference throughout this specification to “an embodiment,” “some embodiments,” “one embodiment”, “another example,” “an example,” “a specific example,” or “some examples,” means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Thus, the appearances of the phrases such as “in some embodiments,” “in one embodiment”, “in an embodiment”, “in another example,” “in an example,” “in a specific example,” or “in some examples,” in various places throughout this specification are not necessarily referring to the same embodiment or example of the present disclosure. Furthermore, the particular features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
In addition, terms such as “first” and “second” are used herein for purposes of description and are not intended to indicate or imply relative importance or significance. Thus, the feature defined with “first” and “second” may comprise one or more this feature. In the description of the present disclosure, “a plurality of” means two or more, for example, two, three, unless specified otherwise.
Any process or method described in a flow chart or described herein in other ways may be understood to include one or more modules, segments or portions of codes of executable instructions for achieving specific logical functions or steps in the process, and the scope of a preferred embodiment of the present disclosure includes other implementations, which should be understood by those skilled in the art.
The logic and/or step described in other manners herein or shown in the flow chart, for example, a particular sequence table of executable instructions for realizing the logical function, may be specifically achieved in any computer readable medium to be used by the instruction execution system, device or equipment (such as the system based on computers, the system comprising processors or other systems capable of obtaining the instruction from the instruction execution system, device and equipment and executing the instruction), or to be used in combination with the instruction execution system, device and equipment. As to the specification, “the computer readable medium” may be any device adaptive for including, storing, communicating, propagating or transferring programs to be used by or in combination with the instruction execution system, device or equipment. More specific examples of the computer readable medium comprise but are not limited to: an electronic connection (an electronic device) with one or more wires, a portable computer enclosure (a magnetic device), a random access memory (RAM), a read only memory (ROM), an erasable programmable read-only memory (EPROM or a flash memory), an optical fiber device and a portable compact disk read-only memory (CDROM). In addition, the computer readable medium may even be a paper or other appropriate medium capable of printing programs thereon, this is because, for example, the paper or other appropriate medium may be optically scanned and then edited, decrypted or processed with other appropriate methods when necessary to obtain the programs in an electric manner, and then the programs may be stored in the computer memories.
It should be understood that each part of the present disclosure may be realized by the hardware, software, firmware or their combination. In the above embodiments, a plurality of steps or methods may be realized by the software or firmware stored in the memory and executed by the appropriate instruction execution system. For example, if it is realized by the hardware, likewise in another embodiment, the steps or methods may be realized by one or a combination of the following techniques known in the art: a discrete logic circuit having a logic gate circuit for realizing a logic function of a data signal, an application-specific integrated circuit having an appropriate combination logic gate circuit, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
Those skilled in the art shall understand that all or parts of the steps in the above exemplifying method of the present disclosure may be achieved by commanding the related hardware with programs. The programs may be stored in a computer readable storage medium, and the programs comprise one or a combination of the steps in the method embodiments of the present disclosure when run on a computer.
In addition, each function cell of the embodiments of the present disclosure may be integrated in a processing module, or these cells may be separate physical existence, or two or more cells are integrated in a processing module. The integrated module may be realized in a form of hardware or in a form of software function modules. When the integrated module is realized in a form of software function module and is sold or used as a standalone product, the integrated module may be stored in a computer readable storage medium.
The storage medium mentioned above may be read-only memories, magnetic disks or CD, etc. Although explanatory embodiments have been shown and described, it would be appreciated by those skilled in the art that the above embodiments cannot be construed to limit the present disclosure, and changes, alternatives, and modifications can be made in the embodiments without departing from scope of the present disclosure.

Claims (14)

What is claimed is:
1. An audio playing method, performed in an audio playing device and comprising:
when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, determining a target definition for playing the target audio content;
reporting an audio file acquisition request to a server, the audio file acquisition request comprising the target definition and an identifier of a target audio file containing the target audio content;
acquiring an audio playing instruction sent by the server based on the audio file acquisition request, the audio playing instruction comprising the target audio file corresponding to the identifier and the target definition; and
playing the target audio file;
acquiring a voice inquiry message playing instruction sent by the server, the voice inquiry message playing instruction being configured to instruct the audio playing device to play a voice inquiry message to a user;
playing the voice inquiry message to the user, the voice inquiry message being configured to inquire of the user whether to switch a definition for playing the target audio content;
wherein, reporting the audio file acquisition request to the server, comprises: reporting the audio file acquisition request to the server, when a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
2. The method according to claim 1, wherein, reporting the audio file acquisition request to the server, comprises:
reporting the audio file acquisition request to the server when a confirmation instruction returned by the user in response to the voice inquiry message is received.
3. The method according to claim 1, wherein, reporting the audio file acquisition request to the server, comprises:
when a time period elapsed since the voice inquiry message is played to the user is greater than a third time period threshold and a confirmation instruction returned by the user in response to the voice inquiry message is not acquired, reporting the audio file acquisition request to the server;
or when a number of occurrences of playing the voice inquiry message to the user is greater than a second number threshold and a confirmation instruction returned by the user in response to the voice inquiry message is not acquired, reporting the audio file acquisition request to the server.
4. The method according to claim 1, wherein, before reporting the audio file acquisition request to the server, the method further comprises:
reporting a loading speed change event to the server at a preset time interval.
5. The method according to claim 1, wherein, the audio playing instruction further comprises a starting playing moment;
playing the target audio file comprises:
playing the target audio file based on the starting playing moment.
6. An audio playing device, comprising:
a memory;
a processor; and
computer programs stored on the memory and executable by the processor,
wherein the processor is configured to execute the computer programs to implement acts of:
when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, determining a target definition for playing the target audio content;
reporting an audio file acquisition request to a server, the audio file acquisition request comprising the target definition and an identifier of a target audio file containing the target audio content;
acquiring an audio playing instruction sent by the server based on the audio file acquisition request, the audio playing instruction comprising the target audio file corresponding to the identifier and the target definition; and
playing the target audio file;
acquiring a voice inquiry message playing instruction sent by the server, the voice inquiry message playing instruction being configured to instruct the audio playing device to play a voice inquiry message to a user;
playing the voice inquiry message to the user, the voice inquiry message being configured to inquire of the user whether to switch a definition for playing the target audio content;
wherein, reporting the audio file acquisition request to the server, comprises: reporting the audio file acquisition request to the server, when a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
7. The audio playing device according to claim 6, wherein the processor is configured to report the audio file acquisition request to the server by acts of:
reporting the audio file acquisition request to the server when a confirmation instruction returned by the user in response to the voice inquiry message is received.
8. The audio playing device according to claim 6, wherein the processor is configured to report the audio file acquisition request to the server by acts of:
when a time period elapsed since the voice inquiry message is played to the user is greater than a third time period threshold and a confirmation instruction returned by the user in response to the voice inquiry message is not acquired, reporting the audio file acquisition request to the server;
or when a number of occurrences of playing the voice inquiry message to the user is greater than a second number threshold and a confirmation instruction returned by the user in response to the voice inquiry message is not acquired, reporting the audio file acquisition request to the server.
9. The audio playing device according to claim 6, wherein the processor is further configured to implements acts of:
reporting a loading speed change event to the server at a preset time interval.
10. The audio playing device according to claim 6, wherein, the audio playing instruction further comprises a starting playing moment;
playing the target audio file comprises:
playing the target audio file based on the starting playing moment.
11. A non-transitory computer-readable storage medium having computer programs stored thereon, wherein when the computer programs are executed by a processor in an audio playing device, the processor is caused to perform an audio playing method, the method comprising:
when a loading speed of a present audio file containing target audio content is changed during the present audio file is played, determining a target definition for playing the target audio content;
reporting an audio file acquisition request to a server, the audio file acquisition request comprising the target definition and an identifier of a target audio file containing the target audio content;
acquiring an audio playing instruction sent by the server based on the audio file acquisition request, the audio playing instruction comprising the target audio file corresponding to the identifier and the target definition; and
playing the target audio file;
acquiring a voice inquiry message playing instruction sent by the server, the voice inquiry message playing instruction being configured to instruct the audio playing device to play a voice inquiry message to a user;
playing the voice inquiry message to the user, the voice inquiry message being configured to inquire of the user whether to switch a definition for playing the target audio content;
wherein, reporting the audio file acquisition request to the server, comprises: reporting the audio file acquisition request to the server, when a number of changes of the loading speed within a second time period threshold exceeds a first number threshold.
12. The non-transitory computer-readable storage medium according to claim 11, wherein, reporting the audio file acquisition request to the server, comprises:
reporting the audio file acquisition request to the server when a confirmation
instruction returned by the user in response to the voice inquiry message is received.
13. The non-transitory computer-readable storage medium according to claim 11, wherein, reporting the audio file acquisition request to the server, comprises:
when a time period elapsed since the voice inquiry message is played to the user is greater than a third time period threshold and a confirmation instruction returned by the user in response to the voice inquiry message is not acquired, reporting the audio file acquisition request to the server;
or when a number of occurrences of playing the voice inquiry message to the user is greater than a second number threshold and a confirmation instruction returned by the user in response to the voice inquiry message is not acquired, reporting the audio file acquisition request to the server.
14. The non-transitory computer-readable storage medium according to claim 11, wherein, before reporting the audio file acquisition request to the server, the method further comprises:
reporting a loading speed change event to the server at a preset time interval.
US16/004,736 2017-07-05 2018-06-11 Audio playing method, apparatus, device and server Active 2038-07-02 US10908870B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710542305.9A CN107480181B (en) 2017-07-05 2017-07-05 Audio playing method, device, equipment and server
CN201710542305 2017-07-05
CN201710542305.9 2017-07-05

Publications (2)

Publication Number Publication Date
US20190012134A1 US20190012134A1 (en) 2019-01-10
US10908870B2 true US10908870B2 (en) 2021-02-02

Family

ID=60595425

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/004,736 Active 2038-07-02 US10908870B2 (en) 2017-07-05 2018-06-11 Audio playing method, apparatus, device and server

Country Status (3)

Country Link
US (1) US10908870B2 (en)
JP (1) JP6688836B2 (en)
CN (1) CN107480181B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7012939B2 (en) * 2017-12-07 2022-01-31 トヨタ自動車株式会社 Service provision equipment and service provision program
CN108319442B (en) * 2018-01-23 2019-12-10 维沃移动通信有限公司 Audio playing control method and mobile terminal
US10990939B2 (en) 2019-04-15 2021-04-27 Advanced New Technologies Co., Ltd. Method and device for voice broadcast
CN110609554B (en) * 2019-09-17 2023-01-17 重庆特斯联智慧科技股份有限公司 Robot movement control method and device
CN113691673B (en) * 2020-05-13 2023-05-16 北京小米移动软件有限公司 Audio play control method, device and storage medium
CN112035698B (en) * 2020-09-11 2022-02-25 北京字跳网络技术有限公司 Audio audition method, device and storage medium
CN113050912A (en) * 2020-09-30 2021-06-29 惠州华阳通用电子有限公司 Audio file output method and device
CN112817659B (en) * 2021-02-02 2023-06-02 金陵科技学院 Speech loading pre-judging method of speech gateway
CN113068066B (en) * 2021-03-17 2022-12-02 北京骑胜科技有限公司 Shared article-based on-demand method and device, electronic equipment and storage medium
CN113890752B (en) * 2021-09-23 2024-02-06 深圳Tcl新技术有限公司 Audio playing method and device, storage medium and electronic equipment
CN113791887A (en) * 2021-09-28 2021-12-14 杭州中河电子器材有限公司 Audio task priority management method, device and system

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6014693A (en) * 1996-03-29 2000-01-11 Mitsubishi Denki Kabushiki Kaisha System for delivering compressed stored video data by adjusting the transfer bit rate to compensate for high network load
US20020004841A1 (en) * 2000-05-02 2002-01-10 Ryusuke Sawatari Communication apparatus and communication method
US20020138619A1 (en) * 2001-03-21 2002-09-26 Theplatform For Media, Inc. Method and system for managing and distributing digital media
US6529146B1 (en) * 2000-06-09 2003-03-04 Interactive Video Technologies, Inc. System and method for simultaneously encoding data in multiple formats and at different bit rates
JP2004516717A (en) 2000-12-15 2004-06-03 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Transmission and reception of audio and / or video material
JP2005202052A (en) 2004-01-14 2005-07-28 Nec Corp Channel number variable audio distribution system, audio distribution device, and audio receiving device
US7069014B1 (en) * 2003-12-22 2006-06-27 Sprint Spectrum L.P. Bandwidth-determined selection of interaction medium for wireless devices
US20080120495A1 (en) * 2006-11-20 2008-05-22 Dov Aharonson System and method of automated function activation for electronic devices
US7536469B2 (en) * 2004-12-10 2009-05-19 Microsoft Corporation System and process for controlling the coding bit rate of streaming media data employing a limited number of supported coding bit rates
US20110047287A1 (en) * 2009-08-19 2011-02-24 Opanga Networks, Inc Systems and methods for optimizing media content delivery based on user equipment determined resource metrics
US20120005364A1 (en) * 2009-03-23 2012-01-05 Azuki Systems, Inc. System and method for network aware adaptive streaming for nomadic endpoints
JP2012248936A (en) 2011-05-25 2012-12-13 Nec Access Technica Ltd Information reproducing terminal, information reproduction method, and program
US20130085586A1 (en) * 2011-10-01 2013-04-04 Google Inc. Audio File Processing to Reduce Latencies in Play Start Times for Cloud Served Audio Files
US20130091297A1 (en) * 2011-10-05 2013-04-11 Qualcomm Incorporated Switching between representations during network streaming of coded multimedia data
US20130310959A1 (en) * 2012-05-15 2013-11-21 Andrei Mihail Sandu Methods, systems, and computer readable media for utilizing a plurality of pre-encoded payloads to generate a packet stream transmission
US20130326024A1 (en) * 2012-06-01 2013-12-05 Verizon Patent And Licensing Inc. Adaptive hypertext transfer protocol ("http") media streaming systems and methods
US8868772B2 (en) * 2004-04-30 2014-10-21 Echostar Technologies L.L.C. Apparatus, system, and method for adaptive-rate shifting of streaming content
US20140366070A1 (en) * 2013-06-10 2014-12-11 Samsung Electronics Co., Ltd. Method and apparatus for assigning video bitrate in mobile communication system
US20160080237A1 (en) * 2014-09-11 2016-03-17 At&T Intellectual Property I, L.P. Adaptive bit rate media streaming based on network conditions received via a network monitor
CN105898408A (en) 2016-04-28 2016-08-24 乐视控股(北京)有限公司 Video play method and device
US20160316274A1 (en) 2014-08-18 2016-10-27 Shenzhen Tcl New Technology Co., Ltd Method and system for switching video playback resolution
CN106878808A (en) 2017-03-17 2017-06-20 福建中金在线信息科技有限公司 A kind of video broadcasting method and device
US20170237965A1 (en) * 2016-02-17 2017-08-17 Qualcomm Incorporated Storage of virtual reality video in media files
US20170332282A1 (en) * 2016-05-13 2017-11-16 Huawei Technologies Co., Ltd. Method and system for providing guaranteed quality of service and quality of experience channel

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09292895A (en) * 1996-04-25 1997-11-11 Matsushita Electric Ind Co Ltd Human and machine interface device
US20020188745A1 (en) * 2001-06-11 2002-12-12 Hughes David A. Stacked stream for providing content to multiple types of client devices
JP4039086B2 (en) * 2002-03-05 2008-01-30 ソニー株式会社 Information processing apparatus and information processing method, information processing system, recording medium, and program
JP2005121693A (en) * 2003-10-14 2005-05-12 Alpine Electronics Inc Streaming delivery system and streaming delivery method
CN1630291A (en) * 2003-12-15 2005-06-22 皇家飞利浦电子股份有限公司 Method and apparatus for playing content
JP2006227954A (en) * 2005-02-18 2006-08-31 Pioneer Electronic Corp Information processor and its method
CN101276377B (en) * 2008-05-16 2011-09-14 北京搜狗科技发展有限公司 Method, system for acquiring resource related information and application in search engine

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6014693A (en) * 1996-03-29 2000-01-11 Mitsubishi Denki Kabushiki Kaisha System for delivering compressed stored video data by adjusting the transfer bit rate to compensate for high network load
US20020004841A1 (en) * 2000-05-02 2002-01-10 Ryusuke Sawatari Communication apparatus and communication method
US6529146B1 (en) * 2000-06-09 2003-03-04 Interactive Video Technologies, Inc. System and method for simultaneously encoding data in multiple formats and at different bit rates
JP2004516717A (en) 2000-12-15 2004-06-03 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Transmission and reception of audio and / or video material
US20020138619A1 (en) * 2001-03-21 2002-09-26 Theplatform For Media, Inc. Method and system for managing and distributing digital media
US7069014B1 (en) * 2003-12-22 2006-06-27 Sprint Spectrum L.P. Bandwidth-determined selection of interaction medium for wireless devices
JP2005202052A (en) 2004-01-14 2005-07-28 Nec Corp Channel number variable audio distribution system, audio distribution device, and audio receiving device
US8868772B2 (en) * 2004-04-30 2014-10-21 Echostar Technologies L.L.C. Apparatus, system, and method for adaptive-rate shifting of streaming content
US7536469B2 (en) * 2004-12-10 2009-05-19 Microsoft Corporation System and process for controlling the coding bit rate of streaming media data employing a limited number of supported coding bit rates
US20080120495A1 (en) * 2006-11-20 2008-05-22 Dov Aharonson System and method of automated function activation for electronic devices
US20120005364A1 (en) * 2009-03-23 2012-01-05 Azuki Systems, Inc. System and method for network aware adaptive streaming for nomadic endpoints
US20110047287A1 (en) * 2009-08-19 2011-02-24 Opanga Networks, Inc Systems and methods for optimizing media content delivery based on user equipment determined resource metrics
JP2012248936A (en) 2011-05-25 2012-12-13 Nec Access Technica Ltd Information reproducing terminal, information reproduction method, and program
US20130085586A1 (en) * 2011-10-01 2013-04-04 Google Inc. Audio File Processing to Reduce Latencies in Play Start Times for Cloud Served Audio Files
US20130091297A1 (en) * 2011-10-05 2013-04-11 Qualcomm Incorporated Switching between representations during network streaming of coded multimedia data
US20130310959A1 (en) * 2012-05-15 2013-11-21 Andrei Mihail Sandu Methods, systems, and computer readable media for utilizing a plurality of pre-encoded payloads to generate a packet stream transmission
US20130326024A1 (en) * 2012-06-01 2013-12-05 Verizon Patent And Licensing Inc. Adaptive hypertext transfer protocol ("http") media streaming systems and methods
US20140366070A1 (en) * 2013-06-10 2014-12-11 Samsung Electronics Co., Ltd. Method and apparatus for assigning video bitrate in mobile communication system
US20160316274A1 (en) 2014-08-18 2016-10-27 Shenzhen Tcl New Technology Co., Ltd Method and system for switching video playback resolution
US20160080237A1 (en) * 2014-09-11 2016-03-17 At&T Intellectual Property I, L.P. Adaptive bit rate media streaming based on network conditions received via a network monitor
US20170237965A1 (en) * 2016-02-17 2017-08-17 Qualcomm Incorporated Storage of virtual reality video in media files
CN105898408A (en) 2016-04-28 2016-08-24 乐视控股(北京)有限公司 Video play method and device
US20170332282A1 (en) * 2016-05-13 2017-11-16 Huawei Technologies Co., Ltd. Method and system for providing guaranteed quality of service and quality of experience channel
CN106878808A (en) 2017-03-17 2017-06-20 福建中金在线信息科技有限公司 A kind of video broadcasting method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JPO, Office Action for JP Application No. 2018113978, dated Jun. 25, 2019.
SIPO, First Office Action for CN Application No. 201710542305.9, dated Mar. 19, 2020.

Also Published As

Publication number Publication date
CN107480181B (en) 2020-11-24
US20190012134A1 (en) 2019-01-10
CN107480181A (en) 2017-12-15
JP2019015959A (en) 2019-01-31
JP6688836B2 (en) 2020-04-28

Similar Documents

Publication Publication Date Title
US10908870B2 (en) Audio playing method, apparatus, device and server
US11419055B2 (en) Occupation control method for camera application based on operating state of device and camera data requests
US10284494B2 (en) Device controlling method, client, server and intermediate device
CN110784858B (en) Bluetooth device control method and device, electronic device and storage medium
CN106598539B (en) Method and device for processing audio in application program
WO2018054139A1 (en) Audio control method and device, and storage medium
CN106302997B (en) Output control method, electronic equipment and system
US10950238B2 (en) Bluetooth speaker base, method and system for controlling thereof
US20110230235A1 (en) Method for controlling surrounding device and communication device and computer-readable medium using the same
US9800704B2 (en) Call control method and terminal
CN111193978A (en) Charging box control method, earphone charging box and computer readable storage medium
CN105679350A (en) Audio playing method and device
JP2021028819A (en) Smart service method, apparatus, and device
CN104660197A (en) Volume control method and playing equipment
CN103024157B (en) Voice based mobile terminal seeking method and system
CN112533188B (en) Output processing method and device of play source
CN103985400A (en) Audio file playing system
CN113934397A (en) Broadcast control method in electronic equipment and electronic equipment
CN116074679B (en) Method, device, equipment and storage medium for determining left and right states of intelligent earphone
CN107861704A (en) Control method for playing back, device, terminal and readable storage medium storing program for executing
CN108184193B (en) Play control method of Bluetooth play terminal, Bluetooth device and computer storage medium
US11740865B2 (en) Agent coordination device, agent coordination method and recording medium
CN115915081A (en) Audio output channel switching control method, intelligent terminal and storage medium
CN104796167A (en) Terminal
CN112951241B (en) Pickup recognition method and system for IOS

Legal Events

Date Code Title Description
AS Assignment

Owner name: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHANG, XIANTANG;ZHAO, LIFENG;YAN, SHIWEI;REEL/FRAME:046042/0843

Effective date: 20180510

Owner name: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHANG, XIANTANG;ZHAO, LIFENG;YAN, SHIWEI;REEL/FRAME:046042/0843

Effective date: 20180510

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE

AS Assignment

Owner name: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.;REEL/FRAME:056811/0772

Effective date: 20210527

Owner name: SHANGHAI XIAODU TECHNOLOGY CO. LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.;REEL/FRAME:056811/0772

Effective date: 20210527