CN115437586A - Method, device, equipment and medium for displaying message on electronic map - Google Patents

Method, device, equipment and medium for displaying message on electronic map Download PDF

Info

Publication number
CN115437586A
CN115437586A CN202110620280.6A CN202110620280A CN115437586A CN 115437586 A CN115437586 A CN 115437586A CN 202110620280 A CN202110620280 A CN 202110620280A CN 115437586 A CN115437586 A CN 115437586A
Authority
CN
China
Prior art keywords
message
electronic map
bullet screen
account
displaying
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
CN202110620280.6A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110620280.6A priority Critical patent/CN115437586A/en
Publication of CN115437586A publication Critical patent/CN115437586A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Navigation (AREA)
  • Instructional Devices (AREA)

Abstract

The application discloses a message display method, a message display device, message display equipment and a message display medium based on an electronic map, which are applied to the field of navigation. The method comprises the following steps: displaying a user interface of an electronic map client, wherein the user interface comprises the electronic map and a bullet screen display area; displaying map information on the electronic map; and displaying at least one message in the bullet screen display area in a bullet screen mode. The method can realize the linkage of the user and the geographic position and the linkage of different users in the navigation process.

Description

Method, device, equipment and medium for displaying message on electronic map
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for displaying messages on an electronic map.
Background
The electronic map is used for guiding the user to move to the target geographic position, and geographic information is displayed on the electronic map in the guiding process, for example, a front left turn is displayed.
In the related art, when a user uses an electronic map, the electronic map displays a map of the user's surrounding environment and also displays road condition information, store information, and the like of the surrounding environment, for example, the electronic map displays a route from a point a to a point B and displays a congested road segment on the route, or displays a construction road segment, or displays an accident road segment.
In the navigation process of the related technology, the types of information acquired by a user are limited.
Disclosure of Invention
The embodiment of the application provides a message display method, a message display device, message display equipment and a message display medium on an electronic map. The technical scheme is as follows.
According to an aspect of the present application, there is provided a message display method on an electronic map, the method including:
displaying a user interface of an electronic map client, wherein the user interface comprises the electronic map and a bullet screen display area;
displaying map information on the electronic map;
and displaying at least one message in the bullet screen display area in a bullet screen mode.
According to another aspect of the present application, there is provided a message display apparatus on an electronic map, the apparatus including:
the display module is used for displaying a user interface of an electronic map client, and the user interface comprises the electronic map and a bullet screen display area;
the display module is also used for displaying map information on the electronic map;
and the bullet screen module is used for displaying at least one message in the bullet screen display area in a bullet screen mode.
In an optional design of the present application, the display module is further configured to scroll and display at least two message messages in a bullet screen form in the bullet screen display area according to a display sequence.
In an optional design of the present application, the display module is further configured to scroll and display the at least two message messages in the bullet screen display area according to a display sequence; highlighting a first message of the at least two messages during scrolling; wherein the highlighting comprises: at least one of enlarged font display, highlight display, target foreground color display, target background color display and rolling effect display.
In an optional design of the present application, the display module is further configured to determine a scroll speed corresponding to a current vehicle speed, where the scroll speed is in a negative correlation with the current vehicle speed; and scrolling and displaying the at least two message messages in the bullet screen display area along the scrolling direction according to the scrolling speed.
In an optional design of the present application, the at least two message messages include a message bound to a geographic location along the way in the electronic map, where the geographic location along the way is a location that is traveled during the current navigation process.
In an optional design of the present application, the display module is further configured to determine the first message in the at least two message messages according to the display sequence in the scrolling process, and highlight the first message; or, under the condition that the triggering condition of the first message is met in the scrolling process, highlighting the first message in the at least two message messages; the triggering condition comprises that the distance between the current navigation position and the geographical position bound by the first message leaving message is smaller than a threshold value.
In an optional design of the present application, the barrage module is further configured to play the voice message when a trigger condition of the voice message is met; wherein the triggering condition comprises that the distance between the current navigation position and the geographical position along the way bound by the voice message is less than a threshold value.
In an optional design of the present application, the display module is further configured to play an expression animation corresponding to the expression message when the trigger condition of the expression message is met; the triggering condition comprises that the distance between the current navigation position and the geographical position on the way bound by the expression message is smaller than a threshold value.
In an alternative design of the present application, the presentation order is determined based on at least one of the following factors: the priority of the message; the type of the message account corresponding to the message; and the distance between the geographical position bound with the message and the current navigation position.
In an optional design of the present application, at least one message is displayed in a bullet screen form in the bullet screen display area under a condition that a display condition of the message is satisfied; the display condition of the message comprises at least one of the following conditions: the priority of the message leaving information is greater than the preset priority; the type of the message account corresponding to the message is a target type; the distance between the geographical position bound by the message and the current navigation position is smaller than a distance threshold value; the message account corresponding to the message has a friend relationship, a concern relationship or a subscription relationship with a first message account logged in by the home terminal; the message is recommended by the server; the electronic map operates in a target navigation mode.
In an optional design of the present application, the message account type includes at least one of: navigating a user account; a merchant account associated with the point of interest POI; account number of traffic management department; a news media account.
In an optional design of the present application, the bullet screen module is further configured to determine a search keyword in response to a message search operation; and displaying the message matched with the search keyword in the bullet screen display area.
In an optional design of the present application, the display module is further configured to display a message anchor point of the message at the geographical location along the route where the message is bound.
In an optional design of the present application, the barrage module is further configured to send an interactive message to a message account of the message in response to the interactive trigger operation; wherein the interactive message comprises: at least one of a praise message, a clap message, a send flower message.
In an optional design of the present application, the barrage module is further configured to generate, in response to a message editing operation, a second message that is bound to the first geographical location in the electronic map, where a message account of the second message is a first message account logged in by the home terminal.
In an optional design of the present application, the barrage module is further configured to respond to a message recording operation to obtain a voice message bound to the first geographic location; or, in response to an expression selection operation, determining a target expression among a plurality of candidate expressions; acquiring the text content adapted to the target expression from a message template library; and combining the target expression and the text content into an expression message bound with the first geographic position.
In an optional design of the present application, the navigation module is further configured to determine a current navigation position as the first geographic position; or, in response to a selection operation, determining the selected geographic location as the first geographic location; or, in response to an input operation, determining the input geographic position as the first geographic position.
In an optional design of the present application, the barrage module is further configured to receive an interactive message corresponding to the second message, where the interactive message is generated by a user based on a second message account interacting with the second message; and displaying the interactive message on the bullet screen display area.
In an optional design of the present application, the display module is further configured to display a full-screen animation corresponding to the interactive message on the user interface.
According to another aspect of the present application, there is provided a computer device including: a processor and a memory, the memory having stored therein at least one instruction, at least one program, code set, or set of instructions, the at least one instruction, the at least one program, code set, or set of instructions being loaded and executed by the processor to implement a method of displaying messages on an electronic map as described above.
According to another aspect of the present application, there is provided a computer storage medium having at least one program code stored therein, the program code being loaded and executed by a processor to implement the message display method on an electronic map as described above.
According to another aspect of the application, a computer program product or a computer program is provided, comprising computer instructions, which are stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and executes the computer instructions, so that the computer device executes the message display method on the electronic map as described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the method has the advantages that the message leaving information can be displayed in a pop-up screen form on the user interface of the electronic map, a brand-new pop-up screen interaction system based on the message leaving information in the process of displaying the electronic map is provided, a user can check the message leaving information in the process of using the electronic map, information required by the user is obtained from the message leaving information, and social interaction is carried out with other user accounts, so that a brand-new information obtaining mode and a social interaction mode are provided for the user, and a brand-new cockpit social atmosphere under a driving scene is created.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an interface diagram of a message display method on an electronic map according to an exemplary embodiment of the present application;
fig. 2 is a flowchart illustrating a message display method on an electronic map according to an exemplary embodiment of the present application;
FIG. 3 is a schematic structural diagram of a navigation system provided in an exemplary embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for displaying messages on an electronic map according to an exemplary embodiment of the present application;
FIG. 5 is an interface diagram of a message display method on an electronic map provided by an exemplary embodiment of the present application;
fig. 6 is a flowchart illustrating a method for selecting a virtual character according to an exemplary embodiment of the present application;
FIG. 7 is an interface schematic of a ranking interface provided by an exemplary embodiment of the present application;
FIG. 8 is an interface diagram of an adjust ordering interface provided by an exemplary embodiment of the present application;
FIG. 9 is an interface schematic of a team position notification interface provided by an exemplary embodiment of the present application;
FIG. 10 is a flowchart illustrating a method for displaying messages on an electronic map according to an exemplary embodiment of the present application;
FIG. 11 is a schematic diagram of an interface displaying candidate team locations provided by an exemplary embodiment of the present application;
fig. 12 is a flowchart illustrating a method for selecting a virtual character according to an exemplary embodiment of the present application;
fig. 13 is a flowchart illustrating a method for selecting a virtual character according to an exemplary embodiment of the present application;
FIG. 14 is a flowchart illustrating a method for displaying messages on an electronic map according to an exemplary embodiment of the present application;
FIG. 15 is a diagram illustrating a method of grid partitioning according to an exemplary embodiment of the present application;
FIG. 16 is a diagram of grid partitioning provided by an exemplary embodiment of the present application;
fig. 17 is a flowchart illustrating a method for screening and refining message messages according to an exemplary embodiment of the present application;
fig. 18 is a schematic structural diagram of a message display device on an electronic map according to an exemplary embodiment of the present application;
fig. 19 is a block diagram of a terminal according to an exemplary embodiment of the present application;
fig. 20 is a block diagram of a server according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
POI (Point of Interest): in a geographic system, POIs are geographic coordinates of interest on an electronic map, for example, a POI may be a geographic coordinate of a house, a shop, a mailbox, a bus station, etc. The POI information comprises at least one of name, category, longitude, latitude, introduction, height, altitude, address, contact information, image material, social interaction information, service information, state and self-defined information.
Expression (Emoji): emoticons can be used as visual expressions of emotions, users can select and send out, and expressions can be displayed dynamically.
STT (Speech To Text, speech To Text recognition): the computer device recognizes the user's speech and converts it to a text display and converts the user's speech to text. The method is typically performed by a server.
TTS (Text-To-Speech, text-To-Speech system): the text of a general language is converted into speech and other systems may render the representation of the language symbols as if the phonetic symbols were converted into speech.
Bullet screen: refers to the text of comments that drifted away from the user interface. This form of presentation is referred to as a bullet screen because the effect of a large amount of commentary text drifting away from the user interface appears as a large number of bullets fired in a flying shooting game.
GeoHash (geographic hash): an address coding method can code two-dimensional space longitude and latitude data into a character string. Illustratively, the latitude range [ -90 °,0 °) on the earth is represented by binary 0, (0 °,90 ° ] is represented by binary 1, the longitude range [ -180 °,0 °) is represented by binary 0, and (0 °,180 ° ] is represented by binary 1, the earth can be divided into four parts of 00, 01, 10, and 11. The Geohash encodes the two-dimensional longitude and latitude information into a character string, and only the character string needs to be matched when geographic position indexing is carried out, so that caching and information compression are facilitated.
LBS (Location Based Services ): the current position of the computer equipment is obtained by utilizing various types of positioning technologies, and information resources and basic services are obtained through the Internet. Illustratively, after the user goes from city A to city B, the computer device detects that the position of the user changes, and obtains weather forecast and accommodation information of city B through the Internet.
Fig. 1 illustrates an interface diagram of a user interface of an electronic map client according to an exemplary embodiment of the present application. The user interface includes, but is not limited to: the electronic map 110, the bullet screen display area 120 located on the left side of the electronic map 110, and the electronic map 130 located on the right side of the electronic map 110.
The electronic map 110 is used to provide a navigation service based on a two-dimensional map, a 2.5-dimensional map, a three-dimensional map, or an Augmented Reality (AR) map. The electronic map 110 is displayed as a background layer of the user interface, and is updated and displayed according to the current position in the navigation process.
The bullet screen display area 120 is an area for displaying a plurality of message messages 122 to 124 in the form of bullet screens. The bullet screen display area 120 is displayed in a floating manner on the upper layer of the electronic map 110. The bullet screen display area 120 has a distinct boundary area or no distinct boundary area. The message 122, the message 123, and the message 124 are scroll-displayed in the bullet screen display area 120 from bottom to top in the order of presentation.
A map message control 125 is displayed in the bullet screen display area 120. In the case that the user clicks the message control 125, the user can record or edit a new message. After a new message is successfully sent, a sending success prompt 121 of "you have buried the next blind box" is displayed in the bullet screen display area 120. The message messages 122 to 124 are messages displayed in the bullet screen form in the bullet screen display area, and the message messages are bound to the geographical position. Optionally, the message includes at least one of a voice message and an emoticon message. Optionally, the form of the message includes at least one of text, voice, image, and video. The message messages 122 to 124 are displayed in the form of text messages in the bullet screen display area 120 located on the left side of the user interface in fig. 1.
The electronic map 130 is used to display navigation information using the map perspective of the first user account. Such as: at least one of a current navigation position 131 of the vehicle (or the user), straight-ahead prompt information, left-turn prompt information, right-turn prompt information, navigation route prompt information, and congestion prompt information. Optionally, message anchors 132 to 135 are displayed on the navigation display area 130, the message anchors 132 to 135 being used to represent message messages bound at corresponding geographic locations along the way. Optionally, in response to the triggering operation of the message anchors 132 to 135, the message messages bound at the geographic locations corresponding to the message anchors 132 to 135 are displayed.
Optionally, in the process of displaying a certain message in the pop-up screen display area 120 in a highlighted manner, a message anchor point corresponding to the message is displayed in the electronic map 130 in a highlighted manner, where the highlighted manner includes: at least one of enlarged font display, highlight display, target foreground color display, target background color display and rolling effect display.
Fig. 2 is a schematic structural diagram of a navigation system according to an exemplary embodiment of the present application. The computer system 200 includes: a terminal 220 and a server 240, wherein the terminal 220 comprises at least one of a mobile terminal and a car navigation terminal.
The terminal 220 has a client program with a navigation function installed thereon. The client may be an applet in an app (application), a dedicated client, or a web client. Illustratively, the user navigates on the terminal 220 using a map. The terminal 220 is at least one of a vehicle-mounted terminal, a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer.
The terminal 220 is connected to the server 240 through a wireless network or a wired network.
The server 240 may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server that provides basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), and a big data and artificial intelligence platform. Optionally, the server 240 at least includes a navigation server and a message server, where the navigation server supports a navigation function and a message function, and the message server supports storage, voice recognition, forwarding and the like for processing message messages. The server 240 is used for providing a background service for the map navigation client and transmitting the map navigation content to the terminal 220. Alternatively, server 240 undertakes primary computational tasks and terminal 220 undertakes secondary computational tasks; alternatively, server 240 undertakes the secondary computing work and terminal 220 undertakes the primary computing work; alternatively, both the server 240 and the terminal 220 employ a distributed computing architecture for collaborative computing.
Fig. 3 is a flowchart illustrating a method for displaying a message on an electronic map according to an exemplary embodiment of the present application. The method can be executed by the terminal 220 or an electronic map client on the terminal 220 shown in fig. 2, and the method comprises the following steps:
step 302: displaying a user interface of an electronic map client, wherein the user interface comprises an electronic map and a bullet screen display area;
the electronic map client is a client with the capability of displaying the electronic map on the mobile terminal or the vehicle-mounted terminal. The present embodiment is explained in the case where the terminal 220 is a vehicle-mounted terminal. Illustratively, a first user account is logged on the electronic map client.
Responding to a starting operation on an icon of the electronic map client, and starting the electronic map client; or, in response to the starting operation of the vehicle, starting the electronic map client; or, in response to that the voiceprint information received by the vehicle-mounted microphone meets the preset voiceprint information, starting the electronic map client; or responding to the fact that the text information corresponding to the voice information received by the vehicle-mounted microphone accords with the preset awakening words, and starting the electronic map client.
And after the electronic map client is started, displaying the user interface of the electronic map. Illustratively, after the user activates the cruise mode, a user interface for cruising based on the electronic map is displayed. Illustratively, after the user enables a navigation mode for the destination, a user interface for navigating the destination based on the electronic map is displayed. The destination includes: at least one of a home geographic location, a work geographic location, and other geographic locations.
With combined reference to fig. 1, the electronic map 130 is an area that displays navigation information using the map perspective of the first user account. The map view angle refers to a overlooking view angle for viewing the navigation route, or the navigation route is displayed by taking the current driving direction as the front. The bullet screen display area 120 is an area for displaying at least one message in the form of a bullet screen.
The electronic map 130 and the bullet screen display area 120 belong to two areas which are not overlapped with each other on the user interface, or the bullet screen display area 120 is a sub-area of the electronic map 130. The edges of the bullet screen display area 120 may or may not be visible on the user interface, i.e., the bullet screen display area 120 may not have an explicit edge. Illustratively, the electronic map 130 and the bullet screen display area 120 are both displayed with the electronic map as a background layer.
The electronic map client has two working modes, wherein one working mode is shown in figure 1 and can display the message anchor points of the geographic positions on the electronic map, and the other working mode is shown in figure 4, the content displayed on the page is less, the navigation route is mainly displayed, and the message anchor points cannot be displayed on the electronic map.
Step 304: displaying map information on an electronic map;
the map information displayed by the electronic map 130 includes: at least one of a current navigation location 131 of the vehicle, a current navigation route, and a geographic location along the way that is located on/beside the current leading navigation route. The on-road geographic position is a geographic position within an area range of the peripheral side with the current navigation position as the center.
As the current navigation position of the vehicle is continuously changed, the map information displayed in the electronic map 130 is continuously updated and changed. Taking the en-route geographic position as an example, as the current navigation position 131 advances, the first en-route geographic position entering the range of the peripheral side area is additionally displayed in the electronic map 130; leaving the second waypoint geographic location within the perimeter side area may be dismissed in the electronic map 130.
Step 306: and displaying at least one message in a bullet screen form in the bullet screen display area.
The message leaving account is a message sent by the message leaving account. The message includes the message content, and at least one of account head portrait, account nickname, account grade, vehicle brand and topic.
The message account type corresponding to the message comprises at least one of the following types: navigating a user account; a merchant account associated with the POI; account number of traffic management department; a news media account.
Optionally, the message includes at least one of a voice message and an emoticon message. The language message is collected in a recording mode. The expression message is a message with an expression as the main message content, and the character content in the expression message is optional. Illustratively, in the case that the text content exists in the emoticon message, the text content is generated by recommendation of the electronic map client or the server.
Optionally, in a case that a display condition of the message is satisfied, at least one message is displayed in a bullet screen form in the bullet screen display area. The display condition of the message comprises at least one of the following conditions:
the type of the message account corresponding to the message is a target type, for example, the target type is a traffic management department;
the distance between the geographical location along the route bound by the message and the current navigation location is less than a distance threshold;
the message account corresponding to the message has a friend relationship, an attention relationship or a subscription relationship with the home terminal login account;
the leave message is recommended by the server;
the electronic map operates in a target navigation mode, such as a navigation mode destined for a home address or a work address.
The display conditions of the message may be different in different stages. For example, in the starting stage, the display condition of the message includes that the message is recommended by the server; for another example, in the driving stage, the display condition of the message includes that the distance between the geographic position along the way and the current navigation position is smaller than the distance threshold, that is, the message which is touched is added into the bullet screen display area to be displayed according to the continuous advance of the current navigation position.
In summary, the method provided in this embodiment displays the message in the pop-up screen form on the user interface of the electronic map, and provides a brand-new pop-up screen interaction system based on the message in the process of displaying the electronic map, so that the user can check the message in the process of using the electronic map, acquire information required by the user from the message, and perform social interaction with other user accounts, thereby providing a brand-new information acquisition manner and social interaction manner for the user, and creating a brand-new in-cab social atmosphere in the driving scene.
In the following alternative embodiment, at least two message messages are displayed in the bullet screen display area in a scrolling manner when the message messages are displayed, and the first message is highlighted during the scrolling process. On the other hand, the voice message can be converted by the STT to obtain corresponding text content, and because the user may be driving the vehicle when using the electronic map client, the user can avoid watching the navigation screen in the driving process by playing the voice message in addition to displaying the text content, thereby reducing the distraction of the user and ensuring the safe driving of the user.
Fig. 5 is a flowchart illustrating a message display method on an electronic map according to an exemplary embodiment of the present application. The method can be executed by the terminal 220 or an electronic map client on the terminal 220 shown in fig. 2, and the method includes the following steps:
step 501: starting an electronic map client;
the electronic map client is a client with navigation capability on a mobile terminal or a vehicle-mounted terminal. The present embodiment is explained in the case where the terminal 220 is a vehicle-mounted terminal.
Responding to a starting operation on an icon of the electronic map client, and starting the electronic map client; or, in response to the starting operation of the vehicle, starting the electronic map client; or, in response to that the voiceprint information received by the vehicle-mounted microphone meets the preset voiceprint information, starting the electronic map client; or responding to the fact that the text information corresponding to the voice information received by the vehicle-mounted microphone accords with the preset awakening words, and starting the electronic map client.
Step 502: the method comprises the steps that a user interface of the electronic map is displayed, and the user interface comprises the electronic map and a bullet screen display area;
the electronic map is used for displaying a map and a navigation path. Optionally, one or more navigation paths are displayed in the electronic map. The electronic map-based user interface comprises an electronic map and a bullet screen display area.
Referring collectively to fig. 1, the electronic map 130 is an area that displays navigation information using a map view of the first user account. The map view angle refers to a overlooking view angle for viewing the navigation route, or the navigation route is displayed by taking the current driving direction as the front. The bullet screen display area 120 is an area for displaying at least one message in the form of a bullet screen.
Under the condition that no message exists in the range area of the peripheral side of the current navigation position, the user interface can only display the electronic map; and under the condition that the message exists in the range area of the peripheral side of the current navigation position, simultaneously displaying the electronic map and the bullet screen display area on the user interface.
Step 503: displaying map information on an electronic map;
the map information displayed by the electronic map 130 includes: at least one of a current navigation location 131 of the vehicle, a current navigation route, and a geographic location along the way that is located on/beside the current leading navigation route. The on-road geographic position is a geographic position within an area range of the peripheral side with the current navigation position as the center.
Illustratively, the message anchors for the message are displayed at the geographical locations along the message binding, such as the 4 message anchors 132 through 135 shown in fig. 1. At least one of account head portrait, account nickname, message type, emoticon and voice time length is displayed on each message anchor point. Wherein, the account head portrait is the head portrait of the message account sending the message. The account nickname is the nickname of the message account sending the message. Message categories include, but are not limited to: voice message messages and emoticon message messages. Schematically, under the condition that the message is a voice message, the message anchor point also displays voice time; and under the condition that the message is an emoticon, the message anchor point also displays an emoticon.
As the current navigation position of the vehicle changes, the geographic location along the way displayed in the electronic map 130 is also constantly updated and changed. That is, as the current navigation position 131 advances, the first waypoint geographical position that comes within the range of the peripheral side area is increasingly displayed in the electronic map 130; the second waypoint geographic location within the range away from the peripheral side area is dismissed from display in the electronic map 130.
Optionally, in response to a trigger operation on the first message anchor point, displaying a message corresponding to the first message anchor point in a bullet screen display area on the electronic map. Under the condition that the message is a voice message, responding to the trigger operation on the first message anchor point, displaying the text content of the voice message corresponding to the first message anchor point in the bullet screen display area, and playing the voice content of the voice message; and under the condition that the message is an expressive message, responding to the trigger operation on the first message anchor point, and displaying an expressive animation of the expressive message corresponding to the first message anchor point in the bullet screen display area, such as a firework special effect, a heart special effect and the like.
Step 504: at least two message messages are displayed in a bullet screen display area in a rolling mode in a bullet screen mode, and the at least two message messages comprise message messages bound with geographical positions along the way;
the message leaving account is a message sent by the message leaving account. The message includes the message content, and at least one of account head portrait, account nickname, account grade, vehicle brand and topic.
The message account type corresponding to the message comprises at least one of the following types: navigating a user account; a merchant account associated with the POI; account number of traffic management department; a news media account.
Illustratively, the background colors of different message messages are different. And the electronic map client determines the background color of the message according to the type of the message account of the message. For example, a message sent by a navigation user account is blue; a message sent by a merchant account related to the POI is green; the message leaving from the account of traffic management department is red; the message leaving message sent by the news media account is orange.
All or part of the message is tied to the geographic location along the way in the electronic map. The geographical location along the way may be any POI in the electronic map, may also be any point on the electronic map, and may also be a point on the current navigation route. Illustratively, the geographic position in the electronic map is a merchant, a public event, a hospital, an administrative institution, etc. in the electronic map, or the geographic position in the electronic map is a corresponding position of any point in the electronic map in a real environment. Illustratively, there are some message messages that are not tied to any geographical location in the electronic map, such as weather forecast messages, news information messages.
And under the condition that a plurality of message messages are displayed in the bullet screen display area, the plurality of message messages are displayed in the bullet screen display area in a bullet screen mode in a rolling mode from bottom to top, or the plurality of message messages are displayed in the bullet screen display area in a bullet screen mode from right to left.
Optionally, the electronic map client determines a rolling speed corresponding to the current vehicle speed, and the rolling speed and the current vehicle speed are in a negative correlation relationship; and at least two message messages are displayed in the bullet screen display area in a rolling mode along the rolling direction according to the rolling speed. For example, in the case where the vehicle speed is higher than 80km, the scroll speed is 0; under the condition that the vehicle speed is between 60km and 80km, the rolling speed is 1 strip per 10 seconds; under the condition that the vehicle speed is between 20km and 60km, the rolling speed is 2 strips per 10 seconds; under the condition that the vehicle speed is between 0km and 20km, the rolling speed is 3 strips per 10 seconds; in the case of a vehicle speed of 0km, the scroll speed is 4 lines per 10 seconds.
In the initialization stage, the electronic map client acquires a plurality of message messages recommended by the server for rolling display. And at the stage after the navigation is started, when the current navigation position and the geographical position along the path bound by the message are collided, the electronic map client adds the message to the bullet screen display area for rolling display.
Referring to fig. 1 in combination, a plurality of message messages 122 to 124 are displayed in a scrolling manner from bottom to top. The message leaving message 122 corresponds to the same geographic location along the way as the message anchor 132, the message leaving message 123 corresponds to the same geographic location along the way as the message anchor 133, and the message leaving message 124 corresponds to the same geographic location along the way as the message anchor 134.
As the current navigation position 131 continuously advances, the distance between the current navigation position 131 and the geographical position along the route where the message anchor point 132 is located is smaller than the distance threshold, and the message 122 is triggered and displayed in the bullet screen display area 120; then, the distance between the current navigation position 131 and the geographical position along the route where the message anchor point 133 is located is smaller than a distance threshold, and the message 123 is triggered and displayed in the bullet screen display area 120; then, the distance between the current navigation position 131 and the geographic location along the route where the message anchor 134 is located is less than the distance threshold, and the message 124 is triggered to be displayed in the bullet screen display area 120.
Optionally, in a case where a display condition of the message is satisfied, at least one message is displayed in a barrage form in the barrage display area 120. The display conditions of the message include, but are not limited to, the following six cases:
1. the priority of the message leaving is greater than the preset priority.
Optionally, the priority of the message is determined according to the type of the message account corresponding to the message. For example, the message leaving account a is an account of a traffic management department, and the priority of the message leaving account a is higher than a preset priority, for example, the priority of the message leaving account a is the highest priority.
Optionally, the priority of the message is determined according to the text quality of the message content. For example, assuming that the priority of the message is greater than the preset priority when the text quality score of the message reaches 0.8, the message B is input into the text instruction evaluation model, and the text quality score of the message B is 0.9, which indicates that the priority of the message B is greater than the preset priority.
Optionally, the priority of the message is determined according to the level of the message account corresponding to the message. For example, the pre-configured assumption is that when the level of the message account is greater than 30, the priority of the message issued by the message account is considered to be greater than the preset priority, and the level of the message C is 40, the priority of the message C is considered to be greater than the preset priority.
Optionally, the priority of the message is determined according to the message leaving time of the message. The closer the distance between the message leaving time and the current time is, the higher the priority of the message leaving.
2. The type of the message account corresponding to the message is the target type.
Optionally, the type of the message account includes at least one of a navigation user account, a merchant account associated with the POI, a traffic management account, and a news media account.
Illustratively, the target type is set as an account of the traffic management department, and when the account of the traffic management department issues a message, the message issued by the account of the traffic management department is displayed.
3. And the distance between the geographical position bound with the message and the current navigation position is less than the distance threshold.
The distance threshold is set by the user or a technician at his or her discretion. Illustratively, the distance threshold is set at 100 meters.
4. The message account corresponding to the message has a friend relationship, a concern relationship or a subscription relationship with the first message account logged in by the home terminal.
The first message account is a message account (or user account) logged in by the local terminal in the electronic map client.
5. The message is recommended by the server.
Optionally, the message leaving server determines the message leaving time according to at least one of text quality of the message leaving information, type of the message leaving account, level of the message leaving account, distance between the geographical location where the message leaving information is bound and the current navigation location, and message leaving time.
6. The electronic map operates in a target navigation mode.
The working scenes of the electronic map are divided into a normal navigation scene and a light navigation scene. When the electronic map client is in a light navigation scene, only simple navigation information can be displayed in the electronic map. That is, for the same navigation route, the navigation information of the light navigation scene is less than that of the normal navigation scene.
The target navigation mode indicates that the electronic map is in a light navigation scene, and the mental stress of the user during driving is relatively low, so that extra information except navigation information can be acquired by using the eye residual light or ears. Illustratively, the light navigation scene will automatically turn on the navigation route going back and forth between home and business.
Optionally, the user interface of the electronic map client further includes a bullet screen switch control, and the message in the bullet screen display area is displayed or cancelled in response to a trigger operation on the bullet screen switch control. Illustratively, as shown in fig. 6, a bullet screen switch control 601 is displayed at the lower left corner of the user interface of the electronic map client, and in the case of displaying a bullet screen display area, in response to the user clicking the bullet screen switch control 601, the message in the bullet screen display area is cancelled.
Optionally, the user interface of the electronic map client further includes a quick navigation control, and displays a navigation path from the current navigation position to a target geographic position in response to a trigger operation on the quick navigation control, where the target geographic position is set by the user or obtained through historical navigation. Illustratively, as shown in FIG. 6, a path from the current navigation location to home may be displayed in response to the user clicking a "home" button in the quick navigation control 602, or a path from the current navigation location to company may be displayed in response to the user clicking a "company" button in the navigation control 602, and navigation paths for other destinations may be set in response to the user clicking a "+" button in the quick navigation control 602.
Optionally, the user interface of the electronic map client further includes a folding control, and the quick navigation control is displayed or canceled from being displayed in response to a trigger operation on the folding control. Illustratively, as shown in FIG. 6, in response to the user clicking on the fold control 603, the quick navigation control 602 will be displayed folded.
Optionally, in response to a triggering operation on the message leaving message, account information of a message leaving account corresponding to the message leaving message is sent, where the account information includes at least one of a nickname, a head portrait, a user identification, an account level, a number of account numbers concerned, and a number of fan.
Step 505: highlighting a first message of the at least two messages during the scrolling.
In one example, the electronic map client determines a first message in at least two message messages according to a display sequence in a scrolling process, and highlights the first message. For example, the bullet screen display area 120 includes 4 message messages, and the 4 message messages are sequentially highlighted according to the display order.
In another example, the electronic map client highlights a first message of the at least two message messages when the triggering condition of the first message is met in the scrolling process; the triggering condition comprises that the distance between the current navigation position and the geographical position bound by the first message leaving message is less than a threshold value. For example, when the distance between the current navigation position 131 and the geographical position along the path to which the first message is bound is less than 10 meters, the first message is highlighted.
The highlighting includes: at least one of enlarged font display, highlight display, target foreground color display, target background color display and rolling effect display. Illustratively, as shown in fig. 6, the first 604 of the two messages is highlighted.
Optionally, in response to that the first message satisfies the preset condition, in the process of highlighting the first message, the voice content corresponding to the first message is also played. The preset conditions comprise at least one of the text content of the first message belonging to a preset template, the type of the first message being a preset type, and the message account number of the first message being a preset account type. Schematically, the first message includes a voice message and text content of the voice message, and the text content of the voice message is obtained by performing voice-to-word processing on the voice message; and under the condition that the text content of the voice message is highlighted, the voice message is also played simultaneously.
In the highlighting process of the first message, a playing identifier is also displayed at the peripheral side position of the first message, and the playing identifier is used for indicating that the first voice message is being played. Illustratively, as shown in fig. 6, a play identifier 607 is displayed at the head of the account of the first message 604, and when the play identifier 607 is displayed, it indicates that the first message 604 is being played. Optionally, during the playing of the first message, the message anchor is also highlighted, wherein the highlighting includes: at least one of enlarged font display, highlight display, target foreground color display, target background color display and rolling effect display. Illustratively, as shown in fig. 6, in the process of displaying the first message 604, the first message 604 is displayed in an enlarged manner. Optionally, in the playing process of the voice message, the voice message is played again in response to the trigger operation on the voice message.
In another example, even if the first message is not highlighted, if the first message includes a voice message and text content of the voice message, the voice message may be played if a trigger condition of the first message is satisfied. For example, the triggering condition includes that the distance between the current navigation position and the geographical position along the route bound by the first message is less than a threshold; as another example, the trigger condition includes: and receiving a trigger operation of the user on the language message, wherein the trigger operation can be a click operation or a voice control operation.
Optionally, in response to that the first message meets a preset condition, in the process of highlighting the first message, a full-screen animation corresponding to the first message is also displayed, where the preset condition includes at least one of that the text content of the first message belongs to a preset template, that the type of the first message is a preset type, and that the message account of the first message is a preset account type. Illustratively, as shown in fig. 7, the text content of the first message 701 belongs to a preset template "congratulating new year wealth of people", and a full-screen animation 702 of a color bar is displayed in the process of highlighting the first message.
In another example, even if the first message is not in the highlighting process, if the first message includes an emoticon message, the emoticon animation corresponding to the emoticon message may be played under the condition that the triggering condition of the emoticon message is satisfied. For example, the triggering condition includes that the distance between the current navigation position and the geographical position along the route bound by the first message is less than a threshold; as another example, the trigger condition includes: and receiving a trigger operation of the user on the emoticon message, wherein the trigger operation can be a click operation or a voice control operation.
In one example, the presentation order of the message messages is determined according to at least one of the following factors:
1. priority of message leaving.
Optionally, the priority of the message is determined according to the text quality of the message content.
Optionally, the priority of the message is determined according to the level of the message account corresponding to the message.
Optionally, the priority of the message is determined according to the message leaving time of the message.
2. The type of the message account corresponding to the message.
Optionally, the type of the message account corresponding to the message includes at least one of the following: navigating the user account; a merchant account associated with the POI; account number of traffic management department; a news media account.
Optionally, when the type of the message account is a preset account type, the message of the message account is preferentially displayed. Illustratively, the preset account type is an account of a traffic management department, and when the account of the traffic management department issues a message, the message issued by the account of the traffic management department is preferentially displayed.
3. The distance between the geographical position bound by the message and the current navigation position.
Optionally, the message with the smaller distance between the geographic position and the current navigation position is preferentially displayed. For example, as shown in fig. 8, the distance between the geographic position a and the user terminal is 10 meters, the geographic position a corresponds to the message leaving 0, the distance between the geographic position B and the user terminal is 16 meters, the geographic position B corresponds to the message leaving 1, the distance between the geographic position C and the user terminal is 36 meters, the geographic position C corresponds to the message leaving 2, the distance between the geographic position D and the user terminal is 45 meters, the geographic position D corresponds to the message leaving 3, and the bullet screen areas on the left side are sequentially highlighted according to the sequence of "message leaving 0, message leaving 1, message leaving 2, and message leaving 3".
Optionally, at least two factors of the three factors are integrated to obtain the score of each factor; carrying out weighted calculation on the scores of all the factors to obtain a total score; and determining the display sequence of the message messages according to the total score. Illustratively, the total score is calculated by combining the three factors, the total score of the message a is 0.8, and the total score of the message B is 0.95, the message B is displayed first, and then the message a is displayed.
Optionally, in response to a triggering operation of a second message in the message, the second message is preferentially highlighted, where the second message is a message that is not highlighted in the at least two messages.
Step 506: and displaying the interactive control on the peripheral side of the first message.
Interactive controls are used to provide a user with access to interactions, including but not limited to: a like control, a flower spreading control, a reply control, etc. Illustratively, each interactive control corresponding to each message is displayed on the peripheral side of each message. But for the sake of simplicity of the user interface, the interactive control may be displayed only on the peripheral side of the first message in the highlighting process. As shown in fig. 6, an interactive control 606 is displayed to the right of the first message 604.
Step 507: and responding to the triggering operation on the interactive control, and sending the interactive message to the message account of the first message.
The triggering operation on the interactive control is used for triggering the message account of the first message to perform interaction. For example, the triggering operation is to interact with the first message by pressing one or more physical keys (such as physical keys on a steering wheel of the vehicle), and the user may also perform the triggering operation on the interactive control by a signal generated by releasing, long-pressing, clicking, double-clicking and/or sliding on the touch screen.
Optionally, the interaction mode includes at least one of praise, leave word, pay attention, add friend relationship, bind account, send flower, and clap.
Optionally, in response to a trigger operation on the interactive control, an interactive animation corresponding to the interactive message is displayed. Illustratively, as shown in fig. 9, in response to the user clicking on the interactive control 606 on the right side of the first message 604, the electronic map client displays an interactive animation 610 on the upper right side of the interactive control 606, wherein the interactive animation 610 represents the user's approval for the first message 604.
One point to be explained is: the above message may also support a search function. Responding to the message searching operation, and determining a searching keyword; and displaying the message matched with the search keyword in the bullet screen display area. For example, the search keyword is "make one's friends", and a message matching the search keyword "make one's friends" is displayed in the bullet screen display area. The message search operation may be a voice input operation or a keyboard input operation. Optionally, the search keyword has a validity period within which the server continues to provide matching search results for the search keyword. For example, the expiration date is 3 days or two weeks.
Another point to be noted is: the whole or partial human-computer interaction operation can be realized by virtual keys on a touch screen; or by physical keys on a steering wheel or a central control screen; but also by voice control operations.
In summary, the method provided in this embodiment displays the message in the pop-up screen form on the user interface of the electronic map, and provides a brand-new pop-up screen interaction system based on the message in the process of displaying the electronic map, so that the user can check the message in the process of using the electronic map, acquire information required by the user from the message, and perform social interaction with other user accounts, thereby providing a brand-new information acquisition manner and social interaction manner for the user, and creating a brand-new in-cab social atmosphere in the driving scene.
The method provided by the embodiment also provides a voice playing option for the message leaving information, avoids distraction of the user in the vehicle driving process, indirectly ensures the driving safety of the user, and provides a brand-new barrage form to bind the message leaving information in the barrage display area with the geographical position along the way in the real world, so that the barrage information can be hooked with the geographical position along the way in the real world.
And (3) editing and sending the message:
fig. 10 is a flowchart illustrating a message display method on an electronic map according to an exemplary embodiment of the present application. The method can be executed by the terminal 220 shown in fig. 2 or a client of an electronic map client running on the terminal 220, and the method comprises the following steps:
step 1001: responding to the message editing operation, and generating a second message bound with the first geographic position in the electronic map;
the message account of the second message is the first message account logged in by the home terminal.
Optionally, the first geographic location is a current navigation location of the first message account in a current navigation process. Alternatively, the first geographic location is any POI on the electronic map. Or, the first geographic location is a location in the real environment corresponding to any point on the electronic map. The first geographical location is set by the user at his or her discretion. Illustratively, in response to a user clicking on geographic location a in the electronic map, geographic location a is set as the first geographic location.
In the editing process of the second message, the electronic map client determines the current navigation position as the first geographic position; or, in response to a selection operation, determining the selected geographic position as the first geographic position, wherein the selection operation may be a click operation or a long-press operation on a certain geographic position on the electronic map; or, in response to an input operation, which may be a voice input operation or a text input operation, determining the input geographic position as the first geographic position.
The message editing operation is used for editing the message. The message editing operation is to edit the message by pressing one or more preset physical keys, and the user can also execute the message editing operation by a signal generated by releasing, long pressing, clicking, double clicking and/or sliding on the touch screen.
Optionally, the form of the second message includes at least one of voice, text, image, and video.
Optionally, after the second message is generated, the second message is displayed in the bullet screen display area. Optionally, the second message is displayed in a bullet screen form from bottom to top on the electronic map, or the second message is displayed in a bullet screen form from right to left on the electronic map.
The second message is input by the user in real time. Optionally, the second message is obtained by the terminal accessing a local storage. Optionally, the second message is downloaded by the terminal from the internet. Optionally, the second message is sent by other vehicle-mounted terminals to the vehicle-mounted terminal held by the user.
Optionally, the second message includes a voice message, and this step includes the following substeps:
and responding to the message recording operation, and acquiring the voice message bound with the first geographic position.
The message recording operation is used for recording voice message messages. The message recording operation is to record voice message by pressing one or more preset physical keys, and the user can also perform the message recording operation by a signal generated by releasing, long-pressing, clicking, double-clicking and/or sliding on the touch screen.
Illustratively, in response to a message recording operation, a voice message is collected through a microphone; and binding the first geographic position and the voice message.
Optionally, in response to a message recording operation on the voice recording control, starting to receive a voice message; and stopping receiving the voice message and displaying a message sending control in response to the recording time reaching the recording time threshold. Optionally, the remaining recording duration is displayed on the voice recording control, and the remaining recording duration is used for indicating the remaining duration in which the voice message can be recorded for the user. Optionally, the recording duration is displayed on a voice recording control. For example, as shown in fig. 11, in response to the user clicking the message control 1101, displaying a voice recording control 1102 and an expression selection control 1103, displaying "record in record 30' (click-to-send)" on the voice recording control 1102, and clicking the voice recording control 1102 may send a recorded voice message.
Optionally, the electronic map client or the server invokes the voice recognition model to recognize the voice message, and outputs text content corresponding to the voice message.
Optionally, in response to a message recording operation on the voice recording control, starting to receive a voice message; and responding to the message sending operation, stopping receiving the voice message, and sending the voice message to the server. Illustratively, as shown in fig. 11, in response to the user clicking the voice recording control 1102, recording of the voice message is started, and after the recording time, in response to the user clicking the voice recording control again, recording of the voice message is stopped and the voice recording message is simultaneously transmitted.
Optionally, a recording canceling control is further displayed on the user interface of the electronic map. And in response to the record canceling operation on the record canceling control, canceling the recording of the voice message. Illustratively, as shown in fig. 11, recording of the voice message may be canceled in response to the user clicking on the cancel recording control 1104.
Optionally, in response to the message sending operation, a sending identifier is displayed on the electronic map, and the sending identifier is used for indicating that the first message is successfully sent. Optionally, the form of the transmission identifier includes at least one of text, voice, image, and video.
Optionally, the second message includes an emoticon message, and this step includes the following substeps:
1. in response to an expression selection operation, a target expression is determined among a plurality of candidate expressions.
The user interface of the electronic map includes a message control. Responding to the triggering operation on the message leaving control, and displaying a voice recording control and an expression selection control; responding to expression display operation on the expression selection control, and displaying a plurality of candidate expressions; in response to an expression selection operation on the target expression, the target expression is determined among the plurality of candidate expressions. The expression display operation is used for displaying a plurality of candidate expressions. Illustratively, as shown in fig. 12, clicking the message control 1101 displays a voice recording control 1102 for recording a voice message and an emotion selection control 1103. And clicking the expression selection control 1103 to display a plurality of candidate expressions for the user to select.
Optionally, the candidate expression is determined according to the historical usage times of the user, and an expression with a high historical usage time is preferentially determined as the candidate expression. Illustratively, if the user uses expression a 42 times, uses expression B21 times, and uses expression C2 times, expression a and expression B are preferentially determined as candidate expressions.
Optionally, the candidate expression is determined according to the historical use frequency of the user, and an expression with high historical use frequency is preferentially determined as the candidate expression. Illustratively, in the past one week period, if the user uses expression a 4 times, uses expression B34 times, and uses expression C25 times, expression B and expression C are preferentially determined as candidate expressions.
Alternatively, candidate expressions are dynamically recommended based on holidays or news events.
The expression selection operation is used to determine a target expression. The expression selection operation is to determine a target expression by pressing one or more preset physical keys, and the user can also perform the expression selection operation by performing a signal generated by releasing, long-pressing, clicking, double-clicking and/or sliding on the touch screen. Illustratively, as shown in fig. 12, the user may click on a target expression 1105 from among a plurality of candidate expressions.
2. And acquiring the text content matched with the target expression in the message template library.
The message template library stores text contents corresponding to the target expressions one by one. Illustratively, as shown in fig. 12, after the user determines the target expression 1105, the text content 1106 is displayed directly.
Illustratively, the text content in the message template library carries an emotion tag, and the emotion tag is used for recording an emotion adapted to the text content. Optionally, determining, by the technician, textual content that fits the target expression; and storing the text content into a message template library. Optionally, calling an emotion analysis model to extract an emotion label of the first text content; and determining a first expression corresponding to the first text content from the plurality of candidate expressions according to the emotion label, and determining that the first expression and the first text content have an adaptive relationship.
Optionally, at least two groups of candidate text contents adapted to the target expression are obtained from a message template library; and responding to the text content selection operation, and acquiring target text content from at least two groups of candidate text content.
3. And combining the target expression and the text content into an expression message bound with the first geographic position.
Optionally, after the target expression and the text content are combined into the expression message bound to the first geographical location, the combined expression message is displayed in the bullet screen display area. Illustratively, as shown in fig. 12, after determining the text content 1106 of the emoticon message, the emoticon message 1107 is displayed.
Step 1002: and receiving an interactive message corresponding to the second message, wherein the interactive message is generated by the interaction of the user based on the second message account.
The interactive message is used for representing that the user of the second message account interacts with the second message.
Optionally, the first message account and the second message account have a one-way attention relationship or a two-way attention relationship.
Optionally, the interactive message includes at least one of a praise message, a leave message, a send flower message, a clap message, an attention message, a subscription relationship, a coin-in relationship, and a collection relationship.
Step 1003: and displaying the interactive message on the electronic map.
And after receiving the interactive message corresponding to the second message, displaying the interactive message on the electronic map according to the type of the interactive message. Optionally, the display content of the interactive message includes at least one of the interactive content, an avatar of the second account, a nickname of the second account, and a user identification number of the second account.
Because the vehicle-mounted terminal is not always in an online state, the server directly sends the interactive message to the vehicle-mounted terminal under the condition that the vehicle-mounted terminal is in the online state at the generation time of the interactive message, and an electronic map client on the vehicle-mounted terminal directly displays the interactive message; the method comprises the steps that when the generation time of the interactive message is in an off-line state, the server caches the interactive message, when the vehicle-mounted terminal is on line again, the server sends the interactive message to the vehicle-mounted terminal, and an electronic map client on the vehicle-mounted terminal displays the interactive message. Optionally, the server has a validity period for caching the interactive message, and when the vehicle-mounted terminal is not on line after exceeding the validity period, the server deletes the interactive message.
And responding to the triggering operation on the interactive message, and displaying the account detail card of the second message leaving account. Optionally, a friend adding control or a attention control is displayed on the account detail card, and a friend adding request for adding a second message account to the friend account is sent in response to a triggering operation on the friend adding control; and responding to a triggering operation on the attention control, and sending an attention request for paying attention to the second message account.
Optionally, responding to the interactive message corresponding to the received second message; and displaying a full-screen animation or a floating-layer animation corresponding to the message type of the interactive message on the electronic map. For example, in the case where the interactive message includes a praise message, a full-screen animation corresponding to the praise message is displayed on the electronic map.
For example, as shown in fig. 13, when the user of the second message account approves the second message of the first message account, an interactive relationship 1301 is displayed on the electronic map registered with the first message account, and a full-screen animation 1302 of "splash ribbon" corresponding to the approve message is displayed.
Optionally, the electronic map client further includes an account information interface, where the account information interface is configured to display an account having a unidirectional attention relationship or a bidirectional attention relationship with the first message leaving account, or the account information interface is configured to display historical message leaving information of the first message leaving account.
In summary, the method provided in this embodiment provides a recording and generating method for a voice message, and since the voice message is recorded through a voice recording operation, a user can safely socialize with other users through the message in the driving process.
The method provided by the embodiment also provides an editing and generating method of the expression message, and as the combination of the expression and the preset template library can provide more colorful celebration words aiming at certain holidays or celebration events, a vehicle-mounted social mode with rich expression content is provided.
The method provided by the embodiment also provides that the highlighting of the message is automatically triggered when the distance between the current navigation position and the geographic position along the way is less than the threshold value. And automatically playing the voice message when the message is the voice message; and under the condition that the message is an expression message, automatically playing full-screen animation of the expression message, and providing a novel interactive mode for a user to touch a message blind box in the driving process.
In the following embodiments, the message left by the user will be saved and maintained at the server. And the current navigation geography of the user during driving is transmitted back to the server, and matching and screening of the message leaving is carried out. It can be expected that when the embodiment of the present application is used at a high frequency, the server will maintain a considerable amount of message messages, and at the same time, a very large amount of screening calculation will be generated in each process of returning the current navigation position and matching the message messages. Therefore, in the implementation process of the embodiment of the application, the data structure and the screening strategy are very important, and efficient and reasonable interaction between the terminal and the server is required.
Fig. 14 is a flowchart illustrating a message display method on an electronic map according to an exemplary embodiment of the present application. The method may be performed by the computer system 200 shown in FIG. 2, the method comprising the steps of:
step 1401: the electronic map client acquires the current navigation position of the electronic map client.
The current navigation position refers to: the navigation client locates the geographic position obtained by the position of the navigation client.
Step 1402: and the electronic map client sends the current navigation position to the server.
Optionally, the electronic map client sends the current longitude and latitude information to the server.
Step 1403: and the server calculates the Hash index of the grid where the electronic map client is located according to the current navigation position.
Illustratively, the current navigation position is longitude and latitude information of the vehicle-mounted terminal, and one-to-one correspondence exists between the longitude and latitude information and the hash index. And rasterizing the region on the electronic map to obtain a plurality of grids which are not intersected with each other and are arranged in an array, wherein each grid has a respective hash index. And each geographic position belonging to the same grid corresponds to the Hash index of the grid.
For example, as shown in fig. 15, the regions are rasterized to obtain 9 grids with the same shape and the same size, and the 9 grids are sequentially denoted as "WX4ER", "WX4G2", "WX4G3", "WX4EP", "WX4G0", "WX4G1", "WX4DZ", "WX4FB", and "WX4FD" from left to right and from top to bottom. Assume that the current navigation position is located in the grid at the very center.
Optionally, the regions are rasterized to obtain grids of different sizes. Illustratively, as shown in fig. 16, the regions are rasterized to obtain grids 1, 2, 3, and 4, and grid 1 is further rasterized to obtain grids 11, 12, 15, and 16.
Step 1404: and the server obtains a grid sequence according to the Hash index, wherein the grid sequence is used for representing a grid where the electronic map client side is located and a plurality of grids around the grid where the electronic map client side is located.
The edge points of the grid may match points that may be far away but have the same hash value, while the points that are originally far away do not match, so it is necessary to pull multiple grids around the target grid, and the multiple grids are denoted as a grid sequence.
For example, as shown in fig. 15, after rasterizing the area to obtain 9 grids with the same shape and the same size, and then obtaining that the current navigation position of the user is within "WX4G0" of the 9 grids according to the hash index, the grids included in the message pull grid sequence are 8 grids around "WX4G0" and "WX4G0", in other words, the message pull grid sequence is all 9 grids shown in fig. 15.
Step 1405: the server judges whether the raster sequence has message or not.
If the raster sequence has message, go to step 1406;
if no message exists in the raster sequence, the flow is ended.
Step 1406: and the server screens the message leaving messages in the raster sequence to obtain a recommended message leaving message.
Optionally, the message leaving information in the grid sequence is screened according to the message leaving time to obtain a recommended message leaving information.
Optionally, the message in the raster sequence is screened according to the praise number of the message to obtain a recommended message. Optionally, the message leaving information in the raster sequence is screened according to the number of comments of the message leaving information, so as to obtain a recommended message leaving information.
Step 1407: and the server sends a message of leaving the recommended message to the electronic map client.
Step 1408: and the electronic map client receives and displays the recommended message.
And the electronic map client receives and displays the recommended message sent by the server. Optionally, the electronic map client displays at least two recommended message messages in a bullet screen mode in a bullet screen display area in a rolling manner.
Step 1409: the server monitors the electronic map client.
The server monitors the electronic map client to determine whether the electronic map client normally receives the recommended message and whether the recommended message is normally displayed.
In summary, the embodiment is implemented by using server data storage and matching a fine screening policy, and flexible policy configuration and safe data management can be implemented. Particularly, in the screening and fine-ranking processes, the capabilities of components such as a rule engine and the like can be introduced, and a rule strategy execution unit which is more flexible, rapid in configuration and rapid in online can be realized. In the interaction process of electronic map client data and cloud data, different data interaction paths are set in different links by combining service characteristics and the prior technical component architecture of a vehicle network. Meanwhile, special environmental characteristics such as a car networking service weak network are combined, corresponding compensation and optimization mechanisms are carried out at two ends of the terminal cloud, and user experience of the whole function is improved. In the data management and index matching links, a proper map grid mode is adopted, so that efficient management and rapid index of data are realized, expansion of data volume caused by function expansion is effectively coped with, and computing resources during online matching are saved. The cloud cooperation of the whole process end is reasonable, and high-quality and high-efficiency information acquisition and interaction experience can be provided for users based on the functional logic described by the product side.
In the following embodiments, a message fine screening method is provided, which performs fine screening on message messages provided by users, and implements flexible policy configuration and secure data management.
Fig. 17 is a flowchart illustrating a method for screening and ranking left message messages according to an exemplary embodiment of the present application. The method may be performed by the server 240 shown in fig. 2, the method comprising the steps of:
step 1601: the server acquires a raster data set of an area where the electronic map client is located.
The raster data set refers to the case of the grid division of the target area. Illustratively, the target area is divided into 9 grids, or the target area is divided into 4 grids.
Step 1602: the server judges whether the grid division of the area where the electronic map client is located is finished.
If the grid division of the area where the electronic map client is located is finished, executing step 1603;
if the grid division is not completed in the area where the electronic map client is located, go to step 1607.
Step 1603: and the server acquires the message left in the grid where the electronic map client is positioned.
Each grid represents a certain size of area, so each grid may include multiple message messages.
Step 1604: the server judges whether the grid where the electronic map client is located has candidate message leaving information.
If the candidate message exists, executing step 1605;
and if the candidate message does not exist, acquiring other message in the grid.
Step 1605: the server judges whether the candidate message satisfies the screening rule set.
If the candidate message satisfies the filtering rule set, go to step 1606;
and if the candidate message does not meet the screening rule set, selecting other message messages to carry out the step.
The screening rule set is used for screening the message data and can be set by a technician.
Step 1606: and the server adds the candidate message into the screening list.
The screening list stores the screened message.
Step 1607: the server determines whether the filter list is empty.
If the filter list is empty, go to step 1608;
if the filter list is not empty, go to step 1609.
Step 1608: and the server calls a fine strategy engine to screen the message leaving information in the area where the electronic map client is located, and the screened message leaving information is added into a screening list.
The fine-ranking strategy engine is used for ranking the message messages according to the screening rule set. For example, the message messages are ranked from high to low according to the interest probability of the user image to the message messages.
Optionally, the message leaving information in the area where the electronic map client is located is screened according to the message leaving time.
Optionally, screening the message leaving in the area where the electronic map client is located according to the praise number of the message leaving.
Optionally, the message leaving information in the area where the electronic map client is located is screened according to the number of the comments left.
Step 1609: the server obtains the message in the screening list.
In summary, the present embodiment performs fine screening on the message messages, selects the better message from the message messages, and implements flexible policy configuration and secure data management. Particularly, in the screening and fine-ranking processes, the capabilities of components such as a rule engine and the like can be introduced, and a rule strategy execution unit which is more flexible, rapid in configuration and rapid in online can be realized.
Embodiments of the present application may be employed in a variety of application scenarios. For example, in daily commuting of a user on and off duty, the user can be helped to learn about surrounding POI information or road condition information on a current route and issue a message of the user according to an interested topic by message messages of others (the message messages are bound to a certain geographical position on the commuting route) in the driving process. The message can be reserved at the current navigation position, other users can listen to the message when passing through the position and continue to interact, and a brand-new interaction method is provided for the users.
Illustratively, when a user enters an unfamiliar area, message leaving messages are displayed on the electronic map, and the user can know basic conditions of catering, accommodation, amusement and the like in the unfamiliar area through the message leaving messages, so that the travel selection of the user is enriched, and the decision of the user is assisted.
For example, a merchant may bind a message on an electronic map, and when a tourist passes by from near the merchant, the message is displayed on the electronic map of the tourist, so that the tourist can know the basic situation of the merchant quickly, thereby facilitating the propagation of merchant information and increasing the revenue of the merchant.
For example, the user a may bind a single friend making message on the electronic map, and when the user B passes through the area, the single friend making message is known through a blind box mechanism or a search mechanism, and then the user B makes friends with the user a, thereby realizing social contact based on the electronic map.
Illustratively, the traffic management department publishes a message of the congested road section on an electronic map, and each user can know the road condition of the congested road section based on the barrage message.
For example, a user may pay attention to an account of a KOC (Key Opinion Consumer) and/or a KOL (Key Opinion Leader), and during traveling of the user, since the user has paid attention to the KOC and/or the KOL, a message about a surrounding area issued by the KOC and/or the KOL may be obtained, so that the user can know consumption conditions of the surrounding area.
Fig. 18 is a block diagram illustrating a message display apparatus on an electronic map according to an exemplary embodiment of the present application, where the apparatus 170 includes:
the display module 171 is configured to display a user interface of an electronic map client, where the user interface includes the electronic map and a bullet screen display area;
a navigation module 172 for displaying map information on the electronic map;
and a bullet screen module 173 configured to display at least one message in a bullet screen manner in the bullet screen display area.
In an optional design of the present application, the display module 171 is further configured to scroll and display at least two message messages in a bullet screen form in the bullet screen display area according to the display sequence.
In an optional design of the present application, the display module 171 is further configured to scroll and display the at least two message messages in the bullet screen display area according to a display sequence; highlighting a first message of the at least two messages during scrolling; wherein the highlighting comprises: at least one of enlarged font display, highlight display, target foreground color display, target background color display and rolling effect display.
In an optional design of the present application, the display module 171 is further configured to determine a scroll speed corresponding to a current vehicle speed, where the scroll speed is in a negative correlation with the current vehicle speed; and displaying the at least two message messages in the bullet screen display area in a rolling manner along the rolling direction according to the rolling speed.
In an optional design of the present application, the display module 171 is further configured to determine the first message in the at least two message messages according to the display sequence in the scrolling process, and highlight the first message; or, under the condition that the triggering condition of the first message is met in the scrolling process, highlighting the first message in the at least two message messages; the triggering condition comprises that the distance between the current navigation position and the along-road geographic position bound by the first message is smaller than a threshold value, and the along-road geographic position is a position passed by in the current navigation process.
In an optional design of the present application, the bullet screen module 173 is further configured to play the voice message when a trigger condition of the voice message is met; wherein the triggering condition comprises that the distance between the current navigation position and the geographical position along the way bound by the voice message is less than a threshold value.
In an optional design of the present application, the at least two message messages include a message bound to a geographic location along the way in the electronic map, where the geographic location along the way is a location that is traveled during the current navigation process.
In an optional design of the present application, the display module 171 is further configured to play an expression animation corresponding to the expression message when the trigger condition of the expression message is met; the triggering condition comprises that the distance between the current navigation position and the geographical position on the way bound by the expression message is smaller than a threshold value.
In an alternative design of the present application, the presentation order is determined based on at least one of the following factors: the priority of the message; the type of the message account corresponding to the message; and the distance between the geographical position bound with the message and the current navigation position.
In an optional design of the present application, at least one message is displayed in a bullet screen form in the bullet screen display area under the condition that the display condition of the message is met; the display condition of the message comprises at least one of the following conditions: the priority of the message leaving information is greater than the preset priority; the type of the message account corresponding to the message is a target type; the distance between the geographical position bound by the message and the current navigation position is smaller than a distance threshold value; the message account corresponding to the message has a friend relationship, a concern relationship or a subscription relationship with a first message account logged in by the home terminal; the message is recommended by the server; the electronic map works in a target navigation mode.
In an optional design of the present application, the message account type includes at least one of: navigating a user account; a merchant account associated with the point of interest POI; account number of traffic control department; a news media account.
In an optional design of the present application, the bullet screen module 173 is further configured to determine a search keyword in response to a message search operation; and displaying the message matched with the search keyword in the bullet screen display area.
In an optional design of the present application, the display module 171 is further configured to display a message anchor point of the message at the geographic location along the route to which the message is bound.
In an optional design of the present application, the bullet screen module 173 is further configured to respond to the interaction triggering operation, and send an interaction message to a message account of the message; wherein the interactive message comprises: at least one of a praise message, a clap message, a send flower message.
In an optional design of the present application, the bullet screen module 173 is further configured to generate a second message bound to the first geographic location in the electronic map in response to a message editing operation, where a message account of the second message is a first message account logged in by the local terminal.
In an optional design of the present application, the barrage module 172 is further configured to respond to a message recording operation, and obtain a voice message bound to the first geographic location; or, in response to an expression selection operation, determining a target expression among a plurality of candidate expressions; acquiring the text content adapted to the target expression from a message template library; and combining the target expression and the text content into an expression message bound with the first geographic position.
In an alternative design of the present application, the navigation module 172 is further configured to determine a current navigation position as the first geographic position; or, in response to a selection operation, determining the selected geographic location as the first geographic location; or, in response to an input operation, determining the input geographic position as the first geographic position.
In an optional design of the present application, the bullet screen module 173 is further configured to receive an interactive message corresponding to the second message, where the interactive message is generated by a user interacting with the second message based on a second message account; and displaying the interactive message on the bullet screen display area.
In an optional design of the present application, the display module 171 is further configured to display a full-screen animation corresponding to the interactive message on the user interface.
In summary, the method provided by this embodiment displays the message in the form of a barrage on the user interface of the electronic map, and provides a brand-new barrage interaction system based on the message in the process of displaying the electronic map, so that the user can check the message in the process of using the electronic map, obtain the information required by the user from the message, and perform social interaction with other user accounts, thereby providing a brand-new information obtaining manner and social interaction manner for the user, and creating a brand-new social atmosphere in the cockpit in the driving scene.
Referring to fig. 19, a block diagram of a terminal 1800 according to an exemplary embodiment of the present application is shown. The terminal 1800 may be a portable mobile terminal such as: the mobile phone comprises a smart phone, a tablet computer, a motion Picture Experts Group Audio Layer 3 (MP 3) player, and a motion Picture Experts Group Audio Layer 4 (MP 4) player. The terminal 1800 may also be referred to by other names such as user equipment, portable terminal, etc.
Generally, the terminal 1800 includes: a processor 1801 and a memory 1802.
The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1801 may be implemented in at least one hardware form of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1801 may be integrated with a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1801 may further include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.
Memory 1802 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1802 is used to store at least one instruction for execution by the processor 1801 to implement a method provided by embodiments of the present application.
In some embodiments, the terminal 1800 may further optionally include: a peripheral interface 1803 and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1804, touch screen display 1805, camera assembly 1806, audio circuitry 1807, positioning assembly 1808, and power supply 1809.
The peripheral interface 1803 may be used to connect Input/Output (I/O) related at least one peripheral to the processor 1801 and the memory 1802. In some embodiments, the processor 1801, memory 1802, and peripheral interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1801, the memory 1802, and the peripheral interface 1803 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1804 is used to receive and transmit Radio Frequency (RF) signals, also referred to as electromagnetic signals. The radio frequency circuitry 1804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuitry 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or Wireless Fidelity (WiFi) networks. In some embodiments, the rf circuit 1804 may also include Near Field Communication (NFC) related circuits, which are not limited in this application.
The touch display 1805 is used to display a UI. The UI may include graphics, text, icons, video, and any combination thereof. The touch display screen 1805 also has the ability to capture touch signals on or over the surface of the touch display screen 1805. The touch signal may be input to the processor 1801 as a control signal for processing. The touch screen 1805 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the touch display 1805 may be one, providing a front panel of the terminal 1800; in other embodiments, the number of the touch display screens 1805 may be at least two, and each of the screens is disposed on a different surface of the terminal 1800 or is in a folding design; in still other embodiments, the touch display 1805 may be a flexible display disposed on a curved surface or a folded surface of the terminal 1800. Even more, the touch display 1805 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The touch screen 1805 may be made of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The camera assembly 1806 is used to capture images or video. Optionally, the camera assembly 1806 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a Virtual Reality (VR) shooting function. In some embodiments, camera assembly 1806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp and can be used for light compensation under different color temperatures.
The audio circuit 1807 is used to provide an audio interface between a user and the terminal 1800. The audio circuitry 1807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1801 for processing or inputting the electric signals to the radio frequency circuit 1804 to achieve voice communication. The microphones may be provided in a plurality, respectively, at different positions of the terminal 1800 for the purpose of stereo sound collection or noise reduction. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1801 or the radio frequency circuitry 1804 to sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 1807 may also include a headphone jack.
The positioning component 1808 is used to locate a current navigation position of the terminal 1800 for implementing navigation or Location Based Service (LBS). The Positioning component 1808 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 1809 is used to power various components within the terminal 1800. The power supply 1809 may be ac, dc, disposable or rechargeable. When the power supply 1809 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 1800 also includes one or more sensors 1810. The one or more sensors 1810 include, but are not limited to: acceleration sensor 1811, gyro sensor 1812, pressure sensor 1813, fingerprint sensor 1814, optical sensor 1815, and proximity sensor 1816.
The acceleration sensor 1811 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal 1800. For example, the acceleration sensor 1811 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1801 may control the touch display 1805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1811. The acceleration sensor 1811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1812 may detect a body direction and a rotation angle of the terminal 1800, and the gyro sensor 1812 may cooperate with the acceleration sensor 1811 to collect a 3D motion of the user on the terminal 1800. The processor 1801 may implement the following functions according to the data collected by the gyro sensor 1812: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 1813 may be disposed on a side frame of the terminal 1800 and/or on a lower layer of the touch display 1805. When the pressure sensor 1813 is disposed at a side frame of the terminal 1800, a user's grip signal on the terminal 1800 can be detected, and right and left hand recognition or shortcut operation can be performed according to the grip signal. When the pressure sensor 1813 is disposed at the lower layer of the touch display screen 1805, the operability control on the UI interface can be controlled according to the pressure operation of the user on the touch display screen 1805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1814 is used to collect a fingerprint of a user to identify the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1801 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1814 may be disposed on the front, back, or side of the terminal 1800. When a physical key or a vendor Logo is provided on the terminal 1800, the fingerprint sensor 1814 may be integrated with the physical key or the vendor Logo.
The optical sensor 1815 is used to collect the ambient light intensity. In one embodiment, the processor 1801 may control the display brightness of the touch display 1805 according to the ambient light intensity collected by the optical sensor 1815. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1805 is increased; when the ambient light intensity is low, the display brightness of the touch display 1805 is turned down. In another embodiment, the processor 1801 may also dynamically adjust the shooting parameters of the camera assembly 1806 according to the intensity of the ambient light collected by the optical sensor 1815.
A proximity sensor 1816, also known as a distance sensor, is typically disposed on the front face of the terminal 1800. The proximity sensor 1816 serves to collect a distance between the user and the front surface of the terminal 1800. In one embodiment, when the proximity sensor 1816 detects that the distance between the user and the front surface of the terminal 1800 gradually decreases, the processor 1801 controls the touch display 1805 to switch from the bright screen state to the dark screen state; when the proximity sensor 1816 detects that the distance between the user and the front surface of the terminal 1800 becomes gradually larger, the processor 1801 controls the touch display 1805 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 19 is not intended to be limiting of terminal 1800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Referring to fig. 20, a schematic structural diagram of a server provided in an embodiment of the present application is shown, where the server may be used to implement the team matching method performed by the server provided in the foregoing embodiment. The server 1900 includes a Central Processing Unit (CPU) 1901, a system Memory 1904 including a Random Access Memory (RAM) 1902 and a Read-Only Memory (ROM) 1903, and a system bus 1905 connecting the system Memory 1904 and the Central Processing unit 1901. The server 1900 also includes a basic Input/Output system (I/O) 1906 for facilitating information transfer between devices within the computer, and a mass storage device 1907 for storing an operating system 1913, client terminals 1914, and other program modules 1915.
The basic input/output system 1906 includes a display 1908 for displaying information and an input device 1909, such as a mouse, keyboard, etc., for user input of information. Wherein the display 1908 and input device 1909 are coupled to the central processing unit 1901 through an input/output controller 1910 coupled to the system bus 1905. The basic input/output system 1906 may also include an input/output controller 1910 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input/output controller 1910 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 1907 is connected to the central processing unit 1901 through a mass storage controller (not shown) connected to the system bus 1905. The mass storage device 1907 and its associated computer-readable media provide non-volatile storage for the server 1900. That is, the mass storage device 1907 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact disk Read-Only Memory) drive.
Without loss of generality, the computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other solid state Memory technology, CD-ROM, DVD (Digital Video Disc) or other optical, magnetic, or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1904 and mass storage device 1907 described above may be collectively referred to as memory.
The server 1900 may also operate with remote computers connected to a network via a network, such as the internet, according to various embodiments of the present application. That is, the server 1900 may be connected to the network 1912 through the network interface unit 1911 connected to the system bus 1905, or the network interface unit 1911 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory and configured to be executed by the one or more central processing units 1901.
The embodiment of the present application further provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the message display method on the electronic map according to the above embodiments.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the terminal executes the message display method on the electronic map provided in the various alternative implementations of the above aspects.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (20)

