Screen transmission image processing method, vehicle-mounted equipment, storage medium and vehicle

By adjusting the screen-transmitted image according to the display mode and image bitmap at the receiving end, the problem of unbalanced image filling ratio during screen transmission is solved and the user experience is improved.

CN118612489APending Publication Date: 2024-09-06BYD CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411084436.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

During the screen transmission process, the screen projection end performs pixel filling for the receiving end, resulting in an imbalance in the image filling ratio, which affects the screen transmission effect of the receiving end. In particular, the vertical screen video has a larger proportion of filled pixels, resulting in a smaller proportion of the actual content. , affecting user experience.

Method used

Through the screen image processing method of the receiving end, the second display mode of the screen projection end is determined according to the display mode of the receiving end and the image bitmap of the screen image, and the image bitmap is adjusted according to the second display mode and the first display mode. Ensure that the actual screen-transmitted data accounts for a large proportion, thereby improving the user's perception of screen-transmitted images.

Benefits of technology

It effectively solves the problem of unbalanced image filling ratio in screen transmission image processing, ensures the screen transmission effect at the receiving end, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612489A
    Figure CN118612489A
Patent Text Reader

Abstract

The invention provides a screen transmission image processing method, vehicle-mounted equipment, a storage medium and a vehicle. The method comprises the following steps: receiving a screen transmission image obtained by performing pixel filling on a receiving end by a screen projection end; determining a second display mode of the screen projection end according to the first display mode of the receiving end and the image bitmap corresponding to the screen transmission image; and determining whether to adjust the image bitmap according to the second display mode and the first display mode. The receiving end judges the second display mode of the screen projection end through the screen transmission image, and further adjusts the image bitmap corresponding to the screen transmission image according to the second display mode and the first display mode of the receiving end, so as to obtain a final display picture, thereby ensuring that the actual screen transmission data in the displayed picture occupies a large proportion, and improving the user experience. And the screen transmission image impression of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of imaging technology, and in particular to a screen transmission image processing method, vehicle-mounted equipment, storage medium and vehicle. Background Art

[0002] Screen transmission refers to transmitting the image played on the projection end to the receiving end to realize image transmission and sharing. During the screen transmission process, the projection end will fill the pixels of the image to be transmitted in order to meet the transmission requirements so that the image video to be transmitted meets the transmission requirements. However, the video played on the projection end will respond to user needs and have horizontal or vertical screen videos. As a result, the vertical screen video will have a larger proportion of filled pixels and the actual content will have a smaller proportion of the screen, affecting the screen transmission effect on the receiving end. Summary of the invention

[0003] The present application provides a screen transmission image processing method, vehicle-mounted equipment, storage medium and vehicle, aiming to solve the problem of poor screen transmission display effect at the receiving end in the above-mentioned implementation scheme.

[0004] In a first aspect, the present application provides a screen transmission image processing method, which is applied to a receiving end and includes: The receiving screen projection end performs pixel filling on the screen transmission image for the receiving end; Determining a second display mode of the projection end according to the first display mode of the receiving end and the image bitmap corresponding to the screen transmission image; Determine whether to adjust the image bitmap according to the second display mode and the first display mode.

[0005] Optionally, determining the second display mode of the projection end according to the first display mode of the receiving end and the image bitmap corresponding to the screen transmission image includes: Obtaining an image bitmap corresponding to the screen image; If the first display mode of the receiving end is a vertical screen display mode, the second display mode of the projection end is determined according to the pixel color information in the image bitmap.

[0006] Optionally, determining the second display mode of the projection end according to the pixel color information in the image bitmap includes: Extracting a target color of a pixel corresponding to a preset pixel position in the image bitmap, wherein the preset pixel position is located at one quarter of the pixel width and / or three quarters of the pixel width of the image bitmap; If the target color is a preset fill color, determining that the second display mode of the projection end is a portrait display mode; If the target color is not a preset fill color, it is determined that the second display mode of the projection end is a horizontal screen display mode.

