CN106341546B - A kind of playback method of audio, device and mobile terminal - Google Patents

A kind of playback method of audio, device and mobile terminal Download PDF

Info

Publication number
CN106341546B
CN106341546B CN201610866515.9A CN201610866515A CN106341546B CN 106341546 B CN106341546 B CN 106341546B CN 201610866515 A CN201610866515 A CN 201610866515A CN 106341546 B CN106341546 B CN 106341546B
Authority
CN
China
Prior art keywords
mobile terminal
audio
playing
audio data
mode switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610866515.9A
Other languages
Chinese (zh)
Other versions
CN106341546A (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 CN201610866515.9A priority Critical patent/CN106341546B/en
Publication of CN106341546A publication Critical patent/CN106341546A/en
Application granted granted Critical
Publication of CN106341546B publication Critical patent/CN106341546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a kind of playback method of audio, device and mobile terminals.The described method includes: generating first mode switching command when detecting that earphone accesses current mobile terminal;The first mode switching command is sent to Intelligent target speaker, so that the Intelligent target speaker stops playing audio-fequency data according to the first mode switching command and audio data is sent to current mobile terminal;Receive the audio data that the Intelligent target speaker is sent;The audio playing apparatus of control current mobile terminal passes through the earphone playing audio data.Technical solution provided in an embodiment of the present invention, the music data at intelligent sound box end is played by the earphone of mobile terminal, music in intelligent sound box can not be heard by solving the problems, such as in certain scenes that user is inconvenient to pass through when putting audio data outside intelligent sound box, and the user experience is improved.

Description

A kind of playback method of audio, device and mobile terminal
Technical field
The present embodiments relate to audio play-back technology more particularly to a kind of playback methods of audio, device and movement eventually End.
Background technique
Intelligent sound box can be interacted with mobile terminal, and relative to traditional speaker, the user experience is improved.
Intelligent sound box in the prior art can be established with mobile terminal and is wirelessly connected, and user can be by right on mobile terminal The application program answered controls intelligent sound box.The fashionable appearance and audio of usual intelligent sound box are preferable, can bring user Good audiovisual experience.But under special screne, such as the late into the night, it rests to leave other people alone, user can not then pass through intelligent sound Case plays music, causes user that cannot listen at any time the music in intelligent sound box according to oneself hobby, reduces user experience.
Summary of the invention
The present invention provides the playback method, device and mobile terminal of a kind of audio, so that the music data at intelligent sound box end It can be played by the earphone of mobile terminal, promote user experience.
In a first aspect, the embodiment of the invention provides a kind of playback methods of audio, which comprises
When detecting that earphone accesses current mobile terminal, first mode switching command is generated;
The first mode switching command is sent to Intelligent target speaker, so that the Intelligent target speaker is according to First mode switching command stops playing audio-fequency data and audio data is sent to current mobile terminal;
Receive the audio data that the Intelligent target speaker is sent;
The audio playing apparatus of control current mobile terminal passes through the earphone playing audio data.
Second aspect, the embodiment of the invention also provides a kind of playback methods of audio, which comprises
When receiving the first mode switching command of mobile terminal transmission, the audio for closing current intelligent sound box plays dress It sets;
The audio data locally decompressed is sent to the mobile terminal.
The third aspect, the embodiment of the invention also provides a kind of playing devices of audio, are configured in mobile terminal, described Device includes:
First directive generation module, for when detecting that earphone accesses current mobile terminal, generating first mode switching Instruction;
First instruction sending module, for the first mode switching command to be sent to Intelligent target speaker, so that institute Intelligent target speaker is stated to stop playing audio-fequency data according to the first mode switching command and be sent to audio data currently Mobile terminal;
Data reception module, the audio data sent for receiving the Intelligent target speaker;
Playing control module, the audio playing apparatus for controlling current mobile terminal play the sound by the earphone Frequency evidence.
Fourth aspect, the embodiment of the invention also provides a kind of playing devices of audio, are configured in intelligent sound box, described Device includes:
Device closedown module, for closing current intelligence when receiving the first mode switching command of mobile terminal transmission The audio playing apparatus of energy speaker;
Data transmission blocks, for the audio data locally decompressed to be sent to the mobile terminal.
5th aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes third aspect institute The playing device for the audio stated.
Technical solution provided in an embodiment of the present invention, by generating the when detecting that earphone accesses current mobile terminal The instruction of one pattern switching, is sent to Intelligent target speaker for first mode switching command, so that Intelligent target speaker is according to first Pattern switching instruction stops playing audio-fequency data and audio data is sent to current mobile terminal, receives Intelligent target speaker hair The audio data sent, and the audio playing apparatus for controlling current mobile terminal passes through earphone playing audio-fequency data, so that intelligent sound The music data at case end can be played by the earphone of mobile terminal, and solving user in certain scenes is inconvenient to pass through intelligent sound The problem of can not hearing music in intelligent sound box when putting audio data outside case, the user experience is improved.
Detailed description of the invention
In order to more clearly illustrate the technical scheme of the exemplary embodiment of the present invention, below to required in description embodiment The attached drawing to be used does a simple introduction.Obviously, the attached drawing introduced is present invention a part of the embodiment to be described Attached drawing, rather than whole attached drawings without creative efforts, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow diagram of the playback method for the audio that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the playback method of audio provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram of the playing device for the audio that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of the playing device for the audio that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the mobile terminal that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow diagram of the playback method for the audio that the embodiment of the present invention one provides.The present embodiment is applicable to Music in user's intelligent sound box to be listened to, but be inconvenient to pass through the scene put outside intelligent sound box, the playback method of the audio It can be executed by the playing device of audio.The device can be realized by way of hardware and/or software, and may be provided at mobile whole In end.
Referring to Fig. 1, the playback method of the audio be can specifically include:
Step 110, detect earphone access current mobile terminal when, generate first mode switching command.
It illustratively, can also include: the target intelligence for detecting user before detecting earphone access current mobile terminal When energy speaker incoming instruction, the connection relationship with the Intelligent target speaker is established.
Wherein, current mobile terminal refers to that the mobile terminal of user's current operation, Intelligent target speaker refer to currently movement eventually Hold the intelligent sound box of connection.Optionally, Intelligent target speaker can establish connection by wireless network and current mobile terminal and close System.
User can control Intelligent target speaker by current mobile terminal, for example, control Intelligent target speaker into The adjusting of row volume, or control intelligent sound box play specific audio data etc..It should be noted that current mobile terminal only conduct The control terminal of Intelligent target speaker, what is connect with the server end of storage audio data is Intelligent target speaker.Intelligent target sound Case receives the various control instructions of current mobile terminal, and carries out corresponding operation according to the control instruction content parsed.
The first mode switching command is sent to Intelligent target speaker by step 120, so that the Intelligent target speaker Stop playing audio-fequency data according to the first mode switching command and audio data is sent to current mobile terminal.
When user plays music using intelligent sound box, the operative scenario of intelligent sound box can be caused to become for some reason Change, for example, certain student's noon plays music using intelligent sound box in dormitory, house friend returns to dormitory lunch break, to leave house alone Friend's rest, then the operative scenario of intelligent sound box is converted to from suitable broadcasting and is not easy to play, and closes at this point, user is typically only capable to selection Intelligent sound box is closed, but this midway stops causing user experience to reduce the case where broadcasting.To solve the above problems, in the present embodiment Current mobile terminal after detecting that user is inserted into earphone, generate control Intelligent target speaker and stop playing and transmit and does not play Audio data to current mobile terminal instruction so that can continue to by the music that Intelligent target speaker plays It is played in the earphone of current mobile terminal.
Step 130 receives the audio data that the Intelligent target speaker is sent.
Audio data is that the machine transplanting of rice of current mobile terminal middle ear enters in preceding Intelligent target speaker audio file being played on not The audio data of broadcasting.
Step 140, the audio playing apparatus for controlling current mobile terminal pass through the earphone playing audio data.
It is played it should be noted that current mobile terminal controls audio playing apparatus when receiving audio data by earphone Music, to guarantee continuity that audio data plays in current mobile terminal and Intelligent target speaker.
Optionally, control the audio playing apparatus of current mobile terminal by the earphone playing audio data it Afterwards, it can also include: the play time for detecting the audio playing apparatus of the current mobile terminal, determine described play time etc. When preset time, the audio playing apparatus of the current mobile terminal is closed.
The mode played in limited time allows users to freely set music duration, avoids music addiction phenomenon, reaches To the beneficial effect that loosens and will not delay other arrangements in due course.
Further, the playback method of the present embodiment sound intermediate frequency can also include: to detect that the earphone is detached from when Forward When dynamic terminal, second mode switching command is generated, the second mode switching command is sent to Intelligent target speaker, so that institute Intelligent target speaker is stated to stop sending the audio data according to the second mode switching command and start to play the audio Data.
When the operative scenario of current intelligent sound box is from when being not easy to play conversion for convenience of playing, user can be by by earphone The mode for pulling away current mobile terminal makes current mobile terminal generate second mode switching command, and control Intelligent target speaker stops Audio data is sent to current mobile terminal, and starts to play remaining audio data.
In the present embodiment, current mobile terminal playing audio-fequency data is first music play mode, Intelligent target speaker It is the second music playing mode when playing audio-fequency data.It should be noted that in the handoff procedure of music playing mode, audio Data continuously play.Illustratively, Intelligent target speaker under the control of current mobile terminal from server end download to Audio file is played, optionally, which can be compressed format, and Intelligent target speaker locally decompresses the audio to be played File, and start to play the audio data obtained after decompression.Current mobile terminal generates first mode after detecting earphone insertion Switching command is simultaneously sent to Intelligent target speaker, and Intelligent target speaker stops playing audio number according to first mode switching command According to, and the audio data not played sequence is sent to current mobile terminal.Current mobile terminal passes through ear according to reception sequence The audio data received is put in machine sowing.Further, second mode is generated when current mobile terminal detects that earphone is detached to cut It changing and instructs and be sent to Intelligent target speaker, Intelligent target speaker stops sending audio data according to second mode switching command, And starting played in order remaining audio data, current mobile terminal does not receive audio data, no longer plays.The above process passes through Instant broadcasting of the audio data in current mobile terminal ensure that audio data in current mobile terminal and Intelligent target speaker The continuity of middle broadcasting avoids after earphone is detached from and there is the audio data for having received but not played in current mobile terminal, into And the discontinuous problem of music played in the music and current mobile terminal for causing Intelligent target speaker to play, improve user Experience.
Technical solution provided in this embodiment, by generating the first mould when detecting that earphone accesses current mobile terminal First mode switching command is sent to Intelligent target speaker by formula switching command, so that Intelligent target speaker is according to first mode Switching command stops playing audio-fequency data and audio data is sent to current mobile terminal, receives what Intelligent target speaker was sent Audio data, and the audio playing apparatus for controlling current mobile terminal passes through earphone playing audio-fequency data, so that intelligent sound box end Music data can be played by the earphone of mobile terminal, solving user in certain scenes is inconvenient to pass through outside intelligent sound box The problem of music in intelligent sound box can not be heard when putting audio data, the user experience is improved.
Embodiment two
Fig. 2 is the flow diagram of the playback method of audio provided by Embodiment 2 of the present invention.The present embodiment is applicable to Music in user's intelligent sound box to be listened to, but be inconvenient to pass through the scene put outside intelligent sound box, the playback method of the audio It can be executed by the playing device of audio.The device can be realized by way of hardware and/or software, and may be provided at intelligent sound In case.
Referring to fig. 2, the playback method of the audio can specifically include:
Step 210, receive mobile terminal transmission first mode switching command when, close the audio of current intelligent sound box Playing device.
Current intelligent sound box refers to that user is passing through the intelligent sound box that mobile terminal is controlled.Current intelligent sound box and clothes It is engaged in the connection of device end, the audio file that can be stored in download server end.The type of specific downloading audio file is according to receiving The control instruction content of mobile terminal determines.
Optionally, it before current intelligent sound box receives the first mode switching command that mobile terminal is sent, can also wrap It includes: receiving the play instruction that the mobile terminal is sent, corresponding compression sound is downloaded from server end according to the play instruction Frequency file, it is local to decompress the compacted voice file, the audio data is obtained, the audio for controlling current intelligent sound box plays dress Set playing audio data.
Illustratively, current intelligent sound box receives the play instruction of mobile terminal transmission, and carries out to the play instruction Parsing obtains the title A of audio file to be played in play instruction, then finds title and the matched pressure of A in server end Contracting audio file, downloads the compacted voice file, and the audio playing apparatus that current intelligent sound box is controlled after local decompression plays solution The audio data obtained after pressure.
The audio data locally decompressed is sent to the mobile terminal by step 220.
The audio data that current intelligent sound box locally decompresses generally falls into one or more complete audio files, to guarantee The continuity of music in play mode handoff procedure, current intelligent sound box is with specific speed by audio file to be played sequence It is sent to mobile terminal.Illustratively, which can be identical as audio frequency of mobile terminal data playback speed.
Technical solution provided in this embodiment is switched by the first mode for receiving mobile terminal transmission in intelligent sound box When instruction, the audio playing apparatus of current intelligent sound box is closed, and the audio data locally decompressed is sent to the movement eventually End, so that certain user is inconvenient to that intelligent sound box can be listened to by mobile terminal under the scene for using intelligent sound box to play music outside In music, the user experience is improved.
Embodiment three
Fig. 3 is the structural schematic diagram of the playing device for the audio that the embodiment of the present invention three provides.Sound provided in this embodiment The playing device of frequency is settable in the terminal.Referring to Fig. 3, the specific structure of the playing device of the audio be can be such that
First directive generation module 310 is cut for when detecting that earphone accesses current mobile terminal, generating first mode Change instruction;
First instruction sending module 320, for the first mode switching command to be sent to Intelligent target speaker, so that The Intelligent target speaker stops playing audio-fequency data and is sent to audio data to work as according to the first mode switching command Preceding mobile terminal;
Data reception module 330, the audio data sent for receiving the Intelligent target speaker;
Playing control module 340, the audio playing apparatus for controlling current mobile terminal play institute by the earphone State audio data.
In the present embodiment, described device can also include:
Second directive generation module, for generating second mode when detecting that the earphone is detached from current mobile terminal Switching command;
Second instruction sending module, for the second mode switching command to be sent to Intelligent target speaker, so that institute Intelligent target speaker is stated to stop sending the audio data according to the second mode switching command and start to play the audio Data.
In the present embodiment, described device can also include:
Relationship establishes module, for detecting the target intelligence of user before detecting earphone access current mobile terminal When energy speaker incoming instruction, the connection relationship with the Intelligent target speaker is established.
In the present embodiment, described device can also include:
Time detection module passes through described in earphone broadcasting for the audio playing apparatus in control current mobile terminal After audio data, the play time of the audio playing apparatus of the current mobile terminal is detected;
Stopping modular is played, it is described current mobile whole for closing when determining that the play time is equal to preset time The audio playing apparatus at end.
The playing device of audio provided in this embodiment, with provided by any embodiment of the invention by mobile terminal execution The playback method of audio belong to same inventive concept, can be performed provided by any embodiment of the invention by mobile terminal execution Audio playback method, have corresponding functional module and beneficial effect.The technology of detailed description is not thin in the present embodiment Section, reference can be made to the playback method for the audio by mobile terminal execution that any embodiment of that present invention provides.
Example IV
Fig. 4 is the structural schematic diagram of the playing device for the audio that the embodiment of the present invention four provides.Sound provided in this embodiment The playing device of frequency may be provided in intelligent sound box.Referring to fig. 4, the specific structure of the playing device of the audio can be such that
Device closedown module 410, for closing current when receiving the first mode switching command of mobile terminal transmission The audio playing apparatus of intelligent sound box;
Data transmission blocks 420, for the audio data locally decompressed to be sent to the mobile terminal.
In the present embodiment, described device can also include:
Command reception module, for receive mobile terminal transmission first mode switching command before, described in reception The play instruction that mobile terminal is sent;
File download module, for downloading corresponding compacted voice file from server end according to the play instruction;
Data acquisition module decompresses the compacted voice file for local, obtains the audio data;
Data playing module, for controlling the audio playing apparatus playing audio data of current intelligent sound box.
The playing device of audio provided in this embodiment is executed with provided by any embodiment of the invention by intelligent sound box The playback method of audio belong to same inventive concept, can be performed and provided by any embodiment of the invention executed by intelligent sound box Audio playback method, have corresponding functional module and beneficial effect.The technology of detailed description is not thin in the present embodiment Section, reference can be made to the playback method for the audio executed by intelligent sound box that any embodiment of that present invention provides.
Embodiment five
A kind of mobile terminal is present embodiments provided, which may include the audio that the embodiment of the present invention three provides Playing device.Fig. 5 is the structural schematic diagram for the mobile terminal that the embodiment of the present invention five provides, as shown in figure 5, the mobile terminal 500 may include: memory 501,502, peripheral hardware central processing unit (Central Processing Unit, hereinafter referred to as CPU) Interface 503, RF (Radio Frequency, radio frequency) circuit 504, voicefrequency circuit 506, loudspeaker 511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devicess 510 and outside port 504, this A little components are communicated by one or more communication bus or signal wire 507.
It should be understood that illustrating the example that mobile terminal 500 is only mobile terminal, and mobile terminal 500 It can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated It is realized in the combination of hardware, software or hardware and software including integrated circuit.
It is just provided in this embodiment below to be described in detail for realizing the mobile terminal of information security control, the shifting Dynamic terminal takes the mobile phone as an example.
Memory 501, the memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memory 501 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU502 and deposited by Peripheral Interface 503, the Peripheral Interface 503 Reservoir 501.
I/O subsystem 509, the I/O subsystem 509 can be by the input/output peripherals in equipment, such as touch screen 502 (being equivalent to the screen in above-described embodiment) and other input/control devicess 510, are connected to Peripheral Interface 503.I/O subsystem 509 may include display controller 5091 and one or more input controllers for controlling other input/control devicess 510 5092.Wherein, one or more input controllers 5092 from other input/control devicess 510 receive electric signal or to other Input/control devices 510 sends electric signal, other input/control devicess 510 may include physical button (push button, rocker arm Button etc.), dial, slide switch, control stick, click idler wheel.It is worth noting that input controller 5092 can with it is following Any one connection: the indicating equipment of keyboard, infrared port, USB interface and such as mouse.
Touch screen 512, the touch screen 512 are the input interface and output interface between customer mobile terminal and user, Visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 5091 in I/O subsystem 509 receives electric signal from touch screen 512 or sends out to touch screen 512 Electric signals.Touch screen 512 detects the contact on touch screen, and the contact that display controller 5091 will test is converted to and is shown The interaction of user interface object on touch screen 512, i.e. realization human-computer interaction, the user interface being shown on touch screen 512 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 505 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 505 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 505 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 505 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506 is mainly used for receiving audio data from Peripheral Interface 503, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 511.
Loudspeaker 511 is reduced to sound for mobile phone to be passed through RF circuit 505 from the received voice signal of wireless network And the sound is played to user.
Power management chip 508, the hardware for being connected by CPU502, I/O subsystem and Peripheral Interface are powered And power management.
The executable following operation of CPU502 provided in an embodiment of the present invention:
When detecting that earphone accesses current mobile terminal, first mode switching command is generated;
The first mode switching command is sent to Intelligent target speaker, so that the Intelligent target speaker is according to First mode switching command stops playing audio-fequency data and audio data is sent to current mobile terminal;
Receive the audio data that the Intelligent target speaker is sent;
The audio playing apparatus of control current mobile terminal passes through the earphone playing audio data.
Method provided by the embodiment of the present invention one can be performed in above-mentioned mobile terminal, has the corresponding function mould of execution method Block and beneficial effect.The not technical detail of detailed description in the above-described embodiments, reference can be made to any embodiment of that present invention is provided Audio playback method.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (13)

1. a kind of playback method of audio characterized by comprising
When detecting that earphone accesses current mobile terminal, first mode switching command is generated;
The first mode switching command is sent to Intelligent target speaker, so that the Intelligent target speaker is according to described first Pattern switching instruction stops playing audio-fequency data and audio data is sent to current mobile terminal, and the audio data is described When Intelligent target speaker stops playing audio-fequency data according to the first mode switching command, Xiang Suoshu mobile terminal sequence is sent The audio data not played;
Receive the audio data that the Intelligent target speaker is sent;
The audio playing apparatus of control current mobile terminal passes through the earphone playing audio data.
2. the method according to claim 1, wherein further include:
When detecting that the earphone is detached from current mobile terminal, second mode switching command is generated;
The second mode switching command is sent to Intelligent target speaker, so that the Intelligent target speaker is according to described second Pattern switching instruction stops sending the audio data and starts playing audio data.
3. the method according to claim 1, wherein it is described detect earphone access current mobile terminal before, Further include:
When detecting the Intelligent target speaker incoming instruction of user, the connection relationship with the Intelligent target speaker is established.
4. the method according to claim 1, wherein the audio playing apparatus of the control current mobile terminal is logical It crosses after the earphone playing audio data, further includes:
Detect the play time of the audio playing apparatus of the current mobile terminal;
When determining that the play time is equal to preset time, the audio playing apparatus of the current mobile terminal is closed.
5. a kind of playback method of audio characterized by comprising
When receiving the first mode switching command of mobile terminal transmission, the audio playing apparatus of current intelligent sound box is closed;
The audio data sequence not played locally decompressed is sent to the mobile terminal.
6. according to the method described in claim 5, it is characterized in that, the first mode switching for receiving mobile terminal transmission Before instruction, further includes:
Receive the play instruction that the mobile terminal is sent;
Corresponding compacted voice file is downloaded from server end according to the play instruction;
It is local to decompress the compacted voice file, obtain the audio data;
Control the audio playing apparatus playing audio data of current intelligent sound box.
7. a kind of playing device of audio, is configured in mobile terminal characterized by comprising
First directive generation module, for generating first mode switching command when detecting that earphone accesses current mobile terminal;
First instruction sending module, for the first mode switching command to be sent to Intelligent target speaker, so that the mesh Mark intelligent sound box stops playing audio-fequency data according to the first mode switching command and audio data is sent to current movement Terminal, the audio data are the Intelligent target speaker according to first mode switching command stopping playing audio-fequency data When, the audio data of Xiang Suoshu mobile terminal sequence transmission not played;
Data reception module, the audio data sent for receiving the Intelligent target speaker;
Playing control module, the audio playing apparatus for controlling current mobile terminal play the audio number by the earphone According to.
8. device according to claim 7, which is characterized in that further include:
Second directive generation module, for when detecting that the earphone is detached from current mobile terminal, generating second mode switching Instruction;
Second instruction sending module, for the second mode switching command to be sent to Intelligent target speaker, so that the mesh Mark intelligent sound box stops sending the audio data and starts playing audio data according to the second mode switching command.
9. device according to claim 7, which is characterized in that further include:
Relationship establishes module, for detecting the Intelligent target sound of user before detecting earphone access current mobile terminal When case incoming instruction, the connection relationship with the Intelligent target speaker is established.
10. device according to claim 7, which is characterized in that further include:
Time detection module, for playing the audio by the earphone in the audio playing apparatus of control current mobile terminal After data, the play time of the audio playing apparatus of the current mobile terminal is detected;
Stopping modular is played, for closing the current mobile terminal when determining that the play time is equal to preset time Audio playing apparatus.
11. a kind of playing device of audio, is configured in intelligent sound box characterized by comprising
Device closedown module, for closing current intelligent sound when receiving the first mode switching command of mobile terminal transmission The audio playing apparatus of case;
Data transmission blocks, for the audio data sequence not played locally decompressed to be sent to the mobile terminal.
12. device according to claim 11, which is characterized in that further include:
Command reception module, for receiving the movement before the first mode switching command for receiving mobile terminal transmission The play instruction that terminal is sent;
File download module, for downloading corresponding compacted voice file from server end according to the play instruction;
Data acquisition module decompresses the compacted voice file for local, obtains the audio data;
Data playing module, for controlling the audio playing apparatus playing audio data of current intelligent sound box.
13. a kind of mobile terminal, which is characterized in that the playing device including the described in any item audios of claim 7-10.
CN201610866515.9A 2016-09-29 2016-09-29 A kind of playback method of audio, device and mobile terminal Active CN106341546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610866515.9A CN106341546B (en) 2016-09-29 2016-09-29 A kind of playback method of audio, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610866515.9A CN106341546B (en) 2016-09-29 2016-09-29 A kind of playback method of audio, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106341546A CN106341546A (en) 2017-01-18
CN106341546B true CN106341546B (en) 2019-06-28

Family

ID=57839608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610866515.9A Active CN106341546B (en) 2016-09-29 2016-09-29 A kind of playback method of audio, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106341546B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107182011B (en) * 2017-07-21 2024-04-05 深圳市泰衡诺科技有限公司上海分公司 Audio playing method and system, mobile terminal and WiFi earphone
CN107426443A (en) * 2017-09-22 2017-12-01 深圳市万普拉斯科技有限公司 Audio output switching method, equipment, mobile terminal and computer-readable storage medium
CN108495212A (en) * 2018-05-09 2018-09-04 惠州超声音响有限公司 A kind of system interacted with intelligent sound
CN109445739B (en) * 2018-09-30 2020-05-19 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and computer readable medium
CN110996308B (en) * 2019-12-10 2024-03-08 歌尔股份有限公司 Sound playing device, control method thereof, control device thereof and readable storage medium
CN112118472A (en) * 2020-09-04 2020-12-22 三星电子(中国)研发中心 Method and apparatus for playing multimedia
CN112637530A (en) * 2020-12-09 2021-04-09 深圳创维-Rgb电子有限公司 Bass and bass audio output method and device and television terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1850545A1 (en) * 2006-04-24 2007-10-31 Samsung Electronics Co., Ltd. Voice messaging method and mobile terminal supporting voice messaging in mobile messenger service
CN102739864A (en) * 2012-06-15 2012-10-17 惠州Tcl移动通信有限公司 Method for realizing wireless earphone function of television set and wireless communication equipment
CN104349242A (en) * 2013-08-08 2015-02-11 键吉科技股份有限公司 Sound system
CN105679350A (en) * 2016-01-11 2016-06-15 广东欧珀移动通信有限公司 Audio playing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1850545A1 (en) * 2006-04-24 2007-10-31 Samsung Electronics Co., Ltd. Voice messaging method and mobile terminal supporting voice messaging in mobile messenger service
CN102739864A (en) * 2012-06-15 2012-10-17 惠州Tcl移动通信有限公司 Method for realizing wireless earphone function of television set and wireless communication equipment
CN104349242A (en) * 2013-08-08 2015-02-11 键吉科技股份有限公司 Sound system
CN105679350A (en) * 2016-01-11 2016-06-15 广东欧珀移动通信有限公司 Audio playing method and device

Also Published As

Publication number Publication date
CN106341546A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN106341546B (en) A kind of playback method of audio, device and mobile terminal
CN107360458B (en) Play control method, device, storage medium and terminal
US20160006851A1 (en) Cellular telephone docking interface
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
CN108509176A (en) A kind of method, apparatus of playing audio-fequency data, storage medium and intelligent terminal
WO2017181365A1 (en) Earphone channel control method, related apparatus, and system
CN108024128B (en) Control method and device for Bluetooth music playing, terminal equipment and storage medium
CN109107158B (en) Sound effect processing method and device, electronic equipment and computer readable storage medium
CN106713653B (en) Audio and video playing control method and device and terminal
CN109273017A (en) Coding control method, device and electronic equipment
CN106686519B (en) The method, apparatus and terminal of the stereo pairing of audio-frequence player device
WO2013030736A1 (en) Docking system with automatic music playback via bluetooth
CN105407368A (en) Multimedia playing method, device and system
CN112929721A (en) Interaction control method and device, terminal, smart television and storage medium
CN108737648B (en) Music volume self-adaptive adjusting method, device, storage medium and terminal
CN111033614A (en) Volume adjusting method and device, mobile terminal and storage medium
CN103312380A (en) Bluetooth device and method for controlling bluetooth device
CN103686540A (en) Active wireless network sound equipment and use method thereof
CN105392032A (en) Method and apparatus for controlling multimedia playing
CN112689172B (en) Program playing method and device, set top box and storage medium
CN106506646A (en) The control method of playback equipment, device, mobile terminal and Play System
US20230370774A1 (en) Bluetooth speaker control method and system, storage medium, and mobile terminal
CN106407018B (en) Method and device for synchronizing personalized data and mobile terminal
CN111107226A (en) Volume control method applied to mobile terminal
CN106954111B (en) Bluetooth headset, Bluetooth headset system, audio content sending method and audio content receiving method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant