Parking display method and system and medium
By receiving and converting vehicle location information, and displaying and dynamically adjusting the zoom of the parking screen on the mobile phone in real time, the problem of intuitive vehicle location display in remote parking is solved, improving user experience and ease of operation.
Patent Information
- Application Number
- CN202511145532.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-15
- Publication Date
- 2025-11-21
AI Technical Summary
Existing remote parking solutions lack intuitiveness and accuracy in displaying vehicle positions, affecting users' sense of control and confidence.
By receiving real-time vehicle location information, converting it into location information in the mobile phone coordinate system, and displaying the vehicle's location on the mobile phone screen, the visible area range is calculated, and the zoom of the parking screen is dynamically adjusted to ensure that the vehicle is always within the visible range.
It enables real-time and accurate display of vehicle location, improving the convenience and safety of remote parking for users, and enhancing the intuitiveness and immersiveness of the user experience.
Smart Images

Figure CN120997038A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of parking, in particular to a parking display method, system and medium. BACKGROUND
[0002] Remote parking technology is an advanced automotive function that allows drivers to control the parking process of the vehicle using a smartphone application or a dedicated remote key outside the vehicle. This technology aims to solve the common parking problems in urban environments, such as narrow spaces and parallel parking difficulties. With the advancement of autonomous driving technology and sensor technology, remote parking technology has been realized and gradually becomes a standard configuration for some vehicle models. To achieve remote operation, the vehicle needs to establish a communication connection with the user's remote control device, usually through Bluetooth, Wi-Fi or a dedicated wireless communication protocol.
[0003] However, existing remote parking solutions have some limitations in terms of display effects. Most solutions simply display the vehicle movement direction and add basic background animations, which are monotonous and rigid compared to real-time display of vehicle position. This display method cannot provide users with intuitive and accurate vehicle position information, which may affect the user's sense of control and confidence in the parking process. Therefore, it is necessary to develop a solution that can display the vehicle position in real time and accurately, in order to improve the user experience of remote parking and enhance the convenience and safety of operation. SUMMARY
[0004] To solve the above technical problems, the present application provides a parking display method, system and medium, which can realize real-time display of the vehicle position on the phone screen during parking, and through dynamic adjustment of the zoom of the parking picture, the vehicle is always within the visible area range, improving the user experience of remote parking.
[0005] In a first aspect of the present application, a parking display method is provided, comprising:
[0006] receiving real-time position information of the vehicle;
[0007] converting the real-time position information of the vehicle into position information in the coordinate system of the phone;
[0008] displaying the position of the vehicle on the phone screen according to the position information;
[0009] calculating the visible area range of the vehicle on the phone screen; and
[0010] adjusting the zoom of the parking picture according to the comparison result of the position of the vehicle and the visible area range.
[0011] In a possible implementation, converting the real-time position information of the vehicle into position information in the coordinate system of the phone comprises:
[0012] obtaining a parking space entrance coordinate and a parking space direction angle in a vehicle coordinate system;
[0013] calculating a position coordinate of the vehicle in a mobile phone coordinate system according to real-time position information of the vehicle, the parking space entrance coordinate and the parking space direction angle, as the position information.
[0014] In a possible implementation, the calculating the position coordinate of the vehicle in the mobile phone coordinate system comprises:
[0015] selecting a corresponding coordinate conversion formula according to a quadrant of the parking space entrance coordinate in the vehicle coordinate system;
[0016] converting the position information in the vehicle coordinate system into the position coordinate in the mobile phone coordinate system by using the selected coordinate conversion formula.
[0017] In a possible implementation, the displaying the position of the vehicle on the mobile phone screen according to the position information comprises:
[0018] moving the vehicle to a target position corresponding to the calculated position information by an animation mode to display the position of the vehicle.
[0019] In a possible implementation, the calculating the visual area range of the mobile phone screen comprises:
[0020] calculating four vertex coordinates of the visual area according to a width and a height of the mobile phone screen to obtain the visual area range.
[0021] In a possible implementation, the adjusting the zoom of the parking picture according to the comparison result of the position of the vehicle and the visual area range comprises:
[0022] when the position of the vehicle is out of the visual area range, performing a zoom-out animation on the parking picture;
[0023] when the position of the vehicle is completely in the visual area range and completely in a zoomed-out area, performing a zoom-in animation on the parking picture.
[0024] In a possible implementation, the performing the zoom-out animation on the whole picture comprises:
[0025] zooming out the parking picture by a preset zoom ratio;
[0026] performing the zoom-out animation by taking a middle position of a rightmost side of the parking space as a zoom origin.
[0027] In a possible implementation, the parking display method further comprises:
[0028] after performing the zoom-out animation for multiple times, gradually reducing the preset zoom ratio to prevent the picture from becoming too small.
[0029] In a second aspect, the present application provides a parking display system, comprising:
[0030] a receiving module configured to receive real-time position information of a vehicle;
[0031] a converting module configured to convert the real-time position information of the vehicle into position information in a coordinate system of a mobile phone;
[0032] a display module configured to display the position of the vehicle on a screen of the mobile phone;
[0033] a calculating module configured to calculate a range of a visible area of the vehicle on the screen of the mobile phone; and
[0034] an adjusting module configured to adjust a zoom of a parking picture according to a comparison result of the position of the vehicle and the range of the visible area.
[0035] In a third aspect, the present application provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a computer, performs the method of the first aspect of the embodiments of the present application.
[0036] Compared with the prior art, the present application has at least one of the following beneficial technical effects:
[0037] 1) The real-time position of the vehicle can be accurately displayed on the screen of the mobile phone through real-time coordinate system conversion and animation display, and a more delicate user experience is provided;
[0038] 2) The range of the visible area is calculated in real time and the zoom of the picture is dynamically adjusted, so that the vehicle is always in the visible area, and the user can observe the movement process of the vehicle throughout the process, thereby improving the convenience and safety of the parking operation;
[0039] 3) Compared with simple direction indication and background animation, the present application provides a more realistic and intuitive display of the parking process, which greatly improves the user experience of remote parking. BRIEF DESCRIPTION OF DRAWINGS
[0040] Figure 1 FIG. 1 is a flow chart of a specific embodiment of the parking display method of the present application.
[0041] Figure 2 FIG. 2 is a flow chart of another specific embodiment of the parking display method of the present application.
[0042] Figure 3 FIG. 3 is a specific coordinate conversion schematic diagram of the parking display method of the present application.
[0043] Figure 4 FIG. 4 is another specific coordinate conversion schematic diagram of the parking display method of the present application.
[0044] Figure 5Another specific coordinate conversion schematic diagram of the parking display method of the present application.
[0045] Figure 6 Another specific coordinate conversion schematic diagram of the parking display method of the present application.
[0046] Figure 7 A display effect schematic diagram of the parking display method of the present application.
[0047] Figure 8 Another display effect schematic diagram of the parking display method of the present application.
[0048] Figure 9 Another display effect schematic diagram of the parking display method of the present application.
[0049] Figure 10 Another display effect schematic diagram of the parking display method of the present application.
[0050] Figure 11 Another display effect schematic diagram of the parking display method of the present application.
[0051] Figure 12 Another display effect schematic diagram of the parking display method of the present application.
[0052] Figure 13 Another display effect schematic diagram of the parking display method of the present application.
[0053] Figure 14 Another display effect schematic diagram of the parking display method of the present application.
[0054] Figure 15 Another display effect schematic diagram of the parking display method of the present application.
[0055] Figure 16 A structure schematic diagram of a specific embodiment of the parking display system of the present application. DETAILED DESCRIPTION
[0056] 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. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work are within the protection scope of the present application.
[0057] It should be understood that the terms "first", "second", and "third" and the like in the description and in the claims of the present disclosure are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. The terms "comprises", "comprising", "includes", "including" and the like used in the present description and in the claims of the present disclosure specifies the presence of stated features, integers, steps, operations, elements, and / or components but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It is also understood that the use of the terms "including", "comprising", "having" and / or "containing" throughout this present disclosure are used in the sense of "including, but not limited to", "comprising, but not limited to", "having, but not limited to" and / or "containing, but not limited to".
[0058] With reference to Figure 1 , the present embodiment provides a parking display method, comprising the following steps.
[0059] S1, receiving real-time position information of a vehicle.
[0060] Specifically, the mobile phone receives the real-time position information of the vehicle through near field communication (NFC), Wi-Fi or a special wireless communication protocol. The vehicle collects its own position data through vehicle-mounted sensors (such as GPS, IMU, ultrasonic radar, etc.) and sends the data to the mobile phone through wireless communication. After receiving the position information, the mobile phone can analyze the data and extract the key information such as the coordinates, direction angle and movement state of the vehicle for subsequent steps.
[0061] In some embodiments, in order to ensure the real-time nature of the data, a fixed time interval polling acquisition or event triggering method can be used, for example, sending updated data immediately when the vehicle position changes significantly.
[0062] In addition, if the communication signal is greatly affected by the environment, the stability and accuracy of the position information can also be improved through redundant data checking or filtering algorithms (such as Kalman filtering).
[0063] S2, converting the real-time position information of the vehicle into position information in the coordinate system of the mobile phone.
[0064] Specifically, the real-time position information of the vehicle in the vehicle coordinate system is obtained, including the lateral coordinate, longitudinal coordinate and heading angle. Then, according to the mapping relationship between the vehicle coordinate system and the mobile phone screen coordinate system, coordinate conversion is performed.
[0065] The specific conversion method depends on the position of the vehicle in different quadrants and involves calculations such as coordinate axis flipping, translation and rotation to ensure that the position of the vehicle on the mobile phone screen is consistent with its actual movement state.
[0066] In some embodiments, to improve the conversion accuracy, an interpolation algorithm can be used to optimize the conversion result and reduce the position deviation caused by data dispersion.
[0067] In addition, after the coordinate conversion is completed, the converted coordinates are normalized to ensure that they adapt to different screen resolutions and display scales, so that the vehicle position can be accurately displayed on the mobile phone screen subsequently.
[0068] S3, displaying the vehicle position on the mobile phone screen.
[0069] Specifically, the position information of the vehicle in the mobile phone coordinate system converted in step S2 is used to determine the display position of the vehicle on the mobile phone screen. According to the real-time state of the vehicle (such as position, heading angle, moving direction, etc.), the vehicle image is rendered and dynamically updated on the screen.
[0070] To ensure the display effect, animation smoothing processing can be used to make the transition of the vehicle on the screen natural through interpolation algorithm or frame-by-frame rendering, avoiding shaking or jumping phenomenon.
[0071] In addition, in some embodiments, to enhance user experience, auxiliary information such as parking trajectory line and target parking space marker can be superimposed to improve the intuitiveness of the parking process. If the screen resolution or display scale is different, adaptive processing can also be performed to ensure that the vehicle can be correctly displayed on different devices.
[0072] S4, calculating the visible area range of the vehicle on the mobile phone screen.
[0073] Specifically, based on the position information of the vehicle in the mobile phone coordinate system, the display area of the vehicle on the mobile phone screen, i.e., the boundary range of the vehicle image, is calculated. Combined with the size of the current screen visible area (viewport range), it is judged whether the vehicle is completely located within the visible area. The vehicle size, screen resolution, scaling ratio, etc. need to be considered in the calculation to ensure the accuracy of the calculation result.
[0074] In some embodiments, to improve efficiency, a rectangular bounding box algorithm can be used to quickly judge whether the vehicle exceeds the visible area. In addition, the vehicle motion trajectory can be monitored in real time, and the next frame position of the vehicle is predicted combined with the historical position data, the visible area calculation logic is optimized, and the fluency of the parking process is improved.
[0075] S5, adjusting the scaling of the parking picture according to the comparison result of the vehicle position and the visible area range.
[0076] Specifically, the display area of the vehicle and the visible area range of the mobile phone screen are compared to determine whether the vehicle is completely within the visible range. If the vehicle exceeds the visible area, scaling adjustment is performed to make the vehicle return to the visible range; if the vehicle is completely within the visible area and there is a large blank area, the picture is appropriately enlarged to provide clearer parking details.
[0077] Smooth transition animation is adopted in the zooming process to avoid screen mutation affecting user experience. In addition, to ensure that the zoomed screen ratio is adapted to different screen resolutions, the display parameters can be adjusted in combination with the normalization algorithm to make the vehicle maintain the best visual effect on different devices. At the same time, in some embodiments, the future trajectory can also be predicted based on the vehicle motion trend, and the zooming strategy can be adjusted in advance to optimize the user's parking monitoring experience.
[0078] For example, with reference to Figure 2 The specific embodiment of the parking display method of the present application starts from Step 1 (receiving vehicle position information) to obtain real-time coordinate data of the vehicle (i.e. real-time position information of the vehicle) through wireless communication. Then, Step 2 (coordinate system conversion) is responsible for converting the vehicle coordinates from the vehicle coordinate system to the mobile phone screen coordinate system to ensure the correct display position. Then, Step 3 (executing vehicle animation) is entered, which dynamically updates the position of the vehicle on the mobile phone screen according to the converted coordinates and uses animation smoothing processing to optimize user experience.
[0079] Subsequently, Step 4 (calculating the visible range) calculates the range of the visible area on the current screen, and Step 5 (monitoring the vehicle position range) evaluates whether the vehicle exceeds the visible area to determine whether zoom adjustment is necessary. If zoom adjustment is necessary, Step 6 (executing zoom animation) is entered to keep the vehicle always within the visible range of the screen through smooth zooming to improve the intuitiveness and operability of the parking process.
[0080] The embodiment of the present application realizes accurate, intuitive and efficient parking position display through real-time reception of vehicle position information, coordinate conversion, dynamic display, visible area calculation and intelligent zooming. Compared with the existing scheme which only provides simple direction guidance, the present scheme can present the parking state of the vehicle on the mobile phone screen in real time and accurately, so that the user can more intuitively perceive the vehicle movement trajectory and improve the operation controllability. At the same time, the dynamic zooming mechanism ensures that the vehicle is always within the visible range, without the need for the user to frequently adjust the viewing angle, thereby enhancing the use convenience. In addition, smooth animation is adopted to optimize the vehicle movement and zooming process, reducing visual jump and improving user experience. Overall, the scheme significantly improves the visualization effect, interactive smoothness, and intuitiveness and accuracy of user operation of remote parking, and optimizes the intelligent experience of the parking process.
[0081] Further, as an embodiment of the present application, Step S2 of converting the real-time position information of the vehicle into position information in the mobile phone coordinate system includes:
[0082] obtaining the parking space entrance coordinate and the parking space direction angle in the vehicle coordinate system;
[0083] According to the real-time vehicle position information, the parking space entrance coordinate and the parking space direction angle, a position coordinate of the vehicle in a mobile phone coordinate system is calculated as the position information.
[0084] Specifically, in an embodiment of the present application, the specific way of obtaining the parking space entrance coordinate and the parking space direction angle in the vehicle coordinate system is as follows: taking the vehicle itself as the coordinate origin, a vehicle coordinate system (XOY) is established, the position coordinate O1 of the parking space entrance in the coordinate system is obtained through a sensor or system known data, and the included angle θ between the positive direction of the X axis of the vehicle and the parking space direction X1 axis (the parking space direction angle) is obtained. Then, based on the geometric transformation principle, the coordinate rotation and translation conversion algorithm is used to convert the current position of the vehicle from the vehicle coordinate system to the parking space coordinate system (i.e. the mobile phone coordinate system), so as to obtain the position coordinate of the vehicle which should be displayed on the mobile phone screen. The conversion will apply different mathematical expressions for accurate conversion according to the quadrant (first to fourth quadrant) in which the vehicle is located, so as to ensure that the display position of the vehicle in the mobile phone screen is consistent with its actual physical position, and improve the accuracy and intuitiveness of the parking visualization.
[0085] Further, as an embodiment of the present application, the calculation of the position coordinate of the vehicle in the mobile phone coordinate system comprises:
[0086] According to the quadrant of the parking space entrance coordinate in the vehicle coordinate system, a corresponding coordinate conversion formula is selected;
[0087] The position information in the vehicle coordinate system is converted into the position coordinate in the mobile phone coordinate system by using the selected coordinate conversion formula.
[0088] Specifically, taking the remote parking as an example, referring to Figures 3 to 6 , the coordinate system conversion schematic diagrams corresponding to the first, second, third and fourth quadrants, respectively. The square area corresponding to the coordinate system XOY represents the vehicle, and the coordinate system XOY is the vehicle coordinate system, wherein O represents the vehicle head direction; the square area corresponding to the coordinate system X1O1Y1 represents the parking space, and the coordinate system X1O1Y1 is the parking space coordinate system, wherein O1 represents the parking space entrance direction, and the parking space is static and can be regarded as the mobile phone coordinate system. The embodiment of the present application takes the vehicle coordinate system (coordinate system XOY) as the data source coordinate system, and the parking data source in the coordinate system includes the O1 point coordinate and the θ angle (the included angle between the positive direction of the X axis in the coordinate system XOY and the positive direction of the X1 axis in the coordinate system X1O1Y1 along the clockwise direction). The coordinate system conversion needs to convert the coordinate of the O1 point in the coordinate system XOY into the coordinate of the O point in the coordinate system X1O1Y1.
[0089] The first quadrant coordinate conversion is shown in Figure 3 , wherein:
[0090]
[0091] The coordinates of the O point in the coordinate system X1O1Y1 are (O1C, OC).
[0092] The second quadrant coordinate conversion is shown in Figure 4 , wherein:
[0093]
[0094] The coordinates of the O point in the coordinate system X1O1Y1 are (-OC, O1C).
[0095] The third quadrant coordinate conversion is shown in Figure 5 , wherein:
[0096]
[0097] The coordinates of the O point in the coordinate system X1O1Y1 are (-O1C, -OC).
[0098] The fourth quadrant coordinate conversion is shown in Figure 6 , wherein:
[0099]
[0100] The coordinates of the O point in the coordinate system X1O1Y1 are (OC, -O1C).
[0101] Further, as an embodiment of the present application, step S3, displaying the vehicle position on the mobile phone screen comprises: moving the vehicle to the target position corresponding to the calculated position information by animation to display the vehicle position.
[0102] Specifically, after obtaining the position information of the vehicle in the mobile phone coordinate system, a frame-by-frame interpolation algorithm or a smooth transition animation technology is used to smoothly move the vehicle from the current position to the corresponding target position, thereby realizing the display of the vehicle position. The animation process continuously updates the screen coordinates of the vehicle icon, so that the moving track is natural and coherent, and the screen jitter or abrupt feeling caused by position jumping is avoided. At the same time, the animation frame rate and transition time can be automatically adjusted according to the vehicle moving speed, so as to ensure good visual experience in different parking scenarios.
[0103] In this way, the user can intuitively and smoothly see the real moving process of the vehicle on the mobile phone screen, thereby improving the immersion and controllability of the remote parking operation.
[0104] Further, as an embodiment of the present application, step S5, adjusting the zoom of the parking picture according to the comparison result of the vehicle position and the visible area range comprises:
[0105] When the vehicle position is out of the visible area range, a zoom-out animation is performed on the parking picture.
[0106] When the vehicle position is completely within the visible area range and completely within the zoomed-in area, an enlargement animation is performed on the parking picture.
[0107] Specifically, by calculating the display position information of the vehicle on the mobile phone screen in real time and comparing it with the current visible area boundary, if any part of the vehicle position displayed on the mobile phone screen according to the position information exceeds the visible area range, the midpoint of the right side of the parking space is taken as the zoom origin, and a smooth zoom-out animation is performed on the entire parking picture according to the set zoom ratio S (such as 15% each time), so that the vehicle is re-included in the visible area. If the vehicle is completely within the current zoomed-out picture range (i.e. the parking picture is smaller than the visible area range) in consecutive frames and meets the enlargement condition, an enlargement animation is performed with the same origin to restore a clearer picture display. This zooming mechanism supports multiple cascading zooming and enlargement, and can set maximum and minimum zooming limits to ensure that the vehicle always remains within the user's visible range, while ensuring that the picture will not be excessively zoomed to cause display distortion or information loss, thereby improving the visibility and interactive experience of the parking process.
[0108] Further, as an embodiment of the present application, the zoom-out animation performed on the parking picture comprises:
[0109] zooming out the parking picture by a preset zoom ratio;
[0110] performing the zoom-out animation with the midpoint of the rightmost side of the parking space as the zoom origin.
[0111] Specifically, taking remote parking as an example, referring to Figures 7 to 15 , the block formed by OACB represents the visible area range of the mobile phone screen, the block in the inclined state represents the vehicle, and the block bordering the AB line represents the parking space. The coordinate system XOY is the original coordinate system of the mobile phone, the coordinate system X1O1Y1 is the coordinate system after the parking picture is zoomed out once, and the coordinate system X2O2Y2 is the coordinate system after the parking picture is zoomed out twice. The specific scheme of real-time calculation of the visible area during parking is as follows (W is the width of the mobile phone screen, H is the height of the mobile phone screen, and S is the zoom ratio during calculation).
[0112] When the vehicle is completely within the visible range, there will be no picture zooming behavior. As Figure 7 shown, the current vehicle visible area range is the area surrounded by the four vertices O, A, B, and C in the coordinate system XOY, i.e. the entire mobile phone screen area, and the vertex coordinates are as follows:
[0113] The coordinates of point O are (0, 0);
[0114] The coordinates of point A are (W, 0);
[0115] B point coordinates: (W, H);
[0116] C point coordinates: (0, H).
[0117] When the vehicle has exceeded the mobile phone visual boundary, as shown in Figure 8 , at this time a zoom-out animation is performed on the entire parking picture, the zoom-out coefficient can be adjusted appropriately (for example, the mobile phone screen is reduced by 15% each time), the current embodiment performs a zoom-out animation on the parking picture with S (scale) as the scaling ratio and the right middle position of the parking space as the scaling origin, as shown in Figure 9 , which is the parking picture after the zoom-out animation is performed, after zooming out, the original coordinate system XOY corresponds to Figure 9 coordinate system X1O1Y1, at this time the visible range of the vehicle is the area surrounded by the four vertices O, A, B and C in coordinate system X1O1Y1, and the vertex coordinates are as follows:
[0118] O point coordinates:
[0119] A point coordinates:
[0120] B point coordinates:
[0121] C point coordinates:
[0122] When the vehicle is completely within the visible range and completely within the area after zooming out (as shown by the dashed box in Figure 9 , as shown in Figure 10 , at this time the entire parking picture needs to perform a zoom-in animation, the current embodiment performs a zoom-in animation on the parking picture with S (scale) as the scaling ratio and the right middle position of the parking space as the scaling origin, as shown in Figure 11 , which is the parking picture after the zoom-in animation is performed, at this time the visible range of the vehicle becomes the initial value, that is, the area surrounded by the four vertices O, A, B and C in coordinate system XOY, and the vertex coordinates are as follows:
[0123] O point coordinates: (0, 0);
[0124] A point coordinates: (W, 0);
[0125] B point coordinates: (W, H);
[0126] C point coordinates: (0, H).
[0127] When the vehicle has exceeded the mobile phone visual boundary again after performing a zoom-out animation, as shown in Figure 12As shown, at this time, the parking picture needs to be executed again with a zoom-out animation, and the current parking picture is executed with a zoom-out animation with S (scale) as the scaling ratio and the middle position of the rightmost parking space as the scaling origin, as shown in Figure 13 As shown, the parking picture after the zoom-out animation is executed again, and the original coordinate system XOY corresponds to Figure 13 the coordinate system X2O2Y2after zooming out, and at this time, the visible range of the vehicle is the area surrounded by the four vertices O, A, B and C in the coordinate system X2O2Y2, and the vertex coordinates are as follows:
[0128] The coordinates of point O are:
[0129] The coordinates of point A are:
[0130] The coordinates of point B are:
[0131] The coordinates of point C are:
[0132] When the vehicle is completely within the visible range and completely within the area after the second zoom-out (as shown by the dashed box), as shown in Figure 13 , at this time, the entire parking picture needs to be executed with a zoom-in animation, and the current parking picture is executed with a zoom-in animation with S (scale) as the scaling ratio and the middle position of the rightmost parking space as the scaling origin, as shown in Figure 14 As shown, the parking picture after the zoom-in animation is executed, and at this time, the visible range of the vehicle becomes the visible range after the zoom-out animation is executed once, that is, Figure 15 in the coordinate system X1O1Y1, the area surrounded by the four vertices O, A, B and C, and the vertex coordinates are as follows: Figure 15
[0133] The coordinates of point O are:
[0134] The coordinates of point A are:
[0135] The coordinates of point B are:
[0136] The coordinates of point C are:
[0137] It should be noted that, Figure 9 is the principle diagram for executing proportional zoom-out on the parking picture shown in Figure 8 ; Figure 11 is the display result diagram of the parking picture after executing proportional zoom-in on the parking picture shown in Figure 10 ; Figure 12 is a diagram for executing proportional zoom-out operation on the parking picture when the parking picture exceeds the visible range.Figure 13 Fig. 3 is a schematic diagram of performing a proportional zoom-in operation on the parking picture when the parking picture is still smaller than the visual area range; Figure 14 Fig. 4 is a schematic diagram of performing a proportional zoom-in operation on the parking picture when the parking picture is still smaller than the visual area range; Figure 15 Fig. 5 is a schematic diagram of performing a proportional zoom-out operation on the parking picture when the parking picture exceeds the visual area range.
[0138] Further, as an embodiment of the present application, the method further comprises:
[0139] After performing the zoom-out animation for multiple times, gradually reduce the preset zoom scale to prevent the picture from becoming too small.
[0140] Specifically, when the parking picture exceeds the visual area range again after performing the second zoom-out animation, perform a third zoom-out animation on the parking picture, and so on until performing a fourth and fifth zoom-out animation. Here, the zoom-out can be appropriately limited, for example, the zoom scale S can be reduced when zooming out again after multiple zoom-outs, so that the picture can be prevented from becoming too small.
[0141] Referring to Figure 16 The embodiment of the present application also discloses a parking display system, comprising a receiving module 1, a conversion module 2, a display module 3, a calculation module 4 and an adjustment module 5.
[0142] The receiving module 1 is used for receiving real-time position information of a vehicle.
[0143] The receiving module 1 establishes a real-time communication connection with the vehicle through near field communication (NFC), Wi-Fi or a special wireless communication protocol, and receives a message containing position information, a heading angle, a moving state and the like from the vehicle end. The real-time position of the vehicle is generated and sent to the receiving module 1 after being collected by the vehicle-mounted sensors (such as GPS, IMU, ultrasonic radar and the like) of the vehicle. The receiving module 1 can realize high-frequency and low-delay data acquisition by using a polling mechanism or an event-driven mechanism, and at the same time, combines data verification and abnormal processing mechanisms, such as redundancy verification or filtering algorithms (such as Kalman filtering), to improve the accuracy and stability of the received position information, and provides a reliable data basis for the processing of subsequent modules.
[0144] The conversion module 2 is used for converting the real-time position information of the vehicle into position information in a mobile phone coordinate system.
[0145] Specifically, the conversion module 2 first obtains the parking space entrance coordinate and the parking space direction angle (θ) in the vehicle coordinate system, establishes a vehicle coordinate system (XOY) with the vehicle itself as the coordinate origin, and according to the geometric relationship between the vehicle coordinate system and the mobile phone screen coordinate system, uses rotation and translation transformation algorithm to convert the real-time position information of the vehicle into the position coordinate in the mobile phone coordinate system. The conversion uses different mathematical formulas for calculation according to the different quadrants of the vehicle relative to the parking space (i.e. the mobile phone), to ensure that the position of the vehicle on the screen is consistent with the position in the actual parking environment. At the same time, in order to be compatible with different resolutions and screen ratios, the converted position coordinate can also be normalized to adapt to the display requirements of various terminal devices.
[0146] The display module 3 is used to display the vehicle position on the mobile phone screen.
[0147] After obtaining the position coordinate of the vehicle in the mobile phone coordinate system (as an example of position information) output by the conversion module 2, the display module 3 renders the vehicle image on the mobile phone screen according to the coordinate, and smoothly moves the vehicle icon to the target position through animation to avoid jumping or flickering, and improves the visual fluency. The display module 3 supports dynamically adjusting the orientation and posture of the icon according to the real-time state of the vehicle (such as driving direction, angle), to enhance the realism of the display. At the same time, auxiliary information such as parking space contour line, parking path, obstacle prompt, etc. can be superimposed in combination with the parking scene, to help users more intuitively master the relationship between the vehicle position and the surrounding environment. In order to adapt to different screen sizes and resolutions, the display module 3 also has the functions of adaptive scaling and layout adjustment, to ensure that the vehicle parking process can be clearly displayed on various devices.
[0148] The calculation module 4 is used to calculate the visible area range of the vehicle on the mobile phone screen.
[0149] Based on the position coordinate of the vehicle in the mobile phone coordinate system, the calculation module 4 combines the resolution, display ratio and zoom state of the current mobile phone screen to calculate the visible area range of the vehicle on the screen in real time. The specific method is to take the four corner points of the vehicle image as the boundary to construct the surrounding rectangle on the screen, and compare it with the current visible area. When there is a zooming behavior, the calculation module 4 also needs to transform the visible area range according to the zoom ratio and zoom origin, such as converting the original coordinate system XOY to the zoomed coordinate system X1O1Y1, X2O2Y2, etc. The calculation module 4 monitors the relationship between the vehicle and the visible area through consecutive frames to provide accurate visibility judgment results, which provides the basis for whether to perform zoom-in or zoom-out animation, to ensure that the vehicle is always within the user's visible range, and to improve the safety and intuitiveness of the parking process.
[0150] The adjustment module 5 is used to adjust the zoom of the parking picture according to the comparison result of the vehicle position and the visible area range.
[0151] The adjusting module 5 judges whether the parking picture needs to be scaled according to the comparison result of the vehicle and the visible area output by the calculating module 4. When it is detected that the vehicle position is out of the range of the current visible area, the right midpoint of the parking space is taken as the scaling origin, a smooth reduction animation is performed according to a preset scaling ratio (such as reducing by 15% each time) to re-include the vehicle in the screen view; when the vehicle is completely in the reduced visible area in the continuous frames, an enlargement animation is triggered to restore a clearer picture display. A transition animation is adopted in the scaling operation process to ensure a natural and smooth visual effect and avoid a jarring feeling. Meanwhile, the adjusting module 5 also supports a multi-level scaling logic and a scaling ratio dynamic adjustment mechanism to prevent display distortion caused by frequent scaling and guarantee that the user can obtain a clear and stable view experience in different parking scenarios.
[0152] The embodiment of the application further discloses a readable storage medium.
[0153] A readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the parking display method in any one of the above embodiments.
[0154] It can be understood that the computer readable storage medium can include any entity or device capable of carrying the computer program, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), and a software distribution medium, etc. The computer program includes computer program code. The computer program code can be in a source code form, an object code form, an executable file, or some intermediate form, etc. The computer readable storage medium can include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), and a software distribution medium, etc.
[0155] In some embodiments of the present application, the electronic device can include a controller or a processor, the controller being a single-chip microcomputer integrated with a processor, a memory, a communication module, and the like. The processor can refer to the processor included in the controller. The processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, and the like.
[0156] Any processes or methods described in the flow charts or elsewhere in this document can be understood as representing a module, segment, or portion of code that includes one or more executable instructions for implementing specific logical functions or steps in the process, and the various embodiments of the present application can include additional or fewer steps performing the same or equivalent functions as those shown or discussed, in different orders, in different combinations, or omitted entirely, depending on the application of the present application.
[0157] Those skilled in the art can realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be realized in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the general description of each example has been described in terms of functional generalities. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0158] The above examples are only used to illustrate the technical solutions of the present application, and not to limit it; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that the technical solutions recorded in the foregoing examples can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A parking display method characterized by comprising: The method comprises: receiving real-time vehicle position information; converting the real-time vehicle position information into position information in a mobile phone coordinate system; displaying the vehicle position on a mobile phone screen according to the position information; calculating a visible area range of the vehicle on the mobile phone screen; and adjusting the zoom of a parking picture according to a comparison result of the vehicle position and the visible area range.
2. The parking display method according to claim 1, characterized by, The conversion of the real-time vehicle position information into position information in the mobile phone coordinate system comprises: obtaining a parking space entrance coordinate and a parking space direction angle in a vehicle coordinate system; calculating a position coordinate of the vehicle in the mobile phone coordinate system as the position information according to the real-time vehicle position information, the parking space entrance coordinate and the parking space direction angle.
3. The parking display method according to claim 2, characterized by, The calculation of the position coordinate of the vehicle in the mobile phone coordinate system comprises: selecting a corresponding coordinate conversion formula according to a quadrant of the parking space entrance coordinate in the vehicle coordinate system; and converting the position information in the vehicle coordinate system into the position coordinate in the mobile phone coordinate system by using the selected coordinate conversion formula.
4. The parking display method according to claim 1, characterized by, The displaying of the vehicle position on the mobile phone screen according to the position information comprises: moving the vehicle to a target position corresponding to the calculated position information by animation to display the vehicle position.
5. The parking display method according to claim 1, wherein The calculation of the visible area range of the vehicle on the mobile phone screen comprises: calculating four vertex coordinates of the visible area according to the width and height of the mobile phone screen to obtain the visible area range.
6. The parking display method according to claim 1, wherein The adjustment of the zoom of the parking picture according to the comparison result of the vehicle position and the visible area range comprises: performing a zoom-out animation on the parking picture when the vehicle position is out of the visible area range; and performing a zoom-in animation on the parking picture when the vehicle position is completely in the visible area range and completely in a zoomed-out area.
7. The parking display method according to claim 6, wherein The performance of the zoom-out animation on the parking picture comprises: zooming out the parking picture by a preset zoom ratio; and taking a middle position of a rightmost side of the parking space as a zoom origin to perform the zoom-out animation.
8. The parking display method according to claim 7, wherein The method further comprises: gradually reducing the preset zoom ratio after performing the zoom-out animation for multiple times.
9. A parking display system, characterized by The method comprises: a receiving module configured to receive real-time vehicle position information; a conversion module configured to convert the real-time vehicle position information into position information in a mobile phone coordinate system; a display module configured to display a vehicle position on a mobile phone screen; a calculation module configured to calculate a visible area range of the vehicle on the mobile phone screen; and an adjustment module configured to adjust the zoom of a parking picture according to a comparison result of the vehicle position and the visible area range. A computer program is stored on the computer readable storage medium, and the computer program is run by a computer to execute the parking display method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, A computer readable storage medium has a computer program stored thereon, and the computer program is run by a computer to execute the parking display method according to any one of claims 1 to 8.