Multimedia interconnection method, system and device and storage medium
Through the designated media control protocol, the multimedia information and status synchronization between the vehicle and mobile terminals is solved, and the network dependence and application interoperability problems in the existing technology are provided, and the customized interface and real-time control capabilities are provided, which improves user experience and convenience.
Patent Information
- Application Number
- CN202411042555.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-03
AI Technical Summary
The existing vehicle multimedia interconnection technology relies on online servers, network fluctuations lead to synchronization delays, and different applications cannot communicate with each other, and interface customization is limited.
The media information is encapsulated by specifying the media control protocol, and the multimedia information and status synchronization between the vehicle and mobile terminals is realized, allowing users to customize the display interface and control the vehicle and mobile terminals without relying on the online server.
Real-time synchronization of multimedia information and status between the vehicle and mobile terminals is achieved, enhanced interface customization capabilities, improved user experience and convenience, and is not affected by the network environment.
Smart Images

Figure CN119071276A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of multimedia technology, and specifically relates to a multimedia interconnection method, system, device and storage medium. Background Art
[0002] With the rapid development of vehicle multimedia functions, the current multimedia interconnection technology solutions between mobile phones and car computers are generally based on a client-server architecture. In this architecture, both the mobile phone and the car computer need to install the same music application, and they need to rely on logging into the same account and scanning code verification to synchronize the current media on the mobile phone with the car computer. This method requires the car computer to obtain the media information being played on the mobile phone and reverse control the mobile phone to switch media through an online server, so it is dependent on the network environment. When the network fluctuates, this online synchronization method is very likely to be delayed.
[0003] Moreover, in the existing method of car-car multimedia interconnection, if the music applications installed on the mobile phone and the car computer are different, the car computer cannot reversely control the multimedia playback on the mobile phone. For example, application A on the car computer cannot control the playback status and media information of application B on the mobile phone. Moreover, in this architecture of the existing technology, the multimedia playback interface of the car computer can only be customized and edited if it relies on the media application provided by the supplier or is developed after obtaining the interface with authorization. Summary of the invention
[0004] In response to the above technical problems, the present application proposes a multimedia interconnection method, system, device and storage medium.
[0005] Specifically, the present application proposes a multimedia interconnection method, characterized in that the method comprises: Receiving media information from a mobile terminal; the media information is encapsulated by the mobile terminal through a specified media control protocol and then sent; Editing the display interface according to the media information; The edited display interface is displayed, and the media is played according to the media information.
[0006] The multimedia information and status of the vehicle and mobile terminals can be synchronized without relying on online servers, and are not affected by changes in the network environment; in addition, users can customize the display interface.
[0007] Further, the mobile terminal encapsulates and sends the data through a specified media control protocol, including: Creating and initializing a media session manager, registering an active session change listener interface in the media session manager; Obtaining a list of currently active media sessions through a callback function of the active session change listener interface; Traversing the currently active media session list, and registering a callback interface for each currently active media session; Obtaining updated information of media metadata and media playback status through the callback interface of the currently active media session; Obtaining current media metadata and media playback status through the update information; The current media metadata and media playback status are encapsulated through the media control protocol to obtain media information; The media information is sent to the vehicle terminal.
[0008] The mobile terminal obtains the latest media metadata and media playback status through the media probe, and sends it to the vehicle terminal after encapsulation through the media control protocol. This technical means realizes the real-time synchronization of multimedia between the mobile terminal and the vehicle terminal. This method does not require the installation of the same music application on the vehicle terminal and the mobile terminal, and has strong compatibility.
[0009] Further, the editing of the display interface according to the media information and displaying the edited display interface includes: The vehicle terminal obtains the media metadata and media playback status in the media information; Convert the media metadata and media playback data into UI elements; In response to the UI element editing instruction, the UI element is customized and edited to obtain an updated display interface; The updated display interface is saved and displayed.
[0010] This technical means enables users to customize the display interface. Users can personalize the multimedia playback interface on the car without pre-installing specific applications, enhancing the user experience.
[0011] Furthermore, after displaying the edited interface and playing the media according to the media information, the method further includes: Encapsulating the control instruction through a media control protocol and sending the control instruction to the mobile terminal; Receive a control result fed back by the mobile terminal; the control result is determined by the mobile terminal according to the control instruction, in the currently active media session list, by the media session specified by the control instruction, calling a specified function of the playback control interface of the media session according to the control instruction, and then obtaining it through a callback function of the playback control interface.
[0012] This method can realize the control of the multimedia playback status of the mobile terminal by the vehicle terminal without the need to install the same music application on the vehicle terminal and the mobile terminal. During driving, the driver and passengers can reversely control the media playback on the mobile phone by controlling the vehicle screen, which enhances convenience and safety.
[0013] Further, the media control protocol includes a header and a body; the header includes an initiator, a receiver and an interaction type; the interaction type includes the mobile terminal sending media metadata to the vehicle terminal, the mobile terminal sending media playback status to the vehicle terminal, the vehicle terminal sending a control instruction to the mobile terminal, or the mobile terminal sending media playback status to the vehicle terminal; The main body includes media metadata and media playback status; the media metadata includes media title, artist name, album name, album artist name, total length of media file, and / or URL of cover image; the media playback status includes play, pause, previous song, next song, open music, playback progress adjustment, favorite and / or cancel favorite.
[0014] This media control protocol can achieve multimedia synchronization between the car and mobile phones. The protocol is designed to be simple and practical and is suitable for a variety of interactive scenarios.
[0015] Based on the same inventive concept, the present application also proposes a multimedia interconnection system according to the multimedia interconnection method, characterized in that the system includes a vehicle-side multimedia module, the vehicle-side multimedia module includes a synchronization module, and the synchronization module includes: An information receiving unit, used for receiving media information from a mobile terminal; the media information is sent by the mobile terminal after being encapsulated through a specified media control protocol; a display interface editing unit, configured to customize the display interface according to the media information; and The media information presentation unit is used to display the edited interface and play the media according to the media information.
[0016] Furthermore, the system further comprises a mobile terminal multimedia module, wherein the mobile terminal multimedia module comprises a media information acquisition module; the multimedia information acquisition module comprises: An interface registration unit, configured to register an active session change listener interface, create and initialize a media session manager, and register the active session change listener interface in the media session manager; A media session list acquisition unit, configured to acquire a currently active media session list through a callback function of the active session change listener interface; A callback function registration unit, configured to traverse the currently active media session list and register a callback interface for each currently active media session; An information acquisition unit, configured to acquire updated information of media metadata and media playback status through a callback interface of the currently active media session; An updating unit, used to obtain current media metadata and media playback status through the update information; An encapsulation unit, used to encapsulate the current media metadata and media playback status through a media control protocol to obtain media information; and The transmission unit is used to send the media information to the vehicle terminal.
[0017] Furthermore, the vehicle-side multimedia module further includes a transmission module, and the transmission module includes: A control instruction issuing unit, used for encapsulating the control instruction through a media control protocol and sending the control instruction to the mobile terminal; A control result receiving unit is used to receive a control result fed back by a mobile terminal; the control result is determined by the mobile terminal in the currently active media session list according to the control instruction, and the specified function of the playback control interface of the media session is called according to the control instruction, and then obtained through the callback function of the playback control interface.
[0018] Based on the same inventive concept, the present application also proposes a computer device, including a processor and a memory, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the multimedia interconnection method as described above is implemented.
[0019] Based on the same inventive concept, the present application also proposes a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a control processor, the multimedia interconnection method as described above is implemented.
[0020] It should be noted that, since the computer-readable storage medium in this embodiment and the multimedia interconnection method in the above embodiment are based on the same inventive concept, the corresponding contents in the method embodiment are also applicable to the system embodiment and will not be described in detail here.
[0021] In summary, the present application belongs to the field of multimedia technology, and proposes a multimedia interconnection method, system, device and storage medium. Receive media information from a mobile terminal; the media information is encapsulated and sent by the mobile terminal through a specified media control protocol; edit the display interface according to the media information; display the edited interface, and play the media according to the media information. The present application does not need to rely on an online server to synchronize multimedia information and status between the vehicle terminal and the mobile terminal, and is not affected by changes in the network environment; and can enable users to customize the display interface.
[0022] Compared with the prior art, this application has at least the following beneficial effects: In this application, after the mobile terminal obtains the media information, it sends it to the vehicle terminal through the specified media control protocol, thereby realizing the synchronization of multimedia information and status between the vehicle terminal and the mobile terminal. This method does not need to rely on an online server and is therefore not affected by changes in the network environment; moreover, the user can customize the display interface without going through a specific app. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flowchart of a multimedia interconnection method shown in an embodiment of the present application.
[0024] Figure 2 It is a schematic diagram of the media control protocol communication framework shown in an embodiment of the present application.
[0025] Figure 3 It is a schematic diagram of the computer device structure shown in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] Embodiment 1: See also Figure 1 , is a flowchart of a multimedia interconnection method shown in an embodiment of the present application.
[0028] Specifically, the present application proposes a multimedia interconnection method, characterized in that the method comprises: Receiving media information from a mobile terminal; the media information is encapsulated by the mobile terminal through a specified media control protocol and then sent; Editing the display interface according to the media information; The edited display interface is displayed, and the media is played according to the media information.
[0029] In a preferred embodiment of the present application, the specific implementation process of this method is as follows: 1) The mobile terminal encapsulates the detected multimedia information of the device through the media control protocol, and sends the media metadata to the main driving screen of the vehicle through the media control protocol; The media control protocol includes a header and a body, and the header includes: The initiator is the party that actively initiates data transmission during the communication process. In the media control protocol provided in this application, the initiator includes the main driving screen of the vehicle, the co-pilot screen of the vehicle and the mobile phone. In this protocol, the initiator is the host. The receiver is the party that passively receives data during the communication process. In the media control protocol provided in this application, the initiator includes the main driving screen of the vehicle, the co-pilot screen of the vehicle and the mobile phone. In this protocol, the receiver is the main driving screen; And the interaction type, that is, the data exchange type of this data transmission. In the media control protocol provided in this application, the interaction types include: the mobile terminal sends media metadata to the vehicle terminal, the mobile terminal sends the media playback status to the vehicle terminal, the vehicle terminal sends control instructions to the mobile terminal, and the mobile terminal sends the media playback status to the vehicle terminal; in this protocol, the exchange type is the mobile terminal sending media metadata to the vehicle terminal.
[0030] Since the exchange type in this protocol is the sending of media metadata from the mobile terminal to the vehicle terminal, the main body of the media control protocol may include media metadata such as song name, album name, artist name, duration of the media file, and URL of the album cover.
[0031] 2) The vehicle computer customizes the display interface according to the received media metadata, and then displays the edited display interface; After the car computer receives the media metadata, it can convert the media metadata into UI elements according to the user's touch commands or voice commands, and edit the obtained UI elements, such as changing the size, shape, color, transparency and position, etc., and then save the edited UI interface to obtain a customized multimedia broadcast interface on the main driving screen of the car computer.
[0032] The vehicle terminal sends a control command to the mobile terminal through the media control protocol. After the mobile terminal receives the control command and controls the multimedia playback accordingly, it feeds back callback information to the vehicle terminal, thereby achieving synchronization of multimedia information and status between the vehicle terminal and the mobile phone terminal after reverse control.
[0033] See also Figure 2 , is a schematic diagram of the media control protocol communication framework shown in an embodiment of the present application.
[0034] like Figure 2 The mobile phone obtains media information through the media probe module, encapsulates the obtained media information through the media control protocol, and then transmits the encapsulated media information to the vehicle screen via Bluetooth or local area network; the vehicle screen includes the vehicle's main driver's screen, the vehicle's co-driver's screen and other vehicle screens.
[0035] Further, the mobile terminal encapsulates and sends the data through a specified media control protocol, including: Creating and initializing a media session manager, registering an active session change listener interface in the media session manager; Obtaining a list of currently active media sessions through a callback function of the active session change listener interface; Traversing the currently active media session list, and registering a callback interface for each currently active media session; Obtaining updated information of media metadata and media playback status through the callback interface of the currently active media session; Obtaining current media metadata and media playback status through the update information; The current media metadata and media playback status are encapsulated through the media control protocol to obtain media information; The media information is sent to the vehicle terminal.
[0036] In a preferred embodiment of the present application, an application is installed on the mobile phone, a service is created, and the multimedia information on the mobile phone is monitored using Android native Messenger. The multimedia information is encapsulated as media content information and media status and sent to multiple screens on the vehicle side through the media control protocol. The specific process is as follows: 1) Create a media controller service. Specifically, in this embodiment, a new service class is created and named MediaControllerService. This service is used to monitor multimedia information and send it to the vehicle terminal. 2) Initialize the media session manager; create a media session manager (MediaSessionManager) in the service's start command (onStartCommand) life cycle and initialize the media session manager (MediaSessionManager); 3) Registering an OnActiveSessionsChangedListener interface: registering an OnActiveSessionsChangedListener interface in the media session manager, which will be called when the media session list changes; 4) When the active session changes, the Media Controller object list is obtained through the callback function (onActiveSessionsChanged) of the active session change listener interface. The Media Controller object represents the currently active media session, and the Media Controller object list represents the currently active media session list; 5) Traverse the media controller list and register the media controller callback interface; that is, register the callback interface (MediaController.Callback) for each currently active media session; in this way, you can monitor important events related to media playback, such as metadata changes or playback status changes; 6) Obtain updated information of media metadata and media playback status through the media controller callback interface; specifically, obtain the media information currently being played by the mobile phone through the onMetadataChanged (metadata change callback) method of the callback interface, and obtain the playback status and progress information of the media through the onPlaybackStateChanged (playback state change callback) method of the callback interface; 7) After obtaining the update information of the media metadata and the media playback status, the media metadata and the media playback status are updated to obtain the latest data of the media metadata and the media playback status, that is, the current media metadata and the media playback status; 8) Using the media control protocol, encapsulate the media metadata and media playback status, and then send them to the vehicle computer.
[0037] Through this series of steps, the mobile phone service can effectively monitor and capture multimedia information, and synchronize this information to the display screen of the vehicle in real time, thus providing an integrated multimedia experience.
[0038] Further, the editing of the display interface according to the media information and displaying the edited display interface includes: The vehicle terminal obtains the media metadata and media playback status in the media information; Convert the media metadata and media playback data into UI elements; In response to the UI element editing instruction, the UI element is customized and edited to obtain an updated display interface; The updated display interface is saved and displayed.
[0039] Furthermore, after displaying the edited interface and playing the media according to the media information, the method further includes: Encapsulating the control instruction through a media control protocol and sending the control instruction to the mobile terminal; Receive a control result fed back by the mobile terminal; the control result is determined by the mobile terminal according to the control instruction, in the currently active media session list, by the media session specified by the control instruction, calling a specified function of the playback control interface of the media session according to the control instruction, and then obtaining it through a callback function of the playback control interface.
[0040] In a preferred embodiment of the present application, the specific process of the vehicle terminal controlling the mobile terminal is as follows: 1) Click the play control button on the car screen to encapsulate the specific protocol content and send it to the mobile phone; 2) If the current screen is the co-pilot, it will be sent to the driver, who will forward it to the phone; 3) The mobile phone receives the broadcast control command from the vehicle computer, recognizes the corresponding command, and then obtains the media controller object; 4) Obtaining a media transmission control interface through a media controller object, and calling a function corresponding to the instruction in the media transmission control interface to control the media playback status; 5) The callback information received after controlling the media playback status is sent back to the vehicle computer to achieve synchronization between the vehicle computer and the mobile phone.
[0041] Further, the media control protocol includes a header and a body; the header includes an initiator, a receiver and an interaction type; the interaction type includes the mobile terminal sending media metadata to the vehicle terminal, the mobile terminal sending media playback status to the vehicle terminal, the vehicle terminal sending a control instruction to the mobile terminal, or the mobile terminal sending media playback status to the vehicle terminal; The main body includes media metadata and media playback status; the media metadata includes media title, artist name, album name, album artist name, total length of media file, and / or URL of cover image; the media playback status includes play, pause, previous song, next song, open music, playback progress adjustment, favorite and / or cancel favorite.
[0042] Embodiment 2: Based on the same inventive concept, the present application also proposes a multimedia interconnection system according to the multimedia interconnection method, characterized in that the system includes a vehicle-side multimedia module, the vehicle-side multimedia module includes a synchronization module, and the synchronization module includes: An information receiving unit, used for receiving media information from a mobile terminal; the media information is sent by the mobile terminal after being encapsulated through a specified media control protocol; a display interface editing unit, configured to customize the display interface according to the media information; and The media information presentation unit is used to display the edited interface and play the media according to the media information.
[0043] Furthermore, the system further comprises a mobile terminal multimedia module, wherein the mobile terminal multimedia module comprises a media information acquisition module; the multimedia information acquisition module comprises: An interface registration unit, configured to register an active session change listener interface, create and initialize a media session manager, and register the active session change listener interface in the media session manager; A media session list acquisition unit, configured to acquire a currently active media session list through a callback function of the active session change listener interface; A callback function registration unit, configured to traverse the currently active media session list and register a callback interface for each currently active media session; An information acquisition unit, configured to acquire updated information of media metadata and media playback status through a callback interface of the currently active media session; An updating unit, used to obtain current media metadata and media playback status through the update information; An encapsulation unit, used to encapsulate the current media metadata and media playback status through a media control protocol to obtain media information; and The transmission unit is used to send the media information to the vehicle terminal.
[0044] Furthermore, the vehicle-side multimedia module further includes a transmission module, and the transmission module includes: A control instruction issuing unit, used for encapsulating the control instruction through a media control protocol and sending the control instruction to the mobile terminal; A control result receiving unit is used to receive a control result fed back by a mobile terminal; the control result is determined by the mobile terminal in the currently active media session list according to the control instruction, and the specified function of the playback control interface of the media session is called according to the control instruction, and then obtained through the callback function of the playback control interface.
[0045] Embodiment three: Based on the same inventive concept, the present application also proposes a computer device, including a processor and a memory, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the multimedia interconnection method as described above is implemented.
[0046] Reference Figure 3 , is a schematic diagram of the computer device structure shown in an embodiment of the present application.
[0047] like Figure 3 As shown, the computer device 3 of this embodiment includes: at least one processor 30 ( Figure 3 Only one is shown in the figure), a memory 31, and a computer program 32 stored in the memory 31 and executable on the at least one processor 30, wherein the processor 30 implements the steps of any of the above method embodiments when executing the computer program 32.
[0048] The computer device 3 can be a mobile device, including but not limited to mobile phones, laptops, tablet computers, smart watches and other user mobile devices; it can also be a vehicle-side mobile device, including but not limited to the in-vehicle infotainment system, the central control screen, etc. It is understandable that the specific structure and function of the vehicle-side mobile device on different vehicle models and vehicle manufacturers are different. The electronic device may include but is not limited to a processor 30 and a memory 31. Those skilled in the art can understand that Figure 3 It is only an example of computer device 3 and does not constitute a limitation on computer device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.
[0049] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0050] In some embodiments, the memory 31 may be an internal storage unit of the computer device 3, such as a hard disk or memory of the computer device 3. In other embodiments, the memory 31 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the computer device 3. The memory 31 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 31 may also be used to temporarily store data that has been output or is to be output.
[0051] Embodiment 4: Based on the same inventive concept, the present application also proposes a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a control processor, the multimedia interconnection method as described above is implemented.
[0052] It should be noted that, since the computer-readable storage medium in this embodiment and the multimedia interconnection method in the above embodiment are based on the same inventive concept, the corresponding contents in the method embodiment are also applicable to the system embodiment and will not be described in detail here.
[0053] In summary, the present application belongs to the field of multimedia technology, and proposes a multimedia interconnection method, system, device and storage medium. Receive media information from a mobile terminal; the media information is encapsulated and sent by the mobile terminal through a specified media control protocol; edit the display interface according to the media information; display the edited interface, and play the media according to the media information. The present application does not need to rely on an online server to synchronize multimedia information and status between the vehicle terminal and the mobile terminal, and is not affected by changes in the network environment; and can enable users to customize the display interface.
[0054] In this application, after the mobile terminal obtains the media information, it sends it to the vehicle terminal through the specified media control protocol, thereby realizing the synchronization of multimedia information and status between the vehicle terminal and the mobile terminal. This method does not need to rely on an online server and is therefore not affected by changes in the network environment; moreover, the user can customize the display interface without going through a specific app.
[0055] In several embodiments provided in the present application, it is understood that each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
[0056] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for an electronic device to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0057] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A multimedia interconnection method, characterized in that: The method comprises: Receiving media information from a mobile terminal; the media information is encapsulated by the mobile terminal through a specified media control protocol and then sent; Editing the display interface according to the media information; The edited display interface is displayed, and the media is played according to the media information.
2. A multimedia interconnection method according to claim 1, characterized in that: The mobile terminal encapsulates and sends the information through a specified media control protocol, including: Creating and initializing a media session manager, registering an active session change listener interface in the media session manager; Obtaining a list of currently active media sessions through a callback function of the active session change listener interface; Traversing the currently active media session list, and registering a callback interface for each currently active media session; Obtaining updated information of media metadata and media playback status through the callback interface of the currently active media session; Obtaining current media metadata and media playback status through the update information; The current media metadata and media playback status are encapsulated through the media control protocol to obtain media information; The media information is sent to the vehicle terminal.
3. A multimedia interconnection method according to claim 1, characterized in that: The editing of the display interface according to the media information includes: The vehicle terminal obtains the media metadata and media playback status in the media information; Convert the media metadata and media playback data into UI elements; In response to the UI element editing instruction, custom editing is performed on the UI element to obtain an updated display interface; The updated display interface is saved.
4. A multimedia interconnection method according to claim 1, characterized in that: After displaying the edited interface and playing the media according to the media information, the method further includes: Encapsulating the control instruction through a media control protocol and sending the control instruction to the mobile terminal; Receive a control result fed back by the mobile terminal; the control result is determined by the mobile terminal according to the control instruction, in the currently active media session list, by the media session specified by the control instruction, calling a specified function of the playback control interface of the media session according to the control instruction, and then obtaining it through a callback function of the playback control interface.
5. A multimedia interconnection method according to claim 2, characterized in that: The media control protocol includes a header and a body; the header includes an initiator, a receiver and an interaction type; the interaction type includes the mobile terminal sending media metadata to the vehicle terminal, the mobile terminal sending media playback status to the vehicle terminal, the vehicle terminal sending a control instruction to the mobile terminal, or the mobile terminal sending media playback status to the vehicle terminal; The main body includes media metadata and media playback status; the media metadata includes media title, artist name, album name, album artist name, total length of media file, and / or URL of cover image; the media playback status includes play, pause, previous song, next song, open music, playback progress adjustment, favorite and / or cancel favorite.
6. The multimedia interconnection system of the multimedia interconnection method according to any one of claims 1 to 5, characterized in that: The system includes a vehicle-side multimedia module, the vehicle-side multimedia module includes a synchronization module, and the synchronization module includes: An information receiving unit, used for receiving media information from a mobile terminal; the media information is sent by the mobile terminal after being encapsulated through a specified media control protocol; a display interface editing unit, configured to customize the display interface according to the media information; and The media information presentation unit is used to display the edited interface and play the media according to the media information.
7. The multimedia interconnection system according to claim 6, characterized in that: The system further includes a mobile terminal multimedia module, which includes a media information acquisition module; the multimedia information acquisition module includes: An interface registration unit, configured to register an active session change listener interface, create and initialize a media session manager, and register the active session change listener interface in the media session manager; A media session list acquisition unit, configured to acquire a currently active media session list through a callback function of the active session change listener interface; A callback function registration unit, configured to traverse the currently active media session list and register a callback interface for each currently active media session; An information acquisition unit, configured to acquire updated information of media metadata and media playback status through a callback interface of the currently active media session; An updating unit, used to obtain current media metadata and media playback status through the update information; An encapsulation unit, used to encapsulate the current media metadata and media playback status through a media control protocol to obtain media information; and The transmission unit is used to send the media information to the vehicle terminal.
8. The multimedia interconnection system according to claim 7, characterized in that: The vehicle-side multimedia module further includes a transmission module, which includes: A control instruction issuing unit, used for encapsulating the control instruction through a media control protocol and sending the control instruction to the mobile terminal; A control result receiving unit is used to receive a control result fed back by a mobile terminal; the control result is determined by the mobile terminal in the currently active media session list according to the control instruction, and the specified function of the playback control interface of the media session is called according to the control instruction, and then obtained through the callback function of the playback control interface.
9. A computer device, characterized in that: It comprises a processor and a memory, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the multimedia interconnection method as described in any one of claims 1 to 5 is implemented.
10. A computer-readable storage medium storing computer-executable instructions, characterized in that: When the computer executable instructions are executed by the control processor, the multimedia interconnection method as described in any one of claims 1-5 is implemented.
