CN116132143A - Multi-screen control system and method for vehicle-mounted media micro-service architecture - Google Patents

Multi-screen control system and method for vehicle-mounted media micro-service architecture Download PDF

Info

Publication number
CN116132143A
CN116132143A CN202310008907.1A CN202310008907A CN116132143A CN 116132143 A CN116132143 A CN 116132143A CN 202310008907 A CN202310008907 A CN 202310008907A CN 116132143 A CN116132143 A CN 116132143A
Authority
CN
China
Prior art keywords
screen
service
micro
media
management module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310008907.1A
Other languages
Chinese (zh)
Inventor
张新猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202310008907.1A priority Critical patent/CN116132143A/en
Publication of CN116132143A publication Critical patent/CN116132143A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to the technical field of vehicle-mounted communication, in particular to a multi-screen control system and a method of a vehicle-mounted medium micro-service architecture, wherein the system comprises a user space layer, a kernel space layer and a micro-service space layer; a user registers a media micro-service in a multi-screen micro-service management module through a screen service end, acquires the media micro-service at a screen client through the multi-screen micro-service management module, and uses the media micro-service at the screen client through the screen service end; the system realizes the registration of all media micro services under multiple screens by combining the multi-screen driving equipment and the multi-screen media micro service management module with a C/S architecture, thereby being convenient for unified management; the multi-screen media micro-service management module can acquire any media micro-service of any screen, call the playing control capability and the data browsing capability of the appointed audio and video of the appointed screen, and improve the cross-screen use experience of a user.

Description

