CN113360117A - Control method and device of electronic equipment, terminal and storage medium - Google Patents

Control method and device of electronic equipment, terminal and storage medium Download PDF

Info

Publication number
CN113360117A
CN113360117A CN202110719443.6A CN202110719443A CN113360117A CN 113360117 A CN113360117 A CN 113360117A CN 202110719443 A CN202110719443 A CN 202110719443A CN 113360117 A CN113360117 A CN 113360117A
Authority
CN
China
Prior art keywords
media
sending
media files
electronic equipment
playing
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
CN202110719443.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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110719443.6A priority Critical patent/CN113360117A/en
Publication of CN113360117A publication Critical patent/CN113360117A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs

Landscapes

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

Abstract

The disclosure provides a control method and apparatus of an electronic device, a terminal and a storage medium. The control method comprises the following steps: responding to a first preset operation, and opening at least two media files in the electronic equipment; and sending the at least two media files to the corresponding at least two media devices for playing. The embodiment of the disclosure can simultaneously open at least two media files in the electronic equipment, and can send the corresponding media files to different media devices for playing, thereby greatly enriching the use scenes of the electronic equipment and improving the use experience of users.

Description

Control method and device of electronic equipment, terminal and storage medium
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to a method and an apparatus for controlling an electronic device, a terminal, and a storage medium.
Background
Some electronic devices (e.g., mobile phones) now support more and more input and output devices, such as speakers, earphones, analog headsets, digital headsets, on-end microphones, bluetooth headsets, bluetooth speakers, wireless screen projection devices, wired screen projection devices, and the like.
At present, when the input and output devices connected to the same electronic device are used for audio and video playing, only one output device can be selected for playing, or a plurality of output devices are selected for playing the same audio and video resource. The multiple audio and video applications cannot be played simultaneously due to the fact that the screens are split, and corresponding sounds of the multiple audio and video applications cannot be output by different output devices respectively, so that the sounds cannot be influenced by each other.
Disclosure of Invention
In order to solve the existing problems, the present disclosure provides a method and an apparatus for controlling an electronic device, a terminal, and a storage medium.
The present disclosure adopts the following technical solutions.
In some embodiments, embodiments of the present disclosure provide a control method of an electronic device, the control method including: responding to a first preset operation, and opening at least two media files in the electronic equipment; and sending the at least two media files to the corresponding at least two media devices for playing.
In some embodiments, another embodiment of the present disclosure provides a control apparatus of an electronic device, the control apparatus including: the media file opening module is configured to respond to a first preset operation and open at least two media files in the electronic equipment; and the media transmission module is configured to send the at least two media files to the corresponding at least two media devices for playing.
In some embodiments, the present disclosure provides a terminal comprising: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the control method of the electronic equipment.
In some embodiments, the present disclosure provides a storage medium for storing program codes for executing the control method of the electronic device described above.
The embodiment of the disclosure can simultaneously open at least two media files, and can send the corresponding media files to different media devices for playing, thereby greatly enriching the use scenes of the electronic equipment and improving the use experience of users.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a flowchart of a control method of an electronic apparatus of an embodiment of the present disclosure.
Fig. 2 is a flowchart of a control method of an electronic device of another embodiment of the present disclosure.
Fig. 3 is a schematic illustration of a media stream of a media application of an electronic device of some embodiments of the present disclosure.
Fig. 4 is a partial block diagram of a control apparatus of an electronic device of another embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that various steps recited in method embodiments of the present disclosure may be performed in parallel and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The electronic device in the present disclosure may include, but is not limited to, a mobile phone, and may further include any other electronic device such as a tablet computer, a notebook computer, and the like.
Fig. 1 provides a flowchart of a control method of an electronic device of an embodiment of the present disclosure. The control method of the electronic device of the present disclosure includes step S101 of opening at least two media files in the electronic device in response to a first preset operation. In some embodiments, the first preset operation comprises one or more operations. For example, a first media file may be clicked open in a first media application and a second media file may be clicked open in a second media application, respectively, although two or more media files may also be opened in the same media application. In some embodiments, the first preset operation includes at least one of a touch screen operation, a gesture operation, a voice instruction operation, and the like, but may also include other suitable manners.
The method for controlling the electronic device further includes step S102, sending the at least two media files to the corresponding at least two media devices for playing. For example, if two media files are opened, the two media files may be sent to two media devices for playback; if three media files are opened, the three media files may be sent to three media devices for playback.
According to the embodiment of the disclosure, at least two media files opened in the electronic equipment are sent to the corresponding media devices to be played, so that the sounds of different media files are not interfered with each other, and a plurality of users can use the same electronic equipment without interfering with each other. For example, different videos or audios can be played on the same electronic device, and the sounds are output through different media devices, wherein the sound of one media file can be played by a microphone of the electronic device, and the sound of another media file can be played through a bluetooth headset, so that different users can enjoy programs of interest through the same electronic device without mutual interference.
It should be understood that the above-mentioned at least two may mean two, three or more. For example, the at least two media files may include a first media file, a second media file, a third media file, and a fourth media file, the at least two media devices may include a first media device and a second media device, a third media device, a fourth media device, and so on. Therefore, the electronic equipment can be used by multiple persons at the same time, and sounds are not interfered with each other, for example, the electronic equipment can watch programs interested by the persons. That is, the method of the present disclosure realizes that one electronic device can be used as a plurality of electronic devices.
In some embodiments, the at least two media devices each independently comprise an audio media device, a video media device, or a screen projection device, such as an external screen, a bluetooth speaker, a bluetooth headset, or the like. That is, the media devices may each play audio and/or video.
In some embodiments, the at least two media devices are each independently included in or communicatively connected with the electronic device. For example, in some embodiments, the electronic equipment may include or be communicatively coupled with a first media device. In some embodiments, the electronic equipment may also include or be communicatively coupled with a second media device. In some embodiments, the communication connection may include a wired connection, a wireless connection such as bluetooth, and the like.
In some embodiments, at least two media files may be opened in different media applications, as well as in the same media application. In some embodiments, the at least two media applications each independently comprise an audio media application, a video media application, or a social media application. Generally, some social media applications may conduct video calls or voice calls, and video or audio of calls in social media applications may also be implemented by the method of the present disclosure. For example, a plurality of WeChats, QQQs and the like can be chatted in the same electronic equipment, and different chatting voices or videos are output through different output devices, so that the chatting voices or videos can not interfere with each other, for example, one user chats with a mobile phone, and another user chats with a Bluetooth headset in an isolated room.
In some embodiments, the at least two media files include a first media file and a second media file, the at least two media devices include a first media device and a second media device, and sending the at least two media files to the corresponding at least two media devices for playback includes: and sending the first media file to a first media device for playing, and sending the second media file to a second media device for playing. That is, the first media file may be considered to correspond to the first media device and the second media file may be considered to correspond to the second media device. It should be understood that the corresponding relationship between them may be preset, and of course, may be adjusted according to the setting of the user. For example, the first media file may be modified to correspond to the second media device and the second media file may be modified to correspond to the first media device such that the first media file is played in the second media device and the second media file is played in the first media device.
According to the embodiment of the disclosure, the first media file and the second media file are respectively played in the first media device and the second media device, so that the sounds of different media files can be prevented from interfering with each other, and a plurality of users can use the same electronic device without interfering with each other. For example, different videos or listening to music can be played on the same electronic device, the sounds are output through different media devices, the sound of the first media file can be played by a microphone carried by the electronic device, and the sound of the second media file can be played through a bluetooth headset, so that different users can enjoy programs interested by themselves through the same electronic device without mutual interference.
In some embodiments, at least two media files are sent to corresponding at least two media devices for playback: and sending the audio stream of a first media file in the at least two media files to a loudspeaker of the electronic equipment for playing, and sending the audio stream of a second media file in the at least two media files to an earphone or the loudspeaker in communication connection with the electronic equipment for playing. That is, the audio streams of the at least two media files of the present disclosure can be played through the corresponding at least two media devices, so that different users can enjoy programs of interest through the same electronic device without interfering with each other. For example, the same electronic device may be capable of both performing a voice call and listening to a radio, the voice of the voice call may be output through a speaker or a microphone of the electronic device, and the voice of the radio may be output through a wired headset, a wireless headset or a bluetooth speaker, for example.
In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: and sending the video stream of a first media file of the at least two media files to a display screen of the electronic equipment for playing, and sending the video stream of a second media file of the at least two media files to an external screen in communication connection with the electronic equipment for playing. Therefore, the playing of at least two video media files can be simultaneously carried out on the electronic equipment, so that different users can watch videos which are interesting to the users without mutual interference. For example, one movie is opened on the Youkou application on the mobile phone, another movie is opened on the Aiqiyi application, the Youkou movie can be displayed on the screen of the mobile phone, and the Aiqiyi movie can be displayed on the television in the living room by wireless screen projection.
In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: the video stream of a first media file of the at least two media files and the video stream of a second media file of the at least two media files are displayed on a display screen of the electronic equipment in a preset mode, and the audio streams of the first media file and the second media file can be played through different media devices. With the screen of the electronic equipment becoming larger and larger, a plurality of videos can be displayed on the display screen at the same time, and different users can watch videos which are interesting to the users without mutual interference. For example, on the same mobile phone, one user opens a favorite movie and the other movie, and the sounds of the two movies can be output through a wired earphone and a bluetooth earphone respectively, so that the two users can watch the movie in which the users are interested on the same mobile phone without mutual interference basically. Of course, this is merely exemplary and may include a variety of other suitable scenarios. At this time, different videos may be displayed on the screen of the same electronic device, and sounds may be output by different media devices. Of course, this is merely exemplary, and other suitable scenarios may also be used, for example, you can open one movie on a mobile phone, open another movie on an Aichi art application, you can display the you and Aichi movies on the mobile phone screen at the same time (e.g., in a split screen manner), and the sound of you can be played through the microphone of the mobile phone, and the sound of Aichi movies can be played through the Bluetooth headset.
In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: the video stream of a first media file in the at least two media files is sent to a first external screen in communication connection with the electronic equipment to be played, and the video stream of a second media file in the at least two media files is sent to a second external screen in communication connection with the electronic equipment to be played. That is, at least two videos can be played in the same electronic device, and each video stream can be played through a corresponding external screen. For example, two movies are played simultaneously in the same electronic device, one movie is displayed on a television in a living room and the other movie is displayed on a television in a bedroom, so that different users in the bedroom and the living room can enjoy movies of their own interests.
In some embodiments, as shown in fig. 2, the control method may further include step S201: and responding to the second preset operation, and opening a first sound recording application and a second sound recording application of the electronic equipment. Similar to the first preset operation, the second preset operation may also include one or more operations, and may include at least one of a touch screen operation, a gesture operation, and a voice instruction operation.
The control method of the present disclosure may further include step S202: the first recording application receives a first audio stream via a first audio device and the second recording application receives a second audio stream via a second audio device. In some embodiments, the first audio device and the second audio device each independently include a recording pen, headphones, and other suitable recording devices. Therefore, the electronic equipment can collect the sound through the first audio device and the second audio device respectively, so that the input of the sound is not interfered with each other. Therefore, the two applications can record sound simultaneously, and sound data of different microphones can be recorded.
In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: at least two media files are divided into different media streams in the audioflex Mixer and sent to the hardware abstraction layer, and at least two media files are sent to at least two corresponding media devices in the hardware abstraction layer to be played. That is, in the present application, in the audiolinker Mixer, at least two media files are not mixed, but different media files are divided into different media streams and written into the hardware abstraction layer, and then different media files are output to different media devices in the hardware abstraction layer and played. Therefore, the simultaneous output of multiple media streams of the electronic device is realized.
The implementation principle of the control method of the electronic device of the present disclosure is described below with reference to fig. 3 to better understand the present disclosure. As shown in fig. 3, taking player-a, player-B, and player-C as an example for explanation, when the three players on the electronic device play the media file, three corresponding tracks are released: AudioTrack-A, AudioTrack-B and AudioTrack-C. In order to enable a plurality of media applications to work simultaneously, the limitation of AudioFocus can be removed, Audio Mixer does not mix Audio, different media streams are divided and written into a HAL layer (hardware abstraction layer, for example, Audio HAL layer), and different media streams are selectively output to different Pulse Code Modulation (PCM) devices PCM-0, PCM-1 and PCM-2 at the HAL layer and then output to different backend devices, so as to achieve the effect of multi-path simultaneous output. The modified media data stream is shown as a horizontal dashed line in fig. 3. It should be appreciated that the reverse operation may achieve the effect of multiple simultaneous inputs, for example, by capturing sounds through different media devices for recording. It should be understood that this is merely exemplary and that other suitable ways to achieve simultaneous output or simultaneous input of multiple data streams of an electronic device may also be included.
The embodiment of the present disclosure also provides a control device 400 of an electronic device, where the control device 400 includes a media file opening module 401 and a media transmission module 402. The media file opening module 401 is configured to open at least two media files in the electronic device in response to a first preset operation. The media transmission module 402 is configured to transmit the at least two media files to the corresponding at least two media devices for playing.
It should be understood that the contents described with respect to the control method of the electronic device are also applicable to the control apparatus 400 of the electronic device herein, and for the sake of simplicity, detailed description thereof will not be made herein.
In some embodiments, the at least two media devices each independently comprise an audio media device, a video media device, or a screen-casting device. In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: and sending the audio stream of a first media file in the at least two media files to a loudspeaker of the electronic equipment for playing, and sending the audio stream of a second media file in the at least two media files to an earphone or the loudspeaker in communication connection with the electronic equipment for playing. In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: and sending the video stream of a first media file of the at least two media files to a display screen of the electronic equipment for playing, and sending the video stream of a second media file of the at least two media files to an external screen in communication connection with the electronic equipment for playing. In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: and simultaneously displaying the video stream of the first media file in the at least two media files and the video stream of the second media file in the at least two media files on a display screen of the electronic equipment in a preset mode. In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: the video stream of a first media file in the at least two media files is sent to a first external screen in communication connection with the electronic equipment to be played, and the video stream of a second media file in the at least two media files is sent to a second external screen in communication connection with the electronic equipment to be played. In some embodiments, the media file opening module is further configured to open a first recording application and a second recording application of the electronic device in response to a second preset operation; the media transmission module is further configured to cause the first recording application to receive the first audio stream via the first audio device and the second recording application to receive the second audio stream via the second audio device. In some embodiments, sending the at least two media files to the corresponding at least two media devices for playback includes: at least two media files are divided into different media streams in the audioflex Mixer and sent to the hardware abstraction layer, and at least two media files are sent to at least two corresponding media devices in the hardware abstraction layer to be played.
In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the control method of the electronic equipment.
In addition, the present disclosure also provides a computer storage medium storing program codes for executing the control method of the electronic device.
The method and apparatus for controlling an electronic device according to the present disclosure have been described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 5, a schematic diagram of an electronic device (e.g., a terminal device or a server) 500 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure as described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a control method of an electronic device, the control method including: responding to a first preset operation, and opening at least two media files in the electronic equipment; and sending the at least two media files to the corresponding at least two media devices for playing.
According to one or more embodiments of the present disclosure, the at least two media devices each independently comprise an audio media device, a video media device, or a screen projection device.
According to one or more embodiments of the present disclosure, sending the at least two media files to the corresponding at least two media devices for playing includes: and sending the audio stream of a first media file of the at least two media files to a loudspeaker of the electronic equipment for playing, and sending the audio stream of a second media file of the at least two media files to an earphone or the loudspeaker in communication connection with the electronic equipment for playing.
According to one or more embodiments of the present disclosure, sending the at least two media files to the corresponding at least two media devices for playing includes: and sending the video stream of a first media file of the at least two media files to a display screen of the electronic equipment for playing, and sending the video stream of a second media file of the at least two media files to an external screen in communication connection with the electronic equipment for playing.
According to one or more embodiments of the present disclosure, sending the at least two media files to the corresponding at least two media devices for playing includes: and simultaneously displaying the video stream of the first media file of the at least two media files and the video stream of the second media file of the at least two media files on a display screen of the electronic equipment in a preset mode.
According to one or more embodiments of the present disclosure, sending the at least two media files to the corresponding at least two media devices for playing includes: and sending the video stream of a first media file of the at least two media files to a first external screen in communication connection with the electronic equipment for playing, and sending the video stream of a second media file of the at least two media files to a second external screen in communication connection with the electronic equipment for playing.
According to one or more embodiments of the present disclosure, the first media device and the second media device are each a microphone device, and the control method further includes: responding to a second preset operation, and opening a first sound recording application and a second sound recording application of the electronic equipment; the first recording application receives a first audio stream via the first audio device, and the second recording application receives a second audio stream via the second audio device.
According to one or more embodiments of the present disclosure, sending the at least two media files to the corresponding at least two media devices for playing includes: and dividing the at least two media files into different media streams in an audioflex Mixer, sending the media streams to a hardware abstraction layer, and sending the media files to at least two corresponding media devices in the hardware abstraction layer for playing.
According to one or more embodiments of the present disclosure, there is provided a control apparatus of an electronic device, the control apparatus including: the media file opening module is configured to respond to a first preset operation and open at least two media files in the electronic equipment; and the media transmission module is configured to send the at least two media files to the corresponding at least two media devices for playing.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the method of any one of the above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (11)

