CN107450874B - Multimedia data double-screen playing method and system - Google Patents

Multimedia data double-screen playing method and system Download PDF

Info

Publication number
CN107450874B
CN107450874B CN201710606940.9A CN201710606940A CN107450874B CN 107450874 B CN107450874 B CN 107450874B CN 201710606940 A CN201710606940 A CN 201710606940A CN 107450874 B CN107450874 B CN 107450874B
Authority
CN
China
Prior art keywords
target
multimedia data
display screen
channel
player
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710606940.9A
Other languages
Chinese (zh)
Other versions
CN107450874A (en
Inventor
江跃龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710606940.9A priority Critical patent/CN107450874B/en
Publication of CN107450874A publication Critical patent/CN107450874A/en
Application granted granted Critical
Publication of CN107450874B publication Critical patent/CN107450874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Stereophonic System (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a multimedia data double-screen playing method and system. The multimedia data double-screen playing method is applied to electronic equipment and comprises the following steps: acquiring target multimedia data; according to the attribute of the target multimedia data, determining a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment; and displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel. The invention can achieve the purpose that different multimedia data are played on different display screens of the same electronic equipment, thereby realizing double-screen display and improving the use experience of users.

Description

Multimedia data double-screen playing method and system
Technical Field
The invention relates to the technical field of multimedia application, in particular to a multimedia data double-screen playing method and system.
Background
In the prior art, a dual-screen mobile phone usually only supports playing multimedia data on one display screen, that is, an electronic device usually can only play multimedia data on a single screen, and meanwhile, audio data is output to an earphone and also adopts a dual-channel output mode, so that a user cannot play different multimedia data on different display screens, and user experience is poor.
Disclosure of Invention
In view of the above, it is necessary to provide a method and a system for playing multimedia data on two screens, which can achieve the purpose that different multimedia data are played on different display screens of the same electronic device, achieve dual-screen display, and improve the user experience.
A multimedia data double-screen playing method is applied to electronic equipment, and comprises the following steps:
acquiring target multimedia data;
according to the attribute of the target multimedia data, determining a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment;
and displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel.
According to a preferred embodiment of the present invention, the attributes of the target multimedia data include one or more of the following in combination:
the format of the target multimedia data, the type of the target multimedia data, and a player for playing the target multimedia data.
According to a preferred embodiment of the present invention, the determining, according to the attribute of the target multimedia data, a target display screen for playing a picture of the multimedia data from among at least one display screen of the electronic device and/or a target channel for outputting a sound of the multimedia data from among at least one channel of the electronic device includes:
determining a player corresponding to the format of the target multimedia data from at least one display screen of the electronic equipment as the target player, and/or determining a channel corresponding to the format of the target multimedia data from at least one channel of the electronic equipment as the target channel; or
Determining a player corresponding to the format of the target multimedia data from at least one player of the electronic equipment as the target player, and then using a display screen corresponding to the target player as the target display screen and/or using a sound channel corresponding to the target player as the target sound channel; or
Determining a display screen corresponding to the type of the target multimedia data from at least one display screen of the electronic equipment as the target display screen, and/or determining a sound channel corresponding to the type of the target multimedia data from at least one sound channel of the electronic equipment as the target sound channel; or
Determining a player corresponding to the type of the target multimedia data from at least one player of the electronic equipment as the target player, and then using a display screen corresponding to the target player as the target display screen and/or using a sound channel corresponding to the target player as the target sound channel.
According to a preferred embodiment of the invention:
the displaying the picture of the target multimedia data on the target display screen comprises:
acquiring the identification of the target multimedia data, and acquiring a frame picture related to the identification of the target multimedia data from a multimedia container by using a frame buffer; and/or
The outputting of the sound of the target multimedia data on the target channel comprises:
and acquiring the identification of the target multimedia data, and acquiring audio data related to the identification of the target multimedia data from a multimedia container.
An electronic device, the electronic device comprising:
a processor; and
a memory, the instructions stored in the memory being executed by the processor to implement the multimedia data dual-screen playing method.
A computer-readable storage medium: the instructions stored in the computer-readable storage medium are executed by a processor in an electronic device to implement the multimedia data dual-screen playing method.
A multimedia data double-screen playing system is applied to electronic equipment, and the system comprises:
the acquisition module is used for acquiring target multimedia data;
the determining module is used for determining a target display screen for playing a picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting sound of the multimedia data from at least one sound channel of the electronic equipment according to the attribute of the target multimedia data;
and the output module is used for displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel.
According to a preferred embodiment of the present invention, the attributes of the target multimedia data include one or more of the following in combination:
the format of the target multimedia data, the type of the target multimedia data, and a player for playing the target multimedia data.
According to a preferred embodiment of the present invention, the determining module determines, according to the attribute of the target multimedia data, a target display screen for playing a picture of the multimedia data from among the at least one display screen of the electronic device, and/or a target channel for outputting a sound of the multimedia data from among the at least one channel of the electronic device includes:
determining a player corresponding to the format of the target multimedia data from at least one display screen of the electronic equipment as the target player, and/or determining a channel corresponding to the format of the target multimedia data from at least one channel of the electronic equipment as the target channel; or
Determining a player corresponding to the format of the target multimedia data from at least one player of the electronic equipment as the target player, and then using a display screen corresponding to the target player as the target display screen and/or using a sound channel corresponding to the target player as the target sound channel; or
Determining a display screen corresponding to the type of the target multimedia data from at least one display screen of the electronic equipment as the target display screen, and/or determining a sound channel corresponding to the type of the target multimedia data from at least one sound channel of the electronic equipment as the target sound channel; or
Determining a player corresponding to the type of the target multimedia data from at least one player of the electronic equipment as the target player, and then using a display screen corresponding to the target player as the target display screen and/or using a sound channel corresponding to the target player as the target sound channel.
According to a preferred embodiment of the invention:
the output module displays the picture of the target multimedia data on the target display screen, and the display module comprises:
the acquisition module is also used for acquiring the identification of the target multimedia data and acquiring a frame picture related to the identification of the target multimedia data from a multimedia container by utilizing a frame buffer; and/or
The outputting module outputting the sound of the target multimedia data on the target channel includes:
the obtaining module is further configured to obtain an identifier of the target multimedia data, and obtain audio data associated with the identifier of the target multimedia data from a multimedia container.
According to the technical scheme, the target multimedia data are obtained; according to the attribute of the target multimedia data, determining a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment; and displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel. The invention can achieve the purpose that different multimedia data are played on different display screens of the same electronic equipment, realizes double-screen display and improves the use experience of users.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for playing multimedia data in a double-screen manner according to a preferred embodiment of the present invention.
Fig. 2 is a functional block diagram of an embodiment of a multimedia data dual-screen playing system according to the present invention.
Fig. 3 is a schematic structural diagram of an electronic device implementing a multimedia data dual-screen playing method according to a preferred embodiment of the present invention.
Description of the main elements
Electronic device 1
Memory device 12
Processor with a memory having a plurality of memory cells 13
First display screen 14
Second display screen 15
Multimedia data double-screen playing system 11
Acquisition module 100
Determining module 101
Output module 102
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flow chart of a multimedia data dual-screen playing method according to a preferred embodiment of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
The multimedia data dual-screen playing method is applied to one or more electronic devices, the electronic devices are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware thereof includes but is not limited to a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The electronic device may be any electronic product capable of performing human-computer interaction with a user, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an interactive Internet Protocol Television (IPTV), an intelligent wearable device, and the like. The Network where the electronic device is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
For convenience of description, the electronic device will be described with reference to the electronic device including two display screens, that is, a first display screen and a second display screen, where the first display screen and the second display screen are used for displaying multimedia data.
S10, the electronic equipment acquires the target multimedia data.
In at least one embodiment of the invention, the electronic device stores multimedia data in a multimedia container. The multimedia container is used as a carrier of coding formats, organizes the multimedia data of at least one coding format according to a specific format, and provides auxiliary functions. The format of the multimedia container is various, for example: the video container formats include avi, MP4, mkv, flv, rm, rmvb, mov, ts, vob, dat, etc., and the audio container formats include MP3, WAV, AAC, APE, FLAC, etc. The multimedia container holds one or more elementary stream data such as video, audio, subtitles, and still pictures.
In at least one embodiment of the present invention, the electronic device may obtain the target multimedia data in a variety of ways, and the electronic device may download the multimedia data from the network according to a selection instruction of a user, or obtain the multimedia data from a memory of the electronic device. For example: when a user uses video playing software and searches for a target movie by using the video playing software, the electronic device acquires a playing instruction (for example, the user clicks a movie name to trigger the playing instruction), acquires data of the target movie corresponding to the playing instruction as the target multimedia data, and stores the data of the target movie in the multimedia container; or when the electronic equipment acquires an instruction of searching songs on music software from the user, the electronic equipment stores the multimedia data of the searched songs in the multimedia container; or the electronic equipment acquires a signal for playing the multimedia data stored in the memory of the electronic equipment, and takes the played multimedia data as target multimedia data, and the like.
And S11, the electronic equipment determines a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determines a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment according to the attribute of the target multimedia data.
In at least one embodiment of the invention, the number of display screens may be one or more. In this embodiment, the number of the display screens is two, and the display screens include a first display screen and a second display screen.
In at least one embodiment of the present invention, the attributes of the target multimedia data include, but are not limited to: the format of the target multimedia data, the type of the target multimedia data (e.g., laugh, sadness, etc.), the player playing the target multimedia data, and so on.
In at least one embodiment of the present invention, before the electronic device determines, according to an attribute of the target multimedia data, a target display screen for playing a picture of the multimedia data from among at least one display screen of the electronic device and/or a target channel for outputting a sound of the multimedia data from among at least one channel of the electronic device, the electronic device performs the following setting on the multimedia data:
(1) a player is provided for playing multimedia data. For example: setting a default player for playing video multimedia data; setting a default player for playing audio multimedia data; setting a default player according to the format of the multimedia data (such as setting the multimedia data in avi, mp4, mkv, mov, ts formats to be played by an A player, setting the multimedia data in flv, rm, rmvb, vob, dat formats to be played by a B player and the like); and setting a default player according to the type of the multimedia data (such as setting the multimedia data of a funny class to be played by a C player and setting the multimedia data of a sad class to be played by a D player), and the like.
(2) And setting a display screen for displaying the multimedia data. For example: setting default display screens according to the format of the multimedia data (such as setting the multimedia data in avi, mp4, mkv, mov, ts formats to be displayed by a first display screen, setting the multimedia data in flv, rm, rmvb, vob, dat formats to be displayed by a second display screen, and the like); setting a default display screen according to the type of the multimedia data (such as setting the multimedia data of a funny class to be displayed by the first display screen, setting the multimedia data of a sad class to be displayed by the second display screen, and the like); setting default display screens according to the players of the multimedia data (for example, setting the default display screen of one player as the first display screen, setting the default display screen of another player as the second display screen), and the like.
(3) An output channel of the multimedia data is set. For example: setting default output channels according to the format of the multimedia data (e.g., setting avi, MP4, mkv, mov, ts, MP3, WAV, AAC formatted multimedia data to be played by a first channel, setting flv, rm, rmvb, vob, dat, APE, FLAC formatted multimedia data to be played by a second channel, etc.); setting default output channels according to the types of the multimedia data (such as setting the multimedia data of a laugh type to be played by the first channel, setting the multimedia data of a sad type to be played by the second channel, setting the multimedia data of a light music type to be played by two channels, and the like); setting default output channels according to the players of the multimedia data (e.g., setting a default output channel of one player as the first channel, setting a default output channel of another player as the second channel, etc.); setting a default output channel according to the display screen of the multimedia data (for example, setting the default output channel of the first display screen as the first channel and setting the default output channel of the second display screen as the second channel, or setting the sound of the first display screen as dual-channel output and the second display screen not outputting sound when the first display screen and the second display screen play simultaneously according to the habit of a user), and the like.
It should be noted that, the setting process is set by the user of the electronic device, and may also be configured randomly and automatically by the system, which is not limited herein.
In other embodiments, in the setting process, after the electronic device acquires the target multimedia data, the electronic device may prompt the user to perform setting. For example: after the electronic device acquires the target multimedia data, the electronic device determines that the multimedia data is video data, and prompts the user to select one video player from at least one video player of the electronic device, select one display screen from at least one display screen of the electronic device, and select one sound channel from at least one output sound channel of the electronic device, so that the multimedia data is played. In other embodiments, other arrangements are also included, and the invention is not limited herein.
In at least one embodiment of the present invention, the electronic device determining, according to the attribute of the target multimedia data, a target display screen for playing a picture of the multimedia data from among at least one display screen of the electronic device, and/or a target channel for outputting a sound of the multimedia data from among at least one channel of the electronic device includes:
the electronic equipment determines a player corresponding to the format of the target multimedia data from at least one display screen of the electronic equipment as the target player, and/or determines a channel corresponding to the format of the target multimedia data from at least one channel of the electronic equipment as the target channel. For example: when the format of the target multimedia data is an mp4 format, according to the setting of the electronic device, the default display screen of the mp4 format is the second display screen, and the default output channel of the mp4 format is a right channel, the electronic device determines that the target display screen of the target multimedia data is the second display screen, and the target channel of the target multimedia data is the right channel.
The electronic equipment determines a player corresponding to the format of the target multimedia data from at least one player of the electronic equipment as the target player, and then uses a display screen corresponding to the target player as the target display screen and/or uses a sound channel corresponding to the target player as the target sound channel. For example: when the format of the target multimedia data is an mp4 format, according to the setting of the electronic device, the default player of the mp4 format is an X player, the default display screen of the X player is the first display screen, and the default output channel of the X player is a left channel, then the electronic device determines that the target display screen of the target multimedia data is the first display screen, and the target channel of the target multimedia data is the left channel.
The electronic equipment determines a display screen corresponding to the type of the target multimedia data from at least one display screen of the electronic equipment as the target display screen, and/or determines a sound channel corresponding to the type of the target multimedia data from at least one sound channel of the electronic equipment as the target sound channel. For example: when the type of the target multimedia data is a duty type, according to the setting of the electronic device, the default display screen of the duty type multimedia data is the second display screen, and the default output channel of the duty type multimedia data is a right channel, the electronic device determines that the target display screen of the target multimedia data is the second display screen, and the target channel of the target multimedia data is the right channel.
The electronic equipment determines a player corresponding to the type of the target multimedia data from at least one player of the electronic equipment as the target player, and then uses a display screen corresponding to the target player as the target display screen and/or uses a sound channel corresponding to the target player as the target sound channel. For example: when the type of the target multimedia data is a duty-done type, according to the setting of the electronic device, the default player of the duty-done type multimedia data is an X player, the default display screen of the X player is the first display screen, the default output channel of the X player is a left channel, and the electronic device determines that the target display screen of the target multimedia data is the first display screen and the target channel of the target multimedia data is the left channel.
S12, the electronic device displays the picture of the target multimedia data on the target display screen and/or outputs the sound of the target multimedia data on the target sound channel.
In at least one embodiment of the present invention, multimedia data may be distinguished based on their identification, including, but not limited to: the source of the multimedia data, the name of the multimedia data, the number of the multimedia data, and the like are used to distinguish other information of the multimedia data.
In at least one embodiment of the present invention, the electronic device displaying the picture of the target multimedia data on the target display screen includes:
the electronic equipment acquires the identification of the target multimedia data and acquires a frame picture related to the identification of the target multimedia data from the multimedia container by using a frame buffer.
For example: and the electronic equipment acquires the identifier of the target multimedia data, wherein the identifier indicates that the target multimedia data is from an X address, and then the electronic equipment acquires a frame picture which is related to the identifier of the target multimedia data and is from the X address from the multimedia container by using a frame buffer and outputs the frame picture to the target display screen.
In at least one embodiment of the present invention, the electronic device outputting the sound of the target multimedia data on the target channel includes:
and the electronic equipment acquires the identification of the target multimedia data and acquires audio data related to the identification of the target multimedia data from the multimedia container.
For example: and the electronic equipment acquires the identification of the target multimedia data, wherein the identification indicates that the target multimedia data is from a Y address, and then the electronic equipment acquires audio data which is related to the identification of the target multimedia data and is from the Y address from the multimedia container and outputs the audio data in a target sound channel.
In other embodiments, a demultiplexer may be used to separate different types of multimedia data, a multimedia adapter distributes the different types of multimedia data to different players, and the frame buffer implements the split-screen setting of the multimedia data.
In at least one embodiment of the present invention, the multimedia data may be all video data, one audio data, one video data, or all audio data, and the present invention is not limited herein.
In summary, the present invention can obtain target multimedia data; according to the attribute of the target multimedia data, determining a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment; and displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel. Therefore, the invention can achieve the purpose that different multimedia data are played on different display screens of the same electronic equipment, thereby realizing double-screen display and improving the use experience of users.
Fig. 2 is a functional block diagram of an embodiment of a multimedia data dual-screen playing system according to the present invention. The multimedia data double-screen playing system 11 comprises an acquisition module 100, a determination module 101 and an output module 102. The module referred to in the present invention refers to a series of computer program segments capable of being executed by the processor 13 and performing a fixed function, which are stored in the memory 12. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.
The acquisition module 100 acquires target multimedia data.
In at least one embodiment of the invention, the electronic device stores multimedia data in a multimedia container. The multimedia container is used as a carrier of coding formats, organizes the multimedia data of at least one coding format according to a specific format, and provides auxiliary functions. The format of the multimedia container is various, for example: the video container formats include avi, MP4, mkv, flv, rm, rmvb, mov, ts, vob, dat, etc., and the audio container formats include MP3, WAV, AAC, APE, FLAC, etc. The multimedia container holds one or more elementary stream data such as video, audio, subtitles, and still pictures.
In at least one embodiment of the present invention, the obtaining module 100 may obtain the target multimedia data in many ways, and the obtaining module 100 may download the multimedia data from the network or obtain the multimedia data from the memory of the electronic device according to a selection instruction of the user. For example: when a user uses a piece of video playing software and searches for a target movie by using the video playing software, the obtaining module 100 obtains a playing instruction (for example, the user clicks a movie name to trigger the playing instruction), obtains data of the target movie corresponding to the playing instruction as the target multimedia data, and stores the data of the target movie in the multimedia container; or when the obtaining module 100 obtains an instruction of the user to search for a song on a piece of music software, the obtaining module 100 stores the multimedia data of the searched song in the multimedia container; or the obtaining module 100 obtains a signal for playing the multimedia data stored in the memory of the electronic device, and takes the played multimedia data as the target multimedia data, and so on.
The determining module 101 determines a target display screen for playing a picture of the multimedia data from at least one display screen of the electronic device and/or a target channel for outputting a sound of the multimedia data from at least one channel of the electronic device according to an attribute of the target multimedia data.
In at least one embodiment of the present invention, the attributes of the target multimedia data include, but are not limited to: the format of the target multimedia data, the type of the target multimedia data (e.g., laugh, sadness, etc.), the player playing the target multimedia data, and so on.
In at least one embodiment of the present invention, before the determining module 101 determines, according to the attribute of the target multimedia data, a target display screen for playing a picture of the multimedia data from at least one display screen of the electronic device and/or a target channel for outputting a sound of the multimedia data from at least one channel of the electronic device, the electronic device performs the following setting on the multimedia data:
(1) a player is provided for playing multimedia data. For example: setting a default player for playing video multimedia data; setting a default player for playing audio multimedia data; setting a default player according to the format of the multimedia data (such as setting the multimedia data in avi, mp4, mkv, mov, ts formats to be played by an A player, setting the multimedia data in flv, rm, rmvb, vob, dat formats to be played by a B player and the like); and setting a default player according to the type of the multimedia data (such as setting the multimedia data of a funny class to be played by a C player and setting the multimedia data of a sad class to be played by a D player), and the like.
(2) And setting a display screen for displaying the multimedia data. For example: setting default display screens according to the format of the multimedia data (such as setting the multimedia data in avi, mp4, mkv, mov, ts formats to be displayed by a first display screen, setting the multimedia data in flv, rm, rmvb, vob, dat formats to be displayed by a second display screen, and the like); setting a default display screen according to the type of the multimedia data (such as setting the multimedia data of a funny class to be displayed by the first display screen, setting the multimedia data of a sad class to be displayed by the second display screen, and the like); setting default display screens according to the players of the multimedia data (for example, setting the default display screen of one player as the first display screen, setting the default display screen of another player as the second display screen), and the like.
(3) An output channel of the multimedia data is set. For example: setting default output channels according to the format of the multimedia data (e.g., setting avi, MP4, mkv, mov, ts, MP3, WAV, AAC formatted multimedia data to be played by a first channel, setting flv, rm, rmvb, vob, dat, APE, FLAC formatted multimedia data to be played by a second channel, etc.); setting default output channels according to the types of the multimedia data (such as setting the multimedia data of a laugh type to be played by the first channel, setting the multimedia data of a sad type to be played by the second channel, setting the multimedia data of a light music type to be played by two channels, and the like); setting default output channels according to the players of the multimedia data (e.g., setting a default output channel of one player as the first channel, setting a default output channel of another player as the second channel, etc.); setting a default output channel according to the display screen of the multimedia data (for example, setting the default output channel of the first display screen as the first channel and setting the default output channel of the second display screen as the second channel, or setting the sound of the first display screen as dual-channel output and the second display screen not outputting sound when the first display screen and the second display screen play simultaneously according to the habit of a user), and the like.
It should be noted that, the setting process is set by the user of the electronic device, and may also be configured randomly and automatically by the system, which is not limited herein.
In other embodiments, in the setting process, after the electronic device acquires the target multimedia data, the electronic device may prompt the user to perform setting. For example: after the obtaining module 100 obtains the target multimedia data, the electronic device determines that the multimedia data is video data, and the electronic device prompts the user to select one video player from at least one video player of the electronic device, select one display screen from at least one display screen of the electronic device, and select one sound channel from at least one output sound channel of the electronic device, so as to play the multimedia data. In other embodiments, other arrangements are also included, and the invention is not limited herein.
In at least one embodiment of the present invention, the determining module 101, according to the attribute of the target multimedia data, determines a target display screen for playing a picture of the multimedia data from among at least one display screen of the electronic device, and/or determines a target channel for outputting a sound of the multimedia data from among at least one channel of the electronic device includes:
the determining module 101 determines a player corresponding to the format of the target multimedia data from at least one display screen of the electronic device as the target player, and/or determines a channel corresponding to the format of the target multimedia data from at least one channel of the electronic device as the target channel. For example: when the format of the target multimedia data is mp4 format, according to the setting of the electronic device, the default display screen of the mp4 format is the second display screen, and the default output channel of the mp4 format is a right channel, then the determining module 101 determines that the target display screen of the target multimedia data is the second display screen, and the target channel of the target multimedia data is the right channel.
The determining module 101 determines a player corresponding to the format of the target multimedia data from at least one player of the electronic device as the target player, and then uses a display screen corresponding to the target player as the target display screen and/or uses a channel corresponding to the target player as the target channel. For example: when the format of the target multimedia data is mp4 format, according to the setting of the electronic device, the default player of the mp4 format is an X player, the default display screen of the X player is the first display screen, and the default output channel of the X player is a left channel, then the determining module 101 determines that the target display screen of the target multimedia data is the first display screen, and the target channel of the target multimedia data is the left channel.
The determining module 101 determines a display screen corresponding to the type of the target multimedia data from at least one display screen of the electronic device as the target display screen, and/or determines a channel corresponding to the type of the target multimedia data from at least one channel of the electronic device as the target channel. For example: when the type of the target multimedia data is a duty type, according to the setting of the electronic device, the default display screen of the duty type multimedia data is the second display screen, and the default output channel of the duty type multimedia data is a right channel, the determining module 101 determines that the target display screen of the target multimedia data is the second display screen, and the target channel of the target multimedia data is the right channel.
The determining module 101 determines a player corresponding to the type of the target multimedia data from at least one player of the electronic device as the target player, and then uses a display screen corresponding to the target player as the target display screen and/or uses a channel corresponding to the target player as the target channel. For example: when the type of the target multimedia data is a duty-done type, according to the setting of the electronic device, the default player of the duty-done type multimedia data is an X player, the default display screen of the X player is the first display screen, and the default output channel of the X player is a left channel, then the determining module 101 determines that the target display screen of the target multimedia data is the first display screen, and the target channel of the target multimedia data is the left channel.
The output module 102 displays a picture of the target multimedia data on the target display screen and/or outputs a sound of the target multimedia data on the target sound channel.
In at least one embodiment of the present invention, multimedia data may be distinguished based on their identification, including, but not limited to: the source of the multimedia data, the name of the multimedia data, the number of the multimedia data, and the like are used to distinguish other information of the multimedia data.
In at least one embodiment of the present invention, the displaying, by the output module 102, the picture of the target multimedia data on the target display screen includes:
the obtaining module 100 obtains the identifier of the target multimedia data, and obtains a frame picture related to the identifier of the target multimedia data from the multimedia container by using a frame buffer.
For example: the obtaining module 100 obtains an identifier of the target multimedia data, where the identifier indicates that the target multimedia data is from an X address, the obtaining module 100 obtains a frame picture related to the identifier of the target multimedia data and from the X address from the multimedia container by using a frame buffer, and the output module 102 outputs the frame picture to the target display screen.
In at least one embodiment of the present invention, the outputting module 102 outputting the sound of the target multimedia data on the target channel includes:
the obtaining module 100 obtains the identifier of the target multimedia data, and obtains the audio data related to the identifier of the target multimedia data from the multimedia container.
For example: the obtaining module 100 obtains an identifier of the target multimedia data, where the identifier indicates that the target multimedia data is from a Y address, then the obtaining module 100 obtains audio data, which is related to the identifier of the target multimedia data and is from the Y address, from the multimedia container, and the output module 102 outputs the audio data as a target audio channel.
In other embodiments, a demultiplexer may be used to separate different types of multimedia data, a multimedia adapter distributes the different types of multimedia data to different players, and the frame buffer implements the split-screen setting of the multimedia data.
In at least one embodiment of the present invention, the multimedia data may be all video data, one audio data, one video data, or all audio data, and the present invention is not limited herein.
In summary, the present invention can obtain target multimedia data; according to the attribute of the target multimedia data, determining a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment; and displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel. Therefore, the invention can achieve the purpose that different multimedia data are played on different display screens of the same electronic equipment, thereby realizing double-screen display and improving the use experience of users.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention.
Fig. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present invention, which implements a method for playing multimedia data in two screens. The electronic device 1 comprises a memory 12, a processor 13, a first display 14 and a second display 15.
The first display 14 and the second display 15 are used for displaying the multimedia data.
The electronic device 1 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
But not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an Internet Protocol Television (IPTV), a smart wearable device, or the like.
The Network where the electronic device 1 is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
The memory 12 is used for storing a program and various data of a multimedia data double-screen playing method and realizing high-speed and automatic access of the program or the data in the running process of the electronic equipment 1. The memory 12 may be an external memory and/or an internal memory of the electronic device 1.
Further, the Memory 12 may be a circuit having a Memory function without any physical form In the integrated circuit, such as a RAM (Random-Access Memory), a FIFO (First In First Out), and the like. Alternatively, the memory 12 may be a memory in a physical form, such as a memory stick, a TF Card (Trans-flash Card), or the like.
The processor 13 is also called a Central Processing Unit (CPU), and is an ultra-large scale integrated circuit, which is an operation Core (Core) and a Control Core (Control Unit) of the electronic device 1.
The processor 13 may execute an operating system of the electronic device 1 and various installed application programs, program codes, and the like, such as the multimedia data dual-screen playing system 11.
The multimedia data double-screen playing system 11 acquires target multimedia data; according to the attribute of the target multimedia data, determining a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment; and displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel. Therefore, the invention can achieve the purpose that different multimedia data are played on different display screens of the same electronic equipment, thereby realizing double-screen display and improving the use experience of users.
Referring to fig. 1, the memory 12 in the electronic device 1 stores a plurality of instructions to implement a multimedia data dual-screen playing method, and the processor 13 can execute the plurality of instructions to implement: acquiring target multimedia data; according to the attribute of the target multimedia data, determining a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment; and displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel.
According to a preferred embodiment of the present invention, the processor 13 further executes a plurality of instructions including:
the attributes of the target multimedia data include a combination of one or more of: the format of the target multimedia data, the type of the target multimedia data, and a player for playing the target multimedia data.
According to a preferred embodiment of the present invention, the processor 13 further executes a plurality of instructions including:
determining a player corresponding to the format of the target multimedia data from at least one display screen of the electronic equipment as the target player, and/or determining a channel corresponding to the format of the target multimedia data from at least one channel of the electronic equipment as the target channel; or
Determining a player corresponding to the format of the target multimedia data from at least one player of the electronic equipment as the target player, and then using a display screen corresponding to the target player as the target display screen and/or using a sound channel corresponding to the target player as the target sound channel; or
Determining a display screen corresponding to the type of the target multimedia data from at least one display screen of the electronic equipment as the target display screen, and/or determining a sound channel corresponding to the type of the target multimedia data from at least one sound channel of the electronic equipment as the target sound channel; or
Determining a player corresponding to the type of the target multimedia data from at least one player of the electronic equipment as the target player, and then using a display screen corresponding to the target player as the target display screen and/or using a sound channel corresponding to the target player as the target sound channel.
According to a preferred embodiment of the present invention, the processor 13 further executes a plurality of instructions including:
acquiring the identification of the target multimedia data, and acquiring a frame picture related to the identification of the target multimedia data from a multimedia container by using a frame buffer; and/or
The processor 13 further executing a plurality of instructions comprising:
and acquiring the identification of the target multimedia data, and acquiring audio data related to the identification of the target multimedia data from a multimedia container.
Specifically, the processor 13 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the instruction, which is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice. The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A multimedia data double-screen playing method is applied to electronic equipment, and is characterized by comprising the following steps:
acquiring target multimedia data;
according to the attribute of the target multimedia data, determining a target display screen for playing the picture of the multimedia data from at least one display screen of the electronic equipment and/or determining a target sound channel for outputting the sound of the multimedia data from at least one sound channel of the electronic equipment, comprising: determining a player corresponding to the format or type of the target multimedia data from at least one player of the electronic equipment as a target player, and then using a display screen corresponding to the target player as the target display screen and/or using a sound channel corresponding to the target player as the target sound channel;
and displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel.
2. The method for dual-screen playback of multimedia data according to claim 1, wherein the attributes of the target multimedia data include one or more of the following in combination:
the format of the target multimedia data, the type of the target multimedia data, and a player for playing the target multimedia data.
3. The method for playing multimedia data in dual screens according to claim 1 or 2, wherein the determining a target display screen for playing a picture of the multimedia data from the at least one display screen of the electronic device and/or a target channel for outputting a sound of the multimedia data from the at least one channel of the electronic device according to the attribute of the target multimedia data comprises:
determining a display screen corresponding to the format of the target multimedia data from at least one display screen of the electronic equipment as the target display screen, and/or determining a sound channel corresponding to the format of the target multimedia data from at least one sound channel of the electronic equipment as the target sound channel; or
And determining a display screen corresponding to the type of the target multimedia data from at least one display screen of the electronic equipment as the target display screen, and/or determining a sound channel corresponding to the type of the target multimedia data from at least one sound channel of the electronic equipment as the target sound channel.
4. The multimedia data dual-screen playing method of claim 1, wherein:
the displaying the picture of the target multimedia data on the target display screen comprises:
acquiring the identification of the target multimedia data, and acquiring a frame picture related to the identification of the target multimedia data from a multimedia container by using a frame buffer; and/or
The outputting of the sound of the target multimedia data on the target channel comprises:
and acquiring the identification of the target multimedia data, and acquiring audio data related to the identification of the target multimedia data from a multimedia container.
5. An electronic device, characterized in that the electronic device comprises:
a processor; and
a memory, the instructions stored in the memory being executed by the processor to implement the multimedia data dual-screen playing method of any one of claims 1 to 4.
6. A computer-readable storage medium characterized by: the instructions stored in the computer-readable storage medium are executed by a processor in an electronic device to implement the multimedia data dual-screen playing method according to any one of claims 1 to 4.
7. A multimedia data double-screen playing system is applied to electronic equipment, and is characterized in that the system comprises:
the acquisition module is used for acquiring target multimedia data;
a determining module, configured to determine, according to an attribute of the target multimedia data, a target display screen for playing a picture of the multimedia data from among the at least one display screen of the electronic device, and/or a target channel for outputting a sound of the multimedia data from among the at least one channel of the electronic device, including: determining a player corresponding to the format or type of the target multimedia data from at least one player of the electronic equipment as a target player, and then using a display screen corresponding to the target player as the target display screen and/or using a sound channel corresponding to the target player as the target sound channel;
and the output module is used for displaying the picture of the target multimedia data on the target display screen and/or outputting the sound of the target multimedia data on the target sound channel.
8. The multimedia data dual-screen playback system of claim 7, wherein the attributes of the target multimedia data comprise a combination of one or more of:
the format of the target multimedia data, the type of the target multimedia data, and a player for playing the target multimedia data.
9. The system of claim 7 or 8, wherein the determining module determines a target display screen for playing a picture of the multimedia data from the at least one display screen of the electronic device and/or a target channel for outputting a sound of the multimedia data from the at least one channel of the electronic device according to the attribute of the target multimedia data comprises:
determining a display screen corresponding to the format of the target multimedia data from at least one display screen of the electronic equipment as the target display screen, and/or determining a sound channel corresponding to the format of the target multimedia data from at least one sound channel of the electronic equipment as the target sound channel; or
And determining a display screen corresponding to the type of the target multimedia data from at least one display screen of the electronic equipment as the target display screen, and/or determining a sound channel corresponding to the type of the target multimedia data from at least one sound channel of the electronic equipment as the target sound channel.
10. The multimedia data dual-screen playback system as claimed in claim 7, wherein:
the output module displays the picture of the target multimedia data on the target display screen, and the display module comprises:
the acquisition module is also used for acquiring the identification of the target multimedia data and acquiring a frame picture related to the identification of the target multimedia data from a multimedia container by utilizing a frame buffer; and/or
The outputting module outputting the sound of the target multimedia data on the target channel includes:
the obtaining module is further configured to obtain an identifier of the target multimedia data, and obtain audio data associated with the identifier of the target multimedia data from a multimedia container.
CN201710606940.9A 2017-07-24 2017-07-24 Multimedia data double-screen playing method and system Active CN107450874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710606940.9A CN107450874B (en) 2017-07-24 2017-07-24 Multimedia data double-screen playing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710606940.9A CN107450874B (en) 2017-07-24 2017-07-24 Multimedia data double-screen playing method and system

Publications (2)

Publication Number Publication Date
CN107450874A CN107450874A (en) 2017-12-08
CN107450874B true CN107450874B (en) 2021-04-20

Family

ID=60487993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710606940.9A Active CN107450874B (en) 2017-07-24 2017-07-24 Multimedia data double-screen playing method and system

Country Status (1)

Country Link
CN (1) CN107450874B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250087A (en) * 2016-08-03 2016-12-21 青岛海信电器股份有限公司 Image display method and device
CN110933221A (en) * 2018-09-19 2020-03-27 西安中兴新软件有限责任公司 Audio channel management method, device, terminal and storage medium
CN109922380B (en) * 2019-01-31 2021-01-26 维沃移动通信有限公司 Video playing method and terminal equipment
CN110989961A (en) * 2019-10-30 2020-04-10 华为终端有限公司 Sound processing method and device
CN112584233A (en) * 2020-12-02 2021-03-30 北京数码视讯技术有限公司 Multimedia stream playing method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10200960A (en) * 1997-01-16 1998-07-31 Matsushita Electric Ind Co Ltd Portable information terminal device
CN202058064U (en) * 2011-04-14 2011-11-30 北京爱国者信息技术有限公司 Electronic equipment with double screens
CN103810959A (en) * 2012-11-06 2014-05-21 刘遥 Display method and apparatus for switching screens
CN104932871A (en) * 2014-03-18 2015-09-23 腾讯科技(北京)有限公司 A method and device for displaying multimedia information
CN105282628A (en) * 2014-06-30 2016-01-27 腾讯科技(深圳)有限公司 Video playing method and device
CN105573705A (en) * 2015-12-26 2016-05-11 深圳市金立通信设备有限公司 Display control method and terminal
CN105959488A (en) * 2016-06-28 2016-09-21 努比亚技术有限公司 Terminal display method and terminal
CN106201395A (en) * 2016-06-28 2016-12-07 努比亚技术有限公司 A kind of display packing and mobile terminal
CN106658144A (en) * 2016-12-20 2017-05-10 北京奇虎科技有限公司 Display method and device of streaming media data

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10200960A (en) * 1997-01-16 1998-07-31 Matsushita Electric Ind Co Ltd Portable information terminal device
CN202058064U (en) * 2011-04-14 2011-11-30 北京爱国者信息技术有限公司 Electronic equipment with double screens
CN103810959A (en) * 2012-11-06 2014-05-21 刘遥 Display method and apparatus for switching screens
CN104932871A (en) * 2014-03-18 2015-09-23 腾讯科技(北京)有限公司 A method and device for displaying multimedia information
CN105282628A (en) * 2014-06-30 2016-01-27 腾讯科技(深圳)有限公司 Video playing method and device
CN105573705A (en) * 2015-12-26 2016-05-11 深圳市金立通信设备有限公司 Display control method and terminal
CN105959488A (en) * 2016-06-28 2016-09-21 努比亚技术有限公司 Terminal display method and terminal
CN106201395A (en) * 2016-06-28 2016-12-07 努比亚技术有限公司 A kind of display packing and mobile terminal
CN106658144A (en) * 2016-12-20 2017-05-10 北京奇虎科技有限公司 Display method and device of streaming media data

Also Published As

Publication number Publication date
CN107450874A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107450874B (en) Multimedia data double-screen playing method and system
RU2731837C1 (en) Determining search requests to obtain information during user perception of event
JP6623500B2 (en) Similar video search method, apparatus, equipment and program
WO2020253806A1 (en) Method and apparatus for generating display video, device and storage medium
US11023100B2 (en) Methods, systems, and media for creating and updating a group of media content items
US20240121468A1 (en) Display method, apparatus, device and storage medium
WO2017181597A1 (en) Method and device for video playback
CN113365134B (en) Audio sharing method, device, equipment and medium
CN103384253B (en) The play system and its construction method of multimedia interaction function are presented in video
CN104065979A (en) Method for dynamically displaying information related with video content and system thereof
US20240289398A1 (en) Method, apparatus, device and storage medium for content display
CN109635131B (en) Multimedia content list display method, pushing method, device and storage medium
CN112989104B (en) Information display method and device, computer readable storage medium and electronic equipment
CN108491178B (en) Information browsing method, browser and server
US20200410967A1 (en) Method for displaying triggered by audio, computer apparatus and storage medium
JP2014176083A (en) Method for providing electronic program guide, multimedium reproduction system and computer readable storage medium
US10775877B2 (en) System to generate a mixed media experience
CN112492399B (en) Information display method and device and electronic equipment
CN111667313A (en) Advertisement display method and device, client device and storage medium
CN104768083B (en) A kind of video broadcasting method and device of chapters and sections content displaying
KR102403149B1 (en) Electric device and method for controlling thereof
US20230351651A1 (en) Character display method and apparatus, electronic device, and computer-readable storage medium
CN116800988A (en) Video generation method, apparatus, device, storage medium, and program product
CN115079908B (en) Media content collection method, apparatus, electronic device, and computer-readable storage medium
CN111641867B (en) Video output method, 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
GR01 Patent grant
GR01 Patent grant