CN113163263A - Method, device and storage medium for controlling media resource by vehicle-mounted equipment - Google Patents

Method, device and storage medium for controlling media resource by vehicle-mounted equipment Download PDF

Info

Publication number
CN113163263A
CN113163263A CN202110484674.3A CN202110484674A CN113163263A CN 113163263 A CN113163263 A CN 113163263A CN 202110484674 A CN202110484674 A CN 202110484674A CN 113163263 A CN113163263 A CN 113163263A
Authority
CN
China
Prior art keywords
target
resource
data
vehicle
bluetooth
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.)
Granted
Application number
CN202110484674.3A
Other languages
Chinese (zh)
Other versions
CN113163263B (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202110484674.3A priority Critical patent/CN113163263B/en
Publication of CN113163263A publication Critical patent/CN113163263A/en
Application granted granted Critical
Publication of CN113163263B publication Critical patent/CN113163263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41422Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance located in transportation means, e.g. personal vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4222Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The invention discloses a method and a device for controlling media resources by vehicle-mounted equipment, a storage medium and electronic equipment. Wherein, the method comprises the following steps: receiving a target operation request triggered on target vehicle-mounted equipment; responding to the target operation request, and acquiring a target media resource corresponding to the resource identifier and an additional display resource required by the target media resource when the target media resource is operated on the target vehicle-mounted equipment; according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data; and sending the first target data to the target vehicle-mounted device so as to execute the operation requested by the target operation request on the first target data at the target vehicle-mounted device. The invention solves the technical problem of low comprehensiveness of controlling media resources by the vehicle-mounted equipment.

Description

Method, device and storage medium for controlling media resource by vehicle-mounted equipment
Technical Field
The invention relates to the field of computers, in particular to a method and a device for controlling media resources by vehicle-mounted equipment, a storage medium and electronic equipment.
Background
If the media resources of the mobile phone need to be played at the current vehicle-mounted end, the mobile phone can be connected through the Bluetooth, and the media resources are selected to be played on the mobile phone APP. Consumers are generally familiar with the use of Bluetooth, but although the method is simple to use, the method has the disadvantages that the experience of a vehicle-mounted end is relatively crude by using a classic Bluetooth protocol, a user can only use very basic functions such as playing/pausing and the like through the vehicle-mounted end, and operations such as accurately playing/playing a song list and the like must be completed through operating a mobile phone. In the use process of the automobile, the mobile phone is frequently operated, so that potential safety hazards are easily caused. This is because bluetooth cannot transmit a file with a large data size or other files containing media resources at the same time when transmitting audio files. When a user plays a media resource using a vehicle-mounted device, the user often wants to see more information of the media resource, such as a text explanation of the media resource, a source of the media resource, and the like. In summary, in the prior art, there is a technical problem that the comprehensiveness of controlling media resources by the vehicle-mounted device is low because the media resources with data volume larger than the bluetooth transmission threshold cannot be transmitted by bluetooth when the vehicle-mounted device is used.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling media resources by vehicle-mounted equipment, a storage medium and electronic equipment, and aims to at least solve the technical problem of low comprehensiveness of controlling the media resources by the vehicle-mounted equipment.
According to an aspect of the embodiment of the invention, a method for controlling a media resource by a vehicle-mounted device is provided, which includes: receiving a target operation request triggered on target vehicle-mounted equipment, wherein the target operation request carries a resource identifier and a Bluetooth protocol identifier of a target media resource requested to be operated on the target vehicle-mounted equipment, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required to be adopted when a target terminal and the target vehicle-mounted equipment perform resource data transmission; responding to the target operation request, acquiring a target media resource corresponding to the resource identifier and an additional display resource required when the target media resource is operated on the target vehicle-mounted device, wherein the data volume of the additional display resource is greater than a Bluetooth transmission threshold value; according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data, wherein the data volume of the first target data is less than or equal to the Bluetooth transmission threshold; and sending the first target data to the target vehicle-mounted device so as to execute the operation requested by the target operation request on the first target data by the target vehicle-mounted device.
According to another aspect of the embodiment of the invention, a method for controlling a media resource by a vehicle-mounted device is provided, which includes: receiving first target data sent by a target terminal, wherein the first target data is a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, the Bluetooth protocol mark is the mark carried in the target operation request triggered by the target vehicle-mounted equipment, the Bluetooth protocol mark is used for indicating a Bluetooth communication protocol required by the target terminal to transmit the resource data with the target vehicle-mounted equipment, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required when the target media resource is operated on the target vehicle-mounted device, the data volume of the additional display resource is greater than a Bluetooth transmission threshold value, and the data volume of the first target data is less than or equal to the Bluetooth transmission threshold value; and executing the operation requested by the target operation request on the first target data.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for controlling a media resource by a vehicle device, including: a first receiving unit, configured to receive a target operation request triggered on a target vehicle-mounted device, where the target operation request carries a resource identifier and a bluetooth protocol identifier of a target media resource requested to be operated on the target vehicle-mounted device, and the bluetooth protocol identifier is used to indicate a bluetooth communication protocol that needs to be used when a target terminal performs resource data transmission with the target vehicle-mounted device; a first response unit, configured to respond to the target operation request, obtain a target media resource corresponding to the resource identifier and an additional display resource required when the target media resource is operated on the target vehicle-mounted device, where a data amount of the additional display resource is greater than a bluetooth transmission threshold; an integration unit, configured to perform integration processing on the target media resource and the additional display resource according to a bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain first target data, where a data amount of the first target data is less than or equal to the bluetooth transmission threshold; and a first sending unit, configured to send the first target data to the target vehicle-mounted device, so as to execute, on the target vehicle-mounted device, the operation requested by the target operation request on the first target data.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for controlling a media resource by a vehicle device, including: a second receiving unit, configured to receive first target data sent by a target terminal, where the first target data is a bluetooth communication protocol indicated by a bluetooth protocol identifier, the Bluetooth protocol mark is the mark carried in the target operation request triggered by the target vehicle-mounted equipment, the Bluetooth protocol mark is used for indicating a Bluetooth communication protocol required by the target terminal to transmit the resource data with the target vehicle-mounted equipment, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required when the target media resource is operated on the target vehicle-mounted device, the data volume of the additional display resource is greater than a Bluetooth transmission threshold value, and the data volume of the first target data is less than or equal to the Bluetooth transmission threshold value; and the execution unit is used for executing the operation requested by the target operation request on the first target data.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the method for controlling a media resource by an in-vehicle device when the computer program runs.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the method for controlling a media resource by the vehicle-mounted device through the computer program.
In the embodiment of the present invention, a target operation request triggered on a target vehicle-mounted device is received, where the target operation request carries a resource identifier and a bluetooth protocol identifier of a target media resource requested to be operated on the target vehicle-mounted device, and the bluetooth protocol identifier is used to indicate a bluetooth communication protocol that is required to be used when a target terminal performs resource data transmission with the target vehicle-mounted device; responding to the target operation request, acquiring a target media resource corresponding to the resource identifier and an additional display resource required when the target media resource is operated on the target vehicle-mounted device, wherein the data volume of the additional display resource is greater than a Bluetooth transmission threshold value; according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data, wherein the data volume of the first target data is less than or equal to the Bluetooth transmission threshold; transmitting the first target data to the target vehicle-mounted device so as to execute the operation requested by the target operation request on the first target data by the target vehicle-mounted device, integrating a target media resource with small data volume and an additional display resource with large data volume by using Bluetooth protocol identification, so as to obtain first target data with a unified protocol and a data volume less than or equal to the Bluetooth transmission threshold value, and further transmit the first target data to the target vehicle-mounted equipment through Bluetooth, so that the target vehicle-mounted equipment can control the simple target media resource and also can control the complex additional display resource, thereby achieving the technical purpose of controlling more comprehensive media resources on the vehicle-mounted equipment, therefore, the technical effect of improving the comprehensiveness of the vehicle-mounted equipment for controlling the media resources is achieved, and the technical problem that the comprehensiveness of the vehicle-mounted equipment for controlling the media resources is low is solved.
In the embodiment of the invention, first target data sent by a target terminal is received, wherein the first target data is according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, the Bluetooth protocol mark is the mark carried in the target operation request triggered by the target vehicle-mounted equipment, the Bluetooth protocol mark is used for indicating a Bluetooth communication protocol required by the target terminal to transmit the resource data with the target vehicle-mounted equipment, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required when the target media resource is operated on the target vehicle-mounted device, the data volume of the additional display resource is greater than a Bluetooth transmission threshold value, and the data volume of the first target data is less than or equal to the Bluetooth transmission threshold value; the method comprises the steps of executing the operation requested by the target operation request on the first target data, integrating and processing a target media resource with a small data amount and an additional display resource with a large data amount by using a Bluetooth protocol identifier to obtain first target data with a unified protocol and the data amount less than or equal to the Bluetooth transmission threshold, and further transmitting the first target data to target vehicle-mounted equipment through Bluetooth, so that the target vehicle-mounted equipment can control the complex additional display resource while controlling the simple target media resource, and further achieves the technical purpose of controlling more comprehensive media resources on the vehicle-mounted equipment, thereby achieving the technical effect of improving the comprehensiveness of the vehicle-mounted equipment in controlling the media resources, and further solving the technical problem of low comprehensiveness of the vehicle-mounted equipment in controlling the media resources.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative method for controlling media resources by an in-vehicle device according to an embodiment of the invention;
FIG. 2 is a schematic diagram illustrating a flow of an alternative method for controlling a media resource by an in-vehicle device according to an embodiment of the invention;
FIG. 3 is a diagram illustrating an alternative method for controlling a media asset by a vehicle device according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative method for controlling a media asset by a vehicle device according to an embodiment of the invention;
FIG. 5 is a schematic diagram of an alternative method for controlling a media asset by a vehicle device according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an alternative method for controlling a media asset by a vehicle device according to an embodiment of the invention;
FIG. 7 is a schematic diagram of an alternative method for controlling a media asset by a vehicle device according to an embodiment of the invention;
FIG. 8 is a schematic diagram of an alternative method for controlling a media asset by a vehicle device according to an embodiment of the invention;
FIG. 9 is a schematic diagram illustrating a flow of an alternative method for controlling a media asset by a vehicle-mounted device according to an embodiment of the invention;
FIG. 10 is a schematic diagram of an alternative method for controlling a media asset by a vehicle device according to an embodiment of the invention;
FIG. 11 is a schematic diagram of an alternative apparatus for controlling media resources for a vehicle device according to an embodiment of the invention;
FIG. 12 is a schematic diagram of an alternative apparatus for controlling media resources for a vehicle device in accordance with an embodiment of the invention;
fig. 13 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention 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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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.
According to an aspect of the embodiment of the present invention, a method for a vehicle-mounted device to control a media resource is provided, and optionally, as an optional implementation manner, the method for the vehicle-mounted device to control the media resource may be applied, but is not limited, to an environment as shown in fig. 1. The system may include, but is not limited to, a user device 102, a network 110, a server 112, and a user device 118, wherein the user device 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104, and the user device 118 may include, but is not limited to, a display 124, a processor 122, and a memory 120.
The specific process comprises the following steps:
step S102, the user equipment 102 receives a target operation request triggered on the target vehicle-mounted device 1022, where the user equipment 102 may be, but is not limited to, a target terminal 1024;
steps S104-S106, the user device 102 sends the target operation request to the server 112 through the network 110;
step S108, the server 112 processes the target operation request through the processing engine 116, so as to generate first target data;
the server 112 sends the first targeted data to the user device 118 via the network 110, steps S110-S112.
In step S114, the processor 120 in the user equipment 118 generates a corresponding media resource according to the first target data, displays the media resource on the display 124, and stores the media resource in the memory 120, where the user equipment 118 is the target vehicle-mounted device 1022.
In addition to the example shown in fig. 1, the above steps may be performed by the user device 102 independently, that is, the user device 102 performs the steps of generating the first target data, and the like, so as to relieve the processing pressure of the server. The user equipment 102 may also include, but is not limited to, a handheld device (e.g., a mobile phone), a notebook computer, a desktop computer, a vehicle-mounted device, and the like, and the specific implementation manner of the user equipment 102 is not limited in the present invention.
Optionally, as an optional implementation manner, as shown in fig. 2, the method for controlling a media resource by an in-vehicle device includes:
s202, receiving a target operation request triggered on a target vehicle-mounted device, wherein the target operation request carries a resource identifier and a Bluetooth protocol identifier of a target media resource requested to be operated on the target vehicle-mounted device, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required to be adopted when a target terminal and the target vehicle-mounted device perform resource data transmission;
s204, responding to the target operation request, acquiring a target media resource corresponding to the resource identifier and an additional display resource required when the target media resource is operated on the target vehicle-mounted equipment, wherein the data volume of the additional display resource is greater than a Bluetooth transmission threshold value;
s206, according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data, wherein the data volume of the first target data is less than or equal to a Bluetooth transmission threshold value;
s208, the first target data is sent to the target vehicle-mounted device, so that the operation requested by the target operation request is executed on the first target data by the target vehicle-mounted device.
Optionally, in this embodiment, the method for controlling media resources by the vehicle-mounted device may be applied, but not limited to, in a communication scenario where a mobile phone Application (APP for short) and a car (on board) transmit files such as a song, lyrics, a song menu, a cover, an accompaniment, a playlist through bluetooth, for example, a BLE/SPP communication protocol is first used, a new interactive bidirectional control protocol is encapsulated between the mobile phone APP and the car (on board), and then, under a condition that a play operation request for a certain song is triggered on the car side, the mobile phone APP side receives the play operation request through the interactive bidirectional control protocol, and provides audio resources, lyric resources, song menu resources, and the like of the song for the car through the interactive bidirectional control protocol, so as to provide rich music play experience for a user on the car side.
Optionally, in this embodiment, the target vehicle-mounted device may be, but is not limited to, a target vehicle machine, and the target vehicle machine may be, but is not limited to, an additional device configured with at least one of the following: display, processor, memory, network card, audio, etc. The target vehicle-mounted device may also be, but is not limited to, a functional device installed in or on the target vehicle, such as a navigation device, a personal computer, etc., and is not limited herein.
Optionally, in this embodiment, the target media resource may include, but is not limited to, one or more types of media resources, for example, the target media resource is an audio resource, a video resource, a text resource, and the like;
optionally, in this embodiment, the additional display resource may also include, but is not limited to, one or more types of media resources, such as an audio resource, a video resource, a text resource, and the like, and the additional display resource may be, but is not limited to, a reference resource for introducing or supplementing additional information of the target media resource;
further, for example, the target media resource is used as an audio resource of the target song, the additional display resource is a text resource of lyrics of the target song, and an additional resource of a song slip of the target song, as shown in fig. 3, a song name of the target song 304, text information of the target lyrics 306, text information of the target song slip 308, and the like are displayed on a display screen of the target vehicle-mounted device 302. The method for controlling media resources by the vehicle-mounted device may be, but not limited to, completely checking the song name of the target song 304, the text information of the target lyric 306, the text information of the target song list 308, and the like on the display screen of the target vehicle-mounted device 302, and further performing a deeper operation on additional resources such as the text information of the target lyric 306, the text information of the target song list 308, and the like, for example, performing a selection operation on other songs (such as "small songs") in the target song list 308, so that the song currently played on the display screen of the target vehicle-mounted device 302 is switched to the song "small songs".
Optionally, in this embodiment, the target media resource operated on the target vehicle-mounted device may be, but is not limited to be, understood to perform a target operation on the target media resource, and may also be, but is not limited to be, understood to perform a target operation on an additional display resource associated with the target media resource, where the target operation may include, but is not limited to be, at least one of: the method comprises the following steps of resource playing operation, resource switching operation, resource fast-forward operation, resource pausing operation, resource slow-releasing operation, resource backing operation, additional resource display operation, resource skipping operation, resource mode selection operation and the like;
by further example, for example, in the display interface 402 of the target vehicle-mounted device shown in fig. 4, a target media resource (such as song audio "what you are not aware") currently playing is displayed, and on the display interface 402, various additional display resources or virtual components associated with the target media resource are also displayed, such as additional display resources like a song name, a singer, a front cover, lyrics, a song list, and the like, and further such as multifunctional components like a collection, an accompaniment, and by performing a target operation on the above multifunctional components, it can be understood, but not limited to, that a target operation of a component corresponding type is performed on the target media resource, for example, a target operation corresponding to a collection component is a collection operation, and specifically, the target media resource is collected in the song list; the target operation corresponding to the re-accompaniment component is a K song operation, and specifically acquiring accompaniment audio corresponding to the target media resource;
the lyrics can be but are not limited to displaying the corresponding lyrics in real time in a word-by-word emphasis manner according to the playing of the lyrics; the multifunctional component can be used for executing functions such as voice song requesting, one-key playing (collection, purchased, colorful mud favorite, vehicle-mounted music radio station and the like), one-key sound effect, rhythm light and the like; the song list may be but not limited to a user collection song list established for the vehicle-mounted side user to operate collection, may be but not limited to a song collection under the name of the corresponding singer, and may also be but not limited to a recommended song list for recommending song combinations every day, and the like.
Optionally, in this embodiment, the bluetooth transmission is limited by a bluetooth transmission threshold, so that in a limited condition of the bluetooth transmission, it is limited that data with a data volume greater than the bluetooth transmission threshold cannot be successfully transmitted, for example, in the related art, a song audio resource with a smaller data volume may be transmitted through bluetooth, but additional resources such as lyrics, a song list, a cover page with a larger data volume cannot be simultaneously transmitted, for example, in the prior art, an A2DP protocol is often used for audio streaming transmission, and an AVRCP protocol is used for an in-vehicle control mobile phone APP; however, the A2DP protocol does not transmit control command data, and the AVRCP protocol specifies a control end and a controlled end, which can only implement unidirectional control from the control end to the controlled end, and the current control command only transmits a single byte each time, which has large limitation and poor expansibility, and cannot well complete bidirectional control function, and even cannot well complete bluetooth transmission of large data volume in a bidirectional control scene;
optionally, the method for controlling media resources by using the vehicle-mounted device not only supports bidirectional data transmission, but also has no constraint of unidirectional control, so that bidirectional data transmission and control are realized, command data which can be transmitted by a protocol is not limited to a single byte every time, the flexibility is high, the expandability is good, further, song audio resources with small data volume and additional resources such as lyrics, song lists, covers and the like with large data volume are integrated uniformly, in the integration processing process, the protocol unification and data volume compression operations on the resources are completed, so that first target data obtained after the integration processing meets the limitation condition of bluetooth transmission, and after the first target data successfully received by the target vehicle-mounted device through bluetooth transmission, the vehicle-mounted side analyzes and decompresses the first target data to obtain the song audio resources and the song lyrics, Additional resources such as the song list, the cover and the like are utilized, and a software processing package carried by the vehicle-mounted side is utilized to carry out data processing on the additional resources such as the song audio resource, the lyrics, the song list, the cover and the like, so that a diversified song playing interface is presented for a user at the vehicle-mounted side, and a more comprehensive controllable space is provided for the user.
Optionally, in this embodiment, before receiving the target operation request triggered on the target vehicle-mounted device, an interaction control protocol, such as a bluetooth BLE/SPP communication protocol, may be encapsulated in advance between the target terminal on the terminal side and the target vehicle-mounted device on the vehicle-mounted side, where optionally, the BLE communication protocol and the SPP communication protocol in the bluetooth BLE/SPP communication protocol may be, but are not limited to, used in various combinations, for example, the combination is determined according to a system type of the target terminal on the terminal side or the target vehicle-mounted device on the vehicle-mounted side, specifically, an understandable scenario is set forth, assuming that a system type of the target terminal on the terminal side is Android system (Android), the SPP communication protocol may be, whereas assuming that a system type of the target terminal on the terminal side is apple system (ios), a BLE communication protocol may be selected, but not limited to, IOS and Android, and its technical logic may be, but not limited to, IOS and Android) have differences in the cases of support of the BLE communication protocol and the SPP communication protocol, for example, the IOS does not support the SPP protocol by default, so the BLE protocol is considered to be adopted; while the Android supports a BLE communication protocol and an SPP communication protocol, the support of the BLE communication protocol is not particularly good, the stability and the communication speed are slightly inferior to those of the SPP communication protocol, and then the communication mode used in various combination forms between the BLE communication protocol and the SPP communication protocol is used to enhance the compatibility and facilitate the development and implementation of products, so that under the interactive control protocol, data such as requests, instructions, resources and the like are corresponding to a specific certain data format to realize real-time bidirectional communication between a terminal side and a vehicle-mounted side;
further taking the target media resource as the song audio resource as an example, the vehicle-mounted side customizes the required function buttons (such as playing song list/playing mode setting/voice song request, etc.) according to the functions supported by the control protocol. After the vehicle-mounted side is connected with the terminal side through the Bluetooth, the corresponding terminal APP is opened. When a function button of the vehicle-mounted side is pressed down, the vehicle-mounted side sends data in a corresponding format to the terminal APP according to the control protocol, and the terminal APP can execute corresponding response after being analyzed according to the protocol;
similarly, the terminal APP can also send music command data to the vehicle-mounted side in real time, and the vehicle-mounted side executes corresponding response. For example, the terminal APP sends lyric data to the vehicle-mounted side in real time according to the playing progress of the current song, and the vehicle-mounted side receives the data and can display lyrics in real time after analyzing the data according to the interactive control protocol.
In addition, by using the interactive control protocol, the terminal APP can send media resource data such as the song list/singer list/ranking list to the vehicle-mounted side for display, after the user selects the media resource to be played at the vehicle-mounted side, the vehicle-mounted side sends a command to the terminal APP, and the terminal APP executes a response and plays corresponding music. In the whole process, a user does not need to operate the target terminal, and the running is safer.
It should be noted that, the received bluetooth protocol identifier is used to perform integration processing on the target media resource with a small data amount and the additional display resource with a large data amount, so as to obtain first target data with a uniform protocol and a data amount less than or equal to the bluetooth transmission threshold, and the first target data is further transmitted to the target vehicle-mounted device through the bluetooth protocol, so that the target vehicle-mounted device can control the complex additional display resource while controlling the simple target media resource.
For further example, optionally as shown in fig. 5, assuming that the target media resource is a video resource corresponding to "video 2", when the vehicle-mounted player 506 plays "video 1", responding to a target operation of "playing a next video" to trigger a target operation request, and sending the target operation request to the target terminal 502 through bluetooth transmission, where the target operation request carries a video identifier of "video 2"; further, in a case that the target terminal 502 receives the target operation request, the first target data is obtained in response to the target operation request, wherein the first target data at least includes a video resource of "video 2" and an additional display resource (such as a subtitle, a sound quality, an image quality, etc.) of the time-frequency resource; furthermore, the target terminal 502 sends the first target data to the target in-vehicle device 504 through bluetooth transmission, so that the in-vehicle player 506 responds to the target operation to play the next video resource "video 2" of "video 1"; in addition, if in the playing process of the "video 2", a target display request is triggered in response to the display operation of "viewing the relevant content of the currently playing video", and then the target in-vehicle device 504 may, but is not limited to, respond to the target display request, find the corresponding content to be displayed in the received additional display resource, and display the content on the in-vehicle player 506, so as to meet the diversified control requirements of the user on the in-vehicle side.
According to the embodiment provided by the application, a target operation request triggered on the target vehicle-mounted device is received, wherein the target operation request carries a resource identifier and a Bluetooth protocol identifier of a target media resource required to be operated on the target vehicle-mounted device, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required to be adopted when the target terminal and the target vehicle-mounted device perform resource data transmission; responding to the target operation request, acquiring a target media resource corresponding to the resource identifier and an additional display resource required when the target media resource is operated on the target vehicle-mounted equipment, wherein the data volume of the additional display resource is greater than a Bluetooth transmission threshold value; according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data, wherein the data volume of the first target data is less than or equal to a Bluetooth transmission threshold value; the first target data are sent to the target vehicle-mounted equipment so as to execute the operation requested by the target operation request on the first target data, the target media resource with less data volume and the additional display resource with larger data volume are integrated and processed by using the Bluetooth protocol identifier so as to obtain the first target data with a unified protocol and the data volume less than or equal to the Bluetooth transmission threshold value, and the first target data are further transmitted to the target vehicle-mounted equipment through Bluetooth, so that the target vehicle-mounted equipment can control the complex additional display resource while controlling the simple target media resource, and further the technical purpose of controlling the more comprehensive media resource on the vehicle-mounted equipment is achieved, and the technical effect of improving the comprehensiveness of controlling the media resource by the vehicle-mounted equipment is achieved.
As an optional scheme, performing integration processing on the target media resource and the additional display resource according to the bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain the first target data includes:
s1, packaging the target media resource according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain first subdata matched with the communication protocol of the target vehicle-mounted equipment;
s2, packaging the additional display resource according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain second subdata matched with the communication protocol of the target vehicle-mounted equipment;
s3, the first sub-data and the second sub-data are integrated to obtain first target data.
Optionally, the encapsulation process may be, but is not limited to, hiding the attributes and implementation details of the encapsulated object, and controlling the access level of reading and modifying the attributes in the program only for external interfaces; combining abstracted data and behavior (or functionality) into an organic whole may be understood, but is not limited to, organically combining data with source code that manipulates data into "classes," where both data and functions are members of a class. In this embodiment, the encapsulation process can be understood, but not limited to, as when an application transmits data using TCP, the data is fed into a protocol stack, and then passes through each layer until fed into the network as a series of bit streams, where each layer adds some headers to the received data.
It should be noted that the encapsulation processing may be, but is not limited to, uniformly process the target media resource and the additional display resource into a data format corresponding to the bluetooth communication protocol indicated by the bluetooth protocol identifier, and may also be, but is not limited to, performing compression processing on the target media resource and the additional display resource, so that the data to be transmitted meets the limitation condition of bluetooth transmission; and/or performing integration processing on the first sub-data and the second sub-data, and performing compression processing on the first sub-data and the second sub-data, which is not limited herein. Alternatively, the compression process may be, but not limited to, a technical method of reducing the amount of data to reduce the storage space, improving the processing efficiency of the data to be processed in transmission and storage, or reorganizing the data to be processed according to a certain algorithm, reducing the redundancy and storage space of the data, such as lossy compression and lossless compression, without losing useful information of the data to be processed; in particular, in computer science and information theory, data compression or source coding is the process of representing information in fewer data bits (or other information-related elements) than uncoded according to a particular coding scheme.
According to the embodiment provided by the application, the target media resource is packaged according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, so that first subdata matched with the communication protocol of the target vehicle-mounted equipment is obtained; packaging the additional display resource according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain second subdata matched with the communication protocol of the target vehicle-mounted equipment; the first subdata and the second subdata are integrated to obtain first target data, the purpose of unifying the data format of the resource to be transmitted is achieved, and the effect of improving the data processing efficiency is achieved.
As an optional scheme, the encapsulating the additional display resource according to the bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain second sub-data matched with the communication protocol of the target vehicle-mounted device includes:
s1, acquiring a resource type identifier corresponding to the additional display resource, check data corresponding to a Bluetooth communication protocol adopted by the target vehicle-mounted equipment, and resource content of the additional display resource;
s2, according to the protocol format of the Bluetooth communication protocol indicated by the Bluetooth protocol identification, the resource type identification, the check data and the resource content are respectively encoded, and the encoded resource type identification, the encoded check data and the encoded resource content are sequenced to obtain second subdata.
Optionally, in this embodiment, the bluetooth communication protocol indicated by the bluetooth protocol identifier requires that the transmitted resources are coded and arranged according to an agreed format each time the resources are transmitted, and a resource type identifier (for example, a specific type of an additional display resource, for example, a song, the additional display resource may be subdivided into at least one of a lyric type, a cover, a type playlist type, and the like) and corresponding resource content are filled with additional verification data for verification in an agreed verification manner at a specified position, so as to form a complete resource packet;
and after receiving the resource packet, the receiver checks the resource packet according to the protocol convention (including the resource length and the accuracy), and when determining that the resource packet meets the check convention of the protocol and the resource is the correct resource, the receiver acquires the resource content and the resource type sent by the sender. And sending the resource packet with a specific format to inform the sender that the resource is received. If the verification fails, the receiver can send a resource packet with a specific format to inform the sender of receiving errors.
It should be noted that the resource type identifier corresponding to the additional display resource, the check data corresponding to the bluetooth communication protocol adopted by the target vehicle-mounted device, and the resource content of the additional display resource are acquired; and respectively encoding the resource type identifier, the check data and the resource content according to the protocol format of the Bluetooth communication protocol indicated by the Bluetooth protocol identifier, and sequencing the encoded resource type identifier, the encoded check data and the encoded resource content to obtain second subdata.
For further example, as shown in fig. 6, the optional second sub data is, for example, packed in a data format of a data packet 602 and then transmitted, where the data packet 602 includes a frame header, a data length, a data type (which may be understood as a resource type identifier), a data body (which may be understood as a resource content of an additional display resource), check data, a frame end, and the like.
According to the embodiment provided by the application, the resource type identification corresponding to the additional display resource, the check data corresponding to the Bluetooth communication protocol adopted by the target vehicle-mounted equipment and the resource content of the additional display resource are obtained; and respectively encoding the resource type identifier, the check data and the resource content according to the protocol format of the Bluetooth communication protocol indicated by the Bluetooth protocol identifier, and sequencing the encoded resource type identifier, the encoded check data and the encoded resource content to obtain second subdata, so that the purpose of processing the additional display resource according to a specific data format is achieved, and the effect of improving the processing efficiency of the additional display resource is realized.
As an optional scheme, in response to the target operation request, the target media resource corresponding to the resource identifier is acquired, and the additional display resource required when the target media resource is operated on the target vehicle-mounted device includes one of:
s1, when the target operation request is used for requesting playing or switching to the target media resource and the target media resource is an audio resource, acquiring the audio resource and audio description information matched with the audio resource, wherein the additional display resource comprises the audio description information;
and S2, when the target operation request is used for requesting playing or switching to the target media resource and the target media resource is a video resource, acquiring the video resource and video description information matched with the video resource, wherein the additional display resource comprises the video description information.
Optionally, in this embodiment, the audio resource may be, but is not limited to, a song resource, a radio resource, a voiced novel resource, a phase sound resource, and the like. The video resources may be, but are not limited to, on-demand resources, live broadcast resources, movie resources, drama resources, art-integrated resources, music filmlet resources, photo resources, shoddy resources, and the like.
It should be noted that, when the target operation request is used to request to play or switch to the target media resource, and the target media resource is an audio resource, the audio resource and audio description information matched with the audio resource are acquired, where the additional display resource includes the audio description information; and under the condition that the target operation request is used for requesting to play or switch to the target media resource and the target media resource is the video resource, acquiring the video description information matched with the video resource and the video resource, wherein the additional display resource comprises the video description information.
Further, for example, optionally, in response to a first operation request for requesting to play the first media resource, the first media resource is played in the target vehicle-mounted device; based on the above, in response to a second operation request for requesting switching to the second media resource, the resource playing in the target vehicle-mounted device is switched from the first media resource to the second media resource.
As an optional scheme, in response to the target operation request, acquiring a target media resource corresponding to the resource identifier, and an additional display resource required when the target media resource is operated on the target vehicle-mounted device include:
and under the condition that the target operation request is used for requesting to display the resource list associated with the target media resource, acquiring the resource list, wherein the additional display resource comprises the resource list.
Optionally, in this embodiment, the resource list may be used, but is not limited to, displaying one or more types of media resources in a certain agreed sequence.
It should be noted that, in a case that the target operation request is used to request to display a resource list associated with the target media resource, the resource list is acquired, where the additional display resource includes the resource list.
By further example, optionally, as shown in fig. 4 for example, the resource list may be, but is not limited to, a song list of the display interface 402, and the song list has a song title including a currently played song and song titles of other songs displayed therein, and the controlled playing of the song "rain has been" may be triggered by performing an operation on a certain song title (e.g., "rain has been" down ") of the resource list, but is not limited to.
As an optional scheme, in response to the target operation request, acquiring a target media resource corresponding to the resource identifier, and an additional display resource required when the target media resource is operated on the target vehicle-mounted device include:
and under the condition that the target operation request is used for requesting to adjust the playing mode of the target media resource to the target playing mode, acquiring vehicle-mounted control data corresponding to the target playing mode, wherein the additional display resource comprises the vehicle-mounted control data.
Optionally, in this embodiment, the vehicle-mounted control data may be, but is not limited to, used to control an interactive device in the target vehicle-mounted device, where the vehicle-mounted control data is, for example, rhythm data, drumbeat data, audio data, sound effect data, and the like of the target media resource, and the interactive device may be, but is not limited to, a device that receives the control signal to complete a corresponding operation and displays an operation result, for example, vehicle-mounted lights, vehicle-mounted air conditioners, vehicle-mounted speakers, and the like. For example, when the target sound effect data is played, the interaction device executes interaction operation corresponding to the target sound effect data, such as displaying interaction light, playing interaction sound effects, and the like.
It should be noted that, in a case that the target operation request is used to request that the play mode of the target media resource is adjusted to the target play mode, the vehicle-mounted control data corresponding to the target play mode is acquired, where the additional display resource includes the vehicle-mounted control data. Alternatively, the target play mode may be, but not limited to, a mode for turning on an interactive device for controlling the target in-vehicle device by the in-vehicle control data to perform an interactive operation.
For further example, optionally, as shown in fig. 7, in a case that the target operation request is used to request that the play mode of the target media resource is adjusted to the target play mode, the in-vehicle control data 704 corresponding to the target play mode is obtained according to the target media resource 702, where, assuming that the target media resource 702 is an audio resource, the in-vehicle control data 704 may be, but is not limited to, audio data (a curve is used for audio change, and a bold horizontal line is used for obtaining audio data that reaches an audio threshold); further, the interactive device 708 of the target vehicle-mounted device 706 is controlled according to the vehicle-mounted control data 704, wherein, assuming that the interactive device 708 is a lighting device installed outside the target vehicle-mounted device 706, the flickering of the lighting device can be controlled, but not limited to, by the acquired audio data reaching the audio threshold (i.e., the audio data corresponding to the intersection point of the curve and the bold horizontal line), for example, when the audio data reaching the audio threshold is played, the lighting device is turned on to implement lighting illumination, otherwise, when the audio data not reaching the audio threshold is played, the lighting device is turned off to implement dimming. Optionally, the control of the light may be, but is not limited to, control of the flashing, color, and brightness of the light, and is not limited herein.
In addition, optionally, based on the scenario shown in fig. 7, for example, as shown in fig. 8, when the target operation request is used to request that the play mode of the target media resource is adjusted to the target play mode, the in-vehicle control data 704 corresponding to the target play mode is obtained according to the target media resource 702, where, assuming that the target media resource 702 is an audio resource, the in-vehicle control data 704 may be, but is not limited to, audio data (a curve is used for audio change, and a bold horizontal line is used to obtain audio data that reaches an audio threshold); further, the interactive device 802 of the target vehicle-mounted device 706 is controlled according to the vehicle-mounted control data 704, wherein, assuming that the interactive device 708 is a lighting device installed in the target vehicle-mounted device 706, the flashing and dimming of the lighting device can be controlled through the acquired audio data reaching the audio threshold (i.e., the audio data corresponding to the intersection point of the curve and the bold horizontal line), for example, when the audio data reaching the audio threshold is played, the lighting device is turned on to realize lighting illumination, otherwise, when the audio data not reaching the audio threshold is played, the lighting device is turned off to realize the dimming of the lighting device, in this process, the user can also turn on the function of the karaoke, and further, the in-vehicle KTV instant visual sensation is achieved.
Through the embodiment provided by the application, the vehicle-mounted control data corresponding to the target play mode is acquired under the condition that the target operation request is used for requesting to adjust the play mode of the target media resource to the target play mode, wherein the additional display resource comprises the vehicle-mounted control data, the purpose of improving the comprehensiveness of vehicle-mounted control is achieved, and the effect of improving the user experience of the vehicle-mounted side is achieved.
As an optional scheme, before receiving a target operation request triggered on a target vehicle-mounted device, the method includes:
s1, acquiring a software development kit for operating the target media resource in the target vehicle-mounted equipment;
s2, packaging the software development kit according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain a target kit data packet;
and S3, sending the target tool data packet to the target vehicle-mounted device so that the target vehicle-mounted device installs the target tool data packet.
It should be noted that, according to the bluetooth communication protocol indicated by the bluetooth protocol identifier, a Software Development kit (SDK for short) is encapsulated into a target tool data packet, and the target tool data packet is used to provide services for both the transceiver (target terminal and target vehicle-mounted device). And the SDK can automatically complete the filling of the check data and the sending of the resource packet for the resource type and the resource content submitted by the sender. And on the receiving side, after receiving the data packet, the SDK can automatically complete resource verification, and the original resource content and the resource type are taken out and submitted to a receiving party. Therefore, after the sender and the receiver integrate the SDK, the details of resource sending and verification are not concerned, and the product development efficiency is improved.
According to the embodiment provided by the application, a software development kit for operating the target media resource in the target vehicle-mounted equipment is obtained; packaging the software development kit according to a Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain a target tool data packet; and sending the target tool data packet to the target vehicle-mounted equipment so that the target vehicle-mounted equipment installs the target tool data packet, thereby achieving the purpose of completing the efficient processing of resources by using the tool data packet and realizing the effect of improving the resource control efficiency.
As an alternative, the method comprises the following steps:
s1, receiving a first control request triggered on a target vehicle-mounted device, wherein the first control request is used for requesting control adjustment of a target media resource and/or an additional display resource on a target terminal;
s2, responding to the first control request, executing a first control adjustment operation on the target media resource and/or the additional display resource according to the first control request;
s3, in a case where the first control adjustment operation has been performed, transmitting first operation completion information to the target in-vehicle device, wherein the first operation completion information is used to prompt that the first control adjustment operation has been performed.
Optionally, in this embodiment, the target vehicle-mounted device and the target terminal may, but are not limited to, implement bidirectional control, that is, the control request generated by the target vehicle-mounted device is used for controlling the target terminal, or the control request generated by the target terminal is used for controlling the target vehicle-mounted device.
As an optional scheme, after the first target data is sent to the target vehicle-mounted device, the method includes:
s1, acquiring a second control request triggered on the target terminal, wherein the second control request is used for requesting control adjustment of a target media resource and/or an additional display resource on the target vehicle-mounted device;
s2, sending the second control request to the target vehicle-mounted equipment;
and S3, acquiring second operation completion information, wherein the second operation completion information is used for prompting that the target vehicle-mounted equipment completes second control adjustment operation on the target media resource and/or the additional display resource according to the second control request.
Optionally, in this embodiment, since the target terminal and the target vehicle-mounted device use the same bluetooth communication protocol, the target terminal and the target vehicle-mounted device may further receive and transmit the same data, so that the interaction between the two parties is kept consistent.
Optionally, in this embodiment, different object identifiers may be allocated to the target terminal and the target vehicle-mounted device, so that the target terminal and the target vehicle-mounted device each only control and respond to data matching with their own responsibilities, and thus interaction between the target terminal and the target vehicle-mounted device is inconsistent. Such as real-time lyric data and control data, may be, but not limited to, only transmitted from the target terminal to the target in-vehicle device, and responded by the target in-vehicle device. And the request for playing the accompaniment and the song-cutting command can be but is not limited to only being sent from the target vehicle-mounted equipment to the target terminal so as to request the target terminal to respond.
According to the embodiment provided by the application, a second control request triggered on the target terminal is obtained, wherein the second control request is used for requesting control adjustment of a target media resource and/or an additional display resource on the target vehicle-mounted device; sending the second control request to the target vehicle-mounted equipment; and acquiring second operation completion information, wherein the second operation completion information is used for prompting that the target vehicle-mounted equipment completes second control adjustment operation on the target media resource and/or the additional display resource according to the second control request, so that the aim of bidirectional media resource control between the target terminal and the target vehicle-mounted equipment is fulfilled, and the effect of improving the comprehensiveness of media resource control is realized.
Optionally, as an optional implementation manner, as shown in fig. 9, the method for dynamically adjusting the area includes:
s902, receiving first target data sent by a target terminal, wherein the first target data is data obtained by integrating a target media resource and an additional display resource according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, the Bluetooth protocol identifier is an identifier carried in a target operation request triggered on a target vehicle-mounted device, the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required by the target terminal and the target vehicle-mounted device when resource data transmission is carried out, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required by the target media resource when the target vehicle-mounted device is operated, the data volume of the additional display resource is greater than a Bluetooth transmission threshold, and the data volume of the first target data is less than or equal to the Bluetooth transmission threshold;
s904, the operation requested by the target operation request is executed on the first target data.
Optionally, in this embodiment, the method for controlling media resources by the vehicle-mounted device may be applied, but not limited to, in a communication scenario where a mobile phone Application (APP for short) and a car (on board) transmit files such as a song, lyrics, a song menu, a cover, an accompaniment, a playlist through bluetooth, for example, a BLE/SPP communication protocol is first used, a new interactive bidirectional control protocol is encapsulated between the mobile phone APP and the car (on board), and then, under a condition that a play operation request for a certain song is triggered on the car side, the mobile phone APP side receives the play operation request through the interactive bidirectional control protocol, and provides audio resources, lyric resources, song menu resources, and the like of the song for the car through the interactive bidirectional control protocol, so as to provide rich music play experience for a user on the car side.
Optionally, in this embodiment, the target vehicle-mounted device may be, but is not limited to, a target vehicle machine, and the target vehicle machine may be, but is not limited to, an additional device configured with at least one of the following: display, processor, memory, network card, audio, etc. The target vehicle-mounted device may also be, but is not limited to, a functional device installed in or on the target vehicle, such as a navigation device, a personal computer, etc., and is not limited herein.
Optionally, in this embodiment, the target media resource may include, but is not limited to, one or more types of media resources, for example, the target media resource is an audio resource, a video resource, a text resource, and the like;
optionally, in this embodiment, the additional display resource may also include, but is not limited to, one or more types of media resources, such as an audio resource, a video resource, a text resource, and the like, and the additional display resource may be, but is not limited to, a reference resource for introducing or supplementing additional information of the target media resource;
further, for example, the target media resource is used as an audio resource of the target song, the additional display resource is a text resource of lyrics of the target song, and an additional resource of a song slip of the target song, as shown in fig. 3, a song name of the target song 304, text information of the target lyrics 306, text information of the target song slip 308, and the like are displayed on a display screen of the target vehicle-mounted device 302. The method for controlling media resources by the vehicle-mounted device may be, but not limited to, completely checking the song name of the target song 304, the text information of the target lyric 306, the text information of the target song list 308, and the like on the display screen of the target vehicle-mounted device 302, and further performing a deeper operation on additional resources such as the text information of the target lyric 306, the text information of the target song list 308, and the like, for example, performing a selection operation on other songs (such as "small songs") in the target song list 308, so that the song currently played on the display screen of the target vehicle-mounted device 302 is switched to the song "small songs".
Optionally, in this embodiment, the target media resource operated on the target vehicle-mounted device may be, but is not limited to be, understood to perform a target operation on the target media resource, and may also be, but is not limited to be, understood to perform a target operation on an additional display resource associated with the target media resource, where the target operation may include, but is not limited to be, at least one of: the method comprises the following steps of resource playing operation, resource switching operation, resource fast-forward operation, resource pausing operation, resource slow-releasing operation, resource backing operation, additional resource display operation, resource skipping operation, resource mode selection operation and the like;
by further example, for example, in the display interface 402 of the target vehicle-mounted device shown in fig. 4, a target media resource (such as song audio "what you are not aware") currently playing is displayed, and on the display interface 402, various additional display resources or virtual components associated with the target media resource are also displayed, such as additional display resources like a song name, a singer, a front cover, lyrics, a song list, and the like, and further such as multifunctional components like a collection, an accompaniment, and by performing a target operation on the above multifunctional components, it can be understood, but not limited to, that a target operation of a component corresponding type is performed on the target media resource, for example, a target operation corresponding to a collection component is a collection operation, and specifically, the target media resource is collected in the song list; the target operation corresponding to the re-accompaniment component is a K song operation, and specifically acquiring accompaniment audio corresponding to the target media resource;
the lyrics can be but are not limited to displaying the corresponding lyrics in real time in a word-by-word emphasis manner according to the playing of the lyrics; the multifunctional component can be used for executing functions such as voice song requesting, one-key playing (collection, purchased, colorful mud favorite, vehicle-mounted music radio station and the like), one-key sound effect, rhythm light and the like; the song list may be but not limited to a user collection song list established for the vehicle-mounted side user to operate collection, may be but not limited to a song collection under the name of the corresponding singer, and may also be but not limited to a recommended song list for recommending song combinations every day, and the like.
Optionally, in this embodiment, the bluetooth transmission is limited by a bluetooth transmission threshold, so that in a limited condition of the bluetooth transmission, it is limited that data with a data volume greater than the bluetooth transmission threshold cannot be successfully transmitted, for example, in the related art, a song audio resource with a smaller data volume may be transmitted through bluetooth, but additional resources such as lyrics, a song list, a cover page with a larger data volume cannot be simultaneously transmitted, for example, in the prior art, an A2DP protocol is often used for audio streaming transmission, and an AVRCP protocol is used for an in-vehicle control mobile phone APP; however, the A2DP protocol does not transmit control command data, and the AVRCP protocol specifies a control end and a controlled end, which can only implement unidirectional control from the control end to the controlled end, and the current control command only transmits a single byte each time, which has large limitation and poor expansibility, and cannot well complete bidirectional control function, and even cannot well complete bluetooth transmission of large data volume in a bidirectional control scene;
optionally, the method for controlling media resources by using the vehicle-mounted device not only supports bidirectional data transmission, but also has no constraint of unidirectional control, so that bidirectional data transmission and control are realized, command data which can be transmitted by a protocol is not limited to a single byte every time, the flexibility is high, the expandability is good, further, song audio resources with small data volume and additional resources such as lyrics, song lists, covers and the like with large data volume are integrated uniformly, in the integration processing process, the protocol unification and data volume compression operations on the resources are completed, so that first target data obtained after the integration processing meets the limitation condition of bluetooth transmission, and after the first target data successfully received by the target vehicle-mounted device through bluetooth transmission, the vehicle-mounted side analyzes and decompresses the first target data to obtain the song audio resources and the song lyrics, Additional resources such as the song list, the cover and the like are utilized, and a software processing package carried by the vehicle-mounted side is utilized to carry out data processing on the additional resources such as the song audio resource, the lyrics, the song list, the cover and the like, so that a diversified song playing interface is presented for a user at the vehicle-mounted side, and a more comprehensive controllable space is provided for the user.
Optionally, in this embodiment, before receiving the target operation request triggered on the target vehicle-mounted device, an interaction control protocol, such as a bluetooth BLE/SPP communication protocol, may be encapsulated in advance between the target terminal on the terminal side and the target vehicle-mounted device on the vehicle-mounted side, where optionally, the BLE communication protocol and the SPP communication protocol in the bluetooth BLE/SPP communication protocol may be, but are not limited to, used in various combinations, for example, the combination is determined according to a system type of the target terminal on the terminal side or the target vehicle-mounted device on the vehicle-mounted side, specifically, an understandable scenario is set forth, assuming that a system type of the target terminal on the terminal side is Android system (Android), the SPP communication protocol may be, whereas assuming that a system type of the target terminal on the terminal side is apple system (ios), a BLE communication protocol may be selected, but not limited to, IOS and Android, and its technical logic may be, but not limited to, IOS and Android) have differences in the cases of support of the BLE communication protocol and the SPP communication protocol, for example, the IOS does not support the SPP protocol by default, so the BLE protocol is considered to be adopted; while the Android supports a BLE communication protocol and an SPP communication protocol, the support of the BLE communication protocol is not particularly good, the stability and the communication speed are slightly inferior to those of the SPP communication protocol, and then the communication mode used in various combination forms between the BLE communication protocol and the SPP communication protocol is used to enhance the compatibility and facilitate the development and implementation of products, so that under the interactive control protocol, data such as requests, instructions, resources and the like are corresponding to a specific certain data format to realize real-time bidirectional communication between a terminal side and a vehicle-mounted side;
further taking the target media resource as the song audio resource as an example, the vehicle-mounted side customizes the required function buttons (such as playing song list/playing mode setting/voice song request, etc.) according to the functions supported by the control protocol. After the vehicle-mounted side is connected with the terminal side through the Bluetooth, the corresponding terminal APP is opened. When a function button of the vehicle-mounted side is pressed down, the vehicle-mounted side sends data in a corresponding format to the terminal APP according to the control protocol, and the terminal APP can execute corresponding response after being analyzed according to the protocol;
similarly, the terminal APP can also send music command data to the vehicle-mounted side in real time, and the vehicle-mounted side executes corresponding response. For example, the terminal APP sends lyric data to the vehicle-mounted side in real time according to the playing progress of the current song, and the vehicle-mounted side receives the data and can display lyrics in real time after analyzing the data according to the interactive control protocol.
In addition, by using the interactive control protocol, the terminal APP can send media resource data such as the song list/singer list/ranking list to the vehicle-mounted side for display, after the user selects the media resource to be played at the vehicle-mounted side, the vehicle-mounted side sends a command to the terminal APP, and the terminal APP executes a response and plays corresponding music. In the whole process, a user does not need to operate the target terminal, and the running is safer.
It should be noted that, the received bluetooth protocol identifier is used to perform integration processing on the target media resource with a small data amount and the additional display resource with a large data amount, so as to obtain first target data with a uniform protocol and a data amount less than or equal to the bluetooth transmission threshold, and the first target data is further transmitted to the target vehicle-mounted device through the bluetooth protocol, so that the target vehicle-mounted device can control the complex additional display resource while controlling the simple target media resource.
For further example, optionally as shown in fig. 5, assuming that the target media resource is a video resource corresponding to "video 2", when the vehicle-mounted player 506 plays "video 1", responding to a target operation of "playing a next video" to trigger a target operation request, and sending the target operation request to the target terminal 502 through bluetooth transmission, where the target operation request carries a video identifier of "video 2"; further, in a case that the target terminal 502 receives the target operation request, the first target data is obtained in response to the target operation request, wherein the first target data at least includes a video resource of "video 2" and an additional display resource (such as a subtitle, a sound quality, an image quality, etc.) of the time-frequency resource; furthermore, the target terminal 502 sends the first target data to the target in-vehicle device 504 through bluetooth transmission, so that the in-vehicle player 506 responds to the target operation to play the next video resource "video 2" of "video 1"; in addition, if in the playing process of the "video 2", a target display request is triggered in response to the display operation of "viewing the relevant content of the currently playing video", and then the target in-vehicle device 504 may, but is not limited to, respond to the target display request, find the corresponding content to be displayed in the received additional display resource, and display the content on the in-vehicle player 506, so as to meet the diversified control requirements of the user on the in-vehicle side.
According to the embodiment provided by the application, first target data sent by a target terminal is received, wherein the first target data is data obtained after integrating a target media resource and an additional display resource according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, the Bluetooth protocol identifier is an identifier carried in a target operation request triggered on a target vehicle-mounted device, the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required by the target terminal and the target vehicle-mounted device when the target terminal and the target vehicle-mounted device perform resource data transmission, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required by the target media resource when the target vehicle-mounted device is operated, the data volume of the additional display resource is greater than a Bluetooth transmission threshold, and the data volume of the first target data is less than or equal to the Bluetooth transmission threshold; the method comprises the steps of executing operation requested by a target operation request on first target data, integrating and processing target media resources with small data volume and additional display resources with large data volume by using Bluetooth protocol identification to obtain first target data with a unified protocol and the data volume being less than or equal to a Bluetooth transmission threshold, and further transmitting the first target data to target vehicle-mounted equipment through Bluetooth, so that the target vehicle-mounted equipment can control the complex additional display resources while controlling the simple target media resources, the technical purpose of controlling more comprehensive media resources on the vehicle-mounted equipment is achieved, and the technical effect of improving the comprehensiveness of the vehicle-mounted equipment in controlling the media resources is achieved.
As an alternative, the performing the operation requested by the target operation request on the first target data to obtain the target media resource and the additional display resource includes:
s1, splitting the first target data to obtain first subdata and second subdata;
s2, decapsulating the first subdata according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain a target media resource;
and S3, unpacking the second subdata according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain the additional display resource.
It should be noted that, the first target data is split to obtain first sub data and second sub data; decapsulating the first subdata according to a Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain a target media resource; and decapsulating the second subdata according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain the additional display resource.
According to the embodiment provided by the application, the first target data is split to obtain the first subdata and the second subdata; decapsulating the first subdata according to a Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain a target media resource; and de-encapsulating the second subdata according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain the additional display resource, so that the purpose of unifying the data format of the resource to be transmitted is achieved, and the effect of improving the data processing efficiency is realized.
As an optional scheme, decapsulating the second sub-data according to a bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain an additional display resource, including:
s1, determining the resource type identifier to be decoded, the check data to be decoded and the corresponding sorting position of the resource content to be decoded in the second subdata according to the protocol format of the Bluetooth communication protocol indicated by the Bluetooth protocol identifier, and according to the sorting position, determining the resource type identifier to be decoded, the check data to be decoded and the resource content to be decoded; carrying out decoding processing;
and S2, determining the decoded resource type identifier, the decoded check data and the decoded resource content as second sub-data.
Optionally, in this embodiment, the bluetooth communication protocol indicated by the bluetooth protocol identifier requires that the transmitted resources are coded and arranged according to an agreed format each time the resources are transmitted, and a resource type identifier (for example, a specific type of an additional display resource, for example, a song, the additional display resource may be subdivided into at least one of a lyric type, a cover, a type playlist type, and the like) and corresponding resource content are filled with additional verification data for verification in an agreed verification manner at a specified position, so as to form a complete resource packet;
and after receiving the resource packet, the receiver checks the resource packet according to the protocol convention (including the resource length and the accuracy), and when determining that the resource packet meets the check convention of the protocol and the resource is the correct resource, the receiver acquires the resource content and the resource type sent by the sender. And sending the resource packet with a specific format to inform the sender that the resource is received. If the verification fails, the receiver can send a resource packet with a specific format to inform the sender of receiving errors.
For further illustration, as shown in fig. 6, the optional second sub data may obtain a frame header, a data length, a data type (which may be understood as a resource type identifier), a data body (which may be understood as a resource content of an additional display resource), check data, a frame end, and the like by decoding the data packet 602.
It should be noted that, according to the protocol format of the bluetooth communication protocol indicated by the bluetooth protocol identifier, the resource type identifier to be decoded, the check data to be decoded, and the sorting position of the resource content to be decoded in the second sub-data are determined, and according to the sorting position, the resource type identifier to be decoded, the check data to be decoded, and the resource content to be decoded are determined; carrying out decoding processing; and determining the decoded resource type identifier, the decoded check data and the decoded resource content as second subdata.
According to the embodiment provided by the application, it needs to be noted that according to the protocol format of the bluetooth communication protocol indicated by the bluetooth protocol identifier, the resource type identifier to be decoded, the check data to be decoded, and the sequencing position of the resource content to be decoded in the second subdata are determined, and according to the sequencing position, the resource type identifier to be decoded, the check data to be decoded, and the resource content to be decoded; carrying out decoding processing; the decoded resource type identifier, the decoded check data and the decoded resource content are determined as second subdata, so that the purpose of processing the additional display resource according to a specific data format is achieved, and the effect of improving the processing efficiency of the additional display resource is achieved.
As an alternative, the operation requested by the target operation request to be performed on the first target data includes one of:
s1, when the target operation request is used to request playing or switching to the target media resource, and the target media resource is an audio resource, the playing or switching requested by the target operation request is executed to the audio resource and the audio description information matched with the audio resource, wherein the additional display resource includes the audio description information;
and S2, when the target operation request is used for requesting playing or switching to the target media resource and the target media resource is a video resource, executing playing or switching requested by the target operation request on the video resource and video description information matched with the video resource, wherein the additional display resource comprises the video description information.
Optionally, in this embodiment, the audio resource may be, but is not limited to, a song resource, a radio resource, a voiced novel resource, a phase sound resource, and the like. The video resources may be, but are not limited to, on-demand resources, live broadcast resources, movie resources, drama resources, art-integrated resources, music filmlet resources, photo resources, shoddy resources, and the like.
It should be noted that, when the target operation request is used to request to play or switch to the target media resource, and the target media resource is an audio resource, the playing or switching requested by the target operation request is performed on the audio resource and the audio description information matched with the audio resource, where the additional display resource includes the audio description information; and under the condition that the target operation request is used for requesting to play or switch to the target media resource and the target media resource is the video resource, executing the playing or switching requested by the target operation request on the video resource and the video description information matched with the video resource, wherein the additional display resource comprises the video description information.
As an alternative, the operation requested by the target operation request to be performed on the first target data includes one of:
and in the case that the target operation request is used for requesting to display a resource list associated with the target media resource, executing the display operation requested by the target operation request on the resource list, wherein the additional display resource comprises the resource list.
Optionally, in this embodiment, the resource list may be used, but is not limited to, displaying one or more types of media resources in a certain agreed sequence.
It should be noted that, in the case that the target operation request is used to request to display a resource list associated with the target media resource, the display operation requested by the target operation request is executed on the resource list, where the additional display resource includes the resource list.
By further example, optionally, as shown in fig. 4 for example, the resource list may be, but is not limited to, a song list of the display interface 402, and the song list has a song title including a currently played song and song titles of other songs displayed therein, and the controlled playing of the song "rain has been" may be triggered by performing an operation on a certain song title (e.g., "rain has been" down ") of the resource list, but is not limited to.
As an alternative, the operation requested by the target operation request to be performed on the first target data includes one of:
and under the condition that the target operation request is used for requesting to adjust the playing mode of the target media resource to the target playing mode, executing the adjustment operation requested by the target operation request on the vehicle-mounted control data corresponding to the target playing mode, wherein the additional display resource comprises the vehicle-mounted control data.
Optionally, in this embodiment, the vehicle-mounted control data may be, but is not limited to, used to control an interactive device in the target vehicle-mounted device, where the vehicle-mounted control data is, for example, rhythm data, drumbeat data, audio data, sound effect data, and the like of the target media resource, and the interactive device may be, but is not limited to, a device that receives the control signal to complete a corresponding operation and displays an operation result, for example, vehicle-mounted lights, vehicle-mounted air conditioners, vehicle-mounted speakers, and the like. For example, when the target sound effect data is played, the interaction device executes interaction operation corresponding to the target sound effect data, such as displaying interaction light, playing interaction sound effects, and the like.
It should be noted that, in the case that the target operation request is used to request to adjust the play mode of the target media resource to the target play mode, the adjustment operation requested by the target operation request is executed on the vehicle-mounted control data corresponding to the target play mode, where the additional display resource includes the vehicle-mounted control data.
For further example, optionally, as shown in fig. 7, in a case that the target operation request is used to request that the play mode of the target media resource is adjusted to the target play mode, the in-vehicle control data 704 corresponding to the target play mode is obtained according to the target media resource 702, where, assuming that the target media resource 702 is an audio resource, the in-vehicle control data 704 may be, but is not limited to, audio data (a curve is used for audio change, and a bold horizontal line is used for obtaining audio data that reaches an audio threshold); further, the interactive device 708 of the target vehicle-mounted device 706 is controlled according to the vehicle-mounted control data 704, wherein, assuming that the interactive device 708 is a lighting device installed outside the target vehicle-mounted device 706, the flickering of the lighting device can be controlled, but not limited to, by the acquired audio data reaching the audio threshold (i.e., the audio data corresponding to the intersection point of the curve and the bold horizontal line), for example, when the audio data reaching the audio threshold is played, the lighting device is turned on to implement lighting illumination, otherwise, when the audio data not reaching the audio threshold is played, the lighting device is turned off to implement dimming. Optionally, the control of the light may be, but is not limited to, control of the flashing, color, and brightness of the light, and is not limited herein.
In addition, optionally, based on the scenario shown in fig. 7, for example, as shown in fig. 8, when the target operation request is used to request that the play mode of the target media resource is adjusted to the target play mode, the in-vehicle control data 704 corresponding to the target play mode is obtained according to the target media resource 702, where, assuming that the target media resource 702 is an audio resource, the in-vehicle control data 704 may be, but is not limited to, audio data (a curve is used for audio change, and a bold horizontal line is used to obtain audio data that reaches an audio threshold); further, the interactive device 802 of the target vehicle-mounted device 706 is controlled according to the vehicle-mounted control data 704, wherein, assuming that the interactive device 708 is a lighting device installed in the target vehicle-mounted device 706, the flashing and dimming of the lighting device can be controlled through the acquired audio data reaching the audio threshold (i.e., the audio data corresponding to the intersection point of the curve and the bold horizontal line), for example, when the audio data reaching the audio threshold is played, the lighting device is turned on to realize lighting illumination, otherwise, when the audio data not reaching the audio threshold is played, the lighting device is turned off to realize the dimming of the lighting device, in this process, the user can also turn on the function of the karaoke, and further, the in-vehicle KTV instant visual sensation is achieved.
According to the embodiment provided by the application, under the condition that the target operation request is used for requesting to adjust the play mode of the target media resource to the target play mode, the adjustment operation requested by the target operation request is executed on the vehicle-mounted control data corresponding to the target play mode, wherein the additional display resource comprises the vehicle-mounted control data, the purpose of improving the comprehensiveness of vehicle-mounted control is achieved, and the effect of improving the user experience of the vehicle-mounted side is achieved.
As an optional scheme, before receiving the first target data sent by the target terminal, the method includes:
s1, receiving a target tool data packet sent by a target terminal, wherein the target tool data packet is obtained by packaging a software development tool packet according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, and the software development tool packet is used for operating target media resources in target vehicle-mounted equipment;
and S2, installing the target tool data packet.
It should be noted that, a software Development kit (SDK for short) is encapsulated into a target tool data package according to a bluetooth communication protocol indicated by the bluetooth protocol identifier, and a service is provided for both the transceiver (target terminal and target vehicle-mounted device) by using the target tool data package. And the SDK can automatically complete the filling of the check data and the sending of the resource packet for the resource type and the resource content submitted by the sender. And on the receiving side, after receiving the data packet, the SDK can automatically complete resource verification, and the original resource content and the resource type are taken out and submitted to a receiving party. Therefore, after the sender and the receiver integrate the SDK, the details of resource sending and verification are not concerned, and the product development efficiency is improved.
According to the embodiment provided by the application, a target tool data packet sent by a target terminal is received, wherein the target tool data packet is obtained by packaging a software development tool packet according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, and the software development tool packet is used for operating a target media resource in target vehicle-mounted equipment; and the target tool data packet is installed, so that the purpose of efficiently processing resources by using the tool data packet is achieved, and the effect of improving the resource control efficiency is realized.
As an optional scheme, before receiving the first target data sent by the target terminal, the method includes:
s1, acquiring a first control request triggered on the target vehicle-mounted device, wherein the first control request is used for requesting control adjustment of a target media resource and/or an additional display resource on the target vehicle-mounted device;
s2, sending the first control request to the target terminal;
s3, obtaining an operation completion message, wherein the operation completion message is used to prompt the target terminal to complete a control adjustment operation for the target media resource and/or the additional display resource according to a control request.
Optionally, in this embodiment, the target vehicle-mounted device and the target terminal may, but are not limited to, implement bidirectional control, that is, the control request generated by the target vehicle-mounted device is used for controlling the target terminal, or the control request generated by the target terminal is used for controlling the target vehicle-mounted device.
As an optional scheme, before receiving the first target data sent by the target terminal, the method includes:
s1, receiving a second control request triggered on the target terminal, wherein the second control request is used for requesting control adjustment of the target media resource and/or the additional display resource on the target vehicle-mounted device;
s2, responding to the second control request, executing second control adjustment operation on the target media resource and/or the additional display resource;
s3, in case that the second control adjustment operation has been performed, sending a second operation completion message to the target terminal, wherein the second operation completion message is used to prompt that the control adjustment operation has been performed.
Optionally, in this embodiment, since the target terminal and the target vehicle-mounted device use the same bluetooth communication protocol, the target terminal and the target vehicle-mounted device may further receive and transmit the same data, so that the interaction between the two parties is kept consistent.
Optionally, in this embodiment, different object identifiers may be allocated to the target terminal and the target vehicle-mounted device, so that the target terminal and the target vehicle-mounted device each only control and respond to data matching with their own responsibilities, and thus interaction between the target terminal and the target vehicle-mounted device is inconsistent. Such as real-time lyric data and control data, may be, but not limited to, only transmitted from the target terminal to the target in-vehicle device, and responded by the target in-vehicle device. And the request for playing the accompaniment and the song-cutting command can be but is not limited to only being sent from the target vehicle-mounted equipment to the target terminal so as to request the target terminal to respond.
According to the embodiment provided by the application, a second control request triggered on the target terminal is received, wherein the second control request is used for requesting control adjustment of a target media resource and/or an additional display resource on the target vehicle-mounted device; responding to the second control request, and executing control adjustment operation on the target media resource and/or the additional display resource; and under the condition that the control adjustment operation is completed, sending operation completion information to the target terminal, wherein the operation completion information is used for prompting that the control adjustment operation is completed, so that the aim of bidirectional media resource control between the target terminal and the target vehicle-mounted equipment is fulfilled, and the effect of improving the comprehensiveness of the media resource control is realized.
As an optional scheme, for convenience of understanding, a data interaction process between the target terminal and the target vehicle-mounted device is described by taking fig. 10 as an example, and the specific steps are as follows:
step S1002, through a Bluetooth protocol, the target vehicle-mounted device 1002 sends a triggered target operation request to a target terminal 1004, wherein the target operation request at least carries a resource identifier;
step S1004, in a case that the target operation request is received, the target terminal 1004 forwards the resource identifier to the media resource cloud 1006, so that the media resource cloud 1006 searches for a target media resource corresponding to the resource identifier and an additional display resource associated with the target media resource;
step S1006, the media resource cloud 1006 returns the target media resource and the additional display resource to the target terminal 1004;
step S1008, the target terminal 1004 performs integration processing on the target media resource and the additional display resource to obtain first target data;
step S1010, the target terminal 1004 sends the first target data to the target vehicle-mounted equipment 1002 through a Bluetooth protocol;
step S1012, the target in-vehicle device 1002 performs an analysis operation on the received first target data to complete a response to the target operation request;
in step S1014, a prompt message is sent to the target terminal 1004 to prompt the target terminal 1004 that the target operation request has been responded to.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the invention, a device for controlling the media resource by the vehicle-mounted equipment is also provided, wherein the device is used for implementing the method for controlling the media resource by the vehicle-mounted equipment. As shown in fig. 11, the apparatus includes:
a first receiving unit 1102, configured to receive a target operation request triggered on a target vehicle-mounted device, where the target operation request carries a resource identifier and a bluetooth protocol identifier of a target media resource requested to be operated on the target vehicle-mounted device, and the bluetooth protocol identifier is used to indicate a bluetooth communication protocol that is required to be used when a target terminal and the target vehicle-mounted device perform resource data transmission;
a first response unit 1104, configured to respond to the target operation request, obtain a target media resource corresponding to the resource identifier, and an additional display resource required when the target media resource is operated on the target vehicle-mounted device, where a data amount of the additional display resource is greater than a bluetooth transmission threshold;
an integrating unit 1106, configured to perform integration processing on the target media resource and the additional display resource according to the bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain first target data, where a data amount of the first target data is less than or equal to a bluetooth transmission threshold;
a first sending unit 1108, configured to send the first target data to the target vehicle-mounted device, so as to execute, at the target vehicle-mounted device, the operation requested by the target operation request on the first target data.
Optionally, in this embodiment, the apparatus for controlling media resources by a vehicle-mounted device may be but not limited to be applied in a communication scenario where a mobile Application (APP) and a vehicle-mounted device (vehicle) transmit files such as a song, lyrics, a song menu, a cover, an accompaniment, a playlist through bluetooth, for example, a BLE/SPP communication protocol is first used, a new interactive bidirectional control protocol is encapsulated between the mobile APP and the vehicle-mounted device, and then, when a play operation request for a certain song is triggered on the vehicle-mounted device side, the mobile APP side receives the play operation request through the interactive bidirectional control protocol, and provides audio resources, lyric resources, song menu resources, and the like of the song for the vehicle-mounted device through the interactive bidirectional control protocol, so as to provide rich music play experience for a user on the vehicle-mounted device side.
Optionally, in this embodiment, the target vehicle-mounted device may be, but is not limited to, a target vehicle machine, and the target vehicle machine may be, but is not limited to, an additional device configured with at least one of the following: display, processor, memory, network card, audio, etc. The target vehicle-mounted device may also be, but is not limited to, a functional device installed in or on the target vehicle, such as a navigation device, a personal computer, etc., and is not limited herein.
Optionally, in this embodiment, the target media resource may include, but is not limited to, one or more types of media resources, for example, the target media resource is an audio resource, a video resource, a text resource, and the like;
optionally, in this embodiment, the additional display resource may also include, but is not limited to, one or more types of media resources, such as an audio resource, a video resource, a text resource, and the like, and the additional display resource may be, but is not limited to, a reference resource for introducing or supplementing additional information of the target media resource;
further, for example, the target media resource is used as an audio resource of the target song, the additional display resource is a text resource of lyrics of the target song, and an additional resource of a song slip of the target song, as shown in fig. 3, a song name of the target song 304, text information of the target lyrics 306, text information of the target song slip 308, and the like are displayed on a display screen of the target vehicle-mounted device 302. The device for controlling media resources through the vehicle-mounted device may, but is not limited to, view the song name of the target song 304, the text information of the target lyric 306, the text information of the target song list 308, and the like, on the display screen of the target vehicle-mounted device 302, and further perform a deeper operation on additional resources such as the text information of the target lyric 306, the text information of the target song list 308, and the like, for example, perform a selection operation on other songs (such as "small songs") in the target song list 308, so that the song currently played on the display screen of the target vehicle-mounted device 302 is switched to the song "small songs".
Optionally, in this embodiment, the target media resource operated on the target vehicle-mounted device may be, but is not limited to be, understood to perform a target operation on the target media resource, and may also be, but is not limited to be, understood to perform a target operation on an additional display resource associated with the target media resource, where the target operation may include, but is not limited to be, at least one of: the method comprises the following steps of resource playing operation, resource switching operation, resource fast-forward operation, resource pausing operation, resource slow-releasing operation, resource backing operation, additional resource display operation, resource skipping operation, resource mode selection operation and the like;
by further example, for example, in the display interface 402 of the target vehicle-mounted device shown in fig. 4, a target media resource (such as song audio "what you are not aware") currently playing is displayed, and on the display interface 402, various additional display resources or virtual components associated with the target media resource are also displayed, such as additional display resources like a song name, a singer, a front cover, lyrics, a song list, and the like, and further such as multifunctional components like a collection, an accompaniment, and by performing a target operation on the above multifunctional components, it can be understood, but not limited to, that a target operation of a component corresponding type is performed on the target media resource, for example, a target operation corresponding to a collection component is a collection operation, and specifically, the target media resource is collected in the song list; the target operation corresponding to the re-accompaniment component is a K song operation, and specifically acquiring accompaniment audio corresponding to the target media resource;
the lyrics can be but are not limited to displaying the corresponding lyrics in real time in a word-by-word emphasis manner according to the playing of the lyrics; the multifunctional component can be used for executing functions such as voice song requesting, one-key playing (collection, purchased, colorful mud favorite, vehicle-mounted music radio station and the like), one-key sound effect, rhythm light and the like; the song list may be but not limited to a user collection song list established for the vehicle-mounted side user to operate collection, may be but not limited to a song collection under the name of the corresponding singer, and may also be but not limited to a recommended song list for recommending song combinations every day, and the like.
Optionally, in this embodiment, the bluetooth transmission is limited by a bluetooth transmission threshold, so that in a limited condition of the bluetooth transmission, it is limited that data with a data volume greater than the bluetooth transmission threshold cannot be successfully transmitted, for example, in the related art, a song audio resource with a smaller data volume may be transmitted through bluetooth, but additional resources such as lyrics, a song list, a cover page with a larger data volume cannot be simultaneously transmitted, for example, in the prior art, an A2DP protocol is often used for audio streaming transmission, and an AVRCP protocol is used for an in-vehicle control mobile phone APP; however, the A2DP protocol does not transmit control command data, and the AVRCP protocol specifies a control end and a controlled end, which can only implement unidirectional control from the control end to the controlled end, and the current control command only transmits a single byte each time, which has large limitation and poor expansibility, and cannot well complete bidirectional control function, and even cannot well complete bluetooth transmission of large data volume in a bidirectional control scene;
optionally, the method for controlling media resources by using the vehicle-mounted device not only supports bidirectional data transmission, but also has no constraint of unidirectional control, so that bidirectional data transmission and control are realized, command data which can be transmitted by a protocol is not limited to a single byte every time, the flexibility is high, the expandability is good, further, song audio resources with small data volume and additional resources such as lyrics, song lists, covers and the like with large data volume are integrated uniformly, in the integration processing process, the protocol unification and data volume compression operations on the resources are completed, so that first target data obtained after the integration processing meets the limitation condition of bluetooth transmission, and after the first target data successfully received by the target vehicle-mounted device through bluetooth transmission, the vehicle-mounted side analyzes and decompresses the first target data to obtain the song audio resources and the song lyrics, Additional resources such as the song list, the cover and the like are utilized, and a software processing package carried by the vehicle-mounted side is utilized to carry out data processing on the additional resources such as the song audio resource, the lyrics, the song list, the cover and the like, so that a diversified song playing interface is presented for a user at the vehicle-mounted side, and a more comprehensive controllable space is provided for the user.
Optionally, in this embodiment, before receiving the target operation request triggered on the target vehicle-mounted device, an interaction control protocol, such as a bluetooth BLE/SPP communication protocol, may be encapsulated in advance between the target terminal on the terminal side and the target vehicle-mounted device on the vehicle-mounted side, where optionally, the BLE communication protocol and the SPP communication protocol in the bluetooth BLE/SPP communication protocol may be, but are not limited to, used in various combinations, for example, the combination is determined according to a system type of the target terminal on the terminal side or the target vehicle-mounted device on the vehicle-mounted side, specifically, an understandable scenario is set forth, assuming that a system type of the target terminal on the terminal side is Android system (Android), the SPP communication protocol may be, whereas assuming that a system type of the target terminal on the terminal side is apple system (ios), a BLE communication protocol may be selected, but not limited to, IOS and Android, and its technical logic may be, but not limited to, IOS and Android) have differences in the cases of support of the BLE communication protocol and the SPP communication protocol, for example, the IOS does not support the SPP protocol by default, so the BLE protocol is considered to be adopted; while the Android supports a BLE communication protocol and an SPP communication protocol, the support of the BLE communication protocol is not particularly good, the stability and the communication speed are slightly inferior to those of the SPP communication protocol, and then the communication mode used in various combination forms between the BLE communication protocol and the SPP communication protocol is used to enhance the compatibility and facilitate the development and implementation of products, so that under the interactive control protocol, data such as requests, instructions, resources and the like are corresponding to a specific certain data format to realize real-time bidirectional communication between a terminal side and a vehicle-mounted side;
further taking the target media resource as the song audio resource as an example, the vehicle-mounted side customizes the required function buttons (such as playing song list/playing mode setting/voice song request, etc.) according to the functions supported by the control protocol. After the vehicle-mounted side is connected with the terminal side through the Bluetooth, the corresponding terminal APP is opened. When a function button of the vehicle-mounted side is pressed down, the vehicle-mounted side sends data in a corresponding format to the terminal APP according to the control protocol, and the terminal APP can execute corresponding response after being analyzed according to the protocol;
similarly, the terminal APP can also send music command data to the vehicle-mounted side in real time, and the vehicle-mounted side executes corresponding response. For example, the terminal APP sends lyric data to the vehicle-mounted side in real time according to the playing progress of the current song, and the vehicle-mounted side receives the data and can display lyrics in real time after analyzing the data according to the interactive control protocol.
In addition, by using the interactive control protocol, the terminal APP can send media resource data such as the song list/singer list/ranking list to the vehicle-mounted side for display, after the user selects the media resource to be played at the vehicle-mounted side, the vehicle-mounted side sends a command to the terminal APP, and the terminal APP executes a response and plays corresponding music. In the whole process, a user does not need to operate the target terminal, and the running is safer.
It should be noted that, the received bluetooth protocol identifier is used to perform integration processing on the target media resource with a small data amount and the additional display resource with a large data amount, so as to obtain first target data with a uniform protocol and a data amount less than or equal to the bluetooth transmission threshold, and the first target data is further transmitted to the target vehicle-mounted device through the bluetooth protocol, so that the target vehicle-mounted device can control the complex additional display resource while controlling the simple target media resource.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
According to the embodiment provided by the application, a target operation request triggered on the target vehicle-mounted device is received, wherein the target operation request carries a resource identifier and a Bluetooth protocol identifier of a target media resource required to be operated on the target vehicle-mounted device, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required to be adopted when the target terminal and the target vehicle-mounted device perform resource data transmission; responding to the target operation request, acquiring a target media resource corresponding to the resource identifier and an additional display resource required when the target media resource is operated on the target vehicle-mounted equipment, wherein the data volume of the additional display resource is greater than a Bluetooth transmission threshold value; according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data, wherein the data volume of the first target data is less than or equal to a Bluetooth transmission threshold value; the first target data are sent to the target vehicle-mounted equipment so as to execute the operation requested by the target operation request on the first target data, the target media resource with less data volume and the additional display resource with larger data volume are integrated and processed by using the Bluetooth protocol identifier so as to obtain the first target data with a unified protocol and the data volume less than or equal to the Bluetooth transmission threshold value, and the first target data are further transmitted to the target vehicle-mounted equipment through Bluetooth, so that the target vehicle-mounted equipment can control the complex additional display resource while controlling the simple target media resource, and further the technical purpose of controlling the more comprehensive media resource on the vehicle-mounted equipment is achieved, and the technical effect of improving the comprehensiveness of controlling the media resource by the vehicle-mounted equipment is achieved.
As an alternative, the integration unit 1106 includes:
the first packaging module is used for packaging the target media resource according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification so as to obtain first subdata matched with the communication protocol of the target vehicle-mounted equipment;
the second packaging module is used for packaging the additional display resource according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification so as to obtain second subdata matched with the communication protocol of the target vehicle-mounted equipment;
and the integration module is used for integrating the first subdata and the second subdata to obtain first target data.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
As an alternative, the second package module includes:
the first obtaining submodule is used for obtaining a resource type identifier corresponding to the additional display resource, check data corresponding to a Bluetooth communication protocol adopted by the target vehicle-mounted equipment and resource content of the additional display resource;
and the coding submodule is used for respectively coding the resource type identifier, the check data and the resource content according to the protocol format of the Bluetooth communication protocol indicated by the Bluetooth protocol identifier, and sequencing the coded resource type identifier, the coded check data and the coded resource content to obtain second subdata.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
As an alternative, the first response unit 1104 includes one of:
the first acquisition module is used for acquiring audio resources and audio description information matched with the audio resources under the condition that the target operation request is used for requesting to play or switch to the target media resources and the target media resources are audio resources, wherein the additional display resources comprise the audio description information;
and the second acquisition module is used for acquiring the video resources and video description information matched with the video resources under the condition that the target operation request is used for requesting to play or switch to the target media resources and the target media resources are the video resources, wherein the additional display resources comprise the video description information.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
As an alternative, the first response unit 1104 includes:
and the third acquisition module is used for acquiring the resource list under the condition that the target operation request is used for requesting to display the resource list associated with the target media resource, wherein the additional display resource comprises the resource list.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
As an alternative, the first response unit 1104 includes:
and the fourth obtaining module is used for obtaining the vehicle-mounted control data corresponding to the target playing mode under the condition that the target operation request is used for requesting to adjust the playing mode of the target media resource to the target playing mode, wherein the additional display resource comprises the vehicle-mounted control data.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
As an alternative, the method comprises the following steps:
a first acquisition unit, configured to acquire a software development kit for operating a target media resource in a target in-vehicle device before receiving a target operation request triggered on the target in-vehicle device;
the packaging unit is used for packaging the software development tool package according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain a target tool data package before receiving a target operation request triggered on the target vehicle-mounted equipment;
and the first installation unit is used for sending the target tool data packet to the target vehicle-mounted device before receiving the target operation request triggered on the target vehicle-mounted device so as to enable the target vehicle-mounted device to install the target tool data packet.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
As an alternative, the method comprises the following steps:
the system comprises a request unit, a first display unit and a second display unit, wherein the request unit is used for receiving a first control request triggered on a target vehicle-mounted device, and the first control request is used for requesting control adjustment of a target media resource and/or an additional display resource on a target terminal;
an operation unit, which is used for responding to the first control request and executing a first control adjustment operation on the target media resource and/or the additional display resource according to the first control request;
and the completion unit is used for sending first operation completion information to the target vehicle-mounted equipment under the condition that the first control adjustment operation is completed, wherein the first operation completion information is used for prompting that the first control adjustment operation is completed.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
As an alternative, the method comprises the following steps:
the second acquisition unit is used for acquiring a second control request triggered on the target terminal after the first target data is sent to the target vehicle-mounted equipment, wherein the second control request is used for requesting control adjustment of a target media resource and/or an additional display resource on the target vehicle-mounted equipment;
a second transmission unit configured to transmit a second control request to the target in-vehicle device after transmitting the first target data to the target in-vehicle device;
and a third obtaining unit, configured to obtain second operation completion information after the first target data is sent to the target vehicle-mounted device, where the second operation completion information is used to prompt that the target vehicle-mounted device has completed a second control adjustment operation on the target media resource and/or the additional display resource according to the second control request.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
According to another aspect of the embodiment of the invention, a device for controlling the media resource by the vehicle-mounted equipment is also provided, wherein the device is used for implementing the method for controlling the media resource by the vehicle-mounted equipment. As shown in fig. 12, the apparatus includes:
a second receiving unit 1202, configured to receive first target data sent by a target terminal, where the first target data is data obtained after integrating a target media resource and an additional display resource according to a bluetooth communication protocol indicated by a bluetooth protocol identifier, the bluetooth protocol identifier is an identifier carried in a target operation request triggered on a target vehicle-mounted device, the bluetooth protocol identifier is used to indicate a bluetooth communication protocol that is required when the target terminal and the target vehicle-mounted device perform resource data transmission, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required when the target media resource is operated on the target vehicle-mounted device, a data amount of the additional display resource is greater than a bluetooth transmission threshold, and a data amount of the first target data is less than or equal to the bluetooth transmission threshold;
an execution unit 1204 is configured to execute the operation requested by the target operation request on the first target data.
Optionally, in this embodiment, the apparatus for controlling media resources by a vehicle-mounted device may be but not limited to be applied in a communication scenario where a mobile Application (APP) and a vehicle-mounted device (vehicle) transmit files such as a song, lyrics, a song menu, a cover, an accompaniment, a playlist through bluetooth, for example, a BLE/SPP communication protocol is first used, a new interactive bidirectional control protocol is encapsulated between the mobile APP and the vehicle-mounted device, and then, when a play operation request for a certain song is triggered on the vehicle-mounted device side, the mobile APP side receives the play operation request through the interactive bidirectional control protocol, and provides audio resources, lyric resources, song menu resources, and the like of the song for the vehicle-mounted device through the interactive bidirectional control protocol, so as to provide rich music play experience for a user on the vehicle-mounted device side.
Optionally, in this embodiment, the target vehicle-mounted device may be, but is not limited to, a target vehicle machine, and the target vehicle machine may be, but is not limited to, an additional device configured with at least one of the following: display, processor, memory, network card, audio, etc. The target vehicle-mounted device may also be, but is not limited to, a functional device installed in or on the target vehicle, such as a navigation device, a personal computer, etc., and is not limited herein.
Optionally, in this embodiment, the target media resource may include, but is not limited to, one or more types of media resources, for example, the target media resource is an audio resource, a video resource, a text resource, and the like;
optionally, in this embodiment, the additional display resource may also include, but is not limited to, one or more types of media resources, such as an audio resource, a video resource, a text resource, and the like, and the additional display resource may be, but is not limited to, a reference resource for introducing or supplementing additional information of the target media resource;
further, for example, the target media resource is used as an audio resource of the target song, the additional display resource is a text resource of lyrics of the target song, and an additional resource of a song slip of the target song, as shown in fig. 3, a song name of the target song 304, text information of the target lyrics 306, text information of the target song slip 308, and the like are displayed on a display screen of the target vehicle-mounted device 302. The device for controlling media resources through the vehicle-mounted device may, but is not limited to, view the song name of the target song 304, the text information of the target lyric 306, the text information of the target song list 308, and the like, on the display screen of the target vehicle-mounted device 302, and further perform a deeper operation on additional resources such as the text information of the target lyric 306, the text information of the target song list 308, and the like, for example, perform a selection operation on other songs (such as "small songs") in the target song list 308, so that the song currently played on the display screen of the target vehicle-mounted device 302 is switched to the song "small songs".
Optionally, in this embodiment, the target media resource operated on the target vehicle-mounted device may be, but is not limited to be, understood to perform a target operation on the target media resource, and may also be, but is not limited to be, understood to perform a target operation on an additional display resource associated with the target media resource, where the target operation may include, but is not limited to be, at least one of: the method comprises the following steps of resource playing operation, resource switching operation, resource fast-forward operation, resource pausing operation, resource slow-releasing operation, resource backing operation, additional resource display operation, resource skipping operation, resource mode selection operation and the like;
by further example, for example, in the display interface 402 of the target vehicle-mounted device shown in fig. 4, a target media resource (such as song audio "what you are not aware") currently playing is displayed, and on the display interface 402, various additional display resources or virtual components associated with the target media resource are also displayed, such as additional display resources like a song name, a singer, a front cover, lyrics, a song list, and the like, and further such as multifunctional components like a collection, an accompaniment, and by performing a target operation on the above multifunctional components, it can be understood, but not limited to, that a target operation of a component corresponding type is performed on the target media resource, for example, a target operation corresponding to a collection component is a collection operation, and specifically, the target media resource is collected in the song list; the target operation corresponding to the re-accompaniment component is a K song operation, and specifically acquiring accompaniment audio corresponding to the target media resource;
the lyrics can be but are not limited to displaying the corresponding lyrics in real time in a word-by-word emphasis manner according to the playing of the lyrics; the multifunctional component can be used for executing functions such as voice song requesting, one-key playing (collection, purchased, colorful mud favorite, vehicle-mounted music radio station and the like), one-key sound effect, rhythm light and the like; the song list may be but not limited to a user collection song list established for the vehicle-mounted side user to operate collection, may be but not limited to a song collection under the name of the corresponding singer, and may also be but not limited to a recommended song list for recommending song combinations every day, and the like.
Optionally, in this embodiment, the bluetooth transmission is limited by a bluetooth transmission threshold, so that in a limited condition of the bluetooth transmission, it is limited that data with a data volume greater than the bluetooth transmission threshold cannot be successfully transmitted, for example, in the related art, a song audio resource with a smaller data volume may be transmitted through bluetooth, but additional resources such as lyrics, a song list, a cover page with a larger data volume cannot be simultaneously transmitted, for example, in the prior art, an A2DP protocol is often used for audio streaming transmission, and an AVRCP protocol is used for an in-vehicle control mobile phone APP; however, the A2DP protocol does not transmit control command data, and the AVRCP protocol specifies a control end and a controlled end, which can only implement unidirectional control from the control end to the controlled end, and the current control command only transmits a single byte each time, which has large limitation and poor expansibility, and cannot well complete bidirectional control function, and even cannot well complete bluetooth transmission of large data volume in a bidirectional control scene;
optionally, the method for controlling media resources by using the vehicle-mounted device not only supports bidirectional data transmission, but also has no constraint of unidirectional control, so that bidirectional data transmission and control are realized, command data which can be transmitted by a protocol is not limited to a single byte every time, the flexibility is high, the expandability is good, further, song audio resources with small data volume and additional resources such as lyrics, song lists, covers and the like with large data volume are integrated uniformly, in the integration processing process, the protocol unification and data volume compression operations on the resources are completed, so that first target data obtained after the integration processing meets the limitation condition of bluetooth transmission, and after the first target data successfully received by the target vehicle-mounted device through bluetooth transmission, the vehicle-mounted side analyzes and decompresses the first target data to obtain the song audio resources and the song lyrics, Additional resources such as the song list, the cover and the like are utilized, and a software processing package carried by the vehicle-mounted side is utilized to carry out data processing on the additional resources such as the song audio resource, the lyrics, the song list, the cover and the like, so that a diversified song playing interface is presented for a user at the vehicle-mounted side, and a more comprehensive controllable space is provided for the user.
Optionally, in this embodiment, before receiving the target operation request triggered on the target vehicle-mounted device, an interaction control protocol, such as a bluetooth BLE/SPP communication protocol, may be encapsulated in advance between the target terminal on the terminal side and the target vehicle-mounted device on the vehicle-mounted side, where optionally, the BLE communication protocol and the SPP communication protocol in the bluetooth BLE/SPP communication protocol may be, but are not limited to, used in various combinations, for example, the combination is determined according to a system type of the target terminal on the terminal side or the target vehicle-mounted device on the vehicle-mounted side, specifically, an understandable scenario is set forth, assuming that a system type of the target terminal on the terminal side is Android system (Android), the SPP communication protocol may be, whereas assuming that a system type of the target terminal on the terminal side is apple system (ios), a BLE communication protocol may be selected, but not limited to, IOS and Android, and its technical logic may be, but not limited to, IOS and Android) have differences in the cases of support of the BLE communication protocol and the SPP communication protocol, for example, the IOS does not support the SPP protocol by default, so the BLE protocol is considered to be adopted; while the Android supports a BLE communication protocol and an SPP communication protocol, the support of the BLE communication protocol is not particularly good, the stability and the communication speed are slightly inferior to those of the SPP communication protocol, and then the communication mode used in various combination forms between the BLE communication protocol and the SPP communication protocol is used to enhance the compatibility and facilitate the development and implementation of products, so that under the interactive control protocol, data such as requests, instructions, resources and the like are corresponding to a specific certain data format to realize real-time bidirectional communication between a terminal side and a vehicle-mounted side;
further taking the target media resource as the song audio resource as an example, the vehicle-mounted side customizes the required function buttons (such as playing song list/playing mode setting/voice song request, etc.) according to the functions supported by the control protocol. After the vehicle-mounted side is connected with the terminal side through the Bluetooth, the corresponding terminal APP is opened. When a function button of the vehicle-mounted side is pressed down, the vehicle-mounted side sends data in a corresponding format to the terminal APP according to the control protocol, and the terminal APP can execute corresponding response after being analyzed according to the protocol;
similarly, the terminal APP can also send music command data to the vehicle-mounted side in real time, and the vehicle-mounted side executes corresponding response. For example, the terminal APP sends lyric data to the vehicle-mounted side in real time according to the playing progress of the current song, and the vehicle-mounted side receives the data and can display lyrics in real time after analyzing the data according to the interactive control protocol.
In addition, by using the interactive control protocol, the terminal APP can send media resource data such as the song list/singer list/ranking list to the vehicle-mounted side for display, after the user selects the media resource to be played at the vehicle-mounted side, the vehicle-mounted side sends a command to the terminal APP, and the terminal APP executes a response and plays corresponding music. In the whole process, a user does not need to operate the target terminal, and the running is safer.
It should be noted that, the received bluetooth protocol identifier is used to perform integration processing on the target media resource with a small data amount and the additional display resource with a large data amount, so as to obtain first target data with a uniform protocol and a data amount less than or equal to the bluetooth transmission threshold, and the first target data is further transmitted to the target vehicle-mounted device through the bluetooth protocol, so that the target vehicle-mounted device can control the complex additional display resource while controlling the simple target media resource.
For a specific embodiment, reference may be made to an example shown in the method for controlling a media resource by an in-vehicle device, which is not described herein again in this example.
According to the embodiment provided by the application, first target data sent by a target terminal is received, wherein the first target data is data obtained after integrating a target media resource and an additional display resource according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, the Bluetooth protocol identifier is an identifier carried in a target operation request triggered on a target vehicle-mounted device, the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required by the target terminal and the target vehicle-mounted device when the target terminal and the target vehicle-mounted device perform resource data transmission, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required by the target media resource when the target vehicle-mounted device is operated, the data volume of the additional display resource is greater than a Bluetooth transmission threshold, and the data volume of the first target data is less than or equal to the Bluetooth transmission threshold; the method comprises the steps of executing operation requested by a target operation request on first target data, integrating and processing target media resources with small data volume and additional display resources with large data volume by using Bluetooth protocol identification to obtain first target data with a unified protocol and the data volume being less than or equal to a Bluetooth transmission threshold, and further transmitting the first target data to target vehicle-mounted equipment through Bluetooth, so that the target vehicle-mounted equipment can control the complex additional display resources while controlling the simple target media resources, the technical purpose of controlling more comprehensive media resources on the vehicle-mounted equipment is achieved, and the technical effect of improving the comprehensiveness of the vehicle-mounted equipment in controlling the media resources is achieved.
As an alternative, the execution unit 1204 includes:
the splitting module is used for splitting the first target data to obtain first subdata and second subdata;
the first decapsulation module is used for decapsulating the first subdata according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain a target media resource;
and the second decapsulation module is used for decapsulating the second subdata according to the bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain the additional display resource.
For a specific embodiment, reference may be made to the example shown in the above area dynamic adjustment method, and details in this example are not described herein again.
As an optional solution, the second decapsulating module includes:
the first determining submodule is used for determining the resource type identifier to be decoded, the check data to be decoded and the sequencing position of the resource content to be decoded in the second subdata according to the protocol format of the Bluetooth communication protocol indicated by the Bluetooth protocol identifier, and determining the resource type identifier to be decoded, the check data to be decoded and the resource content to be decoded according to the sequencing position; carrying out decoding processing;
and the second determining submodule is used for determining the decoded resource type identifier, the decoded check data and the decoded resource content as second subdata.
For a specific embodiment, reference may be made to the example shown in the above area dynamic adjustment method, and details in this example are not described herein again.
As an alternative, the execution unit 1204 includes one of the following:
the first execution module is used for executing the playing or switching requested by the target operation request on the audio resources and the audio description information matched with the audio resources under the condition that the target operation request is used for requesting the playing or switching to the target media resources and the target media resources are the audio resources, wherein the additional display resources comprise the audio description information;
and the second execution module is used for executing the playing or switching requested by the target operation request on the video resources and the video description information matched with the video resources under the condition that the target operation request is used for requesting the playing or switching to the target media resources and the target media resources are the video resources, wherein the additional display resources comprise the video description information.
For a specific embodiment, reference may be made to the example shown in the above area dynamic adjustment method, and details in this example are not described herein again.
As an alternative, the execution unit 1204 includes one of the following:
and a third executing module, configured to, in a case that the target operation request is used to request to display a resource list associated with the target media resource, execute the display operation requested by the target operation request on the resource list, where the additional display resource includes the resource list.
For a specific embodiment, reference may be made to the example shown in the above area dynamic adjustment method, and details in this example are not described herein again.
As an alternative, the execution unit 1204 includes one of the following:
and the fourth execution module is used for executing the adjustment operation requested by the target operation request on the vehicle-mounted control data corresponding to the target playing mode under the condition that the target operation request is used for requesting to adjust the playing mode of the target media resource to the target playing mode, wherein the additional display resource comprises the vehicle-mounted control data.
For a specific embodiment, reference may be made to the example shown in the above area dynamic adjustment method, and details in this example are not described herein again.
As an alternative, the method comprises the following steps:
the third receiving unit is used for receiving a target tool data packet sent by the target terminal before receiving the first target data sent by the target terminal, wherein the target tool data packet is obtained by packaging and processing a software development tool packet according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, and the software development tool packet is used for operating a target media resource in target vehicle-mounted equipment;
and the second installation unit is used for installing the target tool data packet before receiving the first target data sent by the target terminal.
For a specific embodiment, reference may be made to the example shown in the above area dynamic adjustment method, and details in this example are not described herein again.
As an alternative, the method comprises the following steps:
the fourth acquiring unit is used for acquiring a first control request triggered on the target vehicle-mounted device, wherein the first control request is used for requesting control adjustment of a target media resource and/or an additional display resource on the target vehicle-mounted device;
a third sending unit, configured to send the first control request to the target terminal;
and a fifth obtaining unit, configured to obtain an operation completion information, where the operation completion information is used to prompt the target terminal that a control adjustment operation on the target media resource and/or the additional display resource has been completed according to a control request.
For a specific embodiment, reference may be made to the example shown in the above area dynamic adjustment method, and details in this example are not described herein again.
As an alternative, the method comprises the following steps:
the fourth receiving unit is used for receiving a second control request triggered on the target terminal before receiving the first target data sent by the target terminal, wherein the second control request is used for requesting control adjustment of a target media resource and/or an additional display resource on the target vehicle-mounted device;
a second response unit, configured to respond to the second control request before receiving the first target data sent by the target terminal, and perform a second control adjustment operation on the target media resource and/or the additional display resource;
and a fourth sending unit, configured to send second operation completion information to the target terminal when the second control adjustment operation has been performed, where the second operation completion information is used to prompt that the control adjustment operation has been performed.
For a specific embodiment, reference may be made to the example shown in the above area dynamic adjustment method, and details in this example are not described herein again.
According to still another aspect of the embodiment of the present invention, there is further provided an electronic device for implementing the method for controlling a media resource by an in-vehicle device, as shown in fig. 13, the electronic device includes a memory 1202 and a processor 1204, the memory 1202 stores a computer program, and the processor 1204 is configured to execute the steps in any one of the method embodiments through the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving a target operation request triggered on the target vehicle-mounted device, wherein the target operation request carries a resource identifier and a Bluetooth protocol identifier of a target media resource requested to be operated on the target vehicle-mounted device, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required to be adopted when the target terminal and the target vehicle-mounted device perform resource data transmission;
s2, responding to the target operation request, acquiring a target media resource corresponding to the resource identifier and an additional display resource required by the target media resource when the target media resource is operated on the target vehicle-mounted device, wherein the data volume of the additional display resource is larger than the Bluetooth transmission threshold;
s3, according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data, wherein the data volume of the first target data is less than or equal to the Bluetooth transmission threshold;
s4, the first target data is sent to the target vehicle-mounted device, so that the operation requested by the target operation request is executed on the first target data at the target vehicle-mounted device. Or the like, or, alternatively,
s1, receiving first target data sent by a target terminal, wherein the first target data is obtained by integrating a target media resource and an additional display resource according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, the Bluetooth protocol identifier is an identifier carried in a target operation request triggered on a target vehicle-mounted device, the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required by the target terminal and the target vehicle-mounted device when resource data transmission is carried out, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required by the target media resource when the target vehicle-mounted device is operated, the data volume of the additional display resource is greater than a Bluetooth transmission threshold, and the data volume of the first target data is less than or equal to the Bluetooth transmission threshold;
s2, the operation requested by the target operation request is executed on the first target data.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 13 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 13 is not intended to limit the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 13, or have a different configuration than shown in FIG. 13.
The memory 1302 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for controlling a media resource by an in-vehicle device in the embodiment of the present invention, and the processor 1304 executes various functional applications and data processing by running the software programs and modules stored in the memory 1302, that is, implementing the method for controlling a media resource by an in-vehicle device described above. The memory 1302 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1302 may further include memory located remotely from the processor 1304, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1302 may be specifically, but not limited to, configured to store information such as a target operation request, a resource identifier, a bluetooth protocol identifier, and first target data. As an example, as shown in fig. 13, the memory 1302 may include, but is not limited to, a first receiving unit 1102, a first responding unit 1104, an integrating unit 1106, and a first sending unit 1108 of the apparatus for controlling a media resource by the vehicle-mounted device, or a second receiving unit 1302 (not shown in the figure) and an executing unit 1304 (not shown in the figure). In addition, the media resource control device may further include, but is not limited to, other module units in the apparatus for controlling a media resource by the vehicle-mounted device, which is not described in this example again.
Optionally, the transmitting device 1306 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1306 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 1306 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1308, configured to display information such as the target operation request, the resource identifier, the bluetooth protocol identifier, and the first target data; and a connection bus 1310 for connecting the respective module parts in the above-described electronic apparatus.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, receiving a target operation request triggered on the target vehicle-mounted device, wherein the target operation request carries a resource identifier and a Bluetooth protocol identifier of a target media resource requested to be operated on the target vehicle-mounted device, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required to be adopted when the target terminal and the target vehicle-mounted device perform resource data transmission;
s2, responding to the target operation request, acquiring a target media resource corresponding to the resource identifier and an additional display resource required by the target media resource when the target media resource is operated on the target vehicle-mounted device, wherein the data volume of the additional display resource is larger than the Bluetooth transmission threshold;
s3, according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data, wherein the data volume of the first target data is less than or equal to the Bluetooth transmission threshold;
s4, the first target data is sent to the target vehicle-mounted device, so that the operation requested by the target operation request is executed on the first target data at the target vehicle-mounted device. Or the like, or, alternatively,
s1, receiving first target data sent by a target terminal, wherein the first target data is obtained by integrating a target media resource and an additional display resource according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, the Bluetooth protocol identifier is an identifier carried in a target operation request triggered on a target vehicle-mounted device, the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required by the target terminal and the target vehicle-mounted device when resource data transmission is carried out, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required by the target media resource when the target vehicle-mounted device is operated, the data volume of the additional display resource is greater than a Bluetooth transmission threshold, and the data volume of the first target data is less than or equal to the Bluetooth transmission threshold;
s2, the operation requested by the target operation request is executed on the first target data.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
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 on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units 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, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (20)

1. A method for controlling media resources by vehicle-mounted equipment is characterized by comprising the following steps:
receiving a target operation request triggered on target vehicle-mounted equipment, wherein the target operation request carries a resource identifier and a Bluetooth protocol identifier of a target media resource required to be operated on the target vehicle-mounted equipment, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required to be adopted when a target terminal and the target vehicle-mounted equipment perform resource data transmission;
responding to the target operation request, acquiring a target media resource corresponding to the resource identifier and an additional display resource required when the target media resource is operated on the target vehicle-mounted equipment, wherein the data volume of the additional display resource is greater than a Bluetooth transmission threshold value;
according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, integrating the target media resource and the additional display resource to obtain first target data, wherein the data volume of the first target data is less than or equal to the Bluetooth transmission threshold;
and sending the first target data to the target vehicle-mounted equipment so as to execute the operation requested by the target operation request on the first target data at the target vehicle-mounted equipment.
2. The method of claim 1, wherein the integrating the target media resource and the additional display resource according to the bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain the first target data comprises:
packaging the target media resource according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain first subdata matched with the communication protocol of the target vehicle-mounted equipment;
packaging the additional display resource according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain second subdata matched with the communication protocol of the target vehicle-mounted equipment;
and integrating the first subdata and the second subdata to obtain the first target data.
3. The method of claim 2, wherein the encapsulating the additional display resource according to the bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain second sub-data matching the communication protocol of the target vehicle-mounted device comprises:
acquiring a resource type identifier corresponding to the additional display resource, check data corresponding to a Bluetooth communication protocol adopted by the target vehicle-mounted equipment, and resource content of the additional display resource;
and according to the protocol format of the Bluetooth communication protocol indicated by the Bluetooth protocol identifier, respectively encoding the resource type identifier, the check data and the resource content, and sequencing the encoded resource type identifier, the encoded check data and the encoded resource content to obtain the second subdata.
4. The method according to claim 1, wherein the target media resource corresponding to the resource identifier is acquired in response to the target operation request, and the additional display resource required when the target media resource is operated on the target vehicle-mounted device includes one of:
when the target operation request is used for requesting playing or switching to the target media resource and the target media resource is an audio resource, acquiring the audio resource and audio description information matched with the audio resource, wherein the additional display resource comprises the audio description information;
and when the target operation request is used for requesting playing or switching to the target media resource and the target media resource is a video resource, acquiring the video resource and video description information matched with the video resource, wherein the additional display resource comprises the video description information.
5. The method according to claim 1, wherein the obtaining of the target media resource corresponding to the resource identifier in response to the target operation request, and the additional display resource required when the target media resource is operated on the target vehicle-mounted device comprises:
and under the condition that the target operation request is used for requesting to display a resource list associated with the target media resource, acquiring the resource list, wherein the additional display resource comprises the resource list.
6. The method according to any one of claims 1 to 5, characterized in that, prior to said receiving a target operation request triggered on a target in-vehicle device, comprising:
acquiring a software development kit for operating the target media resource in the target vehicle-mounted equipment;
packaging the software development kit according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain a target tool data packet;
and sending the target tool data packet to the target vehicle-mounted equipment so that the target vehicle-mounted equipment installs the target tool data packet.
7. The method according to any one of claims 1 to 5, comprising:
receiving a first control request triggered on the target vehicle-mounted equipment, wherein the first control request is used for requesting control adjustment of the target media resource and/or the additional display resource on the target terminal;
responding to the first control request, and executing first control adjustment operation on the target media resource and/or the additional display resource according to the first control request;
and sending first operation completion information to the target vehicle-mounted equipment under the condition that the first control adjustment operation is completed, wherein the first operation completion information is used for prompting that the first control adjustment operation is completed.
8. The method according to any one of claims 1 to 5, characterized in that after the sending of the first target data to the target vehicle-mounted device, comprising:
acquiring a second control request triggered on the target terminal, wherein the second control request is used for requesting control adjustment of the target media resource and/or the additional display resource on the target vehicle-mounted device;
sending the second control request to the target vehicle-mounted equipment;
and acquiring second operation completion information, wherein the second operation completion information is used for prompting that the target vehicle-mounted equipment completes second control adjustment operation on the target media resource and/or the additional display resource according to the second control request.
9. A method for controlling media resources by vehicle-mounted equipment is characterized by comprising the following steps:
receiving first target data sent by a target terminal, wherein the first target data is a Bluetooth communication protocol indicated by a Bluetooth protocol identifier, integrating the target media resource and the additional display resource to obtain data, wherein the Bluetooth protocol identifier is an identifier carried in a target operation request triggered by the target vehicle-mounted equipment, the Bluetooth protocol identification is used for indicating a Bluetooth communication protocol required to be adopted when the target terminal and the target vehicle-mounted equipment carry out resource data transmission, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required when the target media resource is operated on the target vehicle-mounted device, the data volume of the additional display resource is larger than a Bluetooth transmission threshold value, and the data volume of the first target data is smaller than or equal to the Bluetooth transmission threshold value;
and executing the operation requested by the target operation request on the first target data.
10. The method of claim 9, wherein performing the operation requested by the target operation request on the first target data comprises:
splitting the first target data to obtain first subdata and second subdata;
decapsulating the first subdata according to a bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain the target media resource;
and decapsulating the second subdata according to the bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain the additional display resource.
11. The method of claim 10, wherein the decapsulating the second sub-data according to the bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain the additional display resource comprises:
determining a resource type identifier to be decoded, check data to be decoded and a corresponding sorting position of the resource content to be decoded in the second subdata according to a protocol format of a Bluetooth communication protocol indicated by the Bluetooth protocol identifier, and performing sorting on the resource type identifier to be decoded, the check data to be decoded and the resource content to be decoded according to the sorting position; carrying out decoding processing;
and determining the decoded resource type identifier, the decoded check data and the decoded resource content as the second subdata.
12. The method of claim 9, wherein performing the operation requested by the target operation request on the first target data comprises one of:
when the target operation request is used for requesting playing or switching to the target media resource and the target media resource is an audio resource, the playing or switching requested by the target operation request is executed on the audio resource and audio description information matched with the audio resource, wherein the additional display resource comprises the audio description information;
and when the target operation request is used for requesting playing or switching to the target media resource and the target media resource is a video resource, executing the playing or switching requested by the target operation request on the video resource and video description information matched with the video resource, wherein the additional display resource comprises the video description information.
13. The method of claim 9, wherein performing the operation requested by the target operation request on the first target data comprises one of:
and in the case that the target operation request is used for requesting to display a resource list associated with the target media resource, executing the display operation requested by the target operation request on the resource list, wherein the additional display resource comprises the resource list.
14. The method according to any one of claims 9 to 13, wherein before the receiving the first target data sent by the target terminal, the method comprises:
receiving a target tool data packet sent by the target terminal, wherein the target tool data packet is obtained by packaging a software development tool packet according to a bluetooth communication protocol indicated by the bluetooth protocol identifier, and the software development tool packet is used for operating the target media resource in the target vehicle-mounted device;
and installing the target tool data packet.
15. The method according to any one of claims 9 to 13, comprising:
acquiring a first control request triggered on the target vehicle-mounted equipment, wherein the first control request is used for requesting control adjustment of the target media resource and/or the additional display resource on the target vehicle-mounted equipment;
sending the first control request to the target terminal;
and acquiring operation completion information, wherein the operation completion information is used for prompting that the target terminal completes a control adjustment operation on the target media resource and/or the additional display resource according to the control request.
16. The method according to any one of claims 9 to 13, wherein before the receiving the first target data sent by the target terminal, the method comprises:
receiving a second control request triggered on the target terminal, wherein the second control request is used for requesting control adjustment of the target media resource and/or the additional display resource on the target vehicle-mounted device;
responding to the second control request, and executing second control adjustment operation on the target media resource and/or the additional display resource;
and sending second operation completion information to the target terminal under the condition that the second control adjustment operation is completed, wherein the second operation completion information is used for prompting that the second control adjustment operation is completed.
17. An apparatus for controlling media resources by a vehicle-mounted device, comprising:
the system comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a target operation request triggered on a target vehicle-mounted device, the target operation request carries a resource identifier and a Bluetooth protocol identifier of a target media resource requested to be operated on the target vehicle-mounted device, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol required to be adopted when a target terminal and the target vehicle-mounted device perform resource data transmission;
a first response unit, configured to respond to the target operation request, obtain a target media resource corresponding to the resource identifier and an additional display resource required when the target media resource is operated on the target vehicle-mounted device, where a data volume of the additional display resource is greater than a bluetooth transmission threshold;
a first integration unit, configured to perform integration processing on the target media resource and the additional display resource according to a bluetooth communication protocol indicated by the bluetooth protocol identifier to obtain first target data, where a data amount of the first target data is less than or equal to the bluetooth transmission threshold;
and the first sending unit is used for sending the first target data to the target vehicle-mounted equipment so as to execute the operation requested by the target operation request on the first target data at the target vehicle-mounted equipment.
18. An apparatus for controlling media resources by a vehicle-mounted device, comprising:
a second receiving unit, configured to receive first target data sent by a target terminal, where the first target data is a bluetooth communication protocol indicated by a bluetooth protocol identifier, integrating the target media resource and the additional display resource to obtain data, wherein the Bluetooth protocol identifier is an identifier carried in a target operation request triggered by the target vehicle-mounted equipment, the Bluetooth protocol identification is used for indicating a Bluetooth communication protocol required to be adopted when the target terminal and the target vehicle-mounted equipment carry out resource data transmission, the target media resource is a resource corresponding to the resource identifier carried in the target operation request, the additional display resource is a resource required when the target media resource is operated on the target vehicle-mounted device, the data volume of the additional display resource is larger than a Bluetooth transmission threshold value, and the data volume of the first target data is smaller than or equal to the Bluetooth transmission threshold value;
and the execution unit is used for executing the operation requested by the target operation request on the first target data.
19. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 16.
20. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 16 by means of the computer program.
CN202110484674.3A 2021-04-30 2021-04-30 Method, device and storage medium for controlling media resources by vehicle-mounted equipment Active CN113163263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110484674.3A CN113163263B (en) 2021-04-30 2021-04-30 Method, device and storage medium for controlling media resources by vehicle-mounted equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110484674.3A CN113163263B (en) 2021-04-30 2021-04-30 Method, device and storage medium for controlling media resources by vehicle-mounted equipment

