Text display method and device, computer equipment and storage medium

By dynamically adjusting the display position of the text object on the car terminal, the problem of fixed lyrics in the existing technologies and inconvenient operations in the existing technologies improve the display effect and driving safety.

CN119356563APending Publication Date: 2025-01-24SHANGHAI JIDU AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310918263.X
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

Technical Problem

When displaying lyrics by existing car terminals, the display position is fixed and the operation is inconvenient, especially when the vehicle speed is fast, the operation safety is low.

Method used

By obtaining the text object associated with the playback information, the map interface and text object are displayed. The display position of the text object is associated with the display pose of the three-dimensional model, and the display position of the text object is dynamically adjusted in response to the perspective switching command.

Benefits of technology

It realizes the dynamic display position adjustment of text objects, improves the display effect of text objects, avoids blocking of important information on the map interface, and improves driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356563A_ABST
    Figure CN119356563A_ABST
Patent Text Reader

Abstract

The invention provides a text display method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining a to-be-displayed text object, and enabling the text object to be associated with playing information; a first map interface and a first text object are displayed, 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; in the driving process of the vehicle, responding to a view angle switching instruction, a second map interface and a second text object are displayed, the second map interface comprises a three-dimensional model under a second view 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.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a text display method, device, computer equipment and storage medium. Background Art

[0002] As the functions of vehicle terminals are becoming more and more complete, the content that can be displayed on the vehicle terminal screen is also becoming more and more abundant. For example, during music playback, lyrics can be displayed on the vehicle terminal screen. However, when displaying lyrics, the lyrics are generally displayed at a fixed position. If the display position of the lyrics is to be changed, the user needs to manually drag the lyrics to a certain position. This display method is relatively simple, and when the vehicle speed is fast, the operation safety is low. Summary of the invention

[0003] The embodiments of the present disclosure at least provide a text display method, apparatus, computer equipment and storage medium.

[0004] In a first aspect, an embodiment of the present disclosure provides a text display method, including:

[0005] Acquire a text object to be displayed, wherein the text object is associated with the playback information;

[0006] Displaying a first map interface and a first text object, wherein 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;

[0007] During the driving process of the vehicle, in response to a perspective switching instruction, a second map interface and a second text object are displayed, 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.

[0008] In a possible implementation manner, the playback information includes an audio book or music;

[0009] In the case where the playing information is an audio book, the text object to be displayed is the book content corresponding to the audio book currently being played;

[0010] In the case where the playing information is music, the text object to be displayed is the lyrics corresponding to the currently playing music.

[0011] In a possible implementation manner, the three-dimensional model includes a vehicle model corresponding to the current vehicle; the display position of the first text object is located on the side of the vehicle model; or,

[0012] The three-dimensional model includes a road model; the display position of the first text object is located above the edge of the road model.

[0013] In a possible implementation, when the text object is lyrics, the text object includes lyrics currently being played, lyrics that have been played, and lyrics to be played; the depth of field of the lyrics currently being played, the lyrics that have been played, and the lyrics to be played are different, and the depth of field of the lyrics currently being played is longer than the depth of field of the lyrics that have been played and the depth of field of the lyrics to be played.

[0014] In a possible implementation manner, the three-dimensional model further includes a road model;

[0015] The text object includes multiple lines; the extension direction of each line of the text object is associated with the extension direction of the road model.

[0016] In a possible implementation manner, when the text object is lyrics, a plurality of lines of lyrics are arranged in sequence according to a playback order in an extension direction of the road model.

[0017] In a possible implementation manner, the method further includes displaying the first text object according to the following method:

[0018] Determine the driving state of the vehicle, and display the first text object according to a first motion effect matching the driving state of the vehicle; or,

[0019] The first text object is parsed for content, and a second motion effect corresponding to the parsed content is determined, and the first text object is displayed according to the second motion effect.

[0020] In a possible implementation manner, when the driving state of the vehicle includes a bumpy state, the first motion effect matching the driving state of the vehicle includes a bumpy motion effect.

[0021] 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 at least partially overlap;

[0022] The display mode of the map interface and the text object also includes a second display mode, in which the display areas of the map interface and the text object do not overlap.

[0023] In a possible implementation, the method includes determining the display mode of the map interface and the text object according to the following method:

[0024] Determining the current vehicle's attentive driving status and / or number of occupants;

