In-vehicle audio microservice communication method, system, device and vehicle

Integrating multiple audio resources through the in-vehicle audio microservice communication method solves the problems of resource fragmentation and unstable upgrades in existing technologies, achieves a unified user experience and rapid updates, and meets the needs of future vehicle networks.

CN116013357BActive Publication Date: 2025-09-09CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211549976.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2025-09-09
Estimated Expiration
2042-12-05

AI Technical Summary

Technical Problem

In existing in-vehicle systems, audio application resources are fragmented, unable to flexibly integrate multiple audio resources, and upgrades are unstable, user experience is poor, and they rely on mobile phone connections, which cannot meet the third space needs of users in future Internet of Vehicles.

Method used

Adopting the in-vehicle audio microservice communication method, through the audio microservice session management module, identification loading module, session controller, session browser and adapter, it realizes the integration and switching of multiple audio resources, combines the two-way authentication mechanism to ensure security, and supports rapid delisting and updating.

Benefits of technology

It achieves unified integration of multiple audio resources, provides a good user experience, reduces development costs, ensures vehicle safety, supports rapid resource updates and switching, and meets the user needs of future Internet of Vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116013357B_ABST
    Figure CN116013357B_ABST
Patent Text Reader

Abstract

The present invention provides an in-vehicle audio microservice communication method, comprising an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including activation state and audio focus state; the audio microservice identification and loading module is used to identify the intent filter defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide an audio playback control function for an external caller; the audio microservice session browser is used to provide an audio data browsing function for an external caller; the audio microservice adapter is used to provide an adaptation development template for various audio application development; and the audio microservice provides an interface corresponding to the audio microservice adapter. The present invention integrates and fuses multiple audio resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of in-vehicle audio integration technology, and in particular to an in-vehicle audio microservice communication method, system, device, and vehicle. Background Art

[0002] With the advancement of vehicle intelligence and growing awareness of copyright, the number of in-car audio entertainment services, such as Kuwo Music, Himalaya Radio, QQ Music, and K-Go, is increasing. Each application holds distinct audio copyrights. Consequently, car owners are increasingly seeking in-car audio applications that integrate mainstream audio resources. The demand for technical resource integration and rapid integration and de-listing is also growing. Furthermore, the communication between in-car applications (such as voice, navigation, and scene modes) is becoming increasingly close to ensure a superior in-car entertainment experience.

[0003] Current market issues: Most in-car systems rely on a single, integrated entertainment application solution and leverage a single company's audio resources. If other audio resources are needed, arbitrary application installation is generally prohibited to ensure in-car safety. Consequently, the user experience relies primarily on connecting the phone to the car, using Bluetooth music, Android Auto, Car Play, and other methods. This approach offers a fragmented and inadequate in-car system experience. Furthermore, the heavy reliance on the phone does not align with the future concept of providing users with a third space in the connected car.

[0004] If the cooperative relationship is terminated, the audio application of the car system released on the market may become unusable. The only solution is to upgrade it. However, the upgrade package is too large to be upgraded differentially, and many unstable problems will occur after the upgrade, which is very troublesome. Summary of the Invention

[0005] In order to solve the problems existing in the above-mentioned prior art, the present invention provides an in-vehicle audio microservice communication method, including an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and the audio focus state; the audio microservice identification and loading module is used to identify the intent filter defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control function to external callers; the audio microservice session browser is used to provide audio data browsing function to external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; the audio microservice provides an interface corresponding to the audio microservice adapter.

[0006] The audio microservice includes at least a first audio microservice and a second audio microservice; the audio microservice session browser provides the audio source data of all current microservices to the external caller; the external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module; when the audio microservice session management module receives a signal to switch the audio source, the first audio microservice releases the focus, the second audio microservice seizes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module.

[0007] By setting up several audio microservices, each audio microservice can correspond to an audio source provided by an external caller, so that the various audio sources can be integrated together and the audio source can be switched by switching the audio microservice.