Publications (2)

Publication Number Publication Date
CN113163263A true CN113163263A (en) 2021-07-23
CN113163263B CN113163263B (en) 2023-07-28

Family

ID=76873133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110484674.3A Active CN113163263B (en) 2021-04-30 2021-04-30 Method, device and storage medium for controlling media resources by vehicle-mounted equipment

Country Status (1)

Country Link
CN (1) CN113163263B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938531A (en) * 2021-09-23 2022-01-14 北京车和家信息技术有限公司 Data transmission method, device, equipment and medium
WO2023246140A1 (en) * 2022-06-21 2023-12-28 比亚迪股份有限公司 Media control method and vehicle-mounted terminal

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011069380A1 (en) * 2009-12-07 2011-06-16 华为终端有限公司 Method for displaying related information and mobile communication terminal
CN103347083A (en) * 2013-07-10 2013-10-09 延锋伟世通电子科技(上海)有限公司 Interconnection and mutual control method for vehicle-mounted entertainment system and portable electronic equipment
US20150043745A1 (en) * 2013-08-12 2015-02-12 GM Global Technology Operations LLC Methods, systems and apparatus for providing audio information and corresponding textual information for presentation at an automotive head unit
CN105610978A (en) * 2016-02-23 2016-05-25 腾讯科技(深圳)有限公司 Resource obtaining method, terminal and vehicle terminal
CN105721672A (en) * 2016-01-20 2016-06-29 广东翼卡车联网服务有限公司 Smart phone and original vehicle host double-screen mutual control method and system thereof
CN205901877U (en) * 2016-07-30 2017-01-18 深圳市航盛电子股份有限公司 On -vehicle android mobile phone connecting device
CN107005800A (en) * 2017-02-21 2017-08-01 万魔声学科技有限公司 Transmission, method of reseptance and the device of audio file, equipment and its system
CN107393571A (en) * 2017-08-18 2017-11-24 深圳市路畅科技股份有限公司 A kind of method that automatic navigator shows music information
CN109743819A (en) * 2018-12-07 2019-05-10 北京梧桐车联科技有限责任公司 Control method and device, storage medium and the vehicle-mounted atmosphere lamp of vehicle-mounted atmosphere lamp
US20190191211A1 (en) * 2017-12-14 2019-06-20 Hyundai Motor Company Multimedia device, vehicle including the same, and broadcast listening method of the multimedia device
CN110399523A (en) * 2019-07-25 2019-11-01 上海博泰悦臻电子设备制造有限公司 Method for playing music and system, storage medium and car-mounted terminal based on car-mounted terminal
CN110968233A (en) * 2018-09-29 2020-04-07 上海擎感智能科技有限公司 Music playing switching operation method, system, storage medium and equipment
CN112347299A (en) * 2019-08-06 2021-02-09 上海擎感智能科技有限公司 Music information acquisition method and device, vehicle machine and medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011069380A1 (en) * 2009-12-07 2011-06-16 华为终端有限公司 Method for displaying related information and mobile communication terminal
CN103347083A (en) * 2013-07-10 2013-10-09 延锋伟世通电子科技(上海)有限公司 Interconnection and mutual control method for vehicle-mounted entertainment system and portable electronic equipment
US20150043745A1 (en) * 2013-08-12 2015-02-12 GM Global Technology Operations LLC Methods, systems and apparatus for providing audio information and corresponding textual information for presentation at an automotive head unit
CN105721672A (en) * 2016-01-20 2016-06-29 广东翼卡车联网服务有限公司 Smart phone and original vehicle host double-screen mutual control method and system thereof
CN105610978A (en) * 2016-02-23 2016-05-25 腾讯科技(深圳)有限公司 Resource obtaining method, terminal and vehicle terminal
CN205901877U (en) * 2016-07-30 2017-01-18 深圳市航盛电子股份有限公司 On -vehicle android mobile phone connecting device
CN107005800A (en) * 2017-02-21 2017-08-01 万魔声学科技有限公司 Transmission, method of reseptance and the device of audio file, equipment and its system
CN107393571A (en) * 2017-08-18 2017-11-24 深圳市路畅科技股份有限公司 A kind of method that automatic navigator shows music information
US20190191211A1 (en) * 2017-12-14 2019-06-20 Hyundai Motor Company Multimedia device, vehicle including the same, and broadcast listening method of the multimedia device
CN110968233A (en) * 2018-09-29 2020-04-07 上海擎感智能科技有限公司 Music playing switching operation method, system, storage medium and equipment
CN109743819A (en) * 2018-12-07 2019-05-10 北京梧桐车联科技有限责任公司 Control method and device, storage medium and the vehicle-mounted atmosphere lamp of vehicle-mounted atmosphere lamp
CN110399523A (en) * 2019-07-25 2019-11-01 上海博泰悦臻电子设备制造有限公司 Method for playing music and system, storage medium and car-mounted terminal based on car-mounted terminal
CN112347299A (en) * 2019-08-06 2021-02-09 上海擎感智能科技有限公司 Music information acquisition method and device, vehicle machine and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938531A (en) * 2021-09-23 2022-01-14 北京车和家信息技术有限公司 Data transmission method, device, equipment and medium
CN113938531B (en) * 2021-09-23 2023-10-31 北京车和家信息技术有限公司 Data transmission method, device, equipment and medium
WO2023246140A1 (en) * 2022-06-21 2023-12-28 比亚迪股份有限公司 Media control method and vehicle-mounted terminal