[0025] When the focused driving state is a focused state and / or the number of passengers is less than a preset number, the map interface and text objects are displayed in accordance with the second display mode.

[0026] In a second aspect, an embodiment of the present disclosure further provides a text display device, including:

[0027] An acquisition module, used for acquiring a text object to be displayed, wherein the text object is associated with the playback information;

[0028] A first display module, configured to display a first map interface and a first text object, wherein 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;

[0029] The second display module is used to display a second map interface and a second text object in response to a perspective switching instruction during the driving process of the vehicle, 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.

[0030] In a possible implementation manner, the playback information includes an audio book or music;

[0031] In the case where the playing information is an audio book, the text object to be displayed is the book content corresponding to the audio book currently being played;

[0032] In the case where the playing information is music, the text object to be displayed is the lyrics corresponding to the currently playing music.

[0033] In a possible implementation manner, the three-dimensional model includes a vehicle model corresponding to the current vehicle; the display position of the first text object is located on the side of the vehicle model; or,

[0034] The three-dimensional model includes a road model; the display position of the first text object is located above the edge of the road model.

[0035] In a possible implementation, when the text object is lyrics, the text object includes lyrics currently being played, lyrics that have been played, and lyrics to be played; the depth of field of the lyrics currently being played, the lyrics that have been played, and the lyrics to be played are different, and the depth of field of the lyrics currently being played is longer than the depth of field of the lyrics that have been played and the depth of field of the lyrics to be played.

[0036] In a possible implementation manner, the three-dimensional model further includes a road model;

[0037] The text object includes multiple lines; the extension direction of each line of the text object is associated with the extension direction of the road model.

[0038] In a possible implementation manner, when the text object is lyrics, a plurality of lines of lyrics are arranged in sequence according to a playback order in an extension direction of the road model.

[0039] In a possible implementation manner, the first display module is further configured to display the first text object according to the following method:

[0040] Determine the driving state of the vehicle, and display the first text object according to a first motion effect matching the driving state of the vehicle; or,

[0041] The first text object is parsed for content, and a second motion effect corresponding to the parsed content is determined, and the first text object is displayed according to the second motion effect.

[0042] In a possible implementation manner, when the driving state of the vehicle includes a bumpy state, the first motion effect matching the driving state of the vehicle includes a bumpy motion effect.

[0043] 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 at least partially overlap;

[0044] The display mode of the map interface and the text object also includes a second display mode, in which the display areas of the map interface and the text object do not overlap.

[0045] In a possible implementation manner, the first display module is further configured to determine a display mode of the map interface and the text object according to the following method:

[0046] Determining the current vehicle's attentive driving status and / or number of occupants;

[0047] When the focused driving state is a focused state and / or the number of passengers is less than a preset number, the map interface and text objects are displayed in accordance with the second display mode.

[0048] 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.

[0049] 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.

[0050] In the text display method, apparatus, computer device and storage medium provided by the embodiments of the present disclosure, after obtaining the text object to be displayed, the first map interface and the first text object can be displayed. Since the display position of the first text object is associated with the display posture 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 posture of the three-dimensional model; when the viewing angle of the map interface changes, the display posture of the three-dimensional model in the second map interface after the change is also associated with the display position of the second text object. Therefore, when the viewing angle of the map interface changes, the display position of the second text object can also change accordingly. In this way, the display position of the text object can be dynamically adjusted to improve the display effect of the text object; and there is no need for the user to manually adjust the display position of the text object, and the text object can be prevented from blocking important information in the map interface, thereby improving driving safety.

[0051] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification 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 ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0053] Figure 1 A flowchart of a text display method provided by an embodiment of the present disclosure is shown;

[0054] Figure 2a and Figure 2b A schematic diagram showing display of text objects at different viewing angles in the text display method provided by an embodiment of the present disclosure is shown;

[0055] Figure 2c and Figure 2d A schematic diagram showing display of text objects under different special effects in the text display method provided by an embodiment of the present disclosure is shown;

[0056] Figure 3 A schematic diagram of the structure of a text display device provided by an embodiment of the present disclosure is shown;

[0057] Figure 4 A schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme 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, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here 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 present disclosure for protection, but merely represents the 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 belong to the scope of protection of the present disclosure.

[0059] 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, further definition and explanation thereof is not required in subsequent drawings.

[0060] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0061] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the personal information involved in the present disclosure (including but not limited to attribute information, facial images, etc.) is obtained with the authorization of the user. Specifically, it can be through a pop-up window in the page, information push, etc., sending a prompt message requesting authorization to the user, and obtaining the above personal information after the user agrees to the authorization.

[0062] To facilitate understanding of this embodiment, a text display method disclosed in the embodiment of the present disclosure is first introduced in detail. The executor of the text display method provided in the embodiment of the present disclosure is a terminal device, which may be a vehicle-mounted terminal or a user terminal.

[0063] See also Figure 1FIG. 1 is a flowchart of a text display method provided by an embodiment of the present disclosure, wherein the method includes steps 101 to 103, wherein:

[0064] Step 101: Acquire a text object to be displayed, where the text object is associated with playback information.

[0065] Step 102: display a first map interface and a first text object, wherein the first map interface includes a three-dimensional model under 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.

[0066] Step 103: During the driving of the vehicle, in response to a perspective switching instruction, a second map interface and a second text object are displayed, wherein the second map interface includes a three-dimensional model under a second perspective, 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.

[0067] The following are detailed instructions for the above steps.

[0068] For step 101,

[0069] The play information may refer to the category of the content currently being played. Exemplary play information may include audiobooks, music, etc. Different types of play information have different corresponding text object types. For example, if the play information is an audiobook, the text object to be displayed may be the book content corresponding to the currently playing audiobook; if the play information is music, the text object to be displayed may be the lyrics corresponding to the currently playing music.

[0070] Under the same play information, the text contents of the text objects to be displayed corresponding to different play contents are also different. For example, if the play information is music, the lyrics contents corresponding to different songs are also different.

[0071] In an optional implementation manner, the acquiring of the text object to be displayed may be performed after the playback information is played and a display instruction for the text object is received.

[0072] 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 a user performs a 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 can be determined that a display instruction for the text object of lyrics has been received.

[0073] For step 102 and step 103,

[0074] The first text object may refer to a part of the text objects to be displayed. For example, if the text object to be displayed is lyrics, the first text object may refer to the lyrics of the unplayed part of the song.

[0075] Alternatively, the first text object refers to a text object displayed in the first map interface.

[0076] The first map interface refers to a map interface displayed at a first viewing angle. The map interface may refer to a navigation interface, for example, or may refer to a driving interface corresponding to the driving of the vehicle during the driving process of the vehicle.

[0077] The first map interface includes a three-dimensional model under the first perspective, where the three-dimensional model may include a current vehicle model and a driving environment model, where the driving environment model may include, for example, a road model, other vehicle models, a building model, etc. The three-dimensional model may be generated based on sensing data collected by the vehicle during driving, or may be included in the map data when the map data is acquired.

[0078] In a possible implementation manner, the displaying of the first map interface and the first text object may be displaying the first map interface and the first text object when the content currently displayed on the screen is a map interface.

[0079] If the screen interface does not display a map interface after acquiring the text object to be displayed, the text object can be directly displayed in a target area of ​​the screen interface. The target area can be, for example, a preset fixed area of ​​the screen interface, or can be the display area of ​​the text object when the display of the text object was closed last time.

[0080] Here, it should be noted that the steps of opening the map interface and obtaining the text object to be displayed are not performed in any particular order. When the map interface and the text object are displayed at the same time, steps 102 to 103 are performed.

[0081] The first map interface and the second map interface refer to map interfaces at different viewing angles, and the first text object and the second text object refer to text objects displayed at different viewing angles. Here, the first text object and the second text object both belong to the text objects to be displayed, and the first text object and the second text object are only descriptions for distinguishing text objects displayed at different viewing angles. Therefore, the specific description of displaying the second map interface and the second text object is similar to the above-mentioned description of displaying the first map interface and the first text object, and will not be repeated here.

[0082] The first perspective and the second perspective may be understood as the perspectives of a virtual camera when displaying a map interface and a text object, for example, may be shooting angles of a virtual camera.

[0083] Since the first map interface and the second map interface are map interfaces at different perspectives, the three-dimensional model included in the first map interface may not be completely the same as the three-dimensional model included in the second map interface.

[0084] The perspective switching instruction may be generated after detecting a user's sliding operation on the screen interface, for example, it may be a sliding operation from the left side to the right side. In a possible implementation, the perspective switching instruction may also carry angle information of a second perspective, and the angle information of the second perspective may be related to the angle information of the first perspective and the sliding distance of the sliding operation.

[0085] Exemplarily, a perspective transformation coefficient may be preset, and then the perspective transformation degree may be determined based on the sliding distance and the perspective transformation coefficient, and then the angle information of the second perspective may be determined based on the angle information of the first perspective and the perspective transformation degree. The perspective transformation coefficient may refer to a transformation coefficient between the sliding distance and the perspective transformation angle. For example, if the perspective transformation coefficient is 2, the interactive distance is 10 pixels, and the perspective transformation angle is 20 degrees.

[0086] Alternatively, in another possible implementation, the perspective switching instruction may be generated after receiving a mode switching instruction, and the mode switching instruction may exemplarily be a focused driving state. In this case, the first perspective and the second perspective may be pre-set perspectives.

[0087] Exemplarily, if the current focused driving state is a non-focused state, a first text object and a first map interface can be displayed under the first perspective, and the first text object can be displayed on the right side of the vehicle model. In this case, it is convenient for the driver to view the first text object; when the focused driving state changes from a non-focused state to a focused state, a perspective switching instruction can be generated, and a second map interface and a second text object can be displayed. In this display mode, the second text object can be displayed on the left side of the vehicle model. In this case, it is convenient for the passenger in the co-pilot seat to view the second text object.

[0088] Since the display method of the first text object is similar to the display method of the second text object, the display method of the first text object will be described in detail below by taking the first text object as an example.

[0089] In one possible implementation, the three-dimensional model may include a vehicle model corresponding to the current vehicle. When displaying the first map interface and the first text object, the display position of the vehicle model in the first map interface may be determined based on the position of the current vehicle, and the display position of the first text object is located on the side of the vehicle model.

[0090] Specifically, when determining the display position of the first text object, the display position of the first text object can be determined based on the preset relative position relationship between the vehicle model and the first text object, and the position of the vehicle model in the first map interface, and the first text object can be displayed at the determined display position. Exemplarily, the display effects of the first text object under different viewing angles can be as follows: Figure 2a and Figure 2b shown.

[0091] Here, the relative position relationship between the vehicle model and the first text object may be related to the current display viewing angle. For example, if the current display viewing angle is the first viewing angle, the relative position relationship may be that the first text object is located at the K pixel position to the upper right of the vehicle model. If the current display viewing angle is the second viewing angle, the relative position relationship may be that the first text object is located at the K pixel position to the upper left of the vehicle model.

[0092] Among them, under different viewing angles, the relative position relationship between the vehicle model and the first text object can be preset; under different viewing angles, the vehicle model and the first text object can have different relative position relationships.

[0093] Alternatively, the three-dimensional model may include a road model; when the first map interface and the first text object are displayed, the display position of the first text object may be located above an edge of the road model.

[0094] Specifically, when determining the display position of the first text object, the relative position relationship between the edge position of the road model and the first text object can be preset, and then based on the relative position 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. Here, the display effect of the first text object is the same as Figure 2a and Figure 2b The effects shown are similar and will not be described again through diagrams.

[0095] In the case where the text object is a lyric, the text object includes lyrics currently being played, lyrics that have been played, and lyrics to be played; the depths of field of the lyrics currently being played, the lyrics that have been played, and the lyrics to be played are different, and the depth of field of the lyrics currently being played is longer than the depth of field of the lyrics that have been played and the depth of field of the lyrics to be played. For example, it can be as follows Figure 2a As shown, the depth of field of the played lyrics and the lyrics to be played can be the same.

[0096] In the case where the text object is a book content, the text object may specifically be the character dialogue content in the book content. Then, during the playback of the audio book, the text object may be divided into played dialogue content, currently playing dialogue content, and played dialogue content according to the content read in the audio book, which correspond to the currently playing lyrics, played lyrics, and to-be-played lyrics respectively. The dialogue content may be displayed in the form of the above-mentioned lyrics.

[0097] pass Figure 2a and Figure 2b It can be seen from the shown content that when the text object has multiple lines, the extension direction of each line of the text object is associated with the extension direction of the road model. Exemplarily, the extension direction of each line of the text object and the extension direction of the road model can be the same.

[0098] In the case where the text object is lyrics, multiple lines of lyrics may be arranged in sequence according to the playback order in the extension direction of the road model.

[0099] In a possible implementation manner, in order to display the first text object more vividly, the first text object may also be displayed in combination with the driving status of the vehicle or the text content of the first text object.

[0100] Exemplarily, when displaying the first text object, the driving state of the vehicle may be determined first, and then the first text object may be displayed according to a first motion effect that matches the driving state of the vehicle.

[0101] For example, when the driving state of the vehicle includes a bumpy state, the first motion effect matching the driving state of the vehicle includes a bumpy motion effect. The bumpy motion effect may refer to the text of the first text object constantly jumping up and down.

[0102] Optionally, when the driving state of the vehicle includes a bumpy state, the bump level of the vehicle may also be determined; and then the first text object may be displayed according to a bumpy animation corresponding to the bump level.

[0103] The bumping animations corresponding to different bumping levels may be different. For example, in the bumping animations corresponding to different bumping levels, the up and down jumping amplitudes of the text may be different.

[0104] Alternatively, when the driving state of the vehicle includes a climbing state, the first dynamic effect matching the driving state of the vehicle may include a climbing dynamic effect; the climbing dynamic effect may refer to the text of the first text object being displayed obliquely at a certain uphill slope (as Figure 2c shown), and the inclination slope of the first text object may be the same as the climbing slope of the vehicle.

[0105] Alternatively, when the driving state of the vehicle includes a downhill state, the first dynamic effect matching the driving state of the vehicle may include a downhill dynamic effect; the downhill dynamic effect may refer to the text of the first text object being displayed obliquely at a certain downhill slope (as Figure 2d shown), and the degree of inclination of the first text object may be the same as the downhill slope of the vehicle.

[0106] In another possible implementation, when displaying the first text object, the content of the first text object may be parsed, and a second dynamic effect corresponding to the parsed content may be determined, and then the first text object may be displayed according to the second dynamic effect.

[0107] Exemplarily, it may be detected whether the first text object contains a preset keyword, and then the preset dynamic effect corresponding to the preset keyword included in the first text content may be used as the second dynamic effect.

[0108] Exemplarily, the preset keywords may include "shocked", "disappointed", "come on", etc. The second dynamic effect corresponding to "shocked" may be a dynamic effect in which the text of the first text object jumps up and down; the second dynamic effect corresponding to "disappointed" may be that the text of the first text object inclines downward at a certain slope, such as Figure 2c shown; the second dynamic effect corresponding to "come on" may be that the text of the first text object inclines upward at a certain slope, such as Figure 2d shown.

[0109] The corresponding relationship between the above keywords and dynamic effects is only for illustrative purposes, and the specific preset keywords and the preset dynamic effects corresponding to each preset keyword may be set according to actual situations.

[0110] The display modes of the above 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 mode. In the first display mode, the display areas of the map interface and the text object at least partially overlap.

[0111] Here, the fact that the display areas of the map interface and the text object at least partially overlap is not a simple superimposed display, but the text object is integrated into the map interface to achieve a three-dimensional display effect of the text object.

[0112] In another possible implementation, the display mode of the map interface and the text object also includes a second display mode, in which the display areas of the map interface and the text object do not overlap; or it can be understood that the display areas of the map interface and the text object are independent of each other.

[0113] Exemplarily, the display area of ​​the text object may be a separate control area of ​​the screen interface, such as a status bar. In the first display mode and the second display mode, the displayed map interfaces are map interfaces under different viewing angles, and the second display mode is a map interface under a preset viewing angle. 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.

[0114] Here, since the first text object is integrated into the first map interface for display when the first map interface and the first text object are displayed according to the first display mode, the first text object may block part of the three-dimensional model in the first map interface, which may affect driving safety. Therefore, the first display mode and the second display mode can be automatically switched according to different situations.

[0115] Taking the display of the first text object as an example, since the three-dimensional model displayed in the map interface can change accordingly according to the driving of the vehicle, the display mode of the first text object can be determined based on the type of three-dimensional model displayed in the display area of ​​the first text object in the first map interface.

[0116] 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; when the three-dimensional model displayed in the display area of ​​the first text object is a target three-dimensional model, in this case, the driver may need to pay more attention to the target three-dimensional model, so the display mode may be switched to display the first text object according to the second display mode.

[0117] Here, the target three-dimensional model may exemplarily refer to a three-dimensional model of a three-dimensional transportation mode such as a tunnel or an overpass.

[0118] Optionally, since the vehicle is traveling at a high speed, it takes a certain amount of 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 directly in the display area and then judged whether the three-dimensional model displayed in the display area of ​​the first text object is the target three-dimensional model, it may cause untimely mode switching. Therefore, it is possible to estimate in real time whether the current display area of ​​the first text object will display the target three-dimensional model based on the real-time position of the vehicle and map data.

[0119] Exemplarily, when it is detected that an entity corresponding to the target three-dimensional model exists at a position that is a preset distance away from the current position of the vehicle, it can be directly determined that the target three-dimensional model will appear in the current display area of ​​the first text object.

[0120] For example, when a tunnel is detected at a position 100 meters away from the current position of the vehicle, it can be directly determined that a target three-dimensional model will appear in the current display area of ​​the first text object, and the first text object can be directly switched to the second display mode.

[0121] In a possible real-time scenario, the current vehicle's driving route may include a tunnel group, which includes multiple tunnels with short intervals between tunnels. If the above method is used, the first display mode and the second display mode may be switched frequently, which may affect the display effect of the text object.

[0122] Considering that the first display mode is a commonly used display mode and the second display mode is an occasionally switched display mode, when switching back to the first display mode from the second display mode, the time interval for the next switch from the first display mode to the second display mode can be estimated. If the time interval is less than the preset time interval, the second display mode can be maintained. If the time interval is less than or equal to the preset time interval, the second display mode can be directly switched back to the first display mode.

[0123] Among them, when estimating the time interval for switching from the first display mode to the second display mode next time, the time when the vehicle reaches the entity corresponding to the next target three-dimensional model can be estimated based on the current vehicle speed, and then the time interval between the estimated time and the current time is used as the time interval for switching from the first display mode to the second display mode next time.

[0124] In another possible implementation, when determining the display mode of the map interface and text objects, the focused driving state and / or the number of passengers of the current vehicle can also be determined. When the focused driving state is the focused state and / or the number of passengers is less than a preset number, the map interface and text objects are displayed according to the second display mode.

[0125] When the focused driving state is a non-focused state, and / or the number of passengers is greater than or equal to the preset number, the first display mode can be directly displayed to display the map interface and text objects.

[0126] Here, when the driver is concentrating on driving, even if the map mode and the text object are displayed in the first display mode, the driver may not be able to pay attention to the text object. Therefore, in this case, the map interface and the text object can be directly displayed in the first display mode.

[0127] When there are a large number of passengers on the vehicle, if the text object is displayed in the second display mode, the text object may not be visible because the display size is too small. Therefore, in order to meet the needs of more people to view the text object, when the number of passengers in the current vehicle is greater than or equal to a preset number, the map interface and the text object are directly displayed in the first display mode; when the number of vehicles in the current vehicle is small, less than the preset number, the map interface and the text object can be displayed in the second display mode to improve the display integrity of the map interface.

[0128] It should be noted that when the above-mentioned display mode changes, it can be switched from the first perspective or the second perspective to the third perspective (that is, the above-mentioned preset perspective), that is, the change of the display mode will cause the change of the perspective, and when the perspective changes, the display mode does not necessarily change. For example, when the above-mentioned first perspective is switched to the second perspective, the display mode is still the first display mode, and the display mode has not changed.

[0129] In the above method, after obtaining the text object to be displayed, the first map interface and the first text object can be displayed. Since the display position of the first text object is associated with the display posture 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 posture of the three-dimensional model; when the viewing angle of the map interface changes, the display posture of the three-dimensional model in the second map interface after the change is also associated with the display position of the second text object. Therefore, when the viewing angle of the map interface changes, the display position of the second text object can also change accordingly. In this way, the display position of the text object can be dynamically adjusted to improve the display effect of the text object; and the text object can be prevented from blocking important information in the map interface, thereby improving driving safety.

[0130] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0131] Based on the same inventive concept, a text display device corresponding to the text 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 text 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.

[0132] Reference Figure 3 , which is a schematic diagram of the structure of a text display device provided by an embodiment of the present disclosure, the device comprises: an acquisition module 301, a first display module 302, and a second display module 303; wherein,

[0133] The acquisition module 301 is used to acquire a text object to be displayed, wherein the text object is associated with the playback information;

[0134] A first display module 302, configured to display a first map interface and a first text object, wherein 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;

[0135] The second display module 302 is used to display a second map interface and a second text object in response to a perspective switching instruction during the driving process of the vehicle, 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.

[0136] In a possible implementation manner, the playback information includes an audio book or music;