[0008] Furthermore, the system also includes audio microservice identification and verification, including an audio microservice configuration list module and an audio microservice loading security authentication module. The audio microservice configuration list is used to record the list of audio microservices that can be used by the microservice platform; the audio microservice loading security authentication module is used by each audio microservice to authenticate the microservice platform. Through two-way authentication between the audio microservice and the microservice platform, the user's vehicle is protected from external programs.

[0009] Furthermore, the audio microservice loading security authentication module includes an id authentication submodule, a platform authentication submodule and / or a signature authentication submodule; the id authentication submodule identifies the process id of the current microservice platform through each audio microservice for authentication, to allow the microservice platform to call the data and capabilities in the microservice; the platform authentication submodule identifies the signature platform permission of the current microservice platform through each audio microservice to allow the microservice platform to call the data and capabilities in the microservice; the signature authentication submodule identifies the signature of the current microservice platform through each audio microservice to allow the microservice platform to call the data and capabilities in the microservice.

[0010] Furthermore, if any of the sub-modules passes the verification, the microservice platform is authenticated.

[0011] Furthermore, the installation and uninstallation of the audio microservice monitor the broadcast events of the system application installation and uninstallation. When the audio microservice is installed, it enters the audio microservice loading security authentication module and the audio microservice configuration list module for review. After the review is passed, it enters the session management module to ensure the rapid listing of the audio source.

[0012] Furthermore, by actively pulling cloud configuration or cloud push configuration, the audio microservice configuration list is updated; when the list is updated, the microservices in the session management module are reviewed and the removed microservices are cleared; when the audio microservice is uninstalled, the removed microservices in the session management module are cleared to ensure the rapid removal of the audio source.

[0013] Furthermore, there is an audio microservice initialization process, which asynchronously executes the startup of the last used audio microservice and the identification and verification of all audio microservices. If the last used audio microservice is unavailable, other available audio microservices are started. When the audio source is off the shelf, other audio sources can be played.

[0014] Also provided is an in-vehicle audio microservice communication system, which uses the above method and includes an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and the audio focus state; the audio microservice identification and loading module is used to identify the intent filters defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control function to external callers; the audio microservice session browser is used to provide audio data browsing function to external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; the audio microservice provides an interface corresponding to the audio microservice adapter.

[0015] A computing device is also provided, comprising a processor and a memory, wherein the memory stores a code for executing the above method.

[0016] A vehicle is also provided, using the above method.

[0017] The present invention fuses and integrates multiple audio resources to provide users with a good and unified user experience.

[0018] When the audio partner terminates the cooperation, the present invention can disable the audio microservice by updating the microservice configuration table to ensure rapid removal from the shelves.

[0019] As long as the present invention matches the application of the in-vehicle audio microservice architecture, it can be downloaded and quickly put on the shelf through the in-vehicle application store, ensuring that users can enjoy new resources.

[0020] The present invention provides an accurate two-way signature verification mechanism, and there is a two-way verification logic between the audio microservice architecture and the microservice to ensure that the user's vehicle is not affected by external programs.

[0021] Other in-vehicle applications of the present invention can use the capabilities provided by the audio microservice architecture to call playback control capabilities and data browsing capabilities, providing users with cross-application (such as instrument display, steering wheel control, voice control, scene control, etc.) experience.

[0022] This invention microservices audio application development, providing a unified development approach and templates through an audio microservice adapter for efficient development. Furthermore, through the audio microservice controller and browser, development costs for callers are reduced, and the external interface is consistent, enabling rapid integration of product experiences across application layers. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is an overall schematic diagram of the present invention;

[0024] Figure 2 Schematic diagram of loading the security authentication module for the audio microservice of the present invention;

[0025] Figure 3 This is a schematic diagram of the rapid removal of the microservice of the present invention;

[0026] Figure 4 This is a schematic diagram of the power-on initialization of the present invention. DETAILED DESCRIPTION

