Cabin KTV multi-screen interaction screen projection method and device

By creating a new rear-row interface and rendering the front-row video frames in the in-vehicle KTV system, the problem of the inability to operate the multi-screen interaction in in-vehicle KTV independently was solved. This enabled the synchronous display and differentiated customization of video content and menu interface, thus improving the multi-screen interaction experience.

CN120915992AActive Publication Date: 2025-11-07LION AUTOMOTIVE TECH NANJING CO LTD +2
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511019578.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-23
Publication Date
2025-11-07
Estimated Expiration
2045-07-23

AI Technical Summary

Technical Problem

Existing in-vehicle KTV multi-screen interaction technology can only project the screen and cannot perform independent menu operations, which means that rear-seat users cannot independently select songs, switch songs, or adjust the atmosphere, resulting in low interactivity.

Method used

By creating a new activity interface in the rear of the target vehicle and obtaining video frame bitmaps from the KTV main interface on the front driver's screen at preset intervals, and rendering them on the canvas of the rear interface, the video source playback of the rear interface and the KTV main interface on the front driver's screen can be synchronized, with an independent operation menu interface superimposed.

Benefits of technology

It enables synchronized display of video content on multi-screen hardware and customization of the menu interface, enriching the user interaction content of multi-screen hardware and allowing users in the back row to operate independently without affecting the user experience of users in the front row.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120915992A_ABST
    Figure CN120915992A_ABST
Patent Text Reader

Abstract

The invention relates to a screen projection method and device for cabin KTV multi-screen interaction, and the method comprises the steps: starting a screen projection mode of a target vehicle, so as to newly build and display an activity interface at the rear row of the target vehicle; acquiring a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front-row main driving screen of the target vehicle every preset time, drawing a bitmap object corresponding to the current video frame picture bitmap into canvas of a playing control of a rear-row interface, and drawing the canvas into a rear-row TextureView for rendering to obtain corresponding rendering data; and based on the rendering data and the activity interface, enabling the back-row interface and the KTV main interface of the front-row main driving screen to perform synchronous video source playing. According to the method, only the video content is projected to other screens, so that the menu interface is specially customized and differentiated according to the position of the screen.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of intelligent cockpit, in particular to a cockpit KTV multi-screen interaction screen projection method and device. BACKGROUND

[0002] At present, most of the use of front and rear screens is the technical solution of screen projection, such as the Mirror screen projection framework of Android, which projects the picture one-to-one and copies it, but at the same time, all elements of the front screen, such as the menu interface, are also projected, thereby greatly reducing the use experience of the rear users. Since the front row only needs to operate the menu, it will block the screen view of the rear row of passengers who have no operation needs, and the rear users have no independent operation menu interface and completely rely on the operation of the front row. If the rear users want to independently order songs, change songs and operate atmosphere during the singing and entertainment process, it cannot be realized. Conversely, when the rear row operates the screen projection, the front screen is also the same, the interactivity is very low, and only the synchronous display effect is realized.

[0003] In summary, the vehicle-mounted KTV multi-screen interaction in the prior art can only project the screen, but cannot independently operate the menu, which needs to be solved. SUMMARY

[0004] The present application provides a cockpit KTV multi-screen interaction screen projection method and device to solve the problem that the vehicle-mounted KTV multi-screen interaction in the prior art can only project the screen, but cannot independently operate the menu.

[0005] The first aspect of the present application provides a cockpit KTV multi-screen interaction screen projection method, comprising the following steps: starting the screen projection mode of a target vehicle to newly create and display an activity interface in the rear row of the target vehicle; every preset time, acquiring a current video frame picture bitmap from a KTV main interface playing TextureView of a front row main driver screen of the target vehicle, drawing a bitmap object corresponding to the current video frame picture bitmap to a canvas of a playing control of the rear row interface, and rendering the canvas to a TextureView of the rear row to obtain corresponding rendering data; based on the rendering data and the activity interface, making the rear row interface and the KTV main interface of the front row main driver screen play the video source synchronously.

[0006] Optionally, in an embodiment of the present application, based on the rendering data and the activity interface, making the rear row interface and the KTV main interface of the front row main driver screen play the video source synchronously, comprising: superimposing the activity interface and the rendering data to construct an independent rear row interface, so that the rear row interface and the video in the KTV main interface of the front row main driver screen play synchronously.

