CN116774963A - Multimedia data playing method and device, electronic equipment and vehicle - Google Patents

Multimedia data playing method and device, electronic equipment and vehicle Download PDF

Info

Publication number
CN116774963A
CN116774963A CN202310565901.4A CN202310565901A CN116774963A CN 116774963 A CN116774963 A CN 116774963A CN 202310565901 A CN202310565901 A CN 202310565901A CN 116774963 A CN116774963 A CN 116774963A
Authority
CN
China
Prior art keywords
screen
playing mode
playing
determining
multimedia data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310565901.4A
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202310565901.4A priority Critical patent/CN116774963A/en
Publication of CN116774963A publication Critical patent/CN116774963A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • 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)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses a multimedia data playing method and device, electronic equipment and a vehicle. The application relates to the field of intelligent automobiles, wherein the method comprises the following steps: determining a first screen currently occupying the focus of a sound source and a second screen needing to play multimedia data in a plurality of screens on a vehicle; determining a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen; and determining whether the second screen occupies the focus of the sound source or not based on the first playing mode and the second playing mode, and controlling the second screen to play the multimedia data. The application solves the technical problem that the focus of the sound source is disordered when a plurality of screens on the vehicle play the sound source simultaneously in the related art.

Description

Multimedia data playing method and device, electronic equipment and vehicle
Technical Field
The application relates to the field of intelligent automobiles, in particular to a multimedia data playing method and device, electronic equipment and a vehicle.
Background
Along with the development of the intelligent and networking of automobiles, the vehicle-mounted multi-screen system has become a trend, and each screen can support the playing of the multimedia data, but as the audio playing modes of the multimedia data adopted by the multiple screens are overlapped, confusion is generated in the process of preempting the audio focus when the multiple screens are started simultaneously to play the multimedia data.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment and a vehicle for playing multimedia data, which at least solve the technical problem that sound source focuses are disordered when a plurality of screens on the vehicle play sound sources simultaneously in the related art.
According to an aspect of an embodiment of the present application, there is provided a method for playing multimedia data, including: determining a first screen currently occupying the focus of a sound source and a second screen needing to play multimedia data in a plurality of screens on a vehicle; determining a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen; and determining whether the second screen occupies the focus of the sound source or not based on the first playing mode and the second playing mode, and controlling the second screen to play the multimedia data.
Optionally, determining whether the second screen preempts the audio focus based on the first playing mode and the second playing mode includes: determining a first screen position of the first screen and a second screen position of the second screen; determining that the second screen occupies the focus of the sound source in response to the first screen position and the second screen position being preset positions; and determining whether the second screen preempts the sound source focus based on the first playing mode and the second playing mode in response to the first screen position and the second screen position being not preset positions.
Optionally, determining whether the second screen preempts the audio focus based on the first playing mode and the second playing mode includes: and responding to the difference between the first playing mode and the second playing mode, and determining that the second screen does not preempt the focus of the sound source.
Optionally, the method further comprises: responding to the second screen to preempt the focus of the audio source, and controlling the first screen to stop playing the currently played multimedia data; and controlling the first screen to continuously play the currently played multimedia data in response to the fact that the second screen does not preempt the audio focus.
Optionally, in response to the second screen preempting the audio source focus, the method further comprises: controlling a first screen to play a sound source focus; and controlling the second screen to occupy the sound source focus in response to the first screen successfully releasing the sound source focus.
Optionally, determining the first playing mode corresponding to the first screen and the second playing mode corresponding to the second screen includes: determining a first screen position of the first screen and a second screen position of the second screen; responding to the first screen position as a preset position and the second screen position as a preset position, and determining that the first playing mode and the second playing mode are both speaker playing modes; determining that the first playing mode is a loudspeaker playing mode or an earphone playing mode according to the fact that the first screen position is not the preset position; and determining that the second playing mode is a loudspeaker playing mode or an earphone playing mode according to the fact that the second screen position is not the preset position.
Optionally, determining that the first playing mode is a speaker playing mode or an earphone playing mode includes: determining the on-off state of a speaker or an earphone on a first screen; responding to the switch state of the loudspeaker as a preset state, and determining that the first playing mode is a loudspeaker playing mode; and responding to the switch state of the earphone as a preset state, and determining that the first playing mode is an earphone playing mode.
According to another aspect of the embodiment of the present application, there is also provided a playing device for multimedia data, including: the first determining module is used for determining a first screen currently occupying the focus of the sound source and a second screen needing to play the multimedia data from a plurality of screens on the vehicle; the second determining module is used for determining a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen; and the control module is used for determining whether the second screen occupies the focus of the sound source or not based on the first playing mode and the second playing mode and controlling the second screen to play the multimedia data.
According to another aspect of the embodiment of the present application, there is also provided an electronic device, including: one or more processors; a storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the method for playing multimedia data according to any one of the above.
According to another aspect of the embodiment of the present application, there is also provided a vehicle, characterized by comprising: one or more processors; a storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the method for playing multimedia data according to any one of the above.
Through the steps, a first screen currently occupying the focus of the sound source and a second screen needing to play the multimedia data are determined in a plurality of screens on the vehicle; determining a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen; and determining whether the second screen occupies the focus of the sound source or not based on the first playing mode and the second playing mode, and controlling the second screen to play the multimedia data. It is easy to note that the first playing mode of the first screen which occupies the audio focus and the second playing mode of the second screen which needs to play the multimedia data can be determined first, so that whether the audio is required to be preempted or the second screen can be directly controlled to play the multimedia data can be determined according to whether the first playing mode and the second playing mode are the same, thereby avoiding the confusion situation of the audio focus when the multimedia data are played by different screens, and further solving the technical problem that the audio focus is disordered when a plurality of screens on a vehicle play the audio simultaneously in the related art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flowchart of an alternative method for playing multimedia data according to an embodiment of the present application;
FIG. 2 is a schematic diagram of playing back alternative multimedia data according to an embodiment of the present application;
fig. 3 is a schematic diagram of a playback apparatus for multimedia data according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present application, there is provided an embodiment of a method for playing multimedia data, it should be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown or described herein.
Fig. 1 is a flowchart of an alternative method for playing multimedia data according to an embodiment of the present application, as shown in fig. 1, the method includes the following steps:
step S102, determining a first screen currently occupying the focus of the sound source and a second screen needing to play the multimedia data from a plurality of screens on the vehicle.
The vehicle can be a new energy electric vehicle, a traditional oil vehicle or the like, and the type of the vehicle is not particularly limited in the application. Optionally, the vehicle may include a plurality of screens, where the plurality of screens may be at least two of a vehicle center control screen, a co-driver screen on the vehicle, and a rear-row screen of the vehicle, and the rear-row screen of the vehicle may be one or more.
The first screen may be a screen on a vehicle on which multimedia data is being played, where the multimedia data may include data information such as weather forecast, popular music, broadcast, and the like, and optionally, the multimedia data includes audio. Alternatively, the first screen may be one of a center control screen of the vehicle, a co-driver screen of the vehicle, and a rear-row screen of the vehicle.
The second screen may be one of a center control screen of the vehicle, a co-driver screen of the vehicle, and a rear-row screen of the vehicle.
In an alternative embodiment, the first screen currently occupying the focus of the audio source may be determined according to the display condition of the multimedia data of the different screens on the current vehicle or according to the audio source playing condition of the multimedia data of the different screens on the current vehicle. Further, the second screen on which the multimedia data needs to be played may be determined according to an indication situation of a user on the vehicle, where the user on the vehicle may include people riding at different positions on the vehicle, optionally, the user on the vehicle may instruct different screens on the vehicle to play the multimedia data by pressing different keys on the vehicle body, or instruct different screens on the vehicle to play the multimedia data by pressing virtual keys on different screens on the vehicle, or instruct different screens on the vehicle to play the multimedia data by voice control.
Taking the following as an example for explanation, in the process of driving the vehicle, assuming that the central control screen on the vehicle is playing navigation information, the central control screen playing navigation information can be determined to be a first screen, alternatively, at this time, a passenger sitting in the back row of the vehicle clicks a key on the back row screen of the vehicle to instruct the back row of the vehicle to play popular music, and then the back row screen needing to play popular music can be determined to be a second screen.
Step S104, determining a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen.
The first playing mode may be a speaker playing mode or an earphone playing mode, where the earphone may include a bluetooth earphone and a wired earphone.
The second playing mode may be a speaker playing mode or an earphone playing mode, where the earphone may include a bluetooth earphone and a wired earphone.
In an alternative embodiment, the playing mode of the audio source of the multimedia data of the front-row screen of the vehicle, that is, the playing mode of the audio source of the multimedia data of the center control screen or the co-driver screen may be a speaker playing mode, and the playing mode of the audio source of the multimedia data of the rear-row screen of the vehicle may be a speaker playing mode, or an earphone playing mode. Therefore, when the first screen is the center control screen or the co-driver screen, the first playing mode of the first screen can be considered as a loudspeaker playing mode, and when the first screen is the rear-row screen of the vehicle, the playing mode of the first screen can be determined according to the playing source of the sound source on the first screen and the connection condition of the earphone on the first screen. Similarly, when the second screen is a center control screen or a co-driver screen, the second playing mode of the second screen can be considered to be a speaker playing mode, and when the second screen is a rear-row screen of the vehicle, the playing mode of the second screen can be determined according to the playing source of the sound source on the second screen and the connection condition of the earphone on the second screen.
For the following explanation, it is assumed that a screen on the vehicle that is playing multimedia data is a co-driver screen on the vehicle, where the co-driver screen on the vehicle is playing a weather forecast in a speaker manner, and at this time, a driver on the vehicle instructs the central control screen on the vehicle to play navigation information in a speaker manner by clicking a key on the central control screen of the vehicle, so that it may be determined that a first play manner corresponding to the co-driver screen on the first screen is a speaker play manner, and it may be determined that a second play manner corresponding to the central control screen on the second screen is a speaker play manner.
Step S106, based on the first playing mode and the second playing mode, determining whether the second screen is preempted in the focus of the audio source, and controlling the second screen to play the multimedia data.
In an alternative embodiment, after the first playing mode corresponding to the first screen and the second playing mode corresponding to the second screen have been determined, it may be determined whether the first playing mode corresponding to the first screen is the same as the second playing mode corresponding to the second screen. When the first playing mode corresponding to the first screen is the same as the second playing mode corresponding to the second screen, the second screen may be required to capture and preempt the audio focus occupied by the first screen, and when the first playing mode corresponding to the first screen is different from the second playing mode corresponding to the second screen, it is indicated that playing of the multimedia data on the first screen will not affect playing of the multimedia data on the second screen, so that preempting of the multimedia data on the second screen is not required.
For the following description, it is assumed that the first screen is a central control screen on a vehicle, where the first screen is playing navigation information in a speaker playing mode, and the second screen is a co-driver screen on the vehicle, where the second screen needs to play short videos in a speaker playing mode. Optionally, because the mode of playing the navigation information by the central control screen and the mode of playing the audio source of the multimedia data of the co-driver screen are both speaker playing modes, the second screen needs to preempt the audio source focus, so that the second screen can normally play the multimedia data, and at this time, the first screen stops playing the multimedia data because the audio source focus occupied by the first screen is preempted.
The first screen is assumed to be a central control screen on the vehicle, wherein the first screen is playing popular music in a loudspeaker playing mode, and the second screen is a rear screen on the vehicle, wherein the second screen needs to play movies in an earphone playing mode. Optionally, since the second playing mode of the second screen is an earphone playing mode, the playing of the multimedia data by the first screen does not affect the playing of the multimedia data by the second screen, so that the second screen does not need to preempt the focus of the audio source, only the second screen is controlled to play the multimedia data in an earphone playing mode, and meanwhile, the playing state of the playing of the multimedia data by the first screen is not changed, that is, the first screen can play popular music in a loudspeaker playing mode.
Through the steps, a first screen currently occupying the focus of the sound source and a second screen needing to play the multimedia data are determined in a plurality of screens on the vehicle; determining a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen; and determining whether the second screen occupies the focus of the sound source or not based on the first playing mode and the second playing mode, and controlling the second screen to play the multimedia data. It is easy to note that the first playing mode of the first screen which occupies the audio focus and the second playing mode of the second screen which needs to play the multimedia data can be determined first, so that whether the audio is required to be preempted or the second screen can be directly controlled to play the multimedia data can be determined according to whether the first playing mode and the second playing mode are the same, thereby avoiding the confusion situation of the audio focus when the multimedia data are played by different screens, and further solving the technical problem that the audio focus is disordered when a plurality of screens on a vehicle play the audio simultaneously in the related art.
Optionally, determining whether the second screen preempts the audio focus based on the first playing mode and the second playing mode includes: determining a first screen position of the first screen and a second screen position of the second screen; determining that the second screen occupies the focus of the sound source in response to the first screen position and the second screen position being preset positions; and determining whether the second screen preempts the sound source focus based on the first playing mode and the second playing mode in response to the first screen position and the second screen position being not preset positions.
The first screen position may be a front-row position of the vehicle, or a rear-row position of the vehicle.
The second screen position may be a front-row position of the vehicle, or a rear-row position of the vehicle.
The above-mentioned preset position may be a front-row position of the vehicle, that is, the preset position may be a center control screen or a co-driver screen, and optionally, when the first screen position and the second screen position are preset positions, the first screen may be one of the center control screen and the co-driver screen, and the second screen may be the other of the center control screen and the co-driver screen different from the first screen.
In an optional embodiment, since the audio playing modes adopted on the vehicle central control screen and the vehicle co-driver screen are both speaker playing modes, optionally, the first screen is assumed to be the co-driver screen, the second screen is assumed to be the central control screen, since the first screen is currently playing the audio of the multimedia data in a speaker mode, and since the co-driver screen also needs to use the speaker playing mode to play the audio of the multimedia data, the second screen needs to preempt the audio focus occupied by the first screen, so that the second screen can normally play the multimedia data, and optionally, when the second screen normally plays the multimedia data, the first screen needs to stop playing because the first screen does not occupy the audio focus any more.
In another alternative embodiment, it is assumed that neither the first screen nor the second screen is a screen on the front row of the vehicle, i.e. neither the first screen nor the second screen is a vehicle center control screen, or a co-driver screen, and therefore both the first screen and the second screen are rear row screens of the vehicle. Optionally, the audio source playing mode of the multimedia data on the rear-row screen of the vehicle may be a speaker playing mode or an earphone playing mode, so when it is determined that the first screen and the second screen are both rear-row screens of the vehicle, a specific audio source playing mode adopted by the first screen and the second screen needs to be further determined, and when the audio source playing modes adopted by the first screen and the second screen are the same and are both speaker playing modes, the second screen needs to preempt the audio source focus.
For the following explanation, it is assumed that the first screen and the second screen are rear-row screens of the vehicle, the sound source playing mode adopted by the first screen is an earphone playing mode, and the sound source playing mode adopted by the second screen is a speaker playing mode, and since playing the multimedia data on the first screen will not affect playing the multimedia data on the second screen, the first screen can continue playing the multimedia data according to the original playing mode, and the second screen is controlled to play the multimedia data in the speaker playing mode. The first screen and the second screen are both rear-row screens of the vehicle, and the sound source playing modes adopted by the first screen and the second screen are earphone playing modes, so that the first screen plays multimedia data without affecting the second screen plays multimedia data, and the second screen is not required to preempt the sound source focus. Optionally, it is assumed that the first screen and the second screen are both rear-row screens, and when the audio source of the multimedia data needs to be played by adopting a speaker playing mode, the second screen is required to preempt the audio source focus.
Optionally, determining whether the second screen preempts the audio focus based on the first playing mode and the second playing mode includes: and responding to the difference between the first playing mode and the second playing mode, and determining that the second screen does not preempt the focus of the sound source.
In an alternative embodiment, when the first playing mode adopted by the first screen is the same as the second playing mode adopted by the second screen and is not the earphone playing mode, the second screen is required to take the preemptive audio focus, so that the second screen can normally play video, when the first playing mode adopted by the first screen is different from the second playing mode adopted by the second screen, the second screen does not need to take the preemptive audio focus, and meanwhile, the first screen can continue playing the multimedia data according to the original playing mode, and the second screen can also play the multimedia data according to the required mode.
Optionally, the method further comprises: responding to the second screen to preempt the focus of the audio source, and controlling the first screen to stop playing the currently played multimedia data; and controlling the first screen to continuously play the currently played multimedia data in response to the fact that the second screen does not preempt the audio focus.
In an alternative embodiment, when the first playing mode adopted by the first screen is the same as the second playing mode adopted by the second screen and neither is the earphone playing mode, the second screen is required to take the preemptive audio focus, and optionally, since the audio focus currently occupied by the first screen is preempted, the multimedia data being played on the first screen is stopped. When the first playing mode adopted by the first screen and the second playing mode adopted by the second screen are adopted, the second screen does not need to preempt the audio focus, so that the audio focus occupied on the first screen can be kept, and the first screen can continue to play the multimedia data according to the original mode.
For the following explanation, it is assumed that the first screen is a rear-row screen of the vehicle, and the first screen plays short videos by using a speaker playing mode, and it is assumed that the second screen is also a rear-row screen of the vehicle, and the second screen needs to play popular music by using a speaker playing mode, and optionally, since the first screen and the second screen need to play multimedia data in the same mode, the second screen needs to preempt the audio focus, and further, since the audio focus is occupied by the second screen, the first screen will stop playing currently played multimedia data. Optionally, the first screen is a rear-row screen of the vehicle, and the first screen adopts an earphone playing mode to play the short video, and the second screen is also a rear-row screen of the vehicle, and needs to adopt an earphone playing mode to play popular music.
Optionally, in response to the second screen preempting the audio source focus, the method further comprises: controlling a first screen to play a sound source focus; and controlling the second screen to occupy the sound source focus in response to the first screen successfully releasing the sound source focus.
In an alternative embodiment, assuming that it has been determined that the second screen needs to preempt the audio focus, since the audio focus is currently occupied by the first screen, the audio focus needs to be released first by the first screen, optionally, the user in front of the second screen on the vehicle may play the multimedia data on the second screen in any mode, after the vehicle system receives the user request, it may determine that the user wants to use the playing mode of the multimedia data on the second screen, optionally, the playing mode of the multimedia data on the second screen that the user wants to use may be compared with the playing mode of the multimedia data on the first screen, where the playing mode of the multimedia data on the second screen that the user wants to use is the same as the playing mode of the multimedia data on the first screen, and in case that neither is the playing mode of the earphone, the first screen may be controlled to release the audio focus. Further, after the vehicle-mounted system detects that the first screen has successfully released the audio source focus, the second screen can be controlled to take the preemptive audio source focus. Optionally, the first screen is controlled to release the sound source focus, and the second screen is controlled to preempt the sound source focus, so that disorder of the system can be avoided, and the technical problem that the sound source focus is disordered when a plurality of screens on a vehicle play the sound source simultaneously in the related art is solved.
Optionally, determining the first playing mode corresponding to the first screen and the second playing mode corresponding to the second screen includes: determining a first screen position of the first screen and a second screen position of the second screen; responding to the first screen position as a preset position and the second screen position as a preset position, and determining that the first playing mode and the second playing mode are both speaker playing modes; determining that the first playing mode is a loudspeaker playing mode or an earphone playing mode according to the fact that the first screen position is not the preset position; and determining that the second playing mode is a loudspeaker playing mode or an earphone playing mode according to the fact that the second screen position is not the preset position.
In an alternative embodiment, since the audio playing mode of the multimedia data of the front-row screen of the vehicle is a speaker playing mode, and the audio playing mode of the multimedia data of the rear-row screen of the vehicle is a speaker playing mode or an earphone playing mode, when determining the first playing mode adopted by the first screen and the second playing mode adopted by the second screen, the positions of the first screen and the second screen can be determined first, and the first playing mode adopted by the first screen and the second playing mode adopted by the second screen can be estimated primarily according to the positions of the first screen and the second screen. If the position of the first screen or the second screen is the front-row position of the vehicle, the audio playing mode of the multimedia data corresponding to the first screen or the second screen can be rapidly determined to be a loudspeaker playing mode, and if the position of the first screen or the second screen is the rear-row position of the vehicle, further step-by-step judgment needs to be performed on the first playing mode adopted by the first screen and the second playing mode adopted by the second screen.
Optionally, determining that the first playing mode is a speaker playing mode or an earphone playing mode includes: determining the on-off state of a speaker or an earphone on a first screen; responding to the switch state of the loudspeaker as a preset state, and determining that the first playing mode is a loudspeaker playing mode; and responding to the switch state of the earphone as a preset state, and determining that the first playing mode is an earphone playing mode.
The rising preset state may be an open state.
In an alternative embodiment, when determining the playing modes of the audio sources when the first screen and the second screen play the multimedia data, the playing modes of the audio sources when the first screen and the second screen play the multimedia data may be determined by determining the on-off states of the corresponding speakers and headphones on the first screen and the second screen, so that the playing modes of the audio sources when the first screen and the second screen play the multimedia data may be determined according to the on-off states of the corresponding speakers and headphones on the first screen and the second screen. Optionally, assuming that the state of the speaker corresponding to the first screen is an on state, it may be determined that the playing mode of the audio source when the first screen plays the multimedia data is a speaker playing mode. Optionally, assuming that the state of the earphone corresponding to the second screen is an on state, it may be determined that the playing mode of the audio source when the second screen plays the multimedia data is an earphone playing mode.
Fig. 2 is a schematic diagram of playing an alternative multimedia data according to an embodiment of the present application, as shown in fig. 2, assuming that a screen on a vehicle includes a center control screen, a co-driver screen, a rear row a, and a rear row B, the current audio focus may be first identified. If the current sound source focus is occupied by the central control screen, judging whether the preemption of the sound source focus is needed, and if the second screen is a secondary control screen, releasing the sound source focus by the central control screen, preempting the sound source focus by the secondary control screen, and outputting the sound source by a loudspeaker so that the second screen plays multimedia data. Optionally, if the second screen is a rear-row screen, it is required to determine whether the rear-row screen is connected with the earphone, if the rear-row screen is not connected with the earphone, the central control screen is required to release the sound source focus, the rear-row screen preemptively occupies the sound source focus, the speaker outputs the sound source to enable the second screen to play the multimedia data, if the rear-row screen is connected with the earphone, the sound source content of the rear-row screen is output by the earphone, and the central control screen sound source keeps the speaker output.
Further, if the current sound source focus is occupied by the rear row a, it is required to determine whether preemption of the sound source focus is required, alternatively, if the second screen is a central control screen or a co-driver screen, it is required to determine whether the rear row a is connected with headphones, if the rear row a is not connected with headphones, then the rear row a is required to release the sound source focus, the central control screen or the co-driver screen preempting the sound source focus, sound of the second screen is output by a speaker, if the rear row a is connected with headphones, sound source content of the rear row a is output by the headphones, the central control screen or the co-driver screen preempting the sound source focus, and sound source of the second screen is output by the speaker. Assuming that the second screen is the rear row B, it is necessary to determine whether the rear row a and the rear row B are connected to headphones, respectively. When the rear row A is not connected with the earphone, the rear row B is connected with the earphone, the audio content of the rear row B is output from the earphone, the audio content of the rear row A is still output by the loudspeaker, when the rear row A is not connected with the earphone, the rear row B is also not connected with the earphone, the audio focus of the rear row A needs to be controlled, the rear row B occupies the audio focus, and the audio content of the second screen is output by the loudspeaker. Alternatively, assuming that the rear row a is connected to the headphones and the rear row B is connected to the headphones, the sound source content of the rear row B may be controlled to be output by the headphones, and the sound source content of the rear row a is output by the headphones. Assuming that the rear row A is connected with the earphone, and the rear row B is not connected with the earphone, the sound source content of the rear row B is output by the loudspeaker, and the sound source content of the rear row A is output by the earphone.
Further, assuming that the current sound source focus is occupied by the co-driver screen, when judging whether to preempt the sound source focus, the second screen needs to be determined first, if the second screen is a rear-row screen, whether the rear-row screen is connected with headphones needs to be judged, if the rear-row screen is connected with headphones, sound source content of the rear-row screen is output by the headphones, and sound source content of the co-driver screen is kept output by the speakers. If the rear-row screen is not connected with the Bluetooth headset, the front-row screen needs to release the sound source focus, the rear-row screen needs to occupy the sound source focus, and the sound source content of the second screen is output by the loudspeaker. And under the condition that the second screen is a central control screen, the secondary driver screen needs to release the sound source focus, the central control screen occupies the sound source focus, and the sound source content of the second screen is output by the loudspeaker.
Example 2
According to an embodiment of the present application, there is further provided a multimedia data playing device, which may perform the multimedia data playing method in the foregoing embodiment, and fig. 3 is a schematic diagram of a multimedia data playing device according to an embodiment of the present application, as shown in fig. 3, where the device includes the following components:
a first determining module 302, configured to determine a first screen currently occupying a focus of a sound source and a second screen that needs to play multimedia data from a plurality of screens on a vehicle;
a second determining module 304, configured to determine a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen;
and the control module 306 is configured to determine whether the second screen is preempted in the audio focus based on the first playing mode and the second playing mode, and control the second screen to play the multimedia data.
Optionally, the control module 306 includes: a first determining unit configured to determine a first screen position of a first screen and a second screen position of a second screen; the second determining unit is used for determining that the second screen occupies the focus of the sound source in response to the fact that the first screen position and the second screen position are both preset positions; and the third determining unit is used for determining whether the second screen occupies the focus of the sound source or not based on the first playing mode and the second playing mode in response to the fact that the first screen position and the second screen position are not preset positions.
Optionally, the control module 306 further includes: and the fourth determining unit is used for determining that the second screen does not preempt the sound source focus in response to the first playing mode being different from the second playing mode.
Optionally, the apparatus further comprises: the second control module is used for responding to the second screen to preempt the sound source focus and controlling the first screen to stop playing the currently played multimedia data; and the third control module is used for controlling the first screen to continuously play the currently played multimedia data in response to the fact that the second screen does not preempt the audio focus.
Optionally, the control module 306 further includes: the first control unit is used for controlling the focus of the first screen play source; and the second control unit is used for controlling the second screen to occupy the sound source focus in response to the successful release of the sound source focus by the first screen.
Optionally, the second determining module 304 includes: a fifth determining unit configured to determine a first screen position of the first screen and a second screen position of the second screen; a sixth determining unit, configured to determine, in response to the first screen position being a preset position and the second screen position being a preset position, that both the first playing mode and the second playing mode are speaker playing modes; a seventh determining unit, configured to determine, in response to the first screen position not being the preset position, that the first playing mode is a speaker playing mode or an earphone playing mode; and the eighth determining unit is used for determining that the second playing mode is a loudspeaker playing mode or an earphone playing mode in response to the second screen position not being the preset position.
Optionally, the seventh determining unit includes: a first determining subunit, configured to determine a switch state of a speaker or an earphone on the first screen; the second determining subunit is used for determining that the first playing mode is a loudspeaker playing mode in response to the switch state of the loudspeaker being a preset state; and the third determining subunit is used for determining that the first playing mode is the earphone playing mode in response to the switch state of the earphone being a preset state.
Example 3
According to an embodiment of the present application, there is also provided an electronic device including: one or more processors; a storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the method for playing multimedia data according to any one of the above.
Example 4
According to an embodiment of the present application, there is also provided a vehicle including: one or more processors; a storage means for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the method for playing multimedia data according to any one of the above.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of units may be a logic function division, and there may be another division manner in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for playing multimedia data, comprising:
determining a first screen currently occupying the focus of a sound source and a second screen needing to play multimedia data in a plurality of screens on a vehicle;
determining a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen;
and determining whether the second screen occupies the sound source focus or not based on the first playing mode and the second playing mode, and controlling the second screen to play the multimedia data.
2. The method of claim 1, wherein determining whether the second screen preempts the audio source focus based on the first playback mode and the second playback mode comprises:
determining a first screen position of the first screen and a second screen position of the second screen;
determining that the second screen occupies the sound source focus in response to the first screen position and the second screen position being preset positions;
and determining whether the second screen preempts the sound source focus based on the first playing mode and the second playing mode in response to the first screen position and the second screen position not being the preset positions.
3. The method of claim 2, wherein determining whether the second screen preempts the audio source focus based on the first playback mode and the second playback mode comprises:
and responding to the first playing mode and the second playing mode to determine that the second screen does not preempt the sound source focus.
4. The method according to claim 1, wherein the method further comprises:
responding to the second screen to preempt the sound source focus, and controlling the first screen to stop playing the currently played multimedia data;
and responding to the second screen not to preempt the sound source focus, and controlling the first screen to continuously play the currently played multimedia data.
5. The method of claim 1, wherein in response to the second screen preempting the source focus, the method further comprises:
controlling the first screen to release the sound source focus;
and controlling the second screen to occupy the sound source focus in response to the first screen successfully releasing the sound source focus.
6. The method of claim 1, wherein determining a first play mode corresponding to the first screen and a second play mode corresponding to the second screen comprises:
determining a first screen position of the first screen and a second screen position of the second screen;
responding to the first screen position as a preset position, and the second screen position as the preset position, and determining that the first playing mode and the second playing mode are both loudspeaker playing modes;
determining that the first playing mode is the loudspeaker playing mode or the earphone playing mode according to the fact that the first screen position is not the preset position;
and determining that the second playing mode is the loudspeaker playing mode or the earphone playing mode according to the fact that the second screen position is not the preset position.
7. The method of claim 6, wherein determining that the first playback mode is the speaker playback mode or the headphone playback mode comprises:
determining the on-off state of the loudspeaker or the earphone on the first screen;
responding to the switch state of the loudspeaker to be a preset state, and determining that the first playing mode is the playing mode of the loudspeaker;
and responding to the switch state of the earphone to be a preset state, and determining that the first playing mode is the earphone playing mode.
8. A multimedia data playing device, comprising:
the first determining module is used for determining a first screen currently occupying the focus of the sound source and a second screen needing to play the multimedia data from a plurality of screens on the vehicle;
the second determining module is used for determining a first playing mode corresponding to the first screen and a second playing mode corresponding to the second screen;
and the control module is used for determining whether the second screen preempts the sound source focus or not based on the first playing mode and the second playing mode and controlling the second screen to play the multimedia data.
9. An electronic device, comprising:
one or more processors;
a storage means for storing one or more programs;
when executed by one or more processors, the one or more programs cause the one or more processors to perform the multimedia data playing method of any one of claims 1-7.
10. A vehicle, characterized by comprising:
one or more processors;
a storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the multimedia data playing method of any one of claims 1 to 7.
CN202310565901.4A 2023-05-18 2023-05-18 Multimedia data playing method and device, electronic equipment and vehicle Pending CN116774963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310565901.4A CN116774963A (en) 2023-05-18 2023-05-18 Multimedia data playing method and device, electronic equipment and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310565901.4A CN116774963A (en) 2023-05-18 2023-05-18 Multimedia data playing method and device, electronic equipment and vehicle