[0027] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.

[0028] Example 1:

[0029] This embodiment provides an in-vehicle audio microservice communication method, including an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; the audio microservice identification and loading module is used to identify the intent filters defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control functions for external callers; the audio microservice session browser is used to provide audio data browsing functions for external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; and the audio microservice provides an interface corresponding to the audio microservice adapter.

[0030] The audio microservice includes at least a first audio microservice and a second audio microservice; the audio microservice session browser provides the audio source data of all current microservices to the external caller; the external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module, and can directly pass it to the instrument and interface application. When the audio microservice session management module receives the signal of audio source switching, the first audio microservice releases the focus, the second audio microservice seizes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module, and can directly pass it to the instrument and interface application. Other in-vehicle applications of the present invention can use the capabilities provided by the audio microservice architecture to call playback control capabilities and data browsing capabilities, providing users with cross-application experience, such as through instrument display screen, steering wheel control, voice control, scene control, etc.

[0031] By setting up several audio microservices, each of which can correspond to an audio source provided by an external caller, the various audio sources can be integrated together and switched by switching the audio microservice. This invention integrates and blends multiple audio resources to provide users with a good and unified user experience.

[0032] Example 2:

[0033] See also Figure 1 This embodiment provides an in-vehicle audio microservice communication method, including an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and the audio focus state; the audio microservice identification and loading module is used to identify the intent filter defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control function for external callers; the audio microservice session browser is used to provide audio data browsing function for external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; the audio microservice provides an interface corresponding to the audio microservice adapter.

[0034] The audio microservice includes at least a first audio microservice and a second audio microservice; the audio microservice session browser provides the audio source data of all current microservices to the external caller; the external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module; when the audio microservice session management module receives a signal to switch the audio source, the first audio microservice releases the focus, the second audio microservice seizes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module.

[0035] By setting up several audio microservices, each audio microservice can correspond to an audio source provided by an external caller, so that the various audio sources can be integrated together and the audio source can be switched by switching the audio microservice.

[0036] The system also features audio microservice identification and verification, including an audio microservice configuration list module and an audio microservice loading security authentication module. The audio microservice configuration list is used to record the list of available audio microservices on the microservice platform; the audio microservice loading security authentication module is used by each audio microservice to authenticate the microservice platform. This two-way authentication between the audio microservice and the microservice platform ensures that the user's vehicle is not affected by external programs.

[0037] Example 3:

[0038] This embodiment provides an in-vehicle audio microservice communication method, including an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; the audio microservice identification and loading module is used to identify the intent filters defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control functions for external callers; the audio microservice session browser is used to provide audio data browsing functions for external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; and the audio microservice provides an interface corresponding to the audio microservice adapter.

[0039] The audio microservice includes at least a first audio microservice and a second audio microservice; the audio microservice session browser provides the audio source data of all current microservices to the external caller; the external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module; when the audio microservice session management module receives a signal to switch the audio source, the first audio microservice releases the focus, the second audio microservice seizes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module.

[0040] By setting up several audio microservices, each audio microservice can correspond to an audio source provided by an external caller, so that the various audio sources can be integrated together and the audio source can be switched by switching the audio microservice.

[0041] There is also identification and verification of audio microservices, including an audio microservice configuration list module and an audio microservice loading security authentication module. The audio microservice configuration list is used to record the list of audio microservices that can be used by the microservice platform; the audio microservice loading security authentication module is used for each audio microservice to authenticate the microservice platform.