1. A method of displaying messages on an electronic map, the method comprising:
displaying a user interface of an electronic map client, wherein the user interface comprises the electronic map and a bullet screen display area;
displaying map information on the electronic map;
and displaying at least one message in the bullet screen display area in a bullet screen mode.
2. The method of claim 1, wherein displaying at least one message in the bullet screen form in the bullet screen display area comprises:
and at least two message messages are displayed in the bullet screen display area in a rolling manner in a bullet screen mode according to the display sequence.
3. The method according to claim 2, wherein said scrolling displaying at least two message messages in a bullet screen form in a display order in said bullet screen display area comprises:
scrolling and displaying the at least two message messages in the bullet screen display area according to the display sequence;
highlighting a first message of the at least two messages during scrolling;
wherein the highlighting comprises: at least one of enlarged font display, highlight display, target foreground color display, target background color display and rolling effect display.
4. The method of claim 3, wherein the scrolling the at least two message messages in the bullet screen display area in the presentation order comprises:
determining a rolling speed corresponding to the current vehicle speed, wherein the rolling speed and the current vehicle speed are in a negative correlation relationship;
and displaying the at least two message messages in the bullet screen display area in a rolling manner along the rolling direction according to the rolling speed.
5. The method of claim 2,
the at least two message messages comprise message messages bound with the geographical position along the way in the electronic map, and the geographical position along the way is the position passed by in the current navigation process.
6. The method of claim 5, wherein highlighting a first message of the at least two messages during the scrolling comprises:
determining the first message in the at least two messages according to the display sequence in the scrolling process, and highlighting the first message;
or,
highlighting a first message of the at least two messages when the triggering condition of the first message is met in the scrolling process; the triggering condition comprises that the distance between the current navigation position and the geographical position bound by the first message leaving message is smaller than a threshold value.
7. The method according to claim 5, wherein the first message includes a voice message and a text content of the voice message, and the text content of the voice message is obtained by performing voice-to-word processing on the voice message;
the method further comprises the following steps:
playing the voice message under the condition that the triggering condition of the voice message is met;
wherein the triggering condition comprises that the distance between the current navigation position and the geographical position along the way bound by the voice message is less than a threshold value.
8. The method of claim 5, wherein the first message comprises an emoticon message, and wherein the method further comprises:
playing the expression animation corresponding to the expression message under the condition that the triggering condition of the expression message is met;
the triggering condition comprises that the distance between the current navigation position and the geographical position on the way bound by the expression message is smaller than a threshold value.
9. The method of claim 5, wherein the presentation order is determined based on at least one of the following factors:
the priority of the message;
the type of the message account corresponding to the message;
and the distance between the geographical position bound with the message and the current navigation position.
10. The method according to any one of claims 1 to 9, wherein said displaying at least one message in a bullet screen form in said bullet screen display area comprises:
under the condition that the display condition of the message is met, displaying at least one message in a bullet screen mode in the bullet screen display area;
the display condition of the message comprises at least one of the following conditions:
the priority of the message leaving information is greater than the preset priority;
the type of the message account corresponding to the message is a target type;
the distance between the geographical position bound with the message and the current navigation position is smaller than a distance threshold value;
the message account corresponding to the message has a friend relationship or concern relationship or subscription relationship with a first message account logged in by the home terminal;
the message is recommended by the server;
the electronic map works in a target navigation mode.
11. The method according to any one of claims 1 to 9, further comprising:
determining the background color of the message according to the type of the message account of the message; wherein, the message account type includes at least one of the following types:
navigating a user account;
a merchant account associated with the point of interest POI;
account number of traffic management department;
a news media account.
12. The method according to any one of claims 1 to 9, further comprising:
and displaying the message anchor point of the message at the geographical position along the bound message.
13. The method of any of claims 1 to 9, further comprising:
responding to the interaction triggering operation, and sending an interaction message to a message account of the message;
wherein the interactive message comprises: at least one of a praise message, a clap message, a send flower message.
14. The method of any of claims 1 to 9, further comprising:
and responding to message editing operation, and generating a second message bound with the first geographic position in the electronic map, wherein the message account of the second message is the first message account logged in by the local terminal.
15. The method of claim 14, wherein generating a second message bound to a first geographic location in the electronic map in response to a message editing operation comprises:
responding to message recording operation, and acquiring a voice message bound with the first geographical position;
or,
determining a target expression in a plurality of candidate expressions in response to an expression selection operation; acquiring the text content adapted to the target expression from a message template library; and combining the target expression and the text content into an expression message bound with the first geographic position.
16. The method of claim 14, wherein the method comprises:
determining a current navigation location as the first geographic location;
or the like, or a combination thereof,
in response to a selection operation, determining the selected geographic location as the first geographic location;
or,
in response to an input operation, determining the input geographic location as the first geographic location.
17. The method of claim 14, further comprising:
receiving an interactive message corresponding to the second message, wherein the interactive message is generated by the interaction of a user based on a second message account on the second message;
and displaying the interactive message on the bullet screen display area.
18. An apparatus for displaying a message on an electronic map, the apparatus comprising:
the display module is used for displaying a user interface of an electronic map client, and the user interface comprises the electronic map and a bullet screen display area;
the display module is also used for displaying map information on the electronic map;
and the bullet screen module is used for displaying at least one message in the bullet screen display area in a bullet screen mode.
19. A computer device, characterized in that the computer device comprises: a processor and a memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions that is loaded and executed by the processor to implement the message display method on an electronic map as claimed in any one of claims 1 to 17.
20. A computer-readable storage medium, characterized in that at least one program code is stored therein, which is loaded and executed by a processor to implement the message display method on an electronic map according to any one of claims 1 to 17.
CN202110620280.6A 2021-06-03 2021-06-03 Method, device, equipment and medium for displaying message on electronic map Pending CN115437586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110620280.6A CN115437586A (en) 2021-06-03 2021-06-03 Method, device, equipment and medium for displaying message on electronic map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110620280.6A CN115437586A (en) 2021-06-03 2021-06-03 Method, device, equipment and medium for displaying message on electronic map

Publications (1)

Publication Number Publication Date
CN115437586A true CN115437586A (en) 2022-12-06

Family

ID=84239831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110620280.6A Pending CN115437586A (en) 2021-06-03 2021-06-03 Method, device, equipment and medium for displaying message on electronic map

Country Status (1)

Country Link
CN (1) CN115437586A (en)

Similar Documents

Publication Publication Date Title
US11698268B2 (en) Street-level guidance via route path
JP5676147B2 (en) In-vehicle display device, display method, and information display system
CN112446935B (en) Local sensor augmentation for stored content and AR communication
US9767610B2 (en) Image processing device, image processing method, and terminal device for distorting an acquired image
KR20200023702A (en) Method of providing image to vehicle, and electronic device therefor
US20090289955A1 (en) Reality overlay device
US20130208004A1 (en) Display control device, display control method, and program
CN105593641A (en) Method and device for augmented display
CN110274611B (en) Information display method, device, terminal and storage medium
CN113160427A (en) Virtual scene creating method, device, equipment and storage medium
US20130317735A1 (en) Method and apparatus for associating panoramic images with routing information
CN115357311A (en) Travel information sharing method and device, computer equipment and storage medium
CN115731370A (en) Large-scene element universe space superposition method and device
CN112269939B (en) Automatic driving scene searching method, device, terminal, server and medium
WO2024152660A1 (en) Route-based weather condition display method and apparatus, and device and storage medium
JP2018169244A (en) Mobile entity information providing service system, mobile entity information providing service server device, device for mobile entity window, and method of mobile entity information providing service
CN109559382A (en) Intelligent guide method, apparatus, terminal and medium
CN113297510A (en) Information display method, device, equipment and storage medium
CN110245206B (en) Map style acquisition method and device, server, terminal and storage medium
CN115437586A (en) Method, device, equipment and medium for displaying message on electronic map
CN115437540A (en) Method, device, equipment and medium for displaying message on electronic map
CN113144595A (en) Virtual road generation method, device, terminal and storage medium
CN111275300A (en) Road network data processing method, device, equipment and storage medium
WO2023103629A1 (en) Lane indication method and apparatus, device, storage medium, and computer program product
CN116643651A (en) AR-based superposition mode navigation method, device, equipment and AR glasses

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