[0007] Optionally, the obtaining an image bitmap corresponding to the screen image includes: Using a view control to display the screen image; The screen image data displayed by the view control is called based on a preset function, and an image bitmap of the screen image data is obtained.

[0008] Optionally, determining whether to adjust the image bitmap according to the second display mode and the first display mode includes: If the first display mode is a vertical screen display mode, determining a target magnification ratio according to display width and height information corresponding to the first display mode and display width and height information corresponding to the second display mode; The image bitmap is enlarged according to the target enlargement ratio.

[0009] Optionally, determining the target magnification ratio according to the display width and height information corresponding to the first display mode and the display width and height information corresponding to the second display mode includes: If the second display mode is a vertical screen display mode, obtaining first display height information corresponding to the first display mode and second display height information corresponding to the second display mode; A target magnification ratio is determined according to a ratio between the first display height information and the second display height information.

[0010] Optionally, the method further includes: If the first display mode is a vertical screen display mode, generating a display screen corresponding to the first display mode according to the adjusted image bitmap; If the first display mode is a horizontal display mode, generating a display screen corresponding to the first display mode according to the screen transmission image; The display screen is displayed.

[0011] Optionally, the receiving end is a vehicle-mounted device.

[0012] In a second aspect, the present application provides a screen transmission image processing device, which is applied to a receiving end, and the device includes: A receiving module, used for receiving a screen image that is pixel-filled by the projection end for the receiving end; A determination module, configured to determine a second display mode of the projection end according to the first display mode of the receiving end and an image bitmap corresponding to the screen transmission image; An adjustment module is used to determine whether to adjust the image bitmap according to the second display mode and the first display mode.

[0013] In a third aspect, the present application provides a vehicle-mounted device, the vehicle-mounted device comprising: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement any one of the screen image processing methods.

[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute the steps in any one of the screen image processing methods described.

[0015] In a fifth aspect, the present application provides a vehicle, comprising the vehicle-mounted device as described above, or comprising the computer-readable storage medium as described above.

[0016] The present application provides a screen transmission image processing method, vehicle-mounted equipment, storage medium and vehicle, which receives a screen transmission image that is pixel-filled for the receiving end by the screen projection end; determines the second display mode of the screen projection end according to the first display mode of the receiving end and the image bitmap corresponding to the screen transmission image; and determines whether to adjust the image bitmap according to the second display mode and the first display mode. The receiving end determines the second display mode of the screen projection end through the screen transmission image, and further adjusts the image bitmap corresponding to the screen transmission image according to the second display mode and the first display mode of the receiving end to obtain the final display screen, ensuring that the actual screen transmission data accounts for a large proportion of the displayed screen, thereby improving the user's viewing experience of the screen transmission image. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 It is a scene schematic diagram of the screen transmission image processing method provided in an embodiment of the present application; Figure 2 It is a schematic diagram of an embodiment of the screen transmission image processing method provided in the embodiments of the present application; Figure 3 A schematic diagram of one of the screen transmission images provided in the implementation scheme of the present application; Figure 4A schematic diagram of a flow chart of one implementation scheme for determining a second display mode in a screen transmission image processing method provided in an implementation scheme of the present application; Figure 5 A schematic diagram of the locations of the preset coordinate points provided for the implementation scheme of this application; Figure 6 A schematic diagram of a flow chart of one implementation scheme of adjusting the image bitmap in the screen image processing method provided in the implementation scheme of the present application; Figure 7 It is a schematic diagram of the structure of an embodiment of a screen transmission image processing device provided in an embodiment of the present application; Figure 8 It is a schematic diagram of the structure of an embodiment of the vehicle-mounted equipment provided in the embodiments of the present application. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0020] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0021] In the embodiment of the present application, "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.

[0022] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0023] The embodiments of the present application provide a screen image processing method, device, equipment and computer-readable storage medium, which are described in detail below.

[0024] The screen image processing method in an embodiment of the present invention is applied to a screen image processing device, which is arranged in a vehicle-mounted device. The vehicle-mounted device is provided with one or more processors, a memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the screen image processing method.

[0025] like Figure 1 As shown, Figure 1 A scene diagram of the screen image processing method provided in an embodiment of the present application, wherein the screen image processing scene in the embodiment of the present invention includes a vehicle-mounted device 100 (a screen image processing device is integrated in the vehicle-mounted device 100), and a computer-readable storage medium corresponding to the screen image processing is run in the vehicle-mounted device 100 to execute the steps of screen image processing.

[0026] Understandably, Figure 1 The vehicle-mounted equipment in the scenario of the screen transmission image processing method shown, or the devices included in the vehicle-mounted equipment, do not constitute a limitation on the embodiments of the present invention, that is, the number of devices and types of devices included in the scenario of the screen transmission image processing method, or the number of devices and types of devices included in each device do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected in the embodiments of the present invention.

[0027] In the embodiment of the present invention, the vehicle-mounted device 100 is mainly used for: receiving a screen image that is pixel-filled for the vehicle-mounted device by the projection end; determining the second display mode of the projection end according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen image; and determining whether to adjust the image bitmap according to the second display mode and the first display mode.

[0028] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer in-vehicle devices, or network connection relationships of in-vehicle devices, such as Figure 1 Only one vehicle-mounted device is shown. It can be understood that the scenario of the screen transmission image processing method can also include one or more other vehicle-mounted devices, which are not limited here. The vehicle-mounted device 100 can also include a memory for storing data, for example, storing image information obtained by shooting.

[0029] In addition, in the scenario of the screen image processing method of the present application, the vehicle-mounted device 100 is set in the vehicle 200, and the vehicle-mounted device 100 can be provided with a display device, or the vehicle-mounted device 100 is not provided with a display device and is communicated with an external display device, and the display device is used to output the result of the execution of the screen image processing method in the vehicle-mounted device. The vehicle-mounted device 100 can access the background database 300 (the background database can be in the local memory of the vehicle-mounted device, and the background database can also be set in the cloud), and the background database 300 stores information related to the screen image processing.

[0030] It should be noted that Figure 1 The scene diagram of the screen transmission image processing method shown is only an example. The scene of the screen transmission image processing method described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.

[0031] Based on the scenario of the above-mentioned screen transmission image processing method, an embodiment of the screen transmission image processing method is proposed.

[0032] like Figure 2 FIG. 2 is a flow chart of an embodiment of a screen image processing method in an embodiment of the present application. The screen image processing method includes steps S201-S203: S201, receiving the screen transmission image with pixel filling performed by the projection end for the receiving end.

[0033] Among them, the projection end is a device connected to the receiving end for screen projection. The projection end and the receiving end can be devices of the same type, for example, both can be mobile phones, tablets, computers, etc., or both can be vehicle-mounted devices, or either one can be a vehicle-mounted device.

[0034] Specifically, in the implementation scheme of the present application, the receiving end is a vehicle-mounted device, and the vehicle-mounted device establishes a screen transmission connection with the projection end through a wireless network, Bluetooth or other connection method. Furthermore, the user selects the image to be transmitted based on the projection end, and according to the screen transmission protocol between the vehicle-mounted device and the projection end (exemplarily, the screen transmission protocol can be the Miracast projection protocol) The screen transmission image size is specified, and the image to be transmitted is pixel-filled to obtain the pixel-filled screen transmission image and then the screen transmission image is sent to the vehicle-mounted device based on the screen transmission protocol, that is, the vehicle-mounted device receives the screen transmission image that the projection end performs pixel-filling on the vehicle-mounted device.

[0035] It is understandable that the screen transmission image obtained by pixel filling according to the screen transmission protocol is generally in a fixed format. The screen transmission image corresponds to different second display modes with different image widths and heights. In order not to cause an imbalance in the picture ratio, the pixel filling will be filled based on the original width and height. As a result, for different second display modes on the projection end, the proportion of actual screen transmission data included in the filled screen transmission image is different, resulting in a larger proportion of filled pixels when the receiving end projects the screen based on the screen transmission image.

