Disclosure of Invention
The application mainly aims to provide a data processing method for a vehicle-mounted entertainment device, so as to solve the problem that a user cannot conveniently see song related information when using the vehicle-mounted entertainment device in the prior art.
In order to achieve the above object, according to one aspect of the present application, there is provided a data processing method for an in-vehicle entertainment apparatus.
The data processing method for the vehicle-mounted entertainment device comprises the following steps:
acquiring song information in a vehicle-mounted entertainment device;
extracting song display information in the song information, wherein the song display information is information used for displaying to a user;
and sending the song display information to a HUD display unit so that the HUD display unit projects the song display information in a head-up display mode.
Further, after the acquiring of the song information in the in-vehicle entertainment apparatus, the method further includes: extracting audio information in the song information, wherein the audio information is information used for being played to a user; judging whether the audio information comprises a playing control instruction or not; if the audio information does not comprise a playing control instruction, sending the audio information to an audio playing unit for playing; and if the audio information comprises a playing control instruction, sending the audio information to an audio playing unit for playing and controlling the playing of the audio information according to the playing control instruction, wherein the playing control instruction comprises an instruction for controlling the audio information to be played next, an instruction for controlling the audio information to be played last, an instruction for controlling the audio information to be played temporarily and an instruction for controlling the audio information to be played repeatedly.
Further, sending the audio information to an audio playing unit for playing includes: acquiring a sound effect adjusting instruction in the vehicle-mounted entertainment device; and adjusting the volume of the audio information according to the sound effect adjusting instruction so that the audio playing unit adjusts the sound effect of the audio information in a mode of adjusting the volume of the audio information.
Further, acquiring song information in the in-vehicle entertainment device includes: receiving song information sent by the first mobile terminal through wireless connection, wherein the song information comprises song display information and/or audio information.
Further, after receiving the song information sent by the first mobile terminal through the wireless connection, the method further includes: when the received song information is song display information, storing the song display information to the local, and acquiring local audio information corresponding to the song display information; when the received song information is audio information, storing the audio information to the local, and acquiring song display information corresponding to the audio information; and when the received song information is song display information and audio information, storing and saving the song display information and the audio information to the local.
Further, after the song display information is sent to the HUD display unit so that the HUD display unit projects the song display information in a head-up display manner or after the audio information is sent to an audio playing unit for playing, the method further includes: and sending the song information to the second mobile terminal in a wireless connection mode.
In a second aspect, the present application provides a data processing apparatus for an in-vehicle entertainment device.
A data processing device for an in-vehicle entertainment device according to the present application includes:
the processing unit is used for acquiring song information in the vehicle-mounted entertainment device and extracting song display information in the song information, wherein the song display information is information used for displaying to a user;
and the first sending unit is used for sending the song display information to the HUD display unit so that the HUD display unit projects the song display information in a head-up display mode.
Further, the apparatus further comprises:
the extraction unit is used for extracting audio information in the song information after the song information in the vehicle-mounted entertainment device is obtained, wherein the audio information is information used for being played to a user;
the judging unit is used for judging whether the audio information comprises a playing control instruction or not;
and the second sending unit is used for sending the audio information to the audio playing unit for playing when the audio information does not comprise a playing control instruction, sending the audio information to the audio playing unit for playing and controlling the playing of the audio information according to the playing control instruction when the audio information comprises the playing control instruction, wherein the playing control instruction comprises an instruction for controlling the audio information to be played next, an instruction for controlling the audio information to be played last, an instruction for controlling the audio information to be played temporarily and an instruction for controlling the audio information to be played repeatedly.
In a third aspect, the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the data processing method for an in-vehicle entertainment device provided in the first aspect when executing the program.
In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the data processing method for an in-vehicle entertainment device provided in the first aspect.
In the embodiment of the application, through the mode of obtaining on-vehicle entertainment device, song display information in the song information sends to HUD display element, has reached and has made HUD display element throw with the new line display mode song display information's purpose to realized that the user can be convenient see the technical effect of song relevant information, and then solved user in prior art when using on-vehicle entertainment device, can not be convenient see the technical problem of song relevant information.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. 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.
In this application, the terms "upper", "lower", "front", "back", "inner", "outer", "middle", and the like may be used in addition to or in place of an orientation or positional relationship, and may also be used in other meanings, such as the term "upper" may also be used in some cases to indicate some sort of relationship or connection. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
According to an embodiment of the present application, there is provided a data processing method for an in-vehicle entertainment apparatus, as shown in fig. 1, the method including steps S1 to S3 as follows:
s1: song information in the in-vehicle entertainment device is acquired.
The acquired song information in the vehicle-mounted entertainment device can be song information acquired through the first mobile terminal or song information stored locally in the vehicle-mounted entertainment device. In this embodiment, it is preferable that the song information is acquired through the first mobile terminal. The song information may include: song display information, audio information, score information, and the like.
S2: and extracting song display information in the song information, wherein the song display information is information for displaying to a user.
The extracted song display information is additional information of the audio information, and can be used for adding one or more of music covers, music titles, music subtitles, artists participating in creation, album artists, albums belonging to the album, publication dates, music genres, music time, album covers, lyrics, music playing progress, music videos, copyright ownership and the like in the audio information, so that the management of numerous music pieces is facilitated. Optionally, the song display information may also be other additional information of the audio information, such as comment information of the song, evaluation information of the song, playing times of the song, and the like, which is not limited herein.
S3: and sending the song display information to a HUD display unit so that the HUD display unit projects the song display information in a head-up display mode.
In this step, when sending the song display information to HUD display element, can make HUD display element project song display information on the speculum in front of the user, compare with showing song display information at the central control display screen, can reach and just keep looking at the effect of song display information just of looking at head without lowering the head.
Further, after acquiring the song information in the in-vehicle entertainment apparatus at step S1, the method further includes:
s4: and extracting audio information in the song information, wherein the audio information is information used for playing to a user.
The extracted audio information may be original audio obtained by the microphone through singing of the user, sound source audio information obtained through the first mobile terminal, or sound source audio information locally stored in the vehicle-mounted entertainment device. The audio file may include one or more of a music original music sound source and a music accompaniment sound source, and optionally, the audio file may also be other music sound sources, such as a music reproduction sound source, a music recomposition sound source, a music live performance sound source, and the like, which is not limited herein.
S5: and judging whether the audio information comprises a playing control instruction or not.
In this embodiment of the present application, the playback control instruction is an instruction for controlling playback of audio information, and the playback control instruction may include: optionally, the playing control instruction may also be another control instruction for controlling the playing of the audio information, such as a song list returning instruction, a playing mode setting instruction, a song lyric displaying instruction of a current song, a song deleting instruction, and the like, which is not limited herein.
S6: if the audio information does not comprise a playing control instruction, sending the audio information to an audio playing unit for playing; and if the audio information comprises a playing control instruction, sending the audio information to an audio playing unit for playing and controlling the playing of the audio information according to the playing control instruction, wherein the playing control instruction comprises an instruction for controlling the audio information to be played next, an instruction for controlling the audio information to be played last, an instruction for controlling the audio information to be played temporarily and an instruction for controlling the audio information to be played repeatedly.
It should be noted that the play control command can only exist in the original audio obtained by the microphone for the user to sing. In addition, the playing control instruction including the instruction for controlling the audio information to play next may be "next", or "next", and the developer may set the instruction by himself or herself, which is not limited herein.
Further, in the above step S1, the acquiring of the song information in the in-vehicle entertainment apparatus includes: receiving song information sent by the first mobile terminal through wireless connection, wherein the song information comprises song display information and/or audio information.
Specifically, the first mobile terminal may be an electronic device with a song information sending function, such as a mobile phone, a tablet computer, or a vehicle-mounted computer, which is not limited herein.
Further, after receiving the song information transmitted by the first mobile terminal through the wireless connection, the method further comprises: when the received song information is song display information, storing the song display information to the local, and acquiring local audio information corresponding to the song display information; when the received song information is audio information, storing the audio information to the local, and acquiring song display information corresponding to the audio information; and when the received song information is song display information and audio information, storing and saving the song display information and the audio information to the local.
It should be noted that, when receiving song information, it is not necessary to store the song information to the local after each reception, and it may perform an operation of storing to the local after retrieving no repeated information locally, and if there is repeated song information, the step of storing the song information to the local may be skipped.
Further, after the step S3 sending the song display information to the HUD display unit so that the HUD display unit projects the song display information in a head-up display manner or after the step S6 sending the audio information to the audio playing unit for playing, the method further includes: and sending the song information to the second mobile terminal in a wireless connection mode.
Specifically, the second mobile terminal may be an electronic device with a song information receiving function, such as a mobile phone, a tablet computer, or a vehicle-mounted computer, which is not limited herein.
It should be noted that the first mobile terminal and the second mobile terminal may be the same mobile terminal or different mobile terminals, and preferably, the first mobile terminal and the second mobile terminal are different mobile terminals.
From the above description, it can be seen that the following technical effects are achieved by the present application:
this application can realize on-vehicle KTV's effect. Compare in traditional on-vehicle entertainment device through well accuse display screen display song lyrics, speaker broadcast sound source, the effect that song display information just can be seen to the head-down only need be kept holding in this application. Meanwhile, the purpose of adjusting the sound effect can be achieved by adjusting the volume, the song information sent by the first mobile terminal can be received and downloaded, and the song information can be sent to the second mobile terminal.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
According to an embodiment of the present application, there is also provided an apparatus 10 for implementing the above-described data processing method for an in-vehicle entertainment apparatus, as shown in fig. 2, the data processing apparatus 10 for an in-vehicle entertainment apparatus including:
the processing unit 11 is configured to acquire song information in the vehicle-mounted entertainment device and extract song display information in the song information, where the song display information is information for displaying to a user;
a first sending unit 12, configured to send the song display information to a HUD display unit so that the HUD display unit projects the song display information in a head-up display manner.
Further, the apparatus 10 further comprises:
the extracting unit 13 is configured to extract audio information in the song information after the song information in the in-vehicle entertainment device is acquired, where the audio information is information for playing to a user;
a judging unit 14, configured to judge whether the audio information includes a play control instruction;
and the second sending unit 15 is configured to send the audio information to an audio playing unit for playing when the audio information does not include a playing control instruction, send the audio information to the audio playing unit for playing and control playing of the audio information according to the playing control instruction when the audio information includes the playing control instruction, where the playing control instruction includes an instruction for controlling the audio information to perform next playing, an instruction for controlling the audio information to perform previous playing, an instruction for controlling the audio information to perform pause playing, and an instruction for controlling the audio information to perform repeat playing.
Further, the apparatus 10 further comprises:
the receiving unit is used for receiving song information sent by the first mobile terminal through wireless connection, wherein the song information comprises song display information and/or audio information.
Further, the apparatus 10 further comprises:
and the third sending unit is used for sending the song information to the second mobile terminal in a wireless connection mode.
According to an embodiment of the present application, there is provided an in-vehicle entertainment system 20, as shown in fig. 3, the in-vehicle entertainment system 20 including:
a data processing device 10 for an in-vehicle entertainment device;
a HUD display unit 21 for displaying song display information in connection with the data processing device 10 for the in-vehicle entertainment device;
an audio playing unit 22 for connecting with the data processing device 10 for the in-vehicle entertainment device and playing audio information;
a microphone 23 for connecting with the data processing device 10 for the in-vehicle entertainment device and collecting audio information;
a wireless connection unit 24, which is used for connecting with the data processing device 10 of the vehicle-mounted entertainment device and receiving song information sent by the first mobile terminal;
and a wireless transmitting unit 25 for connecting with the data processing device 10 for the in-vehicle entertainment device and transmitting the song information to the second mobile terminal.
Further, the HUD display unit 21 includes: projector 211, mirror 212.
Specifically, the projector 211 is used to project song display information sent by the data processing apparatus 10 for an in-vehicle entertainment apparatus to the mirror 212.
Illustratively, the projector 211 includes: LCD light machine, DLP light machine.
Specifically, the mirror 212 is configured to receive song display information projected by the projector 211 and to reflect the song display information.
Illustratively, the mirror 212 includes: combiner reflector, automobile front windshield glass, glass adhered with special reflecting film and plane with reflecting function.
Further, the wireless connection unit 24 is configured to connect with the first mobile terminal by means of a wireless connection.
For example, the wireless connection mode of the wireless connection unit 24 may include any one or a combination of the following: WiFi connection, bluetooth connection, 2G wireless network connection, 3G wireless network connection, 4G wireless network connection, 5G wireless network connection, NFC connection, FM wireless connection, RFID connection, etc., without limitation herein.
Further, the wireless transmitting unit 25 is configured to connect with a second mobile terminal by means of a wireless connection.
For example, the wireless connection mode of the wireless transmitting unit 25 may include any one or a combination of the following: WiFi connection, bluetooth connection, 2G wireless network connection, 3G wireless network connection, 4G wireless network connection, 5G wireless network connection, NFC connection, FM wireless connection, RFID connection, etc., without limitation herein.
For example, as shown in fig. 4, the LCD light engine projects song display information transmitted from the data processing device 10 for the in-vehicle entertainment device onto the front windshield of the vehicle, which reflects song label information to the user's sight area.