Central control video playing control method and device in vehicle driving process

By monitoring the vehicle's gear position and proactively taking over the video playback application, calculating the target display area, the problem of inconsistent video playback interface management in the Android system was solved, improving stability and compatibility, and ensuring driving safety.

CN120835176APending Publication Date: 2025-10-24BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511094379.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-06
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

Existing technologies make it difficult to achieve unified system-level management of video playback interfaces during vehicle operation in Android systems, resulting in poor stability, slow response, weak compatibility, and impacting driving safety.

Method used

By monitoring the vehicle's current gear, the system proactively takes over the video playback application, calculates the target video display area, and adjusts the display range, achieving unified management of video playback at the system level without modifying the original video application code or player source code.

Benefits of technology

It improves the stability, response speed, and compatibility of video playback display control, enhances driving safety, and facilitates promotion and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120835176A_ABST
    Figure CN120835176A_ABST
Patent Text Reader

Abstract

The invention provides a central control video playing control method and device in the vehicle driving process, and the method comprises the steps: monitoring the current gear of a vehicle, obtaining a current gear signal of the vehicle, judging whether the current gear of the vehicle is a P gear or not based on the current gear signal, and if not, executing the step 1; if yes, actively taking over a video playing application of the currently played video on the vehicle machine screen, calculating a target video display area of the video playing application, and adjusting the current video display area of the video playing application to the target video display area so as to play the video based on the adjusted video playing application. According to the application, the system-level forced video playing application performs video playing in the target video display area range without intervening an original video application code or a player source code, so that the system-level unified management of the video playing display area is realized, the stability, response speed and compatibility of video playing display control are improved, and the user experience is improved. And popularization and maintenance are facilitated, and meanwhile driving safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of car machine, in particular to a method and device for controlling video playing of a central control during vehicle driving. BACKGROUND

[0002] With the rapid development of intelligent vehicles and in-vehicle infotainment systems (IVI), more and more vehicles are equipped with in-vehicle terminals based on the Android system. These systems usually support video playing, navigation, voice control and other functions, but directly full-screen playing of video content during vehicle driving, especially on the driver's side screen, poses certain safety hazards. Therefore, in order to balance the entertainment needs of passengers while ensuring driving safety, it is necessary to control the video playing interface.

[0003] Currently, in the prior art, manual switching or embedding logical judgment in the video player is mainly relied on to dynamically control the video playing interface in the Android system.

[0004] However, the existing solution is difficult to realize system-level unified management, and has problems of poor stability, slow response and weak compatibility, which leads to challenges in driving safety, and even involves modifying the original application code or player source code, which increases the difficulty of promotion and maintenance. SUMMARY

[0005] Therefore, the purpose of the present application is to provide a method and device for controlling video playing of a central control during vehicle driving, which actively takes over the video playing application when the current gear of the vehicle is not P gear through listening, calculates the target video display area of the video playing application and adjusts the display range of the video playing application according to the target video display area, and the system-level forces the video playing application to play video within the target video display area, without intervention of the original video application code or player source code, realizing system-level unified management of the video playing display area, improving the stability, response speed and compatibility of video playing display control, facilitating promotion and maintenance, and improving driving safety.

[0006] In a first aspect, an embodiment of the present application provides a method for controlling video playing of a central control during vehicle driving, applied to a central control video playing control system, and the method comprises: listening to the current gear of the vehicle to obtain a current gear signal of the vehicle; judging whether the current gear of the vehicle is P gear based on the current gear signal; if not, actively taking over the video playing application currently playing video on the car machine screen, and calculating the target video display area of the video playing application; adjust the current video display area of the video playing application to the target video display area to play the video based on the adjusted video playing application.

[0007] In a possible implementation, the method further includes: if the current gear of the vehicle is P, cancel the takeover of the video playing application; determining and restoring a default video display area configured by the video playing application; wherein the default video display area represents a video display state configured by the video playing application by default.

[0008] In a possible implementation, the method further includes: determining a target content display area on the vehicle screen; wherein the target content display area is used to display driving information of the vehicle; determining a display area obtained by removing the target content display area from the entire vehicle screen as the target video display area of the video playing application.

