CN110660313A - Information presentation method and device - Google Patents

Information presentation method and device Download PDF

Info

Publication number
CN110660313A
CN110660313A CN201810714489.7A CN201810714489A CN110660313A CN 110660313 A CN110660313 A CN 110660313A CN 201810714489 A CN201810714489 A CN 201810714489A CN 110660313 A CN110660313 A CN 110660313A
Authority
CN
China
Prior art keywords
labeling
user
annotation
words
word
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
CN201810714489.7A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810714489.7A priority Critical patent/CN110660313A/en
Publication of CN110660313A publication Critical patent/CN110660313A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/005Map projections or methods associated specifically therewith
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/10Map spot or coordinate position indicators; Map reading aids

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an information presentation method and device. One embodiment of the method comprises: determining a labeling area of each labeling word to be presented to a user, wherein the labeling area of each labeling word is a sub-area which is not overlapped with the labeling areas of other labeling words, and the labeling area of each labeling word is located in the electronic map and can surround the labeling word; and presenting the labeled terms to the user in the labeled area of each labeled term. The method and the device realize that the annotation words of the interest points can be presented to the user according to the font size set by the user, and automatically adjust the number of the annotation words presented to the user and/or adjust the font size of characters in the annotation words according to the movement of the user to the terminal when the user watches the presented map data.

Description