[0042] See also Figure 2 , the audio microservice loading security authentication module includes one or any combination of an id authentication submodule, a platform authentication submodule and a signature authentication submodule. The id authentication submodule determines whether the process id of the current microservice platform is a system process through the microservice to determine whether the microservice platform is allowed to call the data and capabilities in the microservice; the platform authentication submodule determines whether the signature of the current microservice platform has the platform permission through the microservice to determine whether the microservice platform is allowed to call the data and capabilities in the microservice; the signature authentication submodule determines whether the signature of the current microservice platform is in the signature configuration list of the microservice through the microservice to determine whether the microservice platform is allowed to call the data and capabilities in the microservice (SHA1 value and MD5 value of the application signature certificate provided by the Android system). The present invention provides an accurate two-way signature verification mechanism, and there is a two-way verification logic between the audio microservice architecture and the microservice to ensure that the user's vehicle is not affected by external programs.

[0043] Example 4:

[0044] This embodiment provides an in-vehicle audio microservice communication method, including an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; the audio microservice identification and loading module is used to identify the intent filters defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control functions for external callers; the audio microservice session browser is used to provide audio data browsing functions for external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; and the audio microservice provides an interface corresponding to the audio microservice adapter.

[0045] The audio microservice includes at least a first audio microservice and a second audio microservice; the audio microservice session browser provides the audio source data of all current microservices to the external caller; the external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module; when the audio microservice session management module receives a signal to switch the audio source, the first audio microservice releases the focus, the second audio microservice seizes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module.

[0046] By setting up several audio microservices, each audio microservice can correspond to an audio source provided by an external caller, so that the various audio sources can be integrated together and the audio source can be switched by switching the audio microservice.

[0047] There is also identification and verification of audio microservices, including an audio microservice configuration list module and an audio microservice loading security authentication module. The audio microservice configuration list is used to record the list of audio microservices that can be used by the microservice platform; the audio microservice loading security authentication module is used for each audio microservice to authenticate the microservice platform.

[0048] The audio microservice loading security authentication module includes one or any combination of an id authentication submodule, a platform authentication submodule and a signature authentication submodule. If any of the submodules passes the verification, the authentication of the microservice platform is passed. The id authentication submodule authenticates the process id of the current microservice platform through each audio microservice to allow the microservice platform to call the data and capabilities in the microservice; the platform authentication submodule authenticates the signature platform authority of the current microservice platform through each audio microservice to allow the microservice platform to call the data and capabilities in the microservice; the signature authentication submodule authenticates the signature of the current microservice platform through each audio microservice to allow the microservice platform to call the data and capabilities in the microservice. The present invention provides an accurate two-way signature verification mechanism, and there is a two-way verification logic between the audio microservice architecture and the microservice to ensure that the user's vehicle is not affected by external programs.

[0049] Example 5:

[0050] This embodiment provides an in-vehicle audio microservice communication method, including an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; the audio microservice identification and loading module is used to identify the intent filters defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control functions for external callers; the audio microservice session browser is used to provide audio data browsing functions for external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; and the audio microservice provides an interface corresponding to the audio microservice adapter.

[0051] The audio microservice includes at least a first audio microservice and a second audio microservice; the audio microservice session browser provides the audio source data of all current microservices to the external caller; the external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module; when the audio microservice session management module receives a signal to switch the audio source, the first audio microservice releases the focus, the second audio microservice seizes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module.

[0052] By setting up several audio microservices, each audio microservice can correspond to an audio source provided by an external caller, so that the various audio sources can be integrated together and the audio source can be switched by switching the audio microservice.

[0053] The system also features audio microservice identification and verification, including an audio microservice configuration list module and an audio microservice loading security authentication module. The audio microservice configuration list is used to record the list of audio microservices available to the microservice platform; the audio microservice loading security authentication module is used by each audio microservice to authenticate the microservice platform. This invention provides an accurate two-way signature verification mechanism, and two-way verification logic is implemented between the audio microservice architecture and the microservices, ensuring that the user's vehicle is not affected by external programs.

[0054] The audio microservice's installation and uninstallation monitors broadcast events related to system application installation and uninstallation. During installation, the system enters the audio microservice loading security authentication module and the audio microservice configuration list module for review. Once the review is passed, the system enters the session management module, ensuring rapid availability of audio sources. Applications compatible with the in-vehicle audio microservice architecture can be downloaded and quickly available through the in-vehicle app store, ensuring users have access to new resources.

[0055] The audio microservice can be installed and uninstalled by monitoring broadcast events related to system application installation and uninstallation. During installation, the system must re-enter the security authentication module and configuration list module for review. If the review fails, the system cannot enter the session management module for use. If the recognition is successful, the system can enter the session management module and utilize its capabilities within the microservice architecture.

[0056] Example 6:

[0057] This embodiment provides an in-vehicle audio microservice communication method, including an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; the audio microservice identification and loading module is used to identify the intent filters defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control functions for external callers; the audio microservice session browser is used to provide audio data browsing functions for external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; and the audio microservice provides an interface corresponding to the audio microservice adapter.

[0058] The audio microservice includes at least a first audio microservice and a second audio microservice; the audio microservice session browser provides the audio source data of all current microservices to the external caller; the external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module; when the audio microservice session management module receives a signal to switch the audio source, the first audio microservice releases the focus, the second audio microservice seizes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module.

[0059] By setting up several audio microservices, each audio microservice can correspond to an audio source provided by an external caller, so that the various audio sources can be integrated together and the audio source can be switched by switching the audio microservice.

[0060] The system also features audio microservice identification and verification, including an audio microservice configuration list module and an audio microservice loading security authentication module. The audio microservice configuration list is used to record the list of audio microservices available to the microservice platform; the audio microservice loading security authentication module is used by each audio microservice to authenticate the microservice platform. This invention provides an accurate two-way signature verification mechanism, and two-way verification logic is implemented between the audio microservice architecture and the microservices, ensuring that the user's vehicle is not affected by external programs.

[0061] The audio microservice's installation and uninstallation monitors broadcast events related to system application installation and uninstallation. During installation, the system enters the audio microservice loading security authentication module and the audio microservice configuration list module for review. Once the review is passed, the system enters the session management module, ensuring rapid availability of audio sources. Applications compatible with the in-vehicle audio microservice architecture can be downloaded and quickly available through the in-vehicle app store, ensuring users have access to new resources.

[0062] By actively pulling cloud configurations or pushing configurations to the cloud, the audio microservice configuration list is updated; when the list is updated, the microservices in the session management module are reviewed and the decommissioned microservices are cleared; when the audio microservice is uninstalled, the decommissioned microservices in the session management module are cleared, ensuring the rapid decommissioning of the audio source. When facing the termination of cooperation with an audio partner, the present invention can disable the audio microservice by updating the microservice configuration table, ensuring rapid decommissioning.

[0063] See also Figure 3Specifically, the audio microservice configuration list is updated via HTTP and web sockets, actively pulling configurations from the cloud and actively pushing configurations from the cloud. When the list is updated, the session management module must review and remove any microservices that have been removed. When uninstalling the audio microservice, the session management module also removes any removed microservices. However, the configuration list is not updated, ensuring that the removed microservice can continue to function normally the next time it is installed.

[0064] Example 7:

[0065] This embodiment provides an in-vehicle audio microservice communication method, including an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; the audio microservice identification and loading module is used to identify the intent filters defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control functions for external callers; the audio microservice session browser is used to provide audio data browsing functions for external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; and the audio microservice provides an interface corresponding to the audio microservice adapter.

[0066] The audio microservice includes at least a first audio microservice and a second audio microservice; the audio microservice session browser provides the audio source data of all current microservices to the external caller; the external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module; when the audio microservice session management module receives a signal to switch the audio source, the first audio microservice releases the focus, the second audio microservice seizes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module.

[0067] By setting up several audio microservices, each audio microservice can correspond to an audio source provided by an external caller, so that the various audio sources can be integrated together and the audio source can be switched by switching the audio microservice.