[0009] In a possible implementation, the vehicle screen includes a plurality of sub-display units; the method further includes: in response to a change in the current gear signal of the vehicle, determining a corresponding gear value and triggering screen redrawing of the vehicle screen; judging the drawable area of the vehicle screen and each sub-display unit inside the vehicle screen based on the gear value; redrawing the screen based on the drawable area of the vehicle screen and each sub-display unit inside the vehicle screen to adjust the current video display area of the video playing application to the target video display area.

[0010] In a possible implementation, the redrawing of the screen based on the drawable area of the vehicle screen and each sub-display unit inside the vehicle screen includes: controlling and adjusting the drawable area of the vehicle screen and each sub-display unit inside the vehicle screen based on the current gear signal to obtain a corresponding actual drawing area; drawing each sub-display unit based on the actual drawing area.

[0011] In a possible implementation, the adjusting of the current video display area of the video playing application to the target video display area includes: determining the current video display area of the video playing application; scaling the current video display area of the video playing application proportionally to fill into the target video display area.

[0012] In a possible implementation, the method for controlling the central video playing during the vehicle driving further includes: determining whether the car screen needs to display the column information forcibly based on the current gear signal, wherein the column information at least includes a status bar and a navigation bar; if the current gear signal is not the P gear, and it is determined that the car screen needs to display the column information forcibly, displaying the column information in the car screen.

[0013] In a second aspect, the embodiments of the present application further provide a device for controlling central video playing during vehicle driving, which is applied to a central video playing control system, and includes: a listening module, configured to listen to a current gear of a vehicle, and obtain a current gear signal of the vehicle; a first determining module, configured to determine whether the current gear of the vehicle is the P gear based on the current gear signal; a calculating module, configured to if not, actively take over a video playing application of a currently played video on a car screen, and calculate a target video display area of the video playing application; an adjusting module, configured to adjust a current video display area of the video playing application to the target video display area, so as to play a video based on the video playing application after the adjustment.

[0014] In a possible implementation, the device for controlling the central video playing during the vehicle driving further includes: a canceling module, configured to if the current gear of the vehicle is the P gear, cancel the taking over of the video playing application; a restoring module, configured to determine and restore a default video display area configured by the video playing application, wherein the default video display area represents a video display state configured by the video playing application by default.

[0015] In a possible implementation, the calculating module is specifically configured to: determine a target content display area on the car screen, wherein the target content display area is used to display driving information of the vehicle; determine a display area obtained by removing the target content display area from the entire car screen as the target video display area of the video playing application.

[0016] In a possible implementation, the car screen includes a plurality of sub-display units, and the device for controlling the central video playing during the vehicle driving further includes: a first determining module, configured to determine a corresponding gear value and trigger screen redrawing for the car screen in response to a change in a current gear signal of the vehicle; a second determining module, configured to determine the drawable area of the car screen and each sub-display unit inside the car screen based on the gear value; a redrawing module, configured to perform screen redrawing based on the drawable area of the car screen and each sub-display unit inside the car screen, so as to adjust the current video display area of the video playing application to the target video display area.

[0017] In a possible implementation, the redrawing module is specifically configured to: control and adjust the drawable area of the car screen and each sub-display unit inside the car screen based on the current gear signal, to obtain a corresponding actual drawing area; draw each sub-display unit based on the actual drawing area.

[0018] In a possible implementation, the adjusting module is specifically configured to: determine the current video display area of the video playing application; perform equal-proportion scaling on the current video display area of the video playing application, so as to fill into the target video display area.

[0019] In a possible implementation, the in-vehicle central control video playing control apparatus during vehicle driving further includes: a second determining module, configured to determine the current video display area of the video playing application; a filling module, configured to perform equal-proportion scaling on the current video display area of the video playing application, so as to fill into the target video display area.

[0020] In a third aspect, an electronic device is provided, which includes a processor, a storage medium, and a bus. The storage medium stores machine readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium through the bus. The processor executes the machine readable instructions to perform the steps of the in-vehicle central control video playing control method according to any one of the first aspect.

[0021] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program. When the computer program is run by a processor, the steps of the in-vehicle central control video playing control method according to any one of the first aspect are performed.