Publications (1)

Publication Number Publication Date
CN116774963A true CN116774963A (en) 2023-09-19

Family

ID=88009002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310565901.4A Pending CN116774963A (en) 2023-05-18 2023-05-18 Multimedia data playing method and device, electronic equipment and vehicle

Country Status (1)

Country Link
CN (1) CN116774963A (en)

Similar Documents

Publication Publication Date Title
US20120121113A1 (en) Directional control of sound in a vehicle
US10479201B2 (en) In-vehicle display system and control method for in-vehicle display system
US8655157B2 (en) Content reproduction apparatus and content reproduction system
US10812906B2 (en) System and method for providing a shared audio experience
JP2006188181A (en) On-vehicle multi-media device
CN109104674A (en) Sound field rebuilding method, audio frequency apparatus, storage medium and device towards auditor
CN116774963A (en) Multimedia data playing method and device, electronic equipment and vehicle
JP4132484B2 (en) In-vehicle audio visual playback device
JP5564125B1 (en) Video content synchronized playback system, video content playback device, and control program therefor
JP2020082955A (en) Content reproduction device
JP4316468B2 (en) Data reproduction system, data reproduction method, and resume reproduction control apparatus using digital network
KR100950177B1 (en) The control method of the car audio/video system
JP2002149163A (en) Entertainment machine utilizing dolby surround-sound system
US8423049B2 (en) Mobile communication terminal and method of controlling volume thereof
JP4954327B2 (en) Information playback device
US7873424B1 (en) System and method for optimizing digital audio playback
JP6163208B2 (en) Radio client terminal and radio system
JP4385289B2 (en) Audio processing apparatus and method, and program
CN113299321B (en) Multi-user audio sharing method for vehicle-mounted entertainment system, vehicle-mounted system and storage medium
JP2008056063A (en) On-vehicle audio visual device
JP2004017914A (en) Audio visual (av) system
JP2002135882A (en) On-vehicle acoustic system
JP2004180227A (en) Broadcast receiver
CN118051197A (en) Audio focus control method, device, electronic equipment and storage medium
CN117591060A (en) Audio playing method, vehicle-mounted device, vehicle and computer program product

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