1. A control method of an electronic device, the control method comprising:
responding to a first preset operation, and opening at least two media files in the electronic equipment;
and sending the at least two media files to the corresponding at least two media devices for playing.
2. The method of claim 1, wherein the at least two media devices each independently comprise an audio media device, a video media device, or a screen projection device.
3. The method of claim 1, wherein sending the at least two media files to the corresponding at least two media devices for playback comprises:
and sending the audio stream of a first media file of the at least two media files to a loudspeaker of the electronic equipment for playing, and sending the audio stream of a second media file of the at least two media files to an earphone or the loudspeaker in communication connection with the electronic equipment for playing.
4. The method of claim 1, wherein sending the at least two media files to the corresponding at least two media devices for playback comprises:
and sending the video stream of a first media file of the at least two media files to a display screen of the electronic equipment for playing, and sending the video stream of a second media file of the at least two media files to an external screen in communication connection with the electronic equipment for playing.
5. The method of claim 3, wherein sending the at least two media files to the corresponding at least two media devices for playback comprises:
and simultaneously displaying the video stream of the first media file of the at least two media files and the video stream of the second media file of the at least two media files on a display screen of the electronic equipment in a preset mode.
6. The method of claim 1, wherein sending the at least two media files to the corresponding at least two media devices for playback comprises:
and sending the video stream of a first media file of the at least two media files to a first external screen in communication connection with the electronic equipment for playing, and sending the video stream of a second media file of the at least two media files to a second external screen in communication connection with the electronic equipment for playing.
7. The method of controlling an electronic device according to claim 1, further comprising:
responding to a second preset operation, and opening a first sound recording application and a second sound recording application of the electronic equipment;
the first recording application receives a first audio stream via a first audio device, and the second recording application receives a second audio stream via a second audio device.
8. The method of claim 1, wherein sending the at least two media files to the corresponding at least two media devices for playback comprises:
and dividing the at least two media files into different media streams in an audioflex Mixer, sending the media streams to a hardware abstraction layer, and sending the media files to at least two corresponding media devices in the hardware abstraction layer for playing.
9. A control apparatus of an electronic device, characterized in that the control apparatus comprises:
the media file opening module is configured to respond to a first preset operation and open at least two media files in the electronic equipment;
and the media transmission module is configured to send the at least two media files to the corresponding at least two media devices for playing.
10. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to execute the control method of the electronic device according to any one of claims 1 to 8.
11. A storage medium for storing a program code for executing the control method of an electronic apparatus according to any one of claims 1 to 8.
CN202110719443.6A 2021-06-28 2021-06-28 Control method and device of electronic equipment, terminal and storage medium Pending CN113360117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110719443.6A CN113360117A (en) 2021-06-28 2021-06-28 Control method and device of electronic equipment, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110719443.6A CN113360117A (en) 2021-06-28 2021-06-28 Control method and device of electronic equipment, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113360117A true CN113360117A (en) 2021-09-07

Family

ID=77536931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110719443.6A Pending CN113360117A (en) 2021-06-28 2021-06-28 Control method and device of electronic equipment, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113360117A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114281293A (en) * 2021-12-29 2022-04-05 广州朗国电子科技股份有限公司 Method and related device for independently releasing sound of screen-releasing source process

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312884A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Playing method and equipment
CN105023593A (en) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 Terminal audio playing method, terminal audio playing device and terminal
US20160291824A1 (en) * 2013-10-01 2016-10-06 Filmstrip, Inc. Image Grouping with Audio Commentaries System and Method
CN110933221A (en) * 2018-09-19 2020-03-27 西安中兴新软件有限责任公司 Audio channel management method, device, terminal and storage medium
CN111131866A (en) * 2019-11-25 2020-05-08 华为技术有限公司 Screen-projecting audio and video playing method and electronic equipment
CN111372107A (en) * 2018-12-26 2020-07-03 中国电信股份有限公司 Audio transmission method, device, system and computer readable storage medium
CN112243142A (en) * 2020-10-14 2021-01-19 北京小米移动软件有限公司 Method, device and storage medium for processing audio data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312884A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Playing method and equipment
US20160291824A1 (en) * 2013-10-01 2016-10-06 Filmstrip, Inc. Image Grouping with Audio Commentaries System and Method
CN105023593A (en) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 Terminal audio playing method, terminal audio playing device and terminal
CN110933221A (en) * 2018-09-19 2020-03-27 西安中兴新软件有限责任公司 Audio channel management method, device, terminal and storage medium
CN111372107A (en) * 2018-12-26 2020-07-03 中国电信股份有限公司 Audio transmission method, device, system and computer readable storage medium
CN111131866A (en) * 2019-11-25 2020-05-08 华为技术有限公司 Screen-projecting audio and video playing method and electronic equipment
CN112243142A (en) * 2020-10-14 2021-01-19 北京小米移动软件有限公司 Method, device and storage medium for processing audio data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114281293A (en) * 2021-12-29 2022-04-05 广州朗国电子科技股份有限公司 Method and related device for independently releasing sound of screen-releasing source process