[0022] The application embodiment provides a vehicle driving process central control video playing control method and device, the current gear of the vehicle is listened to, the current gear signal of the vehicle is obtained, whether the current gear of the vehicle is P gear is judged based on the current gear signal, if not, the video playing application of the current playing video on the vehicle screen is actively taken over, the target video display area of the video playing application is calculated, the current video display area of the video playing application is adjusted to the target video display area, and video playing is carried out based on the adjusted video playing application. The application actively takes over the video playing application by listening to the current gear of the vehicle, and when the current gear of the vehicle is not P gear, the target video display area of the video playing application is calculated and the display range of the video playing application is adjusted according to the target video display area. The system level forces the video playing application to play video in the target video display area, without interfering with the original video application code or player source code, realizes the system level unified management of the video playing display area, improves the stability, response speed and compatibility of the video playing display control, is conducive to promotion and maintenance, and also improves the driving safety.

[0023] In order to make the above objectives, characteristics and advantages of the application more apparent, clear and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are referred to as follows. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the application, and therefore should not be regarded as a limitation to the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0025] Figure 1 It is a flow chart of the vehicle driving process central control video playing control method provided by the application embodiment; Figure 2 It is a schematic diagram of the central control video playing control process; Figure 3 It is a structural schematic diagram of the vehicle driving process central control video playing control device provided by the application embodiment; Figure 4 It is a structural schematic diagram of an electronic device provided by the application embodiment. DETAILED DESCRIPTION

[0026] To make the purposes, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. It should be understood that the drawings in the present application serve only the purpose of description and illustration, and do not serve to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in the present application show the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flowcharts or one or more operations can be removed from the flowcharts under the guidance of the content of the present application.

[0027] In addition, the described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0028] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0029] With the rapid development of intelligent vehicles and in-vehicle infotainment systems (IVI), more and more vehicles are equipped with in-vehicle terminals based on the Android system. These systems usually support functions such as video playback, navigation, voice control, etc., but directly full-screen playing video content during vehicle driving, especially on the driver's side screen, poses a certain safety hazard. Therefore, in order to balance the entertainment needs of passengers while ensuring driving safety, it is necessary to control the video playback interface.

[0030] Currently, in the prior art, manual switching or embedding logical judgment in the video player is mainly relied on to dynamically control the video playback interface in the Android system.

[0031] However, the existing scheme is difficult to realize system-level unified management, and has problems of poor stability, slow response, and weak compatibility, which leads to challenges in driving safety, and even involves modifying the original application code or player source code, which increases the difficulty of promotion and maintenance.

[0032] To solve the problem, the application provides a method and device for controlling video playing in a vehicle during driving. When the current gear of the vehicle is not P, the system actively takes over the video playing application, calculates the target video display area of the video playing application, adjusts the display range of the video playing application according to the target video display area, and forces the video playing application to play video in the target video display area at the system level without interfering with the original video application code or player source code, thereby realizing system-level unified management of the video playing display area, improving the stability, response speed and compatibility of the video playing display control, facilitating promotion and maintenance, and improving driving safety.

[0033] Figure 1 FIG. 1 is a flowchart of a method for controlling video playing in a vehicle during driving according to an embodiment of the application. The method for controlling video playing in a vehicle during driving of the application is applied to a central control video playing control system. As shown in FIG. 1, the method for controlling video playing in a vehicle during driving of the embodiment of the application can specifically include the following steps. Figure 1 S101, listening to the current gear of the vehicle to obtain the current gear signal of the vehicle.

[0034] S102, judging whether the current gear of the vehicle is P based on the current gear signal.

[0035] S103, if not, actively taking over the video playing application of the currently played video on the vehicle screen, and calculating the target video display area of the video playing application.

[0036] S104, adjusting the current video display area of the video playing application to the target video display area, so as to play video based on the adjusted video playing application.

[0037] In the method for controlling video playing in a vehicle during driving, when the current gear of the vehicle is not P, the system actively takes over the video playing application, calculates the target video display area of the video playing application, adjusts the display range of the video playing application according to the target video display area, and forces the video playing application to play video in the target video display area at the system level without interfering with the original video application code or player source code, thereby realizing system-level unified management of the video playing display area, improving the stability, response speed and compatibility of the video playing display control, facilitating promotion and maintenance, and improving driving safety.

