Self-selected parking space display method and device and non-temporary computer readable storage medium
By real-time judgment and adjustment of the corner distance of the self-selected parking space on the on-board screen, the problem of incomplete display of self-selected parking spaces in the existing technology is solved, and more efficient and accurate parking space display is achieved, which improves the practicality of the parking process.
Patent Information
- Application Number
- CN202310679584.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2024-12-13
AI Technical Summary
During the parking process, the existing self-selected parking space function has a small field of view on the panoramic interface, which may not be displayed, which may affect user operations, and the algorithm for calculating the display area is complex and occupies a certain amount of computing power.
During automatic parking, we can determine in real time whether the distance between the corner points inside and outside the display area of the self-selected parking space meets the preset proportional relationship. If it is not satisfied, keep the angle unchanged and translated until the proportional relationship is satisfied to optimize the self-selected Display of parking spaces.
By optimizing the display method of self-selected parking spaces, we ensure that there is enough operable space on the on-board screen, enrich the display scene, improve practicality, and simplify the parking space display algorithm and improve display accuracy.
Smart Images

Figure CN119131106A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent driving technology, and specifically relates to a self-selected parking space display method, device and non-temporary computer-readable storage medium. Background Art
[0002] Self-selected parking spaces are a sub-function of smart parking. During the parking process, searching for global parking spaces may result in multiple target parking spaces. The driver can select a self-selected parking space from them according to his or her needs, and then perform smart parking. The existing self-selected parking space function operates the selected target parking space from the panoramic interface displayed on the vehicle. The panoramic interface is cropped and spliced by the surround-view camera, and has a small field of view. The existing solution is basically a proportional relationship of the use area, that is, the minimum display area is a percentage of the target parking space area. For example, the target parking space must retain 1 / 3 of its area in the panoramic interface to ensure that the user can operate it. If the reserved area is too small, the rotation button at the corner may not be displayed, affecting the user's operation. At the same time, the algorithm for calculating the display area of this solution is relatively complex and will take up a certain amount of computing power. Summary of the invention
[0003] The technical problem to be solved by the embodiments of the present invention is to provide a method and device for displaying a self-selected parking space and a non-transitory computer-readable storage medium to optimize the display of the self-selected parking space and improve the practicality of the self-selected parking space.
[0004] In order to solve the above technical problems, the present invention provides a method for displaying a self-selected parking space, comprising:
[0005] During the automatic parking process, in response to the user's operation on the in-vehicle screen, the selected self-selected parking space is translated or rotated on the in-vehicle screen;
[0006] When a portion of the self-selected parking space is outside the vehicle screen display area, determining in real time whether a first distance from a first corner point of the self-selected parking space within the vehicle screen display area to an edge of the vehicle screen display area and a second distance from a second corner point of the self-selected parking space outside the vehicle screen display area to an edge of the vehicle screen display area meet a preset proportional relationship;
[0007] If the first distance and the second distance do not satisfy the preset proportional relationship, the angle of the self-selected parking space is kept unchanged and translated until the preset proportional relationship is satisfied.
[0008] Preferably, the preset proportional relationship is that the ratio of the first distance to the second distance is greater than or equal to one quarter.
[0009] Preferably, the first corner point and the second corner point are two diagonal corner points of the same self-selected parking space.
[0010] Preferably, if the self-selected parking space has multiple corner points all located within the vehicle screen display area, the corner point closer to the center of the vehicle screen display area is selected as the first corner point; if the self-selected parking space has multiple corner points all located outside the vehicle screen display area, the corner point farther from the center of the vehicle screen display area is selected as the second corner point.
[0011] The present invention also provides a self-selected parking space display device, comprising:
[0012] A control module, used for controlling the selected self-selected parking space to translate or rotate on the in-vehicle screen in response to the user's operation on the in-vehicle screen during the automatic parking process;
[0013] A detection module, for determining in real time, when a portion of the self-selected parking space is outside the vehicle screen display area, whether a first distance from a first corner point of the self-selected parking space within the vehicle screen display area to an edge of the vehicle screen display area and a second distance from a second corner point of the self-selected parking space outside the vehicle screen display area to the edge of the vehicle screen display area satisfy a preset proportional relationship;
[0014] The control module is further configured to keep the angle of the self-selected parking space unchanged and perform translation when the first distance and the second distance do not satisfy the preset proportional relationship until the preset proportional relationship is satisfied.
[0015] Preferably, the preset proportional relationship is that the ratio of the first distance to the second distance is greater than or equal to one quarter.
[0016] Preferably, the first corner point and the second corner point are two diagonal corner points of the same self-selected parking space.
[0017] Preferably, if the self-selected parking space has multiple corner points all located within the vehicle screen display area, the corner point closer to the center of the vehicle screen display area is selected as the first corner point; if the self-selected parking space has multiple corner points all located outside the vehicle screen display area, the corner point farther from the center of the vehicle screen display area is selected as the second corner point.
[0018] The present invention also provides a self-selected parking space display device, comprising a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the self-selected parking space display method.
[0019] The present invention also provides a non-transitory computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the non-transitory computer-readable storage medium is located to execute the self-selected parking space display method.
[0020] The implementation of the present invention has the following beneficial effects: by judging in real time whether a first distance from a first corner point of the self-selected parking space within the vehicle screen display area to an edge of the vehicle screen display area and a second distance from a second corner point of the self-selected parking space outside the vehicle screen display area to an edge of the vehicle screen display area satisfy a preset proportional relationship, if not satisfied, the angle of the self-selected parking space is kept unchanged and translated, thereby optimizing the display mode of the self-selected parking space that is not within the vehicle screen display area, ensuring that the self-selected parking space has sufficient operating space in the vehicle screen display area, enriching the display scenes of the self-selected parking space, and improving the practicality of the self-selected parking space; using a linear proportional relationship as a basis for judgment can make the parking space display algorithm simpler and the display accuracy higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 It is a flow chart of a method for displaying a self-selected parking space according to Embodiment 1 of the present invention.
[0023] Figure 2 It is a display schematic diagram when a part of the self-selected parking space is located outside the display area of the vehicle-mounted screen in an embodiment of the present invention.
[0024] Figure 3 It is a schematic diagram of functional modules of a self-selected parking space display device according to a second embodiment of the present invention.
[0025] Figure 4 It is a structural schematic diagram of a self-selected parking space display device according to a third embodiment of the present invention. DETAILED DESCRIPTION
[0026] The following descriptions of the embodiments refer to the accompanying drawings to illustrate specific embodiments in which the present invention may be implemented.
[0027] Please refer to Figure 1 As shown, the first embodiment of the present invention provides a method for displaying a self-selected parking space, including:
[0028] During the automatic parking process, in response to the user's operation on the in-vehicle screen, the selected self-selected parking space is translated or rotated on the in-vehicle screen;
[0029] When a portion of the self-selected parking space is outside the vehicle screen display area, determining in real time whether a first distance from a first corner point of the self-selected parking space within the vehicle screen display area to an edge of the vehicle screen display area and a second distance from a second corner point of the self-selected parking space outside the vehicle screen display area to an edge of the vehicle screen display area meet a preset proportional relationship;
[0030] If the first distance and the second distance do not satisfy the preset proportional relationship, the angle of the self-selected parking space is kept unchanged and translated until the preset proportional relationship is satisfied.
[0031] From the above, it can be seen that when the self-selected parking space is partially outside the screen display range, the embodiment of the present invention can optimize the display of the self-selected parking space by controlling the distance from the two inner and outer corner points of the self-selected parking space to the edge of the screen display area to meet the preset proportional relationship, and change the traditional area proportional relationship to a linear proportional relationship, so that the display algorithm of the self-selected parking space is simpler, the display accuracy is higher, and the display scene of the self-selected parking space is richer.
[0032] Specifically, when the method for displaying a self-selected parking space of an embodiment of the present invention is implemented, the automatic parking function is first entered, and then "self-selected parking space" is selected in the TAB label, and the target parking space can be selected on the panoramic interface displayed on the vehicle screen and translated or rotated. There are currently multiple ways to turn on the automatic parking function, such as turning it on through a physical switch: turning on the automatic parking function by receiving a parking physical switch (hard button); or turning it on through a soft switch: the user clicks the parking button in the central control main interface, and the automatic parking assist APA (Auto-Parking-Asist) system receives the soft switch turn-on signal, and turns on the APA function after meeting the jump Searching condition; or turning it on by voice: the user wakes up the car machine voice function, and says "turn on parking" or "I want to park" or "I want to park" or "I want to park out", etc. After the car machine hears and understands it correctly, it first broadcasts the voice "OK", and then sends three frames of start signals continuously, and the signal sends three frames continuously at a 40ms period; it can also be turned on by the steering wheel customization: when the APA system receives a signal of a button being pressed, the automatic parking function is turned on.
[0033] After the automatic parking function is turned on, the user clicks on the screen, and the car computer sends the touch coordinates (ACU_PCS_ScreenCoordX & ACU_PCS_ScreenCoordY) in real time. When the touch coordinates are within the range of "Self-selected parking space" in the TAB label, the system enters the self-selected parking space function and sends the current parking status (PAS_APASt = 0x2 Searching). It can be understood that ACU_PCS_ScreenCoordX and ACU_PCS_ScreenCoordY respectively represent the X and Y coordinates of the touch point where the user performs a touch operation on the car screen, and the coordinate system is the screen coordinate system. The screen coordinate system is usually relative to the upper left corner of the image taken by the camera. In the screen coordinate system, the upper left corner of the image is usually regarded as the origin of the coordinate axis, and the vertical direction points downward (ie, the vertical axis), and the horizontal direction points to the right (ie, the horizontal axis). Therefore, the vertical coordinate moves downward when it increases, and moves to the right when the horizontal coordinate increases.
[0034] The user selects the target parking space (i.e., the self-selected parking space) through the in-vehicle screen, and presses and drags to move the self-selected parking space: as an example, the user presses and holds the selected target parking space on the in-vehicle screen, and then drags his finger up, down, left, and right to move the position of the self-selected parking space, thereby achieving a better parking location selection.
[0035] The user clicks the rotate button of the selected parking space, holds it down and turns it to rotate the parking space: As an example, the user clicks the rotate button, holds it down and draws a circle on the screen with his finger to rotate the parking space to better adapt to the actual parking position and direction.
[0036] In addition, in order to display and mark the current position of the vehicle and each target parking space on the vehicle screen, the conversion of the earth coordinate system (usually using WGS84), the vehicle coordinate system, and the screen coordinate system is also involved. This coordinate system conversion has been widely used in the field of automatic parking. The following briefly introduces the conversion process in general:
[0037] Establish a vehicle coordinate system, which generally includes the vehicle's position and attitude information;
[0038] Based on the information of the vehicle coordinate system, the position and posture of the vehicle relative to the map coordinate system are calculated in real time:
[0039] Convert the position and attitude information of the vehicle coordinate system into the position and attitude in the earth coordinate system, and obtain the position and attitude information of the vehicle in the earth through vehicle sensors (such as GPS, inertial navigation system, etc.);
[0040] Convert the position and attitude information in the geodetic coordinate system to the position and attitude information in the screen coordinate system. This process can be calculated based on the map scale and screen resolution. Commonly used projection methods include plane projection (such as transverse Mercator projection) and spherical projection.
[0041] Based on the position and posture information in the screen coordinate system, the vehicle, target parking spaces, etc. are displayed and marked on the vehicle screen.
[0042] Please refer to Figure 2 As shown, when the user selects a self-selected parking space (such as Figure 2 When operating on the vehicle screen (the oblique grayscale rectangular frame shown), if part of the self-selected parking space is outside the vehicle screen display area (taking the rectangle formed by the edges S1-S4 of the vehicle screen display area in a clockwise direction as an example), it will be determined in real time whether the first distance from the first corner point of the self-selected parking space in the vehicle screen display area to the edge of the vehicle screen display area and the second distance from the second corner point of the self-selected parking space outside the vehicle screen display area to the edge of the vehicle screen display area meet the preset proportional relationship. Specifically, taking the self-selected parking space P1 on the left side of the vehicle screen as an example, part of it is located in the vehicle screen display area, and the other part is located outside the vehicle screen display area, wherein the first corner point R1 is located in the vehicle screen display area, and the second corner point R2 is located outside the vehicle screen display area. As mentioned above, when the self-selected parking space is displayed on the vehicle screen, the coordinates of its four corner points have been converted to the screen coordinate system; when the user operates the self-selected parking space P1, the real-time coordinates of the touch point (ACU_PCS_ScreenCoordX&ACU_PCS_ScreenCoordY) will be determined, and the relative position relationship between the touch point and the first corner point R1 and the second corner point R2 of the self-selected parking space P1 is known or can be obtained through simple mathematical calculations. Therefore, the coordinates of the first corner point R1 and the second corner point R2 of the self-selected parking space P1 in the screen coordinate system will also be determined. The first distance L1, that is, the distance from the first corner point R1 to the edge S1 of the vehicle screen display area, is equivalent to the horizontal coordinate value of the first corner point R1 in the screen coordinate system, and the second distance L2, that is, the distance from the second corner point R2 to the edge S1 of the vehicle screen display area, is equivalent to the horizontal coordinate value of the second corner point R2 in the screen coordinate system. It should be noted that, although the second corner point R2 is not actually displayed on the vehicle screen, it does not affect obtaining its coordinates in the screen coordinate system, and thereby obtaining the second distance L2.
[0043] In this embodiment, the preset proportional relationship is This ensures that enough of the self-selected parking spaces are located within the on-board screen display area to facilitate user operation.
[0044] Furthermore, the first corner point R1 and the second corner point R2 are two diagonal corner points of the same self-selected parking space. For the case where the two angles on the same side of the self-selected parking space are both located within the display area of the vehicle screen, such as Figure 2 In the self-selected parking space P4, its corner points R1 and R3 are both located within the vehicle screen display area, while corner points R2 and R4 are both located outside the vehicle screen display area. The self-selected parking space display method of this embodiment is applicable to any set of diagonal corner points. As a more preferred implementation, the corner point R1 closer to the center of the vehicle screen display area is selected as the first corner point, and the corner point R2 farther from the center of the vehicle screen display area is selected as the second corner point. In this way, when the first distance and the second distance do not meet the aforementioned preset proportional relationship and the self-selected parking space is translated, the self-selected parking space can meet the requirements relatively quickly - more parts can enter the vehicle screen display area faster. Similarly, if at a certain angle, the self-selected parking space has three corner points located within the vehicle screen display area, the corner point closer to the center of the vehicle screen display area is also selected as the first corner point, and the remaining corner points outside the vehicle screen display area are selected as the second corner points. If at a certain angle, three corner points of the self-selected parking space are outside the display area of the vehicle screen, the corner point farther away from the center of the display area of the vehicle screen is selected as the second corner point, and the remaining corner points within the display area of the vehicle screen are selected as the first corner point.
[0045] If the first distance L1 and the second distance L2 do not satisfy the preset proportional relationship (i.e. ), the angle of the self-selected parking space is kept unchanged and translated until the preset proportional relationship is satisfied.
[0046] It can be understood that when part of the self-selected parking space is outside the display area of the vehicle screen, each state of the self-selected parking space will have a first distance L1 and a second distance L2 corresponding to it according to the positions of the first corner point and the second corner point; therefore, the self-selected parking space display method of this embodiment determines in real time whether the first distance L1 and the second distance L2 meet the preset proportional relationship, and if not, the angle of the self-selected parking space is kept unchanged and translated. Through the aforementioned mechanism, for some self-selected parking spaces that are not fully displayed on the display area of the vehicle screen,
[0047] like Figure 3 As shown, corresponding to the self-selected parking space display method described in the first embodiment of the present invention, the second embodiment of the present invention provides a self-selected parking space display device, including:
[0048] A control module, used for controlling the selected self-selected parking space to translate or rotate on the in-vehicle screen in response to the user's operation on the in-vehicle screen during the automatic parking process;
[0049] A detection module, for determining in real time, when a portion of the self-selected parking space is outside the vehicle screen display area, whether a first distance from a first corner point of the self-selected parking space within the vehicle screen display area to an edge of the vehicle screen display area and a second distance from a second corner point of the self-selected parking space outside the vehicle screen display area to the edge of the vehicle screen display area satisfy a preset proportional relationship;
[0050] The control module is further configured to keep the angle of the self-selected parking space unchanged and perform translation when the first distance and the second distance do not satisfy the preset proportional relationship until the preset proportional relationship is satisfied.
[0051] Preferably, the preset proportional relationship is that the ratio of the first distance to the second distance is greater than or equal to one quarter.
[0052] Preferably, the first corner point and the second corner point are two diagonal corner points of the same self-selected parking space.
[0053] Preferably, if the self-selected parking space has multiple corner points all located within the vehicle screen display area, the corner point closer to the center of the vehicle screen display area is selected as the first corner point; if the self-selected parking space has multiple corner points all located outside the vehicle screen display area, the corner point farther from the center of the vehicle screen display area is selected as the second corner point.
[0054] For example Figure 4 As shown, corresponding to the self-selected parking space display method described in the aforementioned embodiment of the present invention, the third embodiment of the present invention also provides a self-selected parking space display device, including a processor and a memory, and the processor is configured to execute a computer program stored in the memory to implement the self-selected parking space display method as described in the aforementioned embodiment of the present invention.
[0055] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor. The processor is the control center of the device, and various parts of the device are connected using various interfaces and lines.
[0056] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory can also be other volatile solid-state storage devices.
[0057] Corresponding to the self-selected parking space display method described in the aforementioned embodiment 1 of the present invention, embodiment 4 of the present invention also provides a non-transitory computer-readable storage medium, and the non-transitory computer-readable storage medium includes a stored computer program; wherein, when the computer program is running, it controls the device where the non-transitory computer-readable storage medium is located to execute the self-selected parking space display method described in the aforementioned embodiment 1 of the present invention.
[0058] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the device.
[0059] For the working principle and process of the above embodiment, please refer to the description of the above embodiment of the present invention, which will not be repeated here.
[0060] From the above description, it can be seen that compared with the prior art, the beneficial effect of the present invention lies in: by judging in real time whether the first distance from the first corner point of the self-selected parking space within the vehicle screen display area to the edge of the vehicle screen display area and the second distance from the second corner point of the self-selected parking space outside the vehicle screen display area to the edge of the vehicle screen display area meet the preset proportional relationship, if not satisfied, the angle of the self-selected parking space is kept unchanged and translated, thereby optimizing the display method of the self-selected parking space that is not within the vehicle screen display area, ensuring that the self-selected parking space has sufficient operating space in the vehicle screen display area, enriching the display scene of the self-selected parking space, and improving the practicality of the self-selected parking space; using a linear proportional relationship as the judgment basis can make the parking space display algorithm simpler and the display accuracy higher.
[0061] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for displaying a self-selected parking space, characterized in that: include: During the automatic parking process, in response to the user's operation on the in-vehicle screen, the selected self-selected parking space is translated or rotated on the in-vehicle screen; When a portion of the self-selected parking space is outside the vehicle screen display area, determining in real time whether a first distance from a first corner point of the self-selected parking space within the vehicle screen display area to an edge of the vehicle screen display area and a second distance from a second corner point of the self-selected parking space outside the vehicle screen display area to an edge of the vehicle screen display area meet a preset proportional relationship; If the first distance and the second distance do not satisfy the preset proportional relationship, the angle of the self-selected parking space is kept unchanged and translated until the preset proportional relationship is satisfied.
2. The method for displaying a self-selected parking space according to claim 1, characterized in that: The preset proportional relationship is that the ratio of the first distance to the second distance is greater than or equal to one quarter.
3. The method for displaying a self-selected parking space according to claim 1, characterized in that: The first corner point and the second corner point are two diagonal corner points of the same self-selected parking space.
4. The method for displaying a self-selected parking space according to claim 3, characterized in that: If the self-selected parking space has multiple corner points all located within the vehicle screen display area, the corner point closer to the center of the vehicle screen display area is selected as the first corner point; if the self-selected parking space has multiple corner points all located outside the vehicle screen display area, the corner point farther from the center of the vehicle screen display area is selected as the second corner point.
5. A self-selected parking space display device, characterized in that: include: A control module, used for controlling the selected self-selected parking space to translate or rotate on the in-vehicle screen in response to the user's operation on the in-vehicle screen during the automatic parking process; A detection module, for determining in real time, when a portion of the self-selected parking space is outside the vehicle screen display area, whether a first distance from a first corner point of the self-selected parking space within the vehicle screen display area to an edge of the vehicle screen display area and a second distance from a second corner point of the self-selected parking space outside the vehicle screen display area to the edge of the vehicle screen display area satisfy a preset proportional relationship; The control module is further configured to keep the angle of the self-selected parking space unchanged and perform translation when the first distance and the second distance do not satisfy the preset proportional relationship until the preset proportional relationship is satisfied.
6. The self-selected parking space display device according to claim 5, characterized in that: The preset proportional relationship is that the ratio of the first distance to the second distance is greater than or equal to one quarter.
7. The self-selected parking space display device according to claim 5, characterized in that: The first corner point and the second corner point are two diagonal corner points of the same self-selected parking space.
8. The self-selected parking space display device according to claim 7, characterized in that: If the self-selected parking space has multiple corner points all located within the vehicle screen display area, the corner point closer to the center of the vehicle screen display area is selected as the first corner point; if the self-selected parking space has multiple corner points all located outside the vehicle screen display area, the corner point farther from the center of the vehicle screen display area is selected as the second corner point.
9. A self-selected parking space display device, characterized in that: The invention comprises a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the method for displaying a self-selected parking space according to any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium includes a stored computer program; wherein, when the computer program is run, it controls the device where the non-transitory computer-readable storage medium is located to execute the self-selected parking space display method according to any one of claims 1 to 4.