[0068] The system also features audio microservice identification and verification, including an audio microservice configuration list module and an audio microservice loading security authentication module. The audio microservice configuration list is used to record the list of available audio microservices on the microservice platform; the audio microservice loading security authentication module is used by each audio microservice to authenticate the microservice platform. This two-way authentication between the audio microservice and the microservice platform ensures that the user's vehicle is not affected by external programs.

[0069] The audio microservice's installation and uninstallation monitors broadcast events related to system application installation and uninstallation. During installation, the system enters the audio microservice loading security authentication module and the audio microservice configuration list module for review. Once the review is passed, the system enters the session management module, ensuring rapid availability of audio sources. Applications compatible with the in-vehicle audio microservice architecture can be downloaded and quickly available through the in-vehicle app store, ensuring users have access to new resources.

[0070] By actively pulling cloud configurations or pushing configurations to the cloud, the audio microservice configuration list is updated; when the list is updated, the microservices in the session management module are reviewed and the decommissioned microservices are cleared; when the audio microservice is uninstalled, the decommissioned microservices in the session management module are cleared, ensuring the rapid decommissioning of the audio source. When facing the termination of cooperation with an audio partner, the present invention can disable the audio microservice by updating the microservice configuration table, ensuring rapid decommissioning.

[0071] There is also an audio microservice initialization process, which asynchronously executes the startup of the last used audio microservice and the identification and verification of all audio microservices. If the last used audio microservice is unavailable, other available audio microservices are started. If the audio source is off the shelf, other audio sources can be played.

[0072] See also Figure 4 Specifically, during the boot process, the microservice needs to be identified and loaded through initialization. Two paths are used to process the last used audio microservice and the full set of microservice identification verification respectively. The purpose of this is to efficiently ensure the normal audio usage process and quickly enter the Last Mode mode (a common function for car audio. If the last audio playback status needs to be restored, the playback function should be performed. If it is not playing, the audio information should be restored silently.)

[0073] Example 8:

[0074] This embodiment is an in-vehicle audio microservice communication system, which uses the above method and includes an audio microservice session management module, an audio microservice identification and loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; the audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; the audio microservice identification and loading module is used to identify the intent filters defined in the manifest file of each audio microservice; the audio microservice session controller is used to provide audio playback control functions for external callers; the audio microservice session browser is used to provide audio data browsing functions for external callers; the audio microservice adapter is used to provide adaptation development templates for various audio application development; and the audio microservice provides an interface corresponding to the audio microservice adapter.

[0075] Example 9:

[0076] This embodiment is a computing device, including a processor and a memory, wherein the memory stores codes for executing the method in the above embodiment.

[0077] The processor may be a multi-core processor or may include multiple processors. In some embodiments, the processor may include a general-purpose main processor and one or more special coprocessors, such as a graphics processing unit (GPU), a digital signal processor (DSP), etc. In some embodiments, the processor may be implemented using customized circuits, such as application-specific integrated circuits (ASICs) or field-programmable gate arrays (FPGAs).

[0078] The memory may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by the processor or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose stored instructions and data even if the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as the permanent storage device. In other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as dynamic random access memory. The system memory may store some or all instructions and data required by the processor during operation. In addition, the memory may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and magnetic disks and / or optical disks may also be used. In some embodiments, the memory may include a readable and / or writable removable storage device, such as a compact disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not include carrier waves and transient electronic signals transmitted wirelessly or wired.

[0079] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is enabled to perform the above method.

[0080] Example 10:

[0081] This embodiment is a vehicle, and the method in the above embodiment is used.

[0082] For those skilled in the art, any modifications and changes made according to the above-mentioned embodiments of the present invention should be included in the scope of protection of the present invention without departing from the spirit of the present invention.

Claims