Information presentation method and device
Technical Field
The present application relates to the field of computers, and in particular, to the field of electronic maps, and more particularly, to a method and an apparatus for presenting information.
Background
Currently, all users present the annotation words of the interest points in a uniform font size when using the electronic map. Due to differences in the user's eyesight and reading habits, there are often situations in which it is desirable to increase the size of the text in the tagged terms or decrease the size of the text in the tagged terms. The user needs to perform a zoom operation on the electronic map to increase the size of the text in the tagged terms or decrease the size of the text in the tagged terms. And each time the annotation word is presented, the user needs to zoom once on the electronic map.
Disclosure of Invention
The embodiment of the application provides an information presentation method and device.
In a first aspect, an embodiment of the present application provides an information presentation method, including: determining a labeling area of each labeling word to be presented to a user, wherein the labeling area of each labeling word is a sub-area which is not overlapped with the labeling areas of other labeling words, and the labeling area of each labeling word is located in the electronic map and can surround the labeling word; and presenting the labeled terms to the user in the labeled area of each labeled term.
In a second aspect, an embodiment of the present application provides an information presenting apparatus, including: the determining unit is configured to determine a labeling area of each labeling word to be presented to a user, wherein the labeling area of each labeling word is a sub-area which is not overlapped with the labeling areas of other labeling words, and the labeling areas of the labeling words are located in the electronic map and can surround the labeling words; and the presentation unit is configured to present the annotation terms to the user in the annotation areas of the annotation terms.
According to the information presentation method and the information presentation device, the labeling area of each labeling word to be presented to a user is determined, wherein the labeling area of each labeling word is a sub-area which is not overlapped with the labeling areas of other labeling words, and the labeling area of each labeling word is located in an electronic map and can surround the labeling word; and presenting the labeled terms to the user in the labeled area of each labeled term. The method and the device realize that the labeled words of the interest points can be presented to the user according to the font size set by the user, and automatically adjust the number of the labeled words presented to the user and/or adjust the font size of characters in the labeled words according to the movement of the user to the terminal when the user watches the map data presented.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates an exemplary system architecture suitable for use to implement embodiments of the present application;
FIG. 2 shows a flow diagram of one embodiment of an information presentation method according to the present application;
FIG. 3 illustrates an effect diagram showing a user with annotation terms;
FIG. 4 shows a flow diagram of another embodiment of an information presentation method according to the present application;
FIG. 5 shows a schematic structural diagram of one embodiment of an information presentation device according to the present application;
FIG. 6 is a block diagram of a computer system suitable for use with a terminal implementing an embodiment of the application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to FIG. 1, an exemplary system architecture suitable for use in implementing embodiments of the present application is shown.
As shown in fig. 1, the system architecture includes a terminal 101, a network 102, and a server 103. The network 102 may be a wired communication network or a wireless communication network.
The server 103 may be a server that provides an electronic map service. The terminal 101 may obtain electronic map data of an area, such as a city, from the server 103. The map data includes data for a plurality of points of interest within the area. The data of the points of interest include: the outline of the interest point, the type identification of the interest point and the labeled words of the interest point. When the user of the terminal 101 uses the electronic map, the outline of the part of the interest points in the electronic map, the type identification of the part of the interest points, and the annotation words of the part of the interest points can be presented to the user on the terminal 101 each time.
Referring to fig. 2, a flow diagram of one embodiment of an information presentation method according to the present application is shown. The information presentation method provided by the embodiment of the application can be executed by a terminal (for example, the terminal 101 in fig. 1). The method comprises the following steps:
step 201, determining a labeling area of each labeling word to be presented to a user.
In this embodiment, the name of the point of interest in the electronic map may be referred to as a tagging word. One point of interest has a name and one point of interest has a label term, and accordingly, one label term belongs to one point of interest. The font sizes of all the characters in one tagging word are the same.
In this embodiment, the font size of the text in the annotation word may be set by a user of the electronic map. The font size of the annotation words of the interest points displayed on the electronic map can be preset by a user, and the font size of characters in the annotation words to be presented can be the font size preset by the user.
In some optional implementations of this embodiment, the font of the text in the tagged word includes one of: font size set by the user, default font size. When the font size of the annotation word of the interest point displayed on the electronic map is preset by the user, the font size of the characters in the annotation word to be presented may be the font size preset by the user, and when the font size of the characters in the annotation word of the interest point displayed on the electronic map is not preset by the user, the font size of the characters in the annotation word to be presented may be the default font size.
In this embodiment, before each annotation term is presented to the user, the annotation region of each annotation term can be determined separately. The labeling area of one labeling word is an area which can surround the labeling word and is positioned in the electronic map. The shape of the labeling area may be rectangular. The area of the labeling area of a labeling word can be slightly larger than that of the labeling word. When the font size of the characters in the labeled words is the preset font size, the labeling area of one labeled word is an area which is positioned in the electronic map and can surround the labeled word. In other words, when the text in a tagged word is presented to the user in a preset font size, the tagged word is presented to the user within a tagged region of the electronic map that can enclose the tagged word.
For example, the font size is set in advance by the user. The user opens the electronic map APP, firstly, a preset number of interest points near the user can be determined according to the current position of the user, and the annotation words of the preset number of interest points near the user are the annotation words to be presented to the user. Before presenting annotation terms for a preset number of points of interest near the user to the user, the annotation region for each annotation term to be presented to the user may first be determined.
In this embodiment, the other annotation terms do not refer to a certain annotation term, but refer to a certain annotation term. For one annotation word, all annotation words to be presented except the annotation word are other annotation information. And determining sub-regions in which the labeling region of each labeling word to be presented to the user is not overlapped with the labeling regions of other labeling words, wherein the determined labeling region of each labeling word is not the same as the labeling regions of other labeling words. In other words, for any one annotation region of an annotation word, the annotation region of the annotation word has no same sub-region as any other annotation region except the annotation word. Therefore, when each annotation word to be presented to the user is presented to the user in the respective annotation area, the situation that any two annotation words are not overlapped can be ensured. For the labeling area of one labeling word, the number of other labeling words of the labeling word is multiple, and the determined labeling area of the labeling word and the labeling area of any other labeling word of the labeling word are not overlapped sub-areas.
In the embodiment, when the user uses the electronic map, the outline of part of the interest points and the type identification of the interest points are presented to the user. The pattern representing the outline of the interest point is drawn in the electronic map according to the longitude and latitude of the interest point, and the marked area of the pattern representing the outline of the interest point is associated with the longitude and latitude of the interest point in the electronic map. The determined annotation word annotation region of each interest point should also be located within or near the pattern representing the outline of the interest point.
In some optional implementations of the present embodiment, when determining the annotation region for each annotation term to be presented to the user, an initial annotation region for each annotation term may be determined first. Each initial labeling area is located at the same initial labeling direction, and the labeling direction where the labeling area of the labeling word is located is the direction of the labeling area relative to the type identification of the interest point to which the labeling word belongs in the electronic map.
The labeling orientation in which the labeling area of the labeling word is located may be: the method comprises the steps of marking left of type identification of an interest point to which a word belongs in an electronic map, marking right of type identification of the interest point to which the word belongs in the electronic map, marking below of the type identification of the interest point to which the word belongs in the electronic map, marking above of the type identification of the interest point to which the word belongs in the electronic map, marking right above of the type identification of the interest point to which the word belongs in the electronic map, marking left above of the type identification of the interest point to which the word belongs in the electronic map, marking right below of the type identification of the interest point to which the word belongs in the electronic map, and marking left below of the type identification of the interest point to which the word belongs in the electronic map.
After determining the initial tagging region of each tagged term, it may be determined whether the initial tagging region of each tagged term overlaps with the tagging regions of other tagged terms. When the initial labeling area of one labeling word is overlapped with the area of the initial labeling area of at least one other labeling word, the labeling word is the labeling word with the overlapped areas. Then, a part of the annotation words can be selected from the annotation words with overlapped areas. After selecting part of the labeled words, the following conditions are satisfied: the initial labeling regions of any two of the labeling terms other than the selected partial labeling term have no overlapping sub-regions. The initial labeling region of each of the labeling terms other than the selected partial labeling term may be directly used as the labeling region of each of the labeling terms other than the selected labeling term. In other words, for each of the annotation terms except for the selected part of the annotation terms, the determined initial annotation region is directly used as the annotation region surrounding the annotation term when being presented to the user, and the initial annotation regions of any two terms in the annotation terms except for the selected part of the annotation terms do not have overlapped sub-regions. And for each word in the partial annotation words selected from the annotation words with overlapped areas, the initial annotation area is not used as the annotation area surrounding the annotation words when being presented to the user, but the annotation area is determined again. The re-determined label area is located at a different orientation than the original label area. The labeling area of each of the selected part of the labeling terms in the other labeling orientation different from the initial labeling orientation can be determined respectively. And a sub-region, in which the labeling region of each labeling word in the determined part of labeling words, which is located in the other labeling orientation different from the initial labeling orientation, is not overlapped with the labeling region of any other labeling word. Because the labeling areas of any two labeling words in the labeling words except for the selected part of the labeling words, namely the initial labeling areas of any two labeling words, are not overlapped sub areas, the labeling areas of each determined part of the labeling words in other labeling orientations different from the initial labeling orientations are not overlapped sub areas with the labeling area of any other labeling word, so that the labeling area of each labeling word to be presented to the user is not overlapped sub areas with the labeling areas of other labeling words.
For example, the number of annotation terms to be presented to the user is 3. One label word is the name of a mall, one label word is the name of a park, and one label word is the name of an office building. The initial labeling area of each labeling word to be presented to the user can surround the labeling word, and the initial labeling area of each labeling word is positioned on the right of the type mark of the point of interest to which the initial labeling area of each labeling word belongs, namely the initial labeling area of the labeling word of the market is positioned on the right of the type mark of the market positioned in the outline of the market in the electronic map, the initial labeling area of the labeling word of the park is positioned on the right of the type mark of the park positioned in the outline of the park in the electronic map, and the initial labeling area of the labeling word of the office building is positioned on the right of the type mark of the office building positioned in the outline of the office building in the electronic map. When the font size is preset by the user, the font size of the character marked with the words adopts the font size set by the user. Under the condition that the font size set by the user is large, correspondingly, the area of the initial labeling area of each labeling word is also large, and the labeling areas of some labeling words are in the same direction, so that the condition that sub-areas overlapped with each other appear in the labeling areas of some labeling words may occur.
The initial labeling area of the labeling words of the park is not overlapped with the initial labeling areas of the labeling words of the mall and the office building. The marked words of the shopping mall and the marked words of the office building are overlapped marked words. After any one of the annotation terms is selected, the initial annotation area of the remaining annotation term can be a sub-area which is not overlapped with the initial annotation area of the annotation term of the park, so that any one of the annotation terms can be selected. Assuming that the annotation words of the shopping mall are selected, the initial annotation area of the annotation words of the office building can be directly used as the annotation area of the annotation words of the office building, and the initial annotation area of the annotation words of the park can be used as the annotation area of the annotation words of the park. The marked area of a mall can be determined again at another marked position, for example, above the marked position of the mall located in the outline of the mall and located at the other marked position, i.e., to the right, of the mall located in the electronic map. The determined labeling area of the mall and the labeling area of the labeling words of the office building, namely the initial labeling area of the office building, and the determined labeling area of the labeling words of the park, namely the initial labeling area of the labeling words of the park are not overlapped. Therefore, the final labeling area of the labeling words of the market and the final labeling area of the type label of the market in the outline of the market in the electronic map are positioned at the right side, and the labeling areas of the labeling words of the park are not overlapped sub-areas.
Referring to FIG. 3, a schematic diagram of one effect of presenting annotation terms to a user is shown.
In fig. 3, a type identifier 301 of an auditorium, a tagging word 302 of the auditorium, a type identifier 303 of an art center, a tagging word 304 of the art center, a type identifier 305 of a park, a tagging word 306 of the park in an electronic map are shown. The font size of the text in each tagged word may be a font size set by the user. The areas of the labeling areas of the auditorium, the artistic center and the park are slightly larger than the total area of the respective labeling words. The outlines of the respective annotation areas are not presented to the user when the respective annotation terms of the auditorium, the artistic center, the park are presented to the user. The labeling position of the auditorium and the park is the right side of the respective type identifier, and the labeling position of the art center is the upper side of the type identifier and is different from the labeling position of the auditorium and the park, so that the overlapping of the labeling words of the art center and the labeling words of the park is avoided.
Step 202, presenting the annotation terms to the user in the annotation region of each annotation term.
In this embodiment, after determining the labeling area of each labeled term of the user to be presented, presenting the labeled term in the labeling area of each labeled term respectively. In other words, a tagging term is presented to the user within a tagging region of the electronic map that may encompass the tagging term.
In this embodiment, when the font size in the annotation word of the point of interest on the electronic map is preset by the user, the font size of the text in the annotation word to be presented may be the font size preset by the user. For each tagged word to be presented to the user, a tagging region may be determined that encompasses the font size of the word as the tagged word of font size set by the user. Each of the labeled regions is a sub-region that does not overlap with other labeled regions. And then, presenting the labeled terms in the labeling areas of the labeled terms respectively. Therefore, the method and the device realize the presentation of the annotation words of the interest points on the electronic map under the condition that the user sets the font size in the annotation words of the interest points on the electronic map. The font size in the annotation words of the interest points on the electronic map can be set by the user, which can be equivalent to when the annotation words of the interest points on the electronic map are presented to the user.
Referring to fig. 4, a flow of another embodiment of an information presentation method according to the present application is shown. The information presentation method provided by the embodiment of the application can be executed by a terminal (for example, the terminal 101 in fig. 1). The method comprises the following steps:
step 401, determining a labeling area of each labeled word to be presented to a user.
In this embodiment, before each annotation term is presented to the user, the annotation region of each annotation term can be determined separately. And determining a sub-area in which the labeling area of each labeling word to be presented to the user is not overlapped with the labeling areas of other labeling words.
At step 402, the tagged terms are presented to the user within the tagging regions of each tagged term.
In this embodiment, after determining the labeling area of each labeled term of the user to be presented, presenting the labeled term in the labeling area of each labeled term respectively.
And 403, in response to detecting that the preset adjusting condition is met, adjusting the number and/or font size of the annotated words presented to the user.
In this embodiment, after each annotation word to be presented is presented to the user in the respective annotation region, whether the preset adjustment condition is met can be detected in real time. The preset adjustment condition includes that the user is in an attention state and a preset movement condition occurs. It is possible to detect whether the user is in an attention state, which is a state in which the user holds the terminal and watches a screen of the terminal. When it is detected that the user is in the attention state, whether a preset movement condition occurs can be further detected. The preset movement condition includes one of: the user's terminal is far away from the user and the user's terminal is close to the user.
In this embodiment, detecting that the user is in the attention state and the preset movement condition occurs may be equivalent to detecting that the user is in the attention state and the preset movement condition occurs while the user is in the attention state.
In this embodiment, when it is detected that the user is in the attention state and a preset movement condition occurs, the font size of the characters in the annotation words may be adjusted and/or the number of the annotation words presented to the user may be adjusted.
In other words, when it is detected that the user holds the terminal and looks at the screen of the terminal, and the terminal of the user is far away from or close to the user, the number of tagged words presented to the user may be adjusted and/or the font size of the text in the tagged words may be adjusted.
For example, when a user starts using an electronic map, the annotation words of a preset number of points of interest near the user are first presented to the user in the respective annotation areas on the terminal. The user holds the terminal to watch the tagged words of a preset number of interest points near the user, when the user holds the terminal to move in the front-back direction, the user can detect that the user holds the terminal and watches the screen of the terminal, the terminal of the user is far away from or close to the user, and the number of the tagged words presented to the user can be adjusted and/or the font size of characters in the tagged words can be adjusted.
In the present embodiment, it may be detected whether the user is in the attention state based on a result of comparison between the posture of the terminal of the user and the posture recorded in advance. Attitude data output by an acceleration sensor when a user holds a terminal in a plurality of different postures and looks at a screen of the terminal can be recorded in advance, and the attitude data of the terminal comprises: the included angle between the X axis of the user terminal and the X axis of the standard space rectangular coordinate, the included angle between the Y axis of the user terminal and the Y axis of the standard space rectangular coordinate, and the included angle between the Z axis of the user terminal and the Z axis of the standard space rectangular coordinate. The X, Y, and Z axes of the user's terminal are X, Y, and Z axes in a coordinate system that takes a point on the screen of the terminal, for example, a point at the lower left corner, as the origin of the coordinate system. When it is determined whether the user is in the attention state, it may be determined whether the gesture of the terminal of the current user matches a predetermined gesture. When the difference values between the respective attitude angles in the acquired current attitude of the user and the corresponding attitude angles recorded in advance are within a certain range, it can be determined that the user is in the state of attention, and therefore it is detected that the user is in the state of attention.
In this embodiment, the terminal far away from or close to the user may be detected according to the attitude data collected by the acceleration sensor of the terminal and the brightness data collected by the light sensor of the terminal.
In the present embodiment, when it is detected that the terminal of the user has moved by a length greater than the threshold corresponding to the Z-axis from the start time of the movement of the terminal of the user in the direction away from the user on the Z-axis based on the attitude data collected by the acceleration sensor of the terminal of the user, and detects that the moving amounts of the user's terminal on the X-axis and the Y-axis are respectively smaller than the threshold corresponding to the X-axis and the threshold corresponding to the Y-axis in the time period from the starting time to the time when the moving length is detected to be larger than the threshold corresponding to the Z-axis, the threshold corresponding to the Z-axis is larger than the threshold corresponding to the X-axis and the threshold corresponding to the Y-axis, meanwhile, it may be determined that the terminal of the user is far from the user by detecting that the brightness of the terminal of the user at the starting time of moving from the direction far from the user on the Z axis is less than the brightness at a certain time after having moved by a length greater than the threshold corresponding to the Z axis. Accordingly, until it is detected that the user's terminal stops moving in a direction away from the user in the Z-axis, the user's terminal is kept away from the user.
In this embodiment, when it is detected that the terminal of the user has moved by a length greater than the threshold corresponding to the Z axis from the start time of the movement of the terminal of the user in the direction approaching the user on the Z axis of the terminal of the user, and it is detected that the amounts of movement of the terminal of the user on the X axis and the Y axis are both smaller than the threshold corresponding to the X axis and the threshold corresponding to the Y axis respectively in the time period from the start time to the time when it is detected that the moved length is greater than the threshold corresponding to the Z axis, and at the same time, it is detected that the luminance of the start time of the movement of the terminal of the user in the direction approaching the user on the Z axis is greater than the luminance at a certain time after the movement has moved by the length greater than the threshold corresponding to the Z axis, it may be determined that the terminal of the user approaches the. Accordingly, until it is detected that the user's terminal stops moving in a direction approaching the user in the Z-axis, the user's terminal approaches the user all the time.
In this embodiment, when it is detected that the user is in the attention state and the terminal of the user is far from the user, the number of the annotation words presented to the user may be reduced, and the font size of the characters in the annotation words may be increased.
In this embodiment, when it is detected that the user is in the attention state and the terminal of the user is far from the user, the number of the annotation terms presented to the user is reduced to select a part of the annotation terms from the annotation terms presented to the user at the starting time when the terminal of the user is far from the user, and when it is detected that the terminal of the user stops being far from the user, the annotation terms other than the part of the annotation terms are presented to the user, and at the same time, the selected part of the annotation terms are not presented to the user at the time. The annotation words can be selected from the annotation words of the interest points of the same type, and the annotation words with smaller area of the interest points can also be selected.
In this embodiment, increasing the font size of the characters in the markup words may be performed on the basis of the font size of the characters in the markup words at the starting time when the terminal of the user is far away from the user.
In this embodiment, the increase amount of the font size of the text in the annotation word may be determined according to the total distance from the user terminal to the user between the starting time of the movement of the user terminal in the direction away from the user on the Z axis and the time of detecting that the user terminal stops moving in the direction away from the user on the Z axis, where the increase amount is an integer. The sum of the font size of the text in the word and the increase amount may be noted as the increased font size when the terminal of the user moves from the start time in the direction away from the user on the Z axis. Therefore, when the time when the terminal of the user stops moving in the direction away from the user on the Z axis is detected, the font size of the characters in the annotation words except for the selected part of the annotation words is set to be the increased font size, and then the characters are presented to the user.
Since it is detected that the font size of the text in the annotation words other than the selected part of annotation words presented to the user is the increased font size at the time when the terminal of the user stops moving in the direction away from the user on the Z axis, before presenting to the user, it is necessary to re-determine the annotation region of each annotation word other than the selected part of annotation words, where each annotation region does not have a sub-region overlapping with other annotation regions other than the selected part of annotation words. The annotation terms are then presented within the respective annotation regions of each of the annotation terms, except for the selected portion of the annotation terms.
In this embodiment, when it is detected that the user is in the attention state and the terminal of the user is close to the user, the number of the annotation words presented to the user may be increased, and the font size of the characters in the annotation words may be decreased.
In this embodiment, when it is detected that the user is in the attention state and the terminal of the user is close to the user, increasing the number of the annotation terms presented to the user may be to increase the annotation terms other than the annotation terms presented to the user at the starting time when the terminal of the user is close to the user, and at the time when it is detected that the terminal of the user stops being close to the user, the annotation terms presented to the user at the starting time when the terminal of the user is close to the user are presented to the user together with the increased annotation terms. The added annotation words can be annotation words of interest points of different types from the types of the interest points of the annotation words presented to the user at the starting moment when the terminal of the user is close to the user, and can also be annotation words of the interest points with larger areas.
In this embodiment, reducing the font size of the characters in the markup words may be performed on the basis that the terminal of the user is close to the font size of the characters in the markup words at the starting time of the user.
In this embodiment, the reduction amount of the font size of the characters in the annotation word may be determined according to the total distance from the start time of the movement of the terminal of the user in the direction approaching the user on the Z axis to the time of detecting that the terminal of the user stops moving in the direction approaching the user on the Z axis, where the reduction amount is an integer. The reduced font size may be obtained by subtracting the reduction amount from the font size of the text in the markup word at the start time of the movement in the direction close to the user on the Z-axis. Therefore, the time when the terminal of the user stops moving in the direction close to the user on the Z axis is detected, the font size of the characters in the annotation words and the increased annotation words which are presented to the user at the starting time when the terminal of the user is close to the user is set to be the reduced font size, and then the reduced font size is presented to the user.
Before presenting to the user, the annotation region of each annotation word in the annotation words and the added annotation words presented to the user by the terminal of the user near the starting time of the user needs to be determined again, and each annotation region does not have an overlapped sub-region with other annotation regions except for the selected part of annotation words. And then, presenting the annotation words in the respective annotation areas of each of the annotation words presented to the user and the added annotation words at the starting moment when the terminal of the user approaches the user.
In this embodiment, the preset conditions further include: the user performs a preset operation on a screen of the user's terminal. The preset operation may be an operation of pressing the screen. The font size of the text in the annotated words and/or the number of annotated words presented to the user may be adjusted when it is detected that the user is pressing the screen and the user is in a state of interest and the user's terminal is away from or near the user.
For example, when the user presses the screen while viewing the map data presented on the screen of the user's terminal, and moves the user's terminal in the front-rear direction, it may be detected that the user presses the screen and the user is in a state of interest and the user's terminal is far from or close to the user, and the number of the annotation words presented to the user and/or the font size of the characters in the annotation words may be adjusted.
Referring to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an information presentation apparatus, and the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2.
As shown in fig. 5, the information presentation apparatus of the present embodiment includes: a determination unit 501 and a presentation unit 502. The determining unit 501 is configured to determine a labeling area of each labeling word to be presented to the user, where the labeling area of each labeling word is a sub-area that is not overlapped with the labeling areas of other labeling words, and the labeling area of the labeling word is located in the electronic map and can surround the labeling word; the presentation unit 502 is configured to present the annotation terms to the user within the annotation region of each annotation term.
In some optional implementations of this embodiment, the font of the text in the tagged word includes one of: font size set by the user, default font size.
In some optional implementations of this embodiment, the determining unit includes: the annotation region determining subunit is configured to determine an initial annotation region of each annotation term, wherein the initial annotation region of each annotation term is located at the same initial annotation orientation, and the annotation orientation where the annotation region of the annotation term is located is the orientation of the annotation region relative to the type identifier of the interest point to which the annotation term belongs in the electronic map; selecting part of the annotation words from the annotation words with overlapped regions, wherein the annotation words with overlapped regions are the annotation words of which the initial annotation region and the initial annotation region of at least one annotation word have overlapped sub-regions; taking the initial labeling areas of the labeling words except the selected part of the labeling words as the labeling areas of the labeling words except the selected labeling words; and respectively determining the labeling area of each labeling word in the selected part of the labeling words, wherein the labeling area is positioned in other labeling orientations different from the initial labeling orientation.
In some optional implementations of this embodiment, the information presenting apparatus further includes: an adjusting unit, configured to, after the tagging terms are presented to the user in the tagging area of each tagging term, in response to detecting that a preset adjusting condition is satisfied, adjust the number of tagging terms presented to the user and/or adjust the font size of characters in the tagging terms, where the preset adjusting condition includes: the user is in an attention state and a preset movement condition occurs, the attention state is a state that the user holds the terminal and watches a screen of the terminal, and the preset movement condition comprises one of the following conditions: the user's terminal is far away from the user and the user's terminal is close to the user.
In some optional implementations of this embodiment, the adjusting unit includes: the font and quantity adjusting subunit is configured to reduce the quantity of the labeled words presented to the user and increase the font size of the characters in the labeled words when the preset movement condition is that the terminal of the user is far away from the user; and when the preset movement condition is that the terminal of the user is close to the user, increasing the number of the labeled words presented to the user and reducing the font size of the characters in the labeled words.
In some optional implementations of this embodiment, the preset adjustment condition further includes: user performs preset operation on screen of terminal
FIG. 6 illustrates a block diagram of a computer system suitable for use with the terminal that implements embodiments of the present application.
As shown in fig. 6, the computer system includes a Central Processing Unit (CPU)601, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the computer system are also stored. The CPU 601, ROM 602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606; an output portion 607; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, the processes described in the embodiments of the present application may be implemented as computer programs. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising instructions for carrying out the method illustrated in the flow chart. The computer program can be downloaded and installed from a network through the communication section 609 and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601.
The present application also provides a terminal that may be configured with one or more processors; a memory for storing one or more programs, the one or more programs may include instructions for performing the operations described in the above embodiments. The one or more programs, when executed by the one or more processors, cause the one or more processors to perform the operations described in the embodiments above.
The present application also provides a computer readable medium, which may be included in a terminal; or may be separate and not assembled into the terminal. The computer readable medium carries one or more programs which, when executed by the terminal, cause the terminal to: determining a labeling area of each labeling word to be presented to a user, wherein the labeling area of each labeling word is a sub-area which is not overlapped with the labeling areas of other labeling words, and the labeling area of each labeling word is located in the electronic map and can surround the labeling word; and presenting the labeled terms to the user in the labeled area of each labeled term.
It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with a message execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with a message execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable messages for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer messages.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (14)