Multi-screen control system and method for vehicle-mounted media micro-service architecture
Technical Field
The invention relates to the technical field of vehicle-mounted communication, in particular to a multi-screen control system and method of a vehicle-mounted media micro-service architecture.
Background
In a vehicle-mounted media system in a screen of a vehicle, a plurality of audio and video software including music, video, radio and the like are arranged in the vehicle, and meanwhile, a vehicle possibly has a plurality of screens, and a set of independent and complete audio and video software is respectively carried. Under the conditions of multiple screens and numerous audio and video software, how to uniformly and efficiently control the multi-screen media becomes a key point of the development of the vehicle-mounted communication technology.
The conventional media multi-screen control method at present is that a request message is transmitted between screens, namely, a first display screen of a vehicle-mounted system is in communication connection with at least one second display screen, the first display screen enables the first display screen and the at least one second display screen to enter a multi-screen interaction state according to a first operation instruction input by a user, in the multi-screen interaction state, at least one second display screen is confirmed, an interaction authorization authentication request is sent to the at least one second display screen, an authorization authentication success response sent by the at least one second display screen is received, interaction content is shared with the at least one second display screen, the fact that the interaction content in the first display screen can be shared with the at least one second display screen is achieved, media of the second display screen are controlled after the second display screen is taken to the interaction content of the first display screen, for example, the media of the second display screen are transmitted to an audio and video software app, and the audio and video software app of the second display screen executes relevant instructions, such as playing, pausing, track switching and the like.
The media multi-screen control implementation manner has a plurality of defects that firstly, the media multi-screen control implementation manner does not have the capability of integrating and registering all media micro-services under a multi-screen and performing unified management, has low development efficiency and low safety, and also does not have the hot plug capability of the screen with own media services.
In the scheme, after a communication module connected with the vehicle-mounted micro-service architecture initiates a request for communication with other communication modules, the vehicle-mounted micro-service architecture searches corresponding communication information from prestored communication information and completes communication between a first communication module and a second communication module according to the communication information. Therefore, each pain module does not need to care about the communication information of other communication modules, and can complete the communication with other communication modules only by sending a communication request to the vehicle-mounted service architecture.
However, the above solution is mainly a micro-service architecture for a vehicle-mounted system, and involves various components in the vehicle-mounted system, and is mainly a communication means between communication modules in the vehicle-mounted system, which is different from the main content involved in the micro-service architecture of the vehicle-mounted medium controlled by multiple screens.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention aims to provide a multi-screen control system of a vehicle-mounted media micro-service architecture, which can uniformly manage audio and video micro-services aiming at multiple screens and improve the use experience of the vehicle-mounted media multi-screen.
In order to solve the technical problems, the technical scheme provided by the invention is as follows: the multi-screen control system of the vehicle-mounted medium micro-service architecture comprises a user space layer, a kernel space layer and a micro-service space layer;
the user space comprises a screen management module, a session management module, a white list module, a token authentication module, a session control module, a session browsing module, a multi-screen micro-service management module, a screen client and a screen server;
a user registers a media micro-service in the multi-screen micro-service management module through the screen service end, acquires the media micro-service from the screen client through the multi-screen micro-service management module, and uses the media micro-service from the screen client through the screen service end;
the kernel space layer comprises a multi-screen driving device, and the micro-service space layer comprises a plurality of screens and a media micro-service in each screen;
the screen management module is used for maintaining and managing the life cycle of each screen;
the session management module is used for maintaining and managing the life cycle and the working state of each media micro-service;
the white list module is used for carrying out white list identification on the screen and the media micro-service, and the screen and the media micro-service without the white list identification cannot be registered and connected;
the token authentication module is used for carrying out token authentication on the multi-screen micro-service management module, each screen and the media micro-service in the screen;
the session control module is used for providing an agent object for an external caller as the multi-screen micro-service management module, and the agent controls the appointed screen and the playing control of the appointed media micro-service;
the session browsing module is used as the multi-screen micro-service management module to provide a proxy object for an external caller, and the proxy controls the browsing of a designated screen and a designated media micro-service.
In the technical scheme, the system realizes the registration of all the media micro services under multiple screens by combining the multi-screen driving equipment and the multi-screen media micro service management module with the C/S architecture, and is convenient for unified management. The multi-screen media micro-service management module can acquire any media micro-service of any screen, call the playing control capability and the data browsing capability of the appointed audio and video of the appointed screen, and improve the cross-screen use experience of a user. The scheme also has the advantage of developing high efficiency, can micro-service the mode of developing the media application under multiple screens, provides a unified interface and template, realizes quick loading and unloading of multiple screens and quick registration and updating of the media micro-service under the screens, and realizes complete decoupling. In addition, multiple check logics can be realized through the white list and the token check module, and the overall safety of the system is improved. The system can be used for interfacing any media micro-service of any screen, realizes hot plug of the screen and application, and has strong expansibility and high safety.
Further, the multi-screen micro-service management module comprises a registration service unit, an acquisition service unit and a use service unit, wherein the registration service unit is used for appointing a micro-service management process of a screen and registering a media micro-service in the screen into a micro-service manager;
the acquisition service unit is used for acquiring corresponding media micro-services from the micro-service manager before a screen client process for calling media uses a certain media micro-service;
the service using unit is used as a screen client to establish a road for system communication on a screen where the media micro-service is located according to the obtained media micro-service information so as to realize direct interaction with the media micro-service.
Further, the system also comprises a multi-screen driving device and an audio micro-service module, wherein the multi-screen driving device is used for local area network communication between different screen systems, the audio micro-service module is a media micro-service registered at each screen service end, and the audio micro-service module uses a unified media control and browsing protocol, including but not limited to local music, bluetooth music, a radio station and local video.
Further, the screen service end registers with the multi-screen micro-service management module through the multi-screen driving device, after registration, the screen client end inquires the address of the media micro-service to the multi-screen micro-service management module through the multi-screen driving device, the multi-screen micro-service management module returns the media micro-service process address of each screen to the screen client end, the screen client end uses the media micro-service through the multi-screen driving device, and the screen service end provides micro-service return data for the screen client end.
The control method of the multi-screen control system of the vehicle-mounted media micro-service architecture comprises the following steps:
(1) The user sends out an instruction, the multi-screen micro-service management module inquires in the module after receiving the instruction, if the local micro-service of the screen corresponding to the user is registered, the proxy object of the registered local micro-service in the screen is directly obtained, and a corresponding controller is generated through the session control module;
(2) Through the generated controller, the multi-screen driving device is used for carrying out communication to generate a session, establishing a connection with a corresponding screen local micro-service and calling a universal interface;
(3) After receiving the instruction, the corresponding screen local micro-service calls the working element of the corresponding screen local micro-service to execute the instruction;
(4) And simultaneously feeding back the working state of the micro-service to the multi-screen micro-service management module through the session browsing module, and simultaneously synchronizing the working state of the micro-service to all screens.
In step (1), the registering and acquiring of the multi-screen micro service management module includes the following steps:
(1) A process uses a command to register itself as the multi-screen micro-service management module through the multi-screen driving device;
(2) The screen service end registers the media micro-service under the screen to the multi-screen micro-service management module through the multi-screen driving equipment, the multi-screen driving equipment creates entity nodes positioned in a kernel for the media micro-service and references to the entities by the multi-screen micro-service management module, names and newly built references are packaged and transmitted to the multi-screen micro-service management module, and the multi-screen micro-service management module fills the information into a lookup table;
(3) The screen client obtains the reference to the media micro-service entity from the multi-screen micro-service management module with the help of the multi-screen driving device by name.
Further, the application method of the whitelist module comprises the following steps:
(1) Installing the media micro-service of the screen, and notifying the installation to a screen service end of the screen;
(2) The screen service end of the screen is forwarded to the white list module through the multi-screen driving device;
(3) After the white list passes verification, the screen server generates a token A, the token A is decrypted by the token authentication module and passes/fails, if the token A passes, the token A is registered to the multi-screen micro-service management module, and if the token A does not pass, the token A is not registered.
Further, the media micro-service comprises three bases for identifying the media micro-service by the vehicle-mounted media micro-service architecture, namely a package name, a signature and a screen id, wherein the field name of the package name is a micro-service unique identifier, the field name of the signature is a micro-service application signature, and the field name of the screen id is a micro-service screen id;
and in the token authentication module, the screen server of the screen is combined with a screen id, a package name and a signature, and a token A is generated through an AES algorithm.
The electronic device comprises at least one processor and a memory in communication connection with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the steps of the multi-screen control method of the vehicle-mounted media micro-service architecture.
The computer readable storage medium stores a program for implementing a service thread control method, and the program for implementing the service thread control method is executed by a processor to implement the steps of the multi-screen control method of the vehicle-mounted medium micro-service architecture.
Compared with the prior art, the scheme has the remarkable advantages that:
1. through the design of an integrated system, the integration and unified management of all registered media micro services are realized by adopting a C/S architecture in combination with multi-screen driving equipment and a multi-screen media micro service management module;
2. the media micro-service of any screen can be acquired, the playing control capability and the data browsing capability of the specified audio and video of the screen are called, and the cross-screen control experience of a user is improved;
3. the quick registration and the quick update of a plurality of screens can be realized, and the complete decoupling is realized;
4. multiple verification logics are realized through the white list and the token verification module, so that the safety is improved;
5. any media micro-service of any screen can be docked, hot plug of the screen and application is realized, and expansibility is improved.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic block diagram of a control system according to an embodiment of the present invention;
FIG. 2 is a flow chart of the control method according to an embodiment of the present invention;
FIG. 3 is a flow chart of the system according to the instruction execution function in the embodiment of the invention;
FIG. 4 is a flowchart of the steps for registering and obtaining a multi-screen micro-service management module according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of the registration and acquisition operation principle of the multi-screen micro-service management module according to the embodiment of the present invention;
FIG. 6 is a flowchart of a method for applying a whitelist module according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of the installation and uninstallation of a multi-screen micro-service management module according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating the working principle of a token authentication module according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a working principle of a session management module in an embodiment of the present invention.
Detailed Description
The following description of preferred embodiments of the present invention is provided in connection with the accompanying drawings, and it is to be understood that the preferred embodiments described herein are for the purpose of illustration and explanation only and are not intended to limit the invention thereto.
As shown in fig. 1, the multi-screen control system of the vehicle-mounted media micro-service architecture of the present invention includes a user space layer, a kernel space layer and a micro-service space layer.
The user space layer comprises a screen management module, a session management module, a white list module, a token authentication module, a session control module, a session browsing module, a multi-screen micro-service management module, a screen client and a screen server.
The user registers the media micro-service in the multi-screen micro-service management module through the screen service end, and the user obtains the media micro-service at the screen client through the multi-screen micro-service management module and can use the media micro-service at the screen client through the screen service end.
The kernel space layer comprises a multi-screen driving device, the micro-service space layer comprises a plurality of screens and a plurality of media micro-services in each screen, and the multi-screen driving device can interact with the multi-screen micro-service management module and each screen.
The screen management module is used for maintaining and managing the life cycle of each screen, including whether to connect, whether to verify and whether to activate.
The session management module is used for maintaining and managing the life cycle and working state of each media micro-service, including whether to create connection, play media information of the current session, play state, play list, play mode and the like.
The white list module is used for carrying out white list identification on the screen and the media micro-service, and the screen and the media micro-service without the white list identification cannot be registered and connected.
The token authentication module is used for carrying out token authentication on the multi-screen micro-service management module and each screen and the media micro-service in the screen.
The session control module is used as a multi-screen micro-service management module to provide a proxy object for an external caller, and can proxy control the playing control of the appointed media micro-service in the appointed screen.
The session browsing module is used as a multi-screen micro-service management module to provide a proxy object for an external caller, and can proxy and control the browsing of a designated screen and a designated media micro-service.
The multi-screen micro-service management module comprises a registration service unit, an acquisition service unit and a use service unit, wherein the registration service unit is applied to a micro-service management process of a designated screen, and registers the media micro-service in the screen into a micro-service manager. In this process, the screen server is the client and the micro-service manager is the server.
The acquisition service unit is used for acquiring the corresponding media micro-service from the micro-service manager before the screen client process for calling the media uses a certain media micro-service. In this process, the screen client is the client and the micro-service manager is the server.
The service unit is used as a screen client to establish a road for system communication with a screen where the media micro-service is located according to the obtained media micro-service information, and in the process, the screen client is a client, and the media micro-service and the micro-service manager are service ends.
The multi-screen driving device is used for local area network communication among different screen systems, and a socket communication mode is adopted in the embodiment. The system also comprises an audio micro-service module, wherein the module is the media micro-service registered at each screen service end, and the media micro-service under the module uses a unified media control and browsing protocol, including but not limited to local music, bluetooth music, radio station, local video and the like.
The system also comprises a multi-screen driving device and an audio micro-service module, wherein the multi-screen driving device is used for local area network communication between different screen systems, the audio micro-service module is a media micro-service registered at each screen service end, and the audio micro-service module uses a unified media control and browsing protocol, including but not limited to local music, bluetooth music, a radio station and local video.
In the technical scheme, the system realizes the registration of all the media micro services under multiple screens by combining the multi-screen driving equipment and the multi-screen media micro service management module with the C/S architecture, and is convenient for unified management. The multi-screen media micro-service management module can acquire any media micro-service of any screen, call the playing control capability and the data browsing capability of the appointed audio and video of the appointed screen, and improve the cross-screen use experience of a user. The scheme also has the advantage of developing high efficiency, can micro-service the mode of developing the media application under multiple screens, provides a unified interface and template, realizes quick loading and unloading of multiple screens and quick registration and updating of the media micro-service under the screens, and realizes complete decoupling. In addition, multiple check logics can be realized through the white list and the token check module, and the overall safety of the system is improved. The system can be used for interfacing any media micro-service of any screen, realizes hot plug of the screen and application, and has strong expansibility and high safety.
As shown in fig. 2, the control method of the multi-screen control system of the vehicle-mounted media micro-service architecture includes the following steps:
(1) After receiving the instruction, the multi-screen micro-service management module queries the inside of the module, if the local of the screen corresponding to the user is registered for service, directly acquiring the proxy object of the registered local micro-service in the screen, and generating a corresponding micro-service controller through the session control module;
(2) Through the generated micro-service controller, the communication is carried out through the multi-screen driving equipment to generate a session, and the session is established with the corresponding screen local micro-service to call the universal interface;
(3) After receiving the instruction, the corresponding screen local micro-service calls the working element of the corresponding screen local micro-service to execute the instruction;
(4) And simultaneously feeding back the working state of the micro-service to the multi-screen micro-service management module through the session browsing module, and simultaneously synchronizing the working state of the micro-service to all screens.
As shown in fig. 3, in this embodiment, the user issues a voice command of "play back local music".
After the voice command is sent out, the multi-screen micro-service management module acquires a micro-service controller of local music of the rear-row screen, generates session control with the rear-row screen, transmits the session to the corresponding rear-row screen through the multi-screen driving device, and executes a playing command of the local music micro-service in the rear-row screen.
In the above process, the registration and acquisition of the multi-screen micro service management module, as shown in fig. 4 and 5, includes the following steps:
(1) A process uses a command to register itself as a multi-screen micro-service management module through a multi-screen driving device;
(2) The method comprises the steps that a screen service end registers media micro-services under a screen to a multi-screen micro-service management module through multi-screen driving equipment, the multi-screen driving equipment creates entity nodes in a kernel for the media micro-services and references to entities by the multi-screen micro-service management module, names and newly built references are packaged and transmitted to the multi-screen micro-service management module, and the multi-screen micro-service management module fills the information into a lookup table;
(3) The screen client obtains a reference to the media micro-service entity from the multi-screen micro-service management module by name with the help of the multi-screen driving device.
Specifically, first, a process registers itself as a multi-SCREEN micro-service manager through a multi-SCREEN driving device using a SCREEN_CONTEXT_MGR command. The screen service end automatically registers the media micro-service under the screen to the multi-screen micro-service manager through the multi-screen driving device, which indicates that the media micro-service can be provided externally. The multi-screen driving device creates an entity node in the kernel for the media micro-service and a reference to the entity by the multi-screen micro-service manager, packages the name and the newly built reference to the multi-screen micro-service manager, and fills the multi-screen micro-service manager into a lookup table.
The screen client obtains the reference to the media micro-service entity from the multi-screen micro-service manager with the help of the multi-screen driver by name, and can realize the communication with the multi-screen micro-service process by the reference.
In this embodiment, taking the example of implementing a program to call a system service across screens, such as playing local music of screen 1, the code is:
local music service reference for/acquisition screen 1
CpManagercmManager=(ScreenManager)getSystemService(1,LOCAL_MUSIC_SE RVICE);
Local music of the/play screen 1
cpManager.play();
The above registration service unit, the acquisition service unit and the usage service unit are combined, wherein the registration service is: in the Android startup process, android initializes various services of the system, scans each screen Service end through the multi-screen driving equipment, and automatically registers media micro-services of the screen Service ends to the multi-screen micro-Service manager.
The acquisition service is that the screen client needs to obtain a specific media micro-service directly to the multi-screen micro-service manager, the client firstly queries the multi-screen micro-service management module to obtain a specific media micro-service reference, usually a proxy object of the media micro-service reference, and performs some processing operations on the data. I.e. the first line of code, gets a reference that cpManager is the local music service object of screen 1.
The service is used, a request is sent to a specific server through the reference, the server returns after the execution is finished, namely, the second line calls the play function of the cpManager, the remote call is triggered, and the play function running in the local music process of the screen 1 is called.
The screen client calls the media micro-service of the screen 1 by obtaining a proxy interface of the screen 1. The method defined in the proxy interface is one-to-one with the method defined in the media micro-service. When the screen client calls a method in a certain proxy interface, the proxy interface method packages parameters transmitted by the client into a serizable object. And the agent interface sends the serizable to the multi-screen driver in the kernel, the screen server side can read the request data in the multi-screen driver, and if the request data is sent to the agent interface, the agent interface unpacks the serizable object, processes the request data and returns the result.
The whole calling process is a synchronous process, and when the screen meal server processes, the screen client can Block, so that the screen client calling process is not in the main thread.
As shown in fig. 6, the method for using the whitelist module includes the following steps:
(1) Installing a media micro-service of the screen, and notifying the installation to a screen service end of the screen;
(2) The screen service end of the screen is forwarded to the white list module through the multi-screen driving device;
(3) After the white list passes verification, the screen server generates a token A, the token A is decrypted and passes/fails, if the token passes, the token A is registered to the multi-screen micro-service management module, and if the token passes, the token A is not registered.
Specifically, in the whole system, as shown in fig. 7, the multi-screen micro service management module is installed and uninstalled, and the server side of the screen notifies the installed and uninstalled media micro service to the server side of the screen by monitoring the broadcast event of the system application installation and uninstalled. The server side of the screen forwards the request to a white list module through a multi-screen driving device, wherein the white list module is configured in a cloud.
If the whitelist module does not configure the media micro-services of the screen, the token authentication module cannot be entered. The token authentication module may be entered if the match is successful.
Before that, as shown in fig. 8, the service end of the screen generates a token a by combining the screen id, the package name and the signature of the media micro-service and through the AES algorithm. The token authentication module carries out AES decryption on token A, generates a package name, a signature and a screen id, carries out relevant verification, passes and fails, registers to the multi-screen micro-service management module if the package name and the signature pass, and does not register if the package name and the signature pass, so that the safety of a vehicle-mounted system is protected in a bidirectional authentication mode, and the safety of the use authority of the media micro-service is also protected.
The media micro-service comprises three bases for identifying the media micro-service as a vehicle-mounted media micro-service architecture, wherein the bases are package name, signature and screen id, the field name of the package name is a unique identification of the micro-service, the field name of the signature is a micro-service application signature, and the field name of the screen id is a micro-service screen id.
In addition, in the session management module, the session management module is used as a core function module of the media micro-service session, and the state of the media micro-service under the multi-screen is maintained and managed in a state recording mode. As shown in fig. 9, the media session is responsible for all communications with the player, he will hide the player's API from the rest of the application, and the system can only call the player from the media session that controls the player.
It may also maintain player status such as play, pause, media information, playlist, play mode, etc., and the session may receive callbacks from one or more media controllers. The module realizes the adapter according to the audio micro-service monitoring, and transmits the playing state, the focus state and the connection state.
The electronic device of the present invention includes at least one processor and a memory communicatively connected to the at least one processor, where the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the steps of the multi-screen control method of the vehicle-mounted media micro-service architecture.
The computer readable storage medium of the present invention stores a program for implementing a service thread control method, and the program for implementing the service thread control method is executed by a processor to implement the steps of the multi-screen control method of the vehicle-mounted medium micro-service architecture.
Finally, it should be noted that: the foregoing is merely a preferred example of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A multi-screen control system of a vehicle-mounted medium micro-service architecture is characterized by comprising a user space layer, a kernel space layer and a micro-service space layer;
the user space comprises a screen management module, a session management module, a white list module, a token authentication module, a session control module, a session browsing module, a multi-screen micro-service management module, a screen client and a screen server;
a user registers a media micro-service in the multi-screen micro-service management module through the screen service end, acquires the media micro-service from the screen client through the multi-screen micro-service management module, and uses the media micro-service from the screen client through the screen service end;
the kernel space layer comprises a multi-screen driving device, and the micro-service space layer comprises a plurality of screens and a media micro-service in each screen;
the screen management module is used for maintaining and managing the life cycle of each screen;
the session management module is used for maintaining and managing the life cycle and the working state of each media micro-service;
the white list module is used for carrying out white list identification on the screen and the media micro-service, and the screen and the media micro-service without the white list identification cannot be registered and connected;
the token authentication module is used for carrying out token authentication on the multi-screen micro-service management module, each screen and the media micro-service in the screen;
the session control module is used for providing an agent object for an external caller as the multi-screen micro-service management module, and the agent controls the appointed screen and the playing control of the appointed media micro-service;
the session browsing module is used as the multi-screen micro-service management module to provide a proxy object for an external caller, and the proxy controls the browsing of a designated screen and a designated media micro-service.
2. The multi-screen control system of the vehicle-mounted media micro-service architecture according to claim 1, wherein the multi-screen micro-service management module comprises a registration service unit, an acquisition service unit and a usage service unit, wherein the registration service unit is used for designating a micro-service management process of a screen and registering media micro-services in the screen into a micro-service manager;
the acquisition service unit is used for acquiring corresponding media micro-services from the micro-service manager before a screen client process for calling media uses a certain media micro-service;
the service using unit is used as a screen client to establish a road for system communication with a screen where the media micro-service is located according to the obtained media micro-service information.
3. The multi-screen control system of an on-vehicle media micro-service architecture of claim 1, further comprising a multi-screen driver device for local area network communication between different screen systems and an audio micro-service module that is a media micro-service registered at each screen server, the audio micro-service module using a unified media control and browsing protocol including, but not limited to, local music, bluetooth music, radio station, local video.
4. The multi-screen control system of the vehicle-mounted media micro-service architecture according to claim 1, wherein the screen service end registers with the multi-screen micro-service management module through the multi-screen driving device, after the registration, the screen client inquires an address of a media micro-service from the multi-screen micro-service management module through the multi-screen driving device, the multi-screen micro-service management module returns a media micro-service process address of each screen to the screen client, the screen client uses the media micro-service through the multi-screen driving device, and the screen service end provides micro-service return data to the screen client.
5. A control method of a multi-screen control system of an on-vehicle media micro-service architecture according to any one of claims 1 to 4, comprising the steps of:
(1) The user sends out an instruction, the multi-screen micro-service management module inquires in the module after receiving the instruction, if the local micro-service of the screen corresponding to the user is registered, the proxy object of the registered local micro-service in the screen is directly obtained, and a corresponding controller is generated through the session control module;
(2) Through the generated controller, the multi-screen driving device is used for carrying out communication to generate a session, establishing a connection with a corresponding screen local micro-service and calling a universal interface;
(3) After receiving the instruction, the corresponding screen local micro-service calls the working element of the corresponding screen local micro-service to execute the instruction;
(4) And simultaneously feeding back the working state of the micro-service to the multi-screen micro-service management module through the session browsing module, and simultaneously synchronizing the working state of the micro-service to all screens.
6. The method for multi-screen control of an on-vehicle media micro-service architecture according to claim 5, wherein in step (1), the registering and acquiring of the multi-screen micro-service management module comprises the steps of:
(1) A process uses a command to register itself as the multi-screen micro-service management module through the multi-screen driving device;
(2) The screen service end registers the media micro-service under the screen to the multi-screen micro-service management module through the multi-screen driving equipment, the multi-screen driving equipment creates entity nodes positioned in a kernel for the media micro-service and references to the entities by the multi-screen micro-service management module, names and newly built references are packaged and transmitted to the multi-screen micro-service management module, and the multi-screen micro-service management module fills the information into a lookup table;
(3) The screen client obtains the reference to the media micro-service entity from the multi-screen micro-service management module with the help of the multi-screen driving device by name.
7. The method for multi-screen control of an on-vehicle media micro-service architecture according to claim 5, wherein the method for using the whitelist module comprises the following steps:
(1) Installing the media micro-service of the screen, and notifying the installation to a screen service end of the screen;
(2) The screen service end of the screen is forwarded to the white list module through the multi-screen driving device;
(3) After the white list passes verification, the screen server generates a token A, the token A is decrypted by the token authentication module and passes/fails, if the token A passes, the token A is registered to the multi-screen micro-service management module, and if the token A does not pass, the token A is not registered.
8. The multi-screen control method of the vehicle-mounted media micro-service architecture according to claim 7, wherein the media micro-service comprises three components, namely a package name, a signature and a screen id, which are used as the basis for identifying the media micro-service by the vehicle-mounted media micro-service architecture, wherein the field name of the package name is a unique identification of the micro-service, the field name of the signature is a signature of a micro-service application, and the field name of the screen id is a micro-service screen id;
and in the token authentication module, the screen server of the screen is combined with a screen id, a package name and a signature, and a token A is generated through an AES algorithm.
9. An electronic device comprising at least one processor and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the multi-screen control method of the vehicle-mounted media micro-service architecture of any one of claims 5-8.
10. A computer-readable storage medium, wherein a program for implementing a service thread control method is stored on the computer-readable storage medium, and the program for implementing the service thread control method is executed by a processor to implement the steps of the multi-screen control method of the vehicular media micro-service architecture according to any one of claims 5 to 8.
CN202310008907.1A 2023-01-04 2023-01-04 Multi-screen control system and method for vehicle-mounted media micro-service architecture Pending CN116132143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310008907.1A CN116132143A (en) 2023-01-04 2023-01-04 Multi-screen control system and method for vehicle-mounted media micro-service architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310008907.1A CN116132143A (en) 2023-01-04 2023-01-04 Multi-screen control system and method for vehicle-mounted media micro-service architecture