1. A vehicle audio microservice communication method, characterized by: Includes audio microservice session management module, audio microservice identification loading module, audio microservice session controller, audio microservice session browser, audio microservice adapter and several audio microservices; The audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; The audio microservice identification loading module is used to identify the intent filters defined in the manifest file of each audio microservice; The audio microservice session controller is used to provide audio playback control functions to external callers; Audio microservice session browser, used to provide audio data browsing function to external callers; Audio microservice adapter, used to provide templates for adaptation and development of various audio applications; Audio microservice, providing the corresponding interface of audio microservice adapter; The audio microservice includes at least a first audio microservice and a second audio microservice; The audio microservice session browser provides the audio source data of all current microservices to external callers; The external caller seizes the audio focus through the first audio microservice, initiates playback, and feeds back the playback status, audio information, and playlist information of the first audio microservice to the audio microservice session management module; When the audio microservice session management module receives the signal of audio source switching, the first audio microservice releases the focus, the second audio microservice takes the focus, calls the second audio microservice for playback, and feeds back the playback status, audio information, and playlist information of the second audio microservice to the audio microservice session management module.

2. The vehicle audio microservice communication method according to claim 1, characterized in that: It also has audio microservice identification verification, including the audio microservice configuration list module and the audio microservice loading security authentication module. The audio microservice configuration list is used to record the list of audio microservices that can be used by the microservice platform; The audio microservice loads the security authentication module, which is used by each audio microservice to authenticate the microservice platform.

3. The vehicle audio microservice communication method according to claim 2, characterized in that: The audio microservice loading security authentication module includes the ID authentication submodule, the platform authentication submodule and / or the signature authentication submodule; The ID authentication submodule authenticates the process ID of the current microservice platform through each audio microservice, allowing the microservice platform to call the data and capabilities of the microservice; The platform authentication submodule uses each audio microservice to identify the signature platform permission of the current microservice platform, allowing the microservice platform to call the data and capabilities of the microservice; The signature authentication submodule recognizes the signature of the current microservice platform through each audio microservice, allowing the microservice platform to call the data and capabilities in the microservice.

4. The vehicle audio microservice communication method according to claim 3, characterized in that: If any of the sub-modules passes the verification, the microservice platform is authenticated.

5. The vehicle-mounted audio microservice communication method according to any one of claims 2 to 4, characterized in that: The installation and uninstallation of the audio microservice monitors the broadcast events of system application installation and uninstallation. When the audio microservice is installed, it enters the audio microservice loading security authentication module and the audio microservice configuration list module for review. After the review is passed, it enters the session management module.

6. The vehicle audio microservice communication method according to claim 5, characterized in that: Update the audio microservice configuration list by actively pulling cloud configuration or pushing cloud configuration. When the list is updated, review the microservices in the session management module and remove the decommissioned microservices. When the audio microservice is uninstalled, clear the removed microservices in the session management module.

7. The vehicle audio microservice communication method according to claim 6, characterized in that: There is also an audio microservice initialization process, which asynchronously executes the startup of the last used audio microservice and the identification and verification of all audio microservices. If the last used audio microservice is unavailable, other available audio microservices are started.

8. An in-vehicle audio microservice communication system, characterized by: Using the method described in any one of claims 1 to 7, comprising an audio microservice session management module, an audio microservice identification loading module, an audio microservice session controller, an audio microservice session browser, an audio microservice adapter, and several audio microservices; The audio microservice session management module is used to maintain and manage the life cycle of each audio microservice, including the activation state and audio focus state; The audio microservice identification loading module is used to identify the intent filters defined in the manifest file of each audio microservice; The audio microservice session controller is used to provide audio playback control functions to external callers; Audio microservice session browser, used to provide audio data browsing function to external callers; Audio microservice adapter, used to provide templates for adaptation and development of various audio applications; Audio microservice, providing the interface corresponding to the audio microservice adapter.

9. A computing device, characterized in that: The method comprises a processor and a memory, wherein the memory stores codes for executing the method according to any one of claims 1 to 7.

10. A vehicle, characterized in that: Use the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Network service optimization method and device

    CN108365976A

  • Speech recognition method and device, equipment and storage medium

    CN112802457A