CN107895006B - 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
CN107895006B
CN107895006B CN201711085768.3A CN201711085768A CN107895006B CN 107895006 B CN107895006 B CN 107895006B CN 201711085768 A CN201711085768 A CN 201711085768A CN 107895006 B CN107895006 B CN 107895006B
Authority
CN
China
Prior art keywords
image
sub
audio
images
target sub
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
CN201711085768.3A
Other languages
Chinese (zh)
Other versions
CN107895006A (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 CN201711085768.3A priority Critical patent/CN107895006B/en
Publication of CN107895006A publication Critical patent/CN107895006A/en
Application granted granted Critical
Publication of CN107895006B publication Critical patent/CN107895006B/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/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/432Query formulation
    • G06F16/434Query formulation using image data, e.g. images, photos, pictures taken by a user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses an audio playing method, an audio playing device, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring a preset image, wherein the preset image comprises a plurality of first sub-images; when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images; the first target sub-image is magnified and displayed, audio information corresponding to the first target sub-image is played, the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additional information related to the second sub-images is additionally displayed; when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played. The audio playing function is richer, the audio information can be played and displayed in an amplifying mode, the display additional information is added after the audio information is displayed in an amplifying mode, the display can be clearer, and richer contents are provided.

Description

Audio playing method and device, storage medium and electronic equipment
Technical Field
The present application belongs to the field of communications technologies, and in particular, to an audio playing method and apparatus, a storage medium, and an electronic device.
Background
The existing point reading equipment identifies and positions the point reading object according to the coordinate or code of the point reading object and other modes. The coding mode is a reading mode, codes are printed on a book, then the codes are identified by a reading pen to determine contents, and then corresponding audio is played according to the contents. The coordinate mode is that the position of the point reading machine is clicked by using the point reading pen to determine the coordinates, and corresponding audio is played in combination with the current page of the point reading machine after the coordinates are confirmed. Namely, the identification and positioning of the reading object can be realized by the aid of a reading pen or a reading machine.
Disclosure of Invention
The application provides an audio playing method, an audio playing device, a storage medium and an electronic device, and the audio playing function is richer.
In a first aspect, an embodiment of the present application provides an audio playing method, which is applied to an electronic device, and the method includes:
acquiring a preset image, wherein the preset image comprises a plurality of first sub-images;
when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from the plurality of first sub-images;
the first target sub-image is displayed in an enlarged mode, audio information corresponding to the first target sub-image is played, the first target sub-image after being displayed in an enlarged mode comprises a plurality of second sub-images, and additional information related to the second sub-images is displayed in an increased mode;
when a second audio playing event is triggered, determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images, and playing audio information corresponding to the second target sub-image.
In a second aspect, an embodiment of the present application provides an audio playing apparatus, where the apparatus includes:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a preset image which comprises a plurality of first sub-images;
the determining unit is used for determining a first target sub-image corresponding to a first audio playing event from the plurality of first sub-images when the first audio playing event is triggered;
the amplification playing unit is used for amplifying and displaying the first target sub-image, playing audio information corresponding to the first target sub-image, wherein the amplified and displayed first target sub-image comprises a plurality of second sub-images, and additionally displaying additional information related to the second sub-images;
and the determining and playing unit is used for determining a second target sub-image corresponding to a second audio playing event from the plurality of second sub-images and playing audio information corresponding to the second target sub-image when the second audio playing event is triggered.
In a third aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the audio playing method described above.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the audio playing method by calling the computer program.
According to the audio playing method, the audio playing device, the storage medium and the electronic equipment, the preset image is obtained, and the preset image comprises a plurality of first sub-images; when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images; the first target sub-image is magnified and displayed, audio information corresponding to the first target sub-image is played, the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additional information related to the second sub-images is additionally displayed; when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played. When the electronic equipment is used for realizing point reading, the audio playing function is richer, the first sub-image in a preset image is triggered to play corresponding audio information, meanwhile, the corresponding audio information can be displayed in an amplifying mode, additional information is displayed after the corresponding audio information is displayed in an amplifying mode, more detail contents can be displayed more clearly, the additional information can be displayed, and the content is richer.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic view of an application scenario of an audio playing apparatus according to an embodiment of the present application;
fig. 2 is a schematic view of another application scenario of an audio playing apparatus according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an audio playing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a first sub-image enlarging display method according to an embodiment of the present application;
fig. 5 is another schematic flow chart of a first sub-image enlarging display method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a first sub-image enlarging display method according to an embodiment of the present application;
fig. 7 is another schematic flowchart of an audio playing method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a first audio playing device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a second audio playing device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a third audio playing device according to an embodiment of the present application;
fig. 11 is a schematic diagram of a fourth structure of an audio playing apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a fifth exemplary audio playing device according to an embodiment of the present disclosure;
fig. 13 is a schematic diagram illustrating a sixth structure of an audio playing apparatus according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 15 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The term module, as used herein, may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein may be implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In one embodiment of the present application, the point reading may be implemented by an electronic device. The electronic device may first obtain a click-to-read sample, where the click-to-read sample may be a picture, a photograph, or a code. The electronic device may be a mobile terminal, such as a mobile phone, a tablet computer, a notebook computer, and the like, which is not limited in this application.
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 is to be understood that, in some embodiments, the click-to-read sample and the multimedia sample may be in a one-to-one correspondence relationship, a one-to-many relationship, a many-to-one relationship, or the like, which is not specifically limited in this embodiment.
When using the electronic device click-to-read function, a user may first take a picture using the mobile electronic device or select a picture from an album or scan a code. The picture taken by the user or the selected picture or the scanned code is the object to be read (i.e. the object to be read). After the object needing to be read is acquired, the electronic device can search a photo or a code matched with the object needing to be read in a preset database. If the photo or the code matched with the object needing to be read exists in the preset database, the electronic equipment can search the multimedia file associated with the photo or the code, and the multimedia file is played.
In one embodiment, for example, the sample is a photograph a containing three text segments, each of which is associated with a segment of audio. Then, when the photo shot by the user is matched with the photo a in the preset database, since the photo a contains three sections of characters and each section of character is associated with a corresponding section of audio, the user can select to play the corresponding audio by specifically selecting a certain section of character in the photo a. Or, the user may not make a specific selection, and then the electronic device may sequentially play the audio corresponding to the three paragraphs of text.
Referring to fig. 1, for example, a user uses an electronic device to take a picture X, and the electronic device finds that the picture X matches the picture a in a preset database. The photo A comprises three sections of characters, wherein the first section of characters is associated with the audio A, the second section of characters is associated with the audio B, and the third section of characters is associated with the audio C. For example, if the user circles the area of the second text on the screen, the electronic device may play audio b accordingly.
It can be understood that the embodiment can realize the function of reading the text in a certain object (such as a photo) on the electronic device, and the mode has the advantages of low cost, good convenience and the like.
Referring to fig. 2, please refer to fig. 2 for a schematic view of another application scenario of the audio playing apparatus according to the embodiment of the present application. For example, an audio playing device acquires a preset image (e.g., an object to be clicked and read), the preset image including a plurality of first sub-images a1-a 6; when a first audio playing event is triggered, determining a first target sub-image A5 corresponding to the first audio playing event from the plurality of first sub-images; the first target sub-image A5 is displayed in an enlarged mode, the audio information corresponding to the first target sub-image is played, the first target sub-image A5 after the enlarged display comprises a plurality of second sub-images A51-A56, and additional information related to the second sub-images is additionally displayed; when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played.
An execution main body of the audio playing method may be the audio playing device provided in the embodiment of the present application, or an electronic device integrated with the audio playing device, where the audio playing device may be implemented in a hardware or software manner.
The embodiments of the present application will be described from the perspective of an audio playing device, which may be specifically integrated in an electronic device. The audio playing method comprises the following steps: acquiring a preset image, wherein the preset image comprises a plurality of first sub-images; when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images; the first target sub-image is magnified and displayed, audio information corresponding to the first target sub-image is played, the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additional information related to the second sub-images is additionally displayed; when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating an audio playing method according to an embodiment of the present disclosure. The audio playing method provided by the embodiment of the application is applied to the electronic equipment, and the specific flow can be as follows:
step 101, acquiring a preset image, wherein the preset image comprises a plurality of first sub-images.
The preset image can be acquired by calling an image pre-stored in the electronic device, for example, by opening a gallery, and selecting a picture from the gallery as the preset image. Or an image can be selected as a preset image in an APP by opening the APP. The preset image can be acquired through a camera of the electronic equipment, and the preset image can also be acquired in a wireless mode or a wired mode. The wireless mode comprises modes such as Bluetooth, NFC, WIFI network and mobile network, and the mobile network comprises networks such as 2G, 3G and 4G. The wired mode includes connecting other devices through a data line to acquire a preset image. The preset image can also be stored in the electronic equipment in advance and then displayed through calling of application software.
The preset image includes a plurality of first sub-images. The preset image may be divided into a plurality of first sub-images according to the content of the preset image, for example, the preset image is a picture including a plurality of animals, the inside of the picture includes a plurality of animals, each animal or each animal is a first sub-image, each first sub-image includes at least one image of an animal, and the first sub-image may include corresponding characters, such as tigers, lions and other characters, or may not include characters. The characters can be Chinese, English or both Chinese and English. Of course, the text may include one or more languages as desired. In addition, the preset image may further include areas such as trees, grass, headlines, and voice-overs, which are also the first sub-images.
It should be noted that the preset image may be divided into a plurality of first sub-images according to the content of the preset image, for example, the preset image is divided into a plurality of first sub-images according to the blank area of the preset image, and then the content of each first sub-image is identified. The multiple first sub-images can also be spliced to form a preset image, for example, the edge of each first sub-image is a blank area, and then the multiple first sub-images are spliced to form a preset image with more display contents, the multiple first sub-images can be spliced in a scaling, cutting and other modes, so that the size of the first sub-images is appropriate, and the blank areas can be filled with background color or white to complete the first sub-images. The blank area is an area without graphics and characters and has only a pure color or a background color.
Step 102, when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images.
Specifically, the first audio playing event is triggered, and the first audio playing event comprises click triggering of a touch display screen and mouse click triggering of the display screen, and the triggering coordinate position can be identified in other ways, so that a click area is identified, for example, an area clicked by an infrared emitter is identified by an infrared identification device, a user target click area is identified by a somatosensory device, and the like.
When a first audio playing event is triggered, the triggered position information is acquired, then which first sub-image is selected from the preset images is determined according to the position information, and then a first target sub-image corresponding to the first audio playing event is determined from the plurality of first sub-images.
In some embodiments, when the first audio play event is triggered, determining trigger coordinates of a preset image, the plurality of first sub-images having different sets of coordinates; according to the trigger coordinate and the coordinate sets, namely, the trigger coordinate is compared with different coordinate sets, if the trigger coordinate belongs to one of the coordinate sets, the first sub-image corresponding to the coordinate set is determined to be selected, and therefore the first target sub-image corresponding to the first audio playing event is determined from the plurality of first sub-images.
And 103, amplifying and displaying the first target sub-image, playing audio information corresponding to the first target sub-image, wherein the amplified and displayed first target sub-image comprises a plurality of second sub-images, and additionally displaying additional information associated with the second sub-images.
And when one first sub-image in the plurality of first sub-images is selected, magnifying and displaying the first sub-image, and playing audio information corresponding to the first sub-image. For example, in a preset image including pictures of various animals, a first sub-image including a tiger image is included, and the first sub-image including the tiger is selected, the first sub-image including the tiger is magnified and displayed, and corresponding audio information, such as Chinese pronunciation of the tiger, is played. Therefore, the tiger can be displayed more clearly, and the effect is more obvious on some equipment with a smaller screen, such as a mobile phone. Firstly, a set of images with rich contents is displayed in an enlarged mode by clicking one of the sub-contents, the original image can be restored after the display is finished, and then other sub-contents are clicked to be displayed in an enlarged mode in sequence. The plurality of sub-contents are perfectly connected with the image with a large content, otherwise, the content with a large content needs to be played first, and then the sub-contents are played one by one according to a certain sequence, so that the sub-contents which are interested by the user cannot be clicked freely, and if the user wants to repeat the sub-contents played before, the user needs to reverse the sub-contents one by one, and the operation is complicated and inconvenient.
The first sub-image can occupy the whole display area after being magnified and displayed, or only occupy part of the display area, and other images can be magnified in the same scale or can be kept unchanged.
The first target sub-image after the enlarged display comprises a plurality of second sub-images, the first target sub-image after the enlarged display can be divided into the click areas again, the click areas can be divided into a plurality of second sub-images again, and meanwhile, additional information related to the second sub-images can be increased and displayed, and the information amount can be increased. For example, the first sub-image is a picture including a tiger, the tiger includes a plurality of parts, each part is a second sub-image, each second sub-image includes an image of a part, and additional information may be added, such as characters corresponding to the second sub-image, such as a head, a tail, a claw, and the like, where the characters may be chinese, english, or both chinese and english. Of course, the text may include one or more languages as desired. In addition, the second sub-image may further include a region such as a gutter.
Referring to fig. 4, fig. 4 is a schematic flow chart illustrating a first sub-image enlarging display method according to an embodiment of the present disclosure. In this embodiment, the first sub-image enlargement display method includes:
step 201, acquiring display parameters of the first target sub-image after the enlarged display.
The first target sub-image is magnified and displayed according to a preset scale, if the first target sub-image is magnified by 4 times, the first target sub-image is in the middle of the display area, and can be stretched and magnified from the upper, lower, left and right directions of the first target sub-image, and the first target sub-image is on one side of the display area, and can be stretched and magnified to a place with more residual space in the display area. And then obtaining display parameters of the first target sub-image after the enlarged display, wherein the display parameters specifically include the number of pixels of the length and the width of the first sub-image after the enlarged display, such as 1000 × 600, and the resolution of the display screen, such as 1920 × 1080, that is, 1920 × 1080 pixels. And combining the size of the display screen of the electronic equipment, the final size of the display image can be obtained.
Step 202, according to the display parameters, a substitute image is obtained, the resolution of the substitute image is higher than that of the first target sub-image, and the substitute image comprises a plurality of second sub-images.
According to the display parameters, the substitute map with higher resolution is obtained, and better definition can be obtained. For example, the resolution of the preset image is 1920 × 1080, the resolution of the first sub-image before enlargement is 200 × 120, and the first sub-image before enlargement only occupies a small display area, which does not affect the display effect. After the zoom-in, a 1000 × 600 display area needs to be placed, the first sub-image is correspondingly zoomed in to 1000 × 600, the definition is obviously insufficient, and a remarkable fuzzy feeling exists, and at the moment, the substitute image with higher resolution is used for replacing display, so that the problem of fuzzy generation can be avoided. The substitute image may be stored in the electronic device in advance, or may be stored in a server in advance and then acquired via a network. The server comprises a network server, a cloud server and the like.
And step 203, replacing the replacing image with the enlarged and displayed first target sub-image.
After the enlargement display is finished, the first target sub-image after the enlargement display is replaced by the substitute image, or the first target sub-image is replaced by the substitute image after the substitute image is reduced, and then the substitute image is enlarged and displayed.
Referring to fig. 5, fig. 5 is another schematic flow chart of a first sub-image enlarging display method according to an embodiment of the present disclosure. In this embodiment, the first sub-image enlargement display method includes:
step 211, acquiring a substitute image and display parameters of the substitute image according to the first target sub-image;
firstly, acquiring a substitute image according to a first target sub-image, setting the substitute image for the first sub-image in a database in advance, acquiring a corresponding substitute image from the database after one of the first sub-images is determined as the first target sub-image, and then acquiring display parameters of the substitute image, wherein the display parameters comprise the resolution of the substitute image, the proper size and the like.
And 212, magnifying and displaying the first target sub-image according to the display parameters of the alternative image. And according to the display parameters of the alternative image, such as the size, the first target sub-image is displayed in an enlarged mode to the most suitable size of the alternative image.
And step 213, replacing the first target sub-image after the enlarged display with the substitute image after the enlarged display of the first target sub-image. At the moment, the first target sub-image after the replacing image is directly replaced and amplified and displayed is identical in size, and the transition effect is better.
Referring to fig. 6, fig. 6 is a schematic flow chart illustrating a first sub-image enlarging display method according to an embodiment of the present application. In this embodiment, the first sub-image enlargement display method includes:
step 221, acquiring display parameters of the first target sub-image after the enlarged display.
The first target sub-image is magnified and displayed according to a preset scale, if the first target sub-image is magnified by 4 times, the first target sub-image is in the middle of the display area, and can be stretched and magnified from the upper, lower, left and right directions of the first target sub-image, and the first target sub-image is on one side of the display area, and can be stretched and magnified to a place with more residual space in the display area. And then acquiring display parameters of the first target sub-image after the enlarged display.
Step 222, re-dividing the trigger area corresponding to the enlarged and displayed first target sub-image according to the display parameters to form a plurality of second sub-images.
If the resolution of the first sub-image is high enough, for example, the resolution of the display screen is 1920 × 1080, the resolution of the preset image is 3840 × 2160, and the resolution of the first sub-image is 1600 × 900, when the display is started, the preset image is matched through a graphic algorithm, when the first sub-image is amplified and displayed, the resolution is sufficient, and the original image can be obtained only by amplifying the first sub-image. At the moment, the trigger area corresponding to the first target sub-image after being amplified and displayed is directly subdivided, and the subdivided trigger area forms a second sub-image.
In step 223, the hidden information is displayed to form additional information.
When the preset image is displayed, partial information is hidden, as in the previous step, the preset image is matched through a graphic algorithm, after the size of a partial font is reduced because the preset image is too small to be recognized, the user recognition trouble is caused, the partial font is directly hidden, if the partial font is covered by background color or white, after the first target subimage is amplified and displayed, the corresponding font is also amplified, and at the moment, the hidden information can be better recognized, and the hidden information is displayed to form additional information.
And 104, when a second audio playing event is triggered, determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images, and playing audio information corresponding to the second target sub-image.
And after the second audio playing event is triggered, obtaining triggered position information, and then determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images according to the position information. And when the second target sub-image is clicked, playing the audio information corresponding to the second sub-image. For example, if a second sub-image including a tail in a first sub-image including a tiger is triggered, corresponding audio information, such as a chinese pronunciation of the tail, is played. Thus, the positions of the tiger can be known.
In some embodiments, the magnifying and displaying the first target sub-image and playing the audio information corresponding to the first target sub-image, where the magnified and displayed first target sub-image includes a plurality of second sub-images, and the step of increasing and displaying the additional information associated with the second sub-images further includes: determining the area range of the second sub-image; additional information associated with the second sub-image is displayed in an area.
For example, before the enlarged display, only the Chinese character is corresponding to the first sub-image, in the above embodiment, only the Chinese tiger character information is beside the first sub-image of the tiger, after the enlarged display, the pinyin of the tiger can be increased, the black characters with white background can also be before the tiger character information, and now, the background of the grid is increased, which is convenient for children to practice writing. The additional information added may be text. The added text may be the same size as the previous text or may be a different size. The additional information added may also be an image, such as the first sub-image being a tiger, and the additional information added being a cat or another tiger. For another example, the first sub-image is a cow, and after the first sub-image is magnified and displayed, additional information related to the cow is added, so that images of cows, buffalos, cattle, yaks and the like can be added, so that users can quickly acquire more related information, and the impression is deepened.
After the first target sub-image is displayed in an enlarged mode, the first target sub-image has a larger blank area, and accessory information associated with the second sub-image can be added in the blank area. Similarly, the additional information may be added after the second target sub-image is magnified and displayed.
In some embodiments, after the step of playing the audio information corresponding to the second target sub-image, the step of displaying the second target sub-image in an enlarged manner is further included.
The first sub-image can occupy the whole display area after being magnified and displayed, or only occupy part of the display area, and other images can be magnified in the same scale or can be kept unchanged. And after the first sub-image is enlarged, the click area is divided again. At the moment, the click area is divided again to form a plurality of second sub-images, after one of the second sub-images is triggered, the second sub-images are magnified and displayed, and simultaneously, the audio information corresponding to the second sub-images is played. The preset image is amplified in multiple stages, so that the content of the preset image can be further known and understood.
It should be noted that, the above embodiments describe a one-stage amplification display audio playing method and a two-stage amplification display audio playing method, and this embodiment may also adopt a three-stage amplification display audio playing method and a four-stage or more display audio playing method.
In some embodiments, after the step of playing the audio information corresponding to the second target sub-image, the method further includes acquiring a dynamic image corresponding to the second target sub-image; and playing the dynamic image and the audio information corresponding to the dynamic image.
In some embodiments, after the step of playing the audio information corresponding to the second target sub-image, the step of displaying the second target sub-image in an enlarged manner is further included; acquiring a dynamic image corresponding to the second target sub-image; and playing the dynamic image and the audio information corresponding to the dynamic image.
And after the second subimage is magnified and displayed, displaying and playing a corresponding dynamic image, for example, after the panda of the second subimage is magnified and displayed, playing a dynamic image of the panda walking and eating bamboo, and playing some introduction information of the panda, such as name, hobbies, attentions and the like.
The audio playing method of the present application will be further described below on the basis of the method described in the above embodiment. Referring to fig. 7, fig. 7 is another schematic flow chart illustrating an audio playing method according to an embodiment of the present application. In this embodiment, the audio playing method includes the steps of:
step 301, acquiring a preset image, where the preset image includes a plurality of first sub-images, and acquiring a first audio information set corresponding to the preset image according to the preset image, where the first audio information set includes a plurality of audio information, and the plurality of audio information included in the first audio information set respectively correspond to the plurality of first sub-images.
The preset image can be acquired by calling an image pre-stored in the electronic device, for example, by opening a gallery, and selecting a picture from the gallery as the preset image. Or an image can be selected as a preset image in an APP by opening the APP. And acquiring a first audio information set corresponding to the preset image according to the preset image, wherein the first audio information set comprises a plurality of audio information, and the plurality of audio information included in the first audio information set respectively correspond to the plurality of first sub-images. One preset image may correspond to one audio information set, which includes all the click-to-read playing audio information therein.
Step 302, when a first audio playing event is triggered, determining trigger coordinates of a preset image, wherein the plurality of first sub-images have different coordinate sets, and determining a first target sub-image corresponding to the first audio playing event from the plurality of first sub-images according to the trigger coordinates and the coordinate sets. And acquiring audio information corresponding to the first target sub-image according to the trigger coordinate.
According to the trigger coordinate and the coordinate sets, namely, the trigger coordinate is compared with different coordinate sets, if the trigger coordinate belongs to one of the coordinate sets, the first sub-image corresponding to the coordinate set is determined to be clicked, and therefore the first target sub-image corresponding to the first audio playing event is determined from the plurality of first sub-images.
And 303, magnifying and displaying the first target sub-image, playing audio information corresponding to the first target sub-image, wherein the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additionally displaying additional information associated with the second sub-images.
And after one first sub-image in the plurality of first sub-images is clicked, amplifying and displaying the first sub-image, and playing audio information corresponding to the first sub-image. The first sub-image can occupy the whole display area after being magnified and displayed, or only occupy part of the display area, and other images can be magnified in the same scale or can be kept unchanged. And after the first sub-image is enlarged, the click area is divided again. At the moment, the click area is divided again to form a plurality of second sub-images, after one of the second sub-images is triggered, the second sub-images are displayed in an enlarged mode, and meanwhile additional information related to the second sub-images can be displayed in an increased mode, and the information amount is increased.
Step 304, a second audio information set corresponding to the first target sub-image is obtained, where the second audio information set includes a plurality of audio information, and the plurality of audio information included in the second audio information set respectively correspond to the plurality of second sub-images.
When the first target sub-image is selected, the tag information of the first target sub-image can be acquired, and then a second audio information set is acquired according to the tag information, wherein the second audio information set comprises audio information corresponding to all second sub-images.
Step 305, when the second audio playing event is triggered, determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images, and playing audio information corresponding to the second target sub-image.
And after the second audio playing event is triggered, obtaining triggered position information, and then determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images according to the position information. And when the second target sub-image is clicked, playing the audio information corresponding to the second sub-image. For example, if a second sub-image including a tail in a first sub-image including a tiger is triggered, corresponding audio information, such as a chinese pronunciation of the tail, is played. Thus, the positions of the tiger can be known.
According to the audio playing method provided by the embodiment of the application, the preset image is obtained and comprises a plurality of first sub-images; when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images; the first target sub-image is magnified and displayed, audio information corresponding to the first target sub-image is played, the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additional information related to the second sub-images is additionally displayed; when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played. The audio playing function is richer, the corresponding audio information can be played by triggering the first sub-image in the preset image, meanwhile, the corresponding audio information can be displayed in an amplifying mode, the additional information can be displayed more clearly, more detailed contents can be displayed, the additional information can be displayed, and richer contents can be provided.
In order to better implement the audio playing method provided by the embodiment of the present application, an embodiment of the present application further provides an audio playing device. The meaning of the noun is the same as the above audio playing method, and the details of the implementation can refer to the description in the method embodiment.
Referring to fig. 8, fig. 8 is a schematic view illustrating a first structure of an audio playing device according to an embodiment of the present application. The audio playing apparatus 500 includes an obtaining unit 501, a determining unit 502, an amplifying playing unit 503, and a determining playing unit 504.
An obtaining unit 501 is configured to obtain a preset image, where the preset image includes a plurality of first sub-images.
The preset image can be acquired by calling an image pre-stored in the electronic device, for example, by opening a gallery, and selecting a picture from the gallery as the preset image. Or an image can be selected as a preset image in an APP by opening the APP. The preset image can be acquired through a camera of the electronic equipment, and the preset image can also be acquired in a wireless mode or a wired mode. The wireless mode comprises modes such as Bluetooth, NFC, WIFI network and mobile network, and the mobile network comprises networks such as 2G, 3G and 4G. The wired mode includes connecting other devices through a data line to acquire a preset image. The preset image can also be stored in the electronic equipment in advance and then displayed through calling of application software.
The preset image includes a plurality of first sub-images. The preset image is divided into a plurality of first sub-images according to the content of the preset image, for example, the preset image is a picture including a plurality of animals, the inside of the picture includes a plurality of animals, each animal or each animal is a first sub-image, each first sub-image includes at least one image of an animal, and at the same time, the preset image may include corresponding characters such as tigers, lions and other character information, and certainly, the preset image may not include characters. The characters can be Chinese, English or both Chinese and English. Of course, the text may include one or more languages as desired. In addition, the preset image may further include areas such as trees, grass, headlines, and voice-overs, which are also the first sub-images.
It should be noted that the preset image may be divided into a plurality of first sub-images according to the content of the preset image, for example, the preset image is divided into a plurality of first sub-images according to the blank area of the preset image, and then the content of each first sub-image is identified. The multiple first sub-images can also be spliced to form a preset image, for example, the edge of each first sub-image is a blank area, and then the multiple first sub-images are spliced to form a preset image with more display contents, the multiple first sub-images can be spliced in a scaling, cutting and other modes, so that the size of the first sub-images is appropriate, and the blank areas can be filled with background color or white to complete the first sub-images.
The determining unit 502 is configured to determine, when the first audio playing event is triggered, a first target sub-image corresponding to the first audio playing event from the plurality of first sub-images.
Specifically, the first audio playing event is triggered, and the first audio playing event comprises click triggering of a touch display screen and mouse click triggering of the display screen, and the triggering coordinate position can be identified in other ways, so that a click area is identified, for example, an area clicked by an infrared emitter is identified by an infrared identification device, a user target click area is identified by a somatosensory device, and the like.
When a first audio playing event is triggered, the triggered position information is acquired, then which first character pattern is clicked is determined from a preset image according to the position information, and then a first target sub-image corresponding to the first audio playing event is determined from a plurality of first sub-images.
Referring to fig. 9, fig. 9 is a schematic diagram illustrating a second structure of an audio playing device according to an embodiment of the present application. In the present embodiment, the first determination unit includes a coordinate set acquisition subunit 5021 and a determination subunit 5022. Wherein:
the coordinate set acquiring subunit 5021 is configured to determine trigger coordinates of a preset image when a first audio playing event is triggered, where the first sub-images have different coordinate sets.
The determining subunit 5022 is configured to determine a first target sub-image corresponding to the first audio playing event from the plurality of first sub-images according to the trigger coordinate and the coordinate set.
The enlargement playing unit 503 is configured to enlarge and display the first target sub-image, and play audio information corresponding to the first target sub-image, where the enlarged and displayed first target sub-image includes a plurality of second sub-images, and additionally displays additional information associated with the second sub-images.
And when one first sub-image in the plurality of first sub-images is selected, magnifying and displaying the first sub-image, and playing audio information corresponding to the first sub-image. For example, in a preset image including pictures of various animals, a first sub-image including a tiger image is included, and the first sub-image including the tiger is selected, the first sub-image including the tiger is magnified and displayed, and corresponding audio information, such as Chinese pronunciation of the tiger, is played. Therefore, the tiger can be displayed more clearly, and the effect is more obvious on some equipment with a smaller screen, such as a mobile phone. Firstly, a set of images with rich contents is displayed in an enlarged mode by clicking one of the sub-contents, the original image can be restored after the display is finished, and then other sub-contents are clicked to be displayed in an enlarged mode in sequence. The plurality of sub-contents are perfectly connected with the image with a large content, otherwise, the content with a large content needs to be played first, and then the sub-contents are played one by one according to a certain sequence, so that the sub-contents which are interested by the user cannot be clicked freely, and if the user wants to repeat the sub-contents played before, the user needs to reverse the sub-contents one by one, and the operation is complicated and inconvenient.
The first sub-image can occupy the whole display area after being magnified and displayed, or only occupy part of the display area, and other images can be magnified in the same scale or can be kept unchanged.
The first target sub-image after the enlarged display comprises a plurality of second sub-images, the first target sub-image after the enlarged display can be divided into the click areas again, the click areas can be divided into a plurality of second sub-images again, and meanwhile, additional information related to the second sub-images can be increased and displayed, and the information amount can be increased. For example, the first sub-image is a picture including a tiger, the tiger includes a plurality of parts, each part is a second sub-image, each second sub-image includes an image of a part, and additional information may be added, such as characters corresponding to the second sub-image, such as a head, a tail, a claw, and the like, where the characters may be chinese, english, or both chinese and english. Of course, the text may include one or more languages as desired. In addition, the second sub-image may further include a region such as a gutter.
Referring to fig. 10, fig. 10 is a schematic view illustrating a third structure of an audio playing device according to an embodiment of the present application. In the present embodiment, the enlargement playing unit 503 includes a display parameter acquiring sub-unit 5031, a substitute image acquiring sub-unit 5032, and a replacement sub-unit 5033.
A display parameter obtaining sub-unit 5031, configured to obtain the display parameters of the first target sub-image after the enlarged display.
The first target sub-image is magnified and displayed according to a preset scale, if the first target sub-image is magnified by 4 times, the first target sub-image is in the middle of the display area, and can be stretched and magnified from the upper, lower, left and right directions of the first target sub-image, and the first target sub-image is on one side of the display area, and can be stretched and magnified to a place with more residual space in the display area. And then obtaining display parameters of the first target sub-image after the enlarged display, wherein the display parameters specifically include the number of pixels of the length and the width of the first sub-image after the enlarged display, such as 1000 × 600, and the resolution of the display screen, such as 1920 × 1080, that is, 1920 × 1080 pixels. And combining the size of the display screen of the electronic equipment, the final size of the display image can be obtained.
A substitute image obtaining sub-unit 5032, configured to obtain, according to the display parameter, a substitute image, where the resolution of the substitute image is higher than that of the first target sub-image, and the substitute image includes a plurality of second sub-images;
according to the display parameters, the substitute map with higher resolution is obtained, and better definition can be obtained. For example, the resolution of the preset image is 1920 × 1080, the resolution of the first sub-image before enlargement is 200 × 120, and the first sub-image before enlargement only occupies a small display area, which does not affect the display effect. After the zoom-in, a 1000 × 600 display area needs to be placed, the first sub-image is correspondingly zoomed in to 1000 × 600, the definition is obviously insufficient, and a remarkable fuzzy feeling exists, and at the moment, the substitute image with higher resolution is used for replacing display, so that the problem of fuzzy generation can be avoided. The substitute image may be stored in the electronic device in advance, or may be stored in a server in advance and then acquired via a network. The server comprises a network server, a cloud server and the like.
A replacing sub-unit 5033 configured to replace the enlarged displayed first target sub-image with the substitute image.
After the enlargement display is finished, the first target sub-image after the enlargement display is replaced by the substitute image, or the first target sub-image is replaced by the substitute image after the substitute image is reduced, and then the substitute image is enlarged and displayed.
Referring to fig. 11, fig. 11 is a schematic diagram illustrating a fourth structure of an audio playing device according to an embodiment of the present application. In the present embodiment, the enlarged playing unit 503 includes a substitute image acquiring sub-unit 5034, a first enlarged display sub-unit 5035, and a replacing sub-unit 5033.
A substitute image obtaining sub-unit 5034 configured to obtain a substitute image and display parameters of the substitute image according to the first target sub-image;
firstly, acquiring a substitute image according to a first target sub-image, setting the substitute image for the first sub-image in a database in advance, acquiring a corresponding substitute image from the database after one of the first sub-images is determined as the first target sub-image, and then acquiring display parameters of the substitute image, wherein the display parameters comprise the resolution of the substitute image, the proper size and the like.
A first enlarged display sub-unit 5035, configured to enlarge and display the first target sub-image according to the display parameter of the substitute image. And according to the display parameters of the alternative image, such as the size, the first target sub-image is displayed in an enlarged mode to the most suitable size of the alternative image.
A replacing sub-unit 5033, configured to replace the magnified and displayed first target sub-image with the substitute image after the magnified and displayed first target sub-image is magnified and displayed. At the moment, the first target sub-image after the replacing image is directly replaced and amplified and displayed is identical in size, and the transition effect is better.
Referring to fig. 12, fig. 12 is a schematic view illustrating a fifth structure of an audio playing apparatus according to an embodiment of the present application. In this embodiment, the zooming playing unit 503 comprises a display parameter obtaining sub-unit 5031, a dividing sub-unit 5036 and a hidden display sub-unit 5037.
A display parameter obtaining sub-unit 5031, configured to obtain the display parameters of the first target sub-image after the enlarged display.
The first target sub-image is magnified and displayed according to a preset scale, if the first target sub-image is magnified by 4 times, the first target sub-image is in the middle of the display area, and can be stretched and magnified from the upper, lower, left and right directions of the first target sub-image, and the first target sub-image is on one side of the display area, and can be stretched and magnified to a place with more residual space in the display area. And then acquiring display parameters of the first target sub-image after the enlarged display.
The dividing unit 5036 is configured to, according to the display parameter, re-divide the trigger area corresponding to the first target sub-image after the display is enlarged, so as to form a plurality of second sub-images.
If the resolution of the first sub-image is high enough, for example, the resolution of the display screen is 1920 × 1080, the resolution of the preset image is 3840 × 2160, and the resolution of the first sub-image is 1600 × 900, when the display is started, the preset image is matched through a graphic algorithm, when the first sub-image is amplified and displayed, the resolution is sufficient, and the original image can be obtained only by amplifying the first sub-image. At the moment, the trigger area corresponding to the first target sub-image after being amplified and displayed is directly subdivided, and the subdivided trigger area forms a second sub-image.
A hidden display sub-unit 5037 for displaying the hidden information to form additional information.
When the preset image is displayed, partial information is hidden, as in the previous step, the preset image is matched through a graphic algorithm, after the size of a partial font is reduced because the preset image is too small to be recognized, the user recognition trouble is caused, the partial font is directly hidden, if the partial font is covered by background color or white, after the first target subimage is amplified and displayed, the corresponding font is also amplified, and at the moment, the hidden information can be better recognized, and the hidden information is displayed to form additional information.
The determining and playing unit 504 is configured to determine, when the second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images, and play audio information corresponding to the second target sub-image.
And after the second audio playing event is triggered, obtaining triggered position information, and then determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images according to the position information. And when the second target sub-image is clicked, playing the audio information corresponding to the second sub-image. For example, if a second sub-image including a tail in a first sub-image including a tiger is triggered, corresponding audio information, such as a chinese pronunciation of the tail, is played. Thus, the positions of the tiger can be known.
In some embodiments, the upscaling playback unit includes a range determination subunit and an association subunit. The range determining subunit is used for determining the area range of the second sub-image; and the association subunit is used for additionally displaying the additional information associated with the second sub-image in the area range.
In some embodiments, the determining the playback unit includes a second magnification subunit configured to magnify and display the second target sub-image.
The first sub-image can occupy the whole display area after being magnified and displayed, or only occupy part of the display area, and other images can be magnified in the same scale or can be kept unchanged. And after the first sub-image is enlarged, the click area is divided again. At this time, the magnified first sub-image includes a plurality of second sub-images, and when one of the second sub-images is triggered, the second sub-image is magnified and displayed, and simultaneously, audio information corresponding to the second sub-image is played. The preset image is amplified in multiple stages, so that the content of the preset image can be further known and understood.
It should be noted that, the above embodiments describe an audio playing device with one-stage amplification display and an audio playing device with two-stage amplification display, and this embodiment may also adopt an audio playing device with three-stage amplification display and an audio playing device with four-stage or more display.
In some embodiments, determining the playback unit further includes a moving image acquisition subunit and a moving image playback subunit. The dynamic image acquisition subunit is used for acquiring a dynamic image corresponding to the second target sub-image; and the dynamic image playing subunit is used for playing the dynamic image and the audio information corresponding to the dynamic image.
Referring to fig. 13, fig. 13 is a schematic diagram illustrating a sixth structure of an audio playing device according to an embodiment of the present application. In the present embodiment, the determination playing unit 504 further includes a second enlargement sub-unit 5041, a moving image acquisition sub-unit 5042, and a moving image playing sub-unit 5043. Wherein:
a second enlargement sub-unit 5041 for enlarging and displaying the second target sub-image;
a dynamic image acquiring sub-unit 5042, configured to acquire a dynamic image corresponding to the second target sub-image;
the moving image playback sub-unit 5043 is configured to play back a moving image and audio information corresponding to the moving image.
And after the second subimage is magnified and displayed, displaying and playing a corresponding dynamic image, for example, after the panda of the second subimage is magnified and displayed, playing a dynamic image of the panda walking and eating bamboo, and playing some introduction information of the panda, such as name, hobbies, attentions and the like.
In some embodiments, the audio playing apparatus is applied to an electronic device, and the audio playing apparatus includes an obtaining unit, a determining unit, an amplifying and playing unit, and a determining and playing unit. Wherein:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a preset image, the preset image comprises a plurality of first sub-images, a first audio information set corresponding to the preset image is acquired according to the preset image, the first audio information set comprises a plurality of audio information, and the plurality of audio information included in the first audio information set respectively correspond to the plurality of first sub-images.
The preset image can be acquired by calling an image pre-stored in the electronic device, for example, by opening a gallery, and selecting a picture from the gallery as the preset image. Or an image can be selected as a preset image in an APP by opening the APP. And acquiring a first audio information set corresponding to the preset image according to the preset image, wherein the first audio information set comprises a plurality of audio information, and the plurality of audio information included in the first audio information set respectively correspond to the plurality of first sub-images. One preset image may correspond to one audio information set, which includes all the click-to-read playing audio information therein.
The determining unit is used for determining a trigger coordinate of a preset image when a first audio playing event is triggered, the plurality of first sub-images have different coordinate sets, and a first target sub-image corresponding to the first audio playing event is determined from the plurality of first sub-images according to the trigger coordinate and the coordinate sets. And acquiring audio information corresponding to the first target sub-image according to the trigger coordinate.
According to the trigger coordinate and the coordinate sets, namely, the trigger coordinate is compared with different coordinate sets, if the trigger coordinate belongs to one of the coordinate sets, the first sub-image corresponding to the coordinate set is determined to be clicked, and therefore the first target sub-image corresponding to the first audio playing event is determined from the plurality of first sub-images.
And the amplification playing unit is used for amplifying and displaying the first target sub-image, playing the audio information corresponding to the first target sub-image, wherein the amplified and displayed first target sub-image comprises a plurality of second sub-images, and additionally displaying the additional information associated with the second sub-images.
And after one first sub-image in the plurality of first sub-images is clicked, amplifying and displaying the first sub-image, and playing audio information corresponding to the first sub-image. The first sub-image can occupy the whole display area after being magnified and displayed, or only occupy part of the display area, and other images can be magnified in the same scale or can be kept unchanged. The first target sub-image after being magnified and displayed comprises a plurality of second sub-images, and the click area is subdivided. Meanwhile, the click area is divided again to form a plurality of second sub-images, and meanwhile, additional information related to the second sub-images can be displayed in an increased mode, and the information amount is increased.
And the determining and playing unit is used for acquiring a second audio information set corresponding to the first target sub-image, wherein the second audio information set comprises a plurality of audio information, and the plurality of audio information included in the second audio information set respectively correspond to the plurality of second sub-images. When a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played.
When the first target sub-image is selected, the tag information of the first target sub-image can be acquired, and then a second audio information set is acquired according to the tag information, wherein the second audio information set comprises audio information corresponding to all second sub-images. And after the second audio playing event is triggered, obtaining triggered position information, and then determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images according to the position information. And when the second target sub-image is clicked, playing the audio information corresponding to the second sub-image. For example, if a second sub-image including a tail in a first sub-image including a tiger is triggered, corresponding audio information, such as a chinese pronunciation of the tail, is played. Thus, the positions of the tiger can be known.
According to the audio playing device provided by the embodiment of the application, the preset image is obtained and comprises a plurality of first sub-images; when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images; the first target sub-image is magnified and displayed, audio information corresponding to the first target sub-image is played, the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additional information related to the second sub-images is additionally displayed; when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played. The audio playing function is richer, the corresponding audio information can be played by triggering the first sub-image in the preset image, meanwhile, the corresponding audio information can be displayed in an amplifying mode, the additional information can be displayed more clearly, more detailed contents can be displayed, the additional information can be displayed, and richer contents can be provided.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
In the embodiment of the present application, the audio playing apparatus and the audio playing method in the above embodiments belong to the same concept, and any method provided in the embodiment of the audio playing method may be run on the audio playing apparatus, and a specific implementation process thereof is detailed in the embodiment of the audio playing method, and is not described herein again.
The embodiment of the application also provides the electronic equipment. Referring to fig. 14, the electronic device 600 includes a processor 601 and a memory 602. The processor 601 is electrically connected to the memory 602.
The processor 600 is a control center of the electronic device 600, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device 600 by running or loading a computer program stored in the memory 602, and calls data stored in the memory 602, and processes the data, thereby performing overall monitoring of the electronic device 600.
The memory 602 may be used for storing software programs and units, and the processor 601 executes various functional applications and data processing by running the computer programs and units stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
In the embodiment of the present application, the processor 601 in the electronic device 600 loads instructions corresponding to one or more processes of the computer program into the memory 602 according to the following steps, and the processor 601 runs the computer program stored in the memory 602, thereby implementing various functions as follows:
acquiring a preset image, wherein the preset image comprises a plurality of first sub-images;
when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images;
the first target sub-image is magnified and displayed, audio information corresponding to the first target sub-image is played, the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additional information related to the second sub-images is additionally displayed;
when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played.
In some embodiments, the processor 601 is further configured to perform the following steps:
acquiring display parameters of the first target sub-image after amplification display;
according to the display parameters, obtaining a substitute image, wherein the resolution of the substitute image is higher than that of the first target sub-image, and the substitute image comprises a plurality of second sub-images;
and replacing the replacing image with the enlarged and displayed first target sub-image.
In some embodiments, the processor 601 is further configured to perform the following steps:
acquiring a substitute image and display parameters of the substitute image according to the first target sub-image;
amplifying and displaying the first target sub-image according to the display parameters of the alternative image;
and after the first target sub-image is magnified and displayed, replacing the magnified and displayed first target sub-image with the substitute image.
In some embodiments, the processor 601 is further configured to perform the following steps:
acquiring display parameters of the first target sub-image after amplification display;
according to the display parameters, the trigger area corresponding to the first target sub-image after being amplified and displayed is divided again to form a plurality of second sub-images;
the hidden information to be hidden is displayed to form additional information.
In some embodiments, the processor 601 is further configured to perform the following steps:
when a first audio playing event is triggered, determining trigger coordinates of a preset image, wherein a plurality of first sub-images have different coordinate sets;
and determining a first target sub-image corresponding to the first audio playing event from the plurality of first sub-images according to the trigger coordinate and the coordinate set.
In some embodiments, the processor 601 is further configured to perform the following steps:
acquiring a first audio information set corresponding to a preset image according to the preset image, wherein the first audio information set comprises a plurality of pieces of audio information, and the plurality of pieces of audio information included in the first audio information set respectively correspond to the plurality of first sub-images;
when a first audio playing event is triggered, audio information corresponding to the first target sub-image is obtained according to the triggering coordinates;
and acquiring a second audio information set corresponding to the first target sub-image, wherein the second audio information set comprises a plurality of pieces of audio information, and the plurality of pieces of audio information included in the second audio information set respectively correspond to the plurality of second sub-images.
In some embodiments, the processor 601 is further configured to perform the following steps:
determining the area range of the second sub-image;
additional information associated with the second sub-image is displayed in an area.
In some embodiments, the processor 601 is further configured to perform the following steps:
magnifying and displaying the second target sub-image;
acquiring a dynamic image corresponding to the second target sub-image;
and playing the dynamic image and the audio information corresponding to the dynamic image.
As can be seen from the above, in the electronic device provided in the embodiment of the application, the preset image is obtained, and the preset image includes a plurality of first sub-images; when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images; the first target sub-image is magnified and displayed, audio information corresponding to the first target sub-image is played, the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additional information related to the second sub-images is additionally displayed; when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played. The audio playing function is richer, the corresponding audio information can be played by triggering the first sub-image in the preset image, meanwhile, the corresponding audio information can be displayed in an amplifying mode, the additional information can be displayed more clearly, more detailed contents can be displayed, the additional information can be displayed, and richer contents can be provided.
Referring also to fig. 15, in some embodiments, the electronic device 600 may further include: a display 603, a radio frequency circuit 604, an audio circuit 605, and a power supply 606. The display 603, the rf circuit 604, the audio circuit 605 and the power supply 606 are electrically connected to the processor 601, respectively.
The display 603 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The Display 603 may include a Display panel, and in some embodiments, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 604 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices through wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 605 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone.
The power supply 606 may be used to power various components of the electronic device 600. In some embodiments, the power supply 606 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 15, the electronic device 600 may further include a camera, a bluetooth unit, and the like, which are not described in detail herein.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the application program management and control method in any one of the above embodiments, for example: according to the audio playing method, the audio playing device, the storage medium and the electronic equipment, the preset image is obtained, and the preset image comprises a plurality of first sub-images; when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images; the first target sub-image is magnified and displayed, audio information corresponding to the first target sub-image is played, the magnified and displayed first target sub-image comprises a plurality of second sub-images, and additional information related to the second sub-images is additionally displayed; when a second audio playing event is triggered, a second target sub-image corresponding to the second audio playing event is determined from the plurality of second sub-images, and audio information corresponding to the second target sub-image is played.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the audio playing method of the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process for implementing the audio playing method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, the computer program can be stored in a computer readable storage medium, such as a memory of the electronic device, and executed by at least one processor in the electronic device, and the process of executing the computer program can include, for example, the process of the embodiment of the audio playing method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
For the audio playing device of the embodiment of the present application, each functional unit may be integrated into one processing chip, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing describes in detail an audio playing method, an audio playing apparatus, a storage medium, and an electronic device provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principles and embodiments of the present application, and the description of the foregoing embodiments is only used to help understand the method and the core ideas 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 (14)

1. An audio playing method is applied to electronic equipment, and is characterized in that the electronic equipment is a mobile terminal, the mobile terminal comprises a camera, and the method comprises the following steps:
acquiring a picture shot by the camera as a preset image, wherein the preset image comprises a plurality of first sub-images;
when a first audio playing event is triggered, determining a first target sub-image corresponding to the first audio playing event from the plurality of first sub-images;
amplifying and displaying the first target subimage, playing audio information corresponding to the first target subimage, and acquiring display parameters of the amplified and displayed first target subimage;
according to the display parameters, the trigger area corresponding to the enlarged and displayed first target sub-image is divided again to form a plurality of second sub-images;
displaying hidden information to form additional information associated with the second sub-image, wherein the hidden information is a font covered by background color or white when the preset image is displayed;
when a second audio playing event is triggered, determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images, and playing audio information corresponding to the second target sub-image.
2. The audio playback method according to claim 1,
after the display parameters of the enlarged and displayed first target sub-image are acquired, the method further includes:
according to the display parameters, obtaining a substitute image, wherein the resolution of the substitute image is higher than that of the first target sub-image, and the substitute image comprises a plurality of second sub-images;
and replacing the replacing image with the enlarged and displayed first target sub-image.
3. The audio playing method according to claim 1, wherein the step of displaying the first target sub-image in an enlarged manner comprises:
acquiring a substitute image and display parameters of the substitute image according to the first target sub-image;
amplifying and displaying the first target sub-image according to the display parameters of the alternative image;
and after the first target sub-image is magnified and displayed, replacing the magnified and displayed first target sub-image with the substitute image.
4. The audio playing method according to claim 1, wherein the step of determining, when a first audio playing event is triggered, a first target sub-image corresponding to the first audio playing event from among the plurality of first sub-images comprises:
when a first audio playing event is triggered, determining triggering coordinates of the preset image, wherein the plurality of first sub-images have different coordinate sets;
and determining a first target sub-image corresponding to the first audio playing event from a plurality of first sub-images according to the trigger coordinate and the coordinate set.
5. The audio playing method according to claim 4, wherein the method further comprises:
acquiring a first audio information set corresponding to the preset image according to the preset image, wherein the first audio information set comprises a plurality of pieces of audio information, and the plurality of pieces of audio information included in the first audio information set respectively correspond to the plurality of first sub-images;
when a first audio playing event is triggered, audio information corresponding to the first target sub-image is obtained according to the trigger coordinate;
and acquiring a second audio information set corresponding to the first target sub-image, wherein the second audio information set comprises a plurality of pieces of audio information, and the plurality of pieces of audio information included in the second audio information set respectively correspond to the plurality of second sub-images.
6. The audio playing method according to claim 1, wherein the hidden information is displayed to form additional information associated with the second sub-image, and the hidden information is hidden after a font covered by a background color or white when the preset image is displayed, further comprising:
determining the area range of the second sub-image;
and additionally displaying the additional information associated with the second sub-image in the area range.
7. The audio playing method according to claim 1, wherein after the step of determining a second target sub-image corresponding to the second audio playing event from the plurality of second sub-images and playing the audio information corresponding to the second target sub-image, the method further comprises:
acquiring a dynamic image corresponding to the second target sub-image;
and playing the dynamic image and the audio information corresponding to the dynamic image.
8. The utility model provides an audio playing device, is applied to electronic equipment, its characterized in that, electronic equipment is mobile terminal, mobile terminal includes the camera, the device includes:
the acquisition unit is used for acquiring a picture shot by the camera as a preset image, and the preset image comprises a plurality of first sub-images;
the determining unit is used for determining a first target sub-image corresponding to a first audio playing event from the plurality of first sub-images when the first audio playing event is triggered;
the amplification playing unit is used for amplifying and displaying the first target subimage, playing audio information corresponding to the first target subimage and acquiring display parameters of the amplified and displayed first target subimage; according to the display parameters, the trigger area corresponding to the enlarged and displayed first target sub-image is divided again to form a plurality of second sub-images; displaying hidden information to form additional information associated with the second sub-image, wherein the hidden information is a font covered by background color or white when the preset image is displayed;
and the determining and playing unit is used for determining a second target sub-image corresponding to a second audio playing event from the plurality of second sub-images and playing audio information corresponding to the second target sub-image when the second audio playing event is triggered.
9. The audio playback device according to claim 8, wherein the amplification playback unit comprises:
the display parameter acquisition subunit is used for acquiring the display parameters of the amplified and displayed first target sub-image;
a substitute image obtaining subunit, configured to obtain a substitute image according to the display parameter, where the resolution of the substitute image is higher than that of the first target sub-image, and the substitute image includes a plurality of second sub-images;
and the replacing subunit is used for replacing the enlarged and displayed first target sub-image with the replacing image.
10. The audio playback device according to claim 8, wherein the amplification playback unit comprises:
the alternative image acquisition subunit is used for acquiring an alternative image and display parameters of the alternative image according to the first target sub-image;
the magnification display subunit is used for magnifying and displaying the first target sub-image according to the display parameters of the alternative image;
and the replacing subunit is used for replacing the magnified and displayed first target sub-image with the substitute image after the magnified and displayed first target sub-image is magnified and displayed.
11. The audio playback apparatus of claim 8, wherein the determining unit comprises:
a coordinate set obtaining subunit, configured to determine a trigger coordinate of the preset image when a first audio playing event is triggered, where the plurality of first sub-images have different coordinate sets;
and the determining subunit is configured to determine, according to the trigger coordinate and the coordinate set, a first target sub-image corresponding to the first audio playing event from the plurality of first sub-images.
12. The audio playback device of claim 11,
the acquiring unit is further configured to acquire a first audio information set corresponding to the preset image according to the preset image, where the first audio information set includes multiple pieces of audio information, and the multiple pieces of audio information included in the first audio information set correspond to the multiple first sub-images respectively;
the determining unit is further configured to, when a first audio playing event is triggered, acquire audio information corresponding to the first target sub-image according to the trigger coordinate;
the amplification playing unit is further configured to obtain a second audio information set corresponding to the first target sub-image, where the second audio information set includes multiple pieces of audio information, and the multiple pieces of audio information included in the second audio information set correspond to the multiple second sub-images, respectively.
13. A storage medium having stored thereon a computer program, characterized in that, when the computer program runs on a computer, it causes the computer to execute the audio playback method according to any one of claims 1 to 7.
14. An electronic device comprising a processor and a memory, the memory storing a computer program, wherein the processor is configured to execute the audio playback method according to any one of claims 1 to 7 by calling the computer program.
CN201711085768.3A 2017-11-07 2017-11-07 Audio playing method and device, storage medium and electronic equipment Expired - Fee Related CN107895006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711085768.3A CN107895006B (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
CN201711085768.3A CN107895006B (en) 2017-11-07 2017-11-07 Audio playing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107895006A CN107895006A (en) 2018-04-10
CN107895006B true CN107895006B (en) 2021-03-02

Family

ID=61804197

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN107895006B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309762B (en) * 2018-11-30 2021-08-10 努比亚技术有限公司 Message processing method, device, mobile terminal and storage medium
CN111596841B (en) * 2020-04-28 2021-09-07 维沃移动通信有限公司 Image display method and electronic equipment
CN112052358A (en) * 2020-09-07 2020-12-08 北京字节跳动网络技术有限公司 Method, apparatus, electronic device and computer readable medium for displaying image
CN112188115B (en) * 2020-09-29 2023-10-17 咪咕文化科技有限公司 Image processing method, electronic equipment and storage medium
CN113672193B (en) * 2021-08-23 2024-05-14 维沃移动通信有限公司 Audio data playing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015115701A1 (en) * 2014-02-03 2015-08-06 이두한 Multimedia learning material for foreign language
CN105005595A (en) * 2015-06-30 2015-10-28 广东欧珀移动通信有限公司 Sound playing method, mobile terminal, server and system
CN206388355U (en) * 2016-07-26 2017-08-08 杭州顶尖宝贝教育科技有限公司 A kind of Aduio-visual language learning machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015115701A1 (en) * 2014-02-03 2015-08-06 이두한 Multimedia learning material for foreign language
CN105005595A (en) * 2015-06-30 2015-10-28 广东欧珀移动通信有限公司 Sound playing method, mobile terminal, server and system
CN206388355U (en) * 2016-07-26 2017-08-08 杭州顶尖宝贝教育科技有限公司 A kind of Aduio-visual language learning machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《金状元V3儿童点读机幼儿童学***板小天才》;小狐狸202884108;《搜狐视频》;20140104;视频时间00:00-09:24 *
《金状元婴幼儿童触屏点读机早教机学***板宝贝电脑 儿童节礼品》;1320551911;《爱奇艺》;20141011;视频时间00:00-09:24 *

Also Published As

Publication number Publication date
CN107895006A (en) 2018-04-10

Similar Documents

Publication Publication Date Title
CN107895006B (en) Audio playing method and device, storage medium and electronic equipment
CN107369197B (en) Picture processing method, device and equipment
CN108416825B (en) Dynamic graph generation device, method and computer readable storage medium
JP7359920B2 (en) Image processing method and flexible screen terminal
US8595638B2 (en) User interface, device and method for displaying special locations on a map
JP2013502861A (en) Contact information input method and system
KR101756042B1 (en) Method and device for input processing
CN107885823B (en) Audio information playing method and device, storage medium and electronic equipment
CN111586464B (en) Content display method, device, equipment and storage medium based on media information stream
US10013156B2 (en) Information processing apparatus, information processing method, and computer-readable recording medium
WO2019120013A1 (en) Video editing method and apparatus, and smart mobile terminal
US20160203628A1 (en) Information processing device editing map acquired from server
US20230117213A1 (en) Page display method and electronic device
US20150103099A1 (en) Electronic device
CN111127595A (en) Image processing method and electronic device
JP2018506082A (en) Font addition method, apparatus, program, and recording medium
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN112416199A (en) Control method and device and electronic equipment
CN111223166B (en) Image display method, device, electronic equipment and medium
JP2007219761A (en) Image classification display device and image classification display program
CN112162814A (en) Image display method and device and electronic equipment
CN112416486A (en) Information guiding method, device, terminal and storage medium
CN107862728B (en) Picture label adding method and device and computer readable storage medium
CN115454365A (en) Picture processing method and device, electronic equipment and medium
CN115016686A (en) File selection method and device, electronic equipment and readable 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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210302

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