CN111651697A - Information display method and device, electronic equipment and storage medium - Google Patents

Information display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111651697A
CN111651697A CN202010025892.6A CN202010025892A CN111651697A CN 111651697 A CN111651697 A CN 111651697A CN 202010025892 A CN202010025892 A CN 202010025892A CN 111651697 A CN111651697 A CN 111651697A
Authority
CN
China
Prior art keywords
attribute
calibration
display area
information
display
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
CN202010025892.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.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development 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 Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN202010025892.6A priority Critical patent/CN111651697A/en
Publication of CN111651697A publication Critical patent/CN111651697A/en
Priority to PCT/CN2021/070758 priority patent/WO2021139743A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3626Details of the output of route guidance instructions
    • 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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Abstract

The present application relates to the field of information display technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for displaying information, where the method includes: responding to a map zooming instruction, and determining the display position of at least one calibration place on the map on a screen display area after the map zooming is carried out; adjusting the relative orientation information of the attribute information respectively corresponding to the at least one calibration place on the screen display area according to the display position of the at least one calibration place on the screen display area; the relative orientation information comprises display direction information and display distance information of the attribute information relative to the corresponding calibration place. According to the scheme, information shielding is avoided by adjusting the relative position between the attribute information and the calibration place, and compared with the situation that information shielding occurs due to the fact that the position is unchanged when the map is zoomed in and zoomed out in the related art, the completeness of information display is improved, and convenience is brought to a user for checking the map when going out.

Description

Information display method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of information display technologies, and in particular, to a method and an apparatus for displaying information, an electronic device, and a storage medium.
Background
With the rapid development of urban traffic, taxi taking has become the first choice for many people to go out. The vehicle travel service platform (such as a network car reservation travel service platform) provides much convenience for users to travel.
The vehicle traveling service platform can receive the vehicle using service request of the passenger and then send the vehicle using service request to the driver. In order to ensure the travel service quality, the passenger may view the driver information, the vehicle information, the travel information, the navigation map, and the like by using an Application (APP) on his passenger terminal device, and the driver may view the passenger information, the travel information, the navigation map, and the like by using the APP on his driver terminal device. In practical applications, the various information can be displayed in bubbles in the navigation map for the user to intuitively understand.
During traveling, information occlusion situations often occur, such as bubble information blocking other information (e.g., start point position information) in the navigation map, which causes inconvenience to the user in traveling.
Disclosure of Invention
In view of this, the present application provides at least one information display scheme, which can re-arrange related information during map zooming, and improve the integrity of information display.
Mainly comprises the following aspects:
in a first aspect, the present application provides a method of information display, the method comprising:
responding to a map zooming instruction, and determining the display position of at least one calibration place on the map on a screen display area after the map zooming is carried out;
adjusting the relative orientation information of the attribute information respectively corresponding to the at least one calibration place on the screen display area according to the display position of the at least one calibration place on the screen display area; the relative orientation information comprises display direction information and display distance information of the attribute information relative to the corresponding calibration place.
In one embodiment, adjusting the relative orientation information of the attribute information respectively corresponding to the at least one calibration location on the screen display area includes:
for each calibration place in the at least one calibration place, determining a plurality of candidate attribute display areas of the attribute information on the screen display area based on the display position of the calibration place on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration place on the screen display area; and the number of the first and second groups,
determining a calibration display area on the screen display area corresponding to the calibration place according to the display position of the calibration place on the screen display area;
determining a screen display area corresponding to each group of attribute display areas in a plurality of groups of attribute display areas based on a calibration display area on the screen display area corresponding to each calibration place in the at least one calibration place and a plurality of candidate attribute display areas on the screen display area of attribute information corresponding to each calibration place, wherein each group of attribute display areas comprises one candidate attribute display area on the screen display area of the attribute information corresponding to each calibration place in the at least one calibration place, and the screen display area refers to the total display area of the at least one calibration display area and the group of attribute display areas in the screen display area;
and selecting a group of attribute display areas according to the determined screen display area, and adjusting the relative orientation information of the attribute information corresponding to the at least one calibration place on the screen display area based on the selected group of attribute display areas.
In one embodiment, the selecting a set of attribute display regions according to the determined screen display area includes:
and selecting a target group attribute display area with the maximum corresponding screen display area from the multiple groups of attribute display areas.
In one embodiment, selecting a target group attribute display area with the largest screen display area from a plurality of groups of attribute display areas includes:
if the corresponding target group attribute display areas with the largest screen display area are in one group, taking the target group attribute display areas as a group of selected attribute display areas;
if the corresponding target group attribute display areas with the largest screen display areas are multiple groups, selecting the target group attribute display areas with the largest display areas of the attribute display areas in one group of corresponding screen display areas from the multiple groups of target group attribute display areas; and the target set of attribute display areas is used as the selected set of attribute display areas.
In one embodiment, the determining, based on a calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location and a plurality of candidate attribute display areas on the screen display area of the attribute information corresponding to each calibration location, a screen display area corresponding to each of the plurality of sets of attribute display areas includes:
for each group of attribute display areas in the multiple groups of attribute display areas, determining an attribute display area overlapping area corresponding to each group of attribute display areas based on a candidate attribute display area on the screen display area of attribute information corresponding to each calibration place included in the group of attribute display areas; determining an overlapping area of the calibration display areas corresponding to the set of attribute display areas based on a candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location included in the set of attribute display areas and the calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location; determining the area of the map occupied by the set of attribute display areas outside the screen display area;
and determining the screen display area corresponding to each group of attribute display areas in the multiple groups of attribute display areas based on the screen display area overlapping area and the marked display area corresponding to the group of attribute display areas and the map area occupied by the group of attribute display areas outside the screen display area.
In an embodiment, the determining, based on the overlapping area of the screen display area and the overlapping area of the calibration display area corresponding to the set of attribute display areas and the map area occupied by the set of attribute display areas outside the screen display area, the screen display area corresponding to each set of attribute display areas in the multiple sets of attribute display areas includes:
for each set of attribute display regions in the plurality of sets of attribute display regions, determining an attribute display region area and a value based on each attribute display region in the set of attribute display regions; determining an overlap area and a value based on the overlap area of the screen display area and the overlap area of the calibration display area corresponding to the set of attribute display areas;
determining a calibration display area and a calibration display area value based on a calibration display area corresponding to each calibration location in the at least one calibration location on the screen display area;
and summing the area and the value of the attribute display area and the value of the calibration display area to obtain a first summation result, summing the overlapped area and the value with the area of the map occupied by the set of attribute display areas outside the screen display area to obtain a second summation result, and subtracting the first summation result and the second summation result to determine the screen display area corresponding to the set of attribute display areas.
In one embodiment, the plurality of candidate relative bearing information may be determined as follows:
aiming at each calibration position in the at least one calibration position, establishing a first coordinate system by taking the calibration position as an origin; determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction, and taking the transverse deviation information as the candidate transverse display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the number of the first and second groups,
determining longitudinal offset information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and a corresponding relation between a longitudinal axis direction of the first coordinate system and each candidate display direction, and taking the longitudinal offset information as candidate longitudinal display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the candidate transverse display displacement information and the candidate longitudinal display displacement information form candidate display distance information.
In one embodiment, determining, based on the content width occupation information of the attribute information corresponding to the calibration location on the screen display area and the corresponding relationship between the horizontal axis direction of the first coordinate system and each candidate display direction, the lateral offset information of the attribute information corresponding to the calibration location in each candidate display direction with respect to the origin includes:
determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information and the shadow width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction;
determining longitudinal deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and a corresponding relation between a longitudinal axis direction of the first coordinate system and each candidate display direction, including:
and determining longitudinal deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information and shadow height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and the corresponding relation between the longitudinal axis direction of the first coordinate system and each candidate display direction.
In one embodiment, the determining, for each of the at least one calibration location, a plurality of candidate attribute display areas of the attribute information on the screen display area based on a display position of the calibration location on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration location on the screen display area includes:
establishing a second coordinate system by taking a vertex angle of the screen display area as an origin;
determining first coordinate information of each calibration position in the second coordinate system based on the display position of the calibration position on the screen display area;
for each candidate display direction information of the attribute information corresponding to each calibration place relative to the calibration place, determining second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction based on the first coordinate information of the calibration place in the second coordinate system and the candidate display distance information of the attribute information corresponding to the calibration place relative to the calibration place in the candidate display direction; and the number of the first and second groups,
determining third coordinate information of the vertex position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction according to second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area and occupation information of the attribute information corresponding to the calibration place on the screen display area; determining the candidate attribute display area based on the third coordinate information at the respective vertex positions.
In one embodiment, the method further comprises:
determining the adjusted display position of the attribute information corresponding to each calibration place in at least one calibration place on the screen display area based on the adjusted relative orientation information;
determining the position variation corresponding to each experience animation time length based on the proportion of each experience animation time length to the total preset animation time length; the total duration of the preset animation is formed by the duration of each experience animation;
and sequentially determining the display position corresponding to each animation duration for the attribute information corresponding to each calibration place based on the display position before adjustment and the position variation corresponding to each animation duration, and moving the attribute information according to each display position until the attribute information is moved to the adjusted display position.
In a second aspect, the present application further provides an apparatus for displaying information, the apparatus comprising:
the response module is used for responding to the map zooming instruction and determining the display position of at least one calibration place on the map on the screen display area after the map zooming is carried out;
the adjusting module is used for adjusting the relative position information of the attribute information corresponding to the at least one calibration place on the screen display area according to the display position of the at least one calibration place on the screen display area; the relative orientation information comprises display direction information and display distance information of the attribute information relative to the corresponding calibration place.
In one embodiment, the adjusting module is configured to adjust the relative position information of the attribute information corresponding to each of the at least one calibration location on the screen display area according to the following steps:
for each calibration place in the at least one calibration place, determining a plurality of candidate attribute display areas of the attribute information on the screen display area based on the display position of the calibration place on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration place on the screen display area; and the number of the first and second groups,
determining a calibration display area on the screen display area corresponding to the calibration place according to the display position of the calibration place on the screen display area;
determining a screen display area corresponding to each group of attribute display areas in a plurality of groups of attribute display areas based on a calibration display area on the screen display area corresponding to each calibration place in the at least one calibration place and a plurality of candidate attribute display areas on the screen display area of attribute information corresponding to each calibration place, wherein each group of attribute display areas comprises one candidate attribute display area on the screen display area of the attribute information corresponding to each calibration place in the at least one calibration place, and the screen display area refers to the total display area of the at least one calibration display area and the group of attribute display areas in the screen display area;
and selecting a group of attribute display areas according to the determined screen display area, and adjusting the relative orientation information of the attribute information corresponding to the at least one calibration place on the screen display area based on the selected group of attribute display areas.
In one embodiment, the adjustment module is configured to select a set of attribute display areas according to the following steps:
and selecting a target group attribute display area with the maximum corresponding screen display area from the multiple groups of attribute display areas.
In one embodiment, the adjusting module is configured to select a target group attribute display area with a largest screen display area from the multiple groups of attribute display areas according to the following steps:
if the corresponding target group attribute display areas with the largest screen display area are in one group, taking the target group attribute display areas as a group of selected attribute display areas;
if the corresponding target group attribute display areas with the largest screen display areas are multiple groups, selecting the target group attribute display areas with the largest display areas of the attribute display areas in one group of corresponding screen display areas from the multiple groups of target group attribute display areas; and the target set of attribute display areas is used as the selected set of attribute display areas.
In one embodiment, the adjusting module is configured to determine a screen display area corresponding to each of the plurality of sets of attribute display areas according to the following steps:
for each group of attribute display areas in the multiple groups of attribute display areas, determining an attribute display area overlapping area corresponding to each group of attribute display areas based on a candidate attribute display area on the screen display area of attribute information corresponding to each calibration place included in the group of attribute display areas; determining an overlapping area of the calibration display areas corresponding to the set of attribute display areas based on a candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location included in the set of attribute display areas and the calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location; determining the area of the map occupied by the set of attribute display areas outside the screen display area;
and determining the screen display area corresponding to each group of attribute display areas in the multiple groups of attribute display areas based on the screen display area overlapping area and the marked display area corresponding to the group of attribute display areas and the map area occupied by the group of attribute display areas outside the screen display area.
In one embodiment, the adjusting module is configured to determine a screen display area corresponding to each of the plurality of sets of attribute display areas according to the following steps:
for each set of attribute display regions in the plurality of sets of attribute display regions, determining an attribute display region area and a value based on each attribute display region in the set of attribute display regions; determining an overlap area and a value based on the overlap area of the screen display area and the overlap area of the calibration display area corresponding to the set of attribute display areas;
determining a calibration display area and a calibration display area value based on a calibration display area corresponding to each calibration location in the at least one calibration location on the screen display area;
and summing the area and the value of the attribute display area and the value of the calibration display area to obtain a first summation result, summing the overlapped area and the value with the area of the map occupied by the set of attribute display areas outside the screen display area to obtain a second summation result, and subtracting the first summation result and the second summation result to determine the screen display area corresponding to the set of attribute display areas.
In one embodiment, the adjusting module is configured to determine a plurality of candidate relative bearing information according to the following steps:
aiming at each calibration position in the at least one calibration position, establishing a first coordinate system by taking the calibration position as an origin; determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction, and taking the transverse deviation information as the candidate transverse display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the number of the first and second groups,
determining longitudinal offset information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and a corresponding relation between a longitudinal axis direction of the first coordinate system and each candidate display direction, and taking the longitudinal offset information as candidate longitudinal display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the candidate transverse display displacement information and the candidate longitudinal display displacement information form candidate display distance information.
In one embodiment, the adjusting module is configured to determine lateral offset information of the attribute information corresponding to the calibration location with respect to the origin in each candidate display direction according to the following steps:
determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information and the shadow width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction;
the adjusting module is used for determining the longitudinal deviation information of the attribute information corresponding to the calibration place in each candidate display direction relative to the origin according to the following steps:
and determining longitudinal deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information and shadow height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and the corresponding relation between the longitudinal axis direction of the first coordinate system and each candidate display direction.
In one embodiment, the adjusting module is configured to determine a plurality of candidate attribute display areas of the attribute information on the screen display area according to the following steps:
establishing a second coordinate system by taking a vertex angle of the screen display area as an origin;
determining first coordinate information of each calibration position in the second coordinate system based on the display position of the calibration position on the screen display area;
for each candidate display direction information of the attribute information corresponding to each calibration place relative to the calibration place, determining second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction based on the first coordinate information of the calibration place in the second coordinate system and the candidate display distance information of the attribute information corresponding to the calibration place relative to the calibration place in the candidate display direction; and the number of the first and second groups,
determining third coordinate information of the vertex position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction according to second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area and occupation information of the attribute information corresponding to the calibration place on the screen display area; determining the candidate attribute display area based on the third coordinate information at the respective vertex positions.
In one embodiment, the apparatus further comprises:
the mobile module is used for determining the adjusted display position of the attribute information corresponding to each calibration place in at least one calibration place on the screen display area based on the adjusted relative orientation information;
determining the position variation corresponding to each experience animation time length based on the proportion of each experience animation time length to the total preset animation time length; the total duration of the preset animation is formed by the duration of each experience animation;
and sequentially determining the display position corresponding to each animation duration for the attribute information corresponding to each calibration place based on the display position before adjustment and the position variation corresponding to each animation duration, and moving the attribute information according to each display position until the attribute information is moved to the adjusted display position.
In a third aspect, the present application further provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method according to the first aspect and any of its various embodiments.
In a fourth aspect, the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to the first aspect and any of its various embodiments.
By adopting the scheme, the map zooming device responds to the map zooming instruction and determines the display position of at least one calibration place on the map on the screen display area after the map zooming is carried out, then based on the display position of the at least one calibration place on the screen display area, adjusting the relative orientation information of the attribute information respectively corresponding to the at least one calibration place on the screen display area, the relative orientation information may include display direction information and display distance information of the attribute information relative to the calibration location, that is, when the above scheme is used for zooming the map, information shielding is avoided through adjustment of relative azimuth information between the attribute information and the calibration place, and compared with the situation that information shielding occurs due to the fact that the relative azimuth is unchanged when a map is zoomed in and zoomed out in the related art, the integrity of information display is improved, and convenience is further brought to map viewing when a user goes out.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a flow chart of a method for displaying information according to an embodiment of the present disclosure;
FIGS. 2a to 2f are schematic diagrams illustrating a method for displaying information according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating a specific method for adjusting relative orientation information in a method for displaying information according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a specific method for determining a screen display area in a method for displaying information according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a specific method for determining a screen display area in a method for displaying information according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a specific method for determining a candidate attribute display area in a method for displaying information according to an embodiment of the present application;
fig. 7 is a schematic structural diagram illustrating an information display apparatus according to a second embodiment of the present application;
fig. 8 shows a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In order to enable those skilled in the art to use the present disclosure, the following embodiments are given in conjunction with a specific application scenario "map information display in a car travel service for a net appointment". It will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is mainly described with reference to the map information display in the network appointment travel service, it should be understood that the embodiment of the present application may be applied to the map information display in other services (such as ordering service, logistics distribution service, etc.), in addition to the application scenario of the map information display in the network appointment travel service described above, and the application scenario of the network appointment travel service is only an exemplary embodiment.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
It should be noted that, before the application is proposed, in the related art, information occlusion occurs during the whole trip, for example, when a user zooms a map, an occlusion problem is caused because a relative position between attribute information (e.g., bubble information) and a calibration location is not changed, which brings inconvenience to the user when the user goes out. The scheme for information display provided by the application can adjust the relative position between the attribute information and the corresponding calibration place through the display position of the calibration place on the screen display area, so that the related information can be rearranged when the map is zoomed, information shielding is avoided, the integrity of information display is improved, and convenience is brought to map viewing when a user goes out. The following examples are provided to specifically describe the following.
Example one
As shown in fig. 1, a flowchart of a method for displaying information provided in an embodiment of the present application is provided, where an execution main body of the method may be an electronic device, and the electronic device may be a terminal (such as a mobile phone, a tablet computer, and the like) held by a passenger during a travel of a networked car, may also be a terminal held by a driver, and may also be any electronic device that needs to avoid information blocking, which is not limited specifically herein. The information display method comprises the following steps:
s101, responding to a map zooming instruction, and determining the display position of at least one calibrated place on a map on a screen display area after the map zooming is carried out;
s201, adjusting the relative position information of the attribute information corresponding to the at least one calibration place on the screen display area according to the display position of the at least one calibration place on the screen display area; the relative orientation information comprises display direction information and display distance information of the attribute information relative to the corresponding calibration place.
Here, in order to facilitate understanding of the information display method provided in the embodiment of the present application, first, an application scenario in which a car-booking travel service is implemented by using a car-booking travel service platform will be briefly described. When a passenger needs to use the network car booking platform for traveling, the corresponding car booking information (namely, a bubbling stage) can be input at the terminal of the passenger, and after the departure button is started, the background server of the network car booking platform can generate a corresponding traveling order according to the car booking information so as to provide network car booking service. The taxi taking information not only can comprise the starting trip position and the ending trip position of the passenger, but also can comprise other taxi taking information, such as trip time, taxi using types (such as express taxi, special taxi and the like) and the like.
The starting trip position can be determined based on a positioning technology, and if the taxi taking software is opened, the terminal can automatically position the current position as the starting trip position. Or, the user may select a specific starting travel position on a map displayed by the terminal, or manually input the starting travel position, for example, manually input the starting travel position of "AA airport", where the ending travel position is determined mainly by using a manner of selection or manual input by the passenger on the map, and details are not repeated herein.
The information display method in the embodiment of the application can be applied to various stages of travel, such as a bubbling stage, a driving stage and the like, when a passenger needs to know more comprehensive map information and narrow a map, the problem of shielding between attribute information corresponding to at least two calibration places and the problem of shielding between the attribute information and the calibration places can occur, and in addition, when the passenger needs to know more specific map information and enlarge the map, the problem of incomplete attribute information display in a display area can occur. In order to solve the above technical problem, the embodiment of the present application provides a scheme for avoiding occlusion based on adjustment of relative orientation information to improve the integrity of map information display.
The relative position information may be determined based on a display position of at least one calibration point on the map on the screen display area after the map is zoomed, that is, the relative position information of each attribute information relative to the corresponding calibration point may be synchronously adjusted according to the display position of each calibration point in the embodiment of the present application.
The calibration places in the embodiment of the application can be one or multiple, and the calibration places can be specially calibrated places on a map, such as an initial travel position, a stop travel position, positions of travel track points and the like. Fig. 2a to 2f are combined to illustrate a network car appointment travel application scenario including two calibration locations, namely, a start travel location and an end travel location.
As shown in fig. 2a to 2f, the calibration location S is used to indicate a starting trip position, the attribute information AAAA is used to indicate the attribute information corresponding to the calibration location S, and the attribute information is in the corresponding display frame, the calibration location D is used to indicate an ending trip position, and the attribute information bbbbbbbbb is used to indicate the attribute information corresponding to the calibration location D, and the attribute information is in the corresponding display frame. Before the map corresponding to fig. 2a is zoomed, the calibration location S, the attribute information AAAA, the calibration location D, and the attribute information BBBBB are not blocked in the screen display area of the map, and after the map corresponding to fig. 2b is zoomed, the attribute information AAAA blocks the attribute information BBBBB, at this time, when the user views the map, only part of the information in the attribute information BBBBB can be seen, so that the user is not convenient to view more detailed information. In the information display scheme provided by the present application, the relative bearing information adjustment as shown in fig. 2c to 2f can be performed.
Taking fig. 2D as an example, the attribute information AAAA of the calibration location S before adjustment is located at the lower right of the calibration location, the attribute information bbbbbbb of the calibration location D is located at the upper right of the calibration location, and the attribute information of the two calibration locations is blocked, after adjustment, the attribute information AAAA of the calibration location S is located at the upper left of the calibration location, and the attribute information BBBBB of the calibration location D is located at the upper left of the calibration location, so that by adjusting the relative orientation information between the attribute information and the calibration location, the covered attribute information BBBBB is displayed again in the screen display area, the comprehensiveness of map information display is better, and the touch operation of information viewing and response by the user is more facilitated, such as the modification operation of modifying the initial trip position, and the like.
It should be noted that, in the embodiment of the present application, one adjustment may be performed or multiple adjustments may be performed on the relative direction information, and in the process of displaying the map information to the user side, the adjustment process may be dynamically displayed, or only the final adjustment result may be displayed, which is not specifically limited by the embodiment of the present application.
It should be noted that, in the embodiment of the present application, the initial state of the related attribute information may be determined by the actual geographic position information (i.e., longitude and latitude information) of the calibration location corresponding to the attribute information, and the initial state determined according to the longitude and latitude information prevents the areas from overlapping.
If the longitude of the initial calibration location, which is the initial travel location, is greater than the longitude of the final calibration location, which is the final travel location, and the latitude of the initial calibration location, which is the initial travel location, is greater than the latitude of the final calibration location, which is the final travel location, the attribute information corresponding to the initial calibration location may be set at the lower left of the initial calibration location, and the attribute information corresponding to the final calibration location may be set at the upper right of the final calibration location;
for another example, when the longitude of the initial calibration location, which is the initial travel location, is greater than the longitude of the final calibration location, which is the final travel location, and the latitude of the initial calibration location, which is the initial travel location, is less than the latitude of the final calibration location, which is the final travel location, the attribute information corresponding to the initial calibration location may be set at the upper left of the initial calibration location, and the attribute information corresponding to the final calibration location may be set at the lower right of the final calibration location;
for another example, when the longitude of the initial calibration location, which is the initial travel location, is less than the longitude of the final calibration location, which is the final travel location, and the latitude of the initial calibration location, which is the initial travel location, is greater than the latitude of the final calibration location, which is the final travel location, the attribute information corresponding to the initial calibration location may be set at the lower right of the initial calibration location, and the attribute information corresponding to the final calibration location may be set at the upper left of the final calibration location;
for another example, when the longitude of the initial calibration location, which is the initial travel location, is less than the longitude of the final calibration location, which is the final travel location, and the latitude of the initial calibration location, which is the initial travel location, is less than the latitude of the final calibration location, which is the final travel location, the attribute information corresponding to the initial calibration location may be set on the upper right of the initial calibration location, and the attribute information corresponding to the final calibration location may be set on the upper left of the final calibration location;
for another example, when the longitude of the initial calibration location, which is the initial travel location, is equal to the longitude of the final calibration location, which is the final travel location, and the latitude of the initial calibration location, which is the initial travel location, is greater than the latitude of the final calibration location, which is the final travel location, the attribute information corresponding to the initial calibration location may be set at the lower right of the initial calibration location, and the attribute information corresponding to the final calibration location may be set at the lower left of the final calibration location;
for another example, when the longitude of the initial calibration location, which is the initial travel location, is equal to the longitude of the final calibration location, which is the final travel location, and the latitude of the initial calibration location, which is the initial travel location, is less than the latitude of the final calibration location, which is the final travel location, the attribute information corresponding to the initial calibration location may be set at the upper left of the initial calibration location, and the attribute information corresponding to the final calibration location may be set at the lower right of the final calibration location;
for another example, when the longitude of the initial calibration location, which is the initial travel location, is greater than the longitude of the final calibration location, which is the final travel location, and the latitude of the initial calibration location, which is the initial travel location, is equal to the latitude of the final calibration location, which is the final travel location, the attribute information corresponding to the initial calibration location may be set at the upper left of the initial calibration location, and the attribute information corresponding to the final calibration location may be set at the lower right of the final calibration location;
for another example, when the longitude of the initial calibration location, which is the initial travel location, is less than the longitude of the final calibration location, which is the final travel location, and the latitude of the initial calibration location, which is the initial travel location, is equal to the latitude of the final calibration location, which is the final travel location, the attribute information corresponding to the initial calibration location may be set at the upper right of the initial calibration location, and the attribute information corresponding to the final calibration location may be set at the lower left of the final calibration location;
for another example, when the longitude of the starting calibration point, which is the starting trip position, is equal to the longitude of the ending calibration point, which is the ending trip position, and the latitude of the starting calibration point, which is the starting trip position, is equal to the latitude of the ending calibration point, which is the ending trip position, the attribute information corresponding to the starting calibration point may be set at the upper left of the starting calibration point, and the attribute information corresponding to the ending calibration point may be set at the lower right of the ending calibration point.
In the embodiment of the present application, the adjustment of the relative orientation information is a key step of the information display method provided in the embodiment of the present application, and as shown in fig. 3, the relative orientation information may be adjusted according to the following steps:
s301, for each calibration place in at least one calibration place, determining a plurality of candidate attribute display areas of the attribute information on the screen display area based on the display position of the calibration place on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration place on the screen display area; determining a calibration display area on the screen display area corresponding to the calibration place according to the display position of the calibration place on the screen display area;
s302, determining a screen display area corresponding to each group of attribute display areas in a plurality of groups of attribute display areas based on a calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location and a plurality of candidate attribute display areas on the screen display area of attribute information corresponding to each calibration location, wherein each group of attribute display areas comprises one candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location in the at least one calibration location, and the screen display area refers to the total display area of the at least one calibration display area and the group of attribute display areas in the screen display area;
s303, selecting a group of attribute display areas according to the determined screen display area, and adjusting the relative orientation information of the attribute information corresponding to the at least one calibration place on the screen display area based on the selected group of attribute display areas.
Here, in order to adjust the relative orientation information, in the embodiment of the present application, first a plurality of candidate attribute display regions of the attribute information of each calibration point on the screen display region may be determined, then a screen display area corresponding to each set of attribute display regions may be determined according to the calibration display region on the screen display region corresponding to each calibration point and the plurality of candidate attribute display regions of the attribute information of each calibration point on the screen display region, and finally a set of attribute display regions may be selected from the various attribute display regions according to the determined screen display areas, so as to adjust the relative orientation information of the attribute information corresponding to each of the at least one calibration points on the screen display region.
After the display position of the nominal position is determined, on one hand, a corresponding display coordinate system can be established by using the display position as a coordinate origin, and on the other hand, the display position of the vertex position of the attribute information corresponding to the nominal position in the display coordinate system can be determined based on the candidate display direction and the corresponding candidate display distance included by the candidate relative orientation information, so that the corresponding candidate attribute display area can be determined.
When each group of attribute display areas is determined, one candidate attribute display area can be selected from a plurality of candidate attribute display areas of the attribute information corresponding to each calibration place on the screen display area, so that the candidate attribute display areas of the attribute information corresponding to each calibration place can be aggregated to form one group of attribute display areas, and the screen display area corresponding to the group of attribute display areas can be determined based on each calibration display area and the total display area of the group of attribute display areas in the screen display area.
For the screen display areas corresponding to the sets of attribute display areas, in order to further ensure the integrity of map display, the embodiment of the present application may determine the selected target set of attribute display areas based on the maximum screen display area. The target group attribute display area may be one group or a plurality of groups.
If the target group attribute display areas are a group, the target group attribute display areas can be directly used as a selected group of attribute display areas, and if the target group attribute display areas are a plurality of groups, the target group attribute display areas with the largest display areas of the attribute display areas in a group of corresponding screen display areas can be used as the selected group of attribute display areas.
In the embodiment of the present application, the determination of the screen display area as a key step of the method for displaying information provided in the embodiment of the present application may be implemented by a flowchart of a method for determining the screen display area as shown in fig. 4.
S401, aiming at each group of attribute display areas in the multiple groups of attribute display areas, determining the overlapping area of the attribute display areas corresponding to the group of attribute display areas based on a candidate attribute display area of the attribute information corresponding to each calibration place included in the group of attribute display areas on the screen display area; determining an overlapping area of the calibration display areas corresponding to the set of attribute display areas based on a candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location included in the set of attribute display areas and the calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location; determining the area of the map occupied by the set of attribute display areas outside the screen display area;
s402, determining the screen display area corresponding to each group of attribute display areas in the multiple groups of attribute display areas based on the screen display area overlapping area and the marked display area overlapping area corresponding to the group of attribute display areas and the map area occupied by the group of attribute display areas outside the screen display area.
Here, when determining the screen display area corresponding to each set of attribute display regions, the following aspects may be considered:
in a first aspect, the overlapping area of the attribute display areas corresponding to the set of attribute display areas may be determined based on one candidate attribute display area on the screen display area of the attribute information corresponding to each calibration point included in the set of attribute display areas, that is, when it is determined that the attribute information corresponding to two or more calibration points is blocked, the overlapping area of the attribute display areas may be determined based on the candidate attribute display areas of two or more attribute information on the screen display area, if an area is covered by 2 candidate attribute display areas, the area is counted once, if the area is covered by 3 candidate attribute display areas, the area is counted 2 times, and so on.
In a second aspect: the overlapping area of the calibration display areas corresponding to the set of attribute display areas may be determined based on a candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location included in the set of attribute display areas and the calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location. In view of that there is no overlap between any calibration location and its attribute information in the embodiments of the present application, the overlapping area of the calibration display areas mainly refers to the overlap between the calibration display area corresponding to one calibration location and the candidate attribute display area of the attribute information corresponding to another calibration location. Similarly, if an area is covered by 1 candidate attribute display area and 1 calibration display area, the area is counted once, and if the area is covered by 2 candidate attribute display areas and 1 calibration display area, the area is counted 2 times, and so on.
In a third aspect, the map area occupied by the set of attribute display areas outside the screen display area may also be determined, and the smaller the map area is, the more comprehensive the attribute information is displayed in the screen display area.
Based on the areas determined in the three aspects, the screen display area corresponding to each set of attribute display regions can be determined. As shown in fig. 5, the determination may be made as follows.
S501, aiming at each group of attribute display areas in the multiple groups of attribute display areas, determining the area and the value of each attribute display area in the group of attribute display areas; determining an overlap area and a value based on the overlap area of the screen display area and the overlap area of the calibration display area corresponding to the set of attribute display areas;
s502, determining the area and the value of a calibration display area based on the calibration display area of each calibration place in the at least one calibration place corresponding to the screen display area;
s503, summing the area and the value of the attribute display area and the value of the calibration display area to obtain a first summation result, summing the overlapped area and the value with the area of the map occupied by the set of attribute display areas outside the screen display area to obtain a second summation result, and performing difference calculation on the first summation result and the second summation result to determine the screen display area corresponding to the set of attribute display areas.
Here, each attribute display area in each set of attribute display areas may be determined, an attribute display area and a value may be determined, an overlap area and a calibration display area overlap area corresponding to the set of attribute display areas may be determined, a calibration display area and a value may be determined based on a calibration display area corresponding to each calibration location in the at least one calibration location on the screen display area, then the attribute display area and the value may be summed with the calibration display area and the value to obtain a first summation result, the overlap area and the value may be summed with a map area of the set of attribute display areas outside the screen display area to obtain a second summation result, and finally the first summation result and the second summation result are subtracted, thereby obtaining the screen display area corresponding to each group of attribute display areas.
In the embodiment of the application, when determining the candidate relative orientation information, a coordinate system may be established with the calibration location as an origin, and then the candidate relative orientation information may be determined based on the occupation information of the attribute information corresponding to the calibration location on the screen display area.
In the embodiment of the present application, on one hand, candidate lateral display displacement information in each candidate display direction may be determined, and on the other hand, candidate longitudinal display displacement information in each candidate display direction may also be determined, which is described in the following two aspects.
In a first aspect: for each calibration point in the at least one calibration point, a first coordinate system may be established with the calibration point as an origin, then, based on content width occupation information of attribute information corresponding to the calibration point on the screen display area and a corresponding relationship between a horizontal axis direction of the first coordinate system and each candidate display direction, lateral offset information of the attribute information corresponding to the calibration point in each candidate display direction with respect to the origin is determined, and finally, the lateral offset information is used as candidate lateral display displacement information of the attribute information corresponding to the calibration point in each candidate display direction with respect to the calibration point.
In a second aspect: after the first coordinate system is established, the longitudinal offset information of the attribute information corresponding to the calibration point in each candidate display direction relative to the origin may be determined based on the content height occupation information of the attribute information corresponding to the calibration point on the screen display area, the preset interval information between the attribute information corresponding to the calibration point and the calibration point, and the corresponding relationship between the longitudinal axis direction of the first coordinate system and each candidate display direction, and then the longitudinal offset information may be used as the candidate longitudinal display displacement information of the attribute information corresponding to the calibration point in each candidate display direction relative to the calibration point.
Here, the content width occupation information and the content height occupation information on the screen display area of the attribute information corresponding to the calibration location may be determined based on the number of pixels actually occupied by the attribute information in the map, that is, after the attribute information is determined, the terminal device may render a corresponding attribute information display frame on the map based on the attribute information, and the size of the display frame may correspond to the content width occupation information of the attribute information.
In order to improve the stereoscopic impression of information display, the embodiment of the application can also set corresponding shadows for the attribute information display frame, so that when determining the transverse offset information, the method can also be determined by combining the shadow width occupation information, and when determining the longitudinal offset information, the method can also be determined by using the shadow height occupation information.
In addition, in order to further improve the integrity of information display, the embodiment of the application may further set the preset interval information between the attribute information and the corresponding calibration location thereof for different display modes of the terminal device, for example, for a vertical screen display mode, the preset interval information may be set in a vertical direction to determine final vertical offset information, and for a horizontal screen display mode, the preset interval information may be set in a horizontal direction to determine final horizontal offset information.
To facilitate further understanding of the above-mentioned offset information calculation process, a description is given below with reference to a specific example.
Assuming that the candidate display directions in the embodiment of the present application are 4, which are the upper left, upper right, lower right, and lower left of the attribute information relative to the corresponding calibration location, in this way, a first coordinate system is established with the calibration location as an origin, the horizontal axis is the positive direction of the x-axis to the right, and the vertical axis is the positive direction of the y-axis to the down, and the offset information can be determined according to the following formula.
First, when the attribute information is located at the upper left of the corresponding calibration location, the lateral offset information may be: -content width occupancy information/2 + shadow width occupancy information; its longitudinal offset information may be: -content height occupancy information/2 + shadow height occupancy information-preset interval information;
secondly, when the attribute information is located at the upper right of the corresponding calibration location, the lateral offset information may be: content width occupancy information/2-shadow width occupancy information; its longitudinal offset information may be: -content height occupancy information/2-shadow height occupancy information-preset interval information;
thirdly, when the attribute information is located at the lower right of the corresponding calibration location, the lateral offset information may be: content width occupancy information/2-shadow width occupancy information; its longitudinal offset information may be: content height occupation information/2 + shadow height occupation information + preset interval information;
and fourthly, when the attribute information is positioned at the lower left of the corresponding calibration place, the transverse offset information can be as follows: -content width occupancy information/2 + shadow width occupancy information; its longitudinal offset information may be: content height occupation information/2 + shadow height occupation information + preset interval information.
In the embodiment of the application, when determining the candidate attribute display area, a coordinate system may be established with a vertex angle of the screen display area as an origin, and then the candidate attribute display area is determined based on the display position of the attribute information corresponding to the calibration location on the screen display area. As shown in fig. 6, the method for determining a candidate attribute display area provided in the embodiment of the present application specifically includes the following steps:
s601, establishing a second coordinate system by taking a vertex angle of a screen display area as an origin;
s602, determining first coordinate information of each calibration place in the second coordinate system based on the display position of the calibration place on the screen display area;
s603, for each candidate display direction information of the attribute information corresponding to each calibration place relative to the calibration place, determining second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction based on the first coordinate information of the calibration place in the second coordinate system and the candidate display distance information of the attribute information corresponding to the calibration place relative to the calibration place in the candidate display direction;
s604, determining third coordinate information of the vertex position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction according to the second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area and the occupation information of the attribute information corresponding to the calibration place on the screen display area; determining the candidate attribute display area based on the third coordinate information at the respective vertex positions.
Here, after establishing a second coordinate system with a top corner of the screen display area as an origin, first coordinate information of each calibration point in the second coordinate system is determined based on a display position of the calibration point on the screen display area in the second coordinate system, so that second coordinate information of an attribute information corresponding to the calibration point at a center position on the screen display area in each candidate display direction can be determined based on the first coordinate information of the calibration point in the second coordinate system and candidate display distance information of the attribute information corresponding to the calibration point with respect to the calibration point in the candidate display direction, and then second coordinate information of the center position on the screen display area according to the attribute information corresponding to the calibration point and occupation information of the attribute information corresponding to the calibration point on the screen display area, that is, the third coordinate information of the vertex position of the attribute information corresponding to the calibration location on the screen display area in each candidate display direction may be determined, and finally the candidate attribute display area may be determined based on the third coordinate information at each vertex position.
After the coordinate information of each vertex position of the candidate attribute display region is known, whether or not there is an overlap between the two regions and, if there is an overlap, a calculation method of their corresponding overlap areas can be determined based on the coordinate position relationship.
To further explain the method for calculating the overlap area, a second coordinate system is established at the top left corner of the screen display area, and the horizontal axis is the positive direction of the x axis toward the right, and the vertical axis is the positive direction of the y axis toward the bottom.
If the upper left position coordinates of one area are determined to be (startX1, startY1), the lower right position coordinates are (endX1, endY1), the upper left position coordinates of the other area are determined to be (startX2, startY2), and the lower right position coordinates are determined to be (endX2, endY2), then when the positions of startY1-endY2>0 or startY2-endY1>0 or startX1-endX2>0 or startX 2-endX 1>0 are judged, the two areas can be determined not to be overlapped, otherwise, the two areas are not overlapped.
The two regions may be two candidate attribute display regions, a candidate attribute display region and a calibration display region, or a candidate attribute display region and a screen display region, that is, the method may be adopted in the embodiment of the present application to determine whether any two regions overlap.
After determining that there is an overlap between the two regions, two intersection points p1 and p2 may be determined, a maximum of startX1 and startX2 may be taken for p1X, a maximum of startY1 and startY2 may be taken for p1Y, a minimum of endX1 and endX2 may be taken for p2X, and a minimum of endY1 and endY2 may be taken for p2Y, so that if p2X > p1X and p2Y > p1Y, the overlap area is equal to (p2X-p1X) (p2Y-p 1Y).
After the overlapping area of the two areas is determined based on the method, the screen display area in the screen display area can be determined based on the area of the areas, and the larger the screen display area is, the more comprehensive the map display information is.
After the adjusted relative orientation information is determined, the adjusted display position of the attribute information corresponding to each calibration place on the screen display area can be determined, and then the position variation corresponding to each animation duration is determined based on the proportion of each animation duration to the total preset animation duration; and finally, sequentially determining a display position corresponding to each animation duration for the attribute information corresponding to each calibration place based on the display position before adjustment and the position variation corresponding to each animation duration, and moving the attribute information according to each display position until the attribute information is moved to the adjusted display position.
That is, in order to improve the experience of human-computer interaction, the embodiment of the application may move the attribute information from the position before the adjustment to the position after the adjustment based on an animation mode. In a particular application, the interpolator may first calculate the percentage of the current position change based on the percentage of time elapsed and may return the percentage to the estimator, such that the estimator may determine the adjusted position based on the percentage.
Based on the above embodiments, the embodiments of the present application further provide an information display apparatus, and the following various apparatus implementations may refer to the implementation of the method, and repeated details are not repeated.
Example two
As shown in fig. 7, an apparatus for displaying information according to the second embodiment of the present application includes:
a response module 701, configured to respond to a map zooming instruction, and determine a display position of at least one calibrated location on a map on a screen display area after the map zooming is performed;
an adjusting module 702, configured to adjust, according to a display position of the at least one calibration location on the screen display area, relative position information of attribute information corresponding to the at least one calibration location on the screen display area; the relative orientation information comprises display direction information and display distance information of the attribute information relative to the corresponding calibration place.
In one embodiment, the adjusting module 702 is configured to adjust the relative position information of the attribute information corresponding to each of the at least one calibration location on the screen display area according to the following steps:
for each calibration place in the at least one calibration place, determining a plurality of candidate attribute display areas of the attribute information on the screen display area based on the display position of the calibration place on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration place on the screen display area; and the number of the first and second groups,
determining a calibration display area on the screen display area corresponding to the calibration place according to the display position of the calibration place on the screen display area;
determining a screen display area corresponding to each group of attribute display areas in a plurality of groups of attribute display areas based on a calibration display area on the screen display area corresponding to each calibration place in the at least one calibration place and a plurality of candidate attribute display areas on the screen display area of attribute information corresponding to each calibration place, wherein each group of attribute display areas comprises one candidate attribute display area on the screen display area of the attribute information corresponding to each calibration place in the at least one calibration place, and the screen display area refers to the total display area of the at least one calibration display area and the group of attribute display areas in the screen display area;
and selecting a group of attribute display areas according to the determined screen display area, and adjusting the relative orientation information of the attribute information corresponding to the at least one calibration place on the screen display area based on the selected group of attribute display areas.
In one embodiment, the adjustment module 702 is configured to select a set of attribute display areas according to the following steps:
and selecting a target group attribute display area with the maximum corresponding screen display area from the multiple groups of attribute display areas.
In one embodiment, the adjusting module 702 is configured to select a target group attribute display area with the largest screen display area from the multiple groups of attribute display areas according to the following steps:
if the corresponding target group attribute display areas with the largest screen display area are in one group, taking the target group attribute display areas as a group of selected attribute display areas;
if the corresponding target group attribute display areas with the largest screen display areas are multiple groups, selecting the target group attribute display areas with the largest display areas of the attribute display areas in one group of corresponding screen display areas from the multiple groups of target group attribute display areas; and the target set of attribute display areas is used as the selected set of attribute display areas.
In one embodiment, the adjusting module 702 is configured to determine the screen display area corresponding to each of the multiple sets of attribute display areas according to the following steps:
for each group of attribute display areas in the multiple groups of attribute display areas, determining an attribute display area overlapping area corresponding to each group of attribute display areas based on a candidate attribute display area on the screen display area of attribute information corresponding to each calibration place included in the group of attribute display areas; determining an overlapping area of the calibration display areas corresponding to the set of attribute display areas based on a candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location included in the set of attribute display areas and the calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location; determining the area of the map occupied by the set of attribute display areas outside the screen display area;
and determining the screen display area corresponding to each group of attribute display areas in the multiple groups of attribute display areas based on the screen display area overlapping area and the marked display area corresponding to the group of attribute display areas and the map area occupied by the group of attribute display areas outside the screen display area.
In one embodiment, the adjusting module 702 is configured to determine the screen display area corresponding to each of the multiple sets of attribute display areas according to the following steps:
for each set of attribute display regions in the plurality of sets of attribute display regions, determining an attribute display region area and a value based on each attribute display region in the set of attribute display regions; determining an overlap area and a value based on the overlap area of the screen display area and the overlap area of the calibration display area corresponding to the set of attribute display areas;
determining a calibration display area and a calibration display area value based on a calibration display area corresponding to each calibration location in the at least one calibration location on the screen display area;
and summing the area and the value of the attribute display area and the value of the calibration display area to obtain a first summation result, summing the overlapped area and the value with the area of the map occupied by the set of attribute display areas outside the screen display area to obtain a second summation result, and subtracting the first summation result and the second summation result to determine the screen display area corresponding to the set of attribute display areas.
In one embodiment, the adjustment module 702 is configured to determine a plurality of candidate relative bearing information according to the following steps:
aiming at each calibration position in the at least one calibration position, establishing a first coordinate system by taking the calibration position as an origin; determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction, and taking the transverse deviation information as the candidate transverse display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the number of the first and second groups,
determining longitudinal offset information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and a corresponding relation between a longitudinal axis direction of the first coordinate system and each candidate display direction, and taking the longitudinal offset information as candidate longitudinal display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the candidate transverse display displacement information and the candidate longitudinal display displacement information form candidate display distance information.
In one embodiment, the adjusting module 702 is configured to determine the lateral offset information of the attribute information corresponding to the calibration location relative to the origin in each candidate display direction according to the following steps:
determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information and the shadow width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction;
the adjusting module 702 is configured to determine longitudinal offset information of the attribute information corresponding to the calibrated location in each candidate display direction relative to the origin according to the following steps:
and determining longitudinal deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information and shadow height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and the corresponding relation between the longitudinal axis direction of the first coordinate system and each candidate display direction.
In one embodiment, the adjusting module 702 is configured to determine a plurality of candidate attribute display areas of the attribute information on the screen display area according to the following steps:
establishing a second coordinate system by taking a vertex angle of the screen display area as an origin;
determining first coordinate information of each calibration position in the second coordinate system based on the display position of the calibration position on the screen display area;
for each candidate display direction information of the attribute information corresponding to each calibration place relative to the calibration place, determining second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction based on the first coordinate information of the calibration place in the second coordinate system and the candidate display distance information of the attribute information corresponding to the calibration place relative to the calibration place in the candidate display direction; and the number of the first and second groups,
determining third coordinate information of the vertex position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction according to second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area and occupation information of the attribute information corresponding to the calibration place on the screen display area; determining the candidate attribute display area based on the third coordinate information at the respective vertex positions.
In one embodiment, the apparatus further comprises:
a moving module 703, configured to determine, based on the adjusted relative orientation information, an adjusted display position of the attribute information corresponding to each calibration location in the at least one calibration location on the screen display area;
determining the position variation corresponding to each experience animation time length based on the proportion of each experience animation time length to the total preset animation time length; the total duration of the preset animation is formed by the duration of each experience animation;
and sequentially determining the display position corresponding to each animation duration for the attribute information corresponding to each calibration place based on the display position before adjustment and the position variation corresponding to each animation duration, and moving the attribute information according to each display position until the attribute information is moved to the adjusted display position.
EXAMPLE III
An embodiment of the present application provides an electronic device, where the electronic device may be a server or a client, and when the server is used as the electronic device, as shown in fig. 8, the electronic device includes: the system comprises a processor 801, a storage medium 802 and a bus 803, wherein the storage medium 802 stores machine-readable instructions executable by the processor 801 (such as execution instructions corresponding to a response module 701 and an adjustment module 702 in the information display device in fig. 7, and the like), when an electronic device runs, the processor 801 and the storage medium 802 communicate via the bus 803, and when the processor 801 executes the following processes:
responding to a map zooming instruction, and determining the display position of at least one calibration place on the map on a screen display area after the map zooming is carried out;
adjusting the relative orientation information of the attribute information respectively corresponding to the at least one calibration place on the screen display area according to the display position of the at least one calibration place on the screen display area; the relative orientation information comprises display direction information and display distance information of the attribute information relative to the corresponding calibration place.
In one embodiment, the instructions executed by the processor 801 for adjusting the relative orientation information of the attribute information corresponding to each of the at least one calibration locations on the screen display area includes:
for each calibration place in the at least one calibration place, determining a plurality of candidate attribute display areas of the attribute information on the screen display area based on the display position of the calibration place on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration place on the screen display area; and the number of the first and second groups,
determining a calibration display area on the screen display area corresponding to the calibration place according to the display position of the calibration place on the screen display area;
determining a screen display area corresponding to each group of attribute display areas in a plurality of groups of attribute display areas based on a calibration display area on the screen display area corresponding to each calibration place in the at least one calibration place and a plurality of candidate attribute display areas on the screen display area of attribute information corresponding to each calibration place, wherein each group of attribute display areas comprises one candidate attribute display area on the screen display area of the attribute information corresponding to each calibration place in the at least one calibration place, and the screen display area refers to the total display area of the at least one calibration display area and the group of attribute display areas in the screen display area;
and selecting a group of attribute display areas according to the determined screen display area, and adjusting the relative orientation information of the attribute information corresponding to the at least one calibration place on the screen display area based on the selected group of attribute display areas.
In one embodiment, the instructions executed by the processor 801 include instructions for selecting a set of attribute display regions according to the determined screen display area, including:
and selecting a target group attribute display area with the maximum corresponding screen display area from the multiple groups of attribute display areas.
In one embodiment, the instructions executed by the processor 801 to select a target group attribute display area with the largest screen display area from the multiple groups of attribute display areas include:
if the corresponding target group attribute display areas with the largest screen display area are in one group, taking the target group attribute display areas as a group of selected attribute display areas;
if the corresponding target group attribute display areas with the largest screen display areas are multiple groups, selecting the target group attribute display areas with the largest display areas of the attribute display areas in one group of corresponding screen display areas from the multiple groups of target group attribute display areas; and the target set of attribute display areas is used as the selected set of attribute display areas.
In one embodiment, the instructions executed by the processor 801 include instructions for determining a screen display area corresponding to each of the plurality of sets of attribute display areas based on a calibration display area on the screen display area corresponding to each of the at least one calibration location and a plurality of candidate attribute display areas on the screen display area of the attribute information corresponding to each calibration location, including:
for each group of attribute display areas in the multiple groups of attribute display areas, determining an attribute display area overlapping area corresponding to each group of attribute display areas based on a candidate attribute display area on the screen display area of attribute information corresponding to each calibration place included in the group of attribute display areas; determining an overlapping area of the calibration display areas corresponding to the set of attribute display areas based on a candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location included in the set of attribute display areas and the calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location; determining the area of the map occupied by the set of attribute display areas outside the screen display area;
and determining the screen display area corresponding to each group of attribute display areas in the multiple groups of attribute display areas based on the screen display area overlapping area and the marked display area corresponding to the group of attribute display areas and the map area occupied by the group of attribute display areas outside the screen display area.
In an embodiment, in the instructions executed by the processor 801, the determining, based on the screen display area overlapping area and the calibration display area overlapping area corresponding to the set of attribute display areas and the map area occupied by the set of attribute display areas outside the screen display area, the screen display area corresponding to each set of attribute display areas in the sets of attribute display areas includes:
for each set of attribute display regions in the plurality of sets of attribute display regions, determining an attribute display region area and a value based on each attribute display region in the set of attribute display regions; determining an overlap area and a value based on the overlap area of the screen display area and the overlap area of the calibration display area corresponding to the set of attribute display areas;
determining a calibration display area and a calibration display area value based on a calibration display area corresponding to each calibration location in the at least one calibration location on the screen display area;
and summing the area and the value of the attribute display area and the value of the calibration display area to obtain a first summation result, summing the overlapped area and the value with the area of the map occupied by the set of attribute display areas outside the screen display area to obtain a second summation result, and subtracting the first summation result and the second summation result to determine the screen display area corresponding to the set of attribute display areas.
In one embodiment, the processor 801 may execute the instructions to determine a plurality of candidate relative bearing information according to the following steps:
aiming at each calibration position in the at least one calibration position, establishing a first coordinate system by taking the calibration position as an origin; determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction, and taking the transverse deviation information as the candidate transverse display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the number of the first and second groups,
determining longitudinal offset information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and a corresponding relation between a longitudinal axis direction of the first coordinate system and each candidate display direction, and taking the longitudinal offset information as candidate longitudinal display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the candidate transverse display displacement information and the candidate longitudinal display displacement information form candidate display distance information.
In one embodiment, the instructions executed by the processor 801 for determining, based on the content width occupation information of the attribute information corresponding to the nominal location on the screen display area and the corresponding relationship between the horizontal axis direction of the first coordinate system and each candidate display direction, the lateral offset information of the attribute information corresponding to the nominal location with respect to the origin in each candidate display direction includes:
determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information and the shadow width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction;
the instructions executed by the processor 801 for determining, based on the content height occupation information of the attribute information corresponding to the calibration location on the screen display area, the preset interval information between the attribute information corresponding to the calibration location and the calibration location, and the corresponding relationship between the longitudinal axis direction of the first coordinate system and each candidate display direction, the longitudinal offset information of the attribute information corresponding to the calibration location in each candidate display direction with respect to the origin includes:
and determining longitudinal deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information and shadow height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and the corresponding relation between the longitudinal axis direction of the first coordinate system and each candidate display direction.
In one embodiment, the instructions executed by the processor 801 include, for each of the at least one calibration location, determining a plurality of candidate attribute display areas of the attribute information on the screen display area based on a display position of the calibration location on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration location on the screen display area, where the determining includes:
establishing a second coordinate system by taking a vertex angle of the screen display area as an origin;
determining first coordinate information of each calibration position in the second coordinate system based on the display position of the calibration position on the screen display area;
for each candidate display direction information of the attribute information corresponding to each calibration place relative to the calibration place, determining second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction based on the first coordinate information of the calibration place in the second coordinate system and the candidate display distance information of the attribute information corresponding to the calibration place relative to the calibration place in the candidate display direction; and the number of the first and second groups,
determining third coordinate information of the vertex position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction according to second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area and occupation information of the attribute information corresponding to the calibration place on the screen display area; determining the candidate attribute display area based on the third coordinate information at the respective vertex positions.
In one embodiment, the instructions executed by the processor 801 further include:
determining the adjusted display position of the attribute information corresponding to each calibration place in at least one calibration place on the screen display area based on the adjusted relative orientation information;
determining the position variation corresponding to each experience animation time length based on the proportion of each experience animation time length to the total preset animation time length; the total duration of the preset animation is formed by the duration of each experience animation;
and sequentially determining the display position corresponding to each animation duration for the attribute information corresponding to each calibration place based on the display position before adjustment and the position variation corresponding to each animation duration, and moving the attribute information according to each display position until the attribute information is moved to the adjusted display position.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by the processor 801 to perform the steps of the above-mentioned information display method.
Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, and the like, and when a computer program on the storage medium is run, the method for displaying information can be executed, so that the problem that information shielding brings inconvenience to a user when going out in the related art is solved, and then the effects of avoiding information shielding through relative orientation adjustment and improving the integrity of information display are achieved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. A method of information display, the method comprising:
responding to a map zooming instruction, and determining the display position of at least one calibration place on the map on a screen display area after the map zooming is carried out;
adjusting the relative orientation information of the attribute information respectively corresponding to the at least one calibration place on the screen display area according to the display position of the at least one calibration place on the screen display area; the relative orientation information comprises display direction information and display distance information of the attribute information relative to the corresponding calibration place.
2. The method according to claim 1, wherein adjusting the relative orientation information of the attribute information corresponding to each of the at least one calibration locations on the screen display area comprises:
for each calibration place in the at least one calibration place, determining a plurality of candidate attribute display areas of the attribute information on the screen display area based on the display position of the calibration place on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration place on the screen display area; and the number of the first and second groups,
determining a calibration display area on the screen display area corresponding to the calibration place according to the display position of the calibration place on the screen display area;
determining a screen display area corresponding to each group of attribute display areas in a plurality of groups of attribute display areas based on a calibration display area on the screen display area corresponding to each calibration place in the at least one calibration place and a plurality of candidate attribute display areas on the screen display area of attribute information corresponding to each calibration place, wherein each group of attribute display areas comprises one candidate attribute display area on the screen display area of the attribute information corresponding to each calibration place in the at least one calibration place, and the screen display area refers to the total display area of the at least one calibration display area and the group of attribute display areas in the screen display area;
and selecting a group of attribute display areas according to the determined screen display area, and adjusting the relative orientation information of the attribute information corresponding to the at least one calibration place on the screen display area based on the selected group of attribute display areas.
3. The method of claim 2, wherein selecting a set of attribute display regions based on the determined screen display area comprises:
and selecting a target group attribute display area with the maximum corresponding screen display area from the multiple groups of attribute display areas.
4. The method of claim 3, wherein selecting the corresponding target group of attribute display regions with the largest screen display area from the plurality of groups of attribute display regions comprises:
if the corresponding target group attribute display areas with the largest screen display area are in one group, taking the target group attribute display areas as a group of selected attribute display areas;
if the corresponding target group attribute display areas with the largest screen display areas are multiple groups, selecting the target group attribute display areas with the largest display areas of the attribute display areas in one group of corresponding screen display areas from the multiple groups of target group attribute display areas; and the target set of attribute display areas is used as the selected set of attribute display areas.
5. The method according to claim 2, wherein the determining the screen display area corresponding to each of the plurality of sets of attribute display areas based on the calibration display area on the screen display area corresponding to each of the at least one calibration locations and the plurality of candidate attribute display areas on the screen display area of the attribute information corresponding to each calibration location comprises:
for each group of attribute display areas in the multiple groups of attribute display areas, determining an attribute display area overlapping area corresponding to each group of attribute display areas based on a candidate attribute display area on the screen display area of attribute information corresponding to each calibration place included in the group of attribute display areas; determining an overlapping area of the calibration display areas corresponding to the set of attribute display areas based on a candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location included in the set of attribute display areas and the calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location; determining the area of the map occupied by the set of attribute display areas outside the screen display area;
and determining the screen display area corresponding to each group of attribute display areas in the multiple groups of attribute display areas based on the screen display area overlapping area and the marked display area corresponding to the group of attribute display areas and the map area occupied by the group of attribute display areas outside the screen display area.
6. The method according to claim 5, wherein the determining the screen display area corresponding to each set of attribute display areas in the plurality of sets of attribute display areas based on the screen display area and the calibration display area corresponding to the set of attribute display areas and the map area occupied by the set of attribute display areas outside the screen display area comprises:
for each set of attribute display regions in the plurality of sets of attribute display regions, determining an attribute display region area and a value based on each attribute display region in the set of attribute display regions; determining an overlap area and a value based on the overlap area of the screen display area and the overlap area of the calibration display area corresponding to the set of attribute display areas;
determining a calibration display area and a calibration display area value based on a calibration display area corresponding to each calibration location in the at least one calibration location on the screen display area;
and summing the area and the value of the attribute display area and the value of the calibration display area to obtain a first summation result, summing the overlapped area and the value with the area of the map occupied by the set of attribute display areas outside the screen display area to obtain a second summation result, and subtracting the first summation result and the second summation result to determine the screen display area corresponding to the set of attribute display areas.
7. The method of claim 2, wherein the plurality of candidate relative bearing information is determined according to the steps of:
aiming at each calibration position in the at least one calibration position, establishing a first coordinate system by taking the calibration position as an origin; determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction, and taking the transverse deviation information as the candidate transverse display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the number of the first and second groups,
determining longitudinal offset information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and a corresponding relation between a longitudinal axis direction of the first coordinate system and each candidate display direction, and taking the longitudinal offset information as candidate longitudinal display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the candidate transverse display displacement information and the candidate longitudinal display displacement information form candidate display distance information.
8. The method according to claim 7, wherein determining lateral offset information of the attribute information corresponding to the nominal location with respect to the origin in each candidate display direction based on the content width occupation information of the attribute information corresponding to the nominal location on the screen display area and the corresponding relationship between the horizontal axis direction of the first coordinate system and each candidate display direction comprises:
determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information and the shadow width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction;
determining longitudinal deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and a corresponding relation between a longitudinal axis direction of the first coordinate system and each candidate display direction, including:
and determining longitudinal deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information and shadow height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and the corresponding relation between the longitudinal axis direction of the first coordinate system and each candidate display direction.
9. The method according to claim 2, wherein the determining, for each of the at least one calibration location, a plurality of candidate attribute display areas of the attribute information on the screen display area based on the display position of the calibration location on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration location on the screen display area comprises:
establishing a second coordinate system by taking a vertex angle of the screen display area as an origin;
determining first coordinate information of each calibration position in the second coordinate system based on the display position of the calibration position on the screen display area;
for each candidate display direction information of the attribute information corresponding to each calibration place relative to the calibration place, determining second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction based on the first coordinate information of the calibration place in the second coordinate system and the candidate display distance information of the attribute information corresponding to the calibration place relative to the calibration place in the candidate display direction; and the number of the first and second groups,
determining third coordinate information of the vertex position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction according to second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area and occupation information of the attribute information corresponding to the calibration place on the screen display area; determining the candidate attribute display area based on the third coordinate information at the respective vertex positions.
10. The method of claim 1, further comprising:
determining the adjusted display position of the attribute information corresponding to each calibration place in at least one calibration place on the screen display area based on the adjusted relative orientation information;
determining the position variation corresponding to each experience animation time length based on the proportion of each experience animation time length to the total preset animation time length; the total duration of the preset animation is formed by the duration of each experience animation;
and sequentially determining the display position corresponding to each animation duration for the attribute information corresponding to each calibration place based on the display position before adjustment and the position variation corresponding to each animation duration, and moving the attribute information according to each display position until the attribute information is moved to the adjusted display position.
11. An apparatus for displaying information, the apparatus comprising:
the response module is used for responding to the map zooming instruction and determining the display position of at least one calibration place on the map on the screen display area after the map zooming is carried out;
the adjusting module is used for adjusting the relative position information of the attribute information corresponding to the at least one calibration place on the screen display area according to the display position of the at least one calibration place on the screen display area; the relative orientation information comprises display direction information and display distance information of the attribute information relative to the corresponding calibration place.
12. The apparatus according to claim 11, wherein the adjusting module is configured to adjust the relative position information of the attribute information corresponding to each of the at least one calibration locations on the screen display area according to the following steps:
for each calibration place in the at least one calibration place, determining a plurality of candidate attribute display areas of the attribute information on the screen display area based on the display position of the calibration place on the screen display area and a plurality of candidate relative orientation information of the attribute information corresponding to the calibration place on the screen display area; and the number of the first and second groups,
determining a calibration display area on the screen display area corresponding to the calibration place according to the display position of the calibration place on the screen display area;
determining a screen display area corresponding to each group of attribute display areas in a plurality of groups of attribute display areas based on a calibration display area on the screen display area corresponding to each calibration place in the at least one calibration place and a plurality of candidate attribute display areas on the screen display area of attribute information corresponding to each calibration place, wherein each group of attribute display areas comprises one candidate attribute display area on the screen display area of the attribute information corresponding to each calibration place in the at least one calibration place, and the screen display area refers to the total display area of the at least one calibration display area and the group of attribute display areas in the screen display area;
and selecting a group of attribute display areas according to the determined screen display area, and adjusting the relative orientation information of the attribute information corresponding to the at least one calibration place on the screen display area based on the selected group of attribute display areas.
13. The apparatus of claim 12, wherein the adjustment module is configured to select a set of attribute display regions according to the following steps:
and selecting a target group attribute display area with the maximum corresponding screen display area from the multiple groups of attribute display areas.
14. The apparatus of claim 13, wherein the adjusting module is configured to select a target group of attribute display regions from the plurality of groups of attribute display regions, where a corresponding screen display area is the largest, according to the following steps:
if the corresponding target group attribute display areas with the largest screen display area are in one group, taking the target group attribute display areas as a group of selected attribute display areas;
if the corresponding target group attribute display areas with the largest screen display areas are multiple groups, selecting the target group attribute display areas with the largest display areas of the attribute display areas in one group of corresponding screen display areas from the multiple groups of target group attribute display areas; and the target set of attribute display areas is used as the selected set of attribute display areas.
15. The apparatus of claim 12, wherein the adjusting module is configured to determine the screen display area corresponding to each of the plurality of sets of attribute display regions according to the following steps:
for each group of attribute display areas in the multiple groups of attribute display areas, determining an attribute display area overlapping area corresponding to each group of attribute display areas based on a candidate attribute display area on the screen display area of attribute information corresponding to each calibration place included in the group of attribute display areas; determining an overlapping area of the calibration display areas corresponding to the set of attribute display areas based on a candidate attribute display area on the screen display area of the attribute information corresponding to each calibration location included in the set of attribute display areas and the calibration display area on the screen display area corresponding to each calibration location in the at least one calibration location; determining the area of the map occupied by the set of attribute display areas outside the screen display area;
and determining the screen display area corresponding to each group of attribute display areas in the multiple groups of attribute display areas based on the screen display area overlapping area and the marked display area corresponding to the group of attribute display areas and the map area occupied by the group of attribute display areas outside the screen display area.
16. The apparatus of claim 15, wherein the adjusting module is configured to determine the screen display area corresponding to each of the plurality of sets of attribute display regions according to the following steps:
for each set of attribute display regions in the plurality of sets of attribute display regions, determining an attribute display region area and a value based on each attribute display region in the set of attribute display regions; determining an overlap area and a value based on the overlap area of the screen display area and the overlap area of the calibration display area corresponding to the set of attribute display areas;
determining a calibration display area and a calibration display area value based on a calibration display area corresponding to each calibration location in the at least one calibration location on the screen display area;
and summing the area and the value of the attribute display area and the value of the calibration display area to obtain a first summation result, summing the overlapped area and the value with the area of the map occupied by the set of attribute display areas outside the screen display area to obtain a second summation result, and subtracting the first summation result and the second summation result to determine the screen display area corresponding to the set of attribute display areas.
17. The apparatus of claim 12, wherein the adjustment module is configured to determine the plurality of candidate relative bearing information according to the following steps:
aiming at each calibration position in the at least one calibration position, establishing a first coordinate system by taking the calibration position as an origin; determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction, and taking the transverse deviation information as the candidate transverse display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the number of the first and second groups,
determining longitudinal offset information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and a corresponding relation between a longitudinal axis direction of the first coordinate system and each candidate display direction, and taking the longitudinal offset information as candidate longitudinal display displacement information of the attribute information corresponding to the calibration place relative to the calibration place in each candidate display direction; and the candidate transverse display displacement information and the candidate longitudinal display displacement information form candidate display distance information.
18. The apparatus of claim 17, wherein the adjusting module is configured to determine lateral offset information of the attribute information corresponding to the calibration location relative to the origin in each candidate display direction according to the following steps:
determining the transverse deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on the content width occupation information and the shadow width occupation information of the attribute information corresponding to the calibration place on the screen display area and the corresponding relation between the transverse axis direction of the first coordinate system and each candidate display direction;
the adjusting module is used for determining the longitudinal deviation information of the attribute information corresponding to the calibration place in each candidate display direction relative to the origin according to the following steps:
and determining longitudinal deviation information of the attribute information corresponding to the calibration place relative to the origin in each candidate display direction based on content height occupation information and shadow height occupation information of the attribute information corresponding to the calibration place on the screen display area, preset interval information between the attribute information corresponding to the calibration place and the calibration place, and the corresponding relation between the longitudinal axis direction of the first coordinate system and each candidate display direction.
19. The apparatus of claim 12, wherein the adjustment module is configured to determine a plurality of candidate attribute display areas of the attribute information on the screen display area according to the following steps:
establishing a second coordinate system by taking a vertex angle of the screen display area as an origin;
determining first coordinate information of each calibration position in the second coordinate system based on the display position of the calibration position on the screen display area;
for each candidate display direction information of the attribute information corresponding to each calibration place relative to the calibration place, determining second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction based on the first coordinate information of the calibration place in the second coordinate system and the candidate display distance information of the attribute information corresponding to the calibration place relative to the calibration place in the candidate display direction; and the number of the first and second groups,
determining third coordinate information of the vertex position of the attribute information corresponding to the calibration place on the screen display area in the candidate display direction according to second coordinate information of the center position of the attribute information corresponding to the calibration place on the screen display area and occupation information of the attribute information corresponding to the calibration place on the screen display area; determining the candidate attribute display area based on the third coordinate information at the respective vertex positions.
20. The apparatus of claim 11, further comprising:
the mobile module is used for determining the adjusted display position of the attribute information corresponding to each calibration place in at least one calibration place on the screen display area based on the adjusted relative orientation information;
determining the position variation corresponding to each experience animation time length based on the proportion of each experience animation time length to the total preset animation time length; the total duration of the preset animation is formed by the duration of each experience animation;
and sequentially determining the display position corresponding to each animation duration for the attribute information corresponding to each calibration place based on the display position before adjustment and the position variation corresponding to each animation duration, and moving the attribute information according to each display position until the attribute information is moved to the adjusted display position.
21. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method according to any one of claims 1 to 10.
22. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 10.
CN202010025892.6A 2020-01-10 2020-01-10 Information display method and device, electronic equipment and storage medium Pending CN111651697A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010025892.6A CN111651697A (en) 2020-01-10 2020-01-10 Information display method and device, electronic equipment and storage medium
PCT/CN2021/070758 WO2021139743A1 (en) 2020-01-10 2021-01-08 Method and system for displaying information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010025892.6A CN111651697A (en) 2020-01-10 2020-01-10 Information display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111651697A true CN111651697A (en) 2020-09-11

Family

ID=72344883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010025892.6A Pending CN111651697A (en) 2020-01-10 2020-01-10 Information display method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111651697A (en)
WO (1) WO2021139743A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112461254A (en) * 2020-11-13 2021-03-09 深圳瑞娅互娱科技有限公司 Navigation information intelligent display control method and related device
CN113029165A (en) * 2021-02-24 2021-06-25 腾讯科技(深圳)有限公司 Navigation data processing method and device, electronic equipment and storage medium
WO2021139743A1 (en) * 2020-01-10 2021-07-15 北京嘀嘀无限科技发展有限公司 Method and system for displaying information

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127952A (en) * 2006-03-31 2008-02-20 捷讯研究有限公司 Method and system for distribution of map content to mobile communication devices
CN101640002A (en) * 2008-07-31 2010-02-03 宏达国际电子股份有限公司 Synchronized method, system and used recording medium of electronic map marker
CN102129811A (en) * 2010-11-25 2011-07-20 北京神州泰岳软件股份有限公司 Dynamic display method of a wireless network resource
CN102411613A (en) * 2011-10-25 2012-04-11 桂林理工大学 Optimized displaying method for dimordinate on network map
US8615463B2 (en) * 2007-03-22 2013-12-24 Trading Technologies International, Inc. System and method for displaying a view of market depth on a graphical user interface
CN105677653A (en) * 2014-11-18 2016-06-15 北京四维图新科技股份有限公司 Electronic map caption tagging method and device
CN108319423A (en) * 2017-12-22 2018-07-24 石化盈科信息技术有限责任公司 A kind of one-handed performance method and device showing map on the touchscreen
US10156456B2 (en) * 2014-01-24 2018-12-18 Tencent Technology (Shenzhen) Company Limited Method and system for displaying geographic information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651697A (en) * 2020-01-10 2020-09-11 北京嘀嘀无限科技发展有限公司 Information display method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127952A (en) * 2006-03-31 2008-02-20 捷讯研究有限公司 Method and system for distribution of map content to mobile communication devices
US8615463B2 (en) * 2007-03-22 2013-12-24 Trading Technologies International, Inc. System and method for displaying a view of market depth on a graphical user interface
CN101640002A (en) * 2008-07-31 2010-02-03 宏达国际电子股份有限公司 Synchronized method, system and used recording medium of electronic map marker
CN102129811A (en) * 2010-11-25 2011-07-20 北京神州泰岳软件股份有限公司 Dynamic display method of a wireless network resource
CN102411613A (en) * 2011-10-25 2012-04-11 桂林理工大学 Optimized displaying method for dimordinate on network map
US10156456B2 (en) * 2014-01-24 2018-12-18 Tencent Technology (Shenzhen) Company Limited Method and system for displaying geographic information
CN105677653A (en) * 2014-11-18 2016-06-15 北京四维图新科技股份有限公司 Electronic map caption tagging method and device
CN108319423A (en) * 2017-12-22 2018-07-24 石化盈科信息技术有限责任公司 A kind of one-handed performance method and device showing map on the touchscreen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021139743A1 (en) * 2020-01-10 2021-07-15 北京嘀嘀无限科技发展有限公司 Method and system for displaying information
CN112461254A (en) * 2020-11-13 2021-03-09 深圳瑞娅互娱科技有限公司 Navigation information intelligent display control method and related device
CN113029165A (en) * 2021-02-24 2021-06-25 腾讯科技(深圳)有限公司 Navigation data processing method and device, electronic equipment and storage medium
CN113029165B (en) * 2021-02-24 2022-04-22 腾讯科技(深圳)有限公司 Navigation data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021139743A1 (en) 2021-07-15

Similar Documents

Publication Publication Date Title
CN111651697A (en) Information display method and device, electronic equipment and storage medium
US11716408B2 (en) Navigation using proximity information
US20190180512A1 (en) Method for Representing Points of Interest in a View of a Real Environment on a Mobile Device and Mobile Device Therefor
US9454850B2 (en) Mobile communication terminal for providing augmented reality service and method of changing into augmented reality service screen
US20140201676A1 (en) Method and apparatus for switching pages in interfaces, and computer storage medium thereof
EP2444885A1 (en) Image display device, image display method, program, and computer readable medium
EP2366973A2 (en) Map display apparatus, map display method and program
US11243089B2 (en) Navigation method, navigation apparatus, computer readable medium, and mobile terminal
EP2136185B1 (en) Method and apparatus for displaying map using non-linear compression
JPWO2012176926A1 (en) Information processing apparatus, information processing system, server, information processing method, and computer program
EP1284410A2 (en) Map display method, map display device and map display system
JP2010085199A (en) Navigation apparatus
KR101307349B1 (en) Device and method for displaying locations on a map of mobile terminal
CN105246032B (en) Indoor navigation method based on KTV and mobile terminal
JP2002243467A (en) Navigation system
CN111143706A (en) Prompt message display method and device, electronic equipment and storage medium
CN112083845B (en) Bubble control processing method and device
CN112083995B (en) Interface display method and device, electronic equipment and readable storage medium
CN106293037B (en) Interaction method and electronic equipment
CN116071377A (en) Map labeling method and device and map labeling device
JP4812609B2 (en) Navigation system and navigation device
JP2013114352A (en) Map image display system, map image display method and program
CN112612437B (en) Picture display method and device and electronic equipment
JP4324166B2 (en) Route providing method and system using mobile communication terminal providing scroll function
US20230315280A1 (en) Information display device and program

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