CN106357883B - Method and device, the play system of audio broadcasting - Google Patents

Method and device, the play system of audio broadcasting Download PDF

Info

Publication number
CN106357883B
CN106357883B CN201610721529.1A CN201610721529A CN106357883B CN 106357883 B CN106357883 B CN 106357883B CN 201610721529 A CN201610721529 A CN 201610721529A CN 106357883 B CN106357883 B CN 106357883B
Authority
CN
China
Prior art keywords
audio
played
instruction
playback equipment
broadcasting
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
CN201610721529.1A
Other languages
Chinese (zh)
Other versions
CN106357883A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610721529.1A priority Critical patent/CN106357883B/en
Publication of CN106357883A publication Critical patent/CN106357883A/en
Application granted granted Critical
Publication of CN106357883B publication Critical patent/CN106357883B/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

Method and device, the play system played the disclosure is directed to audio.The method that audio plays includes: detection audio play instruction;In response to detecting audio play instruction, the audio to be played of audio play instruction instruction is obtained;Target audio playback equipment, which is controlled, by broadcast mode plays audio to be played.The device that disclosure audio plays passes through broadcasting packet described in the device broadcasts that wireless network is played to audio, realizes the audio based on wireless network and plays;It is played compared to traditional audio based on Bluetooth communication, can be avoided the complicated processes of bluetooth equipment pairing, simplify playing flow.

Description

Method and device, the play system of audio broadcasting
Technical field
This disclosure relates to method and device, play system that Internet technical field more particularly to a kind of audio play.
Background technique
For being much keen to music, for the user that sound quality has professional demand, audio broadcasting be include hand On all kinds of intelligent terminals such as machine, tablet computer, a very important Xiang Gongneng.The sound quality for wanting promotion intelligent terminal, then from not Open the support of the professional audios peripheral hardware such as earphone, speaker.
Currently, audio peripheral hardware increasingly tends to wireless penetration and intelligence.Such as Baffle Box of Bluetooth or bluetooth headset are exactly normal The wireless audio peripheral hardware seen, has been obtained universal application at present.User by this kind of audio peripheral hardware based on Bluetooth communication with After intelligent terminal binding, that is, it can play the audio data on intelligent terminal.In playing process between intelligent terminal and audio peripheral hardware Communication be based on the support of bluetooth standard protocol.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of method and device of audio broadcasting, plays system System, the equipment for enabling audio to play are based on wireless network and carry out audio broadcasting.
According to the first aspect of the embodiments of the present disclosure, a kind of method that audio plays is provided, comprising:
Detect audio play instruction;
In response to detecting the audio play instruction, the audio to be played of the audio play instruction instruction is obtained;
Target audio playback equipment, which is controlled, by broadcast mode plays the audio to be played;
It is described that the target audio playback equipment broadcasting audio to be played is controlled by broadcast mode, comprising:
By encapsulating the audio play instruction, broadcasting packet is obtained, the broadcasting packet includes that the audio broadcasting refers to It enables;
By broadcasting the broadcasting packet, controls the target audio playback equipment and play the audio to be played;Wherein, The encapsulation audio play instruction, comprising: the broadcasting packet, the default communication protocols are encapsulated according to default communication protocol View includes that preset protocol identifies, the flow format of preset protocol mark the instruction access and interaction.
Optionally, the broadcasting packet further includes the data of the audio to be played.
Optionally, the control target audio playback equipment plays the audio to be played, comprising:
Receive the acquisition request for being directed to the audio to be played;
The data of the audio to be played are sent to the target audio playback equipment according to the acquisition request.
Optionally, the control target audio playback equipment plays the audio to be played, comprising:
The attribute information of controllable candidate audio playback equipment is obtained, the attribute information includes at least one of the following: Location information, work state information, configuration information;
Target audio playback equipment is determined according to the attribute information;
It controls the target audio playback equipment and plays the audio to be played.
Optionally, the control target audio playback equipment plays the audio to be played, comprising:
Peripheral hardware list is generated, the peripheral hardware list includes the mark of controllable candidate audio playback equipment;
Detection is directed to the selection operation of the peripheral hardware list;
In response to detecting the selection operation, the target audio playback equipment for controlling the selection operation instruction plays institute State audio to be played.
According to the second aspect of an embodiment of the present disclosure, a kind of method that audio plays is provided, comprising:
Obtain the audio play instruction of broadcast;
In response to detecting the audio play instruction, the corresponding audio to be played of the audio play instruction is obtained;
Play the audio to be played.
Optionally, before the audio play instruction for obtaining broadcast, the method also includes:
Receive broadcasting packet;
The play instruction for obtaining broadcast, comprising:
The broadcasting packet is parsed according to preset communication protocol, obtains the audio play instruction.
It is optionally, described to obtain the corresponding audio to be played of the audio play instruction, comprising:
The broadcasting packet is parsed using preset communication protocol, obtains the audio to be played.
Optionally, described in response to detecting the audio play instruction, obtain the audio play instruction it is corresponding to Play audio, comprising:
In response to detecting the audio play instruction, described in the voice-operated device transmission to the broadcast broadcasting packet The acquisition request of audio to be played;
Receive the audio to be played that the voice-operated device is sent.
According to the third aspect of an embodiment of the present disclosure, a kind of device that audio plays is provided, described device includes:
Detection module is configured as detection audio play instruction;
Respond module is configured to respond to detect the audio play instruction, obtains the audio play instruction and refers to The audio to be played shown;
Control module is configured as controlling the target audio playback equipment broadcasting audio to be played by broadcast mode;
The control module includes:
Submodule is encapsulated, is configured as obtaining broadcasting packet, the broadcasting packet by encapsulating the audio play instruction Including the audio play instruction;
First control submodule is configured as controlling the target audio playback equipment by the broadcasting packet and playing The audio to be played;Wherein, the encapsulation audio play instruction, comprising: described wide according to the encapsulation of default communication protocol Casting text, the default communication protocol include preset protocol mark, the process of preset protocol mark the instruction access and interaction Format.
Optionally, first control submodule is configured as encapsulating the broadcasting packet, institute according to default communication protocol Stating default communication protocol includes preset protocol mark, the flow format of preset protocol mark the instruction access and interaction.
Optionally, the broadcasting packet further includes the data of the audio to be played
Optionally, the control module further include:
Receiving submodule is configured as receiving the acquisition request for being directed to the audio to be played;
Sending submodule is configured as being sent according to the acquisition request to the target audio playback equipment described wait broadcast The data of playback frequency.
Optionally, the control module includes:
Acquisition submodule is configured as obtaining the attribute information of controllable candidate audio playback equipment, the attribute letter Breath includes at least one of the following: location information, work state information, configuration information;
It determines submodule, is configured as determining the target audio playback equipment according to the attribute information;
Second control submodule is configured as controlling the target audio playback equipment broadcasting audio to be played.
Optionally, the control module includes:
Submodule is generated, peripheral hardware list is configurable to generate, includes that controllable candidate audio is broadcast in the peripheral hardware list Put the mark of equipment;
Detection sub-module is configured as the selection operation that detection is directed to the peripheral hardware list;
Third control submodule is configured to respond to detect the selection operation, controls the selection operation instruction Target audio playback equipment play the audio to be played.
According to a fourth aspect of embodiments of the present disclosure, a kind of equipment that audio plays is provided, comprising:
First obtains module, is configured as obtaining the audio play instruction of broadcast;
Second obtains module, is configured to respond to the audio play instruction, and it is corresponding to obtain the audio play instruction Audio to be played;
Audio output module is configured as playing the audio to be played.
Optionally, the equipment that the audio plays further include:
Receiving module is configured as receiving broadcasting packet;
The second acquisition module is additionally configured to parse the broadcasting packet according to preset communication protocol, described in acquisition Audio play instruction.
Optionally, the second acquisition module is configured as parsing the broadcasting packet using preset communication protocol, obtains Obtain the audio to be played.
Optionally, the second acquisition module includes:
Request submodule is sent, is configured to respond to detect the audio play instruction, is reported to the broadcast is broadcasted The device of text sends the acquisition request for obtaining the audio to be played;
Audio submodule is received, is configured as receiving the audio to be played that described device is sent.
According to a fifth aspect of the embodiments of the present disclosure, a kind of play system is provided, comprising: target audio playback equipment and sound Frequency control equipment;
Wherein, the voice-operated device is configured as:
Detect audio play instruction;
In response to detecting the audio play instruction, the audio to be played of the audio play instruction instruction is obtained;
The target audio playback equipment, which is controlled, by broadcast mode plays the audio to be played;
It is described that the target audio playback equipment broadcasting audio to be played is controlled by broadcast mode, comprising:
By encapsulating the audio play instruction, broadcasting packet is obtained, the broadcasting packet includes that the audio broadcasting refers to It enables;
By broadcasting the broadcasting packet, controls the target audio playback equipment and play the audio to be played;Wherein, The encapsulation audio play instruction, comprising: the broadcasting packet, the default communication protocols are encapsulated according to default communication protocol View includes that preset protocol identifies, the flow format of preset protocol mark the instruction access and interaction;
The target audio playback equipment is configured as:
Obtain the audio play instruction of the voice-operated device broadcast;
In response to detecting the audio play instruction, the corresponding audio to be played of the audio play instruction is obtained;
Play the audio to be played.
According to a sixth aspect of an embodiment of the present disclosure, a kind of audio playing apparatus is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Detect audio play instruction;
In response to the audio play instruction detected, the audio to be played of the audio play instruction instruction is obtained;
Audio-frequence player device, which is controlled, by broadcast mode plays the audio to be played;
It is described that the target audio playback equipment broadcasting audio to be played is controlled by broadcast mode, comprising:
By encapsulating the audio play instruction, broadcasting packet is obtained, the broadcasting packet includes that the audio broadcasting refers to It enables;
By broadcasting the broadcasting packet, controls the target audio playback equipment and play the audio to be played;Wherein, The encapsulation audio play instruction, comprising: the broadcasting packet, the default communication protocols are encapsulated according to default communication protocol View includes that preset protocol identifies, the flow format of preset protocol mark the instruction access and interaction.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of audio playing apparatus is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the play instruction of broadcast;
In response to the play instruction, the corresponding audio to be played of the play instruction is obtained;
Play the audio to be played.
According to the eighth aspect of the embodiment of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of mobile terminal, so that mobile terminal is able to carry out a kind of side that audio plays Method, which comprises
Detect audio play instruction;
In response to the audio play instruction detected, the audio to be played of the audio play instruction instruction is obtained;
Audio-frequence player device, which is controlled, by broadcast mode plays the audio to be played;
It is described that the target audio playback equipment broadcasting audio to be played is controlled by broadcast mode, comprising:
By encapsulating the audio play instruction, broadcasting packet is obtained, the broadcasting packet includes that the audio broadcasting refers to It enables;
By broadcasting the broadcasting packet, controls the target audio playback equipment and play the audio to be played;Wherein, The encapsulation audio play instruction, comprising: the broadcasting packet, the default communication protocols are encapsulated according to default communication protocol View includes that preset protocol identifies, the flow format of preset protocol mark the instruction access and interaction.
The technical scheme provided by this disclosed embodiment can include the following benefits:
One, audio play instruction is detected by response, obtains the audio detection sound to be played of audio play instruction instruction Frequency play instruction, and by wireless network to target audio playback equipment broadcasting packet, so that target audio playback equipment plays The audio to be played realizes the audio based on wireless network and plays.
Two, the audio compared to traditional based on Bluetooth communication plays, for example airplay, the disclosure take broadcast mode It controls audio to play, can be avoided the complicated processes of bluetooth equipment pairing, simplify playing flow, easily realize one-to-many same Step plays;And wireless communication distance is longer, so that the broadcasting for the equipment that audio plays has more functionally selected, Neng Gouman The demand of the more specific application scenes of foot, improves user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart for the method that a kind of audio shown according to an exemplary embodiment plays.
Fig. 2 is to control target sound during the method that a kind of audio shown according to an exemplary embodiment plays includes the steps that Frequency playback equipment plays the flow chart of audio to be played.
Fig. 3 is the application scenario diagram for the method that a kind of audio shown according to an exemplary embodiment plays.
The flow chart that target audio playback equipment plays audio to be played is controlled in the step of Fig. 4 is Fig. 2.
Fig. 5 is to control target sound during the method that a kind of audio shown according to an exemplary embodiment plays includes the steps that Frequency playback equipment plays another flow chart of audio to be played.
Fig. 6 is to control target sound during the method that a kind of audio shown according to an exemplary embodiment plays includes the steps that Frequency playback equipment plays another flow chart of audio to be played.
Fig. 7 is the flow chart for the method that a kind of audio shown according to an exemplary embodiment plays.
Fig. 8 is another flow chart for the method that a kind of audio shown according to an exemplary embodiment plays.
Fig. 9 is to obtain audio during the method that a kind of audio shown according to an exemplary embodiment plays includes the steps that broadcast Put the flow chart for instructing corresponding audio to be played.
Figure 10 is the block diagram for the device that a kind of audio shown according to an exemplary embodiment plays.
Figure 11 is the block diagram of the control module for the device that a kind of audio shown according to an exemplary embodiment plays.
Figure 12 is another block diagram of the control module for the device that a kind of audio shown according to an exemplary embodiment plays.
Figure 13 is another block diagram of the control module for the device that a kind of audio shown according to an exemplary embodiment plays.
Figure 14 is the block diagram for the equipment that a kind of audio shown according to an exemplary embodiment plays.
Figure 15 is the second of the equipment that a kind of audio shown according to an exemplary embodiment the plays block diagram for obtaining module.
Figure 16 is a kind of block diagram of play system shown according to an exemplary embodiment.
Figure 17 is the block diagram for the device that a kind of audio shown according to an exemplary embodiment plays.
Figure 18 is the block diagram for the device that a kind of audio shown according to an exemplary embodiment plays.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Wireless audio peripheral hardware in the related art, most of is all above-mentioned Bluetooth audio frequency peripheral hardware.Due to Bluetooth technology The limitation of feature itself causes the Bluetooth audio frequency peripheral functionality relatively single, can only often support one-to-one pairing and binding, Binding procedure is cumbersome, and communication range is relatively small.
In other the relevant technologies, there is also provide the network audio peripheral hardware that communication is supported based on wireless network.It is such Network audio peripheral hardware can avoid the defect of bluetooth peripheral hardware to a certain extent.But the communication of the network audio peripheral hardware is former Reason is to the forwarding of network audio peripheral hardware by router from signal source data flow.That is, outside signal source and network audio It can not direct communication between if.It can be seen that the communication process is relative complex, communication efficiency is lower.
One-to-many audio broadcasting under application scenes, such as in large space, it is necessary to which an audio plays Device as signal source, connect the equipment that multiple audios play and synchronize and play out.Above-mentioned Bluetooth audio frequency peripheral hardware by The limitation of quantity and distance is difficult meet the needs of using.And although the network audio peripheral hardware can theoretically be played simultaneously, But router load can be caused excessive, also can bring communication pressure to wireless network environment, it is clear that cost is excessively high.
A kind of method that audio plays will be provided for the above-mentioned scene of class, the embodiment of the present disclosure, can be realized it is remote, One-to-many wireless audio plays, and communication modes are succinctly efficient, it is easy to accomplish.The method that audio plays can be applied to audio Control equipment.Voice-operated device can be the terminals such as speaker, mobile phone or tablet computer.Wherein, which can access wirelessly In network, and player program can be installed, the player program or third-party application including but not limited to built in system The player program of offer.
Referring to Fig. 1, Fig. 1 is the flow chart for the method that a kind of audio shown according to an exemplary embodiment plays.Such as Fig. 1 Shown, the method that audio plays may include:
In step s 11, audio play instruction is detected.
Audio play instruction can play what the audio player operation executed in application interface generated in audio for user.Example Such as, user generates audio play instruction in click play song on music player;Alternatively, at short message interface or chatting Its application interface when user's click play voice messaging, generates audio play instruction;Alternatively, when the jingle bell of user setting alarm clock Between, when having arrived adjacent time, generate audio play instruction.
In step s 12, in response to detecting audio play instruction, the sound to be played of audio play instruction instruction is obtained Frequently.
After detecting audio play instruction, the audio to be played of available audio play instruction instruction.Wherein, audio It can include but is not limited to indicate the mark of audio to be played in play instruction.It is thus possible to based on the mark from local or It is got in network.
For example, audio play instruction includes the mark of song to be played, which includes the attribute letter of song to be played Breath, such as singer informations, title of the song information etc..When the mark instruction be song " XX " of singer A when, can be by this rock noise The song of the singer is searched in frequency file folder, it can also be by searching for the song for obtaining the singer in network.
In step s 13, target audio playback equipment is controlled by broadcast mode and plays audio to be played.
After getting audio to be played, it is to be played the broadcasting of target audio playback equipment can be controlled by broadcast mode Audio.Such as, the message that instruction plays audio to be played can be generated, then, target audio broadcasting is controlled by broadcasting packet and is set It is standby to play audio to be played.Target audio playback equipment plays audio to be played after receiving broadcasting packet.
Wherein, target audio playback equipment may include at least one of following: mobile phone, speaker, tablet computer, smart television Deng.
The disclosure passes through broadcasting packet described in the device broadcasts that wireless network is played to target audio, realizes based on wireless The audio of network plays;It is played compared to traditional audio based on Bluetooth communication, can be avoided the cumbersome of bluetooth equipment pairing Process simplifies playing flow;Easily realize one-to-many be played simultaneously;And wireless communication distance is longer.
The embodiment of the present disclosure provides the method that another audio plays.This method is to the further of method shown in FIG. 1 Extension and optimization.Referring to FIG. 2, Fig. 2 is the step that the method that a kind of audio shown according to an exemplary embodiment plays includes Control target audio playback equipment plays the flow chart of audio to be played in rapid.As shown in Fig. 2, step S13 shown in FIG. 1, i.e., Target audio playback equipment is controlled by broadcast mode and plays audio to be played, may comprise steps of.
In step S1311, by encapsulating audio play instruction, broadcasting packet is obtained, broadcasting packet includes that audio plays Instruction.
In one embodiment of the present disclosure, broadcasting packet can be obtained by the following contents.Detecting audio broadcasting After instruction, broadcasting packet is encapsulated according to default communication protocol.
Wherein, default communication protocol includes preset protocol mark, the process lattice of preset protocol mark instruction access and interaction Formula.
Default communication protocol can include but is not limited to: it is default that addition has the WiFi agreement of preset protocol mark, addition to have ZigBee (purple honeybee) agreement of protocol-identifier.For example, by existing WiFi protocol basis be added instruction it is specific access and The preset protocol of interactive flow format identifies, so that only supporting the target audio playback equipment ability of the default communication protocol Receive the broadcasting packet.
For from the angle of the communication technology, voice-operated device can use preset communication protocol, and audio is played Instruction is encapsulated as several broadcasting packet frames to be broadcasted.The characteristic and principle of message frame, belong to this field conventional technique Means, herein without repeating.
Optionally, broadcasting packet can also include the data of audio to be played, i.e. audio play instruction and audio to be played Data be packaged into broadcasting packet and broadcast together, in this way, target audio playback equipment is after receiving broadcasting packet Audio to be played can be directly played based on audio play instruction.
In step S1312, by broadcasting broadcasting packet, control target audio playback equipment plays audio to be played.
After voice-operated device is by encapsulating audio play instruction to obtain broadcasting packet, by the broadcasting packet in wireless network Audio-frequence player device is sent in network environment.It should be noted that the side opposite in voice-operated device, is connected to wireless network After the equipment that audio in network plays receives broadcasting packet, the target audio playback equipment ability of default communication protocol is only supported Broadcasting packet is parsed, to play audio to be played.
For example, referring to figure 3., Fig. 3 is the method that a kind of audio shown according to an exemplary embodiment plays Application scenario diagram.There is a miplay button in the drop-down shortcut menu of smart phone 100, default is to close, and user can be with It manually selects and opens the function.After user's point opens miplay button, smart phone 100 generates audio play instruction, mobile phone system System can detect whether mobile phone WiFi opens and be linked into hot spot, and prompt user " miplay function can only be supported to work as with user Preceding mobile phone is in the equipment in same local area network ".Then, smart phone 100 is assisted according to the WiFi for having preset protocol to identify is added Audio play instruction is packaged into broadcasting packet by view, and the broadcasting packet is broadcasted in same local area network.In Fig. 3, there are three Audio-frequence player device is the speaker 301 in master bedroom, the speaker 302 in hall and the speaker 303 in secondary room respectively.Assuming that Speaker 301 only in master bedroom supports that the WiFi agreement for having preset protocol to identify is added, when smart phone 100 is in same local When broadcasting the broadcasting packet in net, then only speaker 301 can parse the broadcasting packet, i.e., only speaker 301 can play to Play audio.
In one embodiment of the present disclosure, when audio to be played is independently of play instruction, i.e. broadcasting packet only includes When audio play instruction, referring to FIG. 4, Fig. 4 is that the method that a kind of audio shown according to an exemplary embodiment plays includes The step of in control target audio playback equipment play the flow chart of audio to be played.As shown in figure 4, step shown in Fig. 2 In S1312, i.e., 4 control target audio playback equipments play the audio to be played, can also include the following steps.
In step S13121, the acquisition request for being directed to audio to be played is received.
In step S13122, the data of audio to be played are sent to target audio playback equipment according to acquisition request.
It, should according to default communication protocol after target audio playback equipment receives the broadcasting packet that voice-operated device is sent Broadcasting packet is parsed to obtain audio play instruction.Since audio play instruction indicates audio to be played, target audio is played Equipment sends the request of acquisition audio to be played to voice-operated device is sent;After voice-operated device receives the request, pass through In local search or the data of on-line search audio to be played, and the data searched are sent to target audio broadcasting and are set It is standby, enable target audio playback equipment to play audio to be played.
Target audio playback equipment is at least one, also be may be set to according to demand multiple.Target audio playback equipment with Voice-operated device is in same wireless network, by one as reception and the audio data of actual play broadcasting packet form End.
Based on aforementioned, if broadcasting packet is specially the broadcasting packet frame using the encapsulation of preset communication protocol;Then target Audio-frequence player device need to support preset communication protocol, just can parse message frame and play out.In other words, same wireless network Under network, there are saving preset communication protocol, and be capable of the target audio playback equipment of analytic message frame, can be realized to Play the broadcasting of audio.
It should also be noted that, based on wireless network as communication mode target audio playback equipment broadcasting, no longer by To the function restriction of the necessary one-to-one pairing and binding of bluetooth equipment.So being not necessarily to specially treated, just can be realized one-to-many same Step plays, to meet the needs of the present embodiment application scenarios.I.e. multiple target audio playback equipments being connected in wireless network The broadcasting packet of voice-operated device transmission, and then synchronous parsing playing audio data are received simultaneously.Moreover, audio control The distance between control equipment and target audio playback equipment are also no longer limited by the limitation of bluetooth devices distance, so energy Enough realize the wireless communication of longer distance.
Also, the communication described in the present embodiment based on wireless network plays, different from the audio in aforementioned related art The data flow for being technically characterized in that the present embodiment sound intermediate frequency playback equipment travels in wireless network of playback equipment uses The form of " broadcasting packet ".It is understood that broadcasting packet directly can be propagated and be received in wireless network environment, nothing It need to be forwarded by router, so not bringing additional load to router.Voice-operated device and target audio playback equipment It can communicate directly, the wireless audio peripheral hardware that can receive, parse and play broadcasting packet any in other words can be participated in directly It is played simultaneously, is not necessarily to any additional step.Communication process is more succinct efficient.
As seen through the above technical solutions, beneficial effect existing for the present embodiment is: voice-operated device passes through wireless network Network broadcasts broadcasting packet to target audio playback equipment, realizes voice-operated device and target audio playback equipment can be direct Communication does not bring additional bear to router so that the audio based on wireless network, which is played, forwards data without router It carries, improves communication efficiency while reducing communications cost;And played compared to the audio based on Bluetooth communication, it can be avoided indigo plant The complicated processes of tooth device pairing easily realize one-to-many be played simultaneously;And wireless communication distance is longer;So that target The broadcasting of audio-frequence player device has more functionally selected, can satisfy the demand of more specific application scenes, improves use Family experience.
The embodiment of the present disclosure provides the method that another audio plays, and this method is to the further of method shown in FIG. 1 Extension and optimization.Referring to FIG. 5, Fig. 5 is the step that the method that a kind of audio shown according to an exemplary embodiment plays includes Control target audio playback equipment plays another flow chart of audio to be played in rapid, as shown in figure 5, step shown in FIG. 1 S13, i.e. control target audio playback equipment play audio to be played, may comprise steps of.
In step S1321, the attribute information of controllable candidate audio playback equipment is obtained, attribute information includes following At least one of: location information, work state information, configuration information.
In step S1322, target audio playback equipment is determined according to attribute information.
In step S1323, control target audio playback equipment plays audio to be played.
In the 5 embodiment of figure 5, it joined the screening process for audio-frequence player device.Wherein, work as audio-frequence player device Attribute information when meeting goal condition, which is target audio playback equipment.Voice-operated device controls mesh It marks audio-frequence player device and plays audio to be played.
When attribute information includes at least location information, the position of the voice-operated device of broadcasting packet is sent by obtaining Information and the candidate audio playback equipment respective positions information being connected in wireless network;Then, from least one candidate The location information of confirmation target audio playback equipment in audio-frequence player device, target audio playback equipment and voice-operated device is full Sufficient preset condition;Then, control target audio playback equipment plays audio to be played.Wherein, voice-operated device and audio are broadcast Putting includes GPS module in equipment, the location information of voice-operated device and audio-frequence player device, can be respective by inquiring GPS module obtain.Preset condition can be audio-frequence player device at a distance from voice-operated device in a preset range, For example, audio-frequence player device is at a distance from voice-operated device less than a preset value;Or audio-frequence player device and audio frequency control The distance of equipment is greater than the first preset value, and less than the second preset value.
When attribute information includes at least work state information, the work state information according to candidate audio playback equipment is true Set the goal audio-frequence player device, for example, selecting from least one the candidate audio playback equipment being connected in wireless network empty Not busy audio-frequence player device is as target audio playback equipment.
When attribute information includes at least configuration information, target sound is determined according to the configuration information of candidate audio playback equipment Frequency playback equipment, for example, from least one the candidate audio playback equipment being connected in wireless network similar in option and installment Audio-frequence player device is as target audio playback equipment, such as the HiFi (High- of selection 2.0 channel and signal-to-noise ratio greater than 70dB Fidelity;High-fidelity) speaker is as target audio playback equipment.
For by taking attribute is location information as an example, as shown in figure 3, the master bedroom of user's family is equipped in speaker 301, hall Equipped in speaker 302 and secondary room be equipped with speaker 303, preset condition be set as between the smart phone 100 of user and speaker away from From need to be less than 5 meters.When user is in master bedroom, due to the distance between the smart phone 100 of user and master bedroom speaker 301 The audio to be played in the broadcasting smart phone 100 of master bedroom speaker 301 need to be then controlled less than 5 meters.When user goes to from master bedroom When in hall, since the distance between the smart phone 100 of user and hall speaker 302 need to then control hall speaker less than 5 meters 302 play audio to be played.
The embodiment of the present disclosure provides the method that another audio plays, and this method is to the further of method shown in FIG. 1 Extension and optimization.Referring to FIG. 6, Fig. 6 is the step that the method that a kind of audio shown according to an exemplary embodiment plays includes Control target audio playback equipment plays another flow chart of audio to be played, step S13 shown in FIG. 1, i.e. control mesh in rapid It marks audio-frequence player device and plays audio to be played, may comprise steps of.
In step S1331, peripheral hardware list is generated, includes the mark of controllable candidate audio playback equipment in peripheral hardware list Know.
In step S1332, detection is directed to the selection operation of peripheral hardware list.
In step S1333, in response to detecting selection operation, the target audio playback equipment of control selections operation instruction Play audio to be played.
In Fig. 6 embodiment, the screening process for audio-frequence player device joined.Generate a peripheral hardware list.Outside It is available if including the title for the candidate audio playback equipment being connected in wireless network simultaneously in list.Subsequent In step, one or more audio-frequence player devices can be selected from peripheral hardware list using selection instruction.Chosen audio is broadcast It puts equipment and receives broadcasting packet, and parse broadcasting packet, to play audio to be played.That is, only having in the present embodiment Chosen one or more audio-frequence player devices can be played simultaneously in turn.Voice-operated device one end realizes pair as a result, In the screening and control of audio-frequence player device.
As seen through the above technical solutions, on the basis of the present embodiment embodiment shown in Fig. 1, what is further realized is beneficial Effect is: alternative peripheral hardware list is generated, so that only chosen one or more wireless audio peripheral hardwares are received and solved Broadcasting packet is analysed, and then is played simultaneously;Realize the screening and control for wireless audio peripheral hardware.
Embodiment shown in Fig. 1~6 is specifically described from the side of voice-operated device based on wireless communication reality Existing audio frequency playing method.And what is implied in the above-mentioned methods needs audio-frequence player device existing for the other side to be cooperateed with.Then In the present embodiment, a kind of method that audio plays will be disclosed further, and the method that audio plays is applied to audio broadcasting and sets It is standby.It is shown in Figure 7, specifically includes the following steps:
In step S211, the audio play instruction of broadcast is obtained.
In step S212, in response to detecting audio play instruction, the corresponding sound to be played of audio play instruction is obtained Frequently.
In step S213, audio to be played is played.
Method in 1~4 illustrated embodiment of corresponding diagram, after voice-operated device is broadcasted broadcasting packet, sound The broadcasting that frequency playback equipment, which is set, to receive broadcasting packet, parsed and finally realized audio to be played.Wherein, in step In S212, audio to be played can be carrying in audio play instruction, can also be independently of audio play instruction.
Fig. 8 is another flow chart for the method that a kind of audio shown according to an exemplary embodiment plays, such as Fig. 8 institute Show, the method that audio plays may comprise steps of.
In step S221, broadcasting packet is received.
In step S222, broadcasting packet is parsed according to preset communication protocol, obtains audio play instruction.
In step S223, broadcasting packet is parsed using preset communication protocol, obtains audio to be played.
In step S224, audio to be played is played.
If several broadcasting packet frames that broadcasting packet is encapsulated including the use of preset communication protocol, audio broadcasting is set Also the communication protocol of preparatory preservation is needed in standby, parsing broadcasting packet is to parse several broadcast using preset communication protocol Message frame obtains audio play instruction.When audio to be played can be carrying in audio play instruction, led to using preset After believing protocol analysis broadcasting packet, audio to be played can be obtained.
When audio to be played is independently of audio play instruction, referring to FIG. 9, Fig. 9 is according to an exemplary embodiment The method that a kind of audio for showing plays obtains the flow chart of the corresponding audio to be played of audio play instruction in including the steps that. As shown in figure 9, obtaining the corresponding audio to be played of audio play instruction, including following in response to detecting audio play instruction Step.
In step S2121, in response to detecting audio play instruction, to the voice-operated device hair of broadcast broadcasting packet Send the acquisition request of audio to be played.
In step S2122, the audio to be played that voice-operated device is sent is received.
In addition, the audio-frequence player device connected in wireless network may include it is coequal multiple, then each audio is broadcast Method in the present embodiment can be singly completed by putting equipment, and the broadcasting of each audio-frequence player device can be played simultaneously to Play audio.It is also possible to be played according to some audio-frequence player device selected in audio play instruction with the selected audio Equipment plays audio to be played as target audio playback equipment.
As seen through the above technical solutions, beneficial effect existing for the present embodiment is: realizing the sound based on wireless network Frequency plays;It is played compared to traditional audio based on Bluetooth communication, can be avoided the complicated processes of bluetooth equipment pairing, simplified Playing flow;Easily realize one-to-many be played simultaneously;And wireless communication distance is longer;So that audio-frequence player device is broadcast It has been placed with more functionally selected, can satisfy the demand of more specific application scenes, improve user experience.
It is shown in Figure 10, for the one embodiment for the device that disclosure audio plays.In the present embodiment, what audio played The device that audio involved in device, that is, foregoing embodiments plays, so the accordingly description in foregoing embodiments is equally applicable In the present embodiment.In the present embodiment, device 300 includes:
Detection module 310 is configured as detection audio play instruction;
Respond module 320 is configured to respond to detect audio play instruction, obtain the instruction of audio play instruction to Play audio;
Control module 330 is configured as controlling target audio playback equipment broadcasting audio to be played by broadcast mode.
Optionally, as shown in figure 11, control module 330 includes:
Submodule 3311 is encapsulated, is configured as obtaining broadcasting packet, broadcasting packet includes by encapsulating audio play instruction Audio play instruction;
First control submodule 3312 is configured as controlling target audio playback equipment by broadcasting packet and playing wait broadcast Playback frequency.
Optionally, the first control submodule 3312 is configured as presetting logical according to communication protocol encapsulation broadcasting packet is preset Letter agreement includes preset protocol mark, the flow format of preset protocol mark instruction access and interaction.
Optionally, broadcasting packet further includes the data of audio to be played.
Optionally, as shown in figure 11, it includes encapsulation submodule 3311 and the first control submodule 3312 that control module 330, which is removed, Outside, can also include:
Receiving submodule 3313 is configured as receiving the acquisition request for being directed to audio to be played;
Sending submodule 3314 is configured as sending the number of audio to be played to audio-frequence player device according to acquisition request According to.
Optionally, as shown in figure 12, control module 330 includes:
Acquisition submodule 3321 is configured as obtaining the attribute information of controllable candidate audio playback equipment, attribute letter Breath includes at least one of the following: location information, work state information, configuration information;
It determines submodule 3322, is configured as determining target audio playback equipment according to attribute information;
Second control submodule 3323 is configured as control target audio playback equipment and plays audio to be played.
Optionally, as shown in figure 13, control module 330 includes:
Submodule 3331 is generated, peripheral hardware list is configurable to generate, includes being connected in wireless network in peripheral hardware list The mark of at least one audio-frequence player device;
Detection sub-module 3332 is configured as the selection operation that detection is directed to peripheral hardware list;
Third control submodule 3333 is configured to respond to detect selection operation, the mesh of control selections operation instruction It marks audio-frequence player device and plays audio to be played.
As seen through the above technical solutions, beneficial effect existing for the present embodiment is: the device that audio plays passes through wireless Network broadcasts broadcasting packet to audio-frequence player device, realizes the audio based on wireless network and plays;Compared to it is traditional based on The audio of Bluetooth communication plays, and can be avoided the complicated processes of bluetooth equipment pairing, simplifies playing flow;It easily realizes a pair of More is played simultaneously;And wireless communication distance is longer;So that the broadcasting of audio-frequence player device has more functionally selected, energy Enough meet the needs of more specific application scenes, improves user experience;Alternative peripheral hardware list is generated, so that only quilt Selected one or more wireless audio peripheral hardwares receive and parse through broadcasting packet, and then are played simultaneously;It realizes for wireless sound The screening and control of frequency peripheral hardware.
It is shown in Figure 14, for the one embodiment for the equipment that disclosure audio plays.In the present embodiment, what audio played The equipment that audio involved in equipment, that is, foregoing embodiments plays, so the accordingly description in foregoing embodiments is equally applicable In the present embodiment.The dress that the audio in equipment 400 and embodiment as shown in Figure 10 that the audio of the present embodiment plays plays It sets 300 to be connected in same wireless network, and carries out communication interaction, to realize being played simultaneously for audio data.What audio played Equipment 400 includes:
First obtains module 410, is configured as obtaining the audio play instruction of broadcast;
Second obtains module 420, is configured to respond to audio play instruction, and it is corresponding wait broadcast to obtain audio play instruction Playback frequency;
Audio output module 430 is configured as playing audio to be played.
Optionally, as shown in figure 14, it includes that the first acquisition module 410, second obtains module that the equipment 400 that audio plays, which is removed, 420 and audio output module 430 outside, further include receiving module 440.
The receiving module 440 is configured as receiving broadcasting packet.
Second acquisition module 420 is additionally configured to parse broadcasting packet according to preset communication protocol, obtains audio and plays Instruction.
Optionally, second acquisition module 420 be additionally configured to using preset communication protocol parse broadcasting packet, obtain to Play audio.
Optionally, as shown in figure 15, the second acquisition module 420 includes:
Request submodule 4201 is sent, is configured to respond to detect audio play instruction, to broadcast broadcasting packet Device 300 sends the acquisition request for obtaining audio to be played;
Second receiving submodule 4202 is configured as the audio to be played of the transmission of reception device 300.
As seen through the above technical solutions, beneficial effect existing for the present embodiment is: realizing the sound based on wireless network Frequency plays;It is played compared to traditional audio based on Bluetooth communication, can be avoided the complicated processes of bluetooth equipment pairing, simplified Playing flow;Easily realize one-to-many be played simultaneously;And wireless communication distance is longer;So that the equipment that audio plays Broadcasting has more functionally selected, can satisfy the demand of more specific application scenes, improves user experience
It is shown in Figure 16, it is one embodiment of disclosure play system.In the present embodiment, system 500 includes: control Equipment 510 and target audio playback equipment 520.
Wherein, control equipment 510 is configured as:
Detect audio play instruction;
In response to detecting audio play instruction, the audio to be played of audio play instruction instruction is obtained;
Target audio playback equipment 520, which is controlled, by broadcast mode plays audio to be played.
Target audio playback equipment 520 is configured as:
Obtain the audio play instruction that control equipment 510 is broadcasted;
In response to detecting audio play instruction, the corresponding audio to be played of audio play instruction is obtained;
Play audio to be played.
As seen through the above technical solutions, beneficial effect existing for the present embodiment is: control equipment 510 passes through wireless network Broadcasting packet is broadcasted to target audio playback equipment 520, the audio based on wireless network is realized and plays;Compared to traditional base It is played in the audio of Bluetooth communication, can be avoided the complicated processes of bluetooth equipment pairing, simplify playing flow;Easily realize one More are played simultaneously;And wireless communication distance is longer;So that the broadcasting of target audio playback equipment 520 have it is more multi-functional Property selection, can satisfy the demand of more specific application scenes, improve user experience;Alternative peripheral hardware list is generated, So that only chosen one or more target audio playback equipments 520 receive and parse through broadcasting packet, and then it is played simultaneously; Realize the screening and control for target audio playback equipment 520.
It is shown in Figure 17, it is the one embodiment for the device that audio described in the disclosure plays.Described includes: processor 720;With the memory 704 for storage processor executable instruction;Wherein, the processor 720 is configured as: detection audio Play instruction;In response to detecting the audio play instruction, the audio to be played of the audio play instruction instruction is obtained;It is logical It crosses broadcast mode control target audio playback equipment and plays the audio to be played.
For example, device 700 can be mobile phone, computer, digital broadcasting terminal, messaging device, game control Platform, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 7, device 700 may include following one or more components: processing component 702, memory 704, electric power Component 706, multimedia component 708, audio component 710, the interface 712 of input/output (I/O), sensor module 714, and Communication component 716.
The integrated operation of the usual control device 700 of processing component 702, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 702 may include that one or more processors 720 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 702 may include one or more modules, just Interaction between processing component 702 and other assemblies.For example, processing component 702 may include multi-media module, it is more to facilitate Interaction between media component 708 and processing component 702.
Memory 704 is configured as storing various types of data to support the operation in device 700.These data are shown Example includes the instruction of any application or method for operating on device 700, contact data, and telephone book data disappears Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 706 provides electric power for the various assemblies of device 700.Electric power assembly 706 may include power management system System, one or more power supplys and other with for device 700 generate, manage, and distribute the associated component of electric power.
Multimedia component 708 includes the screen of one output interface of offer between described device 700 and user.One In a little embodiments, screen may 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, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 700 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external 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 710 is configured as output and/or input audio signal.For example, audio component 710 includes a Mike Wind (MIC), when device 700 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 704 or via communication set Part 716 is sent.In some embodiments, audio component 710 further includes a loudspeaker, is used for output audio signal.
I/O interface 712 provides interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 714 includes one or more sensors, and the state for providing various aspects for device 700 is commented Estimate.For example, sensor module 714 can detecte the state that opens/closes of device 700, and the relative positioning of component, for example, it is described Component is the display and keypad of device 700, and sensor module 714 can be with 700 1 components of detection device 700 or device Position change, the existence or non-existence that user contacts with device 700,700 orientation of device or acceleration/deceleration and device 700 Temperature change.Sensor module 714 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 714 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 716 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 716 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be believed by one or more application specific integrated circuit (ASIC), number 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 executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 704 of instruction, above-metioned instruction can be executed by the processor 720 of device 700 to complete the above method.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..
It is shown in Figure 18, it is one embodiment of audio playing apparatus described in the disclosure.Described includes: processor 820; With the memory 804 for storage processor executable instruction;Wherein, the processor 820 is configured as: obtaining the sound of broadcast Frequency play instruction;In response to audio play instruction, the corresponding audio to be played of audio play instruction is obtained;Play sound to be played Frequently.
Referring to Fig.1 8, device 800 may include following one or more components: processing component 802, memory 804, electric power Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may 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, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external 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 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number 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 executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.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..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and practicing the disclosure Case.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or adaptability Variation follows the general principles of this disclosure and including the undocumented common knowledge or usual skill in the art of the disclosure Art means.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (13)

1. a kind of method that audio plays characterized by comprising
Detect audio play instruction;
In response to detecting the audio play instruction, the audio to be played of the audio play instruction instruction is obtained;
Target audio playback equipment, which is controlled, by broadcast mode plays the audio to be played;
It is described that the target audio playback equipment broadcasting audio to be played is controlled by broadcast mode, comprising:
By encapsulating the audio play instruction, broadcasting packet is obtained, the broadcasting packet includes the audio play instruction;
By broadcasting the broadcasting packet, controls the target audio playback equipment and play the audio to be played;Wherein, described Encapsulate the audio play instruction, comprising: the broadcasting packet, the default communication protocol packet are encapsulated according to default communication protocol Include preset protocol mark, the flow format of preset protocol mark the instruction access and interaction.
2. the method according to claim 1, wherein the broadcasting packet further includes the number of the audio to be played According to.
3. the method according to claim 1, wherein control target audio playback equipment broadcasting is described wait broadcast Playback frequency, comprising:
Receive the acquisition request for being directed to the audio to be played;
The data of the audio to be played are sent to the target audio playback equipment according to the acquisition request.
4. the method according to claim 1, wherein control target audio playback equipment broadcasting is described wait broadcast Playback frequency, comprising:
The attribute information of controllable candidate audio playback equipment is obtained, the attribute information includes at least one of the following: position Information, work state information, configuration information;
Target audio playback equipment is determined according to the attribute information;
It controls the target audio playback equipment and plays the audio to be played.
5. the method according to claim 1, wherein control target audio playback equipment broadcasting is described wait broadcast Playback frequency, comprising:
Peripheral hardware list is generated, the peripheral hardware list includes the mark of controllable candidate audio playback equipment;
Detection is directed to the selection operation of the peripheral hardware list;
In response to detecting the selection operation, control the selection operation instruction target audio playback equipment play it is described to Play audio.
6. the device that a kind of audio plays, which is characterized in that described device includes:
Detection module is configured as detection audio play instruction;
Respond module is configured to respond to detect the audio play instruction, obtains the audio play instruction instruction Audio to be played;
Control module is configured as controlling the target audio playback equipment broadcasting audio to be played by broadcast mode;
The control module includes:
Submodule is encapsulated, is configured as obtaining broadcasting packet, the broadcasting packet includes by encapsulating the audio play instruction The audio play instruction;
First control submodule is configured as controlling described in the target audio playback equipment broadcasting by the broadcasting packet Audio to be played;Wherein, the encapsulation audio play instruction, comprising: the broadcast is encapsulated according to default communication protocol and is reported Text, the default communication protocol include preset protocol mark, the flow format of preset protocol mark the instruction access and interaction.
7. device according to claim 6, which is characterized in that the broadcasting packet further includes the number of the audio to be played According to.
8. device according to claim 6, which is characterized in that the control module further include:
Receiving submodule is configured as receiving the acquisition request for being directed to the audio to be played;
Sending submodule is configured as sending the sound to be played to the target audio playback equipment according to the acquisition request The data of frequency.
9. device according to claim 6, which is characterized in that the control module includes:
Acquisition submodule is configured as obtaining the attribute information of controllable candidate audio playback equipment, the attribute information packet It includes at least one of following: location information, work state information, configuration information;
It determines submodule, is configured as determining the target audio playback equipment according to the attribute information;
Second control submodule is configured as controlling the target audio playback equipment broadcasting audio to be played.
10. device according to claim 6, which is characterized in that the control module includes:
Submodule is generated, peripheral hardware list is configurable to generate, includes that the broadcasting of controllable candidate audio is set in the peripheral hardware list Standby mark;
Detection sub-module is configured as the selection operation that detection is directed to the peripheral hardware list;
Third control submodule is configured to respond to detect the selection operation, controls the mesh of the selection operation instruction It marks audio-frequence player device and plays the audio to be played.
11. a kind of audio playing apparatus characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Detect audio play instruction;
In response to detecting the audio play instruction, the audio to be played of the audio play instruction instruction is obtained;
Audio-frequence player device, which is controlled, by broadcast mode plays the audio to be played;
It is described that the target audio playback equipment broadcasting audio to be played is controlled by broadcast mode, comprising:
By encapsulating the audio play instruction, broadcasting packet is obtained, the broadcasting packet includes the audio play instruction;
By broadcasting the broadcasting packet, controls the target audio playback equipment and play the audio to be played;Wherein, described Encapsulate the audio play instruction, comprising: the broadcasting packet, the default communication protocol packet are encapsulated according to default communication protocol Include preset protocol mark, the flow format of preset protocol mark the instruction access and interaction.
12. a kind of play system characterized by comprising target audio playback equipment and voice-operated device;
Wherein, the voice-operated device is configured as:
Detect audio play instruction;
In response to detecting the audio play instruction, the audio to be played of the audio play instruction instruction is obtained;
The target audio playback equipment, which is controlled, by broadcast mode plays the audio to be played;
It is described that the target audio playback equipment broadcasting audio to be played is controlled by broadcast mode, comprising:
By encapsulating the audio play instruction, broadcasting packet is obtained, the broadcasting packet includes the audio play instruction;
By broadcasting the broadcasting packet, controls the target audio playback equipment and play the audio to be played;Wherein, described Encapsulate the audio play instruction, comprising: the broadcasting packet, the default communication protocol packet are encapsulated according to default communication protocol Include preset protocol mark, the flow format of preset protocol mark the instruction access and interaction;
The target audio playback equipment is configured as:
Obtain the audio play instruction of the voice-operated device broadcast;
In response to detecting the audio play instruction, the corresponding audio to be played of the audio play instruction is obtained;
Play the audio to be played.
13. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that the program instruction The step of any one of Claims 1 to 5 the method is realized when being executed by processor.
CN201610721529.1A 2016-08-24 2016-08-24 Method and device, the play system of audio broadcasting Active CN106357883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610721529.1A CN106357883B (en) 2016-08-24 2016-08-24 Method and device, the play system of audio broadcasting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610721529.1A CN106357883B (en) 2016-08-24 2016-08-24 Method and device, the play system of audio broadcasting

