CN107124679A - The method and apparatus that multimedia file is played - Google Patents

The method and apparatus that multimedia file is played Download PDF

Info

Publication number
CN107124679A
CN107124679A CN201710287212.6A CN201710287212A CN107124679A CN 107124679 A CN107124679 A CN 107124679A CN 201710287212 A CN201710287212 A CN 201710287212A CN 107124679 A CN107124679 A CN 107124679A
Authority
CN
China
Prior art keywords
peripheral equipment
output peripheral
output
multimedia file
equipment
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.)
Pending
Application number
CN201710287212.6A
Other languages
Chinese (zh)
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 CN201710287212.6A priority Critical patent/CN107124679A/en
Publication of CN107124679A publication Critical patent/CN107124679A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • 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
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to the method and apparatus that a kind of multimedia file is played, the method includes:Data link is set up respectively with N number of output peripheral equipment for detecting, and the N is the integer more than or equal to 2;When playing multimedia file, pass through the multi-medium data of the data link, the respectively at least two transmission multimedia files into N number of output peripheral equipment.So that at least two in N number of output peripheral equipment play the multi-medium data.The scheme of same multi-medium data can be played by realizing at least two output peripheral equipments simultaneously, and many people can view and admire same multimedia file simultaneously, improve Consumer's Experience.

Description

The method and apparatus that multimedia file is played
Technical field
This disclosure relates to field of terminal technology, more particularly to the method and apparatus that multimedia file is played.
Background technology
When mobile phone plays video, in order to avoid influence of the sound to surrounding environment of broadcasting, beholder can pass through earphone To listen to the sound of broadcasting.But, if many people want to see the video that this mobile phone is sown into simultaneously, most two people pass through one Wired earphone listens to sound, and wherein everyone wears one of headset earpiece.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides the method and apparatus that a kind of multimedia file is played.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of method that multimedia file is played, including:
N number of output peripheral equipment is detected, the N is the integer more than or equal to 2;
Data link is set up respectively with N number of output peripheral equipment for detecting;
When playing multimedia file, by the data link, respectively into N number of output peripheral equipment M output peripheral equipment sends the multi-medium data of the multimedia file, and the multi-medium data is used for the outside output Device plays, the M is the integer more than or equal to 2, and less than or equal to N.
Alternatively, described by the data link, M into N number of output peripheral equipment is outside respectively Output equipment sends the multi-medium data of the multimedia file, including:
The multimedia file is decoded, the multi-medium data is obtained;
By the data link, the multi-medium data is sent to the M output peripheral equipment respectively.
Alternatively, described by the data link, M into N number of output peripheral equipment is outside respectively Output equipment sends the multi-medium data of the multimedia file, including:
By the data link, many of the multimedia file are sent to the M output peripheral equipment respectively Media Stream, the media stream is used for output peripheral equipment decoding and obtains the multi-medium data.
Alternatively, the multi-medium data is voice data.
Alternatively, N number of output peripheral equipment includes N number of bluetooth output equipment or N number of wired output equipment;Or Person, N number of output peripheral equipment includes K bluetooth output equipment and H wired output equipments, and the K, the H are respectively Integer more than 0, N=K+H.
Alternatively, the M output peripheral equipment is bluetooth output equipment described at least two;Or,
The M output peripheral equipment is wired output equipment described at least two;Or,
The M output peripheral equipment be:At least one described bluetooth output equipment, and at least one is described wired defeated Go out equipment.
According to the second aspect of the embodiment of the present disclosure there is provided the device that a kind of multimedia file is played, including:
Detection module, is configured as detecting N number of output peripheral equipment, the N is the integer more than or equal to 2;
Module is set up, is configured as setting up number respectively with N number of output peripheral equipment that the detection module is detected According to communication link;
Playing module, is configured as playing multimedia file;
Sending module, is configured as when the playing module plays multimedia file, by the data link, The M output peripheral equipment into N number of output peripheral equipment sends the multi-medium data of the multimedia file, institute respectively State multi-medium data to play for the output peripheral equipment, the M is the integer more than or equal to 2, and less than or equal to N.
Alternatively, the sending module, including:Decoding sub-module and the first sending submodule;
The decoding sub-module, is configured as decoding the multimedia file, obtains the multi-medium data;
First sending submodule, is configured as by the data link, respectively to described M outside output Equipment sends the multi-medium data.
Alternatively, the sending module, including:Second sending submodule;
Second sending submodule, is configured as by the data link, respectively to described M outside output Equipment sends the media stream of the multimedia file, and the media stream is used for output peripheral equipment decoding and obtains described Multi-medium data.
Alternatively, the multi-medium data is voice data.
Alternatively, N number of output peripheral equipment includes N number of bluetooth output equipment or N number of wired output equipment;Or Person, N number of output peripheral equipment includes K bluetooth output equipment and H wired output equipments, and the K, the H are respectively Integer more than 0, N=K+H.
Alternatively, the M output peripheral equipment is bluetooth output equipment described at least two;Or,
The M output peripheral equipment is wired output equipment described at least two;Or,
The M output peripheral equipment be:At least one described bluetooth output equipment, and at least one is described wired defeated Go out equipment.
According to the third aspect of the embodiment of the present disclosure there is provided the device that a kind of multimedia file is played, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
N number of output peripheral equipment is detected, the N is the integer more than or equal to 2;
Data link is set up respectively with N number of output peripheral equipment;
When playing multimedia file, by the data link, respectively into N number of output peripheral equipment M output peripheral equipment sends the multi-medium data of the multimedia file, and the multi-medium data is used for the outside output Device plays, the M is the integer more than or equal to 2, and less than or equal to N.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of non-transitorycomputer readable storage medium, when described Instruction in storage medium by the computing device of terminal when so that mobile terminal is able to carry out what a kind of multimedia file was played Method, methods described includes:
N number of output peripheral equipment is detected, the N is the integer more than or equal to 2;
Data link is set up respectively with N number of output peripheral equipment;
When playing multimedia file, by the data link, respectively into N number of output peripheral equipment M output peripheral equipment sends the multi-medium data of the multimedia file, and the multi-medium data is used for the outside output Device plays, the M is the integer more than or equal to 2, and less than or equal to N.
The technical scheme provided by this disclosed embodiment can include the following benefits:By with detect it is N number of outer Portion's output equipment sets up data link respectively, then when playing multimedia file, by the data link, point At least two not into N number of output peripheral equipment send the multi-medium data of multimedia file so that at least two outsides are defeated Go out equipment and play the multi-medium data.Same multi-medium data can be played by realizing at least two output peripheral equipments simultaneously Scheme, and many people can view and admire same multimedia file simultaneously, improve Consumer's Experience.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the flow chart for the method that a kind of multimedia file according to an exemplary embodiment is played.
Fig. 2 is the flow chart for the method that a kind of multimedia file according to another exemplary embodiment is played.
Fig. 3 is the flow chart for the method that a kind of multimedia file according to another exemplary embodiment is played.
Fig. 4 is the block diagram for the device that a kind of multimedia file according to an exemplary embodiment is played.
Fig. 5 is the block diagram for the device that a kind of multimedia file according to another exemplary embodiment is played.
Fig. 6 is the block diagram for the device that a kind of multimedia file according to another exemplary embodiment is played.
Fig. 7 is the block diagram for the device 800 that a kind of multimedia file according to an exemplary embodiment is played.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope that the disclosure is conceived by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects of be described in detail in claims, disclosure.
Fig. 1 is the flow chart for the method that a kind of multimedia file according to an exemplary embodiment is played, such as Fig. 1 institutes Show, the method that multimedia file is played is used in terminal, comprises the following steps.
In step s 11, N number of output peripheral equipment is detected, the N is the integer more than or equal to 2.
In the present embodiment, N number of output peripheral equipment is detected, N number of output peripheral equipment can set for N number of wireless output It is standby, or, N number of output peripheral equipment can also be N number of wired output equipment, or, N number of output peripheral equipment can be At least one is wireless output equipment and at least one wired output equipment.Wherein, the detection of wired output equipment can be by defeated Enter the signal between output interface to transmit to detect.The detection of wireless output equipment can be examined by the transmission of wireless signal Survey, for example:Bluetooth signal, infrared signal etc..
In step s 12, data link is set up respectively with N number of output peripheral equipment for detecting.
In the present embodiment, data link can be set up respectively with the N number of output peripheral equipment detected.
For example:N number of output peripheral equipment is detected simultaneously by, then sets up data communication chain with N number of output peripheral equipment respectively Road.Or, at least one output peripheral equipment is first detected, then at least one output peripheral equipment sets up data communication with this Link, detects at least one output peripheral equipment again, and then setting up data with this at least one output peripheral equipment again leads to Believe link.
In step s 13, when playing multimedia file, by the data link, respectively to N number of outside M output peripheral equipment in output equipment sends the multi-medium data of the multimedia file.
In the present embodiment, when playing multimedia file, N number of data link of above-mentioned foundation keeps connecting shape State, then respectively by data link, the M output peripheral equipment into corresponding N number of output peripheral equipment sends institute The multi-medium data of multimedia file is stated, M is the integer more than or equal to 2, and less than or equal to N;Exported to portion of external Equipment or whole output peripheral equipments send the multi-medium data.For example:N1 data are established with N1 output peripheral equipments Communication link, N2 data links etc. are established with N2 output peripheral equipments, correspondingly, pass through N1 data communication chain road directions N1 Output peripheral equipment sends multi-medium data, and multi-medium data is sent by N2 data communication chain road direction N2 output peripheral equipments Deng.Multi-medium data is played for output peripheral equipment.
Wherein, it can be that playing video file or audio file or broadcasting video are chatted to play multimedia file The voice in video or broadcasting voice call process during it.
In summary, the method that the multimedia file that the present embodiment is provided is played, passes through N number of outside output with detecting Equipment sets up data link respectively, then when playing multimedia file, by the data link, respectively to N At least two output peripheral equipments in individual output peripheral equipment send the multi-medium data of multimedia file so that at least two Output peripheral equipment plays the multi-medium data.Same many matchmakers can be played by realizing at least two output peripheral equipments simultaneously The scheme of volume data, and many people can view and admire same multimedia file simultaneously, improve Consumer's Experience.
Fig. 2 is the flow chart for the method that a kind of multimedia file according to another exemplary embodiment is played, such as Fig. 2 Shown, the method that multimedia file is played is used in terminal, comprises the following steps.
In the step s 21, N number of output peripheral equipment is detected, the N is the integer more than or equal to 2.
In step S22, data link is set up respectively with N number of output peripheral equipment for detecting.
In the present embodiment, S21 and S22 implementation may refer to the associated description in embodiment illustrated in fig. 1, herein not Repeat again.
In step S23, when playing multimedia file, the multimedia file is decoded, multimedia number is obtained According to.
In step s 24, M output peripheral equipment respectively into N number of output peripheral equipment sends many matchmakers Volume data.
In the present embodiment, by the data link, M into N number of output peripheral equipment is outside respectively A kind of feasible implementation that output equipment sends the multi-medium data of the multimedia file can include S23 and S24.
In the present embodiment, multimedia file is decoded, multi-medium data is obtained, then by data link, Respectively the multi-medium data is exported to M output peripheral equipment.Alternatively, above-mentioned S23 and S24 a kind of feasible implementation For:The terminal of the present embodiment passes through pulse code modulation (Pulse Code by above-mentioned N number of data link Modulation, PCM) interface sends multi-medium data to M output peripheral equipment respectively;Each output peripheral equipment is received Can directly it be played after multi-medium data.Alternatively, before output peripheral equipment plays multi-medium data, it can also be filtered Ripple, voltage stabilizing is handled through micro-chip processor.
In summary, the method that the multimedia file that the present embodiment is provided is played, passes through such scheme so that at least two Output peripheral equipment plays the multi-medium data.Same many matchmakers can be played by realizing at least two output peripheral equipments simultaneously The scheme of volume data, and many people can view and admire same multimedia file simultaneously, improve Consumer's Experience.
Fig. 3 is the flow chart for the method that a kind of multimedia file according to another exemplary embodiment is played, such as Fig. 3 Shown, the method that multimedia file is played is used in terminal, comprises the following steps.
In step S31, N number of output peripheral equipment is detected, the N is the integer more than or equal to 2.
In step s 32, data link is set up respectively with N number of output peripheral equipment for detecting.
In the present embodiment, S31 and S32 implementation may refer to the associated description in embodiment illustrated in fig. 1, herein not Repeat again.
In step S33, when playing multimedia file, by the data link, respectively to N number of outside M output peripheral equipment in output equipment sends the media stream of the multimedia file, and the media stream is used for described Output peripheral equipment decoding obtains the multi-medium data.
In the present embodiment, by the data link, many matchmakers are sent to the M output peripheral equipment respectively A kind of feasible implementation of the multi-medium data of body file can include S33.
In the present embodiment, by data link, many of the multimedia file are exported to M output peripheral equipment respectively Media data.Alternatively, a kind of above-mentioned S33 feasible implementation is:The terminal of the present embodiment is logical by above-mentioned M data Believe link, and media stream is sent to M output peripheral equipment respectively by simulating UART;Each output peripheral equipment is received To media stream, decoding is carried out to media stream and obtains multi-medium data, then can directly be played.Alternatively, it is defeated in outside Go out before equipment decoding media stream, can also be filtered, voltage stabilizing is handled through micro-chip processor.
In summary, the method that the multimedia file that the present embodiment is provided is played, passes through such scheme so that at least two Output peripheral equipment plays the multi-medium data.Same many matchmakers can be played by realizing at least two output peripheral equipments simultaneously The scheme of volume data, and many people can view and admire same multimedia file simultaneously, improve Consumer's Experience.
Alternatively, above-mentioned multi-medium data is voice data.
Alternatively, N number of output peripheral equipment includes but is not limited to following at least one:Wired earphone, wireless headset (including Bluetooth earphone etc.), wired audio amplifier, wireless sound box (Baffle Box of Bluetooth) etc..
Alternatively, above-mentioned N number of output peripheral equipment includes N number of wireless output equipment, such as N number of bluetooth output equipment should Bluetooth output equipment includes following at least one:Bluetooth earphone, Baffle Box of Bluetooth etc..In this case, above-mentioned M outside is defeated It is M bluetooth output equipment to go out equipment.
Alternatively, above-mentioned N number of output peripheral equipment includes N number of wired output equipment, and wired output equipment includes following It is at least one:Wired earphone, wired audio amplifier etc..In this case, M above-mentioned output peripheral equipment is M wired outputs Equipment.
Alternatively, above-mentioned N number of output peripheral equipment includes K wireless output equipments (such as bluetooth output equipment) and H Wired output equipment, K, H are respectively the integer more than 0, N=K+H.In this case, M above-mentioned output peripheral equipment is At least two in K bluetooth output equipment, or, above-mentioned M output peripheral equipment in H wired output equipments extremely It is few two, or, M above-mentioned output peripheral equipment is at least one in K bluetooth output equipment and H wired outputs At least one in equipment.As an enforceable example, above-mentioned N number of output peripheral equipment can include 1 wired earphone With N-1 bluetooth earphone.
Alternatively, the process that the present embodiment sets up data link with bluetooth earphone is:Apply example and pass through industry in this pass first Agreement (SDP) module is searched in business, searches for bluetooth earphone.Search after at least one bluetooth earphone, set up and at least one bluetooth The data link of earphone.Specially:Set up the ACL i.e. link of baseband layer;;Set up L2CAP layers of link;Carry out SDP's Query process;Set up RFCOMM layers of link;After FCOMM links are built up, RFCOMM transmission HeadSet key-courses will be passed through Some AT orders;Set up SCO links;So far data link is established.Then voice data transmission can be carried out.
Alternatively, above by the scheme of simulation UART transmission media streams, the present embodiment is by setting registration table 【HKEY_LOCAL_MACHINE\Services\BTAGSVC】IsEnabled=1 so that load voice automatically during System guides Gateway (AG) is serviced.First, the terminal and end bluetooth earphone ACL that the present embodiment is set up by manual configuration are linked (towards without even The async link connect), IOCTL_AG_OPEN_AUDIO then is called in Application or Audio Driver, is built again Vertical the present embodiment terminal wave Out Message ((HWAVEOUT) i, WODM_BT_SCO_AUDIO_CONTROL, 0, TRUE)。
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.It is real for disclosure device The details not disclosed in example is applied, method of disclosure embodiment is refer to.
Fig. 4 is the block diagram for the device that a kind of multimedia file according to an exemplary embodiment is played.The multimedia The device that file is played being implemented in combination with as the electronic equipment comprising touching display screen by software, hardware or both It is some or all of.Reference picture 4, the device includes detection module 100, sets up module 200, playing module 300 and transmission mould Block 400.
Detection module 100, is configured as detecting N number of output peripheral equipment, the N is the integer more than or equal to 2;
Module 200 is set up, is configured as distinguishing with N number of output peripheral equipment that the detection module 100 is detected Set up data link.
Playing module 300, is configured as playing multimedia file.
Sending module 400, is configured as when the playing module 300 plays multimedia file, logical by the data Believe link, the M output peripheral equipment into N number of output peripheral equipment sends the multimedia of the multimedia file respectively Data, the multi-medium data is played for the output peripheral equipment, and the M is more than or equal to 2, and less than or equal to N Integer.
Alternatively, the multi-medium data is voice data.
Alternatively, N number of output peripheral equipment includes N number of bluetooth output equipment or N number of wired output equipment;Or Person, N number of output peripheral equipment includes K bluetooth output equipment and H wired output equipments, and the K, the H are respectively Integer more than 0, N=K+H.
Alternatively, the M output peripheral equipment is bluetooth output equipment described at least two;Or,
The M output peripheral equipment is wired output equipment described at least two;Or,
The M output peripheral equipment be:At least one described bluetooth output equipment, and at least one is described wired defeated Go out equipment.
On the device in above-described embodiment, wherein modules perform the concrete mode operated and technique effect exists About being described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Fig. 5 is the block diagram for the device that a kind of multimedia file according to another exemplary embodiment is played.Many matchmakers Body file play device can by software, hardware or both be implemented in combination with set as the electronics comprising touching display screen Standby is some or all of.Reference picture 5, the device of the present embodiment is on the basis of embodiment illustrated in fig. 4, sending module 400, bag Include:The sending submodule 420 of decoding sub-module 410 and first.
The decoding sub-module 410, is configured as decoding the multimedia file, obtains the multimedia number According to;
First sending submodule 420, is configured as by the data link, outside to described M respectively Output equipment sends the multi-medium data.
On the device in above-described embodiment, wherein modules perform the concrete mode operated and technique effect exists About being described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Fig. 6 is the block diagram for the device that a kind of multimedia file according to another exemplary embodiment is played.Many matchmakers Body file play device can by software, hardware or both be implemented in combination with set as the electronics comprising touching display screen Standby is some or all of.Reference picture 6, the device of the present embodiment is on the basis of embodiment illustrated in fig. 4, the sending module 400, including:Second sending submodule 430.
Second sending submodule 430, is configured as by the data link, outside to described M respectively Output equipment sends the media stream of the multimedia file, and the media stream is used for the output peripheral equipment and decodes acquisition The multi-medium data.
In addition, according to the embodiment of the present disclosure, the device that a kind of multimedia file is played is additionally provided, including:Processor;With In the memory of storage processor-executable instruction;Wherein, the processor is configured as:Detect N number of output peripheral equipment; Data link is set up respectively with N number of output peripheral equipment for detecting, and the N is the integer more than or equal to 2;Playing During multimedia file, by the data link, the outside output of M into N number of output peripheral equipment respectively is set Preparation send the multi-medium data of the multimedia file, and the M is the integer more than or equal to 2, and less than or equal to N.
Alternatively, the processor, is configured as:The multimedia file is decoded, the multimedia number is obtained According to;By the data link, the multi-medium data is sent to the M output peripheral equipment respectively.
Alternatively, the processor, is configured as:By the data link, respectively to described M outside output Equipment sends the media stream of the multimedia file, and the media stream is used for output peripheral equipment decoding and obtains described Multi-medium data.
Alternatively, N number of output peripheral equipment includes N number of bluetooth output equipment or N number of wired output equipment;Or Person, N number of output peripheral equipment includes K bluetooth output equipment and H wired output equipments, and the K, the H are respectively Integer more than 0, N=K+H.
Alternatively, the M output peripheral equipment is bluetooth output equipment described at least two;Or, described M is outside Output equipment is wired output equipment described at least two;Or, the M output peripheral equipment is:At least one described indigo plant Tooth output equipment, and at least one described wired output equipment.
Fig. 7 is the block diagram for the device 800 that a kind of multimedia file according to an exemplary embodiment is played.For example, Device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, doctor Treat equipment, body-building equipment, personal digital assistant etc..
Reference picture 7, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, electric power Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine operates the operation associated with record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, 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 Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (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 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 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 the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, 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 cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in not any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 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 combinations thereof.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 also includes near-field communication (NFC) module, to promote junction service.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 circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (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 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.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..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 800 When device is performed so that device 800 is able to carry out the method that above-mentioned multimedia file is played.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claims are pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claims System.

Claims (12)

1. a kind of method that multimedia file is played, it is characterised in that including:
N number of output peripheral equipment is detected, the N is the integer more than or equal to 2;
Data link is set up respectively with N number of output peripheral equipment;
When playing multimedia file, pass through the data link, the respectively M into N number of output peripheral equipment Output peripheral equipment sends the multi-medium data of the multimedia file, and the multi-medium data is used for the output peripheral equipment Play, the M is the integer more than or equal to 2, and less than or equal to N.
2. according to the method described in claim 1, it is characterised in that described by the data link, respectively to the N M output peripheral equipment in individual output peripheral equipment sends the multi-medium data of the multimedia file, including:
The multimedia file is decoded, the multi-medium data is obtained;
By the data link, the multi-medium data is sent to the M output peripheral equipment respectively.
3. according to the method described in claim 1, it is characterised in that described by the data link, respectively to the N M output peripheral equipment in individual output peripheral equipment sends the multi-medium data of the multimedia file, including:
By the data link, the multimedia of the multimedia file is sent to the M output peripheral equipment respectively Stream, the media stream is used for output peripheral equipment decoding and obtains the multi-medium data.
4. the method according to claim 1-3 any one, it is characterised in that N number of output peripheral equipment includes N number of Bluetooth output equipment or N number of wired output equipment;Or, N number of output peripheral equipment include K bluetooth output equipment with H wired output equipments, the K, the H are respectively the integer more than 0, N=K+H.
5. method according to claim 4, it is characterised in that the M output peripheral equipment is blue described at least two Tooth output equipment;Or,
The M output peripheral equipment is wired output equipment described at least two;Or,
The M output peripheral equipment be:At least one described bluetooth output equipment, and at least one described wired output are set It is standby.
6. the device that a kind of multimedia file is played, it is characterised in that including:
Detection module, is configured as detecting N number of output peripheral equipment, the N is the integer more than or equal to 2;
Set up module, be configured as with N number of output peripheral equipment that the detection module is detected set up respectively data lead to Believe link;
Playing module, is configured as playing multimedia file;
Sending module, is configured as, when the playing module plays multimedia file, passing through the data link, difference The M output peripheral equipment into N number of output peripheral equipment sends the multi-medium data of the multimedia file, described many Media data is played for the output peripheral equipment, and the M is the integer more than or equal to 2, and less than or equal to N.
7. device according to claim 6, it is characterised in that the sending module, including:Decoding sub-module and the first hair Send submodule;
The decoding sub-module, is configured as decoding the multimedia file, obtains the multi-medium data;
First sending submodule, is configured as by the data link, respectively to the M output peripheral equipment Send the multi-medium data.
8. device according to claim 6, it is characterised in that the sending module, including:Second sending submodule;
Second sending submodule, is configured as by the data link, respectively to the M output peripheral equipment The media stream of the multimedia file is sent, the media stream is used for output peripheral equipment decoding and obtains many matchmakers Volume data.
9. the device according to claim 6-8 any one, it is characterised in that N number of output peripheral equipment includes N number of Bluetooth output equipment or N number of wired output equipment;Or, N number of output peripheral equipment include K bluetooth output equipment with H wired output equipments, the K, the H are respectively the integer more than 0, N=K+H.
10. device according to claim 9, it is characterised in that the M output peripheral equipment is blue described at least two Tooth output equipment;Or,
The M output peripheral equipment is wired output equipment described at least two;Or,
The M output peripheral equipment be:At least one described bluetooth output equipment, and at least one described wired output are set It is standby.
11. the device that a kind of multimedia file is played, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
N number of output peripheral equipment is detected, the N is the integer more than or equal to 2;
Data link is set up respectively with N number of output peripheral equipment;
When playing multimedia file, pass through the data link, the respectively M into N number of output peripheral equipment Output peripheral equipment sends the multi-medium data of the multimedia file, and the multi-medium data is used for the output peripheral equipment Play, the M is the integer more than or equal to 2, and less than or equal to N.
12. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal During row so that mobile terminal is able to carry out a kind of method that multimedia file is played, methods described includes:
N number of output peripheral equipment is detected, the N is the integer more than or equal to 2;
Data link is set up respectively with N number of output peripheral equipment;
When playing multimedia file, pass through the data link, the respectively M into N number of output peripheral equipment Output peripheral equipment sends the multi-medium data of the multimedia file, and the multi-medium data is used for the output peripheral equipment Play, the M is the integer more than or equal to 2, and less than or equal to N.
CN201710287212.6A 2017-04-27 2017-04-27 The method and apparatus that multimedia file is played Pending CN107124679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710287212.6A CN107124679A (en) 2017-04-27 2017-04-27 The method and apparatus that multimedia file is played

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710287212.6A CN107124679A (en) 2017-04-27 2017-04-27 The method and apparatus that multimedia file is played

Publications (1)

Publication Number Publication Date
CN107124679A true CN107124679A (en) 2017-09-01

Family

ID=59725457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710287212.6A Pending CN107124679A (en) 2017-04-27 2017-04-27 The method and apparatus that multimedia file is played

Country Status (1)

Country Link
CN (1) CN107124679A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769849A (en) * 2018-04-26 2018-11-06 Oppo广东移动通信有限公司 The control method and Related product of wearable device
CN109151566A (en) * 2018-09-30 2019-01-04 Oppo广东移动通信有限公司 Audio frequency playing method, device, electronic equipment and computer-readable medium
CN109257500A (en) * 2018-09-30 2019-01-22 Oppo广东移动通信有限公司 Audio frequency playing method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516885A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multimedia playing system and multimedia playing method
CN104394127A (en) * 2014-11-11 2015-03-04 海信集团有限公司 A multimedia sharing method, device and system
US20160255398A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Method for outputting audio and electronic device for the same
CN106412629A (en) * 2016-10-08 2017-02-15 广东欧珀移动通信有限公司 Media data transmission processing method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516885A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multimedia playing system and multimedia playing method
CN104394127A (en) * 2014-11-11 2015-03-04 海信集团有限公司 A multimedia sharing method, device and system
US20160255398A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Method for outputting audio and electronic device for the same
CN106412629A (en) * 2016-10-08 2017-02-15 广东欧珀移动通信有限公司 Media data transmission processing method, device and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769849A (en) * 2018-04-26 2018-11-06 Oppo广东移动通信有限公司 The control method and Related product of wearable device
CN109151566A (en) * 2018-09-30 2019-01-04 Oppo广东移动通信有限公司 Audio frequency playing method, device, electronic equipment and computer-readable medium
CN109257500A (en) * 2018-09-30 2019-01-22 Oppo广东移动通信有限公司 Audio frequency playing method, device, electronic equipment and storage medium
CN109151566B (en) * 2018-09-30 2021-09-14 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
CN104469437B (en) Advertisement sending method and device
CN104394500B (en) The method and device of terminal is found using wearable device
CN104159218B (en) Internetwork connection establishing method and device
CN104391870B (en) Logistics information acquisition methods and device
CN105354017B (en) Information processing method and device
CN104935729B (en) Audio-frequency inputting method and device
CN107730847A (en) Sharing articles finding method and device
CN104506703B (en) Tone information, tone information player method and device
CN106296170A (en) The method of Quick Response Code payment, Apparatus and system
CN107071862A (en) Account binding method and device and smart machine
CN104468581B (en) The method and device of login application program
CN107682538A (en) The display methods and device of application interface
CN106990812A (en) USB connector and terminal device
CN106384586A (en) Method and device for reading text information
CN107124679A (en) The method and apparatus that multimedia file is played
CN107135147A (en) Method, device and the computer-readable recording medium of sharing position information
CN104281431B (en) The method and device that audio plays
CN107562500A (en) Debugging apparatus, method and apparatus
CN104851441B (en) Realize the method, apparatus and home audio of Karaoke
CN106357610A (en) Communication method and device
CN106502623A (en) Audio output device and method
CN104599691B (en) Audio frequency playing method and device
CN106936986A (en) Application processing method and device
CN106371625A (en) Associated word display method and device
CN106775646A (en) Alarm clock control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170901