A method, system, device and medium for optimizing the visual display effect of a map
By calculating the real-time distance and priority between the business objectives and the user, adjusting the business objective visual display strategy on the scenic spot map, the problem of inconspicuous visual distance perception of the map and the mismatch of the priority configuration of the business objectives in the existing technology is solved, and the user experience of the intelligent navigation system is improved.
Patent Information
- Application Number
- CN202411638838.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2044-11-18
AI Technical Summary
In the existing intelligent navigation mini program, in the guides of scenic spots and attractions, the visual distance perception of the map is not obvious, the priority configuration of business goals does not match user needs, and lacks integrated recommendations.
By calculating the real-time distance between the business objective and the user, and calculating the weight of the business objectives in combination with the preset business objective priority, setting the visual highlighting strategy of the business objectives on the scenic area map based on the calculated weights, including adjustments to symbol color, size and border thickness.
It improves the visual distance perception effect of users during the intelligent navigation process and the priority perception effect of business objectives, visually highlighting and fading, and improves the user experience of the intelligent navigation system.
Smart Images

Figure CN119127047B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent scenic area navigation, and particularly relates to a method, system, device and medium for optimizing the visual display effect of a map. Background Art
[0002] With the development of information technology, intelligent navigation mini-programs or systems have emerged in various scenic areas and attractions. In the intelligent navigation mini-program, for the navigation of scenic areas and attractions, the mini-program will embed the locations of each scenic area and attraction into the map, giving users a basic understanding of each attraction within the scenic area.
[0003] Existing intelligent navigation mini-programs have been widely used in the navigation of scenic areas and attractions and usually have the following functions: First, the map embedding and punctuation function, which embeds the locations of each scenic area and attraction into the map and punctuates the locations of business objects such as attractions, parking lots, toilets, etc., to facilitate users to search. Second, the distance sorting and list display function, which sorts the attractions in a list according to the distance from the user's current location, enabling users to select target attractions according to the distance. Third, the hierarchical display function, which hierarchically displays business objects according to the zoom level of the map. The initial map displays the business objects with the highest priority, and lower-priority business objects are gradually displayed as the map is zoomed in.
[0004] The existing functions of existing intelligent navigation mini-programs have satisfied the basic cognitive needs of users for business objects within the scenic area to a certain extent, but there are still the following deficiencies: First, the visual distance perception on the map is not obvious: The existing mini-programs do not display the distances of business objects on the map intuitively enough. Users need to perform operations such as pulling down the list and clicking on the details to obtain specific distance information, and the operation process is cumbersome, affecting the user experience. Second, the priorities configured by business personnel do not match the user needs: The priorities set by business personnel for business objects are often based on business logic or precise planning, and do not fully consider the actual needs of users. For example, a parking lot with a high priority may not meet the user's current location or needs, resulting in users spending extra time looking for a suitable parking lot. Third, there is a lack of combined recommendation: Existing mini-programs usually only provide sorting based on distance or hierarchical display, and do not comprehensively consider the two-way needs of the business side and the user side. Summary of the Invention
[0005] In a first aspect, an embodiment of the present application provides a method for optimizing the visual display effect of a map, including the following steps:
[0006] S1. Calculate the real-time distance between the business target and the user, and calculate the weight of the business target in combination with the pre-set priority of the business target;
[0007] S2. Set the visual highlighting display strategy of the business target on the scenic area map according to the calculated weight of the business target.
[0008] Furthermore, the specific steps of step S1 are as follows:
[0009] S11. Calculate the distance between each business target and the user through the map software in the intelligent navigation scenario;
[0010] S12. Obtain the priority configured for each business target on the map display in advance according to the priority requirements of the business side;
[0011] S13. Set the weight of the business target to be negatively correlated with the distance between the business target and the user, and positively correlated with the priority of each business target.
[0012] Furthermore, the specific steps of step S11 are as follows:
[0013] S111. The mobile terminal device obtains the location information of the user;
[0014] S112. The map software calculates the relative position of the user from each business target based on the location information of the user obtained by the mobile terminal device and the current map level;
[0015] The specific steps of step S12 are as follows:
[0016] S121. Obtain the priority requirements of the business side;
[0017] S122. Identify the business targets with permanent service levels in the priority requirements;
[0018] S123. Determine whether there are business targets with temporarily increased priorities;
[0019] If so, go to step S124;
[0020] If not, go to step S13;
[0021] S124. Change the priority of the business targets with temporarily increased priorities;
[0022] The specific steps of step S13 are as follows:
[0023] S131. Preset the maximum value of the weight P of the business target and the minimum value of the weight range , and use the following formula to normalize the weight P of the business target within the weight range:
[0024] ;
[0025] Wherein, is the normalized weight of the business target;
[0026] S132. Preset the minimum distance D between the business goal and the user, and the maximum distance , and unify the measurement unit, where is a positive number greater than or equal to 1, is a positive number;
[0027] S133. Normalize the distance D between the business goal and the user using the following formula:
[0028] ;
[0029] where, is the distance between the normalized business goal and the user;
[0030] S134. Set the normalized weight of the business goal through the following formula to be negatively correlated with the distance between the business goal and the user, and positively correlated with the priority of each business goal:
[0031] ;
[0032] where, is the weight of the normalized business goal.
[0033] Furthermore, step S13 further includes the following steps:
[0034] S135. Discretize the weight of the normalized business goal using the following formula:
[0035] ;
[0036] where, is the weight of the discretized business goal;
[0037] S136. Simplify the weight of the discretized business goal to obtain:
[0038] ;
[0039] where, is the weight of the business goal.
[0040] Furthermore, the specific steps of step S2 are as follows:
[0041] S21. Set the symbol color for highlighting the business goal on the scenic area map according to the calculated weight of the business goal;
[0042] S22. Set the symbol size for highlighting the business goal on the scenic area map according to the calculated weight of the business goal;
[0043] S23. Determine whether it is necessary to set the symbol border of the business target highlighted on the scenic area map;
[0044] If yes, go to step S24;
[0045] If no, end;
[0046] S24. Set the thickness of the symbol border of the business target highlighted on the scenic area map according to the calculated weight of the business target.
[0047] Furthermore, the specific steps of step S21 are as follows:
[0048] S211. Select one of the three primary colors as the hue for the symbol of the business target highlighted on the scenic area map;
[0049] S222. Limit the lowest lightness of the symbol of the business target highlighted on the scenic area map ;
[0050] S213. According to the weight of the business target and the lowest lightness , and use the following formula to set the final lightness of the symbol of the business target highlighted on the scenic area map:
[0051] ;
[0052] S214. Limit the lowest saturation of the symbol of the business target highlighted on the scenic area map ;
[0053] S215. According to the weight of the business target and the lowest saturation , and use the following formula to set the final saturation S of the symbol of the business target highlighted on the scenic area map:
[0054] ;
[0055] The specific steps of step S22 are as follows:
[0056] S221. Calculate the basic size r of the symbol of the business target visually highlighted on the scenic area map according to the screen size of the mobile terminal device or the size of the scenic area map;
[0057] S222. According to the weight of the business target , and use the following formula to adjust the basic size r of the symbol of the business target visually highlighted on the scenic area map:
[0058] ;
[0059] Among them, is the display circle radius size of the symbol after the business target is adjusted based on the weight, is the weight adjustment coefficient;
[0060] The specific steps of step S24 are as follows:
[0061] S241. Set the base border thickness B of the symbol for visually highlighting the business target on the scenic area map;
[0062] S242. Adjust the base border thickness B of the symbol for visually highlighting the business target on the scenic area map using the following formula:
[0063] ;
[0064] Among them, is the border thickness of the symbol after the business target is adjusted based on the weight, is the non - linear degree control coefficient, taking a positive value, is an exponential function.
[0065] Furthermore, the specific steps of step S221 are as follows:
[0066] S2211. Obtain the length H and width W of the scenic area map size, where the map size is the display area on the screen of the mobile terminal device;
[0067] S2212. Set the margin of the symbol for visually highlighting the business target on the scenic area map;
[0068] S2213. Calculate the base size r of the symbol for visually highlighting the business target on the scenic area map using the following formula:
[0069] ;
[0070] Among them, k is a pre - set proportionality coefficient, used to set the size of the base size r relative to the screen;
[0071] Substitute the formula in step S2213 into step S222, and we get:
[0072] .
[0073] In a second aspect, the embodiments of the present application further provide a map visual display effect optimization system, including:
[0074] A business target weight calculation module, configured to calculate the real - time distance between the business target and the user, and calculate the weight of the business target in combination with the pre - set business target priority;
[0075] A business objective highlighting setting module is used to set a visual highlighting strategy of business objectives on the scenic area map according to the weights of the calculated business objectives.
[0076] In a third aspect, an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the map visual display effect optimization method described in the first aspect are implemented.
[0077] In a fourth aspect, an embodiment of the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the map visual display effect optimization method described in the first aspect are implemented.
[0078] It can be seen from the above technical solutions that the present invention has the following advantages:
[0079] In the map visual display effect optimization method, system, device, and medium provided by the present application, by calculating the real-time distance between the business objective and the user, and combining the preset business objective priority to calculate the weight of the business objective, and then setting the visual highlighting strategy of the business objective on the scenic area map according to the calculated weight of the business objective, the user can obtain a visual sense of distance effect and a business objective priority perception effect during the intelligent navigation process, achieving visual highlighting and fading, improving the user experience of the intelligent navigation system, enabling the user to more intuitively understand the distance between the business objective and himself and the priority of the business objective, thereby solving the problem in the traditional business objective display technology that the business objectives are presented with the same clarity and similar display methods, resulting in the user being unable to visually and intuitively perceive the differences between the business objectives. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] In order to more clearly illustrate the technical solutions of the present invention, the drawings required for description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0081] Figure 1 It is a flowchart of an embodiment of the map visual display effect optimization method of the present invention.
[0082] Figure 2 It is a flowchart of another embodiment of the map visual display effect optimization method of the present invention.
[0083] Figure 3 It is a schematic diagram of the map visual display effect optimization system of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0084] In the following detailed description of the specific steps of the method for optimizing the visual display effect of the map, various embodiments of the present disclosure will be more fully described. The present disclosure can have various embodiments, and adjustments and changes can be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present disclosure to the specific embodiments disclosed herein, but the present disclosure should be understood to cover all adjustments, equivalents, and / or alternative solutions that fall within the spirit and scope of the various embodiments of the present disclosure.
[0085] Exemplarily speaking, by observing various scenic area mini-programs and systems, the following user experience entrustment and business configuration problems can be found:
[0086] 1) The user's visual perception of the distance from the business target on the mini-program or app is not obvious, and the user cannot quickly and real-time obtain the distance between the business target and himself, resulting in a poor user experience. Imagine a scenario. Taking the existing scenic area map as an example: When the user arrives at the scenic area and opens the navigation map, if he needs to search for a toilet, he needs to first pull down the list, select a toilet, click on it, and then the details of the toilet information will be displayed. In this way, the user's operation steps are cumbersome and the operation process is very redundant, affecting the user's comfort and also invisibly affecting the user's product evaluation.
[0087] 2) The business personnel have a poor ability to balance the prominent performance ability of the business target and the user distance. Imagine a scenario. Taking the existing map as an example, for a business personnel, various parking lots in the scenic area are set, and priorities are set for the parking lots during the map zooming process. However, the parking lots with high priorities may not meet the user's requirements. The existing map fails to combine the user distance and the business target priority, resulting in mechanical and unreasonable interactions and affecting the user experience.
[0088] Therefore, based on the above application of the intelligent navigation mini-program in scenic area and attraction navigation and the existing problems, the following optimization solutions are proposed:
[0089] Calculate the real-time distance between the business target and the user, and calculate the weight of the business target in combination with the pre-set business target priority;
[0090] Set the visual highlighting strategy of business objectives on the scenic area map according to the calculated weights of business objectives. By calculating the real-time distance between the business objective and the user, and combining the preset priority of the business objective to calculate the weight of the business objective, and then setting the visual highlighting strategy of the business objective on the scenic area map according to the calculated weight of the business objective, it can enable the navigation system to visually give the user a real-time and intuitive feeling of the distance between the business objective and the user; at the same time, according to business requirements, the priority of the business objective can be set, and intelligent visual adjustment can be carried out simultaneously to help the business side give the user the desired map visual bias; by combining the two visual adjustment methods, setting the weight ratio of distance and priority, realizing the map visual effect of intelligent combination of distance and priority, and then other weight parameters can be added to complete the desired map visual effect.
[0091] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0092] Please refer to Figure 1 The following is a flowchart of a method for optimizing the map visual display effect in a specific embodiment. The method includes the following steps:
[0093] S1: Calculate the real-time distance between the business objective and the user, and calculate the weight of the business objective in combination with the preset priority of the business objective;
[0094] It should be noted that a mechanism for calculating the weight of business objectives based on the real-time distance between the user and the business objective and the priority of the business objective is introduced, so that the display of business objectives can dynamically reflect their importance and distance from the user;
[0095] Exemplarily, the real-time distance between the business objective and the user is generally obtained through the map software in the intelligent navigation scenario, and generally the priority ranking of the business objective will be determined at the beginning of scenic area management;
[0096] S2: Set the visual highlighting strategy of the business objective on the scenic area map according to the calculated weight of the business objective;
[0097] It should be noted that according to the calculated weight of the business objective, the visual display effect of the business objective on the map is dynamically adjusted, so as to visually highlight important business objectives.
[0098] The method for calculating the weight of business objectives by combining the real-time distance between users and business objectives in the present invention can be applied to an actual intelligent navigation system to set the visual highlighting effect of business objects, thereby solving the problem of users' visual perception of business objectives. Through the present invention, tourism users can obtain an intuitive visual perception effect combining distance and the priority of business objects during the intelligent navigation process. Simply put, in the intelligent navigation scenario, business objectives are arranged based on the distance and priority between the business objectives and the user, and the arrangement result is used for the visual mapping of business objectives to convey information to users.
[0099] Furthermore, as a refinement and extension of the specific implementation method of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, as Figure 2 shown, another method for optimizing the map visual display effect is provided. This method includes the following steps:
[0100] The specific steps of step S1 are as follows:
[0101] S11. Calculate the distance between each business objective and the user through the map software in the intelligent navigation scenario;
[0102] S12. Obtain the priority configured for each business objective on the map display in advance according to the priority requirements of the business side;
[0103] S13. Set the weight of the business objective to be negatively correlated with the distance between the business objective and the user, and positively correlated with the priority of each business objective;
[0104] It should be noted that by combining the real-time distance and priority between the business objective and the user, the weight of the business objective is calculated. The calculation formula is the product of the reciprocal of the distance and the priority. This calculation method uses distance and priority as factors to ensure that the influence of each factor on the result value is within a controllable range, thereby ensuring the usability of the weight value. Specifically, the weight of the business objective can be set through the following initial formula:
[0105]
[0106] Among them, is the weight value, is the reciprocal of the real-time distance, reflecting the proximity of the distance between the user and the target;
[0107] is the priority, reflecting the level of the priority of the business objective;
[0108] The specific steps of step S2 are as follows:
[0109] S21. Set the symbol color for the prominent display of the business objective on the scenic area map according to the calculated weight of the business objective;
[0110] It should be noted that according to the weight, different business objective map symbol colors are designed: the greater the weight, the brighter the color; the smaller the weight, the darker the color; the adjustment parameters are respectively the hue, saturation, and lightness of the color display.
[0111] S22. Set the symbol size of the business objective prominently displayed on the scenic area map according to the calculated weight of the business objective.
[0112] It should be noted that according to the weight, different business objective map symbol sizes are designed: the greater the weight, the larger the symbol area; the smaller the weight, the smaller the symbol area.
[0113] S23. Determine whether it is necessary to set the symbol border of the business objective prominently displayed on the scenic area map.
[0114] If yes, enter step S24.
[0115] If no, end.
[0116] S24. Set the thickness of the symbol border of the business objective prominently displayed on the scenic area map according to the calculated weight of the business objective.
[0117] It should be noted that for more important business objectives, the border thickness characteristic of the map symbol of the business objective is increased, and the color adjustment of the map symbol can also be used in this step. Because if a thumbnail needs to be displayed for the business objective symbol, then the color display can only be used for the color display of the border of the business objective symbol.
[0118] Through the three designs of this embodiment, the business objective symbols with high weights will be displayed larger, with thicker borders, and brighter than those with low weights, optimizing the visual perception effect of distance and priority for users, and giving users visual hints and selection preferences.
[0119] In an embodiment of the present invention, based on steps S11, S12, and S13, a possible embodiment will be given below to non - restrictively elaborate on its specific implementation scheme.
[0120] The specific steps of step S11 are as follows:
[0121] S111. The mobile terminal device obtains the user's location information.
[0122] S112. The map software calculates the relative positions of the user from each business objective according to the user's location information obtained by the mobile terminal device and in combination with the current map level.
[0123] It should be noted that taking the GIS map as an example of the map software, the GIS map can effectively perform the orientation recognition calculation of users; the mobile terminal devices usually held by the user side are devices with positioning functions, such as mobile phones, etc., and the existing method can be used for the orientation recognition calculation;
[0124] The specific steps of step S12 are as follows:
[0125] S121. Obtain the priority requirements of the service side;
[0126] S122. Identify the service objectives with permanent service levels in the priority requirements;
[0127] S123. Determine whether there are service objectives with temporarily increased priorities;
[0128] If yes, go to step S124;
[0129] If no, go to step S13;
[0130] S124. Change the priorities of the service objectives with temporarily increased priorities;
[0131] It should be noted that based on the priority requirements of the service side, the priority configuration of service objects in map display is generally determined at the initial stage of scenic area management. For example, the levels of some service objects are permanently determined as Class A service objects, and some other service objects are temporarily added and are preferentially set as temporary priority Class B. The priorities can be changed according to the service operations in the actual application of the GIS map;
[0132] For each service objective, the weight value calculated in step S13 can generate a ranking, but there is a drawback, that is, although the ranking is calculated, the range of the weight values calculated for different service objectives is too wide. Therefore, it is necessary to control the weights within the same scale so that the data can be conveniently used for the setting of visual highlighting strategies; because the goal is to control the scale of the weight w within the interval of (0, 1]. However, the conventional normalization method is to perform linear normalization after all the weights are calculated. This method is inefficient and has poor real-time performance, which does not meet the project requirements. More efficiently, it is necessary to pre-process the parameter real-time distance D and priority P as follows:
[0133] The specific steps of step S13 are as follows:
[0134] S131. Preset the maximum value and the minimum value of the weight interval of the weight P of the service objective, and perform normalization processing on the weight P of the service objective within the weight interval using the following formula:
[0135] ;
[0136] Among them, is the weight of the normalized business objective;
[0137] S132. Preset the minimum distance and the maximum distance D between the business objective and the user, and unify the measurement unit, where is a positive number greater than or equal to 1, is a positive number;
[0138] S133. Normalize the distance D between the business objective and the user using the following formula:
[0139] ;
[0140] Among them, is the distance between the normalized business objective and the user;
[0141] S134. Set the normalized weight of the business objective through the following formula to be negatively correlated with the distance
[0142] between the business objective and the user, and positively correlated with the priority of each business objective:
[0143] Among them, is the weight of the normalized business objective;
[0144] It should be noted that in order to make the display effects the same under the same distance and priority for each scenic area, the D value is uniformly measured in units of 100 meters. For example, if the real-time distance is 0.1 km, the D value is 1.
[0145] The calculated based on the above embodiments is a decimal number controlled within the interval (0, 1], realizing the normalization of the data; however, a problem is found in actual use, that is, the uniformity of the calculated weight values is poor, showing a relatively concentrated distribution within the interval (0, 1]. Therefore, through the following embodiments, further dispersion processing is performed to make the weight values evenly distributed within the interval (0, 1], which is more convenient for visual highlighting strategies and has higher visual discrimination:
[0146] Step S13 further includes the following steps:
[0147] S135. Discretize the weight of the normalized business objective using the following formula:
[0148] ;
[0149] Among them, is the weight of the discretized business objective;
[0150] It should be noted that is obtained by Because the value is 1, so it is directly simplified to , therefore, the above formula can be simplified as follows:
[0151] S136. Simplify the weight of the discretized business objective to obtain:
[0152] ;
[0153] Among them, is the weight of the business objective.
[0154] In an embodiment of the present invention, based on steps S21, S22, and S24, a possible embodiment will be used to non-restrictively elaborate on its specific real-time solution below.
[0155] The specific steps of step S21 are as follows:
[0156] S211. Select one of the three primary colors of the symbol prominently displayed for the business objective on the scenic area map as the hue;
[0157] It should be noted that for the hue selection, any one of the three primary colors red, green, and blue that are adapted to the display screen can be used according to the business configuration preference. The selection of the primary color does not affect the implementation effect; because the three primary colors give a clearer perception and are applicable to most display devices, using the three primary colors is the optimal choice;
[0158] S222. Limit the lowest lightness of the symbol prominently displayed for the business objective on the scenic area map;
[0159] It should be noted that when adjusting the lightness, attention should be paid to the problem of overly dark low lightness. For example, if the lightness threshold is 0 - 100% and the lightness is 0, all displays will be black, which will affect the display effect in actual use; therefore, a lowest threshold for lightness needs to be set, which can be set to 30% for example;
[0160] S213. According to the weight of the business objective and the lowest lightness , and use the following formula to set the final lightness of the symbol prominently displayed for the business objective on the scenic area map:
[0161] ;
[0162] It should be noted that adjusting the brightness according to the business weight can ensure good visibility and contrast of the color on the display screen;
[0163] S214. Limit the minimum saturation of the symbols prominently displayed for the business objective on the scenic area map ;
[0164] It should be noted that saturation is a value from 0 to 100%, indicating the amount of gray component in the color; when the saturation is 100%, the color is completely saturated without any gray component, so it looks very vivid; as the saturation decreases, the gray component in the color increases and the color becomes darker and darker until the saturation reaches 0%, at which point the color completely turns gray; therefore, the saturation processing method is similar to brightness and cannot be too gray to affect the display; for example, the minimum saturation can be set to 45%.
[0165] S215. According to the weight of the business objective and the said minimum saturation , and use the following formula to set the final saturation S of the symbols prominently displayed for the business objective on the scenic area map:
[0166] ;
[0167] It should be noted that saturation describes the vividness or purity of the color and highly affects user perception;
[0168] The specific steps of step S22 are as follows:
[0169] S221. Calculate the basic size r of the symbols for the visual prominence display of the business objective on the scenic area map according to the screen size of the mobile terminal device or the size of the scenic area map;
[0170] It should be noted that the basic size is the size of the graphic without any weight influence. The basic size needs to be calculated based on the screen size or the map size to meet the display's adaptability requirements for the screen; generally, the graphic is based on a circle, so only the radius of the circle needs to be calculated.
[0171] S222. According to the weight of the business objective , and use the following formula to adjust the basic size r of the symbols for the visual prominence display of the business objective on the scenic area map:
[0172] ;
[0173] Among them, is the display circle radius size of the symbol of the business objective adjusted based on the weight, is the weight adjustment coefficient, which is used to amplify or dilute the influence of the weight coefficient. Generally, diluting the influence is more in line with the requirements. For example, the reference value can be taken as 0.67;
[0174] It should be noted that the calculated basic size adjustment in this way can be seen as linear and already evenly distributed, so the linear distribution effect is also very good and no extra processing is required;
[0175] The specific steps of step S24 are as follows:
[0176] S241. Set the basic border thickness B of the symbol for visually highlighting the business target on the scenic area map;
[0177] It should be noted that for more important business targets, by increasing the border thickness characteristic of the map symbol of the business target, the degree to which the border thickness is affected by other factors on the display effect is extremely small. The initial thickness B can be directly set without calculation processing; for example, 0.15mm is a reference and relatively preferred value;
[0178] S242. Adjust the basic border thickness B of the symbol for visually highlighting the business target on the scenic area map using the following formula:
[0179] ;
[0180] Among them, is the border thickness of the symbol of the business target after weight adjustment, is the non - linear degree control coefficient, taking a positive value, is an exponential function;
[0181] It should be noted that is a constant and must be a positive number, otherwise it will have the opposite effect. After testing and verification, it is recommended that the value of γ be between (0, 1] for better effect. A too large value will affect the display;
[0182] The calculation of does not adopt linear change because in terms of display, the visual perception effect of linearly changing the border thickness is not superior. Adopting exponential transformation can make the change smoother and the user perception better.
[0183] Based on the above - mentioned embodiments, the specific calculation steps of the basic size r of the symbol for visually highlighting the business target on the scenic area map are given:
[0184] The specific steps of step S221 are as follows:
[0185] S2211. Obtain the length H and width W of the scenic area map size, where the map size is the display area on the screen of the mobile terminal device;
[0186] S2212. Set the margin of the symbol for visually highlighting the business objective on the scenic area map;
[0187] S2213. Calculate the base size r of the symbol for visually highlighting the business objective on the scenic area map using the following formula:
[0188] ;
[0189] where k is a preset proportionality coefficient used to set the size of the base size r relative to the screen;
[0190] Substitute the formula in step S2213 into step S222 to obtain:
[0191] .
[0192] In the intelligent navigation scenario, such as when implementing intelligent navigation scenarios like tourist maps, tourist navigation APPs, and tourist navigation mini-programs, based on the method of the present invention, visual design is carried out using the business objective weight, and both the distance and priority between the user and the business objective can be represented by the business objective weight value.
[0193] The intelligent navigation map can be directly implemented in the GIS map. This map is applied in the intelligent navigation scenario and is published as a service through the network. The weight calculation combining the distance and priority between the business objective and the user is implemented at the intelligent navigation end and transmitted to the GIS map end to achieve the symbol design of the business objective.
[0194] The GIS map end uses a symbol library to achieve the symbol design of the business objective. To improve the usability and generality of the symbol, a scalable vector graphic svg or a scalable dot map ssv in vector form can be used to complete the symbol design.
[0195] The intelligent navigation end can be the APP end or the mini-program end. It obtains the real-time distance between the business objective and the user according to the user's orientation, obtains the priority of the business object, and sends the designed symbol to the GIS map end.
[0196] The GIS map end receives the designed symbol from the intelligent navigation end and publishes it from the map service. In the form of svg and other vectors, based on the geographical coordinates of the business objective, it calculates the position, size, brightness, and border thickness of the business objective symbol on the map through the map base map, the real-time distance of the business objective, the priority of the business objective, etc., and renders the symbol of the business objective designed according to the business objective weight into the map.
[0197] Taking the intelligent guided tour scene map as an example, orientation recognition is performed based on the mobile terminal device held by the user, and the distance between the user and each business object in the scenic area is calculated in real time; at the same time, considering the requirements of the business side, the priority of business goals is set. For example, in the scenic area guided tour scene, the highest priority is given to the guided tour of the scenic spot at the entrance of the scenic area, and the current weight of each business goal is calculated accordingly, so as to be used to set the specific steps of the visual highlighting strategy as follows:
[0198] Step 1: Obtain the current location of the tourist in the scenic area according to the interaction between the user and the system server;
[0199] Step 2: According to the location of the scenic spot where the tourist is currently located obtained in Step 1, the system obtains the list of scenic spot information in the scenic area where the tourist is located;
[0200] Step 3: According to the list of scenic spot information in the scenic area where the tourist is located, the system obtains the location information of the scenic spots in this scenic area;
[0201] Step 4: Combining the current location of the tourist and the list of scenic spot locations obtained in Steps 1, 2, and 3, the system calculates the straight-line distance between each scenic spot and the current location of the tourist;
[0202] Step 5: Obtain the scenic spot priority based on the list of scenic spot information;
[0203] Step 6: Calculate the weight of each scenic spot one by one based on the straight-line distance between the scenic spot and the current location of the tourist and the scenic spot priority;
[0204] According to the weight of the business goal, a strategy for visually highlighting the business goal is designed; the strategy is to give the user a visual perception of the distance and priority of the business goal based on the weight of the business goal;
[0205] Step 7: According to the weight obtained in Step 6, process the size of the scenic spot symbol according to the weight to obtain the radius of the display area circle;
[0206] Step 8: According to the weight obtained in Step 6, process the brightness of the scenic spot symbol according to the weight to obtain the color and its brightness of the area for color rendering in the display area;
[0207] Step 9: According to the weight obtained in Step 6, process the border thickness of the scenic spot symbol according to the weight to obtain the border thickness of the display area;
[0208] Step 10: Combine the obtained business goal adjustment parameters with the map symbols of each scenic spot and transmit them to the map terminal;
[0209] Step 11: The map renders the scenic spot symbols one by one according to the parameters to make them meet the adjustment requirements;
[0210] Step 12: Send the rendered map obtained to the user terminal to complete the interaction process.
[0211] By calculating the real-time distance between the business target and the user, combining with the pre-set business target priority to calculate the weight of the business target, and then setting the visual highlighting display strategy of the business target on the scenic area map according to the calculated weight of the business target, the user can obtain a visual sense of distance effect and business target priority perception effect during the intelligent navigation process, achieving visual highlighting and fading, improving the user experience of the intelligent navigation system, enabling the user to more intuitively understand the distance between the business target and themselves and the priority of the business target, thus solving the problem in the traditional business target display technology that the business targets are presented with the same clarity and similar display methods, resulting in the user being unable to visually and intuitively perceive the differences between the business targets.
[0212] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution is prior or posterior. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0213] As Figure 3 shown, the following are embodiments of the map visual display effect optimization system provided by the embodiments of the present disclosure. This system and the map visual display effect optimization method of the above embodiments belong to the same inventive concept. For the details not described in detail in the embodiments of the map visual display effect optimization system, reference can be made to the embodiments of the above map visual display effect optimization method.
[0214] The system includes: a business target weight calculation module, which is used to calculate the real-time distance between the business target and the user, and combine with the pre-set business target priority to calculate the weight of the business target;
[0215] A business target highlighting display setting module, which is used to set the visual highlighting display strategy of the business target on the scenic area map according to the calculated weight of the business target.
[0216] The present invention calculates the real-time distance between the business target and the user, combines with the pre-set business target priority to calculate the weight of the business target, and then sets the visual highlighting display strategy of the business target on the scenic area map according to the calculated weight of the business target, enabling the user to obtain a visual sense of distance effect and business target priority perception effect during the intelligent navigation process, achieving visual highlighting and fading, improving the user experience of the intelligent navigation system, enabling the user to more intuitively understand the distance between the business target and themselves and the priority of the business target, thus solving the problem in the traditional business target display technology that the business targets are presented with the same clarity and similar display methods, resulting in the user being unable to visually and intuitively perceive the differences between the business targets.
[0217] The method for optimizing the map visual display effect provided by the embodiments of the present application can be applied to an electronic device. Those skilled in the art can understand that the structure of the electronic device involved in the embodiments of the present invention does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. In the embodiments of the present invention, the electronic device includes, but is not limited to, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as, a personal digital processor, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the embodiments of the present application described herein and / or claimed.
[0218] The electronic device may include a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, a wireless communication module, an audio module, a speaker, a microphone, a sensor module, a key, a camera, a display screen, and a SIM card interface, etc.
[0219] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0220] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), etc., an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0221] Among them, the processor can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0222] A memory can also be set in the processor to store instructions and data. In some embodiments, the memory in the processor is a cache memory. This memory can save the instructions or data that the processor has just used or recycled. If the processor needs to use the instruction or data again, it can directly call it from this memory. This avoids repeated accesses, reduces the waiting time of the processor, and thus improves the system efficiency.
[0223] The wireless communication function of the electronic device can be implemented by an antenna, a wireless communication module, a modem processor, a baseband processor, etc.
[0224] The wireless communication module can provide solutions for wireless communication applied to the electronic device, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
[0225] The electronic device can implement the display function through a GPU, a display screen, an application processor, etc.
[0226] The GPU is a microprocessor for image processing, connected to the display screen and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more GPUs, which execute program instructions to generate or change display information.
[0227] The display screen is used to display images, videos, etc. The display screen includes a display panel.
[0228] The above-mentioned electronic device realizes the real-time distance between the computing business objectives of the method for optimizing the map visual display effect of the present application and the user, calculates the weights of the business objectives in combination with the pre-set business objective priorities, and sets the visual highlighting display strategy of the business objectives on the scenic area map according to the calculated weights of the business objectives, enabling the user to obtain a visual sense of distance effect and business objective priority perception effect during the intelligent guided tour process, achieving visual highlighting and fading, improving the user experience of the intelligent guided tour system, and enabling the user to more intuitively understand the distance between the business objectives and themselves and the priorities of the business objectives, thus solving the problem in the traditional business objective display technology that the business objectives are presented with the same clarity and similar display methods, resulting in the user being unable to visually and intuitively perceive the differences between the business objectives.
[0229] In the storage medium provided by the present application, there is a program product capable of implementing the method for optimizing the map visual display effect.
[0230] The method for optimizing the map visual display effect includes:
[0231] Calculating the real-time distance between the business objective and the user, and calculating the weight of the business objective in combination with the pre-set business objective priority;
[0232] Setting the visual highlighting display strategy of the business objective on the scenic area map according to the calculated weight of the business objective.
[0233] In some possible implementation manners, the method for optimizing the map visual display effect of the present disclosure may be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Method" section of this specification.
[0234] The storage medium of the present disclosure may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0235] The foregoing description of the disclosed embodiments enables those skilled in the art to practice or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for optimizing map visual display effects, characterized in that: The steps include: S1. Calculate the real-time distance between the business goal and the user, and calculate the weight of the business goal in combination with the pre-set business goal priority; the specific steps of step S1 are as follows: S11. Calculate the distance between each business target and the user through the map software in the intelligent navigation scenario; S12. Obtain the priority configured for each business target on the map display in advance according to the priority requirements of the business end; S13. Setting the weight of a business goal is negatively correlated with the distance between the business goal and the user, and positively correlated with the priority of each business goal; S2. The visual highlighting strategy of the business goal in the scenic area map is set according to the calculated weight of the business goal; the specific steps of step S2 are as follows: S21. Set the color of the symbol that highlights the business goal on the scenic map according to the calculated weight of the business goal; the specific steps of step S21 are as follows: S211. Select one of the three primary colors as the hue of the symbol highlighted in the scenic area map for the business target; S122. Minimum brightness of symbols used to highlight business targets on scenic area maps impose restrictions; S213. According to the weight of business objectives and the minimum brightness , and use the following formula to calculate the final brightness of the symbol highlighted on the scenic area map for the business target To set it up: ; S214. Minimum saturation of symbols used to highlight business targets on scenic area maps impose restrictions; S215. According to the weight of business objectives and the minimum saturation , and use the following formula to set the final saturation S of the symbol highlighted by the business target on the scenic area map: ; S22. The size of the symbol for highlighting the business target on the scenic map is set according to the calculated weight of the business target; the specific steps of step S22 are as follows: S221. Calculate the base size r of the symbol of the business target visually highlighted on the scenic map according to the screen size of the mobile terminal device or the size of the scenic map; S222. According to the weight of business objectives , and use the following formula to adjust the base size r of the symbol that visually highlights the business target on the scenic map: ; in, That is, the radius of the display circle of the symbol adjusted based on the weight of the business goal. is the weight adjustment coefficient; S23. Determine whether it is necessary to set the symbol border of the business target highlighted on the scenic map; If yes, go to step S24; If not, end; S24. The thickness of the symbol border of the business target highlighted on the scenic map is set according to the calculated weight of the business target; the specific steps of step S24 are as follows: S241. Setting the basic border thickness B of the symbol of the business target visually highlighted on the scenic map; S242. Use the following formula to adjust the base border thickness B of the symbol of the business target visually highlighted on the scenic area map: ; in, That is, the border thickness of the symbol adjusted based on the weight of the business goal. is the nonlinear degree control coefficient, which is positive. is an exponential function.
2. The method for optimizing map visual display effects according to claim 1, characterized in that: The specific steps of step S11 are as follows: S111. The mobile terminal device obtains the user's location information; S112. The map software calculates the relative position of the user from each business target based on the user's location information obtained by the mobile terminal device and the current map level; The specific steps of step S12 are as follows: S121. Obtain the priority requirements of the business end; S122. Identify business objectives with permanent business levels in priority requirements; S123. Determine whether there is a business goal of temporarily increasing the priority; If yes, go to step S124; If not, proceed to step S13; S124. Change the priority of the business goal with temporarily increased priority; The specific steps of step S13 are as follows: S131. Preset the maximum value of the weight P of the business goal and minimum value The weight interval , use the following formula to normalize the weight P of the business goal within the weight interval: ; in, is the normalized weight of the business objective; S132. Pre-set the minimum distance D between the business target and the user and maximum distance , and unify the units of measurement, where is a positive number greater than or equal to 1, is a positive number; S133. Use the following formula to normalize the distance D between the business target and the user: ; in, is the normalized distance between the business goal and the user; S134. Set the normalized weight of the business goal by the following formula: Distance from business goals and users Negatively correlated with the priority of each business goal: ; in, is the normalized weight of the business objective.
3. The method for optimizing map visual display effects according to claim 2, characterized in that: Step S13 also includes the following steps: S135. Use the following formula to normalize the weight of the business goal Discrete processing: ; in, is the weight of the discretized business goal; S136. Simplify the weights of the discretized business objectives to obtain: ; in, The weight of the business goal.
4. The method for optimizing map visual display effects according to claim 1, characterized in that: The specific steps of step S221 are as follows: S2211. Get the length H and width W of the scenic area map size, where the map size is the display area on the screen of the mobile terminal device; S2212. Set the margin of the symbol of the business target visually highlighted on the scenic map; S2213. Use the following formula to calculate the base size r of the symbol for visually highlighting the business target on the scenic area map: ; Wherein, k is a preset proportional coefficient, which is used to set the size of the base size r relative to the screen; Substituting the formula in step S2213 into step S222, we obtain: 。 5. A map visual display effect optimization system for implementing the map visual display effect optimization method according to any one of claims 1 to 4, characterized in that: include: A business goal weight calculation module is used to calculate the real-time distance between the business goal and the user, and calculate the weight of the business goal in combination with the pre-set business goal priority; The business goal highlighting setting module is used to set the visual highlighting strategy of the business goal on the scenic area map according to the calculated weight of the business goal.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method for optimizing the map visual display effect as described in any one of claims 1 to 4 are implemented.
7. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for optimizing the map visual display effect as claimed in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
POI (Point Of Interest) searching method and device, server and storage medium
CN110388933A
Vehicle geographic position intelligent recommendation method and device and storage medium
CN118332203A