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
output devices
external output
multimedia
multimedia file
data
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

Method and device for playing multimedia file
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for playing a multimedia file.
Background
When the mobile phone plays a video, in order to avoid the influence of the played sound on the surrounding environment, a viewer can listen to the played sound through the earphone. However, if a plurality of people want to watch the video played by the mobile phone at the same time, a maximum of two people listen to the sound through one wired headset, wherein each person wears one of the headset earphones.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and apparatus for playing a multimedia file.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for playing a multimedia file, including:
detecting N external output devices, wherein N is an integer greater than or equal to 2;
respectively establishing data communication links with the detected N external output devices;
when a multimedia file is played, multimedia data of the multimedia file are respectively sent to M external output devices in the N external output devices through the data communication link, the multimedia data are used for playing of the external output devices, and M is an integer which is greater than or equal to 2 and less than or equal to N.
Optionally, the sending, by the data communication link, the multimedia data of the multimedia file to M external output devices of the N external output devices respectively includes:
decoding the multimedia file to obtain the multimedia data;
and respectively transmitting the multimedia data to the M external output devices through the data communication link.
Optionally, the sending, by the data communication link, the multimedia data of the multimedia file to M external output devices of the N external output devices respectively includes:
and respectively sending the multimedia stream of the multimedia file to the M external output devices through the data communication link, wherein the multimedia stream is used for decoding by the external output devices to obtain the multimedia data.
Optionally, the multimedia data is audio data.
Optionally, the N external output devices include N bluetooth output devices or N wired output devices; or, the N external output devices include K bluetooth output devices and H wired output devices, where K and H are integers greater than 0, and N is K + H.
Optionally, the M external output devices are at least two of the bluetooth output devices; or,
the M external output devices are at least two wired output devices; or,
the M external output devices are: at least one said bluetooth output device, and at least one said wired output device.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for playing a multimedia file, including:
a detection module configured to detect N external output devices, N being an integer greater than or equal to 2;
an establishing module configured to establish data communication links with the N external output devices detected by the detecting module, respectively;
a playing module configured to play a multimedia file;
a sending module configured to send multimedia data of the multimedia file to M external output devices of the N external output devices through the data communication link, respectively, when the playing module plays the multimedia file, where the multimedia data is used for playing by the external output devices, and M is an integer greater than or equal to 2 and less than or equal to N.
Optionally, the sending module includes: a decoding sub-module and a first transmitting sub-module;
the decoding submodule is configured to decode the multimedia file to obtain the multimedia data;
the first sending submodule is configured to send the multimedia data to the M external output devices through the data communication link, respectively.
Optionally, the sending module includes: a second sending submodule;
the second sending submodule is configured to send, to the M external output devices, multimedia streams of the multimedia file through the data communication link, where the multimedia streams are used for the external output devices to decode to obtain the multimedia data.
Optionally, the multimedia data is audio data.
Optionally, the N external output devices include N bluetooth output devices or N wired output devices; or, the N external output devices include K bluetooth output devices and H wired output devices, where K and H are integers greater than 0, and N is K + H.
Optionally, the M external output devices are at least two of the bluetooth output devices; or,
the M external output devices are at least two wired output devices; or,
the M external output devices are: at least one said bluetooth output device, and at least one said wired output device.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for playing a multimedia file, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting N external output devices, wherein N is an integer greater than or equal to 2;
establishing data communication links with the N pieces of external output equipment respectively;
when a multimedia file is played, multimedia data of the multimedia file are respectively sent to M external output devices in the N external output devices through the data communication link, the multimedia data are used for playing of the external output devices, and M is an integer which is greater than or equal to 2 and less than or equal to N.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a terminal, enable the mobile terminal to perform a method of multimedia file playing, the method comprising:
detecting N external output devices, wherein N is an integer greater than or equal to 2;
establishing data communication links with the N pieces of external output equipment respectively;
when a multimedia file is played, multimedia data of the multimedia file are respectively sent to M external output devices in the N external output devices through the data communication link, the multimedia data are used for playing of the external output devices, and M is an integer which is greater than or equal to 2 and less than or equal to N.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps of establishing data communication links with detected N external output devices respectively, and then sending multimedia data of the multimedia file to at least two of the N external output devices respectively through the data communication links when the multimedia file is played, so that the multimedia data can be played by the at least two external output devices. The scheme that the same multimedia data can be played by at least two external output devices at the same time is realized, and a plurality of people can watch the same multimedia file at the same time, so that the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of multimedia file playback according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method of multimedia file playback according to another exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of multimedia file playback according to another exemplary embodiment.
Fig. 4 is a block diagram illustrating an apparatus for multimedia file playback according to an example embodiment.
Fig. 5 is a block diagram illustrating an apparatus for multimedia file playback according to another exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for multimedia file playback according to another exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus 800 for multimedia file playback according to an example embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method of playing a multimedia file according to an exemplary embodiment, where the method of playing a multimedia file is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S11, N external output devices are detected, where N is an integer greater than or equal to 2.
In this embodiment, N external output devices are detected, where the N external output devices may be N wireless output devices, or the N external output devices may also be N wired output devices, or the N external output devices may be at least one wireless output device and at least one wired output device. Wherein the detection of the wired output device can be detected by signal transmission between the input and output interfaces. Detection of the wireless output device may be detected by transmission of a wireless signal, for example: bluetooth signals, infrared signals, etc.
In step S12, data communication links are established with the detected N external output devices, respectively.
In this embodiment, data communication links may be established with the detected N external output devices, respectively.
For example: and if N external output devices are detected simultaneously, establishing data communication links with the N external output devices respectively. Alternatively, the at least one external output device is detected first, then the data communication link is established with the at least one external output device, the at least one external output device is detected again, and then the data communication link is established with the at least one external output device.
In step S13, when playing a multimedia file, the multimedia data of the multimedia file is transmitted to M external output devices of the N external output devices, respectively, through the data communication link.
In this embodiment, when a multimedia file is played, the N data communication links that are established above all maintain a connection state, and then send multimedia data of the multimedia file to M external output devices of the N corresponding external output devices through the data communication links, respectively, where M is an integer greater than or equal to 2 and less than or equal to N; that is, the multimedia data is transmitted to a part of the external output devices or all of the external output devices. For example: an N1 data communication link is established with the N1 external output device, an N2 data communication link is established with the N2 external output device, and the like, and accordingly, multimedia data and the like are transmitted to the N1 external output device through the N1 data communication link, and the multimedia data and the like are transmitted to the N2 external output device through the N2 data communication link. The multimedia data is used for playing by an external output device.
The playing of the multimedia file can be playing of a video file or an audio file, playing of a video in a video chat process, and playing of a voice in a voice call process.
In summary, in the method for playing a multimedia file provided in this embodiment, data communication links are respectively established with the detected N external output devices, and then when the multimedia file is played, the multimedia data of the multimedia file is respectively sent to at least two external output devices of the N external output devices through the data communication links, so that the at least two external output devices both play the multimedia data. The scheme that the same multimedia data can be played by at least two external output devices at the same time is realized, and a plurality of people can watch the same multimedia file at the same time, so that the user experience is improved.
Fig. 2 is a flowchart illustrating a method of playing a multimedia file according to another exemplary embodiment, and as shown in fig. 2, the method of playing a multimedia file is used in a terminal and includes the following steps.
In step S21, N external output devices are detected, where N is an integer greater than or equal to 2.
In step S22, data communication links are established with the detected N external output devices, respectively.
In this embodiment, reference may be made to relevant descriptions in the embodiment shown in fig. 1 for implementation of S21 and S22, which are not described herein again.
In step S23, when playing the multimedia file, the multimedia file is decoded to obtain multimedia data.
In step S24, the multimedia data is transmitted to M external output devices among the N external output devices, respectively.
In this embodiment, one possible implementation manner of sending the multimedia data of the multimedia file to M external output devices of the N external output devices through the data communication link may include S23 and S24.
In this embodiment, the multimedia file is decoded to obtain multimedia data, and then the multimedia data is output to M external output devices through data communication links, respectively. Alternatively, one possible implementation manner of the above S23 and S24 is: the terminal of this embodiment sends multimedia data to M external output devices through the N data communication links and through Pulse Code Modulation (PCM) interfaces, respectively; and each external output device can directly play the multimedia data after receiving the multimedia data. Optionally, before the multimedia data is played by the external output device, filtering, voltage stabilization and processing by the microprocessor chip may also be performed.
In summary, according to the method for playing a multimedia file provided by this embodiment, through the above scheme, at least two external output devices can both play the multimedia data. The scheme that the same multimedia data can be played by at least two external output devices at the same time is realized, and a plurality of people can watch the same multimedia file at the same time, so that the user experience is improved.
Fig. 3 is a flowchart illustrating a method of playing a multimedia file according to another exemplary embodiment, and as shown in fig. 3, the method of playing a multimedia file is used in a terminal and includes the following steps.
In step S31, N external output devices are detected, where N is an integer greater than or equal to 2.
In step S32, data communication links are established with the detected N external output devices, respectively.
In this embodiment, reference may be made to relevant descriptions in the embodiment shown in fig. 1 for implementation of S31 and S32, which are not described herein again.
In step S33, when playing a multimedia file, the multimedia stream of the multimedia file is sent to M external output devices of the N external output devices through the data communication link, and the multimedia stream is used for decoding by the external output devices to obtain the multimedia data.
In this embodiment, one possible implementation manner of sending the multimedia data of the multimedia file to the M external output devices through the data communication link may include S33.
In this embodiment, the multimedia data of the multimedia file is output to M external output devices through data communication links, respectively. Alternatively, one possible implementation of S33 is as follows: the terminal of this embodiment sends multimedia streams to M external output devices through the M data communication links and through the analog UART, respectively; and each external output device receives the multimedia stream, decodes the multimedia stream to obtain multimedia data, and then can directly play the multimedia data. Optionally, before the multimedia stream is decoded by the external output device, filtering, voltage stabilization and processing by the microprocessor chip can be performed.
In summary, according to the method for playing a multimedia file provided by this embodiment, through the above scheme, at least two external output devices can both play the multimedia data. The scheme that the same multimedia data can be played by at least two external output devices at the same time is realized, and a plurality of people can watch the same multimedia file at the same time, so that the user experience is improved.
Optionally, the multimedia data is audio data.
Optionally, the N external output devices include, but are not limited to, at least one of: wired earphones, wireless earphones (including bluetooth earphones and the like), wired sound boxes, wireless sound boxes (bluetooth sound boxes) and the like.
Optionally, the N external output devices include N wireless output devices, for example, N bluetooth output devices, where the bluetooth output devices include at least one of: bluetooth headset, bluetooth speaker etc.. In this case, the above-mentioned M external output devices are M bluetooth output devices.
Optionally, the N external output devices include N wired output devices, and the wired output devices include at least one of: wired earphones, wired speakers, and the like. In this case, the above-mentioned M external output devices are M wired output devices.
Optionally, the N external output devices include K wireless output devices (e.g., bluetooth output devices) and H wired output devices, K, H are integers greater than 0, respectively, and N is K + H. In this case, the M external output devices are at least two of K bluetooth output devices, or the M external output devices are at least two of H wired output devices, or the M external output devices are at least one of K bluetooth output devices and at least one of H wired output devices. As a practical example, the N external output devices may include 1 wired headset and N-1 Bluetooth headsets.
Optionally, the process of establishing the data communication link with the bluetooth headset in this embodiment is as follows: first, the present embodiment searches for a bluetooth headset through a Service Discovery Protocol (SDP) module. After the at least one Bluetooth headset is searched, a data communication link with the at least one Bluetooth headset is established. The method specifically comprises the following steps: establishing ACL (access control list) namely a link of a baseband layer; (ii) a Establishing a link of an L2CAP layer; carrying out the query process of the SDP; establishing a link of an RFCOMM layer; after the FCOMM link is established, transmitting some AT commands of a HeadSet control layer through an RFCOMM channel; establishing SCO link; to this end, a data communication link is established. Audio data transmission may then take place.
Optionally, in the above scheme of transmitting a multimedia stream through an analog UART, the present embodiment sets 1 to the registry [ HKEY _ LOCAL _ media \ Services \ btagvc ], so that the voice gateway (AG) service is automatically loaded when the system boots. Firstly, establishing ACL link (asynchronous link facing no connection) between the terminal and the end Bluetooth headset of the embodiment through manual configuration, then calling IOCTL _ AG _ OPEN _ AUDIO in Application or Audio Driver, and reestablishing the terminal wave Out Message (HWAVEOUT) i, WODM _ BT _ SCO _ AUDIO _ CONTROL,0, TRUE) of the embodiment.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 4 is a block diagram illustrating an apparatus for multimedia file playback according to an example embodiment. The multimedia file playing device can be realized by software, hardware or a combination of the software and the hardware to be a part or all of an electronic device comprising a touch display screen. Referring to fig. 4, the apparatus includes a detection module 100, a setup module 200, a play module 300, and a transmission module 400.
A detection module 100 configured to detect N external output devices, N being an integer greater than or equal to 2;
an establishing module 200 configured to establish data communication links with the N external output devices detected by the detecting module 100, respectively.
A playing module 300 configured to play the multimedia file.
A sending module 400, configured to send, through the data communication link, multimedia data of the multimedia file to M external output devices of the N external output devices respectively when the playing module 300 plays the multimedia file, where the multimedia data is used for playing by the external output devices, and M is an integer greater than or equal to 2 and less than or equal to N.
Optionally, the multimedia data is audio data.
Optionally, the N external output devices include N bluetooth output devices or N wired output devices; or, the N external output devices include K bluetooth output devices and H wired output devices, where K and H are integers greater than 0, and N is K + H.
Optionally, the M external output devices are at least two of the bluetooth output devices; or,
the M external output devices are at least two wired output devices; or,
the M external output devices are: at least one said bluetooth output device, and at least one said wired output device.
With regard to the apparatus in the above-described embodiment, the specific manner and technical effects of the operations performed by the respective modules have been described in detail in the embodiment related to the method, and will not be elaborated herein.
Fig. 5 is a block diagram illustrating an apparatus for multimedia file playback according to another exemplary embodiment. The multimedia file playing device can be realized by software, hardware or a combination of the software and the hardware to be a part or all of an electronic device comprising a touch display screen. Referring to fig. 5, the apparatus of this embodiment is based on the embodiment shown in fig. 4, and the sending module 400 includes: a decoding sub-module 410 and a first transmitting sub-module 420.
The decoding sub-module 410 is configured to decode the multimedia file to obtain the multimedia data;
the first sending submodule 420 is configured to send the multimedia data to the M external output devices through the data communication link, respectively.
With regard to the apparatus in the above-described embodiment, the specific manner and technical effects of the operations performed by the respective modules have been described in detail in the embodiment related to the method, and will not be elaborated herein.
Fig. 6 is a block diagram illustrating an apparatus for multimedia file playback according to another exemplary embodiment. The multimedia file playing device can be realized by software, hardware or a combination of the software and the hardware to be a part or all of an electronic device comprising a touch display screen. Referring to fig. 6, in the apparatus of this embodiment, based on the embodiment shown in fig. 4, the sending module 400 includes: a second transmit submodule 430.
The second sending sub-module 430 is configured to send, to the M external output devices, multimedia streams of the multimedia file, respectively, through the data communication link, where the multimedia streams are used for decoding by the external output devices to obtain the multimedia data.
In addition, according to an embodiment of the present disclosure, there is also provided a device for playing a multimedia file, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: detecting N external output devices; respectively establishing data communication links with the detected N external output devices, wherein N is an integer greater than or equal to 2; when a multimedia file is played, multimedia data of the multimedia file are respectively sent to M external output devices in the N external output devices through the data communication link, wherein M is an integer which is greater than or equal to 2 and less than or equal to N.
Optionally, the processor is configured to: decoding the multimedia file to obtain the multimedia data; and respectively transmitting the multimedia data to the M external output devices through the data communication link.
Optionally, the processor is configured to: and respectively sending the multimedia stream of the multimedia file to the M external output devices through the data communication link, wherein the multimedia stream is used for decoding by the external output devices to obtain the multimedia data.
Optionally, the N external output devices include N bluetooth output devices or N wired output devices; or, the N external output devices include K bluetooth output devices and H wired output devices, where K and H are integers greater than 0, and N is K + H.
Optionally, the M external output devices are at least two of the bluetooth output devices; or, the M external output devices are at least two of the wired output devices; or, the M external output devices are: at least one said bluetooth output device, and at least one said wired output device.
Fig. 7 is a block diagram illustrating an apparatus 800 for multimedia file playback according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of the apparatus 800, enable the apparatus 800 to perform the above-described method for playing a multimedia file.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for playing a multimedia file, comprising:
detecting N external output devices, wherein N is an integer greater than or equal to 2;
establishing data communication links with the N pieces of external output equipment respectively;
when a multimedia file is played, multimedia data of the multimedia file are respectively sent to M external output devices in the N external output devices through the data communication link, the multimedia data are used for playing of the external output devices, and M is an integer which is greater than or equal to 2 and less than or equal to N.
2. The method of claim 1, wherein said sending multimedia data of the multimedia file to M of the N external output devices, respectively, via the data communication link, comprises:
decoding the multimedia file to obtain the multimedia data;
and respectively transmitting the multimedia data to the M external output devices through the data communication link.
3. The method of claim 1, wherein said sending multimedia data of the multimedia file to M of the N external output devices, respectively, via the data communication link, comprises:
and respectively sending the multimedia stream of the multimedia file to the M external output devices through the data communication link, wherein the multimedia stream is used for decoding by the external output devices to obtain the multimedia data.
4. The method of any of claims 1-3, wherein the N external output devices comprise N Bluetooth output devices or N wired output devices; or, the N external output devices include K bluetooth output devices and H wired output devices, where K and H are integers greater than 0, and N is K + H.
5. The method of claim 4, wherein the M external output devices are at least two of the Bluetooth output devices; or,
the M external output devices are at least two wired output devices; or,
the M external output devices are: at least one said bluetooth output device, and at least one said wired output device.
6. An apparatus for playing a multimedia file, comprising:
a detection module configured to detect N external output devices, N being an integer greater than or equal to 2;
an establishing module configured to establish data communication links with the N external output devices detected by the detecting module, respectively;
a playing module configured to play a multimedia file;
a sending module configured to send multimedia data of the multimedia file to M external output devices of the N external output devices through the data communication link, respectively, when the playing module plays the multimedia file, where the multimedia data is used for playing by the external output devices, and M is an integer greater than or equal to 2 and less than or equal to N.
7. The apparatus of claim 6, wherein the sending module comprises: a decoding sub-module and a first transmitting sub-module;
the decoding submodule is configured to decode the multimedia file to obtain the multimedia data;
the first sending submodule is configured to send the multimedia data to the M external output devices through the data communication link, respectively.
8. The apparatus of claim 6, wherein the sending module comprises: a second sending submodule;
the second sending submodule is configured to send, to the M external output devices, multimedia streams of the multimedia file through the data communication link, where the multimedia streams are used for the external output devices to decode to obtain the multimedia data.
9. The apparatus of any of claims 6-8, wherein the N external output devices comprise N bluetooth output devices or N wired output devices; or, the N external output devices include K bluetooth output devices and H wired output devices, where K and H are integers greater than 0, and N is K + H.
10. The apparatus of claim 9, wherein the M external output devices are at least two of the bluetooth output devices; or,
the M external output devices are at least two wired output devices; or,
the M external output devices are: at least one said bluetooth output device, and at least one said wired output device.
11. An apparatus for playing a multimedia file, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting N external output devices, wherein N is an integer greater than or equal to 2;
establishing data communication links with the N pieces of external output equipment respectively;
when a multimedia file is played, multimedia data of the multimedia file are respectively sent to M external output devices in the N external output devices through the data communication link, the multimedia data are used for playing of the external output devices, and M is an integer which is greater than or equal to 2 and less than or equal to N.
12. A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a terminal, enable a mobile terminal to perform a method of multimedia file playing, the method comprising:
detecting N external output devices, wherein N is an integer greater than or equal to 2;
establishing data communication links with the N pieces of external output equipment respectively;
when a multimedia file is played, multimedia data of the multimedia file are respectively sent to M external output devices in the N external output devices through the data communication link, the multimedia data are used for playing of the external output devices, and M is an integer which is greater 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
US11469962B2 (en) Method and apparatus for configuring information of indicating time-frequency position of SSB, and method and apparatus for determining time-frequency position of SSB
EP3068115B1 (en) Incoming call identification
KR101814110B1 (en) Method and apparatus for displaying conversation interface
CN106454644B (en) Audio playing method and device
CN104506410A (en) Instant communication method and device
US10827455B1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
WO2017166761A1 (en) Method and device for sharing media data between terminals
CN105407433A (en) Method and device for controlling sound output equipment
CN111049984A (en) Audio playback control method and apparatus, and storage medium
CN105407368A (en) Multimedia playing method, device and system
JP2018503989A (en) Information processing method, apparatus, program, and recording medium
CN105208089A (en) Information display method, apparatus and system
CN107124679A (en) The method and apparatus that multimedia file is played
CN114513571A (en) Device connection method and device, electronic device and readable storage medium
CN113329389B (en) Service providing method, device, equipment and storage medium based on Bluetooth connection
CN111010721A (en) Wireless network distribution method, wireless network distribution device and computer readable storage medium
CN112243142B (en) Method, device and storage medium for processing audio data
CN112882622A (en) Data processing method and device, terminal and storage medium
CN112511686A (en) Recording method and earphone equipment
CN105227891A (en) A kind of video call method and device
CN114615647A (en) Call control method, device and storage medium
CN110213531B (en) Monitoring video processing method and device
CN106531163A (en) Method and device for controlling terminal
CN112039756A (en) Method, device, electronic equipment and medium for establishing real-time communication
CN111800836A (en) Communication method, communication device, electronic equipment and storage medium

Legal Events

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

Application publication date: 20170901