1. An information presentation method, comprising:
determining a labeling area of each labeling word to be presented to a user, wherein the labeling area of each labeling word is a sub-area which is not overlapped with the labeling areas of other labeling words, and the labeling area of each labeling word is located in the electronic map and can surround the labeling word;
and presenting the labeled terms to the user in the labeled area of each labeled term.
2. The method of claim 1, wherein annotating the font of a word in a word comprises one of: font size set by the user, default font size.
3. The method of one of claims 1-2, determining a labeling area for each labeled term to be presented to the user comprising:
determining an initial labeling area of each labeling word, wherein the initial labeling area of each labeling word is located at the same initial labeling azimuth, and the labeling azimuth where the labeling area of the labeling word is located is the azimuth of the type identifier of the labeling area relative to the interest point to which the labeling word belongs in the electronic map;
selecting part of the annotation words from the annotation words with overlapped regions, wherein the annotation words with overlapped regions are the annotation words of which the initial annotation region and the initial annotation region of at least one annotation word have overlapped sub-regions;
taking the initial labeling areas of the labeling words except the selected part of the labeling words as the labeling areas of the labeling words except the selected labeling words;
and respectively determining the labeling area of each labeling word in the selected part of the labeling words, wherein the labeling area is positioned in other labeling orientations different from the initial labeling orientation.
4. The method of any of claims 1-3, after presenting the tagged terms to the user within the tagging regions of each tagged term, the method further comprising:
in response to detecting that a preset adjustment condition is met, adjusting the number of the annotation words presented to the user and/or adjusting the font size of characters in the annotation words, wherein the preset adjustment condition comprises: the user is in an attention state and a preset movement condition occurs, the attention state is a state that the user holds the terminal and watches a screen of the terminal, and the preset movement condition comprises one of the following conditions: the user's terminal is far away from the user and the user's terminal is close to the user.
5. The method of claim 4, wherein adjusting the number of tagged terms presented to the user and/or adjusting the font size of the text in the tagged terms in response to detecting that a preset adjustment condition is met comprises:
when the preset movement condition is that the terminal of the user is far away from the user, reducing the number of the labeled words presented to the user and increasing the font size of characters in the labeled words;
and when the preset movement condition is that the terminal of the user is close to the user, increasing the number of the labeled words presented to the user and reducing the font size of the characters in the labeled words.
6. The method of claim 5, the preset adjustment condition further comprising: and the user performs preset operation on the screen of the terminal.
7. An information presentation device comprising:
the determining unit is configured to determine a labeling area of each labeling word to be presented to a user, wherein the labeling area of each labeling word is a sub-area which is not overlapped with the labeling areas of other labeling words, and the labeling areas of the labeling words are located in the electronic map and can surround the labeling words;
and the presentation unit is configured to present the annotation terms to the user in the annotation areas of the annotation terms.
8. The apparatus of claim 7, the font that labels the words in the words comprises one of: font size set by the user, default font size.
9. The apparatus according to one of claims 7-8, the determining unit comprising:
the annotation region determining subunit is configured to determine an initial annotation region of each annotation term, wherein the initial annotation region of each annotation term is located at the same initial annotation orientation, and the annotation orientation where the annotation region of the annotation term is located is the orientation of the annotation region relative to the type identifier of the interest point to which the annotation term belongs in the electronic map; selecting part of the annotation words from the annotation words with overlapped regions, wherein the annotation words with overlapped regions are the annotation words of which the initial annotation region and the initial annotation region of at least one annotation word have overlapped sub-regions; taking the initial labeling areas of the labeling words except the selected part of the labeling words as the labeling areas of the labeling words except the selected labeling words; and respectively determining the labeling area of each labeling word in the selected part of the labeling words, wherein the labeling area is positioned in other labeling orientations different from the initial labeling orientation.
10. The apparatus according to one of claims 7-9, the apparatus further comprising:
an adjusting unit, configured to, after the tagging terms are presented to the user in the tagging area of each tagging term, in response to detecting that a preset adjusting condition is satisfied, adjust the number of tagging terms presented to the user and/or adjust the font size of characters in the tagging terms, where the preset adjusting condition includes: the user is in an attention state and a preset movement condition occurs, the attention state is a state that the user holds the terminal and watches a screen of the terminal, and the preset movement condition comprises one of the following conditions: the user's terminal is far away from the user and the user's terminal is close to the user.
11. The apparatus of claim 10, the adjustment unit comprising:
the font and quantity adjusting subunit is configured to reduce the quantity of the labeled words presented to the user and increase the font size of the characters in the labeled words when the preset movement condition is that the terminal of the user is far away from the user; and when the preset movement condition is that the terminal of the user is close to the user, increasing the number of the labeled words presented to the user and reducing the font size of the characters in the labeled words.
12. The apparatus of claim 11, the preset adjustment condition further comprising: and the user performs preset operation on the screen of the terminal.
13. A terminal, comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-6.
14. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN201810714489.7A 2018-06-29 2018-06-29 Information presentation method and device Pending CN110660313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810714489.7A CN110660313A (en) 2018-06-29 2018-06-29 Information presentation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810714489.7A CN110660313A (en) 2018-06-29 2018-06-29 Information presentation method and device

Publications (1)

Publication Number Publication Date
CN110660313A true CN110660313A (en) 2020-01-07

Family

ID=69027756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810714489.7A Pending CN110660313A (en) 2018-06-29 2018-06-29 Information presentation method and device

Country Status (1)

Country Link
CN (1) CN110660313A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858793A (en) * 2020-06-09 2020-10-30 北京百度网讯科技有限公司 Map road marking processing method and device, electronic equipment and storage medium
CN112508020A (en) * 2020-12-22 2021-03-16 深圳市商汤科技有限公司 Labeling method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1851405A (en) * 2005-04-21 2006-10-25 株式会社电装 Map display device and navigation system therewith
CN101345003A (en) * 2008-08-29 2009-01-14 深圳市戴文科技有限公司 Interest point indication method of electronic map and mobile terminal
CN106339086A (en) * 2016-08-26 2017-01-18 珠海格力电器股份有限公司 Screen font adjustment method and device, and electronic equipment
CN106484847A (en) * 2016-09-30 2017-03-08 北京百度网讯科技有限公司 The mask method of electronic chart and device
CN106873925A (en) * 2015-12-10 2017-06-20 北京国双科技有限公司 The display methods and device of label text
CN106898245A (en) * 2015-12-18 2017-06-27 北京四维图新科技股份有限公司 The mask method and device of a kind of writing
US9811879B2 (en) * 2011-10-24 2017-11-07 Google Inc. Keeping map labels consistent across multiple zoom levels

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1851405A (en) * 2005-04-21 2006-10-25 株式会社电装 Map display device and navigation system therewith
CN101345003A (en) * 2008-08-29 2009-01-14 深圳市戴文科技有限公司 Interest point indication method of electronic map and mobile terminal
US9811879B2 (en) * 2011-10-24 2017-11-07 Google Inc. Keeping map labels consistent across multiple zoom levels
CN106873925A (en) * 2015-12-10 2017-06-20 北京国双科技有限公司 The display methods and device of label text
CN106898245A (en) * 2015-12-18 2017-06-27 北京四维图新科技股份有限公司 The mask method and device of a kind of writing
CN106339086A (en) * 2016-08-26 2017-01-18 珠海格力电器股份有限公司 Screen font adjustment method and device, and electronic equipment
CN106484847A (en) * 2016-09-30 2017-03-08 北京百度网讯科技有限公司 The mask method of electronic chart and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858793A (en) * 2020-06-09 2020-10-30 北京百度网讯科技有限公司 Map road marking processing method and device, electronic equipment and storage medium
CN111858793B (en) * 2020-06-09 2024-01-23 北京百度网讯科技有限公司 Map road marking processing method and device, electronic equipment and storage medium
CN112508020A (en) * 2020-12-22 2021-03-16 深圳市商汤科技有限公司 Labeling method and device, electronic equipment and storage medium
WO2022134390A1 (en) * 2020-12-22 2022-06-30 深圳市商汤科技有限公司 Labeling method and apparatus, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
US11217020B2 (en) 3D cutout image modification
CN103218854B (en) Method and the augmented reality system of parts mark is realized in augmented reality process
CN109308681B (en) Image processing method and device
JP5477196B2 (en) Display object generation method, digital media providing system, computer program therefor, and display object
EP2508975B1 (en) Display control device, display control method, and program
EP2560145A2 (en) Methods and systems for enabling the creation of augmented reality content
CN109189879B (en) Electronic book display method and device
CN110442813B (en) Travel commemorative information processing system and method based on AR
EP2747057A1 (en) Text-enlargement display method
WO2013023705A1 (en) Methods and systems for enabling creation of augmented reality content
JP2014157595A (en) Method and program for identifying medium or function, article including marker, and marker arrangement method
CN111783508A (en) Method and apparatus for processing image
CN110991491A (en) Image labeling method, device, equipment and storage medium
CN113806306B (en) Media file processing method, device, equipment, readable storage medium and product
CN112907760A (en) Three-dimensional object labeling method and device, tool, electronic equipment and storage medium
CN106500684B (en) Method and device for processing navigation path information
KR20210149120A (en) Location-Based Augmented-Reality System
CN113407083A (en) Data labeling method and device, electronic equipment and storage medium
CN110660313A (en) Information presentation method and device
KR20180111242A (en) Electronic device and method for providing colorable content
CN111507123B (en) Method and device for placing reading materials, reading equipment, electronic equipment and medium
CN110036356A (en) Image procossing in VR system
CN110636222A (en) Photographing control method and device, terminal equipment and storage medium
WO2017011680A1 (en) Device and method for processing data
CN113655933B (en) Text labeling method and device, storage medium and electronic equipment

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