CN107871000B - Audio playing method and device, storage medium and electronic equipment - Google Patents

Audio playing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107871000B
CN107871000B CN201711087223.6A CN201711087223A CN107871000B CN 107871000 B CN107871000 B CN 107871000B CN 201711087223 A CN201711087223 A CN 201711087223A CN 107871000 B CN107871000 B CN 107871000B
Authority
CN
China
Prior art keywords
playing
historical
audio data
audio
acquiring
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.)
Expired - Fee Related
Application number
CN201711087223.6A
Other languages
Chinese (zh)
Other versions
CN107871000A (en
Inventor
王君龙
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711087223.6A priority Critical patent/CN107871000B/en
Publication of CN107871000A publication Critical patent/CN107871000A/en
Application granted granted Critical
Publication of CN107871000B publication Critical patent/CN107871000B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • 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/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • 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
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/06Electrically-operated educational appliances with both visual and audible presentation of the material to be studied
    • G09B5/065Combinations of audio and video presentations, e.g. videotapes, videodiscs, television systems

Abstract

The embodiment of the application discloses audio playing methods, devices, storage media and electronic equipment.

Description

Audio playing method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic devices, and in particular, to audio playing methods and apparatuses, a storage medium, and an electronic device.
Background
In the related art, generally adopts a method of mounting a specific chip on a click-to-read object (such as a book) or attaching a specific tag, and setting a corresponding playing sound source to trigger the chip or the tag to play the sound source when in use so as to realize a click-to-read function.
Disclosure of Invention
The embodiment of the application provides audio playing methods and devices, a storage medium and an electronic device, which can improve the audio playing efficiency.
, the embodiment of the present application provides audio playing methods, which are applied to electronic devices, and the methods include:
acquiring a target image to be read;
acquiring audio data corresponding to the target image and historical playing parameters of the audio data in a historical time period;
determining corresponding target playing times based on the historical playing parameters;
and repeatedly playing the audio data according to the target playing times.
In a second aspect, an embodiment of the present application provides audio playing apparatuses, which are applied to an electronic device, and the apparatuses include:
an acquisition module, configured to acquire a target image to be read;
the second acquisition module is used for acquiring audio data corresponding to the target image and historical playing parameters of the audio data in a historical time period;
the determining module is used for determining the corresponding target playing times based on the historical playing parameters;
and the playing module is used for repeatedly playing the audio data according to the target playing times.
In a third aspect, this application further provides storage media, where the storage media stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the above audio playing method.
In a fourth aspect, an embodiment of the present application further provides electronic devices, including a processor and a memory, where the processor is electrically connected to the memory, and the memory is used to store instructions and data, and the processor is used to execute the above audio playing method.
The embodiment of the application discloses audio playing methods, devices, storage media and electronic equipment, wherein the audio playing method comprises the steps of firstly obtaining audio data corresponding to a target image to be read and historical playing parameters of the audio data in a historical time period, then determining corresponding target playing times based on the historical playing parameters, and finally playing the audio data according to the target playing times.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of an audio playing method according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of an audio playing method according to an embodiment of the present application.
Fig. 3 is another flowcharts of the audio playing method according to the embodiment of the present application.
Fig. 4 is a schematic structural diagram of types of audio playback devices according to an embodiment of the present application.
Fig. 5 is another kinds of structural schematic diagrams of the audio playing apparatus provided in the embodiment of the present application.
Fig. 6 is a schematic structural diagram of another types of audio playing devices provided in the embodiments of the present application.
Fig. 7 is another kinds of schematic structural diagrams of the audio playing apparatus provided in the embodiment of the present application
Fig. 8 is an kinds of structural schematic diagrams of an electronic device provided in an embodiment of the present application.
Fig. 9 is another kinds of schematic structural diagrams of the electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application , rather than all embodiments.
The embodiment of the application provides audio playing methods, devices, storage media and electronic equipment.
In embodiments, the electronic device may first obtain a click-to-read sample, where the click-to-read sample may be a picture, a photo, or a code, and the like, where the electronic device may be a mobile terminal, such as a mobile phone, a tablet computer, a notebook computer, and the like, and the examples of the application are not limited thereto.
After the click-to-read sample is obtained, the electronic device may obtain a multimedia sample, which may be an audio file or a video file, etc. The electronic device may then associate the retrieved click-to-read sample with the multimedia sample. For example, the electronic device associates photo a with audio a, photo B with audio B, and photo C with video C. After associating the click-to-read sample with the multimedia sample, the electronic device may save the sample data in a preset database.
It can be understood that, in embodiments, the click-to-read sample and the multimedia sample may be in a corresponding relationship of , may also be in a relationship of to multiple, or in a relationship of multiple pairs of , and the like, which is not specifically limited in this embodiment.
When the electronic equipment click-to-read function is used, a user can firstly use the mobile electronic equipment to shoot photos or select photos from an album or scan a certain code, the photos shot by the user or the selected photos or the scanned codes are objects needing to be clicked and read, after the objects needing to be clicked and read are obtained, the electronic equipment can search photos or codes matched with the objects needing to be clicked and read in a preset database, and if the photos or the codes matched with the objects needing to be clicked and read exist in the preset database, the electronic equipment can search multimedia files related to the electronic equipment and play the multimedia files.
In embodiments, for example, the click-to-read sample is a photo a, where three text segments are included in the photo, and each text segment is associated with audio segments, then, when the photo taken by the user matches the photo a in the preset database, since the photo a includes three text segments and each text segment is associated with a corresponding audio segment, the user may select to play the audio segment corresponding to the text segment by specifically selecting a text segment in the photo a.
For example, referring to fig. 1, a user uses an electronic device to take a picture X of pictures, the electronic device finds that the picture a and the picture a matched with the picture X include three segments of characters in a preset database, where the th segment of characters is associated with an audio a, the second segment of characters is associated with an audio b, and the third segment of characters is associated with an audio c.
It can be understood that the embodiment can implement a function of reading a text in an object (such as a photo) on the electronic device, and this way has the advantages of low cost, good convenience, and the like.
However, when the point-reading function of the electronic device is actually used for learning, words or sentences which are difficult to understand need to be repeatedly issued with playing instructions to execute audio playing, which is cumbersome to operate and results in poor audio playing efficiency.
In embodiment, audio playing methods are provided, which are applied to an electronic device, where the electronic device may be a mobile terminal such as a smart phone, a tablet computer, a notebook computer, etc. as shown in fig. 2, a process may be as follows:
101. and acquiring a target image to be read.
In this embodiment, there may be multiple ways to obtain a target image to be processed, for example, the target image to be read may be obtained by scanning a book or shooting a book by a camera of the electronic device or other external cameras; for another example, the target image may be directly obtained from a local storage area of the electronic device or an image library stored in a cloud.
The target image may be a text image, and the text image may include chinese, english, or other chinese characters. In the embodiment of the present application, the type of the text (including country and version) is not limited.
102. And acquiring audio data corresponding to the target image and historical playing parameters of the audio data in a historical time period.
In the embodiment of the present application, a mapping relationship database needs to be established in advance, and the mapping relationship database may include a plurality of audio data, a plurality of sample images, and a mapping relationship between the audio database and the sample images. Therefore, when the target image is obtained, the target image can be matched with the sample image, and if the matching is successful, the corresponding audio data is obtained from the mapping relation database.
In , the playing information of the audio data in the electronic device may be recorded, such as the time point of playing, the playing duration, the playing progress, etc. based on the playing record of the audio data, the playing records in the historical time period are counted and calculated to obtain corresponding playing parameters, which are used as the historical playing parameters in the historical time period.
103. And determining the corresponding target playing times based on the historical playing parameters.
In , the playing frequency of the audio data can be determined by the history playing parameters, and in most cases, the higher the playing frequency is, the greater the playing demand of the audio data is, the higher the playing frequency is, that is, the more the corresponding target playing times are.
104. And repeatedly playing the audio data according to the target playing times.
Specifically, after the corresponding target playing times are determined, the audio data are automatically played according to the target playing times. For example, if the target playing time is 3 times, the audio data is automatically played 3 times repeatedly.
As can be seen from the above, in the audio playing method provided in the embodiment of the present application, the audio data corresponding to the target image and the historical playing parameter of the audio data in the historical time period are obtained, then the corresponding target playing times are determined based on the historical playing parameter, and finally the audio data is played according to the target playing times. According to the scheme, the current playing mode of the audio data can be adjusted according to the historical playing information of the audio data, the playing efficiency of the audio is improved, the playing mode is more intelligent, the practicability of the played audio is improved, and the manufacturing cost is reduced.
In embodiment, another audio playing methods are further provided, which are applied to an electronic device, where the electronic device may be a mobile terminal such as a smart phone, a tablet computer, a notebook computer, etc. as shown in fig. 3, the process may be as follows:
201. and constructing a mapping relation database, wherein the mapping relation database can comprise a plurality of audio data, a plurality of sample images and mapping relations between the audio database and the sample images.
Specifically, a large number of sample images need to be acquired, for example, a camera of an electronic device may be used to capture a target reading object (e.g., a book) to obtain a sample image required for reading. The sample image may include text information, and of course, may also include other information such as patterns and tables.
202. And acquiring a target image to be read.
In this embodiment, there may be multiple ways to acquire the target image to be processed, for example, the target image to be read may be acquired by scanning a book or shooting a book by a camera of the electronic device or other external cameras.
203. And acquiring audio data corresponding to the target image and historical playing parameters of the audio data in a historical time period, wherein the historical playing parameters comprise historical playing frequency and historical playing times.
Specifically, the target image and the sample image may be matched, and if the matching is successful, the corresponding audio data is acquired from the mapping relation database. That is, the step "acquiring the audio data corresponding to the target image" may include the following processes:
the step of obtaining the audio data corresponding to the target image comprises the following steps:
acquiring a target sample image matched with the target image from the mapping relation database;
and acquiring audio data corresponding to the target sample image according to the mapping relation.
In , the playing information of the audio data in the electronic device can be recorded, such as the time point of playing, the playing time length, the playing progress and so on, the historical playing times and the historical playing frequency of each audio data can be obtained by counting and calculating the playing records in the historical time period.
For example, if the user uses the click-to-read function of the electronic device every day, the playing record of each audio data in the latest weeks can be obtained and analyzed, and if the user uses the click-to-read function of the electronic device times every week, the playing record of each audio data in the latest months can be obtained and analyzed.
204. And acquiring corresponding parameter values according to the historical playing frequency and the historical playing times.
In , the step "obtaining corresponding parameter values according to the historical playing frequency and the historical playing times" may include the following steps:
acquiring weighting information corresponding to historical playing frequency and historical playing times;
weighting the historical playing frequency and the historical playing times according to the weighting information, and calculating to obtain a weighted value;
and acquiring corresponding parameter values according to the weighted values.
In practical application, in view of that a user most intuitively feels about the number of on-demand times of audio by using a point-and-read function, a higher weight value can be set for the number of play times and a lower weight value can be set for the play frequency, for example, the weight value set for the number of play times is 80%, the weight value set for the play frequency is 20%, assuming that the number of play times is m and the play frequency is n, the calculated weight value is 80% m + 20% n, and the finally calculated weight value is only data and has no physical significance.
In , the weighting value may be used directly as the final parameter value.
205. And determining a parameter value interval in which the parameter value falls, and acquiring the playing times corresponding to the parameter value interval as target playing times.
In the embodiment of the present application, different parameter value intervals are preset corresponding to different audio playing times, in a specific implementation, the parameter value interval may be roughly divided into 3-5 level intervals, assuming that the normal playing times of the audio data played by clicking target images is 1 time, the parameter value interval may be divided into 3 levels, the th interval (normally played interval) corresponds to 1 playing time, the second interval (higher parameter value) corresponds to 3 playing times, and the third interval (higher parameter value) corresponds to 6 playing times.
In , the playing frequency may be increased for the audio data with high history playing frequency (which may indicate high difficulty in learning), and the playing frequency may be decreased for the audio data with low history playing frequency (which indicates low difficulty or no difficulty), for example, if the playing frequency of the audio data played by clicking target images is 1, the parameter value interval may be divided into 3 levels, the playing frequency corresponding to the interval (with low parameter value) is 1, the playing frequency corresponding to the second interval (with normal playing) is 3, and the playing frequency corresponding to the third interval (with high parameter value) is 6.
206. And repeatedly playing the audio data according to the target playing times.
Specifically, after the corresponding target playing times are determined, the audio data are automatically played according to the target playing times. For example, if the target playing time is 3 times, the audio data is automatically played 3 times repeatedly.
207. And acquiring the current playing information of the audio playing data.
Specifically, the playing information of this time is recorded and archived, and after the playing is finished, the playing information is fed back to the processor to execute the processing of the data.
208. And adjusting the historical playing parameters according to the playing information so as to update the historical playing parameters.
Specifically, the playing information is added to the historical playing parameters for iterative updating, so that the times of playing audio data are more accurate and intelligent in the next times of ordering, and the playing information more conforms to the use habits of users.
In , the on-demand volume of each click-to-read object (e.g., each image) may be counted, and if the number of times that a certain click-to-read object is ordered within a preset time period exceeds a preset number of times, the click-to-read object is automatically classified into a "difficulty set". when the click-to-read object is ordered again, audio data corresponding to the click-to-read object may be automatically played multiple times continuously (if the scanned click-to-read object is an audio that is played times by default, and the click-to-read object scanned in the "difficulty set" is played multiple times repeatedly).
As can be seen from the above, in the audio playing method provided in the embodiment of the present application, the audio data corresponding to the target image and the historical playing parameter of the audio data in the historical time period are obtained, then the corresponding target playing times are determined based on the historical playing parameter, and finally the audio data is played according to the target playing times. According to the scheme, the current playing mode of the audio data can be adjusted according to the historical playing information of the audio data, the playing efficiency of the audio is improved, the playing mode is more intelligent, the practicability of the played audio is improved, and the manufacturing cost is reduced.
In another embodiment of the present application, audio playing devices are further provided, where the audio playing devices may be integrated in an electronic device in the form of software or hardware, and the electronic device may specifically include a mobile phone, a tablet computer, a notebook computer, and the like, as shown in fig. 4, the audio playing device 30 may include a th obtaining module 31, a second obtaining module 32, a determining module 33, and a playing module 34, where:
the acquisition module 31, is used for obtaining the target image that waits to click and read;
a second obtaining module 32, configured to obtain audio data corresponding to the target image and a historical playing parameter of the audio data in a historical time period;
a determining module 33, configured to determine a corresponding target playing time based on the historical playing parameter;
and the playing module 34 is configured to repeatedly play the audio data according to the target playing times.
In embodiments, referring to FIG. 5, the history playing parameters include a history playing frequency and a history playing time, and the determining module 33 includes:
the parameter obtaining sub-module 331 is configured to obtain a corresponding parameter value according to the historical playing frequency and the historical playing frequency;
a determining submodule 332, configured to determine a parameter value interval in which the parameter value falls;
the number obtaining sub-module 333 is configured to obtain the playing number corresponding to the parameter value interval as the target playing number.
In embodiments, the parameter obtaining sub-module 331 may be specifically configured to:
acquiring weighting information corresponding to the historical playing frequency and the historical playing times;
weighting the historical playing frequency and the historical playing times according to the weighting information, and calculating to obtain a weighted value;
and acquiring a corresponding parameter value according to the weighted value.
In embodiments, referring to fig. 6, the audio playing device 30 may further include:
a detecting module 35, configured to detect whether a playing interruption instruction for the audio data is received in the process of playing the audio data;
and the processing module 36 is configured to, when receiving a play terminal instruction, stop playing the audio data according to the play interruption instruction, and initialize a history play parameter corresponding to the audio data.
In embodiments, referring to fig. 7, the audio playing device 30 may further include:
a third obtaining module 37, configured to obtain current playing information of the audio playing data after the audio data is played;
an adjusting module 38, configured to adjust the historical playing parameter according to the playing information, so as to update the historical playing parameter.
As can be seen from the above, in the audio playing apparatus provided in the embodiment of the present application, the audio data corresponding to the target image and the historical playing parameter of the audio data in the historical time period are obtained, then the corresponding target playing times are determined based on the historical playing parameter, and finally the audio data is played according to the target playing times. According to the scheme, the current playing mode of the audio data can be adjusted according to the historical playing information of the audio data, the playing efficiency of the audio is improved, the playing mode is more intelligent, the practicability of the played audio is improved, and the manufacturing cost is reduced.
In yet another embodiment of the present application, electronic devices are provided, wherein the electronic devices may be smart phones, tablet computers, and the like, as shown in fig. 8, an electronic device 400 includes a processor 401 and a memory 402, wherein the processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of applications or applications into the memory 402 according to the following steps, and the processor 401 runs the applications stored in the memory 402, so as to implement various functions:
acquiring a target image to be read;
acquiring audio data corresponding to the target image and historical playing parameters of the audio data in a historical time period;
determining corresponding target playing times based on the historical playing parameters;
and repeatedly playing the audio data according to the target playing times.
In , the history playing parameters include history playing frequency and history playing times.
Processor 401 further may be configured to perform the following steps:
acquiring corresponding parameter values according to the historical playing frequency and the historical playing times;
determining a parameter value interval in which the parameter value falls;
and acquiring the playing times corresponding to the parameter value interval as the target playing times.
In embodiments, processor 401 further may be configured to perform the following steps:
acquiring weighting information corresponding to the historical playing frequency and the historical playing times;
weighting the historical playing frequency and the historical playing times according to the weighting information, and calculating to obtain a weighted value;
and acquiring a corresponding parameter value according to the weighted value.
In embodiments, processor 401 may be further configured to perform the following steps:
detecting whether a playing interruption instruction for the audio data is received;
if so, stopping playing the audio data according to the playing interruption instruction, and initializing the historical playing parameters corresponding to the audio data.
In embodiments, processor 401 may be further configured to perform the following steps:
acquiring current playing information of the audio playing data;
and adjusting the historical playing parameters according to the playing information so as to update the historical playing parameters.
In embodiments, processor 401 may be further configured to perform the following steps:
constructing a mapping relation database, wherein the mapping relation database comprises: a plurality of audio data, a plurality of sample images, and a mapping relationship between the audio database and the sample images;
acquiring a target sample image matched with the target image from the mapping relation database;
and acquiring audio data corresponding to the target sample image according to the mapping relation.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing instructions executable in the processor. Applications may constitute various functional modules. The processor 401 executes various functional applications and data processing by running applications stored in the memory 402.
In , as shown in fig. 9, the electronic device 400 further includes a display 403, a control circuit 404, a radio frequency circuit 405, an input unit 406, an audio circuit 407, a sensor 408, and a power source 409, wherein the processor 401 is electrically connected to the display 403, the control circuit 404, the radio frequency circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power source 409 respectively.
The display screen 403 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 404 is electrically connected to the display 403, and is configured to control the display 403 to display information.
The rf circuit 405 is used for transceiving rf signals to establish wireless communication with a network device or other electronic devices through wireless communication, and to transceive signals with the network device or other electronic devices.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The audio circuit 407 may provide an audio interface between the user and the electronic device through a speaker, microphone.
The sensor 408 is used to collect external environmental information. The sensors 408 may include ambient light sensors, acceleration sensors, light sensors, motion sensors, and other sensors.
The power source 409 may be used to power various components of the electronic device 400. in , the power source 409 may be logically coupled to the processor 401 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 9, the electronic device 400 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
As can be seen from the above, according to the electronic device provided in the embodiment of the application, the audio data corresponding to the target image and the historical playing parameters of the audio data in the historical time period are obtained, then the corresponding target playing times are determined based on the historical playing parameters, and finally the audio data are played according to the target playing times. According to the scheme, the current playing mode of the audio data can be adjusted according to the historical playing information of the audio data, the playing efficiency of the audio is improved, the playing mode is more intelligent, and meanwhile the practicability of the played audio is improved.
In embodiments, there is also provided storage media having instructions stored thereon, the instructions being adapted to be loaded by a processor to perform any of the audio playback methods described above.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program stored in computer readable storage medium, which may include Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, etc.
Furthermore, unless otherwise indicated herein, numerical ranges are only used to refer to each individual value falling within the relevant range by the express method, and each individual value is incorporated into the specification as if it were individually recited , and all method steps described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context.
The audio playing method, the audio playing apparatus, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principles and the embodiments of the present application, and the description of the embodiments above is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1, audio playing method applied to electronic equipment, characterized in that, the method includes:
acquiring a target image to be read;
acquiring audio data corresponding to the target image and historical playing parameters of the audio data in a historical time period, wherein the historical playing parameters comprise historical playing frequency and historical playing times;
acquiring corresponding parameter values according to the historical playing frequency and the historical playing times;
determining a parameter value interval in which the parameter value falls;
acquiring the playing times corresponding to the parameter value interval as target playing times;
and repeatedly playing the audio data according to the target playing times.
2. The audio playing method of claim 1, wherein the step of obtaining the corresponding parameter value according to the history playing frequency and the history playing times comprises:
acquiring weighting information corresponding to the historical playing frequency and the historical playing times;
weighting the historical playing frequency and the historical playing times according to the weighting information, and calculating to obtain a weighted value;
and acquiring corresponding parameter values according to the weighted values.
3. The audio playback method of claim 1, wherein in playing back the audio data, the method further comprises:
detecting whether a play interruption instruction for the audio data is received;
if so, stopping playing the audio data according to the playing interruption instruction, and initializing the historical playing parameters corresponding to the audio data.
4. The audio playback method of claim 1, wherein after the audio data is played back, the method further comprises:
acquiring current playing information of the audio playing data;
and adjusting the historical playing parameters according to the playing information so as to update the historical playing parameters.
5. The audio playback method of claim 1, wherein before acquiring the target image to be read, the method further comprises:
constructing a mapping relationship database, wherein the mapping relationship database comprises: a plurality of audio data, a plurality of sample images, and a mapping relationship between the audio database and the sample images;
the step of obtaining the audio data corresponding to the target image comprises the following steps:
acquiring a target sample image matched with the target image from the mapping relation database;
and acquiring audio data corresponding to the target sample image according to the mapping relation.
An audio playback apparatus of the type , comprising:
an acquisition module, configured to acquire a target image to be read;
the second acquisition module is used for acquiring audio data corresponding to the target image and historical playing parameters of the audio data in a historical time period, wherein the historical playing parameters comprise historical playing frequency and historical playing times;
the determining module is used for determining the corresponding target playing times based on the historical playing parameters;
the determining module comprises:
the parameter acquisition submodule is used for acquiring corresponding parameter values according to the historical playing frequency and the historical playing times;
the determining submodule is used for determining a parameter value interval in which the parameter value falls;
the number obtaining submodule is used for obtaining the playing number corresponding to the parameter value interval and taking the playing number as the target playing number;
and the playing module is used for repeatedly playing the audio data according to the target playing times.
7. The audio playback device of claim 6, wherein the device further comprises:
the detection module is used for detecting whether a playing interruption instruction aiming at the audio data is received or not in the process of playing the audio data;
and the processing module is used for stopping playing the audio data according to the playing interruption instruction and initializing the historical playing parameters corresponding to the audio data when receiving a playing terminal instruction.
8. The audio playback device of claim 6, wherein the device further comprises:
the third obtaining module is used for obtaining the current playing information of the audio playing data after the audio data is played;
and the adjusting module is used for adjusting the historical playing parameters according to the playing information so as to update the historical playing parameters.
Storage medium 9, , wherein the storage medium has stored therein a plurality of instructions adapted to be loaded by a processor to perform the audio playback method of any of claims 1-5, wherein the instructions are further adapted to perform the method of claim .
10, electronic device, comprising a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the audio playing method according to any of claims 1-5.
CN201711087223.6A 2017-11-07 2017-11-07 Audio playing method and device, storage medium and electronic equipment Expired - Fee Related CN107871000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711087223.6A CN107871000B (en) 2017-11-07 2017-11-07 Audio playing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711087223.6A CN107871000B (en) 2017-11-07 2017-11-07 Audio playing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107871000A CN107871000A (en) 2018-04-03
CN107871000B true CN107871000B (en) 2020-01-31

Family

ID=61753679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711087223.6A Expired - Fee Related CN107871000B (en) 2017-11-07 2017-11-07 Audio playing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107871000B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064787B (en) * 2018-07-17 2021-09-24 广东小天才科技有限公司 Point reading equipment
CN109523846B (en) * 2018-11-15 2021-09-07 武汉百行科技股份有限公司 Playing method and playing device
CN111079051B (en) * 2019-12-13 2023-07-21 北京字节跳动网络技术有限公司 Method and device for playing display content
CN112333533B (en) * 2020-09-07 2023-12-05 深圳Tcl新技术有限公司 Method, device, equipment and computer readable storage medium for selecting playing equipment
CN112188115B (en) * 2020-09-29 2023-10-17 咪咕文化科技有限公司 Image processing method, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150009640A (en) * 2013-07-16 2015-01-27 정동민 Internet cafe managing system and the managing method using the same
CN104575125B (en) * 2013-10-10 2017-06-30 北大方正集团有限公司 Dual-audio repeating method and device
CN104732992A (en) * 2015-04-02 2015-06-24 陈佩珊 Music playing method and music player
CN107085592A (en) * 2017-03-02 2017-08-22 深圳市创想天空科技股份有限公司 Early education method and device based on cognitive card

Also Published As

Publication number Publication date
CN107871000A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
CN107871000B (en) Audio playing method and device, storage medium and electronic equipment
EP3125135B1 (en) Picture processing method and device
WO2019137167A1 (en) Photo album management method and apparatus, storage medium, and electronic device
TWI498843B (en) Portable electronic device, content recommendation method and computer-readable medium
CN107870999B (en) Multimedia playing method, device, storage medium and electronic equipment
CN108961157B (en) Picture processing method, picture processing device and terminal equipment
CN107885430B (en) Audio playing method and device, storage medium and electronic equipment
CN107871001B (en) Audio playing method and device, storage medium and electronic equipment
CN107239535A (en) Similar pictures search method and device
CN111866392B (en) Shooting prompting method and device, storage medium and electronic equipment
EP3493130A1 (en) Image processing method, image processing device, computer device, and computer readable storage medium
CN108289057B (en) Video editing method and device and intelligent mobile terminal
CN111371988B (en) Content operation method, device, terminal and storage medium
CN108595573B (en) Page display method and device, storage medium and electronic equipment
CN108886574A (en) A kind of shooting bootstrap technique, equipment and system
CN110796094A (en) Control method and device based on image recognition, electronic equipment and storage medium
CN106649784A (en) Picture storing method, picture searching method, picture searching device and terminal
KR20180121273A (en) Method for outputting content corresponding to object and electronic device thereof
CN107885482B (en) Audio playing method and device, storage medium and electronic equipment
US20200137525A1 (en) Method of Identifying User Location, Storage Medium and Electronic Device
CN111800445B (en) Message pushing method and device, storage medium and electronic equipment
CN111077992A (en) Point reading method, electronic equipment and storage medium
CN108924439B (en) Image processing method and related product
CN110955788A (en) Information display method and electronic equipment
CN111611414B (en) Vehicle searching method, device and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200131