Similar Documents

Publication Publication Date Title
US11477516B2 (en) Services over wireless communication with high flexibility and efficiency
WO2021073315A1 (en) Video file generation method and device, terminal and storage medium
US7853649B2 (en) Audio processing for improved user experience
TWI450105B (en) Method, audio rendering device and machine-readable medium for spatial reformatting of multi-channel audio content
CN110289024B (en) Audio editing method and device, electronic equipment and storage medium
CN103312912A (en) Sound mixing system and method
WO2023125350A1 (en) Audio data pushing method, apparatus and system, and electronic device and storage medium
WO2019062667A1 (en) Method and device for transmitting conference content
WO2023051293A1 (en) Audio processing method and apparatus, and electronic device and storage medium
CN109582274B (en) Volume adjusting method and device, electronic equipment and computer readable storage medium
CN108337556B (en) Method and device for playing audio-video file
CN114095671A (en) Cloud conference live broadcast system, method, device, equipment and medium
CN112286481A (en) Audio output method and electronic equipment
EP3657821B1 (en) Method and device for playing back audio, and terminal
CN113360117A (en) Control method and device of electronic equipment, terminal and storage medium
WO2017101327A1 (en) Method and device for collective playback of high-fidelity sound by several players
WO2021203906A1 (en) Automatic volume adjustment method and apparatus, and medium and device
WO2023237102A1 (en) Voice chat display method and apparatus, electronic device, and computer readable medium
CN108124114A (en) A kind of audio/video conference sound collection method and device
WO2012092706A1 (en) Hybrid operating system media integration
WO2022121727A1 (en) Livestreaming audio processing method and device
CN115639934A (en) Content sharing method, device, equipment, computer readable storage medium and product
CN113495712A (en) Automatic volume adjustment method, apparatus, medium, and device
CN112073878B (en) Control method and device of audio equipment, audio equipment and storage medium
CN111045635B (en) Audio processing 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