Publications (1)

Publication Number Publication Date
CN116132143A true CN116132143A (en) 2023-05-16

Family

ID=86295086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310008907.1A Pending CN116132143A (en) 2023-01-04 2023-01-04 Multi-screen control system and method for vehicle-mounted media micro-service architecture

Country Status (1)

Country Link
CN (1) CN116132143A (en)

Similar Documents

Publication Publication Date Title
CN111736955B (en) Data storage method, device and equipment and readable storage medium
CN109102593B (en) Method and apparatus for managing vehicle control authority
EP2051440B1 (en) A method for executing management operation by communication terminal and a terminal and system thereof
CN110944330A (en) MEC platform deployment method and device
WO2016037479A1 (en) Method, device and system for optimizing virtualized network function (vnf)
US20120226740A1 (en) System and method to provide remote device management for mobile virtualized platforms
KR20140119544A (en) Method and apparatus of message routing for proximity service in a mobile communication system
JP2011123903A (en) Method and apparatus for simultaneously hosting multiple service providers on network
CN108833471B (en) Internet of things service processing method, Internet of things gateway and Internet of things
CN113259930A (en) Calling request, inquiry and authorization processing method, device and apparatus, and medium
CN113572862A (en) Cluster deployment method and device, electronic equipment and storage medium
KR102016347B1 (en) Method and apparatus for connecting between client and server
US11372444B2 (en) In-vehicle infotainment apparatus, terminal device, and vehicle
WO2012016519A1 (en) Method, apparatus and system for software management
CN111756782B (en) Message transmission system and method based on heterogeneous operating system and vehicle
CN108881460B (en) Method and device for realizing unified monitoring of cloud platform
CN116132143A (en) Multi-screen control system and method for vehicle-mounted media micro-service architecture
CN112953986A (en) Management method and device for edge application
CN115454674A (en) Method and device for acquiring external data source data, electronic equipment and storage medium
WO2017148337A1 (en) Methods of providing and acquiring terminal service, device, and terminal
KR20190080418A (en) IoT SERVICE PROVIDING APPARATUS AND PROVIDING METHOD
WO2017148104A1 (en) Method and apparatus for collectively managing bandwidth of passive optical network terminal
CN109933960B (en) Service calling control method, service calling method, device and terminal
CN105827565A (en) Application security authentication system, application security authentication method, and terminal
CN114285522B (en) Access control method, system and medium for local service area

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination