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

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

Info

Publication number
CN113163263B
CN113163263B CN202110484674.3A CN202110484674A CN113163263B CN 113163263 B CN113163263 B CN 113163263B CN 202110484674 A CN202110484674 A CN 202110484674A CN 113163263 B CN113163263 B CN 113163263B
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.)
Active
Application number
CN202110484674.3A
Other languages
Chinese (zh)
Other versions
CN113163263A (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

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 stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a 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; integrating 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; the first target data is transmitted to the target in-vehicle apparatus to perform an operation requested by the target operation request on the first target data at the target in-vehicle apparatus. The invention solves the technical problem of lower comprehensiveness of the vehicle-mounted equipment for controlling the media resources.

Description

Method, device and storage medium for controlling media resources by vehicle-mounted equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a method and apparatus for controlling media resources by a vehicle-mounted device, a storage medium, and an electronic device.
Background
If the current vehicle-mounted terminal needs to play the media resources of the mobile phone, the current vehicle-mounted terminal can be connected with the mobile phone through Bluetooth to select the media resources to play on the mobile phone APP. Consumers are generally familiar with the use of bluetooth, however, although the use of the above method is simple, the disadvantage of this method is that the use of the classical bluetooth protocol is relatively crude, the user can only use very basic functions such as play/pause through the vehicle terminal, and operations such as precisely ordering/playing songs must be completed by operating the mobile phone. In the using process of the automobile, potential safety hazards are easily brought by frequently operating the mobile phone. This is because bluetooth cannot simultaneously transmit files having a large data amount or other files containing media resources when transmitting audio files. While a user plays a media asset using an in-vehicle device, the user often wants to see more information about the media asset, such as a text interpretation of the media asset, a source of the media asset, and so on. In summary, in the prior art, there is a technical problem that the comprehensiveness of controlling media resources by vehicle-mounted devices is low because media resources with data volume larger than a bluetooth transmission threshold cannot be transmitted by bluetooth when the vehicle-mounted devices are used.
In view of the above problems, no effective solution has been proposed at present.
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 that the comprehensiveness of the vehicle-mounted equipment for controlling the media resources is low.
According to an aspect of an embodiment of the present invention, there is provided a method for controlling media resources by a vehicle-mounted device, including: receiving a target operation request triggered on target vehicle-mounted equipment, wherein the target operation request carries a resource identifier of a target media resource requested to be operated on the target vehicle-mounted equipment and a Bluetooth protocol identifier, 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 carry out 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 by the target media resource when the target media resource is operated on the target vehicle-mounted equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold value; according to a Bluetooth communication protocol indicated by the Bluetooth protocol identifier, 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 smaller than or equal to the Bluetooth transmission threshold value; and transmitting the first target data to the target vehicle-mounted device so that the target vehicle-mounted device can execute the operation requested by the target operation request on the first target data.
According to another aspect of the embodiment of the present invention, there is provided a method for controlling media resources by an in-vehicle device, including: 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 to be adopted 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, 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; and executing the operation requested by the target operation request on the first target data.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus for controlling a media resource by a vehicle-mounted device, including: the first receiving unit is used for receiving a target operation request triggered on target vehicle-mounted equipment, wherein the target operation request carries a resource identifier of a target media resource which is requested to be operated on the target vehicle-mounted equipment and a Bluetooth protocol identifier, and the Bluetooth protocol identifier is used for indicating a Bluetooth communication protocol which is required to be adopted when a target terminal and the target vehicle-mounted equipment carry out resource data transmission; the first response unit is used for 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 equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold value; an integrating unit, configured to integrate the target media resource and the additional display resource according to a bluetooth communication protocol indicated by the bluetooth protocol identifier, so as 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 transmitting unit configured to transmit the first target data to the target in-vehicle apparatus, so as to perform, on the target in-vehicle apparatus, an operation requested by the target operation request on the first target data.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus for controlling a media resource by a vehicle-mounted device, including: the second receiving unit is configured to receive first target data sent by a target terminal, where 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 to indicate a bluetooth communication protocol that needs to be adopted when the target terminal performs resource data transmission with the target vehicle-mounted device, the target media resource is a resource corresponding to a resource identifier carried in the target operation request, the additional display resource is a resource that needs to be required when the target media resource is operated on the target vehicle-mounted device, a data volume of the additional display resource is greater than a bluetooth transmission threshold, and a data volume of the first target data is less than or equal to the bluetooth transmission threshold; 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 having a computer program stored therein, wherein the computer program is configured to execute the method for controlling a media resource by an in-vehicle apparatus as described above when executed.
According to still another aspect of the embodiment of the present invention, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the method for controlling a media resource by the vehicle-mounted device.
In the embodiment of the invention, a target operation request triggered on target vehicle-mounted equipment is received, wherein the target operation request carries a resource identifier of a target media resource requested to be operated on the target vehicle-mounted equipment and a Bluetooth protocol identifier, 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 carry out 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 by the target media resource when the target media resource is operated on the target vehicle-mounted equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold value; according to a Bluetooth communication protocol indicated by the Bluetooth protocol identifier, 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 smaller than or equal to the Bluetooth transmission threshold value; the first target data are sent to the target vehicle-mounted equipment so that the target vehicle-mounted equipment executes the operation requested by the target operation request on the first target data, the target media resources with smaller data quantity and the additional display resources with larger data quantity are integrated by utilizing Bluetooth protocol identification, so that the first target data with unified protocol and the data quantity being smaller than or equal to the Bluetooth transmission threshold value are obtained, the first target data are further transmitted to the target vehicle-mounted equipment through Bluetooth, the target vehicle-mounted equipment can control complex additional display resources while controlling simple target media resources, the technical purpose of controlling more comprehensive media resources on the vehicle-mounted equipment is achieved, the comprehensive technical effect of controlling the media resources by the vehicle-mounted equipment is achieved, and the technical problem that the comprehensive control media resources by the vehicle-mounted equipment is lower is solved.
In the embodiment of the invention, first target data sent by a target terminal is received, 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 to be adopted when the target terminal and the target vehicle-mounted device perform resource data transmission, the target media resource is a resource corresponding to a 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, and the data volume of the first target data is less than or equal to the bluetooth transmission threshold; and executing the operation requested by the target operation request on the first target data, integrating the target media resources with smaller data quantity and the additional display resources with larger data quantity by using the Bluetooth protocol identification to obtain the first target data with unified protocol and smaller data quantity than or equal to the Bluetooth transmission threshold value, and further transmitting the first target data to the 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, thereby achieving the technical purpose of controlling more comprehensive media resources on the vehicle-mounted equipment, further realizing the technical effect of improving the comprehensiveness of the vehicle-mounted equipment control media resources, and further solving the technical problem of lower comprehensiveness of the vehicle-mounted equipment control 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 embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic illustration 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 illustration of a flow chart of an alternative method for controlling media assets by an in-vehicle device according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an alternative method for controlling media assets by an in-vehicle device in accordance with an embodiment of the invention;
FIG. 4 is a schematic diagram of another alternative method for controlling media assets by an in-vehicle device in accordance with an embodiment of the invention;
FIG. 5 is a schematic diagram of another alternative method for controlling media assets by an in-vehicle device in accordance with an embodiment of the invention;
FIG. 6 is a schematic diagram of another alternative method for controlling media assets by an in-vehicle device in accordance with an embodiment of the invention;
FIG. 7 is a schematic diagram of another alternative method for controlling media assets by an in-vehicle device in accordance with an embodiment of the invention;
FIG. 8 is a schematic diagram of another alternative method for controlling media assets by an in-vehicle device in accordance with an embodiment of the invention;
FIG. 9 is a schematic illustration of a flow chart of another alternative method for controlling media assets by an in-vehicle device in accordance with an embodiment of the invention;
FIG. 10 is a schematic diagram of another alternative method for controlling media assets by an in-vehicle device in accordance with an embodiment of the invention;
FIG. 11 is a schematic diagram of an alternative in-vehicle apparatus controlling media assets in accordance with an embodiment of the invention;
FIG. 12 is a schematic diagram of another alternative in-vehicle apparatus for controlling media assets in accordance with an embodiment of the invention;
fig. 13 is a schematic structural view of an alternative electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiment of the present invention, there is provided a method for controlling a media resource by an in-vehicle device, optionally, as an optional implementation manner, the method for controlling a media resource by an in-vehicle device may be, but is not limited to, applied to an environment as shown in fig. 1. Including but not limited to user device 102, network 110, server 112, and user device 118, including but not limited to display 108, processor 106, and memory 104, and including but not limited to display 124, processor 122, and memory 120, on user device 102.
The specific process comprises the following steps:
step S102, the user device 102 receives a target operation request triggered on the target vehicle-mounted device 1022, where the user device 102 may be, but is not limited to, the target terminal 1024;
steps S104-S106, the user equipment 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, thereby generating first target data;
in steps S110-S112, the server 112 sends the first target data to the user device 118 via the network 110.
In step S114, the processor 120 in the user device 118 generates a corresponding media resource according to the first target data, and displays the media resource in the display 124, and stores the media resource in the memory 120, wherein the user device 118 is the target vehicle-mounted device 1022.
In addition to the example shown in fig. 1, the above steps may be performed independently by the user equipment 102, i.e., the steps of generating the first target data, etc., are performed by the user equipment 102, thereby reducing the processing pressure of the server. The user device 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, etc., and the invention is not limited to a particular implementation of the user device 102.
Optionally, as an optional implementation manner, as shown in fig. 2, the method for controlling the media resource by the vehicle-mounted device includes:
s202, receiving a target operation request triggered on target vehicle-mounted equipment, wherein the target operation request carries a resource identifier of a target media resource requested to be operated on the target vehicle-mounted equipment and a Bluetooth protocol identifier, 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 carry out resource data transmission;
S204, responding to a 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 operated on target vehicle-mounted equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold;
s206, integrating 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, wherein the data volume of the first target data is smaller than or equal to a Bluetooth transmission threshold value;
s208 of transmitting the first target data to the target in-vehicle apparatus to perform the operation requested by the target operation request on the first target data at the target in-vehicle apparatus.
Optionally, in this embodiment, the method for controlling media resources by using the vehicle-mounted device may be, but not limited to, applied to a communication scenario in which a mobile phone Application (Application, abbreviated as APP) and a vehicle (vehicle-mounted) transmit files such as songs, lyrics, songs, covers, accompaniments, playlists, etc. 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 vehicle, and then, in case that a vehicle side triggers a play operation request for a certain song, the mobile phone APP side receives the play operation request through the interactive bidirectional control protocol, and provides the vehicle with audio resources, lyrics resources, song resources, etc. of the song through the interactive bidirectional control protocol, so as to provide a user on the vehicle side with a rich music play experience.
Alternatively, in the present embodiment, the target in-vehicle device may be, but is not limited to, a target vehicle machine, which may be, but is not limited to, an additional device configured with at least one of: a display, a processor, a memory, a network card, sound, etc. The target in-vehicle device may also be, but is not limited to, a functional device installed in or on the target vehicle machine, such as a navigation, a personal computer, etc., without limitation.
Optionally, in the present 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 so on;
optionally, in this embodiment, the additional display resource may also but not limited to include one or more types of media resources, such as audio resources, video resources, text resources, etc., and further the additional display resource may be but not limited to a reference resource for introducing or supplementing additional information of the target media resource;
further, with the target media resource as the audio resource of the target song, the additional display resource is the text resource of the lyrics of the target song and the additional resource of the song list of the target song, as shown in fig. 3, the song name of the target song 304, the text information of the target lyrics 306, the text information of the target song list 308 and the like are displayed on the display screen of the target vehicle-mounted device 302, in the related technology, only the vehicle-mounted terminal can only display the simple reference information of the target song 304, such as the song name, the singer name and the like, and in the case that the user at the vehicle-mounted terminal wants to view more reference information, the user at the vehicle-mounted terminal can only query independently through the mobile phone APP, which is particularly dangerous and inconvenient for the user at the vehicle-mounted terminal, especially the user at the vehicle-mounted terminal in running. By the method for controlling media resources by the vehicle-mounted device, the song name of the target song 304, the text information of the target lyrics 306, the text information of the target song list 308 and the like can be completely checked on the display screen of the target vehicle-mounted device 302, and further deeper operations can be performed on additional resources such as the text information of the target lyrics 306, the text information of the target song list 308 and the like, for example, a selection operation is performed 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 device may be understood as, but not limited to, performing the target operation on the target media resource, and may also be understood as, but not limited to, performing the target operation on the additional display resource associated with the target media resource, where the target operation may include, but is not limited to, at least one of: resource playing operation, resource switching operation, resource fast forward operation, resource pause operation, resource slow release operation, resource backward operation, additional resource display operation, resource jump operation, resource mode selection operation and the like;
further by way of example, in the display interface 402 of the target vehicle-mounted device shown in fig. 4, there are displayed a target media resource (such as song audio "what you do not know"), which is currently playing, and on the display interface 402, there are displayed various additional display resources or virtual components associated with the target media resource, such as song names, singers, covers, lyrics, songs, and other additional display resources, and further, such as multi-functional components for collection, accompaniment, and the like, by executing the target operations on the above-mentioned multi-functional components, it can be understood, but not limited to, executing the target operations of the component corresponding type on the target media resource, such as the target operations corresponding to the collection component being the collection operations, and specifically collecting the target media resource in the song; then the target operation corresponding to the accompaniment component is K song operation, and the accompaniment audio corresponding to the target media resource is specifically acquired;
Wherein, the lyrics can be but not limited to displaying the corresponding lyrics in real time word by word according to the playing of the lyrics; the multifunctional component can be used for executing the functions of voice song requesting, one-key playing (collection, purchase, guess you like, 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 favorite song list established for the vehicle-mounted side user to operate the favorite, a song list set for the corresponding singer, a recommended song list for a daily recommended song combination, or the like.
Optionally, in this embodiment, the bluetooth transmission is limited by a bluetooth transmission threshold, so that in a limited condition of bluetooth transmission, data with a data amount greater than the bluetooth transmission threshold is limited to be unable to or successfully transmitted, for example, song audio resources with a smaller data amount can be transmitted through bluetooth in the related art, but additional resources such as lyrics, song sheets, covers, etc. with a larger data amount cannot be simultaneously transmitted, for example, in the prior art, an A2DP protocol is often adopted for audio stream transmission, and an AVRCP protocol is adopted for controlling a mobile phone APP by a vehicle; however, the A2DP protocol does not transmit control command data, while the AVRCP protocol prescribes a control end and a controlled end, only unidirectional control from the control end to the controlled end can be realized, and the current control command only passes a single byte at a time, so that the limitation is large, the expansibility is poor, the bidirectional control function cannot be well completed, and the Bluetooth transmission of large data volume under the bidirectional control scene cannot be well completed;
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 are not limited to single byte at a time, flexibility is high, expandability is good, further, song audio resources with smaller data volume and additional resources such as lyrics, song sheets, covers and the like with larger transmission data volume are integrated, protocol unification and data volume compression operation on the resources are completed in the integrated processing process, the first target data obtained after the integrated processing accords with the limiting condition of Bluetooth transmission, further, after the target vehicle-mounted device successfully receives the first target data through Bluetooth transmission, the vehicle-mounted side analyzes and decompresses the first target data to obtain additional resources such as song audio resources, lyrics, song sheets, covers and the like, and the additional resources such as song audio resources, song sheets, covers and the like are processed by using software processing packages carried by the vehicle side, so that a user presents diversified song playing interfaces on the vehicle-mounted side, and a more comprehensive control space can be provided for the user.
Optionally, in this embodiment, before receiving the target operation request triggered on the target in-vehicle device, an interaction control protocol, such as a bluetooth BLE/SPP communication protocol, may be but not limited to be encapsulated between the target terminal on the terminal side and the target in-vehicle device on the in-vehicle side in advance, where the BLE communication protocol and the SPP communication protocol in the bluetooth BLE/SPP communication protocol may be but not limited to be used in various combinations, for example, the above combinations are determined according to the system type of the target terminal on the terminal side or the target in-vehicle device on the in-vehicle side, specifically, an understandable scenario is described, if the system type of the target terminal on the terminal side is Android system (Android), then the SPP communication protocol may be but not limited to be selected, otherwise, if the system type of the target terminal on the terminal side is apple system (IOS), then the BLE communication protocol may be but not limited to be selected, and the technical logic thereof may be but not limited to be IOS and) may be different for the case of BLE communication protocol and SPP communication support, such as the spios does not support the Android protocol by default, so that the spios protocol is considered; while 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 rate are slightly worse than those of the SPP communication protocol, and further, the communication modes of using a plurality of combination modes between the BLE communication protocol and the SPP communication protocol are used for enhancing compatibility, and facilitating the development and realization of products, so that under the interactive control protocol, data such as requests, instructions, resources and the like are corresponding to a specific data format, and real-time bidirectional communication between a terminal side and a vehicle-mounted side is realized;
Further, taking the target media resource as the song audio resource as an example, the vehicle-mounted side can customize the required function buttons (such as playing song list/playing mode setting/voice song requesting and the like) according to the functions supported by the control protocol. After Bluetooth connection is carried out between the vehicle-mounted side and the terminal side, the corresponding terminal APP is opened. When a function button of the vehicle-mounted side is pressed, the vehicle-mounted side sends data in a corresponding format to a terminal APP according to a control protocol, and the terminal APP can execute corresponding response after analyzing according to the protocol;
similarly, the terminal APP can also send music command data to the vehicle-mounted side in real time, so that 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 according to the interactive control protocol.
In addition, by using the interactive control protocol, the terminal APP can send media resource data such as a song list, a singer list, a ranking list and the like to the vehicle-mounted side for displaying, and after the user selects media resources to be played on the vehicle-mounted side, the vehicle-mounted side sends a command to the terminal APP, and the terminal APP responds and plays corresponding music. The whole process does not need a user to operate the target terminal, so that the running is safer.
It should be noted that, the received bluetooth protocol identifier is utilized to integrate the target media resource with smaller data volume and the additional display resource with larger data volume, so as to obtain the first target data with unified protocol and smaller data volume 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 simple target media resource and simultaneously control the complex additional display resource.
Further by way of example, as shown in fig. 5, if the target media resource is a video resource corresponding to "video 2", when the in-vehicle player 506 plays "video 1", the in-vehicle player responds to the target operation of "play next video" to trigger a target operation request, and sends the target operation request to the target terminal 502 through bluetooth transmission, where the target operation request carries the video identifier of "video 2"; further, when the target terminal 502 receives the target operation request, it responds to the target operation request to obtain first target data, where the first target data includes at least a video resource of "video 2" and an additional display resource (such as a subtitle, a tone 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 and plays the next video resource "video 2" of "video 1"; in addition, if during the playing process of "video 2", the display operation of "view related content of the currently playing video" is responded to trigger the target display request, and then the target vehicle-mounted device 504 may, but is not limited to, respond to the target display request, search the received additional display resource for the corresponding content to be displayed, and display the content on the vehicle-mounted player 506, so as to meet the diversified control requirements of the user on the vehicle-mounted side.
According to the embodiment provided by the application, the target operation request triggered on the target vehicle-mounted equipment is received, wherein the target operation request carries the resource identifier of the target media resource requested to be operated on the target vehicle-mounted equipment and the Bluetooth protocol identifier, 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 equipment carry out resource data transmission; responding to a 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 target vehicle-mounted equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold value; integrating 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, wherein the data volume of the first target data is smaller than or equal to a Bluetooth transmission threshold value; the method comprises the steps of sending first target data to target vehicle-mounted equipment, executing an operation requested by a target operation request on the first target data by the target vehicle-mounted equipment, integrating target media resources with smaller data quantity and additional display resources with larger data quantity by utilizing Bluetooth protocol identification to obtain first target data with unified protocol and smaller data quantity than or equal to a Bluetooth transmission threshold, and further transmitting the first target data to the target vehicle-mounted equipment through Bluetooth, so that the target vehicle-mounted equipment can control complex additional display resources while controlling simple target media resources, and further achieving 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 control media resources.
As an alternative, according to the bluetooth communication protocol indicated by the bluetooth protocol identifier, the integrating process is performed on the target media resource and the additional display resource, so as to obtain the first target data, including:
s1, packaging a target media resource according to a Bluetooth communication protocol indicated by a Bluetooth protocol identifier to obtain first sub-data matched with a communication protocol of target vehicle-mounted equipment;
s2, packaging the additional display resources according to a Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain second sub-data matched with the communication protocol of the target vehicle-mounted equipment;
s3, integrating the first sub data and the second sub data to obtain first target data.
Optionally, the encapsulation process may be used, but is not limited to, hiding the properties and implementation details of the encapsulated object, only interfacing externally, controlling the read and modified access level of the properties in the program; the abstract data and actions (or functions) are combined to form an organic whole, which can be understood, but is not limited to, by organically combining the data with source code of the operation data to form a class, wherein the data and the functions are members of the class. In this embodiment, the encapsulation process may be understood, but is not limited to, when an application uses TCP to transfer data, the data is pushed onto the protocol stack and then passed through each layer one by one until it is pushed into the network as a string of bitstreams, where each layer adds some headers to the received data.
It should be noted that, the encapsulation process may be, but not limited to, used for uniformly processing 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, or may be, but not limited to, used for compressing 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 the first sub data and the second sub data are integrated, and the first sub data and the second sub data are compressed, which is not limited herein. Optionally, the compression processing may, but is 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, so as to reduce the redundancy of the data and the storage space, such as lossy compression and lossless compression; specifically, in computer science and information theory, data compression or source coding is the process of representing information with fewer data bits (or other information-related elements) than are not encoded 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 sub-data matched with the communication protocol of the target vehicle-mounted equipment is obtained; the additional display resource is packaged according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification, so that second sub-data matched with the communication protocol of the target vehicle-mounted equipment is obtained; and integrating the first sub data and the second sub data to obtain first target data, thereby achieving the aim of integrating the data format of a resource to be transmitted and realizing the effect of improving the data processing efficiency.
As an alternative, 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 an additional display resource, verification data corresponding to a Bluetooth communication protocol adopted by 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, respectively encoding the resource type identification, the check data and the resource content, and sorting the encoded resource type identification, the encoded check data and the encoded resource content to obtain second sub-data.
Optionally, in this embodiment, each time the bluetooth communication protocol indicated by the bluetooth protocol identifier requires to send a resource, the sent resource needs to be encoded and arranged according to a predetermined format, and a resource type identifier (such as a specific type of an additional display resource, for example, a song, and the additional display resource may be subdivided into at least one of a lyric type, a cover, a type play list type, and the like), and corresponding resource content, and additional check data for checking is filled in a predetermined position according to a predetermined check manner, so as to form a complete resource packet;
and the receiver checks the resource package (including the length and the accuracy of the resource) according to the protocol convention after receiving the resource package, and obtains the resource content and the resource type sent by the sender from the resource package when the resource is judged to be the correct resource after confirming that the resource package meets the checking convention of the protocol. And transmits a resource packet of a specific format informing the sender that the resource has been received. If the verification fails, the receiver can send a resource packet with a specific format to inform the sender of the reception error.
It should be noted that, acquiring a resource type identifier corresponding to the additional display resource, verification data corresponding to the bluetooth communication protocol adopted by the target vehicle-mounted device, and resource content of the additional display resource; 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 sub-data.
Further by way of example, the optional second sub-data is shown in fig. 6, where the second sub-data is packaged and subsequently transmitted in a data format of a data packet 602, where the data packet 602 includes a 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 identifier corresponding to the additional display resource, the verification 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; 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 subjected to coding processing, and the coded resource type identification, the coded check data and the coded resource content are subjected to sequencing processing to obtain second sub-data, so that the aim of processing the additional display resource according to a specific data format is fulfilled, and the effect of improving the processing efficiency of the additional display resource is realized.
As an alternative, in response to the target operation request, acquiring the target media resource corresponding to the resource identifier, and the additional display resource required by the target media resource when operated on the target vehicle-mounted device includes one of the following:
S1, when a target operation request is used for requesting to play or switching to a 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;
s2, when the target operation request is used for requesting to play or switching to the target media resource and the target media resource is the 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.
Alternatively, in the present embodiment, the audio resource may be, but is not limited to, a song resource, a station resource, a voiced novel resource, a vocal resource, or the like. Video assets may be, but are not limited to, on-demand assets, live assets, movie assets, television shows assets, variety assets, music clips assets, photo assets, small items assets, and the like.
It should be noted that, when the target operation request is used for requesting to play or switch 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, 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 resource and the video description information matched with the video resource, wherein the additional display resource comprises the video description information.
Further by way of example, the first media asset may optionally be played in the target in-vehicle device, for example, in response to a first operation request for requesting the first media asset to be played; based on this, in response to a second operation request for requesting switching to the second media asset, the asset play in the target in-vehicle device is switched from the first media asset to the second media asset.
As an alternative, responding to the target operation request, obtaining the target media resource corresponding to the resource identifier, and the additional display resource required by the target media resource when operated on the target vehicle-mounted device includes:
in the case where the target operation request is for requesting display of a resource list associated with the target media resource, the resource list is obtained, wherein the additional display resources include the resource list.
Alternatively, in the present embodiment, the resource list may be used, but is not limited to, to display one or more types of media resources in a certain agreed sequence.
It should be noted that, in the case where the target operation request is used to request to display the resource list associated with the target media resource, the resource list is acquired, where the additional display resource includes the resource list.
By way of further example, as shown in fig. 4, the resource list may be, but is not limited to, a song list of the display interface 402, in which song names including songs currently playing and song names of other songs are displayed, and by performing an operation on a song name (e.g., "rainy-direct") of the resource list, the controlled playing of the song "rainy-direct" may be, but is not limited to, triggered.
As an alternative, responding to the target operation request, obtaining the target media resource corresponding to the resource identifier, and the additional display resource required by the target media resource when operated on the target vehicle-mounted device includes:
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 the vehicle-mounted control data corresponding to the target playing mode, wherein the additional display resource comprises the vehicle-mounted control data.
Alternatively, in this embodiment, the vehicle-mounted control data may be, but not limited to, an interaction device in the target vehicle-mounted device, for example, the vehicle-mounted control data is rhythm data, drum point data, audio data, sound effect data of the target media resource, where the interaction device may be, but not limited to, a device that receives a control signal to complete a corresponding operation and displays an operation result, for example, vehicle-mounted light, vehicle-mounted air conditioner, vehicle-mounted sound, and the like. For example, when the target sound effect data is played, the interactive equipment executes the interactive operation corresponding to the target sound effect data, such as displaying the interactive light, playing the interactive sound effect, and the like.
It should be noted that, when the target operation request is used for requesting to adjust the playing mode of the target media resource to the target playing mode, the vehicle-mounted control data corresponding to the target playing mode is obtained, where the additional display resource includes the vehicle-mounted control data. Alternatively, the target play mode may be, but not limited to, a mode in which an interactive operation is performed for turning on an interactive device of the target in-vehicle device controlled by in-vehicle control data.
Further by way of example, as shown in fig. 7, optionally, in the case that the target operation request is used to request to adjust the playing mode of the target media resource to the target playing mode, the on-vehicle control data 704 corresponding to the target playing mode is acquired according to the target media resource 702, where, assuming that the target media resource 702 is an audio resource, the on-vehicle control data 704 may be, but is not limited to, audio data (curve is used for audio change, and bold horizontal line is used to acquire audio data reaching the audio threshold); further, the interaction device 708 of the target in-vehicle device 706 is controlled according to the in-vehicle control data 704, where, assuming that the interaction device 708 is a light device installed outside the target in-vehicle device 706, the flicker of the light device may be controlled to be dark through the acquired audio data (i.e. the audio data with the curve corresponding to the intersection point of the thickened cross line) reaching the audio threshold, for example, when the audio data reaching the audio threshold is played, the light device is turned on to implement light illumination, otherwise, when the audio data not reaching the audio threshold is played, the light device is turned off to implement light dark. Alternatively, the control of the light may be, but not limited to, controlling the flicker, color and brightness of the light, which is not limited herein.
In addition, still alternatively, based on the scenario shown in fig. 7, continuing to use the scenario shown in fig. 8, in a case where the target operation request is used to request to adjust the playing mode of the target media resource to the target playing mode, acquiring the in-vehicle control data 704 corresponding to the target playing mode 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 (curve is used for audio variation, and bold horizontal line is used to acquire audio data reaching the audio threshold); further, the interaction device 802 of the target vehicle-mounted device 706 is controlled according to the vehicle-mounted control data 704, where, assuming that the interaction device 708 is a light device installed in the target vehicle-mounted device 706, the flicker of the light device may be controlled to be dark through the acquired audio data (i.e. the audio data with the curve corresponding to the intersection point of the thickened cross line) reaching the audio threshold, for example, when the audio data reaching the audio threshold is played, the light device is turned on to realize light illumination, otherwise, when the audio data not reaching the audio threshold is played, the light device is turned off to realize light dark, and in this process, the user may also turn on the K song function, thereby achieving a prompt visual sense of KTV in the vehicle.
According to the embodiment provided by the application, 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, the vehicle-mounted control data corresponding to the target playing mode is obtained, 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 alternative, before receiving the target operation request triggered on the target in-vehicle device, the method includes:
s1, acquiring a software development kit for operating a target media resource in target vehicle-mounted equipment;
s2, 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;
and S3, transmitting the target tool data packet to the target vehicle-mounted equipment so that the target vehicle-mounted equipment installs the target tool data packet.
It should be noted that, according to the bluetooth communication protocol indicated by the bluetooth protocol identifier, the software development kit (Software Development, abbreviated as SDK) is encapsulated into a target tool data packet, and the target tool data packet is used to provide services for both the transceiver (the target terminal and the target vehicle-mounted device). The SDK can automatically complete filling of check data and sending of a resource packet for the resource type and the resource content submitted by a sender. On the receiving side, after receiving the data packet, the SDK can automatically complete the resource verification, take out the original resource content and the resource type and submit the original resource content and the resource type to the receiving side. Therefore, after integrating the SDK, the sender and the receiver do not need to care about the details of resource sending and checking, so that the product development efficiency is improved.
By the embodiment provided by the application, a software development kit for operating a target media resource in a target vehicle-mounted device is obtained; 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; the target tool data packet is sent to the target vehicle-mounted equipment, so that the target vehicle-mounted equipment is provided with the target tool data packet, the purpose of completing efficient processing of resources by using the tool data packet is achieved, and the effect of improving the resource control efficiency is achieved.
As an alternative, it includes:
s1, receiving a first control request triggered on target vehicle-mounted equipment, wherein the first control request is used for requesting control adjustment of target media resources and/or additional display resources on a target terminal;
s2, 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 S3, under the condition that the first control adjustment operation is executed, sending first operation completion information to the target vehicle-mounted equipment, wherein the first operation completion information is used for prompting that the first control adjustment operation is executed.
Alternatively, in the present embodiment, bidirectional control may be realized between the target in-vehicle apparatus and the target terminal, that is, a control request generated by the target in-vehicle apparatus side is used to control the target terminal, or a control request generated by the target terminal is used to control the target in-vehicle apparatus.
As an alternative, after transmitting the first target data to the target in-vehicle apparatus, it includes:
s1, acquiring a second control request triggered on a target terminal, wherein the second control request is used for requesting control adjustment of target media resources and/or additional display resources on target vehicle-mounted equipment;
s2, sending a second control request to the target vehicle-mounted equipment;
s3, obtaining second operation completion information, wherein the second operation completion information is used for prompting the target vehicle-mounted equipment to complete second control adjustment operation on the target media resource and/or the additional display resource according to the second control request.
Alternatively, in this embodiment, since the target terminal and the target vehicle-mounted device use the same bluetooth communication protocol, the same data may be transmitted and received, but not limited to, so that interaction between the two parties is kept consistent.
Optionally, in this embodiment, it is also possible, but not limited to, that different object identifiers are allocated to the target terminal and the target vehicle-mounted device, so that the target terminal and the target vehicle-mounted device each only perform control response on data matched with own responsibilities, and interaction between the target terminal and the target vehicle-mounted device is inconsistent. Such as real-time lyric data, control data, may be, but is not limited to, only sent from the target terminal to the target in-vehicle device, which responds. And requests to play accompaniment, cut song command, etc., it may be, but is not limited to, issued only from the target in-vehicle device to the target terminal 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 acquired, 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 equipment; transmitting a 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 the target vehicle-mounted equipment to complete 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 controlling the bidirectional media resource between the target terminal and the target vehicle-mounted equipment is fulfilled, and the comprehensive effect of improving the media resource control is realized.
Alternatively, as an alternative embodiment, as shown in fig. 9, the area dynamic adjustment method includes:
s902, receiving first target data sent by a target terminal, 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 to be adopted 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, 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, an operation requested by the target operation request is performed on the first target data.
Optionally, in this embodiment, the method for controlling media resources by using the vehicle-mounted device may be, but not limited to, applied to a communication scenario in which a mobile phone Application (Application, abbreviated as APP) and a vehicle (vehicle-mounted) transmit files such as songs, lyrics, songs, covers, accompaniments, playlists, etc. 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 vehicle, and then, in case that a vehicle side triggers a play operation request for a certain song, the mobile phone APP side receives the play operation request through the interactive bidirectional control protocol, and provides the vehicle with audio resources, lyrics resources, song resources, etc. of the song through the interactive bidirectional control protocol, so as to provide a user on the vehicle side with a rich music play experience.
Alternatively, in the present embodiment, the target in-vehicle device may be, but is not limited to, a target vehicle machine, which may be, but is not limited to, an additional device configured with at least one of: a display, a processor, a memory, a network card, sound, etc. The target in-vehicle device may also be, but is not limited to, a functional device installed in or on the target vehicle machine, such as a navigation, a personal computer, etc., without limitation.
Optionally, in the present 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 so on;
optionally, in this embodiment, the additional display resource may also but not limited to include one or more types of media resources, such as audio resources, video resources, text resources, etc., and further the additional display resource may be but not limited to a reference resource for introducing or supplementing additional information of the target media resource;
further, with the target media resource as the audio resource of the target song, the additional display resource is the text resource of the lyrics of the target song and the additional resource of the song list of the target song, as shown in fig. 3, the song name of the target song 304, the text information of the target lyrics 306, the text information of the target song list 308 and the like are displayed on the display screen of the target vehicle-mounted device 302, in the related technology, only the vehicle-mounted terminal can only display the simple reference information of the target song 304, such as the song name, the singer name and the like, and in the case that the user at the vehicle-mounted terminal wants to view more reference information, the user at the vehicle-mounted terminal can only query independently through the mobile phone APP, which is particularly dangerous and inconvenient for the user at the vehicle-mounted terminal, especially the user at the vehicle-mounted terminal in running. By the method for controlling media resources by the vehicle-mounted device, the song name of the target song 304, the text information of the target lyrics 306, the text information of the target song list 308 and the like can be completely checked on the display screen of the target vehicle-mounted device 302, and further deeper operations can be performed on additional resources such as the text information of the target lyrics 306, the text information of the target song list 308 and the like, for example, a selection operation is performed 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 device may be understood as, but not limited to, performing the target operation on the target media resource, and may also be understood as, but not limited to, performing the target operation on the additional display resource associated with the target media resource, where the target operation may include, but is not limited to, at least one of: resource playing operation, resource switching operation, resource fast forward operation, resource pause operation, resource slow release operation, resource backward operation, additional resource display operation, resource jump operation, resource mode selection operation and the like;
further by way of example, in the display interface 402 of the target vehicle-mounted device shown in fig. 4, there are displayed a target media resource (such as song audio "what you do not know"), which is currently playing, and on the display interface 402, there are displayed various additional display resources or virtual components associated with the target media resource, such as song names, singers, covers, lyrics, songs, and other additional display resources, and further, such as multi-functional components for collection, accompaniment, and the like, by executing the target operations on the above-mentioned multi-functional components, it can be understood, but not limited to, executing the target operations of the component corresponding type on the target media resource, such as the target operations corresponding to the collection component being the collection operations, and specifically collecting the target media resource in the song; then the target operation corresponding to the accompaniment component is K song operation, and the accompaniment audio corresponding to the target media resource is specifically acquired;
Wherein, the lyrics can be but not limited to displaying the corresponding lyrics in real time word by word according to the playing of the lyrics; the multifunctional component can be used for executing the functions of voice song requesting, one-key playing (collection, purchase, guess you like, vehicle-mounted music radio station and the like), one-key sound effect, rhythm light and the like; the song list can be but not limited to a user collection song list established for the self operation collection of the vehicle-mounted side user, can be but not limited to a song collection under the name of a corresponding singer, and can be but not limited to a recommended song list for daily recommended song combination.
Optionally, in this embodiment, the bluetooth transmission is limited by a bluetooth transmission threshold, so that in a limited condition of bluetooth transmission, data with a data amount greater than the bluetooth transmission threshold is limited to be unable to or successfully transmitted, for example, song audio resources with a smaller data amount can be transmitted through bluetooth in the related art, but additional resources such as lyrics, song sheets, covers, etc. with a larger data amount cannot be simultaneously transmitted, for example, in the prior art, an A2DP protocol is often adopted for audio stream transmission, and an AVRCP protocol is adopted for controlling a mobile phone APP by a vehicle; however, the A2DP protocol does not transmit control command data, while the AVRCP protocol prescribes a control end and a controlled end, only unidirectional control from the control end to the controlled end can be realized, and the current control command only passes a single byte at a time, so that the limitation is large, the expansibility is poor, the bidirectional control function cannot be well completed, and the Bluetooth transmission of large data volume under the bidirectional control scene cannot be well completed;
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 are not limited to single byte at a time, flexibility is high, expandability is good, further, song audio resources with smaller data volume and additional resources such as lyrics, song sheets, covers and the like with larger transmission data volume are integrated, protocol unification and data volume compression operation on the resources are completed in the integrated processing process, the first target data obtained after the integrated processing accords with the limiting condition of Bluetooth transmission, further, after the target vehicle-mounted device successfully receives the first target data through Bluetooth transmission, the vehicle-mounted side analyzes and decompresses the first target data to obtain additional resources such as song audio resources, lyrics, song sheets, covers and the like, and the additional resources such as song audio resources, song sheets, covers and the like are processed by using software processing packages carried by the vehicle side, so that a user presents diversified song playing interfaces on the vehicle-mounted side, and a more comprehensive control space can be provided for the user.
Optionally, in this embodiment, before receiving the target operation request triggered on the target in-vehicle device, an interaction control protocol, such as a bluetooth BLE/SPP communication protocol, may be but not limited to be encapsulated between the target terminal on the terminal side and the target in-vehicle device on the in-vehicle side in advance, where the BLE communication protocol and the SPP communication protocol in the bluetooth BLE/SPP communication protocol may be but not limited to be used in various combinations, for example, the above combinations are determined according to the system type of the target terminal on the terminal side or the target in-vehicle device on the in-vehicle side, specifically, an understandable scenario is described, if the system type of the target terminal on the terminal side is Android system (Android), then the SPP communication protocol may be but not limited to be selected, otherwise, if the system type of the target terminal on the terminal side is apple system (IOS), then the BLE communication protocol may be but not limited to be selected, and the technical logic thereof may be but not limited to be IOS and) may be different for the case of BLE communication protocol and SPP communication support, such as the spios does not support the Android protocol by default, so that the spios protocol is considered; while 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 rate are slightly worse than those of the SPP communication protocol, and further, the communication modes of using a plurality of combination modes between the BLE communication protocol and the SPP communication protocol are used for enhancing compatibility, and facilitating the development and realization of products, so that under the interactive control protocol, data such as requests, instructions, resources and the like are corresponding to a specific data format, and real-time bidirectional communication between a terminal side and a vehicle-mounted side is realized;
Further, taking the target media resource as the song audio resource as an example, the vehicle-mounted side can customize the required function buttons (such as playing song list/playing mode setting/voice song requesting and the like) according to the functions supported by the control protocol. After Bluetooth connection is carried out between the vehicle-mounted side and the terminal side, the corresponding terminal APP is opened. When a function button of the vehicle-mounted side is pressed, the vehicle-mounted side sends data in a corresponding format to a terminal APP according to a control protocol, and the terminal APP can execute corresponding response after analyzing according to the protocol;
similarly, the terminal APP can also send music command data to the vehicle-mounted side in real time, so that 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 according to the interactive control protocol.
In addition, by using the interactive control protocol, the terminal APP can send media resource data such as a song list, a singer list, a ranking list and the like to the vehicle-mounted side for displaying, and after the user selects media resources to be played on the vehicle-mounted side, the vehicle-mounted side sends a command to the terminal APP, and the terminal APP responds and plays corresponding music. The whole process does not need a user to operate the target terminal, so that the running is safer.
It should be noted that, the received bluetooth protocol identifier is utilized to integrate the target media resource with smaller data volume and the additional display resource with larger data volume, so as to obtain the first target data with unified protocol and smaller data volume 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 simple target media resource and simultaneously control the complex additional display resource.
Further by way of example, as shown in fig. 5, if the target media resource is a video resource corresponding to "video 2", when the in-vehicle player 506 plays "video 1", the in-vehicle player responds to the target operation of "play next video" to trigger a target operation request, and sends the target operation request to the target terminal 502 through bluetooth transmission, where the target operation request carries the video identifier of "video 2"; further, when the target terminal 502 receives the target operation request, it responds to the target operation request to obtain first target data, where the first target data includes at least a video resource of "video 2" and an additional display resource (such as a subtitle, a tone 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 and plays the next video resource "video 2" of "video 1"; in addition, if during the playing process of "video 2", the display operation of "view related content of the currently playing video" is responded to trigger the target display request, and then the target vehicle-mounted device 504 may, but is not limited to, respond to the target display request, search the received additional display resource for the corresponding content to be displayed, and display the content on the vehicle-mounted player 506, so as to meet the diversified control requirements of the user on the vehicle-mounted side.
According to the embodiment provided by the application, first target data sent by a target terminal are received, wherein the first target data are data obtained after integrating processing of target media resources and additional display resources 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 target vehicle-mounted equipment, 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 equipment perform resource data transmission, the target media resources are resources corresponding to the resource identifier carried in the target operation request, the additional display resources are resources required when the target media resources are operated on the target vehicle-mounted equipment, the data size of the additional display resources is larger than a Bluetooth transmission threshold, and the data size of the first target data is smaller than or equal to the Bluetooth transmission threshold; and executing the operation requested by the target operation request on the first target data, integrating the target media resources with smaller data quantity and the additional display resources with larger data quantity by utilizing the Bluetooth protocol identification to obtain the first target data with unified protocol and smaller data quantity than or equal to a Bluetooth transmission threshold value, and further transmitting the first target data to the 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, thereby achieving the technical purpose of controlling the more comprehensive media resources on the vehicle-mounted equipment, and further realizing the technical effect of improving the comprehensiveness of the control media resources of the vehicle-mounted equipment.
As an alternative, 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 first target data to obtain first sub-data and second sub-data;
s2, carrying out unpacking processing on the first sub-data according to a Bluetooth communication protocol indicated by the Bluetooth protocol identification so as to obtain a target media resource;
and S3, carrying out unpacking processing on the second sub-data according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification so as to obtain additional display resources.
It should be noted that, splitting the first target data to obtain first sub-data and second sub-data; unpacking the first sub-data according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain a target media resource; and decapsulating the second sub-data according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain additional display resources.
According to the embodiment provided by the application, splitting processing is carried out on the first target data so as to obtain first sub-data and second sub-data; unpacking the first sub-data according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification to obtain a target media resource; and decapsulating the second sub data according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain additional display resources, so that the aim of integrating the data format of a resource to be transmitted is fulfilled, and the effect of improving the data processing efficiency is realized.
As an alternative, the decapsulating the second sub-data according to the bluetooth communication protocol indicated by the bluetooth protocol identifier, to obtain an additional display resource, including:
s1, determining a resource type identifier to be decoded, check data to be decoded and a corresponding sorting position of resource content to be decoded in second sub-data according to a protocol format of a Bluetooth communication protocol indicated by a 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 sorting position; performing decoding processing;
s2, determining the decoded resource type identifier, the decoded check data and the decoded resource content as second sub-data.
Optionally, in this embodiment, each time the bluetooth communication protocol indicated by the bluetooth protocol identifier requires to send a resource, the sent resource needs to be encoded and arranged according to a predetermined format, and a resource type identifier (such as a specific type of an additional display resource, for example, a song, and the additional display resource may be subdivided into at least one of a lyric type, a cover, a type play list type, and the like), and corresponding resource content, and additional check data for checking is filled in a predetermined position according to a predetermined check manner, so as to form a complete resource packet;
And the receiver checks the resource package (including the length and the accuracy of the resource) according to the protocol convention after receiving the resource package, and obtains the resource content and the resource type sent by the sender from the resource package when the resource is judged to be the correct resource after confirming that the resource package meets the checking convention of the protocol. And transmits a resource packet of a specific format informing the sender that the resource has been received. If the verification fails, the receiver can send a resource packet with a specific format to inform the sender of the reception error.
By way of further illustration, optional second sub-data, for example, as shown in fig. 6, may be obtained by unpacking 602 a header, a data length, a data type (which may be understood as a resource type identifier), a body of data (which may be understood as the resource content of an additional display resource), check data, a trailer, and the like.
It should be noted that, according to the protocol format of the bluetooth communication protocol indicated by the bluetooth protocol identifier, determining the resource type identifier to be decoded, the check data to be decoded, and the ordering position corresponding to the resource content to be decoded in the second sub-data, and according to the ordering position, determining the resource type identifier to be decoded, the check data to be decoded, and the resource content to be decoded; performing decoding processing; and determining the decoded resource type identifier, the decoded check data and the decoded resource content as second sub-data.
By the embodiment provided by the application, it is to be noted that, according to the protocol format of the bluetooth communication protocol indicated by the bluetooth protocol identifier, determining the resource type identifier to be decoded, the check data to be decoded, and the corresponding ordering position of the resource content to be decoded in the second sub-data, and according to the ordering position, determining the resource type identifier to be decoded, the check data to be decoded, and the resource content to be decoded; performing decoding processing; the decoded resource type identifier, the decoded check data and the decoded resource content are determined to be the second sub-data, so that the purpose of processing the additional display resource according to the specific data format is achieved, and the effect of improving the processing efficiency of the additional display resource is realized.
As an alternative, performing the operation requested by the target operation request on the first target data includes one of:
s1, when a target operation request is used for requesting to play or switch to a target media resource and the target media resource is an audio resource, 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;
S2, when the target operation request is used for requesting playing or switching 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.
Alternatively, in the present embodiment, the audio resource may be, but is not limited to, a song resource, a station resource, a voiced novel resource, a vocal resource, or the like. Video assets may be, but are not limited to, on-demand assets, live assets, movie assets, television shows assets, variety assets, music clips assets, photo assets, small items assets, and the like.
It should be noted that, when the target operation request is used for requesting 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 executed 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 playing or switching 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, performing the operation requested by the target operation request on the first target data includes one of:
in the case where the target operation request is for requesting display of a resource list associated with the target media resource, the display operation requested by the target operation request is performed on the resource list, wherein the additional display resources include the resource list.
Alternatively, in the present embodiment, the resource list may be used, but is not limited to, to display one or more types of media resources in a certain agreed sequence.
In the case where the target operation request is for requesting to display the resource list associated with the target media resource, the display operation requested by the target operation request is performed on the resource list, wherein the additional display resource includes the resource list.
By way of further example, as shown in fig. 4, the resource list may be, but is not limited to, a song list of the display interface 402, in which song names including songs currently playing and song names of other songs are displayed, and by performing an operation on a song name (e.g., "rainy-direct") of the resource list, the controlled playing of the song "rainy-direct" may be, but is not limited to, triggered.
As an alternative, performing the operation requested by the target operation request 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.
Alternatively, in this embodiment, the vehicle-mounted control data may be, but not limited to, an interaction device in the target vehicle-mounted device, for example, the vehicle-mounted control data is rhythm data, drum point data, audio data, sound effect data of the target media resource, where the interaction device may be, but not limited to, a device that receives a control signal to complete a corresponding operation and displays an operation result, for example, vehicle-mounted light, vehicle-mounted air conditioner, vehicle-mounted sound, and the like. For example, when the target sound effect data is played, the interactive equipment executes the interactive operation corresponding to the target sound effect data, such as displaying the interactive light, playing the interactive sound effect, and the like.
When the target operation request is used for requesting to adjust the playing mode of the target media resource to the target playing mode, the adjustment operation requested by the target operation request is executed on the vehicle-mounted control data corresponding to the target playing mode, wherein the additional display resource comprises the vehicle-mounted control data.
Further by way of example, as shown in fig. 7, optionally, in the case that the target operation request is used to request to adjust the playing mode of the target media resource to the target playing mode, the on-vehicle control data 704 corresponding to the target playing mode is acquired according to the target media resource 702, where, assuming that the target media resource 702 is an audio resource, the on-vehicle control data 704 may be, but is not limited to, audio data (curve is used for audio change, and bold horizontal line is used to acquire audio data reaching the audio threshold); further, the interaction device 708 of the target in-vehicle device 706 is controlled according to the in-vehicle control data 704, where, assuming that the interaction device 708 is a light device installed outside the target in-vehicle device 706, the flicker of the light device may be controlled to be dark through the acquired audio data (i.e. the audio data with the curve corresponding to the intersection point of the thickened cross line) reaching the audio threshold, for example, when the audio data reaching the audio threshold is played, the light device is turned on to implement light illumination, otherwise, when the audio data not reaching the audio threshold is played, the light device is turned off to implement light dark. Alternatively, the control of the light may be, but not limited to, controlling the flicker, color and brightness of the light, which is not limited herein.
In addition, still alternatively, based on the scenario shown in fig. 7, continuing to use the scenario shown in fig. 8, in a case where the target operation request is used to request to adjust the playing mode of the target media resource to the target playing mode, acquiring the in-vehicle control data 704 corresponding to the target playing mode 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 (curve is used for audio variation, and bold horizontal line is used to acquire audio data reaching the audio threshold); further, the interaction device 802 of the target vehicle-mounted device 706 is controlled according to the vehicle-mounted control data 704, where, assuming that the interaction device 708 is a light device installed in the target vehicle-mounted device 706, the flicker of the light device may be controlled to be dark through the acquired audio data (i.e. the audio data with the curve corresponding to the intersection point of the thickened cross line) reaching the audio threshold, for example, when the audio data reaching the audio threshold is played, the light device is turned on to realize light illumination, otherwise, when the audio data not reaching the audio threshold is played, the light device is turned off to realize light dark, and in this process, the user may also turn on the K song function, thereby achieving a prompt visual sense of KTV in the vehicle.
According to the embodiment provided by the application, 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, the adjustment operation requested by the target operation request is executed on the vehicle-mounted control data corresponding to the target playing 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 alternative, 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 a data packet 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;
s2, installing the target tool data packet.
It should be noted that, according to the bluetooth communication protocol indicated by the bluetooth protocol identifier, the software development kit (Sofware Development, abbreviated as SDK) is encapsulated into a target tool data packet, and the target tool data packet is used to provide services for both the transceiver (the target terminal and the target vehicle-mounted device). The SDK can automatically complete filling of check data and sending of a resource packet for the resource type and the resource content submitted by a sender. On the receiving side, after receiving the data packet, the SDK can automatically complete the resource verification, take out the original resource content and the resource type and submit the original resource content and the resource type to the receiving side. Therefore, after integrating the SDK, the sender and the receiver do not need to care about the details of resource sending and checking, so that 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 a data packet 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; the target tool data packet is installed, so that the purpose of completing efficient processing of resources by using the tool data packet is achieved, and the effect of improving the resource control efficiency is achieved.
As an alternative, before receiving the first target data sent by the target terminal, the method includes:
s1, acquiring a first control request triggered on target vehicle-mounted equipment, wherein the first control request is used for requesting control adjustment of target media resources and/or additional display resources on the target vehicle-mounted equipment;
s2, sending a first control request to a target terminal;
s3, obtaining operation completion information, wherein the operation completion information is used for prompting the target terminal to complete a control adjustment operation on the target media resource and/or the additional display resource according to a control request.
Alternatively, in the present embodiment, bidirectional control may be realized between the target in-vehicle apparatus and the target terminal, that is, a control request generated by the target in-vehicle apparatus side is used to control the target terminal, or a control request generated by the target terminal is used to control the target in-vehicle apparatus.
As an alternative, before receiving the first target data sent by the target terminal, the method includes:
s1, receiving a second control request triggered on a target terminal, wherein the second control request is used for requesting control adjustment of target media resources and/or additional display resources on target vehicle-mounted equipment;
s2, responding to a second control request, and executing a second control adjustment operation on the target media resource and/or the additional display resource;
and S3, 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 control adjustment operation is completed.
Alternatively, in this embodiment, since the target terminal and the target vehicle-mounted device use the same bluetooth communication protocol, the same data may be transmitted and received, but not limited to, so that interaction between the two parties is kept consistent.
Optionally, in this embodiment, it is also possible, but not limited to, that different object identifiers are allocated to the target terminal and the target vehicle-mounted device, so that the target terminal and the target vehicle-mounted device each only perform control response on data matched with own responsibilities, and interaction between the target terminal and the target vehicle-mounted device is inconsistent. Such as real-time lyric data, control data, may be, but is not limited to, only sent from the target terminal to the target in-vehicle device, which responds. And requests to play accompaniment, cut song command, etc., it may be, but is not limited to, issued only from the target in-vehicle device to the target terminal 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 the target media resource and/or the additional display resource on the target vehicle-mounted equipment; 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 and adjustment operation is executed, sending operation completion information to the target terminal, wherein the operation completion information is used for prompting that the control and adjustment operation is executed, thereby achieving the aim of controlling the bidirectional media resource between the target terminal and the target vehicle-mounted equipment and realizing the effect of improving the comprehensiveness of the media resource control.
As an alternative, for easy understanding, taking fig. 10 as an example, a data interaction process between the target terminal and the target vehicle-mounted device is described as follows:
step S1002, the target vehicle-mounted device 1002 sends a triggered target operation request to the target terminal 1004 through a bluetooth protocol, where the target operation request at least carries a resource identifier;
step S1004, in the case of receiving the target operation request, the target terminal 1004 forwards the resource identifier to the media resource cloud 1006, so that the media resource cloud 1006 searches for the target media resource corresponding to the resource identifier and the 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 an integration process on the target media resource and the additional display resource to obtain first target data;
step S1010, the target terminal 1004 transmits the first target data to the target in-vehicle device 1002 through the bluetooth protocol;
step S1012, the target vehicle-mounted 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 foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus for controlling a media resource by an in-vehicle device for implementing the method for controlling a media resource by an in-vehicle device. As shown in fig. 11, the apparatus includes:
the first receiving unit 1102 is configured to receive a target operation request triggered on a target vehicle-mounted device, where the target operation request carries a resource identifier of a target media resource that is requested to be operated on the target vehicle-mounted device and a bluetooth protocol identifier, where the bluetooth protocol identifier is used to indicate a bluetooth communication protocol that needs to be adopted when the target terminal and the target vehicle-mounted device perform resource data transmission;
a first response unit 1104, configured to obtain, in response to the target operation request, 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 integrate the target media resource and the additional display resource according to the bluetooth communication protocol indicated by the bluetooth protocol identifier, so as to obtain first target data, where a data amount of the first target data is less than or equal to a bluetooth transmission threshold;
The first sending unit 1108 is configured to send the first target data to the target vehicle-mounted device, so as to perform, at the target vehicle-mounted device, an operation requested by the target operation request on the first target data.
Optionally, in this embodiment, the device for controlling media resources by using the vehicle-mounted device may be, but not limited to, applied to a communication scenario in which a mobile phone Application (Application, abbreviated as APP) and a vehicle (on-board) transmit files such as songs, lyrics, songs, covers, accompaniments, playlists, etc. 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 vehicle, and then, in case that a vehicle side triggers a play operation request for a certain song, the mobile phone APP side receives the play operation request through the interactive bidirectional control protocol, and provides the vehicle with audio resources, lyrics resources, song resources, etc. of the song through the interactive bidirectional control protocol, so as to provide a user on the vehicle side with a rich music play experience.
Alternatively, in the present embodiment, the target in-vehicle device may be, but is not limited to, a target vehicle machine, which may be, but is not limited to, an additional device configured with at least one of: a display, a processor, a memory, a network card, sound, etc. The target in-vehicle device may also be, but is not limited to, a functional device installed in or on the target vehicle machine, such as a navigation, a personal computer, etc., without limitation.
Optionally, in the present 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 so on;
optionally, in this embodiment, the additional display resource may also but not limited to include one or more types of media resources, such as audio resources, video resources, text resources, etc., and further the additional display resource may be but not limited to a reference resource for introducing or supplementing additional information of the target media resource;
further, with the target media resource as the audio resource of the target song, the additional display resource is the text resource of the lyrics of the target song and the additional resource of the song list of the target song, as shown in fig. 3, the song name of the target song 304, the text information of the target lyrics 306, the text information of the target song list 308 and the like are displayed on the display screen of the target vehicle-mounted device 302, in the related technology, only the vehicle-mounted terminal can only display the simple reference information of the target song 304, such as the song name, the singer name and the like, and in the case that the user at the vehicle-mounted terminal wants to view more reference information, the user at the vehicle-mounted terminal can only query independently through the mobile phone APP, which is particularly dangerous and inconvenient for the user at the vehicle-mounted terminal, especially the user at the vehicle-mounted terminal in running. The device for controlling media resources by the vehicle-mounted device is not limited to the method for completely viewing the song name of the target song 304, the text information of the target song lyrics 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 deeper operations on additional resources such as the text information of the target song lyrics 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 device may be understood as, but not limited to, performing the target operation on the target media resource, and may also be understood as, but not limited to, performing the target operation on the additional display resource associated with the target media resource, where the target operation may include, but is not limited to, at least one of: resource playing operation, resource switching operation, resource fast forward operation, resource pause operation, resource slow release operation, resource backward operation, additional resource display operation, resource jump operation, resource mode selection operation and the like;
further by way of example, in the display interface 402 of the target vehicle-mounted device shown in fig. 4, there are displayed a target media resource (such as song audio "what you do not know"), which is currently playing, and on the display interface 402, there are displayed various additional display resources or virtual components associated with the target media resource, such as song names, singers, covers, lyrics, songs, and other additional display resources, and further, such as multi-functional components for collection, accompaniment, and the like, by executing the target operations on the above-mentioned multi-functional components, it can be understood, but not limited to, executing the target operations of the component corresponding type on the target media resource, such as the target operations corresponding to the collection component being the collection operations, and specifically collecting the target media resource in the song; then the target operation corresponding to the accompaniment component is K song operation, and the accompaniment audio corresponding to the target media resource is specifically acquired;
Wherein, the lyrics can be but not limited to displaying the corresponding lyrics in real time word by word according to the playing of the lyrics; the multifunctional component can be used for executing the functions of voice song requesting, one-key playing (collection, purchase, guess you like, vehicle-mounted music radio station and the like), one-key sound effect, rhythm light and the like; the song list can be but not limited to a user collection song list established for the self operation collection of the vehicle-mounted side user, can be but not limited to a song collection under the name of a corresponding singer, and can be but not limited to a recommended song list for daily recommended song combination.
Optionally, in this embodiment, the bluetooth transmission is limited by a bluetooth transmission threshold, so that in a limited condition of bluetooth transmission, data with a data amount greater than the bluetooth transmission threshold is limited to be unable to or successfully transmitted, for example, song audio resources with a smaller data amount can be transmitted through bluetooth in the related art, but additional resources such as lyrics, song sheets, covers, etc. with a larger data amount cannot be simultaneously transmitted, for example, in the prior art, an A2DP protocol is often adopted for audio stream transmission, and an AVRCP protocol is adopted for controlling a mobile phone APP by a vehicle; however, the A2DP protocol does not transmit control command data, while the AVRCP protocol prescribes a control end and a controlled end, only unidirectional control from the control end to the controlled end can be realized, and the current control command only passes a single byte at a time, so that the limitation is large, the expansibility is poor, the bidirectional control function cannot be well completed, and the Bluetooth transmission of large data volume under the bidirectional control scene cannot be well completed;
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 are not limited to single byte at a time, flexibility is high, expandability is good, further, song audio resources with smaller data volume and additional resources such as lyrics, song sheets, covers and the like with larger transmission data volume are integrated, protocol unification and data volume compression operation on the resources are completed in the integrated processing process, the first target data obtained after the integrated processing accords with the limiting condition of Bluetooth transmission, further, after the target vehicle-mounted device successfully receives the first target data through Bluetooth transmission, the vehicle-mounted side analyzes and decompresses the first target data to obtain additional resources such as song audio resources, lyrics, song sheets, covers and the like, and the additional resources such as song audio resources, song sheets, covers and the like are processed by using software processing packages carried by the vehicle side, so that a user presents diversified song playing interfaces on the vehicle-mounted side, and a more comprehensive control space can be provided for the user.
Optionally, in this embodiment, before receiving the target operation request triggered on the target in-vehicle device, an interaction control protocol, such as a bluetooth BLE/SPP communication protocol, may be but not limited to be encapsulated between the target terminal on the terminal side and the target in-vehicle device on the in-vehicle side in advance, where the BLE communication protocol and the SPP communication protocol in the bluetooth BLE/SPP communication protocol may be but not limited to be used in various combinations, for example, the above combinations are determined according to the system type of the target terminal on the terminal side or the target in-vehicle device on the in-vehicle side, specifically, an understandable scenario is described, if the system type of the target terminal on the terminal side is Android system (Android), then the SPP communication protocol may be but not limited to be selected, otherwise, if the system type of the target terminal on the terminal side is apple system (IOS), then the BLE communication protocol may be but not limited to be selected, and the technical logic thereof may be but not limited to be IOS and) may be different for the case of BLE communication protocol and SPP communication support, such as the spios does not support the Android protocol by default, so that the spios protocol is considered; while 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 rate are slightly worse than those of the SPP communication protocol, and further, the communication modes of using a plurality of combination modes between the BLE communication protocol and the SPP communication protocol are used for enhancing compatibility, and facilitating the development and realization of products, so that under the interactive control protocol, data such as requests, instructions, resources and the like are corresponding to a specific data format, and real-time bidirectional communication between a terminal side and a vehicle-mounted side is realized;
Further, taking the target media resource as the song audio resource as an example, the vehicle-mounted side can customize the required function buttons (such as playing song list/playing mode setting/voice song requesting and the like) according to the functions supported by the control protocol. After Bluetooth connection is carried out between the vehicle-mounted side and the terminal side, the corresponding terminal APP is opened. When a function button of the vehicle-mounted side is pressed, the vehicle-mounted side sends data in a corresponding format to a terminal APP according to a control protocol, and the terminal APP can execute corresponding response after analyzing according to the protocol;
similarly, the terminal APP can also send music command data to the vehicle-mounted side in real time, so that 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 according to the interactive control protocol.
In addition, by using the interactive control protocol, the terminal APP can send media resource data such as a song list, a singer list, a ranking list and the like to the vehicle-mounted side for displaying, and after the user selects media resources to be played on the vehicle-mounted side, the vehicle-mounted side sends a command to the terminal APP, and the terminal APP responds and plays corresponding music. The whole process does not need a user to operate the target terminal, so that the running is safer.
It should be noted that, the received bluetooth protocol identifier is utilized to integrate the target media resource with smaller data volume and the additional display resource with larger data volume, so as to obtain the first target data with unified protocol and smaller data volume 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 simple target media resource and simultaneously control the complex additional display resource.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
According to the embodiment provided by the application, the target operation request triggered on the target vehicle-mounted equipment is received, wherein the target operation request carries the resource identifier of the target media resource requested to be operated on the target vehicle-mounted equipment and the Bluetooth protocol identifier, 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 equipment carry out resource data transmission; responding to a 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 target vehicle-mounted equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold value; integrating 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, wherein the data volume of the first target data is smaller than or equal to a Bluetooth transmission threshold value; the method comprises the steps of sending first target data to target vehicle-mounted equipment, executing an operation requested by a target operation request on the first target data by the target vehicle-mounted equipment, integrating target media resources with smaller data quantity and additional display resources with larger data quantity by utilizing Bluetooth protocol identification to obtain first target data with unified protocol and smaller data quantity than or equal to a Bluetooth transmission threshold, and further transmitting the first target data to the target vehicle-mounted equipment through Bluetooth, so that the target vehicle-mounted equipment can control complex additional display resources while controlling simple target media resources, and further achieving 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 control media resources.
As an alternative, the integrating unit 1106 includes:
the first encapsulation module is used for encapsulating the target media resource according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification so as to obtain first sub-data matched with the communication protocol of the target vehicle-mounted equipment;
the second encapsulation module is used for encapsulating the additional display resources according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification so as to obtain second sub-data matched with the communication protocol of the target vehicle-mounted equipment;
and the integration module is used for integrating the first sub data and the second sub data to obtain first target data.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
As an alternative, the second packaging module includes:
the first acquisition sub-module is used for acquiring a resource type identifier corresponding to the additional display resource, verification data corresponding to a Bluetooth communication protocol adopted by the target vehicle-mounted equipment and resource content of the additional display resource;
the encoding sub-module is used for 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 sub-data.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
As an alternative, the first response unit 1104 includes one of:
the first acquisition module is used for acquiring the audio resource and the audio description information matched with the audio resource when the target operation request is used for requesting to play or switch to the target media resource and the target media resource is the audio resource, wherein the additional display resource comprises the audio description information;
the second obtaining module is used for obtaining the video resource and the video description information matched with the video resource when 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, wherein the additional display resource comprises the video description information.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
As an alternative, the first response unit 1104 includes:
and a third obtaining module, configured to obtain a resource list when the target operation request is used to request to display a resource list associated with the target media resource, where the additional display resource includes the resource list.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
As an alternative, the first response unit 1104 includes:
and the fourth acquisition module is used for acquiring 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.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
As an alternative, it includes:
a first acquisition unit configured to acquire a software development kit for operating a target media resource in a target in-vehicle apparatus before receiving a target operation request triggered on the target in-vehicle apparatus;
the packaging unit is used for packaging the software development kit according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier to obtain a target tool data packet 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.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
As an alternative, it includes:
the system comprises a request unit, a control unit and a control unit, wherein the request unit is used for receiving a first control request triggered on target vehicle-mounted equipment, and the first control request is used for requesting control adjustment of target media resources and/or additional display resources on a target terminal;
an operation unit configured to execute a first control adjustment operation on the target media resource and/or the additional display resource according to the first control request in response to the first control request;
and a completion unit configured to send first operation completion information to the target in-vehicle apparatus when the first control adjustment operation has been performed, where the first operation completion information is used to prompt that the first control adjustment operation has been performed.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
As an alternative, it includes:
the second acquisition unit is used for acquiring a second control request triggered on the target terminal after the first target data are sent to the target vehicle-mounted equipment, wherein the second control request is used for requesting to control and adjust target media resources and/or additional display resources on the target vehicle-mounted equipment;
A second transmitting unit configured to transmit a second control request to the target in-vehicle apparatus after transmitting the first target data to the target in-vehicle apparatus;
the third obtaining unit is used for obtaining second operation completion information after the first target data are sent to the target vehicle-mounted device, wherein the second operation completion information is used for prompting the target vehicle-mounted device to complete second control adjustment operation on the target media resource and/or the additional display resource according to the second control request.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus for controlling a media resource by an in-vehicle device for implementing the method for controlling a media resource by an in-vehicle device. As shown in fig. 12, the apparatus includes:
the second receiving unit 1202 is configured to receive first target data sent by the 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 the target vehicle-mounted device, the bluetooth protocol identifier is used to indicate a bluetooth communication protocol that needs to be adopted when the target terminal performs resource data transmission with the target vehicle-mounted device, 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 that needs to be required when the target media resource is operated on the target vehicle-mounted device, and a data volume of the additional display resource is greater than a bluetooth transmission threshold, and a data volume of the first target data is less than or equal to the bluetooth transmission threshold;
An execution unit 1204, configured to execute the operation requested by the target operation request on the first target data.
Optionally, in this embodiment, the device for controlling media resources by using the vehicle-mounted device may be, but not limited to, applied to a communication scenario in which a mobile phone Application (Application, abbreviated as APP) and a vehicle (on-board) transmit files such as songs, lyrics, songs, covers, accompaniments, playlists, etc. 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 vehicle, and then, in case that a vehicle side triggers a play operation request for a certain song, the mobile phone APP side receives the play operation request through the interactive bidirectional control protocol, and provides the vehicle with audio resources, lyrics resources, song resources, etc. of the song through the interactive bidirectional control protocol, so as to provide a user on the vehicle side with a rich music play experience.
Alternatively, in the present embodiment, the target in-vehicle device may be, but is not limited to, a target vehicle machine, which may be, but is not limited to, an additional device configured with at least one of: a display, a processor, a memory, a network card, sound, etc. The target in-vehicle device may also be, but is not limited to, a functional device installed in or on the target vehicle machine, such as a navigation, a personal computer, etc., without limitation.
Optionally, in the present 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 so on;
optionally, in this embodiment, the additional display resource may also but not limited to include one or more types of media resources, such as audio resources, video resources, text resources, etc., and further the additional display resource may be but not limited to a reference resource for introducing or supplementing additional information of the target media resource;
further, with the target media resource as the audio resource of the target song, the additional display resource is the text resource of the lyrics of the target song and the additional resource of the song list of the target song, as shown in fig. 3, the song name of the target song 304, the text information of the target lyrics 306, the text information of the target song list 308 and the like are displayed on the display screen of the target vehicle-mounted device 302, in the related technology, only the vehicle-mounted terminal can only display the simple reference information of the target song 304, such as the song name, the singer name and the like, and in the case that the user at the vehicle-mounted terminal wants to view more reference information, the user at the vehicle-mounted terminal can only query independently through the mobile phone APP, which is particularly dangerous and inconvenient for the user at the vehicle-mounted terminal, especially the user at the vehicle-mounted terminal in running. The device for controlling media resources by the vehicle-mounted device is not limited to the method for completely viewing the song name of the target song 304, the text information of the target song lyrics 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 deeper operations on additional resources such as the text information of the target song lyrics 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 device may be understood as, but not limited to, performing the target operation on the target media resource, and may also be understood as, but not limited to, performing the target operation on the additional display resource associated with the target media resource, where the target operation may include, but is not limited to, at least one of: resource playing operation, resource switching operation, resource fast forward operation, resource pause operation, resource slow release operation, resource backward operation, additional resource display operation, resource jump operation, resource mode selection operation and the like;
further by way of example, in the display interface 402 of the target vehicle-mounted device shown in fig. 4, there are displayed a target media resource (such as song audio "what you do not know"), which is currently playing, and on the display interface 402, there are displayed various additional display resources or virtual components associated with the target media resource, such as song names, singers, covers, lyrics, songs, and other additional display resources, and further, such as multi-functional components for collection, accompaniment, and the like, by executing the target operations on the above-mentioned multi-functional components, it can be understood, but not limited to, executing the target operations of the component corresponding type on the target media resource, such as the target operations corresponding to the collection component being the collection operations, and specifically collecting the target media resource in the song; then the target operation corresponding to the accompaniment component is K song operation, and the accompaniment audio corresponding to the target media resource is specifically acquired;
Wherein, the lyrics can be but not limited to displaying the corresponding lyrics in real time word by word according to the playing of the lyrics; the multifunctional component can be used for executing the functions of voice song requesting, one-key playing (collection, purchase, guess you like, vehicle-mounted music radio station and the like), one-key sound effect, rhythm light and the like; the song list can be but not limited to a user collection song list established for the self operation collection of the vehicle-mounted side user, can be but not limited to a song collection under the name of a corresponding singer, and can be but not limited to a recommended song list for daily recommended song combination.
Optionally, in this embodiment, the bluetooth transmission is limited by a bluetooth transmission threshold, so that in a limited condition of bluetooth transmission, data with a data amount greater than the bluetooth transmission threshold is limited to be unable to or successfully transmitted, for example, song audio resources with a smaller data amount can be transmitted through bluetooth in the related art, but additional resources such as lyrics, song sheets, covers, etc. with a larger data amount cannot be simultaneously transmitted, for example, in the prior art, an A2DP protocol is often adopted for audio stream transmission, and an AVRCP protocol is adopted for controlling a mobile phone APP by a vehicle; however, the A2DP protocol does not transmit control command data, while the AVRCP protocol prescribes a control end and a controlled end, only unidirectional control from the control end to the controlled end can be realized, and the current control command only passes a single byte at a time, so that the limitation is large, the expansibility is poor, the bidirectional control function cannot be well completed, and the Bluetooth transmission of large data volume under the bidirectional control scene cannot be well completed;
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 are not limited to single byte at a time, flexibility is high, expandability is good, further, song audio resources with smaller data volume and additional resources such as lyrics, song sheets, covers and the like with larger transmission data volume are integrated, protocol unification and data volume compression operation on the resources are completed in the integrated processing process, the first target data obtained after the integrated processing accords with the limiting condition of Bluetooth transmission, further, after the target vehicle-mounted device successfully receives the first target data through Bluetooth transmission, the vehicle-mounted side analyzes and decompresses the first target data to obtain additional resources such as song audio resources, lyrics, song sheets, covers and the like, and the additional resources such as song audio resources, song sheets, covers and the like are processed by using software processing packages carried by the vehicle side, so that a user presents diversified song playing interfaces on the vehicle-mounted side, and a more comprehensive control space can be provided for the user.
Optionally, in this embodiment, before receiving the target operation request triggered on the target in-vehicle device, an interaction control protocol, such as a bluetooth BLE/SPP communication protocol, may be but not limited to be encapsulated between the target terminal on the terminal side and the target in-vehicle device on the in-vehicle side in advance, where the BLE communication protocol and the SPP communication protocol in the bluetooth BLE/SPP communication protocol may be but not limited to be used in various combinations, for example, the above combinations are determined according to the system type of the target terminal on the terminal side or the target in-vehicle device on the in-vehicle side, specifically, an understandable scenario is described, if the system type of the target terminal on the terminal side is Android system (Android), then the SPP communication protocol may be but not limited to be selected, otherwise, if the system type of the target terminal on the terminal side is apple system (IOS), then the BLE communication protocol may be but not limited to be selected, and the technical logic thereof may be but not limited to be IOS and) may be different for the case of BLE communication protocol and SPP communication support, such as the spios does not support the Android protocol by default, so that the spios protocol is considered; while 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 rate are slightly worse than those of the SPP communication protocol, and further, the communication modes of using a plurality of combination modes between the BLE communication protocol and the SPP communication protocol are used for enhancing compatibility, and facilitating the development and realization of products, so that under the interactive control protocol, data such as requests, instructions, resources and the like are corresponding to a specific data format, and real-time bidirectional communication between a terminal side and a vehicle-mounted side is realized;
Further, taking the target media resource as the song audio resource as an example, the vehicle-mounted side can customize the required function buttons (such as playing song list/playing mode setting/voice song requesting and the like) according to the functions supported by the control protocol. After Bluetooth connection is carried out between the vehicle-mounted side and the terminal side, the corresponding terminal APP is opened. When a function button of the vehicle-mounted side is pressed, the vehicle-mounted side sends data in a corresponding format to a terminal APP according to a control protocol, and the terminal APP can execute corresponding response after analyzing according to the protocol;
similarly, the terminal APP can also send music command data to the vehicle-mounted side in real time, so that 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 according to the interactive control protocol.
In addition, by using the interactive control protocol, the terminal APP can send media resource data such as a song list, a singer list, a ranking list and the like to the vehicle-mounted side for displaying, and after the user selects media resources to be played on the vehicle-mounted side, the vehicle-mounted side sends a command to the terminal APP, and the terminal APP responds and plays corresponding music. The whole process does not need a user to operate the target terminal, so that the running is safer.
It should be noted that, the received bluetooth protocol identifier is utilized to integrate the target media resource with smaller data volume and the additional display resource with larger data volume, so as to obtain the first target data with unified protocol and smaller data volume 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 simple target media resource and simultaneously control the complex additional display resource.
Specific embodiments may refer to examples shown in the method for controlling media resources by the vehicle-mounted device, and this example is not described herein.
According to the embodiment provided by the application, first target data sent by a target terminal are received, wherein the first target data are data obtained after integrating processing of target media resources and additional display resources 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 target vehicle-mounted equipment, 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 equipment perform resource data transmission, the target media resources are resources corresponding to the resource identifier carried in the target operation request, the additional display resources are resources required when the target media resources are operated on the target vehicle-mounted equipment, the data size of the additional display resources is larger than a Bluetooth transmission threshold, and the data size of the first target data is smaller than or equal to the Bluetooth transmission threshold; and executing the operation requested by the target operation request on the first target data, integrating the target media resources with smaller data quantity and the additional display resources with larger data quantity by utilizing the Bluetooth protocol identification to obtain the first target data with unified protocol and smaller data quantity than or equal to a Bluetooth transmission threshold value, and further transmitting the first target data to the 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, thereby achieving the technical purpose of controlling the more comprehensive media resources on the vehicle-mounted equipment, and further realizing the technical effect of improving the comprehensiveness of the control media resources of the vehicle-mounted equipment.
As an alternative, the execution unit 1204 includes:
the splitting module is used for splitting the first target data to obtain first sub-data and second sub-data;
the first unpacking module is used for unpacking the first sub-data according to the Bluetooth communication protocol indicated by the Bluetooth protocol identification so as to obtain a target media resource;
and the second unpacking module is used for unpacking the second sub-data according to the Bluetooth communication protocol indicated by the Bluetooth protocol identifier so as to obtain additional display resources.
Specific embodiments may refer to the examples shown in the above-mentioned region dynamic adjustment method, and this example is not described herein.
As an alternative, the second decapsulation module includes:
the first determining submodule is used for determining a resource type identifier to be decoded, check data to be decoded and a corresponding sorting position of resource content to be decoded in the second sub-data according to a protocol format of a 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 sorting position; performing decoding processing;
And the second determining sub-module is used for determining the decoded resource type identifier, the decoded check data and the decoded resource content as second sub-data.
Specific embodiments may refer to the examples shown in the above-mentioned region dynamic adjustment method, and this example is not described herein.
As an alternative, the execution unit 1204 includes one of:
the first execution module is used for executing the playing or switching requested by the target operation request on the audio resource and the audio description information matched with the audio resource under the condition that the target operation request is used for requesting the playing or switching to the target media resource and the target media resource is the audio resource, wherein the additional display resource comprises 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 resource and the video description information matched with the video resource under the condition that the target operation request is used for requesting the playing or switching to the target media resource and the target media resource is the video resource, wherein the additional display resource comprises the video description information.
Specific embodiments may refer to the examples shown in the above-mentioned region dynamic adjustment method, and this example is not described herein.
As an alternative, the execution unit 1204 includes one of:
and a third execution module, configured to execute, in a case where the target operation request is for requesting to display the resource list associated with the target media resource, the display operation requested by the target operation request on the resource list, where the additional display resource includes the resource list.
Specific embodiments may refer to the examples shown in the above-mentioned region dynamic adjustment method, and this example is not described herein.
As an alternative, the execution unit 1204 includes one of:
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 play mode 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.
Specific embodiments may refer to the examples shown in the above-mentioned region dynamic adjustment method, and this example is not described herein.
As an alternative, it includes:
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 a data packet 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 the second installation unit is used for installing the target tool data packet before receiving the first target data sent by the target terminal.
Specific embodiments may refer to the examples shown in the above-mentioned region dynamic adjustment method, and this example is not described herein.
As an alternative, it includes:
a fourth obtaining unit, configured to obtain a first control request triggered on the target vehicle-mounted device, where the first control request is used to request 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 message, where the operation completion message 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.
Specific embodiments may refer to the examples shown in the above-mentioned region dynamic adjustment method, and this example is not described herein.
As an alternative, it includes:
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 to control and adjust target media resources and/or additional display resources on the target vehicle-mounted equipment;
A second response unit, configured to respond to a 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 transmitting unit configured to transmit second operation completion information to the target terminal in a case where the second control adjustment operation has been performed, wherein the second operation completion information is used to prompt that the control adjustment operation has been performed.
Specific embodiments may refer to the examples shown in the above-mentioned region dynamic adjustment method, and this example is not described herein.
According to a further aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the method of controlling a media resource by an in-vehicle device as described above, as shown in fig. 13, the electronic device comprising a memory 1202 and a processor 1204, the memory 1202 having stored therein a computer program, the processor 1204 being arranged to perform the steps of any of the method embodiments described above by the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
S1, receiving a target operation request triggered on target vehicle-mounted equipment, wherein the target operation request carries a resource identifier of a target media resource requested to be operated on the target vehicle-mounted equipment and a Bluetooth protocol identifier, 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 carry out resource data transmission;
s2, responding to a 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 operated on target vehicle-mounted equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold;
s3, integrating 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, wherein the data volume of the first target data is smaller than or equal to a Bluetooth transmission threshold value;
and S4, the first target data is sent to the target vehicle-mounted equipment, so that the target vehicle-mounted equipment can execute the operation requested by the target operation request on the first target data. Or alternatively, the first and second heat exchangers may be,
s1, receiving first target data sent by a target terminal, wherein the first target data is data obtained after integrating and processing target media resources and additional display resources 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 target vehicle-mounted equipment, 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 equipment perform resource data transmission, the target media resources are resources corresponding to the resource identifier carried in the target operation request, the additional display resources are resources required when the target media resources are operated on the target vehicle-mounted equipment, the data volume of the additional display resources is larger than a Bluetooth transmission threshold, and the data volume of the first target data is smaller than or equal to the Bluetooth transmission threshold;
S2, executing the operation requested by the target operation request on the first target data.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 13 is only schematic, 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 palm computer, and a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 13 is not limited to the structure of the electronic device described above. 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 the software programs and modules stored in the memory 1302, thereby performing various functional applications and data processing, that is, implementing the method for controlling a media resource by an in-vehicle device described above. 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, memory 1302 may further include memory located remotely from processor 1304, which may be connected to the terminal via 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 used to store, but is not limited to, 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 response unit 1104, an integrating unit 1106, and a first transmitting unit 1108, or a second receiving unit 1302 (not shown), and an executing unit 1304 (not shown) in the apparatus for controlling media resources by the vehicle-mounted device. In addition, other module units in the device for controlling media resources by the vehicle-mounted device may be included, but are not limited to, which will not be described in detail in this example.
Optionally, the transmission device 1306 is configured to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means 1306 comprises a network adapter (Network Interface Controller, NIC) which can be connected to other network devices and routers via network lines so as to communicate with the internet or a local area network. In one example, the transmission device 1306 is a Radio Frequency (RF) module for communicating wirelessly with the internet.
In addition, the electronic device further includes: a display 1308 for displaying the 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 components in the above-described electronic device.
Alternatively, in the present embodiment, the above-described 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 target vehicle-mounted equipment, wherein the target operation request carries a resource identifier of a target media resource requested to be operated on the target vehicle-mounted equipment and a Bluetooth protocol identifier, 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 carry out resource data transmission;
S2, responding to a 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 operated on target vehicle-mounted equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold;
s3, integrating 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, wherein the data volume of the first target data is smaller than or equal to a Bluetooth transmission threshold value;
and S4, the first target data is sent to the target vehicle-mounted equipment, so that the target vehicle-mounted equipment can execute the operation requested by the target operation request on the first target data. Or alternatively, the first and second heat exchangers may be,
s1, receiving first target data sent by a target terminal, wherein the first target data is data obtained after integrating and processing target media resources and additional display resources 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 target vehicle-mounted equipment, 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 equipment perform resource data transmission, the target media resources are resources corresponding to the resource identifier carried in the target operation request, the additional display resources are resources required when the target media resources are operated on the target vehicle-mounted equipment, the data volume of the additional display resources is larger than a Bluetooth transmission threshold, and the data volume of the first target data is smaller than or equal to the Bluetooth transmission threshold;
S2, executing the operation requested by the target operation request on the first target data.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present invention.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In 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 exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (20)

1. A method for controlling media resources by an in-vehicle device, comprising:
receiving a target operation request triggered on target vehicle-mounted equipment, wherein the target operation request carries a resource identifier of a target media resource requested to be operated on the target vehicle-mounted equipment and a Bluetooth protocol identifier, and the Bluetooth protocol identifier is used for indicating a Bluetooth BLE/SPP communication protocol required to be adopted when a target terminal and the target vehicle-mounted equipment carry out 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 by the target media resource when the target media resource is operated on the target vehicle-mounted equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold value;
Integrating the target media resource and the additional display resource according to a Bluetooth BLE/SPP communication protocol indicated by the Bluetooth protocol identifier to obtain first target data, wherein the data volume of the first target data is smaller than or equal to the Bluetooth transmission threshold value;
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.
2. The method according to claim 1, wherein the integrating the target media resource and the additional display resource according to the bluetooth BLE/SPP communication protocol indicated by the bluetooth protocol identification to obtain the first target data comprises:
the target media resource is packaged according to a Bluetooth BLE/SPP communication protocol indicated by the Bluetooth protocol identifier, so that first sub-data matched with the communication protocol of the target vehicle-mounted equipment is obtained;
the additional display resources are packaged according to a Bluetooth BLE/SPP communication protocol indicated by the Bluetooth protocol identification, so that second sub-data matched with the communication protocol of the target vehicle-mounted equipment are obtained;
And integrating the first sub data and the second sub data to obtain the first target data.
3. The method according to claim 2, wherein encapsulating the additional display resource according to the bluetooth BLE/SPP communication protocol indicated by the bluetooth protocol identifier to obtain second sub-data matching the communication protocol of the target in-vehicle device, comprises:
acquiring a resource type identifier corresponding to the additional display resource, verification data corresponding to a Bluetooth BLE/SPP communication protocol adopted by the target vehicle-mounted equipment, and resource content of the additional display resource;
and respectively encoding the resource type identifier, the check data and the resource content according to a protocol format of a Bluetooth BLE/SPP 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 the second sub-data.
4. The method of claim 1, wherein the obtaining, in response to the target operation request, a target media resource corresponding to the resource identifier, and the additional display resource required by the target media resource when operated on the target vehicle-mounted device comprises one of:
Acquiring the audio resource and the audio description information matched with the audio resource when the target operation request is used for requesting to play or switch to the target media resource and the target media resource is the audio resource, wherein the additional display resource comprises the audio description information;
and when the target operation request is used for requesting to play or switch 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 of claim 1, wherein the obtaining, in response to the target operation request, the target media resource corresponding to the resource identifier, and the additional display resource required by the target media resource when operated on the target vehicle-mounted device, comprises:
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.
6. The method according to any one of claims 1 to 5, comprising, prior to said receiving a target operation request triggered on a target in-vehicle device:
Acquiring a software development kit for operating the target media resource in the target vehicle-mounted device;
the software development tool package is packaged according to the Bluetooth BLE/SPP communication protocol indicated by the Bluetooth protocol identifier to obtain a target tool data package;
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 a 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 device 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 by, after the transmitting of the first target data to the target in-vehicle apparatus, 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 equipment;
transmitting the second control request to the target vehicle-mounted device;
and acquiring second operation completion information, wherein the second operation completion information is used for prompting the target vehicle-mounted equipment to complete 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 an in-vehicle device, comprising:
receiving first target data sent by a target terminal, wherein the first target data is data obtained after integrating a target media resource and an additional display resource according to a Bluetooth BLE/SPP 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 BLE/SPP communication protocol required to be adopted 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, the data size of the additional display resource is larger than a Bluetooth transmission threshold, and the data size of the first target data is smaller than or equal to the Bluetooth transmission threshold;
And executing the operation requested by the target operation request on the first target data.
10. The method of claim 9, wherein the performing the operation requested by the target operation request on the first target data comprises:
splitting the first target data to obtain first sub-data and second sub-data;
decapsulating the first sub-data according to a Bluetooth BLE/SPP communication protocol indicated by the Bluetooth protocol identifier to obtain the target media resource;
and carrying out decapsulation processing on the second sub-data according to the Bluetooth BLE/SPP communication protocol indicated by the Bluetooth protocol identifier so as to obtain the additional display resource.
11. The method of claim 10, wherein the decapsulating the second sub-data according to the bluetooth BLE/SPP communication protocol indicated by the bluetooth protocol identification 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 resource content to be decoded in the second sub-data according to a protocol format of a Bluetooth BLE/SPP communication protocol indicated by the Bluetooth protocol identifier, and sorting 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; performing decoding processing;
And determining the decoded resource type identifier, the decoded check data and the decoded resource content as the second sub-data.
12. The method of claim 9, wherein the performing the operation requested by the target operation request on the first target data comprises one of:
executing the playing or switching requested by the target operation request on the audio resource and the audio description information matched with the audio resource under the condition that the target operation request is used for requesting the playing or switching to the target media resource and the target media resource is the audio resource, wherein the additional display resource comprises the audio description information;
and 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 under the condition that the target operation request is used for requesting the playing or switching to the target media resource and the target media resource is the video resource, wherein the additional display resource comprises the video description information.
13. The method of claim 9, wherein the performing the operation requested by the target operation request on the first target data comprises one of:
And executing the display operation requested by the target operation request on 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.
14. The method according to any one of claims 9 to 13, comprising, before the receiving the first target data sent by the target terminal:
receiving a target tool data packet sent by the target terminal, wherein the target tool data packet is a data packet obtained by packaging a software development tool packet according to a Bluetooth BLE/SPP 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 equipment;
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 the target terminal to complete 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, comprising, before the receiving the first target data sent by the target terminal:
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 equipment;
responding to the second control request, and executing a 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 first receiving unit is used for receiving a target operation request triggered on target vehicle-mounted equipment, wherein the target operation request carries a resource identifier of a target media resource which is requested to be operated on the target vehicle-mounted equipment and a Bluetooth protocol identifier, and the Bluetooth protocol identifier is used for indicating a Bluetooth BLE/SPP communication protocol which is required to be adopted when a target terminal and the target vehicle-mounted equipment carry out resource data transmission;
the first response unit is used for 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 equipment, wherein the data volume of the additional display resource is larger than a Bluetooth transmission threshold value;
the first integration unit is used for integrating the target media resource and the additional display resource according to the Bluetooth BLE/SPP communication protocol indicated by the Bluetooth protocol identifier so as to obtain first target data, wherein the data volume of the first target data is smaller than or equal to the Bluetooth transmission threshold value;
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:
the second receiving unit is 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 BLE/SPP 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 BLE/SPP communication protocol that needs to be adopted when the target terminal and the target vehicle-mounted device perform resource data transmission, the target media resource is a resource corresponding to a resource identifier carried in the target operation request, the additional display resource is a resource that needs to be required when the target media resource is operated on the target vehicle-mounted device, and a data volume of the additional display resource is greater than a bluetooth transmission threshold, and a data volume of the first target data is less than or equal to the bluetooth transmission threshold;
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, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run performs the method of any of the preceding 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 according to any of the 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 CN113163263A (en) 2021-07-23
CN113163263B true 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)

Families Citing this family (2)

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

Citations (5)

* 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
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
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

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
WO2018152679A1 (en) * 2017-02-21 2018-08-30 万魔声学科技有限公司 Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system
KR102435750B1 (en) * 2017-12-14 2022-08-25 현대자동차주식회사 Multimedia apparatus and vehicle comprising the same, broadcasting method of the multimedia apparatus
CN110968233A (en) * 2018-09-29 2020-04-07 上海擎感智能科技有限公司 Music playing switching operation method, system, storage medium and equipment
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

Patent Citations (5)

* 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
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
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

Also Published As

Publication number Publication date
CN113163263A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN113163263B (en) Method, device and storage medium for controlling media resources by vehicle-mounted equipment
US8935236B2 (en) Information processing apparatus and method, and computer program
CN102077533B (en) System and method for ubiquitous appliance control
CN107168666B (en) System and method for audio and video transmission and multi-screen mapping based on USB interface
KR20150079784A (en) Device and method for providing multimedia data in a motor vehicle
CN104053071B (en) Distribute control system, dissemination system and distribution control method
US8924305B2 (en) DLNA data distribution from a remote source
CN110677831B (en) Video projection method based on interconnection technology
US8935362B2 (en) Multi-media file emulation device
CN107770628A (en) One kind Karaoke realization method and system, intelligent household terminal
CN102065340B (en) System and method for implementing multimedia synchronous interaction
KR20150016273A (en) Protocol translating adapter
US8700736B2 (en) System for providing related content, method for providing related content, service server, end terminal, and storage medium
CN101120333A (en) System and method for a remote user interface
GB2479164A (en) Provisioning of customised media content
KR100643978B1 (en) Mobile device offering image viewer function and sharing method of multimedia contents on mobile device
CN111182339A (en) Method for playing media item and display equipment
KR20090052128A (en) Rich-media transmission system and control method thereof
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
CN113566841A (en) Intelligent navigation method and system based on instrument
US20080165631A1 (en) Remote system for portable audio player
CN106331841A (en) Network speed information indicating method and network speed information indicating device
KR100857821B1 (en) System and method of music broadcasting service using user creating contents and mobile communication terminal for the same
JP2004187006A (en) Data structure, slave instrument, and master instrument

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