CN111552454B - Audio playing method, device, terminal and storage medium - Google Patents
Audio playing method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN111552454B CN111552454B CN202010355362.8A CN202010355362A CN111552454B CN 111552454 B CN111552454 B CN 111552454B CN 202010355362 A CN202010355362 A CN 202010355362A CN 111552454 B CN111552454 B CN 111552454B
- Authority
- CN
- China
- Prior art keywords
- target
- audio
- audio file
- playing
- tone quality
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000012795 verification Methods 0.000 claims abstract description 18
- 230000004044 response Effects 0.000 claims description 40
- 238000012545 processing Methods 0.000 claims description 8
- 230000015556 catabolic process Effects 0.000 claims description 5
- 238000006731 degradation reaction Methods 0.000 claims description 5
- 230000003139 buffering effect Effects 0.000 abstract description 24
- 230000000903 blocking effect Effects 0.000 abstract description 4
- 239000000872 buffer Substances 0.000 description 44
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the application discloses an audio playing method, an audio playing device, a terminal and a storage medium, and belongs to the technical field of audio playing. The method comprises the following steps: receiving an audio playing instruction, wherein the audio playing instruction is used for indicating to play target audio; responding to a local audio file corresponding to the target audio, wherein the local audio file is stored, and the first tone quality corresponding to the local audio file is lower than the target tone quality, so as to obtain a cache audio file corresponding to the target audio; responding to the existence of the cached audio file, wherein the second tone quality corresponding to the cached audio file is higher than the first tone quality, and carrying out integrity check on the cached audio file to obtain a check result; determining a target audio file from the cached audio file and the local audio file according to the verification result; and playing the target audio according to the target audio file. The phenomenon of playing blocking caused by playing while buffering when the network is poor is avoided, and the playing fluency of the target audio is improved.
Description
Technical Field
The embodiment of the application relates to the technical field of audio playing, in particular to an audio playing method, an audio playing device, a terminal and a storage medium.
Background
Along with the popularization of music platforms, users have certain demands on the playing tone quality, the playing fluency and the like of songs, wherein the playing tone quality of songs can be divided into standard tone quality, high-quality tone quality and lossless tone quality.
In the related art, a user may set playing sound quality of songs, and if the playing sound quality set by the user is high quality sound quality, the music platform performs playing and buffering of songs according to the playing sound quality set by the user.
However, with the method in the related art, if the song does not have a cache file or a local file with high quality, a clamping phenomenon occurs when the song is played under the condition of poor network, so that the smoothness of playing the song is reduced.
Disclosure of Invention
The embodiment of the application provides an audio playing method, an audio playing device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides an audio playing method, where the method includes:
receiving an audio playing instruction, wherein the audio playing instruction is used for indicating to play target audio;
responding to a local audio file corresponding to the target audio, wherein the local audio file is stored, and the first tone quality corresponding to the local audio file is lower than the target tone quality, so as to obtain a cache audio file corresponding to the target audio;
In response to the existence of the cache audio file, and the second tone quality corresponding to the cache audio file is higher than the first tone quality, carrying out integrity check on the cache audio file to obtain a check result;
determining a target audio file from the cached audio file and the local audio file according to the verification result;
and playing the target audio according to the target audio file.
In another aspect, an embodiment of the present application provides an audio playing device, including:
the receiving module is used for receiving an audio playing instruction, wherein the audio playing instruction is used for indicating to play target audio;
the first acquisition module is used for responding to the local audio file corresponding to the target audio, wherein the first tone quality corresponding to the local audio file is lower than the target tone quality, and acquiring the cache audio file corresponding to the target audio;
the verification module is used for responding to the existence of the cache audio file, wherein the second tone quality corresponding to the cache audio file is higher than the first tone quality, and carrying out integrity verification on the cache audio file to obtain a verification result;
the first determining module is used for determining a target audio file from the cached audio file and the local audio file according to the verification result;
And the first playing module is used for playing the target audio according to the target audio file.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the audio playback method as described in the above aspects.
In another aspect, a computer-readable storage medium is provided, the storage medium storing at least one instruction for execution by a processor to implement the audio playback method of the above aspect.
In another aspect, there is provided a computer program product storing at least one instruction that is loaded and executed by a processor to implement the audio playback method of the above aspect.
When the terminal receives an audio playing instruction for playing target audio, if the terminal determines that a local audio file corresponding to the target audio is stored and the first tone quality corresponding to the local audio file is lower than the target tone quality, determining whether a cached audio file higher than the first tone quality is stored; if the local audio file and the buffer audio file corresponding to the target tone quality do not exist, the audio playing method provided by the embodiment of the application can select the local audio file or the buffer audio file to play the audio, avoid playing the click phenomenon caused by playing the buffer audio when the network is poor, and improve the playing fluency of the target audio.
Drawings
FIG. 1 illustrates a flow chart of an audio playing method according to an exemplary embodiment of the present application;
fig. 2 illustrates a flowchart of an audio playing method according to another exemplary embodiment of the present application;
fig. 3 illustrates a flowchart of an audio playing method according to another exemplary embodiment of the present application;
fig. 4 illustrates a flowchart of an audio playing method according to another exemplary embodiment of the present application;
fig. 5 illustrates a flowchart of an audio playing method according to another exemplary embodiment of the present application;
fig. 6 illustrates a flowchart of an audio playing method according to another exemplary embodiment of the present application;
fig. 7 is a block diagram showing an audio playing device according to an exemplary embodiment of the present application;
fig. 8 is a block diagram showing the structure of a terminal according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, a flowchart of an audio playing method according to an exemplary embodiment of the present application is shown. The embodiment of the application is illustrated by taking the application of the method to the terminal as an example, and the method comprises the following steps:
step 101, receiving an audio playing instruction, where the audio playing instruction is used to instruct to play the target audio.
The audio playing instruction may be that the terminal receives a click operation of a user on a target playing control, where the target playing control is a playing control corresponding to the target audio; or in the audio play queue, playing the audio to the target audio according to a preset play sequence, that is, receiving a play instruction of the target audio, where the preset play sequence may be a play sequence such as random play, sequential play, single-song circulation, etc., which is not limited herein.
In one possible implementation manner, when the user clicks the target playing control corresponding to the target audio, the terminal receives a playing instruction of the target audio correspondingly.
Step 102, in response to the local audio file corresponding to the target audio being stored, and the first sound quality corresponding to the local audio file being lower than the target sound quality, obtaining the cached audio file corresponding to the target audio.
The local audio file may be stored in a local folder of the music application program after the user clicks the download control before the terminal receives the audio playing instruction.
The target tone quality is set by the user, or by default by the music application program, and may be standard tone quality, high-quality tone quality, lossless tone quality, or the like, which is not limited in this embodiment.
In one possible implementation manner, when the terminal receives a play instruction of the target audio, it is first determined whether a local audio file corresponding to the target audio is stored, and whether the first sound quality corresponding to the local audio file is lower than the play (listening) sound quality currently set by the user (i.e. the target sound quality), if so, whether the target audio has a cached audio file with a higher sound quality is continuously determined.
Schematically, if the target tone quality is high quality tone quality, and the first tone quality corresponding to the local audio file is standard tone quality, since the standard tone quality is lower than the higher tone quality, in order to avoid the phenomenon that the terminal directly plays while buffering according to the target tone quality, if the target audio file has a higher tone quality buffered audio file, the terminal needs to continuously judge whether the target audio file has a higher tone quality.
Optionally, if the first tone quality is not lower than the playing tone quality (i.e. the target tone quality) currently set by the user, in order to avoid that the terminal plays while buffering according to the target tone quality, the target audio may be directly played according to the local audio file.
And step 103, in response to the existence of the cached audio file, and the second tone quality corresponding to the cached audio file is higher than the first tone quality, carrying out integrity check on the cached audio file to obtain a check result.
The cached audio file may be obtained by caching the target audio when the terminal plays the target audio before playing the last song, or may be obtained by pre-caching the target audio when playing other audio in the playing queue.
In one possible implementation manner, if the terminal determines that the target audio has the local audio file, but the first tone quality corresponding to the local audio file is lower than the target tone quality, it is first determined whether the target audio has the cached audio file with higher tone quality, and if the target audio has the cached audio file with higher tone quality, the integrity check needs to be performed on the cached audio file, so that play jam caused by incomplete cached audio is avoided.
Alternatively, the verification result may be that the cached audio file is complete or that the cached audio file is incomplete.
Optionally, the second tone quality corresponding to the buffered audio file may be the same as, higher than, or lower than the target tone quality.
And 104, determining a target audio file from the cached audio file and the local audio file according to the verification result.
In one possible implementation manner, if the cached audio file is complete, the cached audio file with the quality higher than the first tone quality is represented, at this time, the cached audio file may be determined as the target audio file for playing the target audio, which may avoid a playing jam phenomenon caused by the incomplete cached audio file, and may also consider the playing tone quality of the target audio.
Optionally, if the cached audio file is incomplete, it indicates that although the cached audio file with the quality higher than the first tone quality exists, the situation that the cached audio file is not cached is not completed exists, at this time, whether the cached audio file is used as the target audio file can be determined according to the actual situation of the network and the remaining amount of the cache, or the local audio file is directly used as the target audio file for playing the target audio, so that the playing smoothness of the target audio can be ensured.
Step 105, playing the target audio according to the target audio file.
In one possible implementation manner, after the terminal determines the target audio file corresponding to the target audio, the target audio can be played according to the target audio file.
In summary, in the embodiment of the present application, when the terminal receives the audio playing instruction for playing the target audio, if it is determined that the local audio file corresponding to the target audio is stored, and the first sound quality corresponding to the local audio file is lower than the target sound quality, it is determined whether the cached audio file higher than the first sound quality is stored; if the local audio file and the buffer audio file corresponding to the target tone quality do not exist, the audio playing method provided by the embodiment of the application can select the local audio file or the buffer audio file to play the audio, avoid playing the click phenomenon caused by playing the buffer audio when the network is poor, and improve the playing fluency of the target audio.
In a possible implementation manner, the buffered audio file corresponding to the target audio is obtained by pre-buffering before playing the target audio, for example, when playing the previous audio, the buffered audio file corresponding to the target audio is obtained by pre-buffering the target audio; or after the previous audio pre-caching is completed, pre-caching the target audio.
Referring to fig. 2, a flowchart of an audio playing method according to another exemplary embodiment of the present application is shown. The embodiment of the application is illustrated by taking the application of the method to the terminal as an example, and the method comprises the following steps:
in step 201, in response to the target audio having the pre-caching requirement, the target authority information corresponding to the target user account is obtained.
The target authority information may include whether the target user account has a play authority for the target audio (whether the target user account is a member account), or whether the target user account has a play authority for the target sound quality.
In a possible implementation manner, if there are multiple audio to be played in the audio play queue, when the previous audio buffer of the target audio is finished or the previous audio is playing, the target audio may be pre-buffered, before the target audio is pre-buffered, it is further required to determine whether the target audio has a pre-buffering requirement, for example, if the terminal does not store a local audio file and a buffered audio file corresponding to the target audio, the target audio needs to be pre-buffered, so that play katon may be avoided during playing; if the local audio file is stored in the terminal, but the sound quality corresponding to the local audio file is lower than the sound quality set by the current user, in order to improve the listening experience of the user, the target audio with higher sound quality needs to be pre-cached. And if the target audio has the pre-caching requirement, acquiring target authority information of the target user account number, and determining how to pre-cache the target audio.
Optionally, when the terminal obtains the target authority information corresponding to the target user account, the terminal may also obtain information corresponding to the target audio, for example, whether the target audio is a paid audio or a free audio, and whether the target audio needs payment or not for downloading.
Step 202, pre-caching the target audio according to the target authority information to obtain a cached audio file.
In one possible implementation manner, if the target authority information indicates whether the target user account has audio playing authority for the target audio and whether the target user account has audio playing authority for the target audio, the terminal needs to determine how to pre-cache the target audio by judging the target authority information, so as to obtain a cached audio file.
Illustratively, step 202 may include steps 202A and 202B, as shown in FIG. 3, on the basis of FIG. 2.
In step 202A, in response to the target permission information indicating that the target user account has the target audio playing permission and the target user account does not have the target tone quality playing permission, the target audio with the third tone quality is pre-cached to obtain the cached audio file, wherein the third tone quality is lower than the target tone quality and higher than the first tone quality.
In a possible implementation manner, if the terminal determines that the target user account has the target audio playing authority, it indicates that the target user account can cache the complete target audio, but the target user account does not have the playing authority of the target audio, and it indicates that the target user account does not have the listening authority of the target audio to the audio currently set by the user, then the target audio needs to be subjected to degradation caching, that is, the cached audio with the quality lower than that of the target audio is obtained, and the cached audio file with the third quality is obtained.
Optionally, if the target audio has a local audio file, but the first tone quality corresponding to the local audio file is lower than the target audio, if the target audio still needs to be pre-cached, the third tone quality must be higher than the first tone quality, and then the caching is necessary.
Schematically, the first tone quality corresponding to the local audio file is a standard tone quality, the target tone quality (tone quality set by the user) is a lossless tone quality, and if the target user account does not have a listening authority for the lossless tone quality, the target audio is degraded and buffered, then the third tone quality should be a high-quality tone quality, and the condition that the third tone quality is lower than the lossless tone quality and higher than the standard tone quality is satisfied.
Optionally, if the target audio does not have a local audio file and the target audio file is cached, degradation pre-caching is required for the target audio, and then the third tone quality may preferentially select a second lower tone quality, for example, if the target tone quality is lossless, the terminal may preferentially select a high-quality tone quality for pre-caching, and may also determine to select a lower tone quality in consideration of the current network state, for example, if the current network state is poor, may preferentially select a standard tone quality for pre-caching.
Step 202B, in response to the target authority information indicating that the target user account has the target audio playing authority and the target tone quality playing authority, pre-caching the target audio with the target tone quality to obtain a cached audio file.
In one possible implementation manner, if the terminal determines that the target user has the target audio playing authority and the target tone quality playing authority for the target audio, the terminal indicates that the target user can cache the target audio with the target tone quality, and at this time, the target audio can be pre-cached according to the target tone quality to obtain the cached audio file.
Optionally, if the target audio has a local audio file before the target audio is pre-buffered, and the local audio file corresponds to the first sound quality, the target sound quality should be higher than the first sound quality.
In another possible implementation manner, if the target authority information indicates that the target user account does not have the target audio playing authority and the target tone quality playing authority, the target audio may be subjected to the degradation buffering process, but since the target user account does not have the playing authority on the target audio, it indicates that the target audio cannot be completely buffered, and only partial buffering, for example, only 60s, can be achieved.
Optionally, if the target authority information indicates that the target user account does not have the target audio playing authority, but has the target tone quality playing authority, the target audio corresponding to the target tone quality may be pre-cached, and only partial caching may be implemented.
Step 203, receiving an audio playing instruction, where the audio playing instruction is used to instruct to play the target audio.
In step 204, in response to the local audio file corresponding to the target audio being stored, and the first sound quality corresponding to the local audio file being lower than the target sound quality, the cached audio file corresponding to the target audio is obtained.
And step 205, in response to the existence of the cached audio file, and the second tone quality corresponding to the cached audio file is higher than the first tone quality, performing integrity check on the cached audio file to obtain a check result.
The embodiments of steps 203 to 205 may refer to steps 101 to 103, and this embodiment is not described herein.
In response to the cached audio file being complete, the cached audio file is determined to be the target audio file, step 206.
In a possible implementation manner, when the terminal performs integrity check on the cached audio file with higher sound quality, if the integrity check passes, the cached audio file can be determined to be the target audio file if the target audio has the cached audio file with complete high sound quality, so that the playing smoothness of the song can be improved, and the user can hear the audio with higher sound quality.
In response to the cached audio file being incomplete, the local audio file is determined to be the target audio file, step 207.
In a possible implementation manner, if the cached audio file fails the integrity check, it indicates that the target audio does not have the complete cached audio file with high sound quality, and in the playing process of the target audio, it may be necessary to continue to cache, where when the network state is poor or when the network does not exist, the target audio may not be played smoothly, so, in order to improve the playing smoothness of the target audio, the local audio file may be determined as the target audio file, which is used for playing the target audio.
And step 208, playing the target audio according to the target audio file.
In one possible implementation, if the target audio file is a local audio file, playing the target audio according to the local audio file; and if the target audio file is the cached audio file, playing the target audio according to the cached audio file.
In this embodiment, before playing the target audio, the target audio is pre-cached according to the authority information corresponding to the target user account, so that when the target audio is played, the target audio has a higher quality of cached audio file, and the playing smoothness and playing tone quality of the target audio can be improved; in addition, through carrying out the integrality check to higher tone quality's buffer audio file to when the integrality check passes, adopt high tone quality's buffer audio file to play target audio, can guarantee that target audio has higher play tone quality, when the integrality check does not pass, adopt lower tone quality's local audio file to play target audio, can avoid the card of target audio in the broadcast in-process to stop the phenomenon, improve target audio's play smoothness.
In a possible implementation manner, before the target audio is cached, a pre-caching determination is further needed to determine whether the target audio needs to be pre-cached, for example, if the target audio has a higher quality local audio file or a cached audio file, that is, higher than the playing tone quality set by the current user, the pre-caching operation is not needed, so that unnecessary caching operation can be reduced, and thus occupation of the storage space of the terminal is reduced.
Illustratively, the determination of whether pre-buffering is needed may be made by referring to the following steps:
1. and determining that the target audio has a pre-caching requirement in response to the local audio file and the cached audio file corresponding to the non-stored target audio.
In one possible implementation manner, if the target user has not played the target audio before, correspondingly, the terminal does not store the cached audio file corresponding to the target audio; if the target audio is not downloaded before by the target user, the corresponding local audio file corresponding to the target audio is not stored in the terminal; after the terminal determines that the local audio file and the cached audio file corresponding to the target audio are not stored, in order to avoid a possible blocking phenomenon during the caching of the target audio, the target audio needs to be pre-cached in advance, that is, the target audio has a pre-caching requirement.
2. And in response to the local audio file corresponding to the target audio is stored, and the first tone quality corresponding to the local audio file is lower than the target tone quality, determining that the target audio has a pre-caching requirement.
In one possible implementation manner, if the terminal determines that the target audio has a local audio file and the target audio does not have a cached audio file, but the first sound quality corresponding to the local audio file is lower than the target sound quality, in order to improve the playing sound quality of the target audio, high-sound-quality pre-caching is required for the target audio, that is, the target audio has a pre-caching requirement.
Optionally, if the terminal determines that the target audio has a local audio file and the target audio has a cached audio file, but the sound quality corresponding to the cached audio file is also lower than the target sound quality, in order to improve the playing sound quality of the target audio, the target audio corresponding to the target sound quality needs to be pre-cached, that is, the target audio has a pre-caching requirement. The cached audio file may be cached when the user plays the target audio before.
In this embodiment, before the target audio is pre-cached, a pre-caching determination is performed to determine whether the target audio needs to be pre-cached, if so, the above pre-caching step is performed, and if not, the pre-caching is not needed, so that the pre-caching operation of the next audio is performed, unnecessary pre-caching operation can be avoided, the storage space of the terminal is saved, and meanwhile, the waste of the terminal traffic can be avoided.
In one possible implementation method, when the terminal determines that the cached audio file with higher tone quality is incomplete, if the time required for caching the cached audio file to be complete is longer, in order to avoid the playing of the blocking phenomenon, the local audio file is still used for playing the target audio, and if the time required for caching the cached audio file to be complete is shorter, the cached audio file can be used for playing, so that the playing tone quality of the target audio is improved. Therefore, the terminal can determine whether the target audio needs to be played according to the local audio file by determining the relation between the predicted buffer time length corresponding to the target audio and the buffer play time length.
Illustratively, step 207 may be replaced with steps 401 and 402, as shown in FIG. 4, based on FIG. 2.
In step 401, in response to the buffered audio file being incomplete, a buffered playing duration corresponding to the buffered audio file is determined.
The buffer playing time length refers to time required for playing according to the buffer audio file until the buffer audio file is finished, for example, the time length of the target audio is 4min, the buffer audio file is 3min, and the buffer playing time length is 3min.
In one possible implementation manner, if the cached audio file is incomplete, when playing according to a part of the cached audio file, the target audio is continuously cached at the same time, if the cached audio file is cached in the playing process of the cached audio file, the playing can be continuously performed according to the cached audio file, and if the cached audio file cannot be cached, the situation that a clamping phenomenon possibly occurs in the playing process is indicated, and the playing is required according to the local audio file, so that whether the target audio is played according to the local audio file can be determined by acquiring the playing time of the cached audio file.
In step 402, in response to the predicted buffer time being greater than the buffer play time, the local audio file is determined to be the target audio file, and the predicted buffer time is determined based on the current network cache and the remaining buffer amount of the buffered audio file.
The predicted buffering time period refers to a time period required for continuously buffering the target audio until the buffered audio file is completely buffered, for example, before playing the target audio, the time period of the buffered audio corresponding to the buffered audio file obtained by buffering is 2min, the time period of the buffered audio is 4min, and the time period required for continuously buffering from the 2min position until the complete buffered audio file is obtained may be 3min.
The predicted cache time length is related to the current network speed and the residual cache quantity of the cached audio file, and the current network speed and the predicted cache time length are in a negative correlation relationship, namely the lower the current network speed is, the longer the predicted cache time length is, otherwise, the higher the current network speed is, the shorter the predicted cache time length is; the residual buffer capacity of the buffered audio file and the estimated buffer time length form a positive correlation, namely, the larger the residual buffer capacity is, the longer the estimated buffer time length is, the smaller the residual buffer capacity is, and the shorter the estimated buffer time length is.
In a possible implementation manner, the terminal estimates the time length required for complete caching, i.e. the predicted caching time length, according to the current network cache and the residual caching amount of the cached audio file, for example, the predicted caching time length is 3min and is longer than the caching playing time length by 2min, which means that when the cached audio file is played, the target audio may not be cached and played at the same time, and in order to avoid the clamping phenomenon possibly caused by playing at the same time, the target audio may be played directly according to the local audio.
Optionally, if the predicted buffer time is less than the buffer play time, for example, the predicted buffer time is 1min and the buffer play time is 2min, it means that the target audio can be buffered in the process of playing the buffered audio file, and the target audio can be played according to the buffered audio file.
In this embodiment, by comparing the relationship between the predicted buffer time length and the buffer play time length, and determining the local audio file as the target audio file when the predicted buffer time length is longer than the buffer play time length, the audio play jam phenomenon caused by playing while buffering can be avoided, the audio play fluency is improved, if the predicted buffer time length is shorter than the buffer play time length, the target audio can be played according to the buffer audio file, and the play tone quality of the target audio is considered on the premise of ensuring the play fluency.
In one possible implementation manner, if the terminal receives a play instruction for the target audio, it determines that the local audio file and the cached audio file corresponding to the target audio are not stored, and at this time, the target audio needs to be played while cached according to the current network state.
Referring to fig. 5, a flowchart of an audio playing method according to another exemplary embodiment of the present application is shown. The embodiment of the application is illustrated by taking the application of the method to the terminal as an example, and the method comprises the following steps:
Step 501, an audio playing instruction is received, where the audio playing instruction is used to instruct to play the target audio.
The implementation of this step may refer to step 101, and this embodiment is not described herein.
Step 502, in response to the local audio file and the cached audio file corresponding to the non-stored target audio, obtaining a current network state, where the current network state includes at least one of a current network type and a current network speed.
In a possible implementation manner, when a terminal receives a playing instruction for a target audio, it determines that a local audio file and a cached audio file corresponding to the target audio are not stored, and at this time, when the target audio still needs to be played, the playing mode is to play the target audio while caching, and when the target audio is played while caching, the network state has a greater influence on the playing smoothness of the target audio, and the higher the cached tone quality is, the higher the requirement on the network state is, so in order to improve the playing smoothness of the target audio, the current network state needs to be acquired, so that the target audio with appropriate tone quality is selected according to the current network state to be cached and played.
The network type may be a wireless network or a mobile network, and the mobile network is related to a traffic package of the terminal.
In step 503, in response to the current network type being a wireless network, the target audio with the target tone quality is cached and played.
In a possible implementation manner, when it is determined that the current network type is a wireless network, it indicates that the user is in an indoor or wireless network environment, and the terminal network state is relatively stable, and at this time, the target audio with the target tone quality can be cached and played, so that the playing smoothness is not affected basically.
Optionally, in the process of caching and playing, the authority information of the user needs to be considered, for example, if the user does not have playing authority on the target audio, the target audio may not be played, for example, if the user does not have playing authority on the target tone quality, the user may still need to reduce the tone quality to cache and play.
In step 504, in response to the current network type being a mobile network, the target audio of a fourth tone quality is cached and played, the fourth tone quality being lower than the target tone quality.
In one possible implementation manner, if the current network type is a mobile network, which indicates that the user may be located outdoors or in an environment without a wireless network, the mobile network is greatly affected by the environment, and in this case, in order to reduce the traffic consumption of the user and maintain the playing stability, the target audio may be degraded, buffered, and played, where the fourth audio quality is lower than the target audio quality.
Illustratively, the target sound quality may be a high quality sound quality, and the fourth sound quality may be a standard sound quality.
And step 505, in response to the current network speed being higher than a preset network speed threshold, caching and playing target audio corresponding to the target tone quality.
The preset network speed threshold value can be preset by a developer or set by a user, and different network types can be considered for setting the network speed threshold value, for example, the network speed threshold value corresponding to the wireless network type can be higher than the network speed threshold value corresponding to the mobile network; or the preset network speed threshold value can consider different sound quality, namely, the higher the sound quality is, the higher the preset network speed threshold value is.
Illustratively, the preset net speed threshold may be 256KB/s.
In a possible implementation manner, when the terminal obtains the current network speed corresponding to the current network state, the current network speed is compared with a preset network speed threshold, if the current network speed is higher than the preset network speed threshold, for example, the current network speed is 500KB/s and is higher than the preset network speed threshold by 256KB/s, the current network state is better, and the audio with higher tone quality can be cached, and at this time, the audio is cached and played according to the target tone quality.
And step 506, in response to the current network speed being lower than the preset network speed threshold, buffering and playing the target audio corresponding to the fourth tone quality.
In a possible implementation manner, when the current network speed obtained by the terminal is lower than the preset network speed threshold, for example, the current network speed is 20KB/s and is far lower than the preset network speed threshold of 256KB/s, the current network state is poor, if the target audio with higher tone quality is still cached, a phenomenon of playing katon may occur, and the playing smoothness of the target audio is reduced, so that the target audio corresponding to the lower tone quality (i.e., the fourth tone quality) can be cached and played.
In this embodiment, when the terminal determines that the local audio file and the cache audio file corresponding to the target audio are not stored when the terminal plays the target audio, the target audio is played in a cache-while-play mode at this time; in addition, in order to ensure the playing fluency of the target audio, the target audio with which tone quality is cached and played can be determined according to the current network state of the terminal, when the network state is poor, the target audio with lower tone quality is cached and played, the fluency of audio playing can be ensured, when the network state is good, the target audio with lower tone quality is cached and played, and the tone quality of audio playing can be ensured while the fluency of audio playing is ensured.
In a possible implementation manner, if the terminal receives the playing instruction of the target audio, it is determined that the terminal does not store the local audio file, but stores the cached audio file, and at this time, the sound quality and the integrity corresponding to the cached audio file are not required to be concerned, and only the target audio needs to be played according to the cached audio file.
Optionally, the terminal may also determine whether to re-cache the corresponding tone quality of the cached audio file by comparing the relationship between the tone quality and the target tone quality, if the cached audio file is complete, the terminal may play the target audio according to the cached audio file preferentially without considering the relationship between the tone quality of the cached audio file and the target tone quality, so as to ensure smoothness of audio play; if the cached audio file is incomplete, the target audio with lower tone quality is cached and played preferentially.
In another possible embodiment, when the target audio is played according to the buffered audio file, or played according to the local audio file, or played while buffered and the buffering is completed, the pre-buffering step of the next audio may be performed. The embodiment of how to pre-cache may refer to the above embodiment, and this embodiment is not described herein.
Referring to fig. 6, a flowchart of an audio playing method according to an exemplary embodiment of the present application is shown, where the method includes:
step 601, it is determined whether a local audio file corresponding to the target audio is stored.
If the local audio file corresponding to the target audio is stored, step 602 is performed, and if the local audio file corresponding to the target audio is not stored, step 607 is performed.
Step 602, determining whether the first sound quality corresponding to the local audio file is lower than the target sound quality.
If the first tone quality is lower than the target tone quality, go to step 603 to determine whether a cached audio file with higher tone quality is stored; if the first tone quality is higher than the target tone quality, step 606 is entered to play the target audio directly from the local audio file.
Step 603, determining whether there is a cached audio file with a quality higher than the first quality.
If there is no cached audio file with a quality higher than the first tone quality, step 606 is entered to play the target audio directly according to the local audio file; if there is a cached audio file with a quality higher than the first quality, step 604 is entered to perform integrity check on the cached audio file.
Step 604, it is determined whether the cached audio file is complete.
If the cached audio file is complete, step 605 is entered, the target audio is played according to the cached audio file, and if the cached audio file is incomplete, the phenomenon of blocking in the playing process is avoided, step 606 is entered, and the target audio is played according to the local audio file.
Step 605, playing the target audio according to the cached audio file.
Step 606, playing the target audio according to the local audio file.
In step 607, it is determined whether a buffered audio file corresponding to the target audio is stored.
If the cached audio file corresponding to the target audio is stored, step 605 is entered, the target audio is played according to the cached audio file, and if the local audio file is not stored and the cached audio file is not stored, step 608 is entered, and the target audio is played while cached.
Step 608, buffer and play the target audio.
In step 609, the target audio buffering is completed.
And when the target audio is played while being cached, if the caching is completed, executing the step of pre-caching the next audio.
In step 610, it is determined whether the next audio has a pre-buffering requirement.
If the next audio has a pre-buffering requirement, step 611 is entered, and if the next audio does not have a pre-buffering requirement, step 616 is entered without performing the pre-buffering operation.
Step 611, it is determined whether the target user account has audio playing authority.
If the target user account has the audio playing authority of the next audio, step 612 is entered, otherwise step 613 is entered.
Step 612, it is determined whether the buffered sound quality is lower than the target sound quality.
If the target audio has a cached audio file and the sound quality of the cached audio file is lower than the target sound quality, step 614 is entered, otherwise step 616 is entered.
Step 613, determining whether the target user account has the target tone quality playing authority.
If the target user account has the target tone quality playing authority, step 614 is entered, otherwise step 615 is entered.
Step 614 pre-buffers the audio of the target quality.
Step 615 pre-buffers the low quality audio.
Step 616, no pre-buffering operation is performed for the next audio.
Referring to fig. 7, a block diagram of an audio playing device according to an exemplary embodiment of the present application is shown. The apparatus may be implemented as a whole or as part of a terminal by software, hardware or a combination of both. The device comprises:
a receiving module 701, configured to receive an audio playing instruction, where the audio playing instruction is used to instruct to play a target audio;
a first obtaining module 702, configured to obtain a cached audio file corresponding to the target audio in response to storing a local audio file corresponding to the target audio, where a first sound quality corresponding to the local audio file is lower than a target sound quality;
a verification module 703, configured to perform integrity verification on the cached audio file in response to the cached audio file being present, where the second sound quality corresponding to the cached audio file is higher than the first sound quality, to obtain a verification result;
A first determining module 704, configured to determine a target audio file from the cached audio file and the local audio file according to the verification result;
the first playing module 705 is configured to play the target audio according to the target audio file.
Optionally, the cached audio file is obtained by pre-caching before playing the target audio;
optionally, the apparatus further includes:
the second acquisition module is used for responding to the pre-caching requirement of the target audio frequency and acquiring target authority information corresponding to the target user account;
and the pre-caching module is used for pre-caching the target audio according to the target authority information to obtain the cached audio file.
Optionally, the pre-caching module includes:
the first pre-caching unit is used for pre-caching the target audio with third tone quality to obtain the cached audio file in response to the target authority information indicating that the target user account has the target audio playing authority and the target user account does not have the target tone quality playing authority, wherein the third tone quality is lower than the target tone quality and higher than the first tone quality;
And the second pre-caching unit is used for pre-caching the target audio of the target tone quality to obtain the cached audio file in response to the target authority information indicating that the target user account has the target audio playing authority and the target tone quality playing authority.
Optionally, the apparatus further includes:
the second determining module is used for determining that the target audio has a pre-caching requirement in response to the fact that the local audio file and the caching audio file corresponding to the target audio are not stored;
or;
and the third determining module is used for determining that the target audio has a pre-caching requirement in response to the local audio file corresponding to the target audio and the first tone quality corresponding to the local audio file is lower than the target tone quality.
Optionally, the first determining module 704 includes:
a first determining unit, configured to determine the cached audio file as the target audio file in response to the cached audio file being complete;
and the second determining unit is used for determining the local audio file as the target audio file in response to the incompleteness of the cached audio file.
Optionally, the second determining unit is further configured to:
responding to the incomplete cache audio file, and determining a cache playing time length corresponding to the cache audio file;
and determining the local audio file as the target audio file in response to the predicted cache time period being longer than the cache playing time period, wherein the predicted cache time period is determined according to the current network speed and the residual cache amount of the cache audio file.
Optionally, the apparatus further includes:
a third obtaining module, configured to obtain a current network state in response to not storing the local audio file and the cached audio file corresponding to the target audio, where the current network state includes at least one of a current network type and a current network speed;
the second playing module is used for responding to the current network type as a wireless network, caching and playing the target audio with the target tone quality;
the third playing module is used for responding to the current network type as a mobile network, caching and playing the target audio with fourth tone quality, wherein the fourth tone quality is lower than the target tone quality;
or;
a fourth playing module, configured to buffer and play the target audio corresponding to the target tone quality in response to the current network speed being higher than a preset network speed threshold;
And the fifth playing module is used for responding to the current network speed being lower than the preset network speed threshold value and caching and playing the target audio corresponding to the fourth tone quality.
Optionally, the apparatus further includes:
and the sixth playing module is used for responding to the situation that the local audio file is not stored and the cached audio file is stored, and playing the target audio according to the cached audio file.
In summary, in the embodiment of the present application, when the terminal receives the audio playing instruction for playing the target audio, if it is determined that the local audio file corresponding to the target audio is stored, and the first sound quality corresponding to the local audio file is lower than the target sound quality, it is determined whether the cached audio file higher than the first sound quality is stored; if the local audio file and the buffer audio file corresponding to the target tone quality do not exist, the audio playing method provided by the embodiment of the application can select the local audio file or the buffer audio file to play the audio, avoid playing the click phenomenon caused by playing the buffer audio when the network is poor, and improve the playing fluency of the target audio.
Referring to fig. 8, a block diagram of a terminal 800 according to an exemplary embodiment of the present application is shown. The terminal 800 may be an electronic device such as a smart phone, tablet computer, portable personal computer, audio player, etc. The terminal 800 of the present application may include one or more of the following components: a processor 802, a memory 801 and an audio playing component 803.
The processor 802 may include one or more processing cores. The processor 802 utilizes various interfaces and lines to connect various portions of the overall terminal 800, perform various functions of the terminal 800, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 801, and invoking data stored in the memory 801. Alternatively, the processor 802 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 802 may integrate one or a combination of several of a central processing unit (Central Processing Uni, CPU), a graphics processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the touch display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 802 and may be implemented solely by a single communication chip.
The Memory 801 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (ROM). Optionally, the memory 801 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory 801 may be used to store instructions, programs, code sets, or instruction sets. The memory 801 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, which may be an Android (Android) system (including a system developed based on an Android system), an IOS system developed by apple corporation (including a system developed based on an IOS system depth), or other systems, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described various method embodiments, and the like. The storage data area may also store data created by the terminal 800 in use (e.g., phonebook, audio-video data, chat-record data), etc.
In the embodiment of the present application, the terminal 800 further includes an audio playing component 803, where the audio playing component 803 is configured to play audio, and the audio playing component 803 may include a microphone, an audio circuit, and the like.
In addition, those skilled in the art will appreciate that the structure of the terminal 800 illustrated in the above-described figures does not constitute a limitation of the terminal 800, and the terminal may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, the terminal 800 further includes a radio frequency circuit, a shooting component, a sensor, a wireless fidelity (Wireless Fidelity, wiFi) component, a power supply, a bluetooth component, and the like, which are not described herein.
Embodiments of the present application also provide a computer readable medium storing at least one instruction that is loaded and executed by the processor to implement the audio playing method according to the above embodiments.
Embodiments of the present application also provide a computer program product storing at least one instruction that is loaded and executed by the processor to implement the audio playing method according to the above embodiments.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.
Claims (9)
1. An audio playing method, characterized in that the method comprises:
receiving an audio playing instruction, wherein the audio playing instruction is used for indicating to play target audio;
responding to a local audio file corresponding to the target audio, wherein the local audio file is stored, the first tone quality corresponding to the local audio file is lower than the target tone quality, and a cache audio file corresponding to the target audio is obtained by caching in advance before playing the target audio;
in response to the existence of the cache audio file, and the second tone quality corresponding to the cache audio file is higher than the first tone quality, carrying out integrity check on the cache audio file to obtain a check result;
determining a target audio file from the cached audio file and the local audio file according to the verification result; playing the target audio according to the target audio file;
before the receiving the audio playing instruction, the method further comprises the following steps:
Responding to the target audio with the pre-caching requirement, and acquiring target authority information corresponding to a target user account;
responding to the target authority information to indicate that the target user account has target audio playing authority and the target user account does not have target tone quality playing authority, pre-caching the target audio with third tone quality to obtain the cached audio file, wherein the third tone quality is lower than the target tone quality and higher than the first tone quality;
responding to the target authority information to indicate that the target user account has the target audio playing authority and the target tone quality playing authority, and pre-caching the target audio of the target tone quality to obtain the cached audio file;
and if the target authority information indicates that the target user account does not have the target audio playing authority and the target tone quality playing authority, performing degradation caching processing on the target audio.
2. The method according to claim 1, wherein the method further comprises:
determining that the target audio has a pre-caching requirement in response to not storing the local audio file and the cached audio file corresponding to the target audio;
Or;
and in response to the local audio file corresponding to the target audio is stored, and the first tone quality corresponding to the local audio file is lower than the target tone quality, determining that the target audio has a pre-caching requirement.
3. The method according to any one of claims 1 to 2, wherein determining a target audio file from the cached audio file and the local audio file according to the verification result comprises:
determining the cached audio file as the target audio file in response to the cached audio file being complete;
and determining the local audio file as the target audio file in response to the cached audio file being incomplete.
4. The method of claim 3, wherein the determining the local audio file as the target audio file in response to the cached audio file being incomplete comprises:
responding to the incomplete cache audio file, and determining a cache playing time length corresponding to the cache audio file;
and determining the local audio file as the target audio file in response to the predicted cache time period being longer than the cache playing time period, wherein the predicted cache time period is determined according to the current network speed and the residual cache amount of the cache audio file.
5. The method of any one of claims 1 to 2, wherein, in response to receiving a play instruction for the target audio, the method further comprises:
responding to the local audio file and the cache audio file which are not stored and correspond to the target audio, and acquiring a current network state, wherein the current network state comprises at least one of a current network type and a current network speed;
responding to the current network type as a wireless network, caching and playing the target audio with the target tone quality;
responding to the current network type as a mobile network, caching and playing the target audio with fourth tone quality, wherein the fourth tone quality is lower than the target tone quality;
or;
responding to the current network speed higher than a preset network speed threshold value, and caching and playing the target audio corresponding to the target tone quality;
and in response to the current network speed is lower than the preset network speed threshold, caching and playing the target audio corresponding to the fourth tone quality.
6. The method of any one of claims 1 to 2, wherein after receiving the audio play instruction, the method further comprises:
and in response to the local audio file not being stored and the cached audio file being stored, playing the target audio according to the cached audio file.
7. An audio playback device, the device comprising:
the receiving module is used for receiving an audio playing instruction, wherein the audio playing instruction is used for indicating to play target audio;
the first acquisition module is used for responding to a local audio file corresponding to the target audio, wherein the local audio file is stored, the first tone quality corresponding to the local audio file is lower than the target tone quality, the cache audio file corresponding to the target audio is acquired, and the cache audio file is obtained by caching in advance before the target audio is played;
the verification module is used for responding to the existence of the cache audio file, wherein the second tone quality corresponding to the cache audio file is higher than the first tone quality, and carrying out integrity verification on the cache audio file to obtain a verification result;
the first determining module is used for determining a target audio file from the cached audio file and the local audio file according to the verification result;
the first playing module is used for playing the target audio according to the target audio file;
the apparatus further comprises:
the second acquisition module is used for responding to the pre-caching requirement of the target audio frequency and acquiring target authority information corresponding to the target user account;
A pre-caching module for:
responding to the target authority information to indicate that the target user account has target audio playing authority and the target user account does not have target tone quality playing authority, pre-caching the target audio with third tone quality to obtain the cached audio file, wherein the third tone quality is lower than the target tone quality and higher than the first tone quality;
responding to the target authority information to indicate that the target user account has the target audio playing authority and the target tone quality playing authority, and pre-caching the target audio of the target tone quality to obtain the cached audio file;
and if the target authority information indicates that the target user account does not have the target audio playing authority and the target tone quality playing authority, performing degradation caching processing on the target audio.
8. A terminal comprising a processor and a memory, the memory storing at least one instruction for execution by the processor to implement the audio playback method of any one of claims 1 to 6.
9. A computer readable storage medium storing at least one instruction for execution by a processor to implement the audio playback method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010355362.8A CN111552454B (en) | 2020-04-29 | 2020-04-29 | Audio playing method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010355362.8A CN111552454B (en) | 2020-04-29 | 2020-04-29 | Audio playing method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111552454A CN111552454A (en) | 2020-08-18 |
CN111552454B true CN111552454B (en) | 2023-10-27 |
Family
ID=72007848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010355362.8A Active CN111552454B (en) | 2020-04-29 | 2020-04-29 | Audio playing method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111552454B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197690A (en) * | 2007-12-27 | 2008-06-11 | 腾讯科技(深圳)有限公司 | Method and device for acquiring audio files |
CN104506631A (en) * | 2014-12-26 | 2015-04-08 | 网易(杭州)网络有限公司 | Audio file cache method and audio file cache equipment |
CN107170460A (en) * | 2017-06-30 | 2017-09-15 | 深圳Tcl新技术有限公司 | Sound quality adjusting method, system, host side and storage medium |
CN107547940A (en) * | 2017-09-13 | 2018-01-05 | 广州酷狗计算机科技有限公司 | Video playback processing method, equipment and computer-readable recording medium |
CN107705796A (en) * | 2017-09-19 | 2018-02-16 | 深圳市金立通信设备有限公司 | A kind of processing method of voice data, terminal and computer-readable medium |
CN109150399A (en) * | 2018-08-14 | 2019-01-04 | Oppo广东移动通信有限公司 | Data transmission method, device, electronic equipment and computer-readable medium |
CN109218759A (en) * | 2018-09-27 | 2019-01-15 | 广州酷狗计算机科技有限公司 | Push method, apparatus, server and the storage medium of Media Stream |
CN109524024A (en) * | 2018-11-08 | 2019-03-26 | 网易(杭州)网络有限公司 | A kind of audio frequency playing method, medium, device and calculate equipment |
CN110121001A (en) * | 2018-02-07 | 2019-08-13 | 上海博泰悦臻网络技术服务有限公司 | Online playback of songs method, apparatus and terminal |
CN110996160A (en) * | 2019-11-15 | 2020-04-10 | 广州华多网络科技有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021163954A1 (en) * | 2020-02-20 | 2021-08-26 | 深圳市汇顶科技股份有限公司 | Data transmission method, apparatus, device, and system, and medium |
-
2020
- 2020-04-29 CN CN202010355362.8A patent/CN111552454B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197690A (en) * | 2007-12-27 | 2008-06-11 | 腾讯科技(深圳)有限公司 | Method and device for acquiring audio files |
CN104506631A (en) * | 2014-12-26 | 2015-04-08 | 网易(杭州)网络有限公司 | Audio file cache method and audio file cache equipment |
CN107170460A (en) * | 2017-06-30 | 2017-09-15 | 深圳Tcl新技术有限公司 | Sound quality adjusting method, system, host side and storage medium |
CN107547940A (en) * | 2017-09-13 | 2018-01-05 | 广州酷狗计算机科技有限公司 | Video playback processing method, equipment and computer-readable recording medium |
CN107705796A (en) * | 2017-09-19 | 2018-02-16 | 深圳市金立通信设备有限公司 | A kind of processing method of voice data, terminal and computer-readable medium |
CN110121001A (en) * | 2018-02-07 | 2019-08-13 | 上海博泰悦臻网络技术服务有限公司 | Online playback of songs method, apparatus and terminal |
CN109150399A (en) * | 2018-08-14 | 2019-01-04 | Oppo广东移动通信有限公司 | Data transmission method, device, electronic equipment and computer-readable medium |
CN109218759A (en) * | 2018-09-27 | 2019-01-15 | 广州酷狗计算机科技有限公司 | Push method, apparatus, server and the storage medium of Media Stream |
CN109524024A (en) * | 2018-11-08 | 2019-03-26 | 网易(杭州)网络有限公司 | A kind of audio frequency playing method, medium, device and calculate equipment |
CN110996160A (en) * | 2019-11-15 | 2020-04-10 | 广州华多网络科技有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111552454A (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111240837B (en) | Resource allocation method, device, terminal and storage medium | |
KR101496875B1 (en) | Apparatus and methods for retrieving/downloading content on a communication device | |
CN110913442B (en) | Network switching method and device, electronic equipment and storage medium | |
CN113055451B (en) | Resource downloading method and device, electronic equipment and storage medium | |
CN112203111B (en) | Multimedia resource preloading method and device, electronic equipment and storage medium | |
CN108234790B (en) | Multi-person voice communication method, device, terminal equipment and storage medium | |
US20080261513A1 (en) | Mobile Communication Terminal Capable of Playing and Updating Multimedia Content and Method of Playing the Same | |
CN110636339B (en) | Scheduling method and device based on code rate and electronic equipment | |
EP3846020A1 (en) | Sound effect adjusting method and apparatus, electronic device, and storage medium | |
CN109495875B (en) | SIM card selection method and device, electronic equipment and storage medium | |
KR101222318B1 (en) | Apparatus and method for changing background screen image in mobile terminal | |
CN111552454B (en) | Audio playing method, device, terminal and storage medium | |
CN108650306A (en) | A kind of game video caching method, device and computer storage media | |
CN112702146B (en) | Data processing method and device | |
WO2023083213A1 (en) | Data decoding method and apparatus, electronic device and readable storage medium | |
CN113660599A (en) | Loudspeaker control method and device, mobile terminal and storage medium | |
JP2011505623A (en) | Method, apparatus, and computer program for improving memory usage | |
CN108540821A (en) | A kind of Internet video caching method, device and computer storage media | |
CN115240719B (en) | Cache capacity determining method and device, bluetooth playing equipment and storage medium | |
CN114639392A (en) | Audio processing method and device, electronic equipment and storage medium | |
CN108693951B (en) | Display content updating method and device | |
CN110213600A (en) | Net cast method, device and equipment | |
CN111159462A (en) | Method and terminal for playing songs | |
KR100626949B1 (en) | Data communication method using Wireless LAN network in mobile phone | |
CN108712684B (en) | Local TS (transport stream) file playing method, third-party player and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |