CN104281431B - The method and device that audio plays - Google Patents

The method and device that audio plays Download PDF

Info

Publication number
CN104281431B
CN104281431B CN201410475010.0A CN201410475010A CN104281431B CN 104281431 B CN104281431 B CN 104281431B CN 201410475010 A CN201410475010 A CN 201410475010A CN 104281431 B CN104281431 B CN 104281431B
Authority
CN
China
Prior art keywords
connection status
connection
terminal
audio
changed
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
CN201410475010.0A
Other languages
Chinese (zh)
Other versions
CN104281431A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410475010.0A priority Critical patent/CN104281431B/en
Publication of CN104281431A publication Critical patent/CN104281431A/en
Application granted granted Critical
Publication of CN104281431B publication Critical patent/CN104281431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to the method and device that a kind of audio plays, belong to electronic information technical field.The described method includes:When receiving the play signal of the transmission of the wearable device in default identification range, by current connection status by can not connection status be changed to can connection status;The data connection with terminal can established under connection status;By the data connection, audio broadcasting is carried out.The disclosure is when receiving the play signal of the transmission of the wearable device in default identification range, by current connection status by can not connection status be changed to can connection status, and the data connection with terminal can established under connection status, and then by data connection, carry out audio broadcasting.Due to being manually operated without user, you can establish data connection with terminal, therefore, the mode for playing audio is more convenient.

Description

The method and device that audio plays
Technical field
This disclosure relates to electronic information technical field, the method and device that more particularly to a kind of audio plays.
Background technology
With the development of electronic information technology, more and more mobile terminals with audio playing function enter into the life of people It is living, such as, smart mobile phone, tablet computer etc..User using these mobile terminals when carrying out audio broadcasting, in order to improve the sense of hearing Mobile terminal and speaker (soundbar) would generally be attached by experience, user, and play audio by means of speaker, so as to obtain Take higher audio experience.
Correlation technique when carrying out audio broadcasting, speaker by providing signal send button, when detect signal send by After button is triggered, the wireless devices such as bluetooth are opened so that terminal recognition goes out the speaker and establishes pairing connection with the sound equipment, into And audio broadcasting is carried out by the speaker.
During the disclosure is realized, inventor has found that correlation technique has at least the following problems:
Correlation technique is when carrying out audio broadcasting, due to needing user manually to trigger the signal send button on speaker, To open the wireless devices such as bluetooth, terminal is established pairing connection with speaker, cause correlation technique to play the mode of audio simultaneously It is inconvenient.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides the method and device that a kind of audio plays.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method that audio plays, this method include:
When receive the wearable device in default identification range transmission play signal when, by current connection status by Can not connection status be changed to can connection status;
The data connection with terminal can established under connection status;
By the data connection, audio broadcasting is carried out.
With reference to first aspect, it is described by current connection status in the first possible implementation of first aspect By can not connection status be changed to further include before connection status:
Receive the state change directive that the wearable device is sent;
Correspondingly, by current connection status by can not connection status be changed to can connection status, including:
According to the state change directive by current connection status by can not connection status be changed to can connection status.
With reference to first aspect, it is described to build under connection status in second of possible implementation of first aspect The vertical data connection with terminal, including:
Can be under connection status, connection request that receiving terminal is sent, and established and the end according to the connection request The data connection at end.
It is with reference to first aspect, described by the data connection in the third possible implementation of first aspect, After carrying out audio broadcasting, further include:
, will be current when not receiving the play signal that the wearable device is sent in the default identification range Connection status by can connection status be changed to can not connection status.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect In, it is described by current connection status by can connection status be changed to further include after connection status:
The data connection with the terminal is disconnected, and stops playing audio.
According to the second aspect of the embodiment of the present disclosure, there is provided the device that a kind of audio plays, the device include:
First change module, for when receive the wearable device in default identification range transmission play signal when, By current connection status by can not connection status be changed to can connection status;
Module is established, for the data connection with terminal can be established under connection status;
Playing module, for by the data connection, carrying out audio broadcasting.
With reference to second aspect, in the first possible implementation of second aspect, described device, further includes:
Receiving module, the state change directive sent for receiving the wearable device;
Correspondingly, it is described first change module, for according to the state change directive by current connection status by not Can connection status be changed to can connection status.
It is described to establish module in second of possible implementation of second aspect with reference to second aspect, including:
Receiving unit, for can be under connection status, connection request that receiving terminal is sent;
Unit is established, for establishing the data connection with the terminal according to the connection request.
With reference to second aspect, in the third possible implementation of second aspect, described device, further includes:
Second change module, broadcasting for the wearable device transmission is not received for working as in the default identification range During discharge signal, by current connection status by can connection status be changed to can not connection status.
With reference to the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect In, described device, further includes:
Module is disconnected, for disconnecting the data connection with the terminal;
Stopping modular, for stopping playing audio.
According to the third aspect of the embodiment of the present disclosure, there is provided the device that a kind of audio plays, the audio playing apparatus Including:
Processor;
The instruction that can perform for storing processor;
Wherein, the processor is configured as:
When receive the wearable device in default identification range transmission play signal when, by current connection status by Can not connection status be changed to can connection status;
The data connection with terminal can established under connection status;
By the data connection, audio broadcasting is carried out.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Receive the wearable device in default identification range transmission play signal when, by current connection status by Can not connection status be changed to can connection status, and the data connection with terminal can established, and then pass through number under connection status According to connection, audio broadcasting is carried out.Due to being manually operated without user, you can establish data connection with terminal, therefore, play audio Mode it is more convenient.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining the principle of the present invention together with specification.
Fig. 1 is the schematic diagram for the implementation environment that the audio according to an exemplary embodiment plays.
Fig. 2 is the flow chart for the method that a kind of audio according to an exemplary embodiment plays.
Fig. 3 is the flow chart for the method that a kind of audio according to an exemplary embodiment plays.
Fig. 4 is the structure diagram for the device that a kind of audio according to an exemplary embodiment plays.
Fig. 5 is the structure diagram for the device that a kind of audio according to an exemplary embodiment plays.
Fig. 6 is a kind of structure diagram of determining module according to an exemplary embodiment.
Fig. 7 is the structure diagram for the device that a kind of audio according to an exemplary embodiment plays.
Fig. 8 is the structure diagram for the device that a kind of audio according to an exemplary embodiment plays.
Fig. 9 is the block diagram for the device that a kind of audio according to an exemplary embodiment plays.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Please refer to Fig.1, the implementation environment involved by method played it illustrates the audio that the embodiment of the present disclosure provides Structure diagram.The implementation environment includes wearable device 101, speaker 102 and terminal 103.
Wherein, wearable device 101 can be dressing bracelet or watch etc., and the present embodiment is not to wearable device 101 Type makees specific restriction, which can configure just like temperature sensor, angular transducer etc. with to its carrier The measurement of different parameters is carried out, which possesses is led to by radio frequency method or network mode with other equipment The ability of letter.
Speaker 102 can be the speakers such as soundbar, and the present embodiment does not make specific limit to the product form of speaker 102 Fixed, which possesses the energy to communicate by the short-range communications such as bluetooth, radio frequency method or network mode with other equipment Power.
Terminal 103 can be mobile phone, tablet computer etc., and the present embodiment does not make specific restriction to the type of terminal 103, should Terminal 103 possesses the ability to communicate by radio frequency method or network mode with other equipment.
Above-mentioned wearable device 101 can be led to speaker 102 and terminal 103 by wireless network or cable network Letter, speaker 102 can be communicated with terminal 103 by wireless network or cable network.
With reference to the implementation environment shown in above-mentioned Fig. 1, Fig. 2 is that a kind of audio according to an exemplary embodiment plays The flow chart of method, as shown in Fig. 2, this method is used in the speaker with audio playing function, comprises the following steps.
In step 201, will be current when receiving the play signal of the transmission of the wearable device in default identification range Connection status by can not connection status be changed to can connection status.
As a kind of optional embodiment, by current connection status by can not connection status be changed to can connection status it Before, further include:
Receive the state change directive that wearable device is sent;
Correspondingly, by current connection status by can not connection status be changed to can connection status, including:
According to state change directive by current connection status by can not connection status be changed to can connection status.
In step 202, the data connection with terminal can established under connection status.
As a kind of optional embodiment, the data connection with terminal can established under connection status, including:
Can be under connection status, connection request that receiving terminal is sent, and the data with terminal are established according to connection request Connection.
In step 203, by data connection, audio broadcasting is carried out.
As a kind of optional embodiment, by data connection, after carrying out audio broadcasting, further include:
When not receiving the play signal of wearable device transmission in default identification range, by current connection status By can connection status be changed to can not connection status.
As a kind of optional embodiment, by current connection status by can connection status be changed to can not connection status it Afterwards, further include:
The data connection with terminal is disconnected, and stops playing audio.
The method that the embodiment of the present disclosure provides, is receiving the broadcasting letter of the transmission of the wearable device in default identification range Number when, by current connection status by can not connection status be changed to can connection status, and can under connection status, establish with eventually The data connection at end, and then by data connection, carry out audio broadcasting.Due to being manually operated without user, you can built with terminal Vertical data connection, therefore, the mode for playing audio is more convenient.
The method that the audio that embodiment shown in implementation environment and Fig. 2 with reference to shown in Fig. 1 provides plays, Fig. 3 is basis The flow chart for the method that a kind of audio shown in one exemplary embodiment plays, as shown in figure 3, this method is used to broadcast with audio In the speaker of playing function, comprise the following steps.
In step 301, will be current when receiving the play signal of the transmission of the wearable device in default identification range Connection status by can not connection status be changed to can connection status.
Wherein, when default identification range is communicated for speaker by radio frequency method or network mode with other equipment, The maximum communication scope that speaker communicates with other equipment.Wherein, it is related with the communication capacity of speaker to preset identification range, when When the communication capacity of speaker is stronger, it is relatively large to preset identification range;When the communication capacity of speaker is weaker, identification range is preset It is relatively small.Specifically, the size for presetting identification range can be using the identification distance of speaker as the circumference range of radius, this reality Apply example and specific limit is not made to the size for presetting identification range.The identification distance of speaker is 2 meters, 3 meters, 5 meters etc., the present embodiment Identification distance not to speaker makees specific limit.Wearable device also has certain communication capacity in the present embodiment, can Wearable device is communicated by sending broadcast singal in real time with other equipment, when the broadcast singal position that wearable device is sent When in the default identification range of speaker, speaker can receive the broadcast singal of wearable device transmission, and then be set with wearable It is standby to communicate;When the broadcast singal that wearable device is sent is located at outside the default identification range of speaker, speaker is difficult to receive The broadcast singal sent to wearable device, it more difficult to communicate with wearable device.
There is certain communication capacity by speaker in this present embodiment, when speaker is in connection status, in speaker Any terminal with communication capacity in default identification range may recognize that the speaker, and establish pairing connection therewith, and When the terminal that the terminal that pairing connection is established with speaker is trusted for non-user, pairing connection procedure not only results in unnecessary Resource consumption, and user may be caused to be stored in the data in speaker and be stolen, therefore, disappear to reduce the resource of speaker Consumption, while the security of the data stored in speaker is improved, in the present embodiment when user works without speaker, speaker is usual In can not connection status.Can not be under connection status, speaker be by closing bluetooth etc. by equipment, shielded communication ability, with Other-end is difficult to out speaker and establish pairing connection with the speaker.
Due to speaker under normal conditions be in can not connection status, can not under connection status users to trust terminal also very Hardly possible establish a connection with speaker, when speaker receive in default identification range wearable device transmission play signal it Afterwards, under the triggering of broadcast singal, speaker can communicate with wearable device.If user needs speaker to work at this time, user The state change directive that can be sent by wearable device to speaker, speaker are receiving the state change of wearable device transmission After instruction, according to state change directive can by current connection status by can not connection status be changed to can connection status.Its In, state change directive can be a string of symbols, code etc., and the present embodiment does not make the content of state change directive specific Restriction.
In step 302, can be under connection status, connection request that receiving terminal is sent.
When speaker be in can connection status when, speaker will open the communication equipment such as bluetooth so that other are with communication capacity Terminal may recognize that the speaker.If other terminals with communication capacity need to communicate with speaker, terminal can be to speaker Send connection request.Communicate to realize with terminal, the connection request that speaker sends receiving terminal.Wherein, connection please Content in asking includes but not limited to ID (Identification, identity) of the model of terminal, terminal etc., and the present embodiment is not right Content in connection request makees specific limit.
In step 303, the data connection with terminal is established according to connection request.
After the connection request that speaker receiving terminal is sent, data can be established with terminal according to connection request speaker and connected Connect.After data connection is established with terminal, speaker can receiving terminal send data.Wherein, the number that terminal is sent to speaker According to including but not limited to audio file etc., the content for the data that the present embodiment does not send terminal to speaker make specific limit.
In step 304, by data connection, audio broadcasting is carried out.
Established between terminal after data connection, by the data connection established with terminal, speaker can receiving terminal The audio file of transmission, and then play the audio file.For example, if speaker receives the audio of terminal transmission by data connection File is popular song, then speaker will play popular song;If speaker receives the audio text of terminal transmission by data connection Part is country song, then speaker will play country song.
It should be noted that in order to ensure the security of itself, speaker can by the real-time reception in default identification range The broadcast singal that wearable device is sent is to determine current connection status.The current connection status of speaker is set as shape can be connected State, if speaker receives the broadcast singal of wearable device transmission in default identification range, speaker will keep connection shape State;If speaker does not receive the play signal of wearable device transmission in default identification range, speaker can be by current company Connect state by can connection status be changed to can not connection status;Set current connection status as can not connection status, if speaker The broadcast singal of wearable device transmission is received in default identification range, then speaker can be by current connection status by that can not connect The state of connecing is changed to can connection status;If speaker does not receive the broadcasting letter of wearable device transmission in default identification range Number, then will keep can not connection status for speaker.
Current connection status for can connection status, if speaker does not receive wearable device in default identification range The play signal of transmission, speaker by current connection status by can connection status be changed to will also close after connection status Close the communication equipments such as bluetooth.By closing the disconnection of the communication equipments such as bluetooth and the data connection of terminal, and terminate and carried out with terminal Communication, and then stop carrying out audio broadcasting.
The method that the embodiment of the present disclosure provides, is receiving the broadcasting letter of the transmission of the wearable device in default identification range Number when, by current connection status by can not connection status be changed to can connection status, and can under connection status, establish with eventually The data connection at end, and then by data connection, carry out audio broadcasting.Due to being manually operated without user, you can built with terminal Vertical data connection, therefore, the mode for playing audio is more convenient.
Fig. 4 is a kind of audio playing apparatus schematic diagram according to an exemplary embodiment, which is used to perform State the audio frequency playing method that the embodiment shown in Fig. 2 or Fig. 3 provides.Referring to Fig. 4, which includes:First change module 401, Establish module 402 and playing module 403.
The first change module 401 is configured as receiving the broadcasting that the wearable device in default identification range is sent During signal, by current connection status by can not connection status be changed to can connection status;
This is established module 402 and is configured as that the data connection with terminal can be being established under connection status;
The playing module 403 is configured as, by data connection, carrying out audio broadcasting.
Referring to Fig. 5, the device, further includes:Receiving module 404.
The receiving module 404 is configured as receiving the state change directive that wearable device is sent;
Correspondingly, which is configured as current connection status according to state change directive by not Can connection status be changed to can connection status.
Referring to Fig. 6, module 402 is established, including:Receiving unit 4021 and establish unit 4022.
The receiving unit 4021 is configured as can be under connection status, connection request that receiving terminal is sent;
This is established unit 4022 and is configured as establishing the data connection with terminal according to connection request.
Referring to Fig. 7, the device, further includes:Second change module 405.
The second change module 405 is configured as not receiving broadcasting for wearable device transmission in default identification range During discharge signal, by current connection status by can connection status be changed to can not connection status.
Referring to Fig. 8, the device, further includes:Disconnect module 406 and stopping modular 407.
The disconnection module 406 is configured as disconnecting the data connection with terminal;
The stopping modular 407 is configured as stopping playing audio.
The device that the embodiment of the present disclosure provides, is receiving the broadcasting letter of the transmission of the wearable device in default identification range Number when, by current connection status by can not connection status be changed to can connection status, and can under connection status, establish with eventually The data connection at end, and then by data connection, carry out audio broadcasting.Due to being manually operated without user, you can built with terminal Vertical data connection, therefore, the mode for playing audio is more convenient.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram of device 900 played for audio according to an exemplary embodiment.For example, dress It can be mobile phone to put 900, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 9, device 900 can include following one or more assemblies:Processing component 902, memory 904, power supply Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor component 914, and Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 902 can refer to including one or more processors 920 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 902 can include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in device 900.These data are shown Example includes the instruction of any application program or method for being operated on device 900, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 900.
Multimedia component 908 is included in the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When device 900 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when device 900 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set Part 916 is sent.In certain embodiments, audio component 910 further includes a loudspeaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor component 914 can detect opening/closed mode of device 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor component 914 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor component 914 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor component 914 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 904 of instruction, above-metioned instruction can be performed to complete the above method by the processor 920 of device 900.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
The device that the embodiment of the present disclosure provides, is receiving the broadcasting letter of the transmission of the wearable device in default identification range Number when, by current connection status by can not connection status be changed to can connection status, and can under connection status, establish with eventually The data connection at end, and then by data connection, carry out audio broadcasting.Due to being manually operated without user, you can built with terminal Vertical data connection, therefore, the mode for playing audio is more convenient.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device performs so that mobile terminal is able to carry out a kind of method that audio plays, the described method includes:
When receive the wearable device in default identification range transmission play signal when, by current connection status by Can not connection status be changed to can connection status;
The data connection with terminal can established under connection status;
By data connection, audio broadcasting is carried out.
As a kind of optional embodiment, by current connection status by can not connection status be changed to can connection status it Before, further include:
Receive the state change directive that wearable device is sent;
Correspondingly, by current connection status by can not connection status be changed to can connection status, including:
According to state change directive by current connection status by can not connection status be changed to can connection status.
As a kind of optional embodiment, the data connection with terminal can established under connection status, including:
Can be under connection status, connection request that receiving terminal is sent, and the data with terminal are established according to connection request Connection.
As a kind of optional embodiment, by data connection, after carrying out audio broadcasting, further include:
When not receiving the play signal of wearable device transmission in default identification range, by current connection status By can connection status be changed to can not connection status.
As a kind of optional embodiment, by current connection status by can connection status be changed to can not connection status it Afterwards, further include:
The data connection with terminal is disconnected, and stops playing audio.
The non-transitorycomputer readable storage medium that the embodiment of the present disclosure provides, is receiving in default identification range Wearable device send play signal when, by current connection status by can not connection status be changed to can connection status, and The data connection with terminal can established under connection status, and then pass through data connection, carry out audio broadcasting.Due to that need not use Family is manually operated, you can establishes data connection with terminal, therefore, the mode for playing audio is more convenient.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim.

Claims (9)

1. a kind of method that audio plays, it is characterised in that the described method includes:
When receiving the play signal of the transmission of the wearable device in default identification range, by current connection status by can not Connection status is changed to can connection status;
The data connection with terminal can established under connection status;
The audio file of the terminal transmission is received by the data connection, carries out audio broadcasting;
When not receiving the play signal that the wearable device is sent in the default identification range, by current connection State by can connection status be changed to can not connection status.
2. according to the method described in claim 1, it is characterized in that, it is described by current connection status by can not connection status more It is changed to further include before connection status:
Receive the state change directive that the wearable device is sent;
Correspondingly, it is described by current connection status by can not connection status be changed to can connection status, including:
According to the state change directive by current connection status by can not connection status be changed to can connection status.
3. according to the method described in claim 1, it is characterized in that, described can establish the data with terminal under connection status Connection, including:
Can be under connection status, connection request that receiving terminal is sent, and established and the terminal according to the connection request Data connection.
4. according to the method described in claim 1, it is characterized in that, it is described by current connection status by can connection status change Can not to further include after connection status:
The data connection with the terminal is disconnected, and stops playing audio.
5. the device that a kind of audio plays, it is characterised in that described device includes:
First change module, for when receive the wearable device in default identification range transmission play signal when, ought Preceding connection status by can not connection status be changed to can connection status;
Module is established, for the data connection with terminal can be established under connection status;
Playing module, for receiving the audio file of the terminal transmission by the data connection, carries out audio broadcasting;
Second change module, for when the broadcasting letter for not receiving the wearable device transmission in the default identification range Number when, by current connection status by can connection status be changed to can not connection status.
6. device according to claim 5, it is characterised in that described device, further includes:
Receiving module, the state change directive sent for receiving the wearable device;
Correspondingly, it is described first change module, for according to the state change directive by current connection status by that can not connect The state of connecing is changed to can connection status.
7. device according to claim 5, it is characterised in that it is described to establish module, including:
Receiving unit, for can be under connection status, connection request that receiving terminal is sent;
Unit is established, for establishing the data connection with the terminal according to the connection request.
8. device according to claim 5, it is characterised in that described device, further includes:
Module is disconnected, for disconnecting the data connection with the terminal;
Stopping modular, for stopping playing audio.
9. the device that a kind of audio plays, it is characterised in that the device that the audio plays includes:
Processor;
The instruction that can perform for storing processor;
Wherein, the processor is configured as:
When receiving the play signal of the transmission of the wearable device in default identification range, by current connection status by can not Connection status is changed to can connection status;
The data connection with terminal can established under connection status;
By the data connection, audio broadcasting is carried out;
When not receiving the play signal that the wearable device is sent in the default identification range, by current connection State by can connection status be changed to can not connection status.
CN201410475010.0A 2014-09-17 2014-09-17 The method and device that audio plays Active CN104281431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410475010.0A CN104281431B (en) 2014-09-17 2014-09-17 The method and device that audio plays

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410475010.0A CN104281431B (en) 2014-09-17 2014-09-17 The method and device that audio plays

Publications (2)

Publication Number Publication Date
CN104281431A CN104281431A (en) 2015-01-14
CN104281431B true CN104281431B (en) 2018-04-27

Family

ID=52256344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410475010.0A Active CN104281431B (en) 2014-09-17 2014-09-17 The method and device that audio plays

Country Status (1)

Country Link
CN (1) CN104281431B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159105B (en) * 2015-08-13 2019-06-14 小米科技有限责任公司 Intelligent electric appliance working method and device
CN105120528B (en) * 2015-08-14 2019-06-11 北京奇虎科技有限公司 A kind of equipment room carries out the method, apparatus and system of configurability setting
CN106817668B (en) * 2015-11-27 2020-10-20 深圳悦喜智慧首饰有限公司 Connection communication method based on Bluetooth
CN108541080B (en) * 2018-04-23 2020-09-22 Oppo广东移动通信有限公司 Method for realizing loop connection between first electronic equipment and second electronic equipment and related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647587A (en) * 2013-12-30 2014-03-19 华为终端有限公司 Method and system for unlocking mobile terminal, mobile terminal and wearable electronic device
CN103873798A (en) * 2014-02-27 2014-06-18 小米科技有限责任公司 Sound playing method and device for intelligent television
CN103926890A (en) * 2014-04-08 2014-07-16 小米科技有限责任公司 Intelligent terminal control method and device
US8831570B2 (en) * 2009-10-16 2014-09-09 At&T Intellectual Property I, L.P. Systems and methods for providing location-based application authentication using location token service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8831570B2 (en) * 2009-10-16 2014-09-09 At&T Intellectual Property I, L.P. Systems and methods for providing location-based application authentication using location token service
CN103647587A (en) * 2013-12-30 2014-03-19 华为终端有限公司 Method and system for unlocking mobile terminal, mobile terminal and wearable electronic device
CN103873798A (en) * 2014-02-27 2014-06-18 小米科技有限责任公司 Sound playing method and device for intelligent television
CN103926890A (en) * 2014-04-08 2014-07-16 小米科技有限责任公司 Intelligent terminal control method and device

Also Published As

Publication number Publication date
CN104281431A (en) 2015-01-14

Similar Documents

Publication Publication Date Title
CN104318741B (en) Bluetooth equipment control method and device
CN104159218B (en) Internetwork connection establishing method and device
CN104065836A (en) Method and device for monitoring calls
CN105160239A (en) Application program access restriction method and apparatus
CN104836897A (en) Method and device for controlling terminal communication through wearable device
CN104935729B (en) Audio-frequency inputting method and device
CN105353870A (en) Method and apparatus for controlling terminal by means of intelligent wearable device
CN105260247A (en) Method and device for controlling terminal application
CN104484799A (en) Payment method and device
CN107071862A (en) Account binding method and device and smart machine
CN106101433B (en) Notification message display methods and device
CN104281431B (en) The method and device that audio plays
CN106990812A (en) USB connector and terminal device
CN108270922A (en) Method of speech processing and device
CN106993265A (en) Communication means, terminal, wearable device based on wearable device
CN105554631B (en) Audio switching method, device and electronic equipment
CN107682538A (en) The display methods and device of application interface
CN106941635A (en) Audio amplifier connection method and device
CN104463047B (en) The device and method of control module work
CN105577523A (en) Message sending methods and apparatuses
CN105491518A (en) Method and device for social reminding based on wearable devices
CN105681261A (en) Security authentication method and apparatus
CN104410900B (en) A kind of method and device for controlling the indicator light being installed on smart machine
CN104599691B (en) Audio frequency playing method and device
CN107124679A (en) The method and apparatus that multimedia file is played

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant