[go: up one dir, main page]

CN119356563A - A text display method, device, computer equipment and storage medium - Google Patents

A text display method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN119356563A
CN119356563A CN202310918263.XA CN202310918263A CN119356563A CN 119356563 A CN119356563 A CN 119356563A CN 202310918263 A CN202310918263 A CN 202310918263A CN 119356563 A CN119356563 A CN 119356563A
Authority
CN
China
Prior art keywords
text object
map interface
display
text
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310918263.XA
Other languages
Chinese (zh)
Inventor
季泓苓
杨梦雨
王璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jidu Automobile Co Ltd
Original Assignee
Shanghai Jidu Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jidu Automobile Co Ltd filed Critical Shanghai Jidu Automobile Co Ltd
Priority to CN202310918263.XA priority Critical patent/CN119356563A/en
Publication of CN119356563A publication Critical patent/CN119356563A/en
Pending legal-status Critical Current

Links

Landscapes

  • Navigation (AREA)

Abstract

本公开提供了一种文本显示方法、装置、计算机设备及存储介质,包括:获取待显示的文本对象,所述文本对象与播放信息相关联;显示第一地图界面和第一文本对象,所述第一地图界面包含第一视角下的三维模型,所述第一文本对象的显示位置与第一地图界面中的三维模型的显示位置相关联;在所述车辆的行驶过程中,响应于视角切换指令,显示第二地图界面和第二文本对象,所述第二地图界面包含第二视角下的三维模型,所述第二文本对象的显示位置与第二地图界面中的三维模型的显示位置相关联。

The present disclosure provides a text display method, apparatus, computer equipment and storage medium, comprising: obtaining a text object to be displayed, wherein the text object is associated with playback information; displaying a first map interface and a first text object, wherein the first map interface includes a three-dimensional model under a first perspective, and the display position of the first text object is associated with the display position of the three-dimensional model in the first map interface; during the driving process of the vehicle, in response to a perspective switching instruction, displaying a second map interface and a second text object, wherein the second map interface includes a three-dimensional model under a second perspective, and the display position of the second text object is associated with the display position of the three-dimensional model in the second map interface.

Description

Text display method, device, computer equipment and storage medium
Technical Field
The disclosure relates to the technical field of vehicles, and in particular relates to a text display method, a text display device, computer equipment and a storage medium.
Background
Along with the more and more perfect functions of the vehicle-mounted terminal, the content which can be displayed on the screen of the vehicle-mounted terminal is also more and more abundant, for example, in the music playing process, lyrics can be displayed through the screen of the vehicle-mounted terminal. However, when displaying lyrics, the lyrics are generally displayed at a fixed position, and if the displaying position of the lyrics is to be changed, a user is required to manually drag the lyrics to a certain position, and the displaying mode is single, and when the vehicle speed is high, the operation safety is low.
Disclosure of Invention
The embodiment of the disclosure at least provides a text display method, a text display device, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a text display method, including:
Acquiring a text object to be displayed, wherein the text object is associated with playing information;
Displaying a first map interface and a first text object, the first map interface including a three-dimensional model at a first perspective, a display location of the first text object being associated with a display location of the three-dimensional model in the first map interface;
And in the running process of the vehicle, responding to a visual angle switching instruction, displaying a second map interface and a second text object, wherein the second map interface comprises a three-dimensional model at a second visual angle, and the display position of the second text object is associated with the display position of the three-dimensional model in the second map interface.
In a possible implementation manner, the playing information includes a voice book or music;
if the playing information is a voice book, the text object to be displayed is book content corresponding to the voice book which is played currently;
And when the playing information is music, the text object to be displayed is lyrics corresponding to the currently played music.
In one possible implementation, the three-dimensional model comprises a vehicle model corresponding to the current vehicle, the display position of the first text object is located on the side surface of the vehicle model, or
The three-dimensional model comprises a road model, and the display position of the first text object is located above the edge of the road model.
In a possible implementation manner, in the case that the text object is lyrics, the text object comprises lyrics which are currently being played, played lyrics and lyrics to be played, wherein the depth of field of the currently played lyrics, the played lyrics and the lyrics to be played are different, and the depth of field of the currently played lyrics is longer than that of the played lyrics and that of the lyrics to be played.
In a possible implementation manner, the three-dimensional model further comprises a road model;
The text objects comprise a plurality of lines, and the extending direction of each line of text objects is associated with the extending direction of the road model.
In a possible embodiment, in the case where the text object is lyrics, a plurality of lines of lyrics are sequentially arranged in a play order in an extending direction of the road model.
In a possible embodiment, the method further comprises displaying the first text object according to the following method:
Determining the driving state of the vehicle, displaying the first text object according to a first action matching the driving state of the vehicle, or
And carrying out content analysis on the first text object, determining a second dynamic effect corresponding to the analyzed content, and displaying the first text object according to the second dynamic effect.
In a possible embodiment, in the case where the running state of the vehicle includes a bump state, the first rolling effect that matches the running state of the vehicle includes a jolting effect.
In a possible implementation manner, the display mode of the first map interface and the first text object, and the display mode of the second map interface and the second text object are the first display mode, and in the first display mode, the display areas of the map interface and the text object are at least partially overlapped;
the presentation mode of the map interface and the text object further comprises a second presentation mode, and the map interface and the display area of the text object in the second presentation mode are not overlapped.
In a possible embodiment, the method includes determining a presentation mode of the map interface and the text object according to the following manner:
determining the current attentive driving state of the vehicle and/or the number of passengers;
And displaying the map interface and the text object according to the second display mode under the condition that the concentration driving state is the concentration state and/or the number of passengers is smaller than the preset number.
In a second aspect, embodiments of the present disclosure further provide a text display device, including:
The system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a text object to be displayed, and the text object is associated with playing information;
The first display module is used for displaying a first map interface and a first text object, wherein the first map interface comprises a three-dimensional model under a first view angle, and the display position of the first text object is associated with the display position of the three-dimensional model in the first map interface;
And the second display module is used for responding to the visual angle switching instruction in the running process of the vehicle, displaying a second map interface and a second text object, wherein the second map interface comprises a three-dimensional model at a second visual angle, and the display position of the second text object is associated with the display position of the three-dimensional model in the second map interface.
In a possible implementation manner, the playing information includes a voice book or music;
if the playing information is a voice book, the text object to be displayed is book content corresponding to the voice book which is played currently;
And when the playing information is music, the text object to be displayed is lyrics corresponding to the currently played music.
In one possible implementation, the three-dimensional model comprises a vehicle model corresponding to the current vehicle, the display position of the first text object is located on the side surface of the vehicle model, or
The three-dimensional model comprises a road model, and the display position of the first text object is located above the edge of the road model.
In a possible implementation manner, in the case that the text object is lyrics, the text object comprises lyrics which are currently being played, played lyrics and lyrics to be played, wherein the depth of field of the currently played lyrics, the played lyrics and the lyrics to be played are different, and the depth of field of the currently played lyrics is longer than that of the played lyrics and that of the lyrics to be played.
In a possible implementation manner, the three-dimensional model further comprises a road model;
The text objects comprise a plurality of lines, and the extending direction of each line of text objects is associated with the extending direction of the road model.
In a possible embodiment, in the case where the text object is lyrics, a plurality of lines of lyrics are sequentially arranged in a play order in an extending direction of the road model.
In a possible implementation manner, the first display module is further configured to display the first text object according to the following method:
Determining the driving state of the vehicle, displaying the first text object according to a first action matching the driving state of the vehicle, or
And carrying out content analysis on the first text object, determining a second dynamic effect corresponding to the analyzed content, and displaying the first text object according to the second dynamic effect.
In a possible embodiment, in the case where the running state of the vehicle includes a bump state, the first rolling effect that matches the running state of the vehicle includes a jolting effect.
In a possible implementation manner, the display mode of the first map interface and the first text object, and the display mode of the second map interface and the second text object are the first display mode, and in the first display mode, the display areas of the map interface and the text object are at least partially overlapped;
the presentation mode of the map interface and the text object further comprises a second presentation mode, and the map interface and the display area of the text object in the second presentation mode are not overlapped.
In a possible implementation manner, the first display module is further configured to determine a presentation mode of the map interface and the text object according to the following manner:
determining the current attentive driving state of the vehicle and/or the number of passengers;
And displaying the map interface and the text object according to the second display mode under the condition that the concentration driving state is the concentration state and/or the number of passengers is smaller than the preset number.
In a third aspect, the disclosed embodiments also provide a computer device comprising a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect, or any of the possible implementations of the first aspect.
In a fourth aspect, the presently disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the first aspect, or any of the possible implementations of the first aspect.
According to the text display method, the device, the computer equipment and the storage medium, after the text object to be displayed is acquired, the first map interface and the first text object can be displayed, because the display position of the first text object is related to the display pose of the three-dimensional model in the first map interface, the display position of the first text object can be dynamically adjusted based on the display pose of the three-dimensional model, after the visual angle of the map interface is changed, the display pose of the three-dimensional model in the second map interface after the change is related to the display position of the second text object, and therefore, after the visual angle of the map interface is changed, the display position of the second text object can be correspondingly changed, in this way, the display position of the text object can be dynamically adjusted, the display effect of the text object is improved, a user does not need to manually adjust the display position of the text object, shielding of the text object on important information in the map interface can be avoided, and driving safety is improved.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the embodiments are briefly described below, which are incorporated in and constitute a part of the specification, these drawings showing embodiments consistent with the present disclosure and together with the description serve to illustrate the technical solutions of the present disclosure. It is to be understood that the following drawings illustrate only certain embodiments of the present disclosure and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may admit to other equally relevant drawings without inventive effort.
FIG. 1 illustrates a flow chart of a text display method provided by an embodiment of the present disclosure;
Fig. 2a and fig. 2b are schematic diagrams illustrating the display of text objects under different viewing angles in the text display method according to the embodiments of the present disclosure;
fig. 2c and fig. 2d are schematic diagrams showing text objects under different special effects in the text display method provided in the embodiments of the present disclosure;
FIG. 3 is a schematic diagram of a text display device according to an embodiment of the present disclosure;
Fig. 4 shows a schematic structural diagram of a computer device according to an embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. The components of the embodiments of the present disclosure, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be made by those skilled in the art based on the embodiments of this disclosure without making any inventive effort, are intended to be within the scope of this disclosure.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The term "and/or" is used herein to describe only one relationship, and means that three relationships may exist, for example, A and/or B, and that three cases exist, A alone, A and B together, and B alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, may mean including any one or more elements selected from the group consisting of A, B and C.
It can be understood that before the technical solutions disclosed in the embodiments of the present disclosure are used, personal information (including but not limited to attribute information, face images, etc.) related in the present disclosure is obtained through authorization of a user, specifically, prompt information requesting authorization may be sent to the user through a popup window in a page, information pushing, etc., and after the user agrees to the authorization, the personal information is obtained.
For the sake of understanding the present embodiment, first, a detailed description will be given of a text display method disclosed in the present embodiment, where an execution body of the text display method provided in the present embodiment is a terminal device, and the terminal device may be, for example, a vehicle-mounted terminal or may be a user terminal.
Referring to fig. 1, a flowchart of a text display method according to an embodiment of the disclosure is shown, where the method includes steps 101 to 103, where:
Step 101, acquiring a text object to be displayed, wherein the text object is associated with playing information.
Step 102, displaying a first map interface and a first text object, wherein the first map interface comprises a three-dimensional model under a first view angle, and the display position of the first text object is associated with the display position of the three-dimensional model in the first map interface.
Step 103, in the driving process of the vehicle, responding to a visual angle switching instruction, displaying a second map interface and a second text object, wherein the second map interface comprises a three-dimensional model at a second visual angle, and the display position of the second text object is associated with the display position of the three-dimensional model in the second map interface.
The following is a detailed description of the above steps.
Aiming at step 101,
The playing information may refer to the content category currently played, and exemplary playing information may include a voice book, music, and the like, and different types of playing information and corresponding text objects are also different in type. For example, if the playing information is a voice book, the text object to be displayed may be book content corresponding to the voice book currently played, and if the playing information is music, the text object to be displayed may be lyrics corresponding to the music currently played.
Under the same playing information, the text contents of the text objects to be displayed corresponding to different playing contents are also different. For example, if the playing information is music, the lyrics corresponding to different songs are not the same.
In an alternative embodiment, the obtaining the text object to be displayed may be obtained after playing the playing information and receiving a display instruction for the text object.
Here, the display instruction for the text object may be generated after detecting a trigger operation of a display button for the text object, or may be generated when detecting that the user performs the target gesture, or may be determined by analyzing a voice instruction input by the user. For example, if the voice instruction input by the user is "open lyrics", it may be determined that a display instruction for a text object of lyrics is received.
For step 102 and step 103,
The first text object may refer to a part of text objects in the text objects to be displayed, for example, if the text objects to be displayed are lyrics, the first text object may refer to lyrics of a non-played part of a song.
Or the first text object refers to a text object displayed in the first map interface.
The first map interface refers to a map interface displayed under a first view angle, and the map interface may be, for example, a navigation guiding interface, or may be a driving interface corresponding to the running of the vehicle during the running of the vehicle.
The first map interface includes a three-dimensional model at a first viewing angle, where the three-dimensional model may include a current vehicle model, and a driving environment model, which may include, for example, a road model, a remaining vehicle model, a building model, and so on. The three-dimensional model may be generated based on sensing data acquired by the vehicle during running of the vehicle, or may be included in map data when the map data is acquired.
In a possible implementation manner, the displaying of the first map interface and the first text object may be that the first map interface and the first text object are displayed when the content currently displayed on the screen is the map interface.
If the screen interface does not display the map interface after the text object to be displayed is acquired, the text object can be directly displayed in the target area of the screen interface. The target area may be, for example, a preset fixed area of the screen interface, or may be a display area of the text object when the text object is displayed last time the text object is closed.
Here, it should be noted that the step of opening the map interface and the step of obtaining the text object to be displayed are not performed in sequence, and are performed according to steps 102 to 103 when the map interface and the text object are displayed at the same time.
The first map interface and the second map interface refer to map interfaces at different perspectives, and the first text object and the second text object refer to text objects displayed at different perspectives. Here, the first text object and the second text object belong to the text object to be displayed, and the first text object and the second text object are merely descriptions for distinguishing text objects displayed under different perspectives, so that detailed descriptions for displaying the second map interface and the second text object are similar to the descriptions related to displaying the first map interface and the first text object, and will not be repeated herein.
The first view angle and the second view angle may be understood as virtual camera view angles when displaying a map interface and a text object, and may be, for example, photographing angles of a virtual camera.
The three-dimensional model contained in the first map interface and the three-dimensional model contained in the second map interface may not be identical because the first map interface and the second map interface are map interfaces at different viewing angles.
The angle of view switching instruction may be generated, for example, after detecting a sliding operation of the user with respect to the screen interface, for example, the sliding operation may be from left to right. In a possible implementation manner, the angle information of the second viewing angle may be further carried in the viewing angle switching instruction, where the angle information of the second viewing angle may be related to the angle information of the first viewing angle and the sliding distance of the sliding operation.
For example, a viewing angle transform coefficient may be preset, then a viewing angle transform degree may be determined based on the sliding distance and the viewing angle transform coefficient, and then angle information of the second viewing angle may be determined based on the angle information of the first viewing angle and the viewing angle transform degree. The viewing angle transform coefficient may refer to a transform coefficient between a sliding distance and a viewing angle transform angle, for example, if the viewing angle transform coefficient is 2, the interaction distance is 10 pixels, and the viewing angle transform angle is 20 degrees.
In still another possible embodiment, the view angle switching instruction may be generated after receiving a mode switching instruction, which may be, for example, a focus driving state, in which case the first view angle and the second view angle may be preset view angles.
The first text object may be displayed on the right side of the vehicle model, in which case the driver may conveniently view the first text object, and the second text object may be displayed on the left side of the vehicle model, in which case the passenger at the front passenger seat may conveniently view the second text object, in which case the viewing angle switching instruction may be generated and the second text object may be displayed, if the current focus driving state is the non-focus state, in which case the passenger at the front passenger seat may conveniently view the second text object.
Since the method for displaying the first text object is similar to the method for displaying the second text object, the method for displaying the first text object will be described in detail below by taking the first text object as an example.
In a possible implementation manner, the three-dimensional model may include a vehicle model corresponding to the current vehicle, and when a first map interface and a first text object are displayed, a display position of the vehicle model in the first map interface may be determined based on a position of the current vehicle, and a display position of the first text object is located at a side surface of the vehicle model.
Specifically, when determining the display position of the first text object, the display position of the first text object may be determined based on a preset relative position relationship between the vehicle model and the first text object and the pose of the vehicle model in the first map interface, and the first text object is displayed at the determined display position, and as an example, the display effect of the first text object under different viewing angles may be shown in fig. 2a and fig. 2 b.
Here, the relative positional relationship between the vehicle model and the first text object may be related to the current display view angle, for example, if the current display view angle is the first view angle, the relative positional relationship may be that the first text object is located at K pixel positions on the upper right side of the vehicle model, and if the current display view angle is the second view angle, the relative positional relationship may be that the first text object is located at K pixel positions on the upper left side of the vehicle model.
The relative position relation between the vehicle model and the first text object can be preset under different visual angles, and the relative position relation between the vehicle model and the first text object under different visual angles can be different.
Still alternatively, the three-dimensional model may include a road model, and the display location of the first text object may be above an edge of the road model when the first map interface and the first text object are displayed.
Specifically, when determining the display position of the first text object, a relative positional relationship between the edge position of the road model and the first text object may be preset, and then, based on the relative positional relationship between the edge position of the road model and the first text object, and the position of the edge position of the road model in the first map interface, the display position of the first text object is determined, and the first text object is displayed at the determined display position, where the display effect of the first text object is similar to that shown in fig. 2a and 2b, and will not be described in detail through diagrams.
In the case that the text object is lyrics, the text object includes lyrics currently being played, played lyrics and lyrics to be played, the fields of the played lyrics, the played lyrics and the lyrics to be played are different, and the fields of the played lyrics are longer than the fields of the played lyrics and the fields of the lyrics to be played, which may be illustrated in fig. 2a as an example, and the fields of the played lyrics and the fields of the lyrics to be played may be the same.
When the text object is book content, the text object may be character dialogue content in the book content, and in the playing process of the audio book, the text object may be divided into played dialogue content, playing dialogue content and playing dialogue content according to content read in the audio book, where the dialogue content corresponds to the lyrics currently being played, the played lyrics and the lyrics to be played respectively, and the dialogue content may be displayed according to the display form of the lyrics.
As can be seen from the description of fig. 2a and 2b, in the case of a plurality of lines of text objects, the extending direction of each line of text objects is associated with the extending direction of the road model, and the extending direction of each line of text objects and the extending direction of the road model may be identical, for example.
In the case where the text object is lyrics, a plurality of lines of lyrics may be sequentially arranged in a play order in an extending direction of the road model.
In one possible embodiment, in order to more vividly display the first text object, the first text object may also be displayed in combination with the running state of the vehicle or the text content of the first text object.
For example, when the first text object is displayed, the driving state of the vehicle may be determined first, and then the first text object may be displayed according to a first action matching the driving state of the vehicle.
For example, in the case where the running state of the vehicle includes a bump state, the first dynamic effect that matches the running state of the vehicle includes a pitch-and-dustpan effect. The bump effect may be that the text of the first text object continuously jumps up and down.
Alternatively, in the case where the running state of the vehicle includes a jerk state, a jerk level of the vehicle may also be determined, and then the first text object may be presented in accordance with a jerk effect corresponding to the jerk level.
The bump effects corresponding to different bump levels may be different, for example, the up-and-down jumping amplitude of the text may be different in the bump effects corresponding to different bump levels.
Or in the case that the running state of the vehicle includes a climbing state, the first motion effect matched with the running state of the vehicle may include a climbing motion effect, where the climbing motion effect may be that characters of the first text object are displayed obliquely according to a gradient of a certain upward slope (as shown in fig. 2 c), and the oblique gradient of the first text object may be the same as the climbing gradient of the vehicle.
Or in the case that the running state of the vehicle includes a downhill state, the first movement effect matched with the running state of the vehicle may include a downhill movement effect, where the downhill movement effect may be that characters of the first text object are displayed obliquely according to a gradient of a certain downhill (as shown in fig. 2 d), and the inclination degree of the first text object may be the same as the gradient of the downhill of the vehicle.
In another possible implementation manner, when the first text object is displayed, content analysis may be performed on the first text object, a second action corresponding to the analyzed content is determined, and then the first text object is displayed according to the second action.
For example, whether the first text object contains a preset keyword may be detected, and then a preset action corresponding to the preset keyword contained in the first text content is used as the second action.
The preset keywords may include "shock," "disappointment," and "refueling," where the second action corresponding to "shock" may be an action of the text of the first text object jumping up and down, the second action corresponding to "disappointment" may be an action of the text of the first text object tilting down according to a certain gradient, as shown in fig. 2c, and the second action corresponding to "refueling" may be an action of the text of the first text object tilting up according to a certain gradient, as shown in fig. 2 d.
The correspondence between the keywords and the dynamic effects is only illustrated, and specific preset keywords and preset dynamic effects corresponding to the preset keywords can be set according to actual situations.
And the display modes of the first map interface and the first text object and the display modes of the second map interface and the second text object are the first display modes, and in the first display modes, the display areas of the map interface and the text object are at least partially overlapped.
Here, the at least partial overlapping of the map interface and the display area of the text object is not a mere overlapping display, but the text object is fused into the map interface, so that the three-dimensional display effect of the text object is realized.
In another possible implementation manner, the presentation modes of the map interface and the text object further comprise a second presentation mode, and in the second presentation mode, the map interface and the display area of the text object are not overlapped, or the map interface and the display area of the text object can be understood to be independent from each other.
For example, the display area of the text object may be a separate control area of the screen interface, for example, may be a status bar, where the displayed map interface in the first display mode and the second display mode is a map interface in a different view angle, and the second display mode is a map interface in a preset view angle, and the display area of the text object in the first display mode is larger than the display area of the text object in the second display mode.
Here, when the first map interface and the first text object are displayed according to the first display mode, the first text object is fused into the first map interface for display, so that the first text object may shade a part of the three-dimensional model in the first map interface, driving safety may be affected, and therefore the first display mode and the second display mode may be automatically switched according to different situations.
Taking the display of the first text object as an example, since the three-dimensional model displayed in the map interface can correspondingly change according to the running of the vehicle during the running of the vehicle, the display mode according to which display mode the first text object should be displayed can be determined according to the type of the three-dimensional model displayed in the display area of the first text object in the first map interface.
When the three-dimensional model displayed in the display area of the first text object is a non-target three-dimensional model, the display mode may not be switched, and the first text object is still displayed in the display area of the first text object, and when the three-dimensional model displayed in the display area of the first text object is a target three-dimensional model, the driver may need to pay more attention to the target three-dimensional model, so that the display mode may be switched, and the first text object is displayed according to the second display mode.
Here, the target three-dimensional model may exemplarily refer to a three-dimensional model of a three-dimensional traffic mode such as a tunnel, an overpass, and the like.
Optionally, because the vehicle has a relatively fast speed in the driving process, it takes a certain time to determine whether the three-dimensional model displayed in the display area of the first text object is the target three-dimensional model, if the three-dimensional model is displayed in the display area directly, it is further determined whether the three-dimensional model displayed in the display area of the first text object is the target three-dimensional model, which may cause untimely mode switching, so that whether the current display area of the first text object displays the target three-dimensional model can be estimated in real time according to the real-time position of the vehicle and map data.
For example, if it is detected that an entity corresponding to the target three-dimensional model exists at a position that is a preset distance from the current position of the vehicle, it may be directly determined that the target three-dimensional model will appear in the current display area of the first text object.
For example, if a tunnel is detected at a position 100 meters away from the current position of the vehicle, it may be directly determined that the target three-dimensional model will appear in the current display area of the first text object, and then the first text object may be displayed in a second display mode by directly switching to the second display mode.
In one possible real-time scenario, the current driving route of the vehicle may include a tunnel group, where the tunnel group includes a plurality of tunnels, and the intervals between the tunnels are shorter, if the method is used, the first display mode and the second display mode may be frequently switched, so that the display effect of the text object may be affected.
Considering that the first display mode is a conventional display mode, the second display mode is a display mode which is switched occasionally, so that when the first display mode is switched back from the second display mode to the first display mode, the time interval when the first display mode is switched to the second display mode next time can be estimated, if the time interval is smaller than a preset time interval, the second display mode can be kept all the time, and if the time interval is smaller than or equal to the preset time interval, the first display mode can be switched back from the second display mode directly.
When the time interval when the first display mode is switched to the second display mode next time is estimated, the time when the vehicle reaches the entity corresponding to the next target three-dimensional model can be estimated according to the current vehicle speed, and then the time interval between the estimated time and the current time is used as the time interval when the first display mode is switched to the second display mode next time.
In another possible implementation manner, when determining the display mode of the map interface and the text object, the current vehicle attentive driving state and/or the number of passengers may be determined, and when the attentive driving state is the attentive driving state and/or the number of passengers is less than the preset number, the map interface and the text object are displayed according to the second display mode.
And when the attentive driving state is a non-attentive state and/or the number of passengers is greater than or equal to the preset number, the map interface and the text object can be displayed in the first display mode directly.
Here, even if the map mode and the text object are displayed in the first display mode while the driver is focusing on driving, the driver may not be able to focus on the text object, and thus, in this case, the map interface and the text object may be displayed directly in the first display mode.
When the number of passengers on the vehicle is large, if the text object is displayed according to the second display mode, the text object can not be seen because the display size of the text object is too small, so that in order to meet the requirement of more people for watching the text object, the map interface and the text object are directly displayed according to the first display mode when the number of passengers on the current vehicle is larger than or equal to the preset number, and when the number of vehicles on the current vehicle is small and smaller than the preset number, the map interface and the text object can be displayed according to the second display mode so as to improve the display integrity of the map interface.
It should be noted that, when the display mode is changed, the first view angle or the second view angle may be switched to the third view angle (i.e. the preset view angle), that is, the display mode is changed to cause the change of the view angle, and when the view angle is changed, the change of the display mode does not necessarily occur, for example, when the first view angle is switched to the second view angle, the display mode is still the first display mode, and the display mode is not changed.
In the method, after the text object to be displayed is acquired, the first map interface and the first text object can be displayed, because the display position of the first text object is related to the display pose of the three-dimensional model in the first map interface, the display position of the first text object can be dynamically adjusted based on the display pose of the three-dimensional model, after the visual angle of the map interface is changed, the display pose of the three-dimensional model in the second map interface after the change is related to the display position of the second text object, and therefore, after the visual angle of the map interface is changed, the display position of the second text object can be correspondingly changed, by the mode, the display position of the text object can be dynamically adjusted, the display effect of the text object can be improved, and the shielding of the text object to important information in the map interface can be avoided, and the driving safety can be improved.
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
Based on the same inventive concept, the embodiments of the present disclosure further provide a text display device corresponding to the text display method, and since the principle of solving the problem of the device in the embodiments of the present disclosure is similar to that of the text display method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 3, a schematic architecture diagram of a text display device according to an embodiment of the disclosure is provided, where the device includes an obtaining module 301, a first display module 302, and a second display module 303, where,
An obtaining module 301, configured to obtain a text object to be displayed, where the text object is associated with playing information;
A first display module 302, configured to display a first map interface and a first text object, where the first map interface includes a three-dimensional model at a first viewing angle, and a display position of the first text object is associated with a display position of the three-dimensional model in the first map interface;
And the second display module 302 is configured to display, in response to a viewing angle switching instruction, a second map interface and a second text object during running of the vehicle, where the second map interface includes a three-dimensional model at a second viewing angle, and a display position of the second text object is associated with a display position of the three-dimensional model in the second map interface.
In a possible implementation manner, the playing information includes a voice book or music;
if the playing information is a voice book, the text object to be displayed is book content corresponding to the voice book which is played currently;
And when the playing information is music, the text object to be displayed is lyrics corresponding to the currently played music.
In one possible implementation, the three-dimensional model comprises a vehicle model corresponding to the current vehicle, the display position of the first text object is located on the side surface of the vehicle model, or
The three-dimensional model comprises a road model, and the display position of the first text object is located above the edge of the road model.
In a possible implementation manner, in the case that the text object is lyrics, the text object comprises lyrics which are currently being played, played lyrics and lyrics to be played, wherein the depth of field of the currently played lyrics, the played lyrics and the lyrics to be played are different, and the depth of field of the currently played lyrics is longer than that of the played lyrics and that of the lyrics to be played.
In a possible implementation manner, the three-dimensional model further comprises a road model;
The text objects comprise a plurality of lines, and the extending direction of each line of text objects is associated with the extending direction of the road model.
In a possible embodiment, in the case where the text object is lyrics, a plurality of lines of lyrics are sequentially arranged in a play order in an extending direction of the road model.
In a possible implementation manner, the first display module 302 is further configured to display the first text object according to the following method:
Determining the driving state of the vehicle, displaying the first text object according to a first action matching the driving state of the vehicle, or
And carrying out content analysis on the first text object, determining a second dynamic effect corresponding to the analyzed content, and displaying the first text object according to the second dynamic effect.
In a possible embodiment, in the case where the running state of the vehicle includes a bump state, the first rolling effect that matches the running state of the vehicle includes a jolting effect.
In a possible implementation manner, the display mode of the first map interface and the first text object, and the display mode of the second map interface and the second text object are the first display mode, and in the first display mode, the display areas of the map interface and the text object are at least partially overlapped;
the presentation mode of the map interface and the text object further comprises a second presentation mode, and the map interface and the display area of the text object in the second presentation mode are not overlapped.
In a possible implementation manner, the first display module 302 is further configured to determine a presentation mode of the map interface and the text object according to the following manner:
determining the current attentive driving state of the vehicle and/or the number of passengers;
And displaying the map interface and the text object according to the second display mode under the condition that the concentration driving state is the concentration state and/or the number of passengers is smaller than the preset number.
The process flow of each module in the apparatus and the interaction flow between the modules may be described with reference to the related descriptions in the above method embodiments, which are not described in detail herein.
Based on the same technical concept, the embodiment of the disclosure also provides computer equipment. Referring to fig. 4, a schematic structural diagram of a computer device 400 according to an embodiment of the disclosure includes a processor 401, a memory 402, and a bus 403. The memory 402 is configured to store execution instructions, and includes a memory 4021 and an external memory 4022, where the memory 4021 is also referred to as an internal memory, and is configured to temporarily store operation data in the processor 401 and data exchanged with the external memory 4022, such as a hard disk, and the processor 401 exchanges data with the external memory 4022 through the memory 4021, and when the computer device 400 operates, the processor 401 and the memory 402 communicate with each other through the bus 403, so that the processor 401 executes the following instructions:
Acquiring a text object to be displayed, wherein the text object is associated with playing information;
Displaying a first map interface and a first text object, the first map interface including a three-dimensional model at a first perspective, a display location of the first text object being associated with a display location of the three-dimensional model in the first map interface;
And in the running process of the vehicle, responding to a visual angle switching instruction, displaying a second map interface and a second text object, wherein the second map interface comprises a three-dimensional model at a second visual angle, and the display position of the second text object is associated with the display position of the three-dimensional model in the second map interface.
In a possible implementation manner, in the instructions executed by the processor 401, the playing information includes a voice book or music;
if the playing information is a voice book, the text object to be displayed is book content corresponding to the voice book which is played currently;
And when the playing information is music, the text object to be displayed is lyrics corresponding to the currently played music.
In a possible implementation manner, the three-dimensional model includes a vehicle model corresponding to the current vehicle in the instructions executed by the processor 401, the display position of the first text object is located at the side of the vehicle model, or
The three-dimensional model comprises a road model, and the display position of the first text object is located above the edge of the road model.
In a possible implementation manner, in the case that the text object is the lyrics, the text object includes the lyrics currently being played, the played lyrics and the lyrics to be played, wherein the depth of field of the currently playing lyrics, the played lyrics and the depth of field of the lyrics to be played are different, and the depth of field of the currently playing lyrics is longer than that of the played lyrics and that of the lyrics to be played.
In a possible implementation manner, in the instructions executed by the processor 401, the three-dimensional model further includes a road model;
The text objects comprise a plurality of lines, and the extending direction of each line of text objects is associated with the extending direction of the road model.
In a possible implementation manner, in the instructions executed by the processor 401, in a case where the text object is lyrics, a plurality of lines of lyrics are sequentially arranged in a play order in an extension direction of the road model.
In a possible implementation manner, in the instructions executed by the processor 401, the method further includes displaying the first text object according to the following method:
Determining the driving state of the vehicle, displaying the first text object according to a first action matching the driving state of the vehicle, or
And carrying out content analysis on the first text object, determining a second dynamic effect corresponding to the analyzed content, and displaying the first text object according to the second dynamic effect.
In a possible embodiment, in the instructions executed by the processor 401, in the case where the running state of the vehicle includes a bump state, the first dynamic effect that matches the running state of the vehicle includes a pitch dynamic effect.
In a possible implementation manner, in the instructions executed by the processor 401, the display modes of the first map interface and the first text object, and the display modes of the second map interface and the second text object are first display modes, where the display areas of the map interface and the text object at least partially overlap;
the presentation mode of the map interface and the text object further comprises a second presentation mode, and the map interface and the display area of the text object in the second presentation mode are not overlapped.
In a possible implementation manner, the instructions executed by the processor 401 include determining the presentation mode of the map interface and the text object according to the following manner:
determining the current attentive driving state of the vehicle and/or the number of passengers;
And displaying the map interface and the text object according to the second display mode under the condition that the concentration driving state is the concentration state and/or the number of passengers is smaller than the preset number.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the text display method described in the above method embodiments. Wherein the storage medium may be a volatile or nonvolatile computer readable storage medium.
Embodiments of the present disclosure further provide a computer program product, where the computer program product carries program code, where instructions included in the program code may be used to perform steps of the text display method described in the foregoing method embodiments, and specifically reference may be made to the foregoing method embodiments, which are not described herein.
Wherein the above-mentioned computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
It should be noted that the foregoing embodiments are merely specific implementations of the disclosure, and are not intended to limit the scope of the disclosure, and although the disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that any modification, variation or substitution of some of the technical features described in the foregoing embodiments may be made or equivalents may be substituted for those within the scope of the disclosure without departing from the spirit and scope of the technical aspects of the embodiments of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (13)

1. A text display method, comprising:
Acquiring a text object to be displayed, wherein the text object is associated with playing information;
Displaying a first map interface and a first text object, the first map interface including a three-dimensional model at a first perspective, a display location of the first text object being associated with a display location of the three-dimensional model in the first map interface;
And in the running process of the vehicle, responding to a visual angle switching instruction, displaying a second map interface and a second text object, wherein the second map interface comprises a three-dimensional model at a second visual angle, and the display position of the second text object is associated with the display position of the three-dimensional model in the second map interface.
2. The method of claim 1, wherein the play information comprises a voice book or music;
if the playing information is a voice book, the text object to be displayed is book content corresponding to the voice book which is played currently;
And when the playing information is music, the text object to be displayed is lyrics corresponding to the currently played music.
3. The method of claim 1, wherein the three-dimensional model comprises a vehicle model corresponding to a current vehicle, the display location of the first text object is located on a side of the vehicle model, or
The three-dimensional model comprises a road model, and the display position of the first text object is located above the edge of the road model.
4. The method of claim 1, wherein in the case where the text object is a lyric, the text object includes a lyric currently being played, a played lyric, and a lyric to be played, wherein the depth of field of the lyric being played, and the depth of field of the lyric to be played are different, and wherein the depth of field of the lyric being played is longer than the depth of field of the lyric being played and the depth of field of the lyric to be played.
5. The method of claim 1, wherein the three-dimensional model further comprises a road model;
The text objects comprise a plurality of lines, and the extending direction of each line of text objects is associated with the extending direction of the road model.
6. The method of claim 5, wherein in the case where the text object is lyrics, a plurality of lines of lyrics are sequentially arranged in a play order in an extending direction of the road model.
7. The method of claim 1, further comprising displaying the first text object according to the method of:
Determining the driving state of the vehicle, displaying the first text object according to a first action matching the driving state of the vehicle, or
And carrying out content analysis on the first text object, determining a second dynamic effect corresponding to the analyzed content, and displaying the first text object according to the second dynamic effect.
8. The method of claim 7, wherein, in the event that the driving condition of the vehicle comprises a jolt condition, the first dynamic matching the driving condition of the vehicle comprises a jolt dynamic.
9. The method of claim 1, wherein the presentation mode of the first map interface and the first text object, and the presentation mode of the second map interface and the second text object are first presentation modes in which the display areas of the map interface and the text object at least partially overlap;
the presentation mode of the map interface and the text object further comprises a second presentation mode, and the map interface and the display area of the text object in the second presentation mode are not overlapped.
10. The method of claim 9, comprising determining the presentation mode of the map interface and the text object according to the following:
determining the current attentive driving state of the vehicle and/or the number of passengers;
And displaying the map interface and the text object according to the second display mode under the condition that the concentration driving state is the concentration state and/or the number of passengers is smaller than the preset number.
11. A text display device, comprising:
The system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a text object to be displayed, and the text object is associated with playing information;
The first display module is used for displaying a first map interface and a first text object, wherein the first map interface comprises a three-dimensional model under a first view angle, and the display position of the first text object is associated with the display position of the three-dimensional model in the first map interface;
And the second display module is used for responding to the visual angle switching instruction in the running process of the vehicle, displaying a second map interface and a second text object, wherein the second map interface comprises a three-dimensional model at a second visual angle, and the display position of the second text object is associated with the display position of the three-dimensional model in the second map interface.
12. A computer device comprising a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the computer device is in operation, the machine-readable instructions when executed by the processor performing the steps of the text display method of any of claims 1 to 10.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the text display method according to any one of claims 1 to 10.
CN202310918263.XA 2023-07-24 2023-07-24 A text display method, device, computer equipment and storage medium Pending CN119356563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310918263.XA CN119356563A (en) 2023-07-24 2023-07-24 A text display method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310918263.XA CN119356563A (en) 2023-07-24 2023-07-24 A text display method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN119356563A true CN119356563A (en) 2025-01-24