Publications (2)

Publication Number Publication Date
CN106357883A CN106357883A (en) 2017-01-25
CN106357883B true CN106357883B (en) 2019-11-15

Family

ID=57854839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610721529.1A Active CN106357883B (en) 2016-08-24 2016-08-24 Method and device, the play system of audio broadcasting

Country Status (1)

Country Link
CN (1) CN106357883B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941646A (en) * 2017-03-27 2017-07-11 广东欧珀移动通信有限公司 Play method, device, mobile terminal and the audio-frequence player device of voice
CN107846712B (en) * 2017-07-05 2020-09-11 深圳软通动力信息技术有限公司 On-demand method of intelligent sound equipment, electronic equipment and storage medium
CN111031002B (en) * 2019-11-20 2022-06-10 北京小米移动软件有限公司 Broadcast discovery method, broadcast discovery device, and storage medium
CN113094017B (en) * 2020-01-09 2024-05-14 博泰车联网科技(上海)股份有限公司 Method, apparatus and computer storage medium for information processing
CN113905319B (en) * 2020-06-22 2024-02-20 广州辉群智能科技有限公司 Broadcasting system, control method and control terminal of broadcasting system
CN115412848A (en) * 2021-05-27 2022-11-29 Oppo广东移动通信有限公司 Audio sharing method, device, terminal, audio equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496616A (en) * 2000-12-27 2004-05-12 �ʼҷ����ֵ������޹�˾ Reproduction device and method
CN103516885A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multimedia playing system and multimedia playing method
CN104702576A (en) * 2013-12-09 2015-06-10 腾讯科技(深圳)有限公司 Voice transmission method and device and voice service system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4725758B2 (en) * 2000-08-25 2011-07-13 ソニー株式会社 Information processing apparatus, information processing method, and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496616A (en) * 2000-12-27 2004-05-12 �ʼҷ����ֵ������޹�˾ Reproduction device and method
CN103516885A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multimedia playing system and multimedia playing method
CN104702576A (en) * 2013-12-09 2015-06-10 腾讯科技(深圳)有限公司 Voice transmission method and device and voice service system

Also Published As

Publication number Publication date
CN106357883A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN106357883B (en) Method and device, the play system of audio broadcasting
CN105163241B (en) Audio frequency playing method and device, electronic equipment
CN105933899B (en) The cut-in method and device of wireless access point
US20190304448A1 (en) Audio playback device and voice control method thereof
CN104765990B (en) The setting method and device of intelligent device management account
CN104318741B (en) Bluetooth equipment control method and device
CN105163366B (en) Wireless network connecting method and device
CN105262452A (en) Method and apparatus for adjusting volume, and terminal
CN108520746A (en) The method, apparatus and storage medium of voice control smart machine
CN108831448A (en) The method, apparatus and storage medium of voice control smart machine
CN106371799A (en) Volume control method and device for multimedia playback equipment
KR102538775B1 (en) Method and apparatus for playing audio, electronic device, and storage medium
CN105119958A (en) Method and device of controlling intelligent device
CN109121047B (en) Stereo realization method of double-screen terminal, terminal and computer readable storage medium
CN110399112A (en) A kind of throwing screen method and device
CN106941635B (en) Speaker connection method and device
KR20090118837A (en) Method and communication system for controlling appliance device using a mobile device
CN105139874A (en) Navigation prompt method and apparatus
CN106453032B (en) Information-pushing method and device, system
CN105101013A (en) Method and device for playing voice signals
JP2022050516A (en) Terminal, voice cooperation and reproduction system, and content display device
CN105554631B (en) Audio switching method, device and electronic equipment
CN105099517A (en) Connection establishing method and device
CN104599691B (en) Audio frequency playing method and device
CN106598540A (en) Audio playing method and device

Legal Events

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