[0137] In the case where the playing information is an audio book, the text object to be displayed is the book content corresponding to the audio book currently being played;

[0138] In the case where the playing information is music, the text object to be displayed is the lyrics corresponding to the currently playing music.

[0139] In a possible implementation manner, the three-dimensional model includes a vehicle model corresponding to the current vehicle; the display position of the first text object is located on the side of the vehicle model; or,

[0140] The three-dimensional model includes a road model; the display position of the first text object is located above the edge of the road model.

[0141] In a possible implementation, when the text object is lyrics, the text object includes lyrics currently being played, lyrics that have been played, and lyrics to be played; the depth of field of the lyrics currently being played, the lyrics that have been played, and the lyrics to be played are different, and the depth of field of the lyrics currently being played is longer than the depth of field of the lyrics that have been played and the depth of field of the lyrics to be played.

[0142] In a possible implementation manner, the three-dimensional model further includes a road model;

[0143] The text object includes multiple lines; the extension direction of each line of the text object is associated with the extension direction of the road model.

[0144] In a possible implementation manner, when the text object is lyrics, a plurality of lines of lyrics are arranged in sequence according to a playback order in an extension direction of the road model.

[0145] In a possible implementation manner, the first display module 302 is further configured to display the first text object according to the following method:

[0146] Determine the driving state of the vehicle, and display the first text object according to a first motion effect matching the driving state of the vehicle; or,

[0147] The first text object is parsed for content, and a second motion effect corresponding to the parsed content is determined, and the first text object is displayed according to the second motion effect.

[0148] In a possible implementation manner, when the driving state of the vehicle includes a bumpy state, the first motion effect matching the driving state of the vehicle includes a bumpy motion effect.

[0149] 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 at least partially overlap;

[0150] The display mode of the map interface and the text object also includes a second display mode, in which the display areas of the map interface and the text object do not overlap.

[0151] In a possible implementation manner, the first display module 302 is further configured to determine the display mode of the map interface and the text object according to the following method:

[0152] Determining the current vehicle's attentive driving status and / or number of occupants;

[0153] When the focused driving state is a focused state and / or the number of passengers is less than a preset number, the map interface and text objects are displayed in accordance with the second display mode.

[0154] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0155] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 4 As shown, it is a schematic diagram of the structure of a computer device 400 provided in an embodiment of the present disclosure, including a processor 401, a memory 402, and a bus 403. Among them, the memory 402 is used to store execution instructions, including a memory 4021 and an external memory 4022; the memory 4021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 401, and the data exchanged with the external memory 4022 such as a hard disk. The processor 401 exchanges data with the external memory 4022 through the memory 4021. When the computer device 400 is running, the processor 401 communicates with the memory 402 through the bus 403, so that the processor 401 executes the following instructions:

[0156] Acquire a text object to be displayed, wherein the text object is associated with the playback information;

[0157] Displaying a first map interface and a first text object, wherein 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;

[0158] During the driving process of the vehicle, in response to a perspective switching instruction, a second map interface and a second text object are displayed, 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.

[0159] In a possible implementation, in the instruction executed by the processor 401, the playback information includes an audio book or music;

[0160] In the case where the playing information is an audio book, the text object to be displayed is the book content corresponding to the audio book currently being played;

[0161] In the case where the playing information is music, the text object to be displayed is the lyrics corresponding to the currently playing music.

[0162] In a possible implementation manner, in the instructions executed by the processor 401, the three-dimensional model includes a vehicle model corresponding to the current vehicle; the display position of the first text object is located on the side of the vehicle model; or,

[0163] The three-dimensional model includes a road model; the display position of the first text object is located above the edge of the road model.

[0164] In one possible implementation, in the instructions executed by the processor 401, when the text object is lyrics, the text object includes lyrics currently being played, lyrics that have been played, and lyrics to be played; the depth of field of the lyrics being played, the lyrics that have been played, and the lyrics to be played are different, and the depth of field of the lyrics being played is longer than the depth of field of the lyrics that have been played and the depth of field of the lyrics to be played.

[0165] In a possible implementation manner, in the instructions executed by the processor 401, the three-dimensional model also includes a road model;

[0166] The text object includes multiple lines; the extension direction of each line of the text object is associated with the extension direction of the road model.

[0167] In a possible implementation, in the instructions executed by the processor 401, when the text object is lyrics, multiple lines of lyrics are arranged in sequence according to the playback order in the extension direction of the road model.

[0168] 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:

[0169] Determine the driving state of the vehicle, and display the first text object according to a first motion effect matching the driving state of the vehicle; or,

[0170] The first text object is parsed for content, and a second motion effect corresponding to the parsed content is determined, and the first text object is displayed according to the second motion effect.

[0171] In a possible implementation, in the instructions executed by the processor 401, when the driving state of the vehicle includes a bumpy state, the first motion effect matching the driving state of the vehicle includes a bumpy motion effect.

[0172] In a possible implementation, in the instructions executed by the processor 401, 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 at least partially overlap;

[0173] The display mode of the map interface and the text object also includes a second display mode, in which the display areas of the map interface and the text object do not overlap.

[0174] In a possible implementation, in the instructions executed by the processor 401, the method includes determining the display mode of the map interface and the text object according to the following method:

[0175] Determining the current vehicle's attentive driving status and / or number of occupants;

[0176] When the focused driving state is a focused state and / or the number of passengers is less than a preset number, the map interface and text objects are displayed in accordance with the second display mode.

[0177] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the text display method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0178] The present disclosure also provides a computer program product that carries a program code. The program code includes instructions that can be used to execute the steps of the text display method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0179] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0180] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method 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, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0181] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.

[0182] 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.

[0183] 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 a computer device (which can be a personal computer, a server, or a network device, etc.) to perform 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.

[0184] 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 protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A text display method, characterized in that: include: Acquire a text object to be displayed, wherein the text object is associated with the playback information; Displaying a first map interface and a first text object, wherein 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; During the driving process of the vehicle, in response to a perspective switching instruction, a second map interface and a second text object are displayed, 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.

2. The method according to claim 1, characterized in that The playback information includes audio books or music; In the case where the playing information is an audio book, the text object to be displayed is the book content corresponding to the audio book currently being played; In the case where the playing information is music, the text object to be displayed is the lyrics corresponding to the currently playing music.

3. The method according to claim 1, characterized in that The three-dimensional model includes a vehicle model corresponding to the current vehicle; the display position of the first text object is located on the side of the vehicle model; or, The three-dimensional model includes a road model; the display position of the first text object is located above the edge of the road model.

4. The method according to claim 1, characterized in that: In the case where the text object is a lyric, the text object includes lyrics currently being played, lyrics that have been played, and lyrics to be played; the depth of field of the lyrics currently being played, the lyrics that have been played, and the lyrics to be played are different, and the depth of field of the lyrics currently being played is longer than the depth of field of the lyrics that have been played and the depth of field of the lyrics to be played.

5. The method according to claim 1, characterized in that The three-dimensional model also includes a road model; The text object includes multiple lines; the extension direction of each line of the text object is associated with the extension direction of the road model.

6. The method according to claim 5, characterized in that In the case where the text object is lyrics, multiple lines of lyrics are arranged in sequence according to the playback order in the extension direction of the road model.

7. The method according to claim 1, characterized in that The method further comprises displaying the first text object according to the following method: Determine the driving state of the vehicle, and display the first text object according to a first motion effect matching the driving state of the vehicle; or, The first text object is parsed for content, and a second motion effect corresponding to the parsed content is determined, and the first text object is displayed according to the second motion effect.

8. The method according to claim 7, characterized in that In a case where the driving state of the vehicle includes a bumpy state, the first motion effect matching the driving state of the vehicle includes a bumpy motion effect.

9. The method according to claim 1, characterized in that: 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 at least partially overlap; The display mode of the map interface and the text object also includes a second display mode, in which the display areas of the map interface and the text object do not overlap.

10. The method according to claim 9, characterized in that The method includes determining the display mode of the map interface and the text object according to the following method: Determining the current vehicle's attentive driving status and / or number of occupants; When the focused driving state is a focused state and / or the number of passengers is less than a preset number, the map interface and text objects are displayed in accordance with the second display mode.

11. A text display device, characterized in that: include: An acquisition module, used for acquiring a text object to be displayed, wherein the text object is associated with the playback information; A first display module, used to display a first map interface and a first text object, wherein 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; The second display module is used to display a second map interface and a second text object in response to a perspective switching instruction during the driving process of the vehicle, 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.

12. 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 text display method according to any one of claims 1 to 10 are performed.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the text display method according to any one of claims 1 to 10 are executed.