Map visual display effect optimization method, system, equipment and medium
By calculating the real-time distance and priority between business goals and users, adjusting the visual display strategy on the scenic spot map, the problem of inconspicuous visual distance perception and priority matching of maps in the intelligent guide is solved, and the difference between user experience and business goals is improved Perception.
Patent Information
- Application Number
- CN202411638838.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-11-18
AI Technical Summary
In the existing intelligent guide mini program, in the guides of scenic spots and attractions, the visual distance perception of the map is not obvious, the user's operation process is complicated, the priority of business goals does not match the user's 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, the visual highlighting strategy of the business objectives on the scenic area map is set, including adjusting the symbol color, size and border thickness. to reflect distance and priority.
It improves the user experience, enables users to understand the distance and priorities of business goals and themselves more intuitively, and solves the problem of visual difference perception difficulties caused by the same clarity and similar display methods in traditional business goal display technology.
Smart Images

Figure CN119127047A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent navigation in scenic spots, and in particular relates to a method, system, equipment and medium for optimizing map visual display effects. Background Art
[0002] With the development of information technology, smart navigation applets or systems have appeared in various scenic spots and attractions. In the smart navigation applets, for the navigation of scenic spots and attractions, the applets will embed the locations of various scenic spots and attractions into the map, giving users a basic understanding of each attraction in the scenic spot.
[0003] Existing smart navigation applets have been widely used in the navigation of scenic spots and attractions, and usually have the following functions: First, the map embedding and punctuation function, which embeds the locations of various scenic spots and attractions into the map, and punctuates the locations of business objects such as attractions, parking lots, and toilets to facilitate user search. Second, the distance sorting and list display function, which sorts the attractions in the form of a list according to the distance from the user's current location, allowing users to select the target attraction according to the distance. Third, the hierarchical display function, which displays business objects in a hierarchical manner according to the zoom level of the map. The initial map displays the highest priority business objects, and as the map is zoomed in, the lower priority business objects are gradually displayed.
[0004] The existing functions of the existing smart navigation applets have met the basic cognitive needs of users for business objects in scenic spots to a certain extent, but there are still the following shortcomings: First, the visual distance perception of the map is not obvious: the existing applets do not display the distance of business objects on the map intuitively enough. Users need to pull down the list, click on details, and other operations to obtain specific distance information. The operation process is cumbersome and affects the user experience. Second, the priorities configured by business personnel do not match user needs: the priorities set by business personnel for business objects are often based on business logic or precise planning, but fail to 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, causing the user to spend extra time looking for a suitable parking lot. Third, there is a lack of combined recommendations: existing applets usually only provide distance-based sorting or hierarchical display, but fail to comprehensively consider the two-way needs of the business and user ends. Summary of the invention
[0005] In a first aspect, an embodiment of the present application provides a method for optimizing a map visual display effect, comprising the following steps: S1. Calculate the real-time distance between the business goal and the user, and calculate the weight of the business goal based on the pre-set business goal priority; S2. Setting a visual highlighting strategy for the business goal on the scenic area map according to the calculated weight of the business goal.
[0006] Furthermore, 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.
[0007] Furthermore, 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.
[0008] Furthermore, step S13 further 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.
[0009] Furthermore, the specific steps of step S2 are as follows: S21. Set the symbol color of the business target highlighted on the scenic map according to the calculated weight of the business target; S22. Set the symbol size of the business goal highlighted on the scenic map according to the calculated weight of the business goal; 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. Setting 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.
[0010] Furthermore, 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; S222. 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: ; The specific steps of step S22 are as follows: S221. Calculate the base size r of the symbol of the visual highlight of the business target on the scenic area map according to the screen size of the mobile terminal device or the size of the scenic area 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; 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 visual highlighting of the business target 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.
[0011] Furthermore, 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: .
[0012] In a second aspect, the embodiment of the present application further provides a system for optimizing map visual display effects, including: The 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.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for optimizing the map visual display effect as described in the first aspect are implemented.
[0014] In a fourth aspect, an embodiment of the present application further provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for optimizing the map visual display effect as described in the first aspect are implemented.
[0015] It can be seen from the above technical solutions that the present invention has the following advantages: In the map visual display effect optimization method, system, device and medium provided by the present application, the real-time distance between the business target and the user is calculated, and the weight of the business target is calculated in combination with the pre-set business target priority. Then, the visual highlighting display strategy of the business target on the scenic area map is set according to the calculated weight of the business target, so that the user can obtain a visual sense of distance effect and business target priority perception effect during the intelligent navigation process, achieve visual highlighting and fading, improve the user experience of the intelligent navigation system, and enable the user to more intuitively understand the distance between the business target and themselves and the priority of the business target, thereby solving the problem in traditional business target display technology that the business targets present the same clarity and similar display method, resulting in the user being unable to visually perceive the difference between the business targets. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the description will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 The figure is a flow chart of an embodiment of a method for optimizing map visual display effects of the present invention.
[0018] Figure 2 The figure is a flow chart of another embodiment of the method for optimizing map visual display effects of the present invention.
[0019] Figure 3 A schematic diagram of a system for optimizing map visual display effects according to the present invention. DETAILED DESCRIPTION
[0020] In the specific steps of the map visual display effect optimization method described in detail below, various embodiments of the present disclosure will be described more comprehensively. The present disclosure may have various embodiments, and adjustments and changes may 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 alternatives that fall within the spirit and scope of the various embodiments of the present disclosure.
[0021] For example, by observing various scenic spot applets and systems, we can find the following user experience delegation and business configuration issues: 1) Users do not have a clear visual perception of the distance to the business target on the mini program or app, and cannot quickly and in real time obtain the distance between the business target and themselves, resulting in poor user experience. Imagine a scenario, taking the existing scenic spot map as an example: when a user arrives at the scenic spot, opens the guide map, and needs to search for a toilet, he needs to drop down the list, select a toilet, click it, and then the toilet information details will be displayed. In this way, the user operation steps are complicated and the operation process is very redundant, which affects the user's comfort and also invisibly affects the user's product evaluation.
[0022] 2) Business personnel have poor ability to balance the performance of business goals and user distance. Imagine a scenario where, taking the existing map as an example, a business person sets up various parking lots in the scenic area and sets priorities for the parking lots during map zooming. However, parking lots with high priorities may not meet user requirements. The existing map does not combine user distance and business goal priority, resulting in mechanized and irrational interactions, which affects user experience.
[0023] Therefore, based on the above application of smart navigation applets in scenic spots and scenic spots and the problems they exist, the following optimization solutions are proposed: Calculate the real-time distance between the business goal and the user, and calculate the weight of the business goal based on the pre-set business goal priority; The visual highlighting strategy of the business target on the scenic area map is set according to the calculated weight of the business target. By calculating the real-time distance between the business target and the user, and calculating the weight of the business target in combination with the pre-set business target priority, and then setting the visual highlighting strategy of the business target on the scenic area map according to the calculated weight of the business target, the navigation system can give the user a real-time and intuitive visual sense of the distance between the business target and the user; at the same time, the business target priority can be set according to business needs, and intelligent visual adjustments can be made at the same time to help the business end give the user the desired map visual bias; combining the two visual adjustment methods, setting the weight ratio of distance and priority, and realizing the map visual effect of intelligent combination of distance and priority, and then adding other weight parameters to complete the desired map visual effect.
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] See also Figure 1 The figure is a flowchart of a method for optimizing map visual display effects in a specific embodiment, the method comprising the following steps: S1: Calculate the real-time distance between the business goal and the user, and calculate the weight of the business goal based on the pre-set business goal priority; It should be noted that a mechanism is introduced to calculate the weight of business goals based on the real-time distance between the user and the business goal and the business goal priority, so that the display of business goals can dynamically reflect their importance and distance from the user; For example, the real-time distance between the business target and the user is generally obtained through the map software in the intelligent navigation scenario, and the priority ranking of the business targets is generally determined at the beginning of the scenic area management; S2: setting a visual highlighting strategy for the business goal on the scenic area map according to the calculated weight of the business goal; It should be noted that the visual display effect of the business objectives on the map is dynamically adjusted according to the calculated business objective weights, thereby visually highlighting important business objectives.
[0026] The business target weight calculation method combined with the real-time distance between the user and the business target in the present invention can be applied to the actual intelligent navigation system to set the visual highlighting effect of the business object, so as to solve the user's visual perception problem of the business target. Through the present invention, tourist users can obtain an intuitive visual perception effect combining distance and business object priority during the intelligent navigation process. Simply put, in the intelligent navigation scenario, the business targets are arranged based on the distance and priority between the business targets and the user, and the arrangement results are used for visual mapping of the business targets to convey information to the user.
[0027] Further, as a refinement and expansion of the specific implementation method of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, as shown below: Figure 2 As shown, another method for optimizing map visual display effect is provided, the method comprising the following steps: 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; It should be noted that the weight of the business goal is calculated by combining the real-time distance and priority of the business goal and the user. The calculation formula is the product of the inverse of the distance and the priority. This calculation method uses distance and priority as factors to ensure that the impact of each factor on the result value is within a controllable range, thereby ensuring the availability of the weight value. Specifically, the weight of the business goal can be set through the following initial formula:
[0028] in, is the weight value, It is the inverse of the real-time distance, reflecting the distance between the user and the target; Priority, reflecting the priority of business objectives; The specific steps of step S2 are as follows: S21. Set the symbol color of the business target highlighted on the scenic map according to the calculated weight of the business target; It should be noted that different business target map symbol colors are designed according to the weights: the larger the weight, the brighter the color; the smaller the weight, the darker the color; the adjustment parameters are the hue, saturation, and brightness of the color display; S22. Set the symbol size of the business goal highlighted on the scenic map according to the calculated weight of the business goal; It should be noted that different sizes of business target map symbols are designed according to the weights: the larger the weight, the larger the symbol area; the smaller the weight, the smaller the symbol area; 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. Setting the thickness of the symbol border of the business target highlighted on the scenic map according to the calculated weight of the business target; It should be noted that for more important business objectives, the border thickness characteristics of the business objective map symbol are increased. The color adjustment of the map symbol can also be used in this step, because if the business objective symbol needs to display a thumbnail, the color display can only be used for the color display of the border of the business objective symbol; Through the three designs of this embodiment, the symbols of business targets with high weights will be displayed larger, with thicker borders, and brighter than those of business targets with low weights, thereby optimizing the visual perception effects of distance and priority for users and giving users visual hints and selection preferences.
[0029] In an embodiment of the present invention, based on steps S11, S12, and S13, a possible embodiment will be given below to illustrate its specific implementation scheme in a non-limiting manner.
[0030] 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; It should be noted that the map software takes GIS map as an example, and GIS map can effectively perform position recognition calculation of users; the mobile terminal device usually held by the user end is a device with positioning function, such as a mobile phone, and the existing method can be used for position recognition calculation; 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; It should be noted that the priority configuration of business objects on the map display is performed based on the priority requirements of the business end. Generally, the priority ranking of business objectives will be determined at the beginning of scenic area management. For example, the level of some business objects is permanently determined as A-level business objects, and some other business objects are temporarily added and are preferentially set to temporary priority level B. The priority can be changed according to the business operations in the actual application of GIS maps; The weight values calculated in step S13 can generate a ranking for each business goal, but there is a disadvantage, that is, although the ranking is calculated, the weight values calculated for different business goals are too wide. Therefore, the weights need to be controlled at the same scale so that the data can be conveniently used for the setting of visual highlighting strategy; because the goal is to control the scale of weight w within the interval of (0,1]. However, the conventional normalization method is to perform linear normalization after all weights are calculated. This method is inefficient and has poor real-time performance. It does not meet the project requirements. To be more efficient, the parameters real-time distance D and priority P need to be processed in advance as follows: 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; It should be noted that in order to ensure that the display effects of each scenic spot at the same distance and priority are the same, the D value is uniformly measured in 100 meters. For example, if the real-time distance is 0.1km, the D value is 1.
[0031] Based on the above example, the That is, the decimal is controlled within the interval of (0,1], and the data is normalized; however, another problem is found in actual use, that is, the weight value calculated in this way has poor uniformity and presents a relatively concentrated distribution within the interval of (0,1]. Therefore, a partial dispersion process is performed through the following embodiment, so that the weight value can be evenly distributed within the interval of (0,1], which is easier to use for the visual highlighting strategy and has a higher visual distinction: 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; It should be noted that To pass Get, because The value is 1, so it is directly simplified to , therefore, the above formula can be simplified as follows: S136. Simplify the weights of the discretized business objectives to obtain: ; in, The weight of the business goal.
[0032] In an embodiment of the present invention, based on steps S21, S22, and S24, a possible embodiment is described below in a non-limiting manner for a specific real-time solution.
[0033] 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; It should be noted that the hue can be selected from any one of the three primary colors of red, green and blue that are compatible with the display screen, according to the business configuration preference, and the primary color selection does not affect the implementation effect; because the three primary colors give people a clearer perception and are suitable for most display devices, using the three primary colors is the best choice; S222. Minimum brightness of symbols used to highlight business targets on scenic area maps impose restrictions; It should be noted that when adjusting the brightness, attention should be paid to the problem of low brightness being too dark. For example, the brightness threshold is 0-100%, and the brightness is 0, which will be displayed in black. This will affect the display effect in actual use. Therefore, a minimum threshold needs to be set for the brightness, which can be set to 30% for example. 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: ; It should be noted that adjusting the brightness according to the business weight ensures that the color has good visibility and contrast on the display screen; S214. Minimum saturation of symbols used to highlight business targets on scenic area maps impose restrictions; It should be noted that saturation is a value from 0 to 100%, indicating the amount of gray in the color. When the saturation is 100%, the color is fully saturated without any gray component, so it looks very bright. As the saturation decreases, the gray component in the color increases, and the color becomes dimmer and dimmer until the saturation reaches 0%, at which point the color turns completely gray. Therefore, the saturation processing method is similar to brightness, and it cannot be too gray to affect the display. For example, the minimum saturation can be set to 45%; 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: ; It should be noted that saturation describes the vividness or purity of a color, which highly affects user perception; The specific steps of step S22 are as follows: S221. Calculate the base size r of the symbol of the visual highlight of the business target on the scenic area map according to the screen size of the mobile terminal device or the size of the scenic area map; 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 map size to meet the display adaptability requirements for the screen; the graphic is generally based on a circle, so the radius of the circle can be calculated; 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. The weight adjustment coefficient is used to amplify or dilute the influence of the weight coefficient. Generally, the dilution effect is more in line with the requirements. For example, a reference value of 0.67 can be taken; It should be noted that the basic size adjustment calculated in this way is linear and evenly distributed, so the linear distribution effect is also very good and no extra processing is required; 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; It should be noted that for more important business targets, the border thickness characteristics of the map symbols of the business targets are increased. The border thickness is minimally affected by other factors and the display effect is minimally affected. The initial thickness B can be directly set without calculation processing. For example, 0.15 mm is a preferred value for reference. S242. Use the following formula to adjust the base border thickness B of the symbol of the visual highlighting of the business target 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; It should be noted that It is a constant and must be a positive number, otherwise it will have a counter-effect. After testing and verification, it is recommended that the value of γ be between (0,1] for better results. Too large a value will affect the display. The calculation does not use linear changes because the visual perception of linearly changing border thickness is not superior in display. Using exponential transformation can make the change smoother and the user perception is better.
[0034] Based on the above embodiment, the specific calculation steps for the basic size r of the symbol for visually highlighting the business target on the scenic area map are given: 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: .
[0035] In smart navigation scenarios, such as tourist maps, tourist navigation apps, tourist navigation applets, etc., based on the method of the present invention, business goal weights are used for visualization design, and the distance and priority between the user and the business goal can be expressed through the business goal weight value.
[0036] Smart navigation maps can be directly implemented in GIS maps. The maps are applied in smart navigation scenarios and published through the network. The weight calculation combining the business goal with the distance and priority of the user is implemented on the smart navigation end and transmitted to the GIS map end to realize the symbol design of the business goal.
[0037] The GIS map side uses the symbol library to achieve symbol design for business goals. To improve the usability and versatility of symbols, the symbol design can be completed using vector forms of scalable vector graphics SVG or scalable point maps SSV.
[0038] The smart navigation end can be an APP end or a mini-program end. It can obtain the real-time distance between the business target and the user based on the user's location, obtain the priority of the business object, and send the designed symbols to the GIS map end.
[0039] The GIS map end receives the designed symbols from the smart navigation end and publishes them from the map service in vector form such as SVG. Based on the geographic coordinates of the business target, the position, size, brightness, and border thickness of the business target symbol on the map are calculated through the map base map, the real-time distance of the business target, the business target priority, etc. The business target symbols designed according to the business target weights are rendered into the map.
[0040] Taking the intelligent navigation scene map as an example, the position 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, the needs of the business end are considered, and the business goal priority is set. For example, in the scenic area navigation scene, the highest priority is the scenic spot guide at the entrance of the scenic area, and the current weight of each business goal is calculated based on this, so as to set the visual highlighting strategy. The specific steps are as follows: Step 1: According to the interaction between the user and the system server, the current scenic spot location of the tourist is obtained; Step 2: Based on the tourist's current location obtained in step 1, the system obtains a list of tourist attractions information in the tourist's scenic area; Step 3: According to the tourist's scenic spot information list, the system obtains the location information of the scenic spot; Step 4: Combining the current location of the tourist and the location list of the scenic spots obtained in Step 1, Step 2, and Step 3, the system calculates the straight-line distance between each scenic spot and the current location of the tourist; Step 5: Get the priority of scenic spots based on the scenic spot information list; Step 6: Calculate the weight of each attraction based on the straight-line distance from the attraction to the current location of the tourist and the priority of the attraction; According to the weight of business goals, a strategy for visually highlighting business goals is designed; the strategy is to give users a visual perception of the distance and priority of business goals based on the weight of business goals; Step 7, according to the weight obtained in step 6, the size of the scenic spot symbol is processed according to the weight to obtain the display area circle radius; Step 8: According to the weights obtained in step 6, the brightness of the scenic spot symbols is processed according to the weights to obtain the color and brightness of the area where the display area is rendered; Step 9: According to the weight obtained in step 6, the border thickness of the scenic spot symbol is processed according to the weight to obtain the border thickness of the display area; Step 10: Combine the obtained business target adjustment parameters with the map symbol of each scenic spot and transmit them to the map end; Step 11: The map renders the scenic spot symbols one by one according to the parameters to meet the adjustment requirements; Step 12: Send the rendered map to the user end to complete the interaction process.
[0041] By calculating the real-time distance between the business target and the user, and calculating the weight of the business target in combination with the pre-set business target priority, and then setting the visual highlighting 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 and business target priority perception effect during the smart navigation process, achieve visual prominence and dilution, improve the user experience of the smart navigation system, and enable users to more intuitively understand the distance between the business target and themselves and the priority of the business target, thereby solving the problem of traditional business target display technology, in which business targets present the same clarity and similar display methods, resulting in users being unable to visually perceive the difference between business targets.
[0042] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0043] like Figure 3As shown, the following is an embodiment of the map visual display effect optimization system provided by the embodiment of the present disclosure. The system and the map visual display effect optimization method of the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the map visual display effect optimization system, please refer to the embodiment of the above-mentioned map visual display effect optimization method.
[0044] The system includes: a business goal weight calculation module, which 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.
[0045] The present invention calculates the real-time distance between the business target and the user, calculates the weight of the business target in combination with the pre-set business target priority, 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, so that the user can obtain a visual sense of distance effect and business target priority perception effect in the process of intelligent navigation, achieve visual highlighting and fading, improve the user experience of the intelligent navigation system, and enable the user to more intuitively understand the distance between the business target and himself and the priority of the business target, thereby solving the problem that in traditional business target display technology, the business targets present the same clarity and similar display mode, resulting in the user being unable to visually perceive the difference between the business targets.
[0046] The map visual display effect optimization method provided in the embodiment of the present application can be applied to electronic devices. Those skilled in the art will appreciate that the electronic device structure involved in the embodiment of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange different components. In an embodiment 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 personal digital processing, smart phones, wearable devices, 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 and / or required herein.
[0047] 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, buttons, a camera, a display, and a SIM card interface, etc.
[0048] It is to be understood that the structure illustrated 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 arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0049] The processor may include one or more processing units, for example, the processor may include a central processing unit (CPU), 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 into one or more processors.
[0050] The processor can be the nerve center and command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0051] A memory may also be provided in the processor for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. The memory may store instructions or data that the processor has just used or is cyclically used. If the processor needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor, and thus improves system efficiency.
[0052] The wireless communication function of an electronic device can be realized through an antenna, a wireless communication module, a modem processor, and a baseband processor.
[0053] The wireless communication module can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.
[0054] Electronic devices can achieve display functions through GPU, display screen and application processor.
[0055] The GPU is a microprocessor for image processing that connects 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 that execute program instructions to generate or change display information.
[0056] The display screen is used to display images, videos, etc. The display screen includes a display panel.
[0057] The above-mentioned electronic device realizes the method for optimizing the visual display effect of the map of the present application to calculate the real-time distance between the business target and the user, and calculates the weight of the business target in combination with the pre-set business target priority, and sets the visual highlighting display strategy of the business target on the scenic area map according to the calculated weight of the business target, so that the user can obtain a visual sense of distance effect and business target priority perception effect during the intelligent navigation process, achieve visual highlighting and fading, improve the user experience of the intelligent navigation system, and enable the user to more intuitively understand the distance between the business target and themselves and the priority of the business target, thereby solving the problem in the traditional business target display technology that the business targets present the same clarity and similar display method, resulting in the user being unable to visually perceive the difference between the business targets.
[0058] The storage medium provided in the present application stores a program product that can implement a method for optimizing map visual display effects.
[0059] Methods for optimizing map visual display effects include: Calculate the real-time distance between the business goal and the user, and calculate the weight of the business goal based on the pre-set business goal priority; A visual highlighting strategy for the business objectives on the scenic area map is set according to the calculated weights of the business objectives.
[0060] In some possible implementations, the map visual display effect optimization method disclosed herein can be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps described in the above "Exemplary Method" section of this specification according to various exemplary implementations of the present disclosure.
[0061] The storage medium of the present disclosure can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with 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.
[0062] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one 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. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to 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 based on the pre-set business goal priority; S2. Setting a visual highlighting strategy for the business goal on the scenic area map according to the calculated weight of the business goal.
2. The method for optimizing map visual display effects according to claim 1, characterized in that: 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.
3. The method for optimizing map visual display effects according to claim 2, 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.
4. The method for optimizing map visual display effects according to claim 3, 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.
5. The method for optimizing map visual display effects according to claim 2, characterized in that: The specific steps of step S2 are as follows: S21. Set the symbol color of the business target highlighted on the scenic map according to the calculated weight of the business target; S22. Set the symbol size of the business goal highlighted on the scenic map according to the calculated weight of the business goal; 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. Setting 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.
6. The method for optimizing map visual display effects according to claim 5, characterized in that: 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: ; The specific steps of step S22 are as follows: S221. Calculate the base size r of the symbol of the visual highlight of the business target on the scenic area map according to the screen size of the mobile terminal device or the size of the scenic area 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; 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 visual highlighting of the business target 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.
7. The method for optimizing map visual display effects according to claim 6, 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: 。 8. A map visual display effect optimization system, 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.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the map visual display effect optimization method as described in any one of claims 1 to 7 are implemented.
10. 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 7 are implemented.
Citation Information
Patent Citations
Method for displaying business objects, method for processing map data, client-side and server
CN108319607A
Intelligent tour guide method and device, terminal and medium
CN109559382A
Interest point display method and device, equipment and medium
CN110377683A
POI (Point Of Interest) searching method and device, server and storage medium
CN110388933A
Interest point display method and device, electronic equipment and storage medium
CN112115222A
Cited By
Space object display method and device, storage medium and electronic equipment
CN121009126A
Map page display method and apparatus, and computing device
WO2026171117A1