Also Published As

Publication number Publication date
CN113163263B (en) 2023-07-28

Similar Documents

Publication Publication Date Title
US10712999B2 (en) Audio converter device and method for using the same
JP4875020B2 (en) Media transfer and control system
CN101467451B (en) Method for displaying a mosaic image in a receiver for the selection of audiovisual programs, receivers and related servers
CN107168666B (en) System and method for audio and video transmission and multi-screen mapping based on USB interface
US20080228854A1 (en) Method for Controlling a Multimedia Device from a Mobile Terminal, Corresponding Computer Programs, Multimedia Device and Server
CN104219791A (en) Universal environment extender
CN113163263B (en) Method, device and storage medium for controlling media resources by vehicle-mounted equipment
WO2008001118A2 (en) Receiver and aspects thereof
CN104053071B (en) Distribute control system, dissemination system and distribution control method
CN110677831B (en) Video projection method based on interconnection technology
US8935362B2 (en) Multi-media file emulation device
CN106464933B (en) Apparatus and method for remotely controlling rendering of multimedia content
CN102065340B (en) System and method for implementing multimedia synchronous interaction
CN104053073A (en) DISTRIBUTION CONTROL SYSTEM, DISTRIBUTION SYSTEM and DISTRIBUTION CONTROL METHOD
CN101120333A (en) System and method for a remote user interface
CN103428527A (en) Real-time data source media stream transformation method and breakpoint switching play method
KR100827156B1 (en) Method of providing information for configuring a broadcasting screen and the dvb-h system therefor
CN111405367A (en) Method for network sharing of system component based on multi-network switching scene and display equipment
CN111182339A (en) Method for playing media item and display equipment
CN1627672B (en) Network system, electronic equipment terminal, server apparatus and method for distributing and reproducing the contents
CN111654753B (en) Application program starting method and display device
CN113177135A (en) Method and device for playing audio by vehicle-mounted equipment, storage medium and electronic equipment
KR100857821B1 (en) System and method of music broadcasting service using user creating contents and mobile communication terminal for the same
EP1714460A1 (en) A method of transmitting data and related apparatus
CN100353746C (en) Conversion device and method for public interfacing digital television CI to USB mterface

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