[0038] The above exemplary steps of the embodiment of the application will be described in combination with specific examples as follows: S101, listening to the current gear of the vehicle to obtain the current gear signal of the vehicle.

[0039] ​It should be noted that the application can not only control the central control video playing, but also can be implemented in a series of applications such as games which need full screen display. The application takes the central control video playing control as an example for description.

[0040] In the embodiment of the application, the current gear of the vehicle is monitored to obtain the current gear signal of the vehicle for subsequent processing. For example, as shown in Figure 2 A current gear of the vehicle is added in the system for monitoring.

[0041] It should be noted that the method for monitoring the current gear of the vehicle is that a FullScreenPolicy class can be added in the services end of the framework, and various CarService binding monitoring is added in the initialization of the class. The gear information and other vehicle information are obtained through the original CarService to pass the vehicle CAN signal, and finally the FullScreenPolicy is initialized in the DisplayPolicy.

[0042] In S102, whether the current gear of the vehicle is P is judged based on the current gear signal.

[0043] In the embodiment of the application, whether the current gear of the vehicle monitored in the judging step S101 is P is judged to perform corresponding processing according to the judging result. For example, as shown in Figure 2 Whether the current gear of the vehicle is P is judged.

[0044] In S103, if not, the video playing application currently playing the video on the vehicle screen is actively taken over, and the target video display area of the video playing application is calculated.

[0045] In the embodiment of the application, the vehicle screen is the central control screen, and the vehicle screen includes various sub display units. The target video display area is the display range of the video playing application defined by the system. For example, if the target video display area is half screen, it means that the display range of the video playing application defined by the system is half screen display. When it is judged that the current gear of the vehicle is not P, the system actively takes over the video playing application currently playing the video on the vehicle screen, and calculates the target video display area of the video playing application for subsequent processing. For example, as shown in Figure 2 When the current gear of the vehicle is not P, the system starts the taking over of the video playing application.

[0046] It can be supplemented that the display area of the video playing application by default is a display area reserved for related driving information, but if the video playing application is configured with a full-screen video display area, such as an Android native full-screen flag, the video playing application will have the entire screen display area, and this situation is not safe when the gear of the vehicle is not in P gear, at which time the system needs to take over the video playing application, which means that the video playing application is controlled only in the display area size defined by the system, that is, the target video display area is calculated and the display area of the video playing application is adjusted according to the target video display area, so as to forcibly reserve a certain area in the screen for displaying driving information.

[0047] It should be noted that if the current gear of the vehicle is P gear, the takeover of the video playing application is cancelled; and the default video display area configured by the video playing application is determined and restored. The default video display area represents the default video display state of the video playing application, such as the default Android native full-screen video display state of the video playing application.

[0048] Optionally, when calculating the target video display area of the video playing application, a target content display area on the vehicle screen is determined; and a display area obtained by removing the target content display area from the entire vehicle screen is determined as the target video display area of the video playing application. The target content display area is used to display driving information of the vehicle, and the driving information at least includes gear and vehicle speed; the target video display area and the target content display area can constitute the entire vehicle screen.

[0049] Specifically, after determining the content display area on the vehicle screen for displaying the driving information of the vehicle, the remaining area of the entire vehicle screen after removing the content display area can be determined as the target video display area of the video playing application.

[0050] S104, adjusting the current video display area of the video playing application to the target video display area, so as to play the video based on the adjusted video playing application.

[0051] In the embodiments of the present application, the current video display area of the video playing application is changed to the target video display area calculated in step S103, thereby realizing the forced display in the target video display area after taking over the video playing application, so as to subsequently play the video in the target video display area defined based on the adjusted video playing application.

[0052] In some embodiments, in response to a change in the current gear signal of the vehicle, a corresponding gear value is determined, and a screen redraw for the car screen is triggered; based on the gear value, the drawable area of the car screen and each sub-display unit inside it is determined; based on the drawable area of the car screen and each sub-display unit inside it, the screen redraw is performed to adjust the current video display area of the video playback application to the target video display area.

[0053] Optionally, when the screen redraw is performed based on the drawable area of the car screen and each sub-display unit inside it, the drawable area of the car screen and each sub-display unit inside it is controlled and adjusted based on the current gear signal to obtain the respective corresponding actual drawing area; the corresponding sub-display unit is drawn based on the actual drawing area.

[0054] For example, when the current vehicle gear information in FullScreenPolicy is monitored to change, the recorded gear value is immediately modified and a notification of screen redraw is triggered. Specifically, when the target display area of the video playback application is calculated in the services end of the frameork, the gear value recorded in FullScreenPolicy is obtained, and the drawable area of the entire screen and each sub-View (sub-display unit) inside it is determined according to whether it is P gear, and when the view end of the framework is executed, the actual drawing area of the car screen and each sub-display unit inside it including the target display area is determined and related drawing is performed. Optionally, when the current display area of the video playback application is adjusted to the target video display area, the current video display area of the video playback application is determined; the current video display area of the video playback application is scaled by the same ratio to fill into the target video display area.

[0055] It should be noted that when the current gear is P gear, no processing is performed, and when the current gear is not P gear, for example, the current video playback application is configured with a full-screen video display area (for example, the original full-screen flag of Android), at this time, the size of the area obtained by excluding the content display area size of the vehicle driving information that needs to be forcibly displayed from the entire screen can be designated as the target display area of the video playback application, and finally the current video display area of the video playback application is scaled by the same ratio to fill into the target video display area, thereby ensuring no distortion.

[0056] The vehicle driving process central control video playing control method provided by the embodiment of the application comprises the following steps: listening to the current gear of the vehicle, obtaining the current gear signal of the vehicle, judging whether the current gear of the vehicle is P gear based on the current gear signal, if not, actively taking over the video playing application currently playing the video on the vehicle screen, calculating the target video display area of the video playing application, adjusting the current video display area of the video playing application to the target video display area, and playing the video based on the adjusted video playing application. The vehicle driving process central control video playing control method provided by the application actively takes over the video playing application when the current gear of the vehicle is not P gear, calculates the target video display area of the video playing application and adjusts the display range of the video playing application according to the target video display area, and the system forcibly controls the video playing application to play the video in the target video display area, without interfering with the original video application code or the player source code, so that the system-level unified management of the video playing display area is realized, the stability, response speed and compatibility of the video playing display control are improved, the driving safety is improved, and the application is conducive to popularization and maintenance.

[0057] Further, based on the current gear signal, it is judged whether the vehicle screen needs to forcibly display the column information; if the current gear signal is not P gear, it is determined that the vehicle screen needs to forcibly display the column information, and the column information is displayed in the vehicle screen. The column information at least includes a status bar and a navigation bar.

[0058] It should be noted that when the screen is redrawn, it is also judged whether the vehicle screen needs to forcibly display the status bar, the navigation bar and the like according to the current gear signal, i.e. the gear value recorded in the FullScreenPolicy, and when the current gear signal is not P gear, it is indicated that the vehicle screen needs to forcibly display the status bar, the navigation bar and the like, and at this time, the status bar, the navigation bar and the like are displayed in the vehicle screen.

[0059] Further, based on the current gear signal, the display content of the actual drawing area is adjusted.

[0060] In summary, the application takes full charge of the adjustment and control of the display area of the video playing application during driving by listening to the current vehicle gear signal from the system itself, without pausing or interrupting the playing state of the current video, actively taking over the video playing application to display the system-delineated area only in the case of non-P gear, and restoring the display area configured by default by each video playing application in the case of P gear. In short, in the past, the screen of the instrument central control two-in-one was used to ensure safety, and the video playing was forcibly exited during driving to display the driving information such as vehicle speed and gear in the instrument. The application provides a kind of incomplete video playing, which only adjusts the display area of the video playing application to display the driving information such as vehicle speed and gear, so as to improve the safety feasibility.

[0061] Thus, the application does not affect the playing of the video application when the current gear is not P gear, and the system takes full responsibility for the video application, thereby controlling the change of the display area of the video application, freeing the video application, which no longer needs to adapt to listen to gear information, etc., and after the video application opens full-screen playing, it also does not need to change the exit full-screen playing again for related conditions, and it can be fully handed over to the system for processing. Specifically, the application realizes controlling the drawable area of the screen and each sub-View inside it according to listening to the gear change, and obtaining the current gear information during actual drawing to change the actual drawing area and content. Compared with the past need to customize the video playing application to listen to the gear information scheme, it has more compatibility and low coupling, and also perfectly solves the problem that the non-customized three-party video playing application cannot adapt to the display area adjustment under the change of the driving state.

[0062] It should be noted that the vehicle driving process control method of the application is a control method of the central control video playing during driving, that is, a control method of the central control video playing interface during driving.

[0063] Figure 3 is a structural schematic diagram of the central control video playing control device during vehicle driving provided by the application, and the central control video playing control device of the application is applied to a central control video playing control system; as shown in Figure 3 the central control video playing control device 300 during vehicle driving of the application embodiment can specifically include: The listening module 301 is configured to listen to the current gear of the vehicle and obtain a current gear signal of the vehicle.

[0064] The first judgment module 302 is configured to determine whether the current gear of the vehicle is P gear based on the current gear signal.

[0065] The calculation module 303 is configured to, if not, actively take over the video playing application of the currently played video on the vehicle screen, and calculate a target video display area of the video playing application.

[0066] The adjustment module 304 is configured to adjust the current video display area of the video playing application to the target video display area, and perform video playing based on the adjusted video playing application.

[0067] In a possible implementation, the central control video playing control device during vehicle driving further includes: The cancel module is configured to, if the current gear of the vehicle is P gear, cancel the takeover of the video playing application. The recovery module is configured to determine and recover a default video display area configured by the video playing application, wherein the default video display area represents a video display state configured by the video playing application by default.

[0068] In a possible implementation, the calculation module is specifically configured to: determine a target content display area on the screen of the vehicle machine, wherein the target content display area is used to display driving information of the vehicle; determine a display area obtained by removing the target content display area from the entire screen of the vehicle machine as a target video display area of the video playing application.

[0069] In a possible implementation, the screen of the vehicle machine includes a plurality of sub-display units, and the central video playing control device in the vehicle driving process further includes: a first determination module configured to determine a corresponding gear value in response to a change in a current gear signal of the vehicle, and trigger screen redrawing of the screen of the vehicle machine; a second determination module configured to determine a drawable area of the screen of the vehicle machine and the plurality of sub-display units in the screen of the vehicle machine based on the gear value; a redrawing module configured to perform screen redrawing based on the drawable area of the screen of the vehicle machine and the plurality of sub-display units in the screen of the vehicle machine, so as to adjust a current video display area of the video playing application to a target video display area.

[0070] In a possible implementation, the redrawing module is specifically configured to: control and adjust the drawable area of the screen of the vehicle machine and the plurality of sub-display units in the screen of the vehicle machine based on the current gear signal, to obtain respective actual drawing areas; draw the corresponding sub-display units based on the actual drawing areas, respectively.

[0071] In a possible implementation, the adjusting module is specifically configured to: determine the current video display area of the video playing application; perform equal-proportion scaling on the current video display area of the video playing application, so as to fill into the target video display area.

[0072] In a possible implementation, the central video playing control device in the vehicle driving process further includes: a second determination module configured to determine the current video display area of the video playing application; a filling module configured to perform equal-proportion scaling on the current video display area of the video playing application, so as to fill into the target video display area.

[0073] The vehicle driving process central control video playing control device provided by the embodiment of the application listens to the current gear of the vehicle, obtains the current gear signal of the vehicle, judges whether the current gear of the vehicle is the P gear based on the current gear signal, if not, actively takes over the video playing application of the current playing video on the car screen, calculates the target video display area of the video playing application, adjusts the current video display area of the video playing application to the target video display area, and plays the video based on the adjusted video playing application. The vehicle driving process central control video playing control device of the application actively takes over the video playing application when the current gear of the vehicle is not the P gear through listening, calculates the target video display area of the video playing application and adjusts the display range of the video playing application according to the target video display area, and the system level forces the video playing application to play the video within the target video display area, without interfering with the original video application code or the player source code, realizing the system level unified management of the video playing display area, improving the stability, response speed and compatibility of the video playing display control, being conducive to promotion and maintenance, and also improving the driving safety.

[0074] As shown in Figure 4 The electronic device 400 provided by the embodiment of the application includes a processor 401, a memory 402 and a bus, the memory 402 stores machine readable instructions executable by the processor 401, when the electronic device is running, the processor 401 and the memory 402 communicate through the bus, and the processor 401 executes the machine readable instructions to perform the steps of the vehicle driving process central control video playing control method.

[0075] Specifically, the above-mentioned memory 402 and processor 401 can be general memory and processor, which are not specifically limited here, and when the processor 401 runs the computer program stored in the memory 402, the vehicle driving process central control video playing control method can be executed.

[0076] Corresponding to the vehicle driving process central control video playing control method, the embodiment of the application further provides a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by the processor to perform the steps of the vehicle driving process central control video playing control method.

[0077] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system and the device described above can refer to the corresponding process in the method embodiment, and will not be repeated in the present application. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented by other means. The above-described device embodiments are only schematic, for example, the division of the modules is only a logical function division, and the actual implementation can have another division manner, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed mutual elements can be indirect coupling or communication connection through some communication interface, device or module, which can be electrical, mechanical or other forms.

[0078] The modules described as separate components can or can not be physically separated, and the components shown as modules can or can not be physical units, i.e. can be located in one place or distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0079] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.

[0080] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the deployment method described in each embodiment of the present application. The foregoing storage medium includes: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and various program code storage media.

[0081] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for controlling a center video display during vehicle travel, applied to a center video display control system, characterized in that, The method comprises: monitoring the current gear of the vehicle to obtain a current gear signal of the vehicle; determining whether the current gear of the vehicle is P gear based on the current gear signal; if not, actively taking over a video playing application currently playing a video on a car screen, calculating a target video display area of the video playing application; adjusting the current video display area of the video playing application to the target video display area to play the video based on the video playing application after the adjustment.

2. The method of claim 1, wherein, The method further comprises: if the current gear of the vehicle is P gear, canceling the takeover of the video playing application; determining and restoring a default video display area configured by the video playing application; wherein the default video display area represents a video display state configured by default by the video playing application.

3. The method of claim 2, wherein, The calculation of the target video display area of the video playing application comprises: determining a target content display area on the car screen; wherein the target content display area is used to display driving information of the vehicle; determining a display area obtained by removing the target content display area from the entire car screen as the target video display area of the video playing application.

4. The method of claim 3, the car kit screen comprising individual sub-display units; wherein, The method further comprises: in response to a change in the current gear signal of the vehicle, determining a corresponding gear value and triggering screen redrawing of the car screen; judging the drawable area of the car screen and each sub-display unit inside it based on the gear value; performing screen redrawing based on the drawable area of the car screen and each sub-display unit inside it to adjust the current video display area of the video playing application to the target video display area.

5. The method of claim 4, wherein, The screen redrawing based on the drawable area of the car screen and each sub-display unit inside it comprises: controlling and adjusting the drawable area of the car screen and each sub-display unit inside it based on the current gear signal to obtain their respective actual drawing areas; drawing the corresponding sub-display units based on the actual drawing areas.

6. The method of claim 1, wherein, The adjustment of the current display area of the video playing application to the target video display area comprises: determining the current video display area of the video playing application; proportionally scaling the current video display area of the video playing application to fill into the target video display area.

7. The method of claim 6, wherein, The method further comprises: judging whether the car screen needs to forcibly display column information based on the current gear signal; wherein the column information at least includes a status bar and a navigation bar; if the current gear signal is not P gear, determining that the car screen needs to forcibly display column information, and displaying the column information in the car screen.

8. A central control video playing control device in a vehicle driving process, applied to a central control video playing control system, characterized in that, The device comprises: a monitoring module for monitoring the current gear of the vehicle to obtain a current gear signal of the vehicle; a first determining module for determining whether the current gear of the vehicle is P gear based on the current gear signal; a calculating module for actively taking over a video playing application currently playing a video on a car screen if not, calculating a target video display area of the video playing application; An adjusting module is configured to adjust the current video display area of the video playing application to the target video display area, so as to play a video based on the adjusted video playing application.

9. An electronic device, comprising: The application relates to a vehicle driving process central video playing control method and device. The processor, the memory and the bus, the memory stores the machine readable instructions executable by the processor, when the electronic equipment runs, the processor and the memory are communicated through the bus, the machine readable instructions are executed by the processor and execute the steps of the vehicle driving process central video playing control method in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor and executes the steps of the vehicle driving process central video playing control method in any one of claims 1 to 7.