[0007] Optionally, in an embodiment of the present application, before the acquiring, at every preset time, a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front-row main driver screen of the target vehicle, the method further comprises: acquiring a SurfaceTexture object from the TextureView of the rear-row interface based on a preset getSurfaceTexture() calling strategy; locking a canvas of the TextureView by a preset lockCanvas() strategy and the SurfaceTexture object, and acquiring a canvas object; determining a width and a height of the TextureView, and constructing a blank bitmap object according to the width and the height.

[0008] Optionally, in an embodiment of the present application, the acquiring, at every preset time, a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front-row main driver screen of the target vehicle, and drawing a bitmap object corresponding to the current video frame picture bitmap into a canvas of a play control of a rear-row interface, and rendering the canvas to a TextureView of the rear row to obtain corresponding rendering data, comprises: drawing content of the playing TextureView of the KTV main interface of the front-row main driver screen into the bitmap object by using the canvas object; and unlocking the canvas of the TextureView based on a preset unlockCanvasAndPost(canvas) strategy, so as to render in the TextureView of the rear row to obtain the rendering data.

[0009] The second aspect embodiment of the present application provides a seat cabin KTV multi-screen interaction screen projection device, comprising: a starting module configured to start a screen projection mode of a target vehicle, so as to newly create and display an activity interface in a rear row of the target vehicle; a screen projection module configured to acquire, at every preset time, a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front-row main driver screen of the target vehicle, and draw a bitmap object corresponding to the current video frame picture bitmap into a canvas of a play control of a rear-row interface, and render the canvas to a TextureView of the rear row to obtain corresponding rendering data; and a playing module configured to cause the rear-row interface and the KTV main interface of the front-row main driver screen to perform synchronous video source playing based on the rendering data and the activity interface.

[0010] Optionally, in an embodiment of the present application, the playing module comprises: a superimposition unit, configured to superimpose the activity interface and the rendering data to construct an independent back row interface, so that the back row interface is played synchronously with the video in the KTV main interface of the front row main driving screen.

[0011] Optionally, in an embodiment of the present application, further comprising: a obtaining module, configured to obtain a SurfaceTexture object from a TextureView of the back row interface based on a preset getSurfaceTexture() calling strategy before the every preset time, before the current video frame picture bitmap is obtained from a playing TextureView of a KTV main interface of a front row main driving screen of the target vehicle; a locking module, configured to lock a canvas of the TextureView by a preset lockCanvas() strategy and the SurfaceTexture object, and obtain a canvas object; and a constructing module, configured to determine a width and a height of the TextureView, and construct a blank bitmap object according to the width and the height.

[0012] Optionally, in an embodiment of the present application, the screen projection module comprises: a drawing unit, configured to draw content of a playing TextureView of a KTV main interface of a front row main driving screen into a bitmap object by using a canvas object; and an unlocking unit, configured to unlock the canvas of the TextureView based on a preset unlockCanvasAndPost(canvas) strategy, so as to render in a TextureView of the back row through the canvas of the TextureView, to obtain rendering data.

[0013] An embodiment of the third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the screen projection method for cockpit KTV multi-screen interaction as described in the above embodiments.

[0014] An embodiment of the fourth aspect of the present application provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the screen projection method for cockpit KTV multi-screen interaction as described above.

[0015] An embodiment of the fifth aspect of the present application provides a computer program product, comprising a computer program, which is executed to implement the screen projection method for cockpit KTV multi-screen interaction as described above.

[0016] Therefore, the embodiments of the present application have the following beneficial effects:

[0017] Embodiments of the present application can start the projection mode of the target vehicle to newly create and display an activity interface in the rear row of the target vehicle; every preset time, a current video frame bitmap is obtained from a playing TextureView of a KTV main interface of the front row main driver screen of the target vehicle, a bitmap object corresponding to the current video frame bitmap is drawn into a canvas of a play control of the rear row interface, and the canvas is drawn into a TextureView of the rear row for rendering to obtain corresponding rendering data; based on the rendering data and the activity interface, the rear row interface is synchronized with the KTV main interface of the front row main driver screen for playing of a video source. The present application can realize display of video content on other screens by projecting only the video content onto other screens, realize special customization and differentiation of a menu interface according to the position of the screen, and greatly enrich the user interaction content of the multi-screen hardware. Thus, the problem that the vehicle-mounted KTV multi-screen interaction in the prior art can only be projected but cannot be independently operated is solved.

[0018] Additional aspects and advantages of the present application will be made apparent by the following description and the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS

[0019] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description, taken in conjunction with the accompanying drawings, in which:

[0020] Figure 1 A flowchart of a seat cabin KTV multi-screen interaction projection method according to an embodiment of the present application;

[0021] Figure 2 A flowchart of a video stream copying method according to an embodiment of the present application;

[0022] Figure 3 A video rendering diagram of a projection initiator according to an embodiment of the present application;

[0023] Figure 4 A video rendering diagram of a projection target according to an embodiment of the present application;

[0024] Figure 5 An example diagram of a seat cabin KTV multi-screen interaction projection device according to an embodiment of the present application;

[0025] Figure 6 A structural diagram of a vehicle according to an embodiment of the present application.

[0026] Wherein, 10 - the screen projection device of cabin KTV multi-screen interaction; 100 - starting module, 200 - screen projection module, 300 - play module; 601 - memory, 602 - processor, 603 - communication interface. DETAILED DESCRIPTION

[0027] Embodiments of the present application are described below in detail, examples of which are shown in the accompanying drawings, wherein the same or similar reference signs represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are intended to explain the present application, and cannot be understood as a limitation of the present application.

[0028] The screen projection method and device of cabin KTV multi-screen interaction of the embodiments of the present application are described below with reference to the accompanying drawings. In view of the problems mentioned in the above background art, the present application provides a screen projection method of cabin KTV multi-screen interaction, in which the screen projection mode of a target vehicle is started to newly create and display an activity interface in the rear row of the target vehicle. Every other preset time, the current video frame bitmap is obtained from the playing TextureView of the KTV main interface of the front row driver screen of the target vehicle, and the bitmap object corresponding to the current video frame bitmap is drawn into the canvas of the play control of the rear row interface, and the canvas is drawn into the TextureView of the rear row for rendering to obtain corresponding rendering data. Based on the rendering data and the activity interface, the rear row interface and the KTV main interface of the front row driver screen are synchronized for video source playing. The present application can realize the display of video content on other screens by projecting only the video content onto other screens, realize the special customization and differentiation of the menu interface according to the position of the screen, and greatly enrich the user interaction content of multi-screen hardware. Thus, the problem that the vehicle-mounted KTV multi-screen interaction in the prior art can only project but cannot perform independent menu operation is solved.

[0029] Specifically, Figure 1 A flowchart of the screen projection method of cabin KTV multi-screen interaction provided by the embodiments of the present application is shown in FIG. 1.

[0030] As Figure 1 shown, the screen projection method of cabin KTV multi-screen interaction includes the following steps:

[0031] In step S101, the screen projection mode of a target vehicle is started to newly create and display an activity interface in the rear row of the target vehicle.

[0032] In step S102, every preset time, a current video frame picture bitmap is acquired from a playing TextureView of a KTV main interface of a front-row main driver screen of a target vehicle, a bitmap object corresponding to the current video frame picture bitmap is drawn into a canvas of a playing control of a rear-row interface, and the canvas is drawn into a TextureView of the rear row for rendering to obtain corresponding rendering data.

[0033] In the embodiment of the present application, the main interface of the KTV on the front-row main driver screen is combined with TextureView and an android mediaplayer in the activity, and a menu operation interface is arranged on the playing layout.

[0034] Firstly, the embodiment of the present application can click a screen projection button to newly create an activity interface in the rear row and display in the rear row. Figure 2 As shown in the figure, the embodiment of the present application can acquire a playing frame picture from a playing TextureView of the front row by a per-second timing operation (such as a timing task operation more than 30 times per second), copy a bitmap, draw the bitmap into a canvas of a playing control of a current rear-row interface, draw the canvas into a TextureView of the rear row for rendering, and thus obtain video data of the rear row.

[0035] Optionally, in an embodiment of the present application, before acquiring a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front-row main driver screen of a target vehicle every preset time, the method further comprises: acquiring a SurfaceTexture object from a TextureView of a rear-row interface based on a preset getSurfaceTexture() calling strategy; locking a canvas of the TextureView by a preset lockCanvas() strategy and the SurfaceTexture object, and acquiring a canvas object; determining a width and a height of the TextureView, and constructing a blank bitmap object according to the width and the height.

[0036] It should be noted that the embodiment of the present application can acquire a SurfaceTexture object from a rear-row TextureView by calling a getSurfaceTexture() method; secondly, the embodiment of the present application can lock a canvas of the TextureView by using a lockCanvas() method, and acquire a canvas object for subsequent drawing operation.

[0037] Afterwards, the embodiment of the present application can create a blank Bitmap object according to the width and height of the TextureView, for storing the copied content.

[0038] Thus, the embodiment of the present application provides reliable data support and basis for obtaining the rear video data by constructing a blank bitmap object.

[0039] Optionally, in an embodiment of the present application, every preset time, the current video frame bitmap is obtained from the playing TextureView of the KTV main interface of the front row main driver screen of the target vehicle, the bitmap object corresponding to the current video frame bitmap is drawn into the canvas of the playback control of the rear row interface, and the canvas is drawn into the rear row TextureView for rendering to obtain corresponding rendering data, including: using the canvas object, the content of the playing TextureView of the KTV main interface of the front row main driver screen is drawn into the bitmap object; based on the preset unlockCanvasAndPost(canvas) strategy, the canvas of the TextureView is unlocked to render in the rear row TextureView through the canvas of the TextureView to obtain the rendering data.

[0040] In actual execution process, the embodiment of the present application can use the obtained canvas object to draw the content of the front row TextureView into the created Bitmap object; after the drawing is completed, the embodiment of the present application can call the unlockCanvasAndPost(canvas) method to unlock the canvas of the TextureView, and submit the drawing operation to the rear row TextureView to render in the rear row TextureView through the canvas of the TextureView, so as to obtain the rendering data.

[0041] In step S103, based on the rendering data and the activity interface, the rear row interface is synchronized with the KTV main interface of the front row main driver screen for video source playback.

[0042] Afterwards, the embodiment of the present application can superimpose the rear row operation menu interface on the basis of the video playback space of the rear row, so as to customize the independent operation interface of the rear row.

[0043] Thus, under the premise of single host hardware, the embodiment of the present application does not excessively rely on the host hardware resources, realizes the front row and rear row video stream sharing synchronization and menu operation interface independence, and meets the scene of video stream synchronization watching and independent use of users.

[0044] Optionally, in an embodiment of the present application, based on the rendering data and the activity interface, the rear interface is synchronized with the KTV main interface of the front row driver screen for video source playing, including: superimposing the activity interface and the rendering data to construct an independent rear interface, so that the rear interface is synchronized with the video in the KTV main interface of the front row driver screen for playing.

[0045] It should be noted that, as Figure 3 shown, in an embodiment of the present application, the front row video playing activity interface, the video stream playing carrier is a textureview control, the decoding and loading of the video playing is an android native mediaplaer, and the decoded video stream is played on the textureview control; a playing control component is superimposed on the textureview control, including a play / pause, a first / previous control, a playlist, a screen projection and other operation menu control interfaces, for the front row user to operate and control.

[0046] As Figure 4 shown, the layout of the playing interface of the rear screen is similar to the above layout, that is, the textureview control in an activty is superimposed with the operation layout interface of the rear row last time, and the layout interface is different from the front row, and the rear interface does not have a mediaplaer to load and decode the video source.

[0047] Therefore, during the playing of the front row video, the screen projection button of the front row is clicked, and the rear interface and the front interface can be synchronized and displayed through the above process; the picture is synchronized and displayed, the menu can be independently operated, and various multi-screen interaction scenes can be realized, such as the front row ordering songs and singing, the rear row can continue to order songs and operate the atmosphere of the singing room, and the menus of multiple screens are independent and do not interfere with each other.

[0048] In summary, in the embodiments of the present application, only the video content is projected onto other screens, such as the front row being projected onto the rear row and the rear row being projected onto the front row, which greatly enriches the user interaction content of the multi-screen hardware, so that the video content can be displayed on other screens, and the menu interface is specially customized and differentiated according to the position of the screen; the screen projection behavior initiated by the front row screen of the vehicle-mounted KTV in the embodiments of the present application can project the song MV picture to the rear row, and the lyrics and the picture are synchronized, the user of the front row operates the song ordering menu, at the same time, the passengers of the rear row are not affected, and can continue to see the playing picture and the lyrics to sing normally, and the passengers of the rear row can order songs / cut songs according to their own needs, and even increase the atmosphere operation for the front row user to sing.

[0049] According to the screen projection method for multi-screen interaction in a cabin KTV proposed in this application, the screen projection mode of the target vehicle is activated to create and display an activity interface in the rear row of the target vehicle. At preset intervals, the current video frame bitmap is obtained from the playback TextureView of the KTV main interface on the front driver's screen of the target vehicle, and the bitmap object corresponding to the current video frame bitmap is drawn onto the canvas of the playback control on the rear interface. The canvas is then drawn onto the TextureView in the rear for rendering to obtain the corresponding rendering data. Based on the rendering data and the activity interface, the rear interface and the KTV main interface on the front driver's screen are synchronized for video source playback. This application, by projecting only the video content onto other screens, enables the video content to be displayed on other screens, allowing the menu interface to be customized and differentiated according to its location on the screen, greatly enriching the user interaction content of the multi-screen hardware.

[0050] Secondly, the screen projection device for multi-screen interaction in a cabin KTV according to an embodiment of this application is described with reference to the accompanying drawings.

[0051] Figure 5 This is a block diagram of a projection device for multi-screen interaction in a cabin KTV, according to an embodiment of this application.

[0052] like Figure 5 As shown, the multi-screen interactive projection device 10 of the cabin KTV includes: a start-up module 100, a projection module 200, and a playback module 300.

[0053] The startup module 100 is used to start the screen projection mode of the target vehicle to create and display the activity interface in the back seat of the target vehicle.

[0054] The projection module 200 is used to obtain the current video frame bitmap from the playback TextureView of the KTV main interface on the front driver's screen of the target vehicle at preset intervals, draw the bitmap object corresponding to the current video frame bitmap onto the canvas of the playback control on the rear interface, and draw the canvas onto the TextureView of the rear for rendering to obtain the corresponding rendering data.

[0055] The playback module 300 is used to synchronize the video source playback between the rear-seat interface and the KTV main interface on the driver's screen in the front row, based on rendering data and the activity interface.

[0056] Optionally, in one embodiment of this application, the playback module 300 includes: an overlay unit for overlaying the activity interface and rendering data to construct an independent rear-seat interface so that the rear-seat interface can be played synchronously with the video in the KTV main interface on the driver's screen in the front row.

[0057] Optionally, in an embodiment of the present application, the cockpit KTV multi-screen interaction screen projection device 10 of the embodiment of the present application further comprises an acquisition module, a locking module and a construction module.

[0058] The acquisition module is configured to acquire a SurfaceTexture object from a TextureView of a rear-row interface based on a preset getSurfaceTexture() calling strategy before acquiring a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front-row main driving screen of a target vehicle every preset time.

[0059] The locking module is configured to lock a canvas of the TextureView by a preset lockCanvas() strategy and the SurfaceTexture object, and acquire a canvas object.

[0060] The construction module is configured to determine a width and a height of the TextureView, and construct a blank bitmap object according to the width and the height.

[0061] Optionally, in an embodiment of the present application, the screen projection module 200 comprises a drawing unit and an unlocking unit.

[0062] The drawing unit is configured to draw content of a playing TextureView of a KTV main interface of a front-row main driving screen into the bitmap object by using the canvas object.

[0063] The unlocking unit is configured to unlock the canvas of the TextureView based on a preset unlockCanvasAndPost(canvas) strategy, so as to render in a TextureView of a rear row by the canvas of the TextureView to obtain rendering data.

[0064] It should be noted that the foregoing explanation and description of the cockpit KTV multi-screen interaction screen projection method embodiment are also applicable to the cockpit KTV multi-screen interaction screen projection device of the embodiment, which will not be described herein again.

[0065] The cockpit KTV multi-screen interaction screen projection device provided by the embodiment of the application comprises a starting module 100, which is configured to start a screen projection mode of a target vehicle to newly create and display an activity interface in a rear row of the target vehicle; a screen projection module 200, which is configured to acquire a current video frame bitmap from a playing TextureView of a KTV main interface of a front row main driving screen of the target vehicle every preset time, draw a bitmap object corresponding to the current video frame bitmap to a canvas of a playing control of the rear row interface, and render the canvas to a TextureView of the rear row to obtain corresponding rendering data; and a playing module 300, which is configured to enable the rear row interface and the KTV main interface of the front row main driving screen to synchronously play a video source based on the rendering data and the activity interface. The application can realize display of video content on other screens by projecting only the video content to the other screens, and realize special customization and differentiation of a menu interface according to a position of a screen, thereby greatly enriching user interaction content of multi-screen hardware.

[0066] Figure 6 A structural schematic diagram of a vehicle is provided for the embodiment of the application. The vehicle can comprise:

[0067] The memory 601, the processor 602, and a computer program stored in the memory 601 and executable on the processor 602.

[0068] The processor 602 implements the cockpit KTV multi-screen interaction screen projection method provided in the above embodiment when executing the program.

[0069] Further, the vehicle further comprises:

[0070] The communication interface 603 is configured to communicate between the memory 601 and the processor 602.

[0071] The memory 601 is configured to store a computer program executable on the processor 602.

[0072] The memory 601 can comprise a high-speed RAM memory, and can also comprise a non-volatile memory, for example, at least one disk memory.

[0073] If the memory 601, the processor 602 and the communication interface 603 are implemented independently, the communication interface 603, the memory 601 and the processor 602 can be connected with each other through a bus and complete communication between each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For convenience of representation, Figure 6 Only one thick line is used to represent the bus in the figure, but it does not mean that there is only one bus or only one type of bus.

[0074] Optionally, in a specific implementation, if the memory 601, the processor 602 and the communication interface 603 are integrated on a chip, the memory 601, the processor 602 and the communication interface 603 can complete communication between each other through an internal interface.

[0075] The processor 602 can be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0076] The embodiments of the present application also provide a computer readable storage medium, which has a computer program stored thereon, and the program is executed by a processor to implement the cockpit KTV multi-screen interaction screen projection method.

[0077] The embodiments of the present application also provide a computer program product, which includes a computer program, and the computer program is executed to implement the cockpit KTV multi-screen interaction screen projection method.

[0078] In the description of the application, reference to "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" means that a particular feature, structure, material, or characteristic being described is included in at least one embodiment or example of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment or example. Furthermore, the described specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples. In addition, the usage of "N" means at least two, for example, two, three or the like, unless explicitly stated otherwise.

[0079] Furthermore, the terms "first", "second", or the like, are used merely as a designation of certain elements or features, and do not imply or connote relative importance or a specific order of categorization thereof. Accordingly, features described as "first" or "second" can be explicitly or implicitly included in at least one of the features. In the description of the application, the meaning of "N" is at least two, for example, two, three, etc., unless explicitly specified otherwise.

[0080] Any process or method descriptions or blocks in flow charts or otherwise described herein represent embodiments which can be managed as one or more modules, segments, or portions of code which include one or more executable instructions for implementing specific logic functions or steps, and alternate implementations are possible. In some embodiments, the processes and methods described can be executed by one or more apparatuses or devices, either directly or after conversion to another language. Alternate implementations are possible.

[0081] The logic and / or steps represented in the flowcharts and / or described herein, for example, can be considered as a sequence of instructions to implement logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus, or device, such as a computer-based system, processor- based system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be a computer- readable storage medium or a computer-readable signal medium. The computer- readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include the following: an electrical connection having one or more wires (electrical connections), a portable computer diskette (a magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for example, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.

[0082] It should be understood that aspects of the application can be implemented in hardware, software, firmware or combinations thereof. In the above embodiments, the N steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware and in another embodiment, any of the following technologies, known in the art, or their combinations can be used: discrete logic circuitry having logic gates for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.

[0083] Those skilled in the art can understand that all or part of the steps carried out by the above-mentioned embodiments can be completed by programs instructing related hardware, and the programs can be stored in a computer-readable storage medium. When the programs are executed, one or a combination of the steps of the method embodiments is included.

[0084] In addition, each of the functional units in the various embodiments of the present application can be integrated in one processing module, or each of the units can be physically present separately, or two or more units can be integrated in one module. The integrated module can be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.

[0085] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.

Claims

1. A method for cockpit KTV multi-screen interaction projection, characterized in that, The method comprises the following steps: starting a screen projection mode of a target vehicle to newly create and display an activity interface in a rear row of the target vehicle; every preset time, acquiring a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front row main driving screen of the target vehicle, drawing a bitmap object corresponding to the current video frame picture bitmap to a canvas of a playing control of the rear row interface, and rendering the canvas to a TextureView of the rear row to obtain corresponding rendering data; based on the rendering data and the activity interface, synchronizing video source playing of the rear row interface with the KTV main interface of the front row main driving screen.

2. The method of claim 1, wherein, The step of synchronizing video source playing of the rear row interface with the KTV main interface of the front row main driving screen based on the rendering data and the activity interface comprises: superimposing the activity interface and the rendering data to construct an independent rear row interface, so that the rear row interface is synchronized with video in the KTV main interface of the front row main driving screen for playing.

3. The method of claim 1, wherein, Before the step of every preset time, acquiring a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front row main driving screen of the target vehicle, the method further comprises: based on a preset getSurfaceTexture() calling strategy, acquiring a SurfaceTexture object from a TextureView of the rear row interface; locking a canvas of the TextureView through a preset lockCanvas() strategy and the SurfaceTexture object, and acquiring a canvas object; determining a width and a height of the TextureView, and constructing a blank bitmap object according to the width and the height.

4. The method of claim 3, wherein, The step of every preset time, acquiring a current video frame picture bitmap from a playing TextureView of a KTV main interface of a front row main driving screen of the target vehicle, drawing a bitmap object corresponding to the current video frame picture bitmap to a canvas of a playing control of the rear row interface, and rendering the canvas to a TextureView of the rear row to obtain corresponding rendering data comprises: using the canvas object to draw content of the playing TextureView of the KTV main interface of the front row main driving screen to the bitmap object; based on a preset unlockCanvasAndPost(canvas) strategy, unlocking the canvas of the TextureView, so that the TextureView is rendered in the TextureView of the rear row to obtain the rendering data.

5. A cockpit KTV multi-screen interaction screen projection device, characterized in that, The method comprises: a starting module configured to start a screen projection mode of a target vehicle to newly create and display an activity interface in a rear row of the target vehicle; The screen projection module is configured to acquire a current video frame bitmap from a playing TextureView of a KTV main interface of a front-row main driver screen of the target vehicle every preset time, draw a bitmap object corresponding to the current video frame bitmap to a canvas of a playing control of a rear-row interface, and draw the canvas to a TextureView of the rear row for rendering to obtain corresponding rendering data. The playing module is configured to cause the rear-row interface to perform synchronous video source playing with the KTV main interface of the front-row main driver screen based on the rendering data and the activity interface.

6. The apparatus of claim 5, wherein, The playing module includes: The superimposition unit is configured to superimpose the activity interface and the rendering data to construct an independent rear-row interface, so that the rear-row interface performs synchronous playing with a video in the KTV main interface of the front-row main driver screen.

7. The apparatus of claim 5, wherein, Further comprising: The acquisition module is configured to acquire a SurfaceTexture object from a TextureView of the rear-row interface based on a preset getSurfaceTexture() calling strategy before the screen projection module acquires the current video frame bitmap from the playing TextureView of the KTV main interface of the front-row main driver screen of the target vehicle every preset time. The locking module is configured to lock a canvas of the TextureView by a preset lockCanvas() strategy and the SurfaceTexture object, and acquire a canvas object. The construction module is configured to determine a width and a height of the TextureView, and construct a blank bitmap object according to the width and the height.

8. A vehicle characterized by comprising: The memory, the processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the screen projection method for cockpit KTV multi-screen interaction according to any one of claims 1-4. The program is executed by the processor to implement the screen projection method for cockpit KTV multi-screen interaction according to any one of claims 1-4.

9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed to implement the screen projection method for cockpit KTV multi-screen interaction according to any one of claims 1-4.

10. A computer program product comprising a computer program, characterized in that, ​

Citation Information

Patent Citations

  • Application screen projection method and device, vehicle-mounted terminal and readable storage medium

    CN114461158A

  • Video playing method and device, electronic equipment and storage medium

    CN114615546A

  • Automobile back row screen control method and device, vehicle-mounted display screen interaction system and automobile

    CN116755652A

  • Vehicle-mounted screen projection method, device, equipment and storage medium

    CN117201853A

  • Vehicle-mounted multi-screen interaction method, vehicle-mounted controller, automobile, and storage medium

    US20250187442A1