Family

ID=94303339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310918263.XA Pending CN119356563A (en) 2023-07-24 2023-07-24 A text display method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN119356563A (en)

Similar Documents

Publication Publication Date Title
US12154431B2 (en) Vehicle-searching guidance method and apparatus, terminal device, electronic device, and computer-readable storage medium
US7626596B2 (en) Image reproducing method and apparatus for displaying annotations on a real image in virtual space
US20120087580A1 (en) Vision image information storage system and method thereof, and recording medium having recorded program for implementing method
Gabbard et al. AR drivesim: An immersive driving simulator for augmented reality head-up display research
US20140152697A1 (en) Method and apparatus for providing augmented reality
JP4669448B2 (en) Information recording apparatus, information recording method, and program
US8773458B2 (en) Method of and computer implemented system for generating a junction view image
Huang et al. Trip synopsis: 60km in 60sec
WO2022200110A1 (en) Multimedia quality evaluation
CN113360109A (en) Vehicle-mounted display method and device and vehicle
US20220303459A1 (en) Enhancing quality of multimedia
Akaho et al. Route guidance by a car navigation system based on augmented reality
CN119356563A (en) A text display method, device, computer equipment and storage medium
CN114089890A (en) Vehicle driving simulation method, device, storage medium and program product
CN113435318B (en) Neural network training, image detection, driving control method and device
CN114115656A (en) Vehicle-mounted augmented reality vehicle window entertainment system and operation method thereof
CN113946259A (en) Vehicle information processing method and device, electronic equipment and readable medium
JPH11195138A (en) Picture processor
JP6481596B2 (en) Evaluation support device for vehicle head-up display
Lungaro et al. DriverSense: a hyper-realistic testbed for the design and evaluation of novel user interfaces in self-driving vehicles
CN117984920A (en) Image display method, device, computer equipment and storage medium
US11716531B2 (en) Quality of multimedia
TWI420077B (en) Navigation system and method thereof
CN119642834A (en) Information processing method and device and vehicle
CN116560609A (en) Vehicle-mounted multi-terminal intelligent display method, device and system for scene

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination