Map display method and device, computer equipment and storage medium
By displaying a three-dimensional scene map on the vehicle-machine interface and responding to gesture operations, the perspective of the virtual camera is adjusted according to the current use status of the vehicle, which solves the problem of insensitive or overly sensitive operation of the vehicle-machine interface and achieves a better user operating experience.
Patent Information
- Application Number
- CN202310914553.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2025-01-24
AI Technical Summary
In the field of vehicles, gesture operations on the vehicle-machine interface are prone to problems such as insensitive operation or excessive sensitivity, which is difficult to meet the user's operating needs.
By displaying the three -dimensional scene drawing by the first perspective angle of the virtual camera in the car machine interface, respond to the gesture operation, determine the current use state of the vehicle, and determine the target to adjust the sensitivity according to the state, and then adjust the perspective of the virtual camera.
It realizes the adaptive adjustment of the sensitivity of gesture operations according to the current use status of the vehicle to meet the user's operation needs in different vehicle statuses.
Smart Images

Figure CN119356562A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a map display method, device, computer equipment, and storage medium. Background Art
[0002] In the automotive field, the car computer interface usually supports manual operation by users. Users can switch the displayed information in the car computer interface through various gestures, and can also adjust the geographical range and angle of the displayed information.
[0003] When performing gesture operations on the car computer interface, problems such as insensitive operation or excessive sensitivity may easily occur. For example, in some cases, multiple gesture zooming operations are required to achieve the ideal size. Alternatively, the operation sensitivity is too high and requires careful operation, otherwise it is easy to cause the adjustment range to be too large. The above situations are difficult to meet the user's operational needs for the car computer interface. Summary of the Invention
[0004] The embodiments of the present disclosure at least provide a map display method, apparatus, computer equipment, and storage medium.
[0005] In a first aspect, an embodiment of the present disclosure provides a map display method, including:
[0006] Display a three-dimensional scene image drawn from the first-person perspective of a virtual camera on the vehicle interface;
[0007] In response to receiving a gesture operation on the vehicle interface, determining a current usage state of the vehicle;
[0008] Determining, according to the current usage state, a target adjustment sensitivity of the gesture operation in the current usage state; the adjustment sensitivity is used to indicate a mapping relationship between an operation amplitude and an adjustment amplitude of the three-dimensional scene graph;
[0009] determining, according to the target adjustment sensitivity, a target adjustment amplitude of the three-dimensional scene graph corresponding to the operation amplitude of the gesture operation;
[0010] The viewing angle of the virtual camera is adjusted according to the target adjustment range, and a three-dimensional scene graph drawn by the adjusted second viewing angle is displayed.
[0011] Using the above map display method, a target adjustment sensitivity can be determined based on the vehicle's current usage state. Based on the target adjustment sensitivity, a target adjustment amplitude for the three-dimensional scene graph corresponding to the gesture operation amplitude can be determined. The virtual camera's perspective can then be adjusted based on the target adjustment amplitude, and the three-dimensional scene graph drawn from the adjusted perspective can be displayed. This process can achieve adaptive adjustment of the gesture adjustment sensitivity based on the vehicle's current usage state, thereby better meeting the user's operational needs in different vehicle states. For example, in the parking state, the user's primary focus is on the vehicle itself or the surroundings, requiring a narrower field of view. By configuring a relatively low adjustment sensitivity, the user's need for a more detailed observation of the vehicle itself or the surroundings can be met. Another example is that in the driving state, the user's primary focus is on the road ahead, requiring a wider field of view. By configuring a relatively high adjustment sensitivity, the user's need for quicker observation of the road ahead can be met.
[0012] In a possible implementation, determining, based on the current usage state, the target adjustment sensitivity of the gesture operation in the current usage state includes:
[0013] determining, according to a target gesture type corresponding to the gesture operation, a mapping relationship between a vehicle usage state and an adjustment sensitivity under the target gesture type;
[0014] The target adjustment sensitivity of the gesture operation in the current usage state is determined according to the current usage state and the mapping relationship.
[0015] In the above implementation, because different gesture types correspond to different operational requirements, a mapping relationship between the vehicle's current usage status and adjustment sensitivity can be configured for each gesture type. This means that the adjustment sensitivity is related to both the vehicle's usage status and the gesture type. For example, a rotation operation generally focuses on the state of a specific target object. This gesture type does not require adjustment of a large geographical range, so a relatively small adjustment sensitivity can be set when configuring the above mapping relationship.
[0016] In a possible implementation manner, when the current usage state is a parking state, the adjusted second viewing angle is focused on the position of the vehicle.
[0017] Here, in the parking state, the focus is mainly on the vehicle itself or its surroundings, so the observation perspective can focus on the location of the vehicle.
[0018] In one case, the received gesture operation includes sensing a single-point contact signal rotating along a preset direction (i.e., the gesture operation type is a rotation operation). In this case, the target adjustment amplitude includes the rotation angle.
[0019] At this time, adjusting the viewing angle of the virtual camera according to the target adjustment range includes:
[0020] The position of the vehicle is used as a focus, and the viewing angle of the virtual camera is rotationally adjusted according to the rotation angle to determine the adjusted second viewing angle.
[0021] In the above embodiment, when the gesture operation type is a rotation operation and the current usage state is the parking state, a target adjustment sensitivity is determined for the rotation operation, corresponding to the parking state. After the user performs the gesture operation, a target adjustment amplitude corresponding to the operation amplitude of the user's gesture operation is determined based on the determined target adjustment sensitivity. Furthermore, based on the target adjustment amplitude, the perspective of the virtual camera is rotationally adjusted with the vehicle's location as the focus, to obtain a three-dimensional scene image drawn from the rotated perspective. In the drawn three-dimensional scene image, the display posture of the vehicle model is rotated, and the display posture of the surrounding scene of the vehicle model is also rotated. This allows the user to easily observe details of different parts of the vehicle or different locations around the vehicle, satisfying the user's need to observe the vehicle itself or the surroundings.
[0022] In one possible implementation, when the current usage state is the driving state, if the gesture operation received includes sensing a multi-point contact signal moving along a third direction, the adjusted second viewing angle focuses on the multi-point contact position corresponding to the multi-point contact signal.
[0023] Here, in the driving state, if a translation operation is initiated, the focus of the translation operation is usually on the position pointed by the contact point, so the observation perspective can focus on the contact point position.
[0024] In one embodiment, the target adjustment range includes a moving distance; and adjusting the viewing angle of the virtual camera according to the target adjustment range includes:
[0025] Taking the multi-point contact position as a focus, the viewing angle of the virtual camera is moved and adjusted according to the movement distance to determine the adjusted second viewing angle.
[0026] In the above embodiment, when the gesture operation type is a pan operation and the current usage state is driving, a target adjustment sensitivity is determined for the pan operation, corresponding to the driving state. After the user performs the gesture operation, a target adjustment amplitude corresponding to the operation amplitude of the user's gesture operation is determined based on the determined target adjustment sensitivity. Furthermore, based on the target adjustment amplitude, the perspective of the virtual camera is moved and adjusted with the contact point location as the focal point to obtain a three-dimensional scene graph rendered at the shifted perspective. The geographic range of the rendered three-dimensional scene graph is shifted, allowing the user to observe information within the shifted geographic range, satisfying the user's need to observe other geographic ranges.
[0027] In one possible embodiment, when the current usage state is the driving state, if the gesture operation received includes sensing a multi-point contact signal moving along a fourth direction and a fifth direction, and the angle between the fourth direction and the fifth direction exceeds a first threshold, then the adjusted second perspective focuses on the position of the vehicle.
[0028] Here, while the vehicle is in motion, if a zoom operation (generally a two-finger zoom operation) is initiated, the zoom operation usually focuses on the vehicle itself, so the observation perspective can focus on the location of the vehicle.
[0029] In one embodiment, the target adjustment range includes a scaling ratio; and adjusting the viewing angle of the virtual camera according to the target adjustment range includes:
[0030] Taking the position of the vehicle as the focus, the viewing angle of the virtual camera is adjusted according to the scaling ratio to determine the adjusted second viewing angle.
[0031] In the above embodiment, when the gesture operation type is a zoom operation and the current usage state is the driving state, a target adjustment sensitivity matching the driving state is determined for the zoom operation; after the user performs the gesture operation, a target adjustment amplitude corresponding to the operation amplitude of the user's gesture operation is determined based on the determined target adjustment sensitivity. Furthermore, based on the target adjustment amplitude, the perspective of the virtual camera is resized with the vehicle's location as the focus to obtain a three-dimensional scene graph drawn under the adjusted perspective. The size of the geographic range in the drawn three-dimensional scene graph changes (if it is a scale zoom operation, the covered geographic range is reduced, and if it is a scale zoom operation, the covered geographic range is enlarged). This allows the user to observe information within the geographic range after the range size adjustment, satisfying the user's need to observe a larger geographic range or more detailed geographic information.
[0032] In one possible implementation, the target gesture type is determined according to the following steps:
[0033] The target gesture type is determined based on the sensed number of contact points acting on the vehicle-machine interface and displacement information of the contact points.
[0034] In the above embodiment, the target gesture type can be determined more accurately based on the number of contact points and the displacement information of the contact points. For example, in one possible embodiment, the target gesture type is determined based on the number of contact points and the displacement information of the contact points sensed on the vehicle interface, including:
[0035] When the number of contact points is 1, the displacement information of the contact point indicates that the contact point rotates along a preset direction, the movement distance in the first direction is greater than a second threshold, and the movement distance in the second direction is greater than a third threshold, the target gesture type is determined to be single-point rotation;
[0036] When the number of contact points is greater than 1, the displacement information of the contact points indicates that the movement distance of the contact points in the third direction is greater than a fourth threshold, and the angle of the movement trajectory of the contact points is less than a fifth threshold, determining that the target gesture type is a multi-point translation;
[0037] When the number of contact points is greater than 1 and the displacement information of the contact points indicates that the included angle of the movement track of the contact points is greater than a sixth threshold, it is determined that the target gesture type is multi-point zoom.
[0038] In the above embodiment, the target gesture type can be determined more accurately based on the number of contact points and the displacement information of the contact points under different numbers of contact points.
[0039] In one possible implementation, before determining the current usage status of the vehicle, the method further includes:
[0040] It is determined that the number of contact points corresponding to the gesture operation is within a preset number range.
[0041] In the above embodiment, the current usage status of the vehicle is determined on the premise that the number of contact points corresponding to the gesture operation is within a preset range, which can avoid, to a certain extent, the situation where the three-dimensional scene graph changes due to accidental finger touch.
[0042] In a possible implementation, a vehicle model of the vehicle is displayed in the three-dimensional scene graph, and at least one interactive control is provided on the vehicle model;
[0043] The method further comprises:
[0044] In response to a triggering operation on a target portion on the vehicle model, adjusting the viewing angle of the virtual camera with the target portion as a focus, and displaying a three-dimensional scene graph drawn from the adjusted third perspective;
[0045] In response to a triggering operation on a target interactive control associated with the target part in the adjusted three-dimensional scene graph, a component in the vehicle corresponding to the target interactive control is controlled to execute a corresponding operation instruction.
[0046] In the above embodiment, when a trigger operation of a target part on the vehicle model is received, it can be switched to a three-dimensional scene diagram displayed from a perspective with the target part as the focus, so that the user can interact with the target part more accurately; when a trigger operation of a target interaction control associated with the target part is received, the component corresponding to the target interaction control can be controlled to execute the corresponding operation instruction, so that after triggering the target part on the vehicle-machine interface, the corresponding component in the vehicle can be controlled more accurately, meeting the user's operational needs of accurately controlling the vehicle through the vehicle-machine interface.
[0047] In one possible implementation, the three-dimensional scene graph displays information about points of interest;
[0048] The method further comprises:
[0049] In response to a triggering operation on the target point of interest information, the perspective of the virtual camera is adjusted with the target point of interest as a focus, and a three-dimensional scene graph drawn from the adjusted fourth perspective is displayed.
[0050] In the above embodiment, when a trigger operation for the target point of interest information is received, the three-dimensional scene diagram can be switched to a perspective displayed with the target point of interest as the focus, so as to facilitate the user to observe the relevant information of the target point of interest more carefully and decide the next interactive operation.
[0051] In a second aspect, an embodiment of the present disclosure further provides a map display device, comprising:
[0052] A display module is used to display a three-dimensional scene image drawn from the first-person perspective of a virtual camera on the vehicle interface;
[0053] A first determining module is configured to determine a current usage state of the vehicle in response to receiving a gesture operation on the vehicle-mounted interface;
[0054] a second determining module, configured to determine, based on the current usage state, a target adjustment sensitivity of the gesture operation in the current usage state; the adjustment sensitivity being used to indicate a mapping relationship between an operation amplitude and an adjustment amplitude of the three-dimensional scene graph;
[0055] a third determining module, configured to determine, according to the target adjustment sensitivity, a target adjustment amplitude of the three-dimensional scene graph corresponding to the operation amplitude of the gesture operation;
[0056] The first adjustment module is used to adjust the viewing angle of the virtual camera according to the target adjustment range, and display the three-dimensional scene graph drawn by the adjusted second viewing angle.
[0057] In a third aspect, an embodiment of the present disclosure further provides a computer device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are performed.
[0058] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are executed.
[0059] For a description of the effects of the above-mentioned map display device, computer equipment and computer-readable storage medium, please refer to the description of the above-mentioned map display method, which will not be repeated here.
[0060] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without inventive effort.
[0062] Figure 1 A flowchart of a map display method provided by an embodiment of the present disclosure is shown;
[0063] Figure 2 A schematic diagram showing a map display provided by an embodiment of the present disclosure is shown;
[0064] Figure 3 A schematic diagram showing another map display provided by an embodiment of the present disclosure is shown;
[0065] Figure 4 A schematic diagram showing another map display provided by an embodiment of the present disclosure is shown;
[0066] Figure 5 A schematic structural diagram of a map display device provided by an embodiment of the present disclosure is shown;
[0067] Figure 6 A schematic diagram of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the disclosure for which protection is sought, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.
[0069] When performing gesture operations on the vehicle interface, the correspondence between the operation range of the gesture operation and the adjustment range of the vehicle interface is usually pre-set. This method cannot adapt to different operation requirements under different vehicle usage states and gesture types, and may easily lead to problems such as insensitive operation or excessive sensitivity when users perform gesture operations.
[0070] The defects of the above solutions and the proposed solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed in the present disclosure for the above problems below should be the contributions made by the inventor to the present disclosure during the disclosure process.
[0071] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.
[0072] To facilitate understanding of this embodiment, a map display method disclosed in the embodiment of the present disclosure is first introduced in detail. The execution subject of the map display method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities.
[0073] See also Figure 1FIG. 1 is a flowchart of a map display method provided by an embodiment of the present disclosure, wherein the method includes S101 to S105, wherein:
[0074] S101: Displaying a three-dimensional scene image drawn from the first-person perspective of a virtual camera on a vehicle interface.
[0075] S102: In response to receiving a gesture operation on the vehicle interface, determining a current usage status of the vehicle.
[0076] S103: Determine, according to the current usage state, a target adjustment sensitivity of the gesture operation in the current usage state; the adjustment sensitivity is used to indicate a mapping relationship between an operation amplitude and an adjustment amplitude of the three-dimensional scene graph.
[0077] S104: Determine, according to the target adjustment sensitivity, a target adjustment amplitude of the three-dimensional scene graph corresponding to the operation amplitude of the gesture operation.
[0078] S105: adjusting the viewing angle of the virtual camera according to the target adjustment range, and displaying a three-dimensional scene graph drawn from the adjusted second viewing angle.
[0079] In S101, the first perspective of the virtual camera can be a default perspective or a perspective selected or adjusted by the user. The first perspective can be a perspective for observing the vehicle (i.e., with the vehicle as the focus), a perspective for observing the road ahead (i.e., with the road ahead as the focus), or a perspective for observing other surrounding objects (e.g., other vehicles, buildings, etc.) (i.e., with other objects as the focus).
[0080] In S102 , the received gesture operation may include at least one type of gesture operation such as rotation, translation, and scaling.
[0081] A rotation operation involves rotating the contact point in a predetermined direction (counterclockwise or clockwise). This rotation operation can be applied to a target object, such as a vehicle model in a 3D scene image. Upon sensing a single-point contact signal indicating rotation in the predetermined direction, the target object can be rotated in that direction.
[0082] A translation operation involves the parallel movement of multiple contact points along a target direction. This operation can be applied to a 3D scene image. Upon sensing multi-point contact signals moving along a third direction, the 3D scene image can be translated along that third direction, displaying the translated scene content.
[0083] A zoom operation involves moving multiple contact points in opposite directions to zoom in or out. A translation operation can be performed on a 3D scene image. Upon sensing multiple contact signals moving along a fourth and fifth direction (the angle between the fourth and fifth directions exceeds a first threshold; if precise control is required, the first threshold can be set to a value close to 180 degrees), the 3D scene image can be zoomed in or out along the fourth and fifth directions, displaying the zoomed-in or zoomed-out 3D scene image.
[0084] Typically, a rotation operation refers to a single-finger rotation, a translation operation refers to a two-finger translation, and a zoom operation refers to a two-finger zoom. That is, the number of contact points corresponding to a gesture operation is generally one or two. Therefore, in one embodiment, before determining the current usage status of the vehicle, it is possible to determine whether the number of contact points corresponding to the gesture operation is within a preset range. If the number of contact points corresponding to the gesture operation is not within the preset range, no response will be given, thereby avoiding accidental touches. After determining that the number of contact points corresponding to the gesture operation is within the preset range, the current usage status of the vehicle can be determined.
[0085] During vehicle use, the current use state of the vehicle may include a parking state or a driving state.
[0086] In practice, when a vehicle is parked, users generally focus on the vehicle itself and the conditions around it. At this time, users can adjust and observe the conditions around the vehicle or the details of the vehicle through rotation operations.
[0087] When the vehicle is in motion, users generally focus on the road surface conditions. At this time, users can use translation or zoom operations to adjust and observe the road surface conditions in front or around them.
[0088] In a specific implementation, the current gear information and / or vehicle speed information of the vehicle may be obtained, and the current usage state of the vehicle may be determined based on the gear information and / or vehicle speed information.
[0089] For example, when the vehicle's gear position is in P gear / parking gear, or N gear / neutral gear, it can be determined that the vehicle's current usage status is parking gear; when the vehicle's gear position is in D gear / forward gear, or R gear / reverse gear, it can be determined that the vehicle's current usage status is driving gear.
[0090] For example, if the vehicle speed information indicates that the speed is zero, it can be determined that the current use state of the vehicle is the parking state; if the vehicle speed information indicates that the speed is greater than zero, it can be determined that the current use state of the vehicle is the driving state.
[0091] In an embodiment of the present disclosure, adjustments to the three-dimensional scene graph can be implemented based on received gesture operations. Specifically, the viewing angle of the virtual camera used to draw the three-dimensional scene graph can be adjusted. Compared to the geographic information displayed in the three-dimensional scene graph drawn from the first perspective, the geographic information displayed in the three-dimensional scene graph drawn from the adjusted second perspective has changed. Specifically, this may include a change in the size of the geographic range, or a change in the geographic information content when the size of the geographic range remains constant.
[0092] In S103, the adjustment sensitivity may be used to indicate a mapping relationship between an operation amplitude and an adjustment amplitude of the 3D scene graph, for example, indicating the corresponding adjustment amplitude of the 3D scene graph for a unit of operation amplitude. Different adjustment sensitivities, i.e., different adjustment amplitudes of the 3D scene graph for the same operation amplitude, may be used. The adjustment amplitude of the 3D scene graph may include a rotation angle, a movement distance, and a scaling ratio.
[0093] There is a mapping relationship between the current use state of the vehicle and the adjustment sensitivity, that is, different use states can correspond to different adjustment sensitivities. Furthermore, when the gesture operation is different, the same use state can also correspond to different adjustment sensitivities.
[0094] In S103 above, when determining the target adjustment sensitivity of gesture operations in the current usage state based on the current usage state, in the parking state, since the user is primarily focused on the vehicle itself or the surrounding conditions, the required field of view is relatively small. In this case, a larger vehicle model can be displayed on the vehicle interface. When the user performs gesture operations, the operable geographical range is relatively small. In this case, a relatively low adjustment sensitivity can be configured, that is, the unit amplitude of the gesture operation, and the corresponding adjustment geographical range is relatively small. In the driving state, since the user is primarily observing the road surface conditions ahead, the required field of view is relatively large. In this case, a smaller vehicle model and a larger geographical range can be displayed on the vehicle interface. When the user performs gesture operations, the operable geographical range is relatively large. In this case, a relatively high adjustment sensitivity can be configured, that is, the unit amplitude of the gesture operation (for example, the distance moved by two fingers when pinching to zoom), and the corresponding adjustment geographical range is relatively large.
[0095] In other words, when the car is parked, the user's primary focus is on the vehicle itself or its surroundings, requiring a narrower field of view. Configuring a relatively low adjustment sensitivity can help the user observe the vehicle itself or its surroundings in greater detail. For another example, when the car is driving, the user's primary focus is on the road ahead, requiring a wider field of view. Configuring a relatively high adjustment sensitivity can help the user quickly observe more of the road ahead.
[0096] In specific implementations, since different gesture types correspond to different operational requirements, the mapping relationship between the vehicle's current usage status and adjustment sensitivity can be configured separately for different gesture types. That is, the adjustment sensitivity is related to both the vehicle usage status and the gesture type.
[0097] At this time, the mapping relationship between the current usage status of the vehicle and the adjustment sensitivity under the target gesture type can be determined according to the target gesture type corresponding to the performed gesture operation, that is, the target adjustment sensitivity of the performed gesture operation under the current usage status can be determined.
[0098] For example, the rotation operation generally focuses on the state of a specific target object. Under this gesture operation type, there is no need to adjust a large geographical range. When configuring the above mapping relationship, a relatively small adjustment sensitivity can be set to achieve a more precise adjustment. The translation and zoom operations generally require a relatively high adjustment sensitivity, and a relatively high adjustment sensitivity can be set. Among them, the zoom operation usually requires quickly reducing the scale to display a larger geographical range, or quickly expanding the scale to display more detailed information within a smaller geographical range. Therefore, the adjustment sensitivity that can be set under the zoom operation is relatively higher. For example, for the rotation operation, the first adjustment sensitivity corresponds to the parking state; for the translation operation, the second adjustment sensitivity corresponds to the driving state; for the zoom operation, the third adjustment sensitivity corresponds to the driving state. The first adjustment sensitivity can be higher than the second adjustment sensitivity, and the second adjustment sensitivity can be less than or equal to the third adjustment sensitivity.
[0099] In one embodiment, the target gesture type corresponding to the gesture operation may be determined according to the following steps: determining the target gesture type according to the number of contact points acting on the vehicle interface and displacement information of the contact points sensed.
[0100] Here, the displacement information of the contact point may include a moving distance of the contact point in a moving direction.
[0101] For example, the following is the process of determining several target gesture types:
[0102] (1) When the number of contact points is 1, the displacement information of the contact point indicates that the contact point rotates along a preset direction, the movement distance in the first direction is greater than the second threshold, and the movement distance in the second direction is greater than the third threshold, the target gesture type is determined to be single-point rotation.
[0103] Here, single-point rotation can also be called single-finger rotation. The first direction and the second direction can be directions perpendicular to each other, such as the horizontal direction and the vertical direction of the vehicle interface. When the contact point rotates along the preset direction, the contact point can generate a moving distance in both the first direction and the second direction. Taking into account the possibility of accidental touch by the user, a threshold for the moving distance can be set here. When the moving distance in the first direction is greater than the second threshold and the moving distance in the second direction is greater than the third threshold, the current rotation can be considered valid, and the target gesture type can be determined to be single-point rotation. Here, the second threshold and the third threshold can be the same or different.
[0104] (2) When the number of contact points is greater than 1, the displacement information of the contact points indicates that the movement distance of the contact points in the third direction is greater than the fourth threshold, and the angle of the movement trajectory of the contact points is less than the fifth threshold, the target gesture type is determined to be multi-point translation.
[0105] Here, multi-point translation can also be called multi-finger translation. Normally, the number of contact points can be 2, that is, two-finger translation. When the movement distance of each contact point in the third direction is greater than the fourth threshold, and the angle between the movement trajectories of multiple contact points is less than the fifth threshold, it can be determined that the target gesture type is multi-point translation. Similarly, considering the possibility of accidental user touch, a threshold for the movement distance is set here. When the movement distance of the contact point in the third direction is greater than the fourth threshold, the current rotation can be considered valid.
[0106] The fifth threshold may be set to a value less than 90 degrees. For example, if the angle between the movement trajectories corresponding to the multiple contact points is less than 20 degrees, the target gesture type is considered to be multi-point translation.
[0107] (3) When the number of contact points is greater than 1 and the displacement information of the contact points indicates that the angle of the movement trajectory of the contact points is greater than a sixth threshold, the target gesture type is determined to be multi-point zoom.
[0108] Multi-point zooming is also referred to as multi-finger zooming. Typically, the number of contact points is two, meaning two-finger zooming. The maximum angle between the two-finger movement paths is 180 degrees. The ideal zooming operation requires a two-finger movement path with an angle of 180 degrees. To allow for a certain degree of error tolerance, a sixth threshold, less than 180 degrees, such as 130 degrees, can be set.
[0109] In S104, after the target adjustment sensitivity is determined, the target adjustment amplitude of the three-dimensional scene graph corresponding to the operation amplitude of the gesture operation can be determined according to the mapping relationship between the operation amplitude indicated by the target adjustment sensitivity and the adjustment amplitude of the three-dimensional scene graph.
[0110] That is, according to the adjustment amplitude A under the unit operation amplitude indicated by the target adjustment sensitivity, the target adjustment amplitude A*L under the operation amplitude L of the executed gesture operation can be determined.
[0111] In S105 , under different gesture operations, the viewing angle of the virtual camera can be adjusted with different positions as the focus.
[0112] In one embodiment, when the current usage state is the parking state, the adjusted second viewing angle may focus on the position of the vehicle.
[0113] Here, in the parking state, the user mainly focuses on the vehicle or its surroundings, so the adjusted second perspective can focus on the vehicle's location.
[0114] In one scenario, the received gesture operation includes sensing a single-point contact signal rotating in a preset direction (i.e., the gesture operation type is a rotation operation). In this case, the target adjustment amplitude includes the rotation angle. In this case, the perspective of the virtual camera can be rotated and adjusted according to the rotation angle with the vehicle location as the focus to determine a second perspective after the adjustment.
[0115] The single-point contact signal sensed here in the preset direction is a contact signal sensed in which the movement distance in the first direction is greater than the second threshold and the movement distance in the second direction is greater than the third threshold.
[0116] The underlying representation of the second perspective may include the pose information of the virtual camera. The pose information of the virtual camera and the three-dimensional scene model corresponding to the three-dimensional scene graph are used to display the three-dimensional scene graph in the adjusted pose of the three-dimensional scene model.
[0117] Here, the virtual camera's position is rotated with the vehicle's location as the focal point, adjusted by the rotation angle, and the adjusted second perspective is determined. The 3D scene graph drawn from the adjusted second perspective can be a 3D scene graph rotated by the rotation angle, and the vehicle model can be displayed in the 3D scene graph after being rotated by the rotation angle. It is important to note that the relative position of the vehicle model in the 3D scene graph remains unchanged.
[0118] Figure 2In the diagram of a map display shown, when the vehicle is parked, a 3D scene image drawn from the virtual camera's first perspective is displayed on the vehicle interface, showing a vehicle model viewed from the rear. Upon sensing a counterclockwise single-point contact signal, the virtual camera's perspective is rotated according to the rotation angle, with the vehicle's location as the focal point. A 3D scene image drawn from the virtual camera's second perspective is displayed on the vehicle interface, showing a vehicle model viewed from the right.
[0119] In summary, when the gesture operation type is a rotation operation and the current usage state is parking, the target adjustment sensitivity matching the parking state under the rotation operation is determined. After the user performs the gesture operation, the target adjustment amplitude corresponding to the operation amplitude of the user's gesture operation is determined based on the determined target adjustment sensitivity. Furthermore, based on the target adjustment amplitude, the perspective of the virtual camera is rotationally adjusted with the vehicle's location as the focus to obtain a three-dimensional scene diagram drawn from the rotated perspective. In the drawn three-dimensional scene diagram, the display posture of the vehicle model is rotated. At the same time, the display posture of the surrounding scene of the vehicle model is also rotated, allowing the user to easily observe the details of different parts of the vehicle or different locations around the vehicle, meeting the user's observation needs of the vehicle itself or the surrounding situation.
[0120] In another embodiment, when the current usage state is the driving state, the received gesture operation may be a multi-point translation or a multi-point zoom.
[0121] Among them, when the current use state is the driving state, if the gesture operation received includes sensing a multi-touch signal moving along the third direction, the adjusted second viewing angle focuses on the multi-touch position corresponding to the multi-touch information.
[0122] Here, in the driving state, if a translation operation is initiated, the focus of the translation operation is usually on the position pointed by the contact point, so the observation perspective can focus on the contact point position.
[0123] Here, sensing a multi-point contact signal moving along the third direction may specifically include sensing that the movement distance in the third direction is greater than a fourth threshold and the movement track angle of the contact point is less than a fifth threshold, that is, a multi-point translation contact signal.
[0124] When driving, the user mainly observes the road surface conditions, and the multi-point contact signal is a multi-point translation contact signal, that is, the user wants to observe the three-dimensional scene diagram after translation, so the adjusted second perspective can focus on the multi-point contact position and highlight the three-dimensional scene diagram near the multi-point contact position.
[0125] Furthermore, when the target adjustment range includes the size of the moving distance, the perspective of the virtual camera can be moved and adjusted according to the size of the moving distance with the multi-point contact position as the focus to determine the adjusted second perspective.
[0126] Here, with the multi-point contact location as the focal point, the virtual camera's position can be adjusted by translation according to the movement distance to determine the adjusted second perspective. The 3D scene graph drawn from the adjusted second perspective can be a 3D scene graph translated according to the movement distance, and the vehicle model can be displayed in the 3D scene graph after translation according to the movement distance. It is important to note that the relative position of the vehicle model in the 3D scene graph remains unchanged.
[0127] Figure 3 In the diagram of another map display, while the vehicle is in motion, a 3D scene image drawn from the virtual camera's first perspective is displayed on the vehicle interface, showing a vehicle model traveling on the road. Upon sensing a multi-touch signal moving along the left front, the virtual camera's perspective is adjusted according to the distance moved, with the multi-touch location as the focal point. A 3D scene image drawn from the virtual camera's second perspective is displayed on the vehicle interface, showing a building model to the left front of the vehicle model.
[0128] In summary, if the gesture operation type is a pan operation and the current usage state is driving, the target adjustment sensitivity for the pan operation is determined to match the driving state. After the user performs the gesture operation, the target adjustment amplitude corresponding to the operation amplitude of the user's gesture operation is determined based on the determined target adjustment sensitivity. Furthermore, based on the target adjustment amplitude, the perspective of the virtual camera is moved and adjusted with the contact point location as the focus to obtain a 3D scene graph drawn from the shifted perspective. The geographic range in the drawn 3D scene graph is shifted, allowing the user to observe information within the shifted geographic range, satisfying the user's need to observe other geographic ranges.
[0129] In one embodiment, when the current usage state is driving state, if the gesture operation received includes sensing a multi-point contact signal moving along the fourth direction and the fifth direction, and the angle between the fourth direction and the fifth direction exceeds the first threshold, the adjusted second perspective focuses on the position of the vehicle.
[0130] Here, while driving, if a zoom operation (generally a two-finger zoom operation) is initiated, the zoom operation usually focuses on the vehicle itself or the vehicle's surrounding environment information, so the observation perspective can focus on the vehicle's location.
[0131] Here, sensing a multi-point contact signal moving along the fourth direction and the fifth direction may include sensing a contact signal in which an angle between movement trajectories of two contact points is greater than a sixth threshold.
[0132] Furthermore, when the target adjustment range includes a zoom ratio, the viewing angle of the virtual camera may be adjusted in range according to the zoom ratio with the vehicle position as the focus to determine an adjusted second viewing angle.
[0133] Here, with the vehicle's location as the focal point, the virtual camera's position can be scaled according to the zoom ratio. The adjusted second perspective renders a 3D scene graph that is scaled to the zoom ratio, displaying the scaled vehicle model. Note that the relative position of the vehicle model within the 3D scene graph remains unchanged.
[0134] Figure 4 In another map display diagram, while the vehicle is in motion, a three-dimensional scene image drawn at a first scale from a virtual camera's first perspective is displayed on the vehicle interface. The three-dimensional scene image includes a vehicle model traveling on the road, displayed at the first scale. Upon sensing a multi-touch signal moving in the opposite direction, the virtual camera's perspective is zoomed out based on the zoom ratio, with the vehicle's location as the focal point. A zoomed-out three-dimensional scene image drawn at a second scale from the virtual camera's second perspective is displayed on the vehicle interface. The zoomed-out vehicle model is displayed at the second scale.
[0135] In summary, when the gesture operation type is a zoom operation and the current usage state is the driving state, the target adjustment sensitivity that matches the driving state under the zoom operation is determined; after the user performs the gesture operation, the target adjustment amplitude corresponding to the operation amplitude of the user's gesture operation is determined based on the determined target adjustment sensitivity. Furthermore, based on the target adjustment amplitude, the perspective of the virtual camera is adjusted in size with the vehicle's position as the focus to obtain a three-dimensional scene graph drawn under the adjusted perspective. The size of the geographic range in the drawn three-dimensional scene graph changes (if it is a scale zoom operation, the covered geographic range is reduced, and if it is a scale zoom operation, the covered geographic range is enlarged), so that the user can observe the information within the geographic range after the range size adjustment, meeting the user's observation needs for a larger geographic range or more detailed geographic information.
[0136] In implementation, at least one interactive control may be provided on the vehicle model displayed in the three-dimensional scene graph.
[0137] The interactive controls set in the vehicle model can be associated with relevant parts of the vehicle, and the vehicle has control components corresponding to the interactive controls. For example, the door switch button set in the vehicle model can be associated with the vehicle door, and the vehicle has a door control component corresponding to the door switch button.
[0138] In one embodiment, the map display method provided by the disclosed embodiments further includes: in response to a triggering operation on a target portion on the vehicle model, adjusting the perspective of a virtual camera with the target portion as a focus, and displaying a three-dimensional scene image drawn from the adjusted third perspective. In response to a triggering operation on a target interaction control associated with the target portion in the adjusted three-dimensional scene image, controlling a component in the vehicle corresponding to the target interaction control to execute a corresponding operation instruction.
[0139] The triggering operation on the target part on the vehicle model can reflect the user's intention to observe the target part. Therefore, the perspective of the virtual camera is adjusted with the target part as the focus. The target part can be placed in a highlighted position in the three-dimensional scene diagram drawn from the adjusted third perspective.
[0140] Afterwards, in the three-dimensional scene graph that facilitates observation and operation of the target part, a trigger operation of the target interaction control associated with the target part can be received, and then an operation instruction for the component corresponding to the target interaction control can be generated, so that the component corresponding to the target interaction control can be controlled to execute the corresponding operation instruction.
[0141] Taking the target part of the vehicle model as a door, the target interactive control as a door switch button, and the component corresponding to the target interactive control as a door control component as an example, the above implementation method can be specifically as follows: in response to a trigger operation on the door on the vehicle model, the perspective of the virtual camera is adjusted with the door as the focus, and a three-dimensional scene image drawn from the adjusted third perspective is displayed. Specifically, the door can be placed in a prominent display position of the three-dimensional scene image, such as the center position; then, in response to a trigger operation on the door switch button associated with the door in the adjusted three-dimensional scene image, the door control component corresponding to the door switch button in the vehicle is controlled to execute a corresponding operation instruction. The operation instruction here can include a door closing instruction or a door opening instruction, etc., and is not specifically limited.
[0142] By adopting the above-mentioned embodiment, when a trigger operation of a target part on a vehicle model is received, it is possible to switch to a three-dimensional scene diagram displayed from a perspective with the target part as the focus. When a trigger operation of a target interactive control associated with the target part is received, the components corresponding to the target interactive control can be controlled to execute corresponding operation instructions. This allows more precise control of the corresponding components in the vehicle after triggering the target part on the vehicle-machine interface, thereby meeting the user's operational needs for precise control of the vehicle through the vehicle-machine interface.
[0143] In an embodiment of the present disclosure, point of interest (POI) information may be displayed in a three-dimensional scene graph, and the POI information may include the name, identification, location information, etc. of the POI.
[0144] In one embodiment, the map display method provided by the embodiment of the present disclosure also includes: in response to a trigger operation for target point of interest information, adjusting the perspective of the virtual camera with the target point of interest as the focus, and displaying a three-dimensional scene map drawn from the adjusted fourth perspective.
[0145] The triggering operation for the target point of interest information can reflect the user's intention to observe the target point of interest. Therefore, the target point of interest is used as the focus here, and the perspective of the virtual camera is adjusted. The target point of interest is placed in a highlighted position in the three-dimensional scene diagram drawn by the adjusted fourth perspective.
[0146] By adopting the above-mentioned embodiment, when a trigger operation for target point of interest information is received, a three-dimensional scene diagram can be switched to a perspective displayed with the target point of interest as the focus, thereby facilitating the user to observe the relevant information of the target point of interest more carefully and decide on the next interactive operation.
[0147] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0148] Based on the same inventive concept, a map display device corresponding to the map display method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned map display method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0149] Reference Figure 5 FIG. 1 is a schematic diagram of the structure of a map display device provided by an embodiment of the present disclosure, wherein the device includes:
[0150] The display module 501 is used to display a three-dimensional scene image drawn from the first perspective of a virtual camera on the vehicle interface;
[0151] A first determining module 502 is configured to determine a current usage state of the vehicle in response to receiving a gesture operation on the vehicle interface;
[0152] A second determining module 503 is configured to determine, based on the current usage state, a target adjustment sensitivity of the gesture operation in the current usage state; the adjustment sensitivity is used to indicate a mapping relationship between an operation amplitude and an adjustment amplitude of the three-dimensional scene graph;
[0153] A third determining module 504 is configured to determine, according to the target adjustment sensitivity, a target adjustment amplitude of the three-dimensional scene graph corresponding to the operation amplitude of the gesture operation;
[0154] The first adjustment module 505 is configured to adjust the viewing angle of the virtual camera according to the target adjustment range, and display a three-dimensional scene graph drawn from the adjusted second viewing angle.
[0155] In a feasible implementation manner, the second determining module 503 is specifically configured to:
[0156] determining, according to a target gesture type corresponding to the gesture operation, a mapping relationship between a vehicle usage state and an adjustment sensitivity under the target gesture type;
[0157] The target adjustment sensitivity of the gesture operation in the current usage state is determined according to the current usage state and the mapping relationship.
[0158] In a feasible implementation manner, when the current use state is the parking state, the adjusted second viewing angle takes the position of the vehicle as the focus.
[0159] In a feasible implementation manner, the gesture operation received includes sensing a single-point contact signal rotating along a preset direction; the target adjustment amplitude includes a rotation angle;
[0160] The first adjustment module 505 is specifically configured to: take the position of the vehicle as the focus, rotate and adjust the viewing angle of the virtual camera according to the rotation angle, and determine the adjusted second viewing angle.
[0161] In a feasible embodiment, when the current usage state is the driving state, if the gesture operation received includes sensing a multi-point contact signal moving along a third direction, the adjusted second perspective focuses on the multi-point contact position corresponding to the multi-point contact signal.
[0162] In a feasible implementation manner, the target adjustment amplitude includes the size of the moving distance;
[0163] The first adjustment module 505 is specifically configured to: use the multi-point contact position as a focus, adjust the viewing angle of the virtual camera according to the movement distance, and determine the adjusted second viewing angle.
[0164] In a feasible embodiment, when the current usage state is the driving state, if the gesture operation received includes sensing a multi-point contact signal moving along the fourth direction and the fifth direction, and the angle between the fourth direction and the fifth direction exceeds the first threshold, then the adjusted second perspective focuses on the position of the vehicle.
[0165] In a feasible implementation manner, the target adjustment range includes a scaling ratio; the first adjustment module 505 is specifically configured to:
[0166] Taking the position of the vehicle as the focus, the viewing angle of the virtual camera is adjusted according to the scaling ratio to determine the adjusted second viewing angle.
[0167] In a feasible implementation, the method includes:
[0168] The fourth determination module is used to determine the target gesture type according to the number of contact points acting on the vehicle interface and the displacement information of the contact points.
[0169] In a feasible implementation manner, the fourth determining module is specifically configured to:
[0170] When the number of contact points is 1, the displacement information of the contact point indicates that the contact point rotates along a preset direction, the movement distance in the first direction is greater than a second threshold, and the movement distance in the second direction is greater than a third threshold, the target gesture type is determined to be single-point rotation;
[0171] When the number of contact points is greater than 1, the displacement information of the contact points indicates that the movement distance of the contact points in the third direction is greater than a fourth threshold, and the angle of the movement trajectory of the contact points is less than a fifth threshold, determining that the target gesture type is a multi-point translation;
[0172] When the number of contact points is greater than 1 and the displacement information of the contact points indicates that the included angle of the movement track of the contact points is greater than a sixth threshold, it is determined that the target gesture type is multi-point zoom.
[0173] In a feasible implementation manner, before the first determination module performs the step of determining the current usage status of the vehicle, the device further includes:
[0174] The determination module is configured to determine whether the number of contact points corresponding to the gesture operation is within a preset number range.
[0175] In a feasible implementation manner, a vehicle model of the vehicle is displayed in the three-dimensional scene graph, and at least one interactive control is provided on the vehicle model;
[0176] The device further comprises:
[0177] a second adjustment module, configured to adjust the viewing angle of the virtual camera with the target portion as a focus in response to a triggering operation on the target portion on the vehicle model, and display a three-dimensional scene image drawn from the adjusted third perspective;
[0178] The control module is used to control the components in the vehicle corresponding to the target interactive control to execute corresponding operation instructions in response to the triggering operation of the target interactive control associated with the target part in the adjusted three-dimensional scene graph.
[0179] In a feasible implementation, the three-dimensional scene graph displays information about points of interest;
[0180] The device further comprises:
[0181] The third adjustment module is used to adjust the viewing angle of the virtual camera with the target point of interest as the focus in response to a triggering operation on the target point of interest information, and display a three-dimensional scene graph drawn from the adjusted fourth perspective.
[0182] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference can be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0183] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 6 6 is a schematic diagram of the structure of a computer device 600 provided in an embodiment of the present disclosure, including a processor 601, a memory 602, and a bus 603. The memory 602 is used to store execution instructions and includes a memory 6021 and an external memory 6022. The memory 6021 is also referred to as internal memory and is used to temporarily store operation data in the processor 601 and data exchanged with an external memory 6022 such as a hard disk. The processor 601 exchanges data with the external memory 6022 through the memory 6021. When the computer device 600 is running, the processor 601 communicates with the memory 602 via the bus 603, so that the processor 601 executes the following instructions:
[0184] Display a three-dimensional scene image drawn from the first-person perspective of a virtual camera on the vehicle interface;
[0185] In response to receiving a gesture operation on the vehicle interface, determining a current usage state of the vehicle;
[0186] Determining, according to the current usage state, a target adjustment sensitivity of the gesture operation in the current usage state; the adjustment sensitivity is used to indicate a mapping relationship between an operation amplitude and an adjustment amplitude of the three-dimensional scene graph;
[0187] determining, according to the target adjustment sensitivity, a target adjustment amplitude of the three-dimensional scene graph corresponding to the operation amplitude of the gesture operation;
[0188] The viewing angle of the virtual camera is adjusted according to the target adjustment range, and a three-dimensional scene graph drawn by the adjusted second viewing angle is displayed.
[0189] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program executes the steps of the map display method described in the above method embodiment. The storage medium may be a volatile or non-volatile computer-readable storage medium.
[0190] The embodiment of the present disclosure also provides a computer program product, which carries program code. The instructions included in the program code can be used to execute the steps of the map display method described in the above method embodiment. For details, please refer to the above method embodiment and will not be repeated here.
[0191] The computer program product may be implemented in hardware, software, or a combination thereof. In one embodiment, the computer program product is implemented as a computer storage medium. In another embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0192] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0193] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0194] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0195] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0196] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. A map display method, characterized in that: include: Display a three-dimensional scene image drawn from the first-person perspective of a virtual camera on the vehicle interface; In response to receiving a gesture operation on the vehicle interface, determining a current use state of the vehicle; Determine, according to the current use state, a target adjustment sensitivity of the gesture operation in the current use state; the adjustment sensitivity is used to indicate a mapping relationship between an operation amplitude and an adjustment amplitude of the three-dimensional scene graph; Determining, according to the target adjustment sensitivity, a target adjustment amplitude of the three-dimensional scene graph corresponding to an operation amplitude of the gesture operation; The viewing angle of the virtual camera is adjusted according to the target adjustment range, and a three-dimensional scene graph drawn by the adjusted second viewing angle is displayed.
2. The method according to claim 1, characterized in that The determining, according to the current use state, the target adjustment sensitivity of the gesture operation in the current use state includes: Determining, according to a target gesture type corresponding to the gesture operation, a mapping relationship between a current use state of the vehicle and an adjustment sensitivity under the target gesture type; According to the current use state and the mapping relationship, a target adjustment sensitivity of the gesture operation in the current use state is determined.
3. The method according to claim 1, characterized in that When the current use state is a parking state, the adjusted second viewing angle takes the position of the vehicle as a focus.
4. The method according to claim 3, characterized in that Receiving the gesture operation includes sensing a single-point contact signal rotating along a preset direction; The target adjustment range includes the rotation angle; The adjusting the viewing angle of the virtual camera according to the target adjustment range includes: Taking the position of the vehicle as a focus, the viewing angle of the virtual camera is rotationally adjusted according to the rotation angle to determine the adjusted second viewing angle.
5. The method according to claim 1, characterized in that In the case where the current use state is the driving state, if the gesture operation received includes sensing a multi-point contact signal moving along a third direction, the adjusted second viewing angle takes the multi-point contact position corresponding to the multi-point contact signal as a focus.
6. The method according to claim 5, characterized in that The target adjustment range includes the moving distance; The adjusting the viewing angle of the virtual camera according to the target adjustment range includes: Taking the multi-point contact positions as the focus, the viewing angle of the virtual camera is moved and adjusted according to the moving distance to determine the adjusted second viewing angle.
7. The method according to claim 1, characterized in that When the current usage state is the driving state, if the gesture operation received includes sensing a multi-point contact signal moving along a fourth direction and a fifth direction, and the angle between the fourth direction and the fifth direction exceeds a first threshold, then the adjusted second viewing angle focuses on the position of the vehicle.
8. The method according to claim 7, characterized in that The target adjustment range includes a scaling ratio; and adjusting the viewing angle of the virtual camera according to the target adjustment range includes: Taking the position of the vehicle as the focus, the viewing angle of the virtual camera is adjusted in range according to the scaling ratio to determine the adjusted second viewing angle.
9. The method according to claim 2, characterized in that: The target gesture type is determined according to the following steps: The target gesture type is determined according to the sensed number of contact points acting on the vehicle-machine interface and displacement information of the contact points.
10. The method according to claim 9, characterized in that The determining the target gesture type according to the number of contact points acting on the vehicle-machine interface and the displacement information of the contact points sensed includes: When the number of contact points is 1, the displacement information of the contact point indicates that the contact point rotates along a preset direction, the moving distance in the first direction is greater than a second threshold, and the moving distance in the second direction is greater than a third threshold, it is determined that the target gesture type is single-point rotation; When the number of contact points is greater than 1, the displacement information of the contact points indicates that the movement distance of the contact points in the third direction is greater than a fourth threshold, and the angle of the movement trajectory of the contact points is less than a fifth threshold, determining that the target gesture type is multi-point translation; When the number of contact points is greater than 1 and the displacement information of the contact points indicates that the included angle of the moving track of the contact points is greater than a sixth threshold, it is determined that the target gesture type is multi-point zoom.
11. The method according to claim 1, characterized in that: Before determining the current usage status of the vehicle, the method further includes: It is determined that the number of contact points corresponding to the gesture operation is within a preset number range.
12. The method according to claim 1, characterized in that A vehicle model of the vehicle is displayed in the three-dimensional scene graph, and at least one interactive control is provided on the vehicle model; The method further comprises: In response to a trigger operation on a target part on the vehicle model, adjusting the viewing angle of the virtual camera with the target part as a focus, and displaying a three-dimensional scene graph drawn from the adjusted third viewing angle; In response to a triggering operation on a target interaction control associated with the target part in the adjusted three-dimensional scene graph, a component in the vehicle corresponding to the target interaction control is controlled to execute a corresponding operation instruction.
13. The method according to claim 1, characterized in that The three-dimensional scene graph displays information of points of interest; The method further comprises: In response to a trigger operation on target interest point information, the viewing angle of the virtual camera is adjusted with the target interest point as a focus, and a three-dimensional scene graph drawn from the adjusted fourth viewing angle is displayed.
14. A map display device, characterized in that: include: A display module is used to display a three-dimensional scene image drawn from the first-person perspective of a virtual camera on the vehicle interface; A first determination module, configured to determine a current use state of the vehicle in response to receiving a gesture operation on the vehicle computer interface; A second determination module is used to determine, according to the current use state, a target adjustment sensitivity of the gesture operation in the current use state; the adjustment sensitivity is used to indicate a mapping relationship between an operation amplitude and an adjustment amplitude of the three-dimensional scene graph; A third determination module, configured to determine, according to the target adjustment sensitivity, a target adjustment amplitude of the three-dimensional scene graph corresponding to an operation amplitude of the gesture operation; The first adjustment module is used to adjust the viewing angle of the virtual camera according to the target adjustment range, and display the three-dimensional scene graph drawn by the adjusted second viewing angle.
15. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the map display method as described in any one of claims 1 to 13 are performed.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the map display method according to any one of claims 1 to 13.