[0036] For example, see Figure 3 , Figure 3 A schematic diagram of one of the screen transmission images provided in the implementation scheme of the present application. Specifically, in this implementation scheme, the screen transmission image obtained by pixel filling according to the screen transmission protocol is a screen transmission image whose width is greater than its height. Figure 3 Page A in the figure is the screen image after pixel filling when the projection end is in horizontal display mode. The actual screen data in the screen image accounts for a large proportion of the screen. Figure 3 Page B in the figure is the screen image after pixel filling when the projection end is in vertical display mode. The actual screen data accounts for a smaller proportion of the screen in this screen image. The black is the filled pixels and the white screen is the screen corresponding to the actual screen data.

[0037] S202. Determine a second display mode of the projection end according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen transmission image.

[0038] Specifically, the first display mode includes a portrait display mode and a landscape display mode, and the second display mode also includes a portrait display mode and a landscape display mode.

[0039] Specifically, in the implementation scheme of the present application, after the receiving end obtains the pixel-filled screen image, if the screen image is displayed directly, the screen ratio of the screen image will be uncertain, affecting the image perception. Therefore, based on the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen image, the second display mode of the projection end is further determined.

[0040] Specifically, in the implementation scheme of the present application, if the screen transmission image obtained by pixel filling according to the screen transmission protocol corresponding to the vehicle-mounted device and the projection end is wider than the height, it is further determined whether the first display mode of the vehicle-mounted device is a vertical screen display mode. If it is a vertical screen display mode, the second display mode of the projection end is further determined based on the image bitmap corresponding to the screen transmission image.

[0041] Specifically, by acquiring the color information in the image bitmap, the actual screen transmission data ratio in the screen transmission image is determined, and then the second display mode is determined.

[0042] S203: Determine whether to adjust the image bitmap according to the second display mode and the first display mode.

[0043] Furthermore, after obtaining the second display mode, if the first display mode is a vertical screen mode, the image bitmap corresponding to the screen image is further adjusted according to the aspect ratio corresponding to the second display mode, and the adjusted image bitmap is displayed to realize screen transmission display, so as to ensure that the actual screen transmission data accounts for a larger proportion in the displayed picture, thereby improving the user's viewing experience of the screen transmission image.

[0044] Furthermore, the present application also provides an implementation scheme for determining a second display mode, see Figure 4 , Figure 4 A schematic flow chart of one implementation scheme for determining the second display mode in the screen transmission image processing method provided in the implementation scheme of the present application, specifically including steps S401-S402: S401: Obtain an image bitmap corresponding to the screen transmission image.

[0045] Specifically, the determination of the image bitmap comprises the following steps: (1) Displaying the screen image using a view control; (2) Based on a preset function, the screen image data displayed by the view control is called, and an image bitmap of the screen image data is obtained.

[0046] Specifically, in actual application, the view control is: TextureView, the preset function is the getBitmap function, the vehicle-mounted device receives and displays the transmitted video data (screen image), specifically by displaying the transmitted video data (screen image) in the TextureView of the vehicle-mounted device system (such as the Android system); further obtains the bitmap displayed on the TextureView, specifically by calling the getBitmap function to obtain the TextureView bitmap image Bitmap; and realizes obtaining the image bitmap corresponding to the screen image.

[0047] S402: If the first display mode of the vehicle-mounted device is a vertical screen display mode, determine the second display mode of the projection end according to the pixel color information in the image bitmap.

[0048] Specifically, in the implementation scheme of the present application, the screen image is generally wider than it is high, that is, if the first display mode of the vehicle-mounted device is determined to be a vertical screen display mode, the second display mode of the projection end is determined based on the pixel color information in the image bitmap.

[0049] Exemplarily, by obtaining the coordinate point pixels corresponding to each coordinate point or preset coordinate point in the image bitmap, it is determined whether the coordinate point pixel is a filled background color, such as black, and then the pixel color distribution information in the image bitmap is determined, and then the second display mode is determined.

[0050] The present application also provides an implementation scheme for determining the second display mode, specifically, determining the second display mode of the projection end according to the pixel color information in the image bitmap, including the steps of: (1) extracting a target color of a pixel corresponding to a preset pixel position in the image bitmap, wherein the preset pixel position is located at one quarter of the pixel width and / or three quarters of the pixel width of the image bitmap; (2) If the target color is a preset fill color, determining that the second display mode of the projection end is a portrait display mode; (3) If the target color is not a preset fill color, determining that the second display mode of the projection end is a horizontal screen display mode.

[0051] Among them, the preset pixel position is the position corresponding to one quarter of the horizontal coordinate of the image bitmap, and / or the position corresponding to three quarters of the horizontal coordinate of the image bitmap. It can be further understood that any several coordinate points can be selected as preset coordinate points at one quarter of the pixel width and / or three quarters of the pixel width.

[0052] For example, by setting 8 preset coordinate points, see Figure 5 , Figure 5The schematic diagram of the positions of preset coordinate points provided for the implementation scheme of the present application first obtains the 8 coordinate points indicated by the boxes in the figure, specifically including: obtaining the width of the image bitmap bitmap of the screen image, dividing the width into four equal parts, taking the 1 / 4 and 3 / 4 positions of the width as the horizontal coordinate points, obtaining the height of the bitmap, dividing the height into four equal parts, and using the 1 / 4 and 3 / 4 positions of each height and the width to form 8 coordinate points; further calculating the color information of each coordinate point, and then determining whether the pixels of the coordinate point are all black (the color of the filled pixels). If they are all black, it can be determined that the current data is vertical screen data (the vertical screen data indicates that the second display mode of the projection end is the vertical screen display mode), otherwise it is horizontal screen data (the vertical and horizontal screen data indicate that the second display mode of the projection end is the horizontal screen display mode).

[0053] Further, based on any of the above implementations, the present application also provides an implementation scheme for adjusting the image bitmap, see Figure 6 , Figure 6 A schematic flow chart of one implementation scheme of adjusting the image bitmap in the screen image processing method provided in the implementation scheme of the present application, specifically including steps S601-S602: S601: If the first display mode is a portrait display mode, determine a target magnification ratio according to display width and height information corresponding to the first display mode and display width and height information corresponding to the second display mode.

[0054] S602: Enlarge the image bitmap according to the target enlargement ratio.

[0055] Specifically, in the implementation scheme of the present application, if the first display mode of the receiving end is a vertical screen display mode, it is further combined with the second display mode and the display width and height information corresponding to the second display mode to determine the target magnification ratio for enlarging and adjusting the image bitmap, and the image bitmap is enlarged according to the target magnification ratio to match the image bitmap with the first display mode, thereby ensuring that the actual screen content display is maximized.

[0056] Specifically, in one embodiment of the present application, determining the target amplification ratio specifically includes the steps of: (1) If the second display mode is a vertical screen display mode, obtaining first display height information corresponding to the first display mode and second display height information corresponding to the second display mode; (2) Determining a target magnification ratio according to a ratio between the first display height information and the second display height information.

[0057] It can be understood that if the second display mode is a horizontal screen display mode, the first display width information corresponding to the first display mode and the second display width information corresponding to the second display mode are obtained; and the target magnification ratio is determined according to the ratio between the first display width information and the second display width information.

[0058] Furthermore, based on the above implementation scheme, the present application also provides another implementation scheme of the screen transmission image processing method, which specifically includes the steps of: (1) receiving a screen image filled with pixels by the projection end for the vehicle-mounted device; (2) if the first display mode is a vertical screen display mode, generating a display screen corresponding to the first display mode according to the adjusted image bitmap; (3) If the first display mode is a horizontal display mode, generating a display screen corresponding to the first display mode according to the transmitted screen image; (4) Displaying the display screen.

[0059] Specifically, if the first display mode is a vertical screen display mode, a display screen corresponding to the first display mode is generated according to the adjusted image bitmap, that is, the second display mode of the projection end is determined according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen transmission image; and whether to adjust the image bitmap is determined according to the second display mode and the first display mode to obtain the display screen corresponding to the first display mode. For specific implementation details, please refer to any of the above implementation schemes.

[0060] The screen image processing method provided in the implementation scheme of the present application receives the screen image that is pixel-filled for the vehicle-mounted device by the projection end; determines the second display mode of the projection end according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen image; and determines whether to adjust the image bitmap according to the second display mode and the first display mode. The receiving end determines the second display mode of the projection end through the screen image, and further adjusts the image bitmap corresponding to the screen image according to the second display mode and the first display mode of the receiving end to obtain the final display screen, ensuring that the actual screen data accounts for a large proportion of the displayed screen, thereby improving the user's viewing experience of the screen image.

[0061] In order to better implement the screen image processing method in the embodiment of the present application, based on the screen image processing method, a screen image processing device is also provided in the embodiment of the present application, such as Figure 7 As shown, the screen image processing device includes modules 801-803: The receiving module 801 is used to receive the screen image filled with pixels by the projection end for the vehicle-mounted device; A determination module 802 is used to determine a second display mode of the projection end according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen transmission image; The adjustment module 803 is used to determine whether to adjust the image bitmap according to the second display mode and the first display mode.

[0062] In some implementation schemes of the present application, the determination module 802 is used to determine the second display mode of the projection end according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen transmission image, including: Obtaining an image bitmap corresponding to the screen image; If the first display mode of the vehicle-mounted device is a vertical screen display mode, the second display mode of the projection end is determined according to the pixel color information in the image bitmap.

[0063] In some implementation schemes of the present application, the determination module 802 is used to determine the second display mode of the projection end according to the pixel color information in the image bitmap, including: Extracting a target color of a pixel corresponding to a preset pixel position in the image bitmap, wherein the preset pixel position is located at one quarter of the pixel width and / or three quarters of the pixel width of the image bitmap; If the target color is a preset fill color, determining that the second display mode of the projection end is a portrait display mode; If the target color is not a preset fill color, it is determined that the second display mode of the projection end is a horizontal screen display mode.

[0064] In some implementation schemes of the present application, the determination module 802 is used to obtain the image bitmap corresponding to the screen image, including: Using a view control to display the screen image; The screen image data displayed by the view control is called based on a preset function, and an image bitmap of the screen image data is obtained.

[0065] In some implementation schemes of the present application, the adjustment module 803, used to determine whether to adjust the image bitmap according to the second display mode and the first display mode, includes: If the first display mode is a vertical screen display mode, determining a target magnification ratio according to display width and height information corresponding to the first display mode and display width and height information corresponding to the second display mode; The image bitmap is enlarged according to the target enlargement ratio.

[0066] In some implementations of the present application, the adjustment module 803 is used to determine the target magnification ratio according to the display width and height information corresponding to the first display mode and the display width and height information corresponding to the second display mode, including: If the second display mode is a vertical screen display mode, obtaining first display height information corresponding to the first display mode and second display height information corresponding to the second display mode; A target magnification ratio is determined according to a ratio between the first display height information and the second display height information.

[0067] In some embodiments of the present application, the device further includes a display module, which is used to: If the first display mode is a vertical screen display mode, generating a display screen corresponding to the first display mode according to the adjusted image bitmap; If the first display mode is a horizontal display mode, generating a display screen corresponding to the first display mode according to the screen transmission image; The display screen is displayed.

[0068] The screen image processing device provided in the implementation scheme of the present application is provided with a receiving module for receiving the screen image filled with pixels by the projection end for the vehicle-mounted device; a determination module for determining the second display mode of the projection end according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen image; and an adjustment module for determining whether to adjust the image bitmap according to the second display mode and the first display mode. The receiving end determines the second display mode of the projection end through the screen image, and further adjusts the image bitmap corresponding to the screen image according to the second display mode and the first display mode of the receiving end to obtain the final display picture, ensuring that the actual screen data accounts for a large proportion in the displayed picture, thereby improving the user's viewing experience of the screen image.

[0069] Further, it can be understood that in some other embodiments of the present application, a vehicle-mounted device is also provided, and the vehicle-mounted device integrates any screen transmission image processing device provided by the embodiments of the present invention, and the vehicle-mounted device includes: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the screen image processing method described in any of the above-mentioned screen image processing method embodiments.

[0070] In combination with the above embodiments, it can be seen that in some embodiments of the present application, the one or more processors and memories in the vehicle-mounted equipment unit are integrated on a circuit board body included in the vehicle-mounted equipment, and the circuit board body is arranged in the vehicle-mounted equipment.

[0071] It is understandable that in some other embodiments of the present application, the processor and memory in the vehicle-mounted device may not be integrated in the vehicle-mounted device, that is, the processor and memory are respectively arranged in the vehicle-mounted device as components of the vehicle-mounted device.

[0072] like Figure 8 As shown, Figure 8 It is a schematic diagram of the structure of an embodiment of the vehicle-mounted equipment provided in the embodiments of the present application.

[0073] Specifically, the vehicle-mounted device may include one or more processing core processors 1001, one or more computer-readable storage media memories 1002, a power supply 1003, an input unit 1004 and other components. Those skilled in the art will understand that Figure 8 The vehicle-mounted device structure shown in the figure does not constitute a limitation on the vehicle-mounted device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them: The processor 1001 is the screen transmission image processing center, which uses various interfaces and lines to connect various parts of the entire vehicle-mounted device, and executes various functions of the vehicle-mounted device and processes data by running or executing software programs and / or modules stored in the memory 1002, and calling the data stored in the memory 1002, so as to monitor the vehicle-mounted device as a whole. It can be understood that the processor 1001 transmits signals with the controller. Optionally, the processor 1001 may include one or more processing cores; preferably, the processor 1001 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 1001.

[0074] The memory 1002 can be used to store software programs and modules. The processor 1001 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002. The memory 1002 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the vehicle-mounted device, etc. In addition, the memory 1002 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 1002 may also include a memory controller to provide the processor 1001 with access to the memory 1002.

[0075] In some embodiments of the present application, the screen image processing device can be implemented in the form of a computer program. The computer program can be used in Figure 8 The memory of the vehicle-mounted device can store various program modules constituting the screen image processing device, for example, Figure 7 The receiving module 801, the determining module 802, and the adjusting module 803 are shown. The computer program composed of various program modules enables the processor to execute the steps of the screen transmission image processing method of each embodiment of the present application described in this specification.

[0076] For example, Figure 8 The vehicle-mounted equipment shown can be Figure 7 The receiving module 801 in the screen transmission image processing device shown executes step S201. The vehicle-mounted device can execute step S202 through the determination module 802. The vehicle-mounted device can execute step S203 through the adjustment module 803. The vehicle-mounted device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the vehicle-mounted device is used to provide computing and control capabilities. The memory of the vehicle-mounted device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the vehicle-mounted device is used to communicate with an external vehicle-mounted device through a network connection. When the computer program is executed by the processor, a screen transmission image processing method is implemented.

[0077] The vehicle-mounted device also includes a power supply 1003 for supplying power to various components. Preferably, the power supply 1003 can be logically connected to the processor 1001 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 1003 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0078] The vehicle-mounted device may further include an input unit 1004, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0079] Although not shown, the vehicle-mounted device may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 1001 in the vehicle-mounted device will load the executable files corresponding to the processes of one or more application programs into the memory 1002 according to the following instructions, and the processor 1001 will run the application programs stored in the memory 1002, thereby realizing various functions, as follows: Receiving a screen image that is pixel-filled by the projection end for the vehicle-mounted device; Determining a second display mode of the projection end according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen transmission image; Determine whether to adjust the image bitmap according to the second display mode and the first display mode.

[0080] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0081] To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any screen image processing method provided by an embodiment of the present invention. For example, the computer program can be loaded by a processor to execute the following steps: Receiving a screen image that is pixel-filled by the projection end for the vehicle-mounted device; Determining a second display mode of the projection end according to the first display mode of the vehicle-mounted device and the image bitmap corresponding to the screen transmission image; Determine whether to adjust the image bitmap according to the second display mode and the first display mode.

[0082] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0083] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

[0084] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0085] Furthermore, the present application also provides a vehicle, comprising the on-board device as described in any one of the embodiments, or comprising the computer-readable storage medium as described in any one of the embodiments.

[0086] The above is a detailed introduction to a screen image processing method, vehicle-mounted equipment, storage medium and vehicle provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A screen image processing method, characterized in that: The method is applied to a receiving end, and the method comprises: The receiving screen projection end performs pixel filling on the screen transmission image for the receiving end; Determining a second display mode of the projection end according to the first display mode of the receiving end and the image bitmap corresponding to the screen transmission image; Determine whether to adjust the image bitmap according to the second display mode and the first display mode.

2. The screen image processing method according to claim 1, characterized in that: The determining the second display mode of the projection end according to the first display mode of the receiving end and the image bitmap corresponding to the screen transmission image includes: Obtaining an image bitmap corresponding to the screen image; If the first display mode of the receiving end is a vertical screen display mode, the second display mode of the projection end is determined according to the pixel color information in the image bitmap.

3. The screen image processing method according to claim 2, characterized in that: The determining the second display mode of the projection end according to the pixel color information in the image bitmap includes: Extracting a target color of a pixel corresponding to a preset pixel position in the image bitmap, wherein the preset pixel position is a position corresponding to one quarter of the horizontal coordinate of the image bitmap and / or a position corresponding to three quarters of the horizontal coordinate of the image bitmap; If the target color is a preset fill color, determining that the second display mode of the projection end is a portrait display mode; If the target color is not a preset fill color, it is determined that the second display mode of the projection end is a horizontal screen display mode.

4. The screen image processing method according to claim 2, characterized in that: The obtaining of the image bitmap corresponding to the screen image includes: Using a view control to display the screen image; The screen image data displayed by the view control is called based on a preset function, and an image bitmap of the screen image data is obtained.

5. The screen image processing method according to claim 1, characterized in that: The determining whether to adjust the image bitmap according to the second display mode and the first display mode includes: If the first display mode is a vertical screen display mode, determining a target magnification ratio according to display width and height information corresponding to the first display mode and display width and height information corresponding to the second display mode; The image bitmap is enlarged according to the target enlargement ratio.

6. The screen image processing method according to claim 5, characterized in that: The determining the target magnification ratio according to the display width and height information corresponding to the first display mode and the display width and height information corresponding to the second display mode includes: If the second display mode is a vertical screen display mode, obtaining first display height information corresponding to the first display mode and second display height information corresponding to the second display mode; A target magnification ratio is determined according to a ratio between the first display height information and the second display height information.

7. The screen image processing method according to claim 1, characterized in that: The method further comprises: If the first display mode is a vertical screen display mode, generating a display screen corresponding to the first display mode according to the adjusted image bitmap; If the first display mode is a horizontal display mode, generating a display screen corresponding to the first display mode according to the screen transmission image; The display screen is displayed.

8. The screen transmission image processing method according to any one of claims 1 to 7, characterized in that: The receiving end is a vehicle-mounted device.

9. A vehicle-mounted device, characterized in that: The vehicle-mounted equipment includes: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the screen image processing method described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the screen image processing method described in any one of claims 1 to 7.

11. A vehicle, characterized in that: Includes the vehicle-mounted device as claimed in claim 9, or includes the computer-readable storage medium as claimed in claim 10.

Citation Information

Patent Citations

  • Screen projection method and equipment and storage medium

    CN111290725A

  • Method for identifying horizontal and vertical screens of screen projection equipment, storage medium and terminal equipment

    CN112383820A

  • Image processing method, system and device based on screen projection and storage medium

    CN117389498A