[go: up one dir, main page]

CN119127047B - A method, system, device and medium for optimizing map visual display effect - Google Patents

A method, system, device and medium for optimizing map visual display effect Download PDF

Info

Publication number
CN119127047B
CN119127047B CN202411638838.3A CN202411638838A CN119127047B CN 119127047 B CN119127047 B CN 119127047B CN 202411638838 A CN202411638838 A CN 202411638838A CN 119127047 B CN119127047 B CN 119127047B
Authority
CN
China
Prior art keywords
business
map
target
business target
weight
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202411638838.3A
Other languages
Chinese (zh)
Other versions
CN119127047A (en
Inventor
曾祥林
孔壮
刘佳铭
于海友
王凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Smart Cultural Tourism Industry Development Co Ltd
Original Assignee
Shandong Inspur Smart Cultural Tourism Industry Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Smart Cultural Tourism Industry Development Co Ltd filed Critical Shandong Inspur Smart Cultural Tourism Industry Development Co Ltd
Priority to CN202411638838.3A priority Critical patent/CN119127047B/en
Publication of CN119127047A publication Critical patent/CN119127047A/en
Application granted granted Critical
Publication of CN119127047B publication Critical patent/CN119127047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

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

Abstract

The invention provides a method, a system, equipment and a medium for optimizing a visual display effect of a map, which belong to the technical field of intelligent navigation of scenic spots, and the method comprises the following steps of calculating the real-time distance between a business target and a user, and calculating the weight of the business target by combining with the preset priority of the business target; and setting a visual highlighting strategy of the business target in the scenic spot map according to the calculated weight of the business target. The invention ensures that the user obtains visual distance sensing effect and service target priority sensing effect in the intelligent navigation process, achieves visual highlighting and desalting, improves the user experience of the intelligent navigation system, and ensures that the user can more intuitively know the distance between the service target and the user and the priority of the service target.

Description

Map visual display effect optimization method, system, equipment and medium
Technical Field
The invention belongs to the technical field of intelligent navigation of scenic spots, and particularly relates to a method, a system, equipment and a medium for optimizing a visual display effect of a map.
Background
With the development of information technology, intelligent navigation applets or systems are correspondingly arranged in various scenic spots. In the intelligent navigation applet, for navigation of scenic spots and scenic spot dimensions, the applet embeds the locations of each scenic spot and scenic spot into a map, giving the user basic knowledge of each scenic spot within the scenic spot.
The existing intelligent navigation applet is widely applied to navigation of scenic spots and has the functions of embedding a map and marking the positions of all scenic spots and spots into the map, and marking the positions of business objects such as scenic spots, parking lots, toilets and the like, so that the intelligent navigation applet is convenient for users to find. And secondly, the distance sorting and list displaying function sorts the scenic spots according to the current position of the user in a list mode, so that the user can select the target scenic spot according to the distance. And thirdly, a hierarchical display function, namely performing hierarchical display on the business objects according to the zoom degree of the map, wherein the business objects with the highest priority are displayed on the initial map, and business objects with lower priorities are gradually displayed along with the map enlargement.
The existing functions of the existing intelligent navigation applet meet the basic cognitive demands of users on business objects in a scenic spot to a certain extent, but the existing intelligent navigation applet still has the defects that firstly, the visual distance perception of a map is not obvious, the distance display of the existing applet on the map on the business objects is not visual enough, the users can acquire specific distance information only by operations such as a drop-down list, clicking details and the like, the operation flow is complex, and the user experience is affected. Secondly, the configuration priority of the service personnel is not matched with the user demand, and the priority of the service personnel for setting the service object is often based on service logic or accurate planning, but the actual demand of the user cannot be fully considered. For example, a parking lot with a high priority does not necessarily meet the current location or demand of the user, resulting in the user spending additional time looking for a suitable parking lot. Third, there is a lack of conjunctive recommendations that existing applets typically only provide a distance-based ranked or hierarchical display, and fail to comprehensively consider the two-way needs of the business side and the user side.
Disclosure of Invention
In a first aspect, an embodiment of the present application provides a method for optimizing a visual display effect of a map, including the following steps:
S1, calculating a real-time distance between a business target and a user, and calculating the weight of the business target by combining a preset business target priority;
S2, setting a visual highlighting strategy of the business target on the scenic spot map according to the calculated weight of the business target.
Further, the specific steps of step S1 are as follows:
s11, calculating the distance between each business target and the user through map software in an intelligent navigation scene;
s12, acquiring priorities configured for each business target on map display in advance according to priority demands of business terminals;
s13, setting the weight of the business targets to be inversely related to the distance between the business targets and the user, and positively related to the priority of each business target.
Further, the specific steps of step S11 are as follows:
s111, the mobile terminal equipment acquires the position information of a user;
s112, the map software calculates the relative position of the user from each business target according to the position information of the user acquired by the mobile terminal equipment and combining with the current map level;
the specific steps of step S12 are as follows:
s121, acquiring priority demands of a service end;
s122, identifying a business target with a permanent business grade in the priority demand;
S123, judging whether a business target with temporarily increased priority exists;
if yes, go to step S124;
If not, go to step S13;
s124, changing the priority of the business target with the temporarily increased priority;
the specific steps of step S13 are as follows:
S131, presetting the maximum value of the weight P of the business target And minimum valueWeight interval of (2)The weight P of the business object is normalized in the weight interval by using the following formula:
;
Wherein, The weight of the normalized business target;
S132, presetting and setting the minimum distance of the distance D between the business object and the user And maximum distanceAnd unify units of measure, whereinIs a positive number of 1 or more,Is a positive number;
S133, normalizing the distance D between the business target and the user by using the following formula:
;
Wherein, The distance between the normalized business target and the user is obtained;
S134, setting normalized weight of the business target through the following formula Distance to business object and userNegative correlation, and positive correlation with the priority of each traffic target:
;
Wherein, And the weight of the normalized business target is obtained.
Further, step S13 further includes the steps of:
S135, weighting the normalized business targets by using the following formula Performing discrete processing:
;
Wherein, Weights for discretized business objectives;
S136, simplifying the weight of the discretized business target to obtain:
;
Wherein, Is the weight of the business object.
Further, the specific steps of step S2 are as follows:
S21, setting symbol colors highlighted by the business targets on the scenic spot map according to the calculated weights of the business targets;
s22, setting the size of a symbol highlighted in a scenic spot map of the business target according to the calculated weight of the business target;
s23, judging whether a symbol frame highlighted by a business target in a scenic spot map is required to be set;
if yes, go to step S24;
If not, ending;
s24, setting the thickness of symbol frames highlighted by the business targets on the scenic spot map according to the calculated weights of the business targets.
Further, the specific steps of step S21 are as follows:
S211, selecting one of three primary colors as a hue for a symbol highlighted by a business target in a scenic spot map;
S222 minimum brightness of symbol highlighted on scenic spot map of business object Limiting;
S213, according to the weight of the business target Said minimum brightnessAnd uses the following formula to highlight the final brightness of the symbol of the business object in the scenic spot mapSetting:
;
s214, minimum saturation of symbols highlighted on scenic spot map of business object Limiting;
S215, according to the weight of the business target Said minimum saturationAnd the final saturation S of the symbol highlighted by the business object on the scenic spot map is set using the following formula:
;
The specific steps of step S22 are as follows:
S221, calculating the basic size r of a symbol visually highlighted by a business target in a scenic spot map according to the screen size of the mobile terminal equipment or the size of the scenic spot map;
s222, according to the weight of the business target And adjusts the base size r of the visually highlighted symbol of the business object on the scenic spot map using the formula:
;
Wherein, Namely the size of the radius of the display circle of the symbol after the business target is adjusted based on the weight,Adjusting the coefficient for the weight;
the specific steps of step S24 are as follows:
s241, setting the thickness B of a basic frame of a symbol which is visually highlighted by a business target in a scenic spot map;
s242, adjusting the thickness B of the basic frame of the visually highlighted symbol of the business target on the scenic spot map by using the following formula:
;
Wherein, Namely the frame thickness of the symbol after the business goal is adjusted based on the weight,Is a nonlinear degree control coefficient, takes positive value,Is an exponential function.
Further, the specific steps of step S221 are as follows:
s2211, acquiring the length H and the width W of a map size of a scenic spot, wherein the map size is the display area of mobile terminal equipment on a screen;
s2212, setting an edge margin of a symbol visually highlighted by a business target in a scenic spot map;
s2213, calculating the basic size r of a visually highlighted symbol of a business target on a scenic spot map by using the following formula:
;
Wherein k is a preset proportionality coefficient used for setting the size of a base size r relative to the size of a screen;
Substituting the formula in step S2213 into step S222 results in:
in a second aspect, an embodiment of the present application further provides a system for optimizing a visual display effect of a map, including:
the business target weight calculation module is used for calculating the real-time distance between the business target and the user and calculating the weight of the business target by combining with the preset business target priority;
And the business target highlighting setting module is used for setting a visual highlighting strategy of the business target on the scenic spot map according to the calculated weight of the business target.
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 in the memory and executable on the processor, where the steps of the map visual display effect optimization method according to the first aspect are implemented when the processor executes the program.
In a fourth aspect, embodiments of the present application also provide a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the map visual display effect optimization method as described in the first aspect.
From the above technical scheme, the invention has the following advantages:
According to the map visual display effect optimization method, system, equipment and medium, the real-time distance between the business target and the user is calculated, the weight of the business target is calculated by combining with the preset business target priority, and the visual highlighting strategy of the business target in the scenic spot map is set according to the calculated weight of the business target, so that the user can obtain the visual distance sensing effect and the business target priority sensing effect in the intelligent navigation process, the visual highlighting and the visual desalination are realized, the user experience of the intelligent navigation system is improved, the user can more intuitively know the distance between the business target and the user and the priority of the business target, and the problem that the user cannot intuitively sense the difference of the business target due to the fact that the business target presents the same definition and similar display mode in the traditional business target display technology is solved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the description will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an embodiment of a map visual display effect optimization method according to the present invention.
Fig. 2 is a flowchart of another embodiment of the method for optimizing the visual display effect of a map according to the present invention.
FIG. 3 is a schematic diagram of a map visual display effect optimization system of the present invention.
Detailed Description
In the specific steps of the map visual display effect optimization method, which will be described in detail below, various embodiments of the present disclosure will be more fully described. The present disclosure is capable of various embodiments and of modifications and variations therein. It should be understood, however, that there is no intent to limit the various embodiments of the present disclosure to the particular embodiments disclosed herein, but rather, the present disclosure is to be construed to cover all modifications, equivalents, and/or alternatives falling within the spirit and scope of the various embodiments of the present disclosure.
Illustratively, observing various scenic spot applets and systems can discover a user experience delegation and business configuration issues:
1) The distance between the user and the business target is not obvious in visual perception on an applet or an app, and the distance between the business target and the user cannot be acquired rapidly and in real time, so that the user experience is poor. Consider a scene, taking the existing scenic spot map as an example, that a user arrives at a scenic spot, opens a navigation map, needs to search for a toilet, needs to pull down a list, selects a toilet to click, and then displays the information details of the toilet. Thus, the user operation steps are complicated, the operation flow is redundant, the user comfort is affected, and the product evaluation of the user is intangibly affected.
2) The trade-off between the prominence of business personnel to business objectives and the distance of users is poor. Consider a scenario, taking an existing map as an example, setting up each parking lot of scenic spots for a business person, and setting up priorities for the parking lots in the map scaling process. However, the parking lot with high priority does not necessarily meet the user requirements, and the existing map does not combine the user distance with the service target priority, so that interaction mechanization and rationalization are caused, and user experience is affected.
Based on the application of the intelligent navigation applet in scenic spots and scenic spot navigation and the problems existing in the application, the following optimization scheme is proposed:
calculating the real-time distance between the business target and the user, and calculating the weight of the business target by combining the preset business target priority;
And setting a visual highlighting strategy of the business target in the scenic spot map according to the calculated weight of the business target. The method comprises the steps of calculating the real-time distance between a business target and a user, calculating the weight of the business target by combining with a preset business target priority, setting the visual highlighting strategy of the business target on a scenic spot map according to the calculated weight of the business target, enabling a navigation system to visually give the distance feeling between the business target and the user in real time, setting the priority of the business target according to business requirements, performing intelligent visual adjustment at the same time, helping a business end give the expected map visual bias to the user, combining two visual adjustment methods, setting the weight proportion of the distance and the priority, realizing the map visual effect of the intelligent combination of the distance and the priority, and further adding other weight parameters to finish the wanted map visual effect.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of a method for optimizing a visual display effect of a map according to an embodiment is shown, and the method includes the following steps:
s1, calculating a real-time distance between a business target and a user, and calculating the weight of the business target by combining a preset business target priority;
It should be noted that a mechanism for calculating the service target weight based on the real-time distance between the user and the service target and the priority of the service target is introduced, so that the importance and the distance from the user to the service target can be dynamically reflected by the display of the service target;
Illustratively, the real-time distance between the business object and the user is generally obtained through map software in the intelligent navigation scene, and the priority ordering of the business object is generally determined when the scenic spot management is initially performed;
s2, setting a visual highlighting strategy of the business target on the scenic spot map according to the calculated weight of the business target;
It should be noted that, according to the calculated weight of the business object, the visual display effect of the business object on the map is dynamically adjusted, so as to visually highlight the important business object.
The method for calculating the business object weight by combining the real-time distance between the user and the business object can be applied to an actual intelligent navigation system and is used for setting the visual highlighting effect of the business object so as to solve the visual perception problem of the user on the business object.
Further, as a refinement and extension of the implementation method of the above embodiment, in order to fully describe the implementation process of the present embodiment, as shown in fig. 2, another method for optimizing the visual display effect of a map is provided, which includes the following steps:
the specific steps of the step S1 are as follows:
s11, calculating the distance between each business target and the user through map software in an intelligent navigation scene;
s12, acquiring priorities configured for each business target on map display in advance according to priority demands of business terminals;
s13, setting the weight of the business targets to be inversely related to the distance between the business targets and the user, and positively related to the priority of each business target;
it should be noted that, in combination with the real-time distance and priority of the service target and the user, the weight of the service target is calculated, and the calculation formula is the product of the reciprocal of the distance and the priority.
Wherein, As the weight value of the weight,The reciprocal of the real-time distance reflects the distance between the user and the target;
The priority is used for reflecting the priority of the business target;
The specific steps of the step S2 are as follows:
S21, setting symbol colors highlighted by the business targets on the scenic spot map according to the calculated weights of the business targets;
The method is characterized in that different business target map symbol colors are designed according to the weights, wherein the larger the weights are, the brighter the colors are, the smaller the weights are, the darker the colors are, and the adjustment parameters are respectively hue, saturation and brightness of color display;
s22, setting the size of a symbol highlighted in a scenic spot map of the business target according to the calculated weight of the business target;
the method is characterized in that different business target map symbol sizes are designed according to the weights, wherein the larger the weights are, the larger the symbol areas are;
s23, judging whether a symbol frame highlighted by a business target in a scenic spot map is required to be set;
if yes, go to step S24;
If not, ending;
s24, setting the thickness of symbol frames highlighted in the scenic spot map by the business targets according to the calculated weights of the business targets;
it should be noted that, for the more important business object, the border thickness characteristic of the map symbol of the business object is increased, and the color adjustment of the map symbol can also be used in this step, because if the business object symbol needs to display the thumbnail, the color display can only be used on the color display of the border of the business object symbol;
Through the three designs of the embodiment, the business target symbol with high weight is displayed larger, thicker and brighter than the business target with low weight, so that the visual perception effect optimization of the visual distance and the priority is given to the user, and the visual implication and the selection preference are given to the user.
In one embodiment of the present invention, a specific embodiment thereof will be described without limitation based on one possible embodiment given below for steps S11, S12, S13.
The specific steps of step S11 are as follows:
s111, the mobile terminal equipment acquires the position information of a user;
s112, the map software calculates the relative position of the user from each business target according to the position information of the user acquired by the mobile terminal equipment and combining with the current map level;
The map software takes a GIS map as an example, and the GIS map can effectively carry out the direction recognition calculation of the user, wherein the mobile terminal equipment usually held by the user side is equipment with a positioning function, such as a mobile phone and the like, and the existing mode is adopted when the direction recognition calculation is carried out;
the specific steps of step S12 are as follows:
s121, acquiring priority demands of a service end;
s122, identifying a business target with a permanent business grade in the priority demand;
S123, judging whether a business target with temporarily increased priority exists;
if yes, go to step S124;
If not, go to step S13;
s124, changing the priority of the business target with the temporarily increased priority;
It should be noted that, based on the priority requirement of the service end, the priority configuration of the service object on the map display is performed, and in general, the priority ordering of the service object will be determined when the scenic spot management is first, for example, the level of some service objects is permanently determined as a class a service object, and other service objects are temporarily increased, and the priority is set as a temporary priority class B, so that the priority can be changed according to the service operation when the GIS map is actually applied;
The weight value calculated in the step S13 can generate a sequence for each business object, but has a disadvantage that the range of the weight value calculated by different business objects is too wide although the sequence is calculated, so that the weight is required to be controlled at the same scale, the data can be conveniently used for setting the visual highlighting strategy, and the weight w is controlled within the interval of (0, 1) because the weight w is controlled to be within the interval of (0, 1).
The specific steps of step S13 are as follows:
S131, presetting the maximum value of the weight P of the business target And minimum valueWeight interval of (2)The weight P of the business object is normalized in the weight interval by using the following formula:
;
Wherein, The weight of the normalized business target;
S132, presetting and setting the minimum distance of the distance D between the business object and the user And maximum distanceAnd unify units of measure, whereinIs a positive number of 1 or more,Is a positive number;
S133, normalizing the distance D between the business target and the user by using the following formula:
;
Wherein, The distance between the normalized business target and the user is obtained;
S134, setting normalized weight of the business target through the following formula Distance to business object and userNegative correlation, and positive correlation with the priority of each traffic target:
;
Wherein, The weight of the normalized business target;
in order to make the effect displayed at the same distance and priority of each scenic spot have no difference, the D value is uniformly measured by using hundred meters as a unit of measurement, for example, the real distance is 0.1km, and the D value is 1.
Calculated on the basis of the above embodimentHowever, in practical use, the calculated weight value has poor uniformity, and is more concentrated in the interval of (0, 1), so that the weight value can be uniformly dispersed in the interval of (0, 1) by performing a part of dispersion processing in the following embodiments, the visual highlighting strategy is easier to use, and the visual distinction degree is higher:
step S13 further includes the steps of:
S135, weighting the normalized business targets by using the following formula Performing discrete processing:
;
Wherein, Weights for discretized business objectives;
It should be noted that the number of the substrates, To pass throughObtained because ofThe value is 1, so the method is directly simplified intoTherefore, the above formula can be simplified as follows:
S136, simplifying the weight of the discretized business target to obtain:
;
Wherein, Is the weight of the business object.
In one embodiment of the present invention, a specific real-time scenario thereof will be described without limitation based on one possible embodiment of steps S21, S22, S24 below.
The specific steps of step S21 are as follows:
S211, selecting one of three primary colors as a hue for a symbol highlighted by a business target in a scenic spot map;
The color phase is any one of three primary colors red, green and blue which are all adapted to a display screen, and the primary colors are selected according to the service configuration preference, so that the primary colors are selected without influencing the realization effect;
S222 minimum brightness of symbol highlighted on scenic spot map of business object Limiting;
It should be noted that, the brightness is adjusted to take care of the problem of low brightness and excessive darkness, for example, the brightness threshold is 0-100%, the brightness is 0, the display is black, and the display effect is affected by practical use, so that the brightness needs to be set to a minimum threshold, for example, the brightness can be set to 30%;
S213, according to the weight of the business target Said minimum brightnessAnd uses the following formula to highlight the final brightness of the symbol of the business object in the scenic spot mapSetting:
;
It should be noted that, adjusting brightness according to the business weight can ensure that the color has good visibility and contrast on the display screen;
s214, minimum saturation of symbols highlighted on scenic spot map of business object Limiting;
it should be noted that the saturation is a value from 0 to 100% representing how much gray component is in the color, when the saturation is 100%, the color is fully saturated without any gray component and thus looks very bright, as the saturation decreases, the gray component in the color increases, the color becomes darker and darker until the saturation reaches 0% at which time the color becomes fully gray, so the saturation processing is similar to brightness and cannot affect the display by gray, for example, the lowest saturation can be set to 45%;
S215, according to the weight of the business target Said minimum saturationAnd the final saturation S of the symbol highlighted by the business object on the scenic spot map is set using the following formula:
;
It should be noted that, saturation describes the vividness or purity of the color, highly affecting the user perception;
The specific steps of step S22 are as follows:
S221, calculating the basic size r of a symbol visually highlighted by a business target in a scenic spot map according to the screen size of the mobile terminal equipment or the size of the scenic spot map;
The basic size is the size of the graph without any weight influence, and the basic size is calculated based on the size of the screen or the size of the map, so that the requirement of the display on the adaptation degree of the screen is met;
s222, according to the weight of the business target And adjusts the base size r of the visually highlighted symbol of the business object on the scenic spot map using the formula:
;
Wherein, Namely the size of the radius of the display circle of the symbol after the business target is adjusted based on the weight,For the weight adjustment coefficient, the weight adjustment coefficient is used for amplifying or diluting the influence of the weight coefficient, and the general dilution influence meets the requirements, for example, the reference value is 0.67;
it should be noted that the base size adjustment calculated in this way can be seen to be linear and already uniformly distributed, so that the linear distribution effect is also good, and no extra processing is required;
the specific steps of step S24 are as follows:
s241, setting the thickness B of a basic frame of a symbol which is visually highlighted by a business target in a scenic spot map;
It should be noted that, for the important business object, the border thickness characteristic of the map symbol of the business object is increased, the border thickness is affected by other factors to a very small extent, the initial thickness B is directly set, and calculation processing is not needed, for example, 0.15mm is a reference preferable value;
s242, adjusting the thickness B of the basic frame of the visually highlighted symbol of the business target on the scenic spot map by using the following formula:
;
Wherein, Namely the frame thickness of the symbol after the business goal is adjusted based on the weight,Is a nonlinear degree control coefficient, takes positive value,Is an exponential function;
It should be noted that the number of the substrates, Is a constant, the positive number is necessarily required, otherwise, the negative effect is verified through test, the effect is better when the value of the suggested gamma is between (0 and 1), and the display is influenced by the overlarge value;
The calculation of (2) does not adopt linear change, because on display, the visual perception effect of the thickness of the frame of the linear change is not excellent, and the change can be smoother by adopting exponential transformation, so that the user perception is better.
On the basis of the embodiment, the specific calculation step of the basic size r of the symbol for visually highlighting the business object in the scenic spot map is given:
the specific steps of step S221 are as follows:
s2211, acquiring the length H and the width W of a map size of a scenic spot, wherein the map size is the display area of mobile terminal equipment on a screen;
s2212, setting an edge margin of a symbol visually highlighted by a business target in a scenic spot map;
s2213, calculating the basic size r of a visually highlighted symbol of a business target on a scenic spot map by using the following formula:
;
Wherein k is a preset proportionality coefficient used for setting the size of a base size r relative to the size of a screen;
Substituting the formula in step S2213 into step S222 results in:
when the intelligent navigation scene, such as a tourist map, a tourist navigation APP, a tourist navigation applet and the like, is realized, the method is based on the visual design of the business target weight, and the distance and the priority between the user and the business target can be expressed by the business target weight value.
The intelligent navigation map can be directly implemented in a GIS map, and the map is applied to service release through a network in an intelligent navigation scene. The weight calculation of the combination of the distance between the business target and the user and the priority is realized at the intelligent navigation terminal and is transmitted to the GIS map terminal to realize the symbol design of the business target.
The GIS map end adopts a symbol library to realize symbol design of a business target, and in order to improve availability and universality of the symbols, the vector form of a scalable vector graph svg or a scalable punctuation map ssv can be used for completing the design of the symbols.
The intelligent navigation terminal can be an APP terminal and an applet terminal, acquires the real-time distance between a business target and a user according to the azimuth of the user, acquires the priority of the business object, and transmits the designed symbol to the GIS map terminal.
The GIS map terminal receives the designed symbol from the intelligent navigation terminal, issues the symbol from the map service, calculates the position, the size, the brightness degree and the frame thickness of the business target symbol on the map based on the geographic coordinates of the business target in the form of svg and other vectors through the map base map, the business target real-time distance, the business target priority and the like, and renders the business target into the map according to the symbol designed by the business target weight.
Taking an intelligent navigation scene map as an example, carrying out azimuth recognition based on mobile terminal equipment held by a user, calculating the distance between the user and each business object in a scenic spot in real time, and simultaneously taking the requirements of business ends into consideration, setting the priority of business objects, namely setting scenic spot navigation at a scenic spot gate with the highest priority in the scenic spot navigation scene, and calculating the current weight of each business object according to the highest priority, wherein the specific steps for setting a visual highlighting strategy are as follows:
Step 1, acquiring the current scenic spot position of a tourist according to interaction between a user and a system server;
step2, according to the current scenic spot position of the tourist obtained in the step1, the system obtains a scenic spot information list of the scenic spot of the tourist;
Step3, according to the scenic spot information list of the scenic spot where the tourist is located, the system acquires the position information of the scenic spot;
Step 4, combining the step 1 and the step 2, wherein the obtained current position of the tourist and the position list of the scenic spots in the step 3 are calculated by the system, and the linear distance between each scenic spot and the current position of the tourist is calculated by the system;
step 5, obtaining scenic spot priority based on the scenic spot information list;
Step 6, calculating scenic spot weights one by one based on the linear distance of the scenic spot from the current position of the tourist and the scenic spot priority;
The strategy is based on the business target weight, and gives the perception of business target distance and priority to the user in vision;
Step 7, processing according to the weight obtained in the step 6 and the size of the scenic spot symbol to obtain the circle radius of the display area;
Step 8, according to the weight obtained in the step 6, carrying out brightness processing on the scenic spot symbol according to the weight to obtain the color and brightness of the area where the display area carries out color rendering;
Step 9, according to the weight obtained in the step 6, carrying out frame thickness processing of the scenic spot symbol according to the weight to obtain the frame thickness of the display area;
step 10, combining the obtained business target adjustment parameters with map symbols of each scenic spot and transmitting the parameters to a map end;
step 11, the map performs page rendering on the scenic spot symbols one by one according to parameters so as to enable the scenic spot symbols to meet adjustment requirements;
and step 12, sending the obtained rendered map to a user side to complete the interaction process.
The method comprises the steps of calculating the real-time distance between a business target and a user, calculating the weight of the business target by combining with the preset business target priority, setting the visual highlighting strategy of the business target on a scenic spot map according to the calculated weight of the business target, enabling the user to obtain the visual distance sensing effect and the business target priority sensing effect in the intelligent navigation process, achieving visual highlighting and desalting, improving the user experience of the intelligent navigation system, enabling the user to more intuitively know the distance between the business target and the user and the priority of the business target, and accordingly solving the problem that the business target cannot be intuitively perceived to distinguish by the user in the visual sense due to the fact that the business target presents the same definition and similar display mode in the traditional business target display technology.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
As shown in fig. 3, the following is an embodiment of a map visual display effect optimization system provided by the embodiment of the present disclosure, which belongs to the same inventive concept as the map visual display effect optimization method of the above embodiments, and details that are not described in detail in the embodiment of the map visual display effect optimization system may refer to the embodiment of the map visual display effect optimization method.
The system comprises a business target weight calculation module, a business target weight calculation module and a business target processing module, wherein the business target weight calculation module is used for calculating the real-time distance between a business target and a user and calculating the weight of the business target by combining with a preset business target priority;
And the business target highlighting setting module is used for setting a visual highlighting strategy of the business target on the scenic spot map according to the calculated weight of the business target.
According to the invention, the real-time distance between the business target and the user is calculated, the weight of the business target is calculated by combining with the preset business target priority, and the visual highlighting strategy of the business target in the scenic spot map is set according to the calculated weight of the business target, so that the user can obtain the visual distance sensing effect and the business target priority sensing effect in the intelligent navigation process, the visual highlighting and the desalination are realized, the user experience of the intelligent navigation system is improved, the user can more intuitively know the distance between the business target and the user and the priority of the business target, and the problem that the business target cannot intuitively sense the business target distinction in the visual sense due to the fact that the business target presents the same definition and similar display mode in the traditional business target display technology is solved.
The map visual display effect optimization method provided by the embodiment of the application can be applied to electronic equipment. It will be appreciated by those skilled in the art that the structure of the electronic device according to the embodiments of the present application is not limited to the electronic device, and the electronic device may include more or less components than those illustrated, or may combine some components, or may have different arrangements of components. In embodiments of the present application, electronic devices include, but are not limited to, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, 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 meant to be exemplary only, and are not meant to limit implementations of the embodiments of the application described and/or claimed herein.
The electronic device may include a processor, an external memory interface, an internal memory, a Universal Serial Bus (USB) interface, a charge management module, a power management module, a battery, a wireless communication module, an audio module, a speaker, a microphone, a sensor module, keys, a camera, a display screen, and a SIM) card interface, etc.
It should 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 application, the electronic device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor may include one or more processing units, such as a processor may include a central processing unit (centralprocessingunit, CPU), etc.), an application processor (applicationprocessor, AP), a modem processor, a graphics processor (graphicsprocessingunit, GPU), an image signal processor (imagesignalprocessor, ISP), a controller, a memory, a video codec, a digital signal processor (digitalsignalprocessor, DSP), a baseband processor, and/or a neural-network processor (neural-networkprocessingunit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The processor may be a neural hub and a command center of the electronic device. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
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 hold instructions or data that the processor has just used or recycled. If the processor needs to reuse the instruction or data, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor is reduced, so that the system efficiency is improved.
The wireless communication function of the electronic device may be implemented by an antenna, a wireless communication module, a modem processor, a baseband processor, and the like.
The wireless communication module may provide solutions for wireless communication including wireless local area network (wirelesslocalareanetworks, WLAN) (e.g., wireless fidelity (WIRELESSFIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (globalnavigationsatellitesystem, GNSS), frequency modulation (frequencymodulation, FM), near Field Communication (NFC), infrared (IR), etc. for application on an electronic device.
The electronic device may implement display functions through a GPU, a display screen, an application processor, and the like.
The GPU is a microprocessor for image processing and is connected with 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.
The display screen is used for displaying images, videos, and the like. The display screen includes a display panel.
The electronic equipment realizes the calculation of the real-time distance between the business target and the user by the map visual display effect optimization method, combines the preset weight of the business target and the setting of the visual highlighting strategy of the business target in the scenic spot map according to the calculated weight of the business target, so that the user can obtain the visual distance sensing effect and the business target priority sensing effect in the intelligent navigation process, the visual highlighting and the desalination are realized, the user experience of the intelligent navigation system is improved, the user can more intuitively know the distance between the business target and the user and the priority of the business target, and the problem that the user cannot intuitively sense the difference of the business targets due to the fact that the business target presents the same definition and similar display mode in the traditional business target display technology is solved.
In the storage medium provided by the present application, a program product capable of realizing the map visual display effect optimizing method is stored.
The map visual display effect optimizing method comprises the following steps:
calculating the real-time distance between the business target and the user, and calculating the weight of the business target by combining the preset business target priority;
and setting a visual highlighting strategy of the business target in the scenic spot map according to the calculated weight of the business target.
In some possible embodiments, the map visual display effect optimization method of the present disclosure may be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the present disclosure as described in the above section of the "exemplary method" when the program product is run on the terminal device.
The storage media of the present disclosure may employ 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 can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of a 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the 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 (7)

1. The map visual display effect optimizing method is characterized by comprising the following steps of:
S1, calculating the real-time distance between a business target and a user, and calculating the weight of the business target by combining the preset business target priority, wherein the specific steps of the step S1 are as follows:
s11, calculating the distance between each business target and the user through map software in an intelligent navigation scene;
s12, acquiring priorities configured for each business target on map display in advance according to priority demands of business terminals;
s13, setting the weight of the business targets to be inversely related to the distance between the business targets and the user, and positively related to the priority of each business target;
S2, setting a visual highlighting strategy of the business target on the scenic spot map according to the calculated weight of the business target, wherein the step S2 comprises the following specific steps:
s21, setting symbol colors of the business targets highlighted on the scenic spot map according to the calculated weights of the business targets, wherein the specific steps of the step S21 are as follows:
S211, selecting one of three primary colors as a hue for a symbol highlighted by a business target in a scenic spot map;
s122, minimum brightness of symbol highlighted on scenic spot map for business object Limiting;
S213, according to the weight of the business target Said minimum brightnessAnd uses the following formula to highlight the final brightness of the symbol of the business object in the scenic spot mapSetting:
;
s214, minimum saturation of symbols highlighted on scenic spot map of business object Limiting;
S215, according to the weight of the business target Said minimum saturationAnd the final saturation S of the symbol highlighted by the business object on the scenic spot map is set using the following formula:
;
s22, setting the size of a symbol highlighted by the business target in the scenic spot map according to the calculated weight of the business target, wherein the step S22 specifically comprises the following steps:
S221, calculating the basic size r of a symbol visually highlighted by a business target in a scenic spot map according to the screen size of the mobile terminal equipment or the size of the scenic spot map;
s222, according to the weight of the business target And adjusts the base size r of the visually highlighted symbol of the business object on the scenic spot map using the formula:
;
Wherein, Namely the size of the radius of the display circle of the symbol after the business target is adjusted based on the weight,Adjusting the coefficient for the weight;
s23, judging whether a symbol frame highlighted by a business target in a scenic spot map is required to be set;
if yes, go to step S24;
If not, ending;
S24, setting the thickness of a symbol frame highlighted by the business target in the scenic spot map according to the calculated weight of the business target, wherein the specific steps of the step S24 are as follows:
s241, setting the thickness B of a basic frame of a symbol which is visually highlighted by a business target in a scenic spot map;
s242, adjusting the thickness B of the basic frame of the visually highlighted symbol of the business target on the scenic spot map by using the following formula:
;
Wherein, Namely the frame thickness of the symbol after the business goal is adjusted based on the weight,Is a nonlinear degree control coefficient, takes positive value,Is an exponential function.
2. The method for optimizing visual display effects of a map according to claim 1, wherein the step S11 comprises the specific steps of:
s111, the mobile terminal equipment acquires the position information of a user;
s112, the map software calculates the relative position of the user from each business target according to the position information of the user acquired by the mobile terminal equipment and combining with the current map level;
the specific steps of step S12 are as follows:
s121, acquiring priority demands of a service end;
s122, identifying a business target with a permanent business grade in the priority demand;
S123, judging whether a business target with temporarily increased priority exists;
if yes, go to step S124;
If not, go to step S13;
s124, changing the priority of the business target with the temporarily increased priority;
the specific steps of step S13 are as follows:
S131, presetting the maximum value of the weight P of the business target And minimum valueWeight interval of (2)The weight P of the business object is normalized in the weight interval by using the following formula:
;
Wherein, The weight of the normalized business target;
S132, presetting and setting the minimum distance of the distance D between the business object and the user And maximum distanceAnd unify units of measure, whereinIs a positive number of 1 or more,Is a positive number;
S133, normalizing the distance D between the business target and the user by using the following formula:
;
Wherein, The distance between the normalized business target and the user is obtained;
S134, setting normalized weight of the business target through the following formula Distance to business object and userNegative correlation, and positive correlation with the priority of each traffic target:
;
Wherein, And the weight of the normalized business target is obtained.
3. The map visual display effect optimizing method according to claim 2, characterized in that step S13 further comprises the steps of:
S135, weighting the normalized business targets by using the following formula Performing discrete processing:
;
Wherein, Weights for discretized business objectives;
S136, simplifying the weight of the discretized business target to obtain:
;
Wherein, Is the weight of the business object.
4. The map visual display effect optimization method according to claim 1, wherein step S221 specifically comprises the steps of:
s2211, acquiring the length H and the width W of a map size of a scenic spot, wherein the map size is the display area of mobile terminal equipment on a screen;
s2212, setting an edge margin of a symbol visually highlighted by a business target in a scenic spot map;
s2213, calculating the basic size r of a visually highlighted symbol of a business target on a scenic spot map by using the following formula:
;
Wherein k is a preset proportionality coefficient used for setting the size of a base size r relative to the size of a screen;
Substituting the formula in step S2213 into step S222 results in:
5. A map visual display effect optimizing system that implements the map visual display effect optimizing method of any one of claims 1 to 4, characterized by comprising:
the business target weight calculation module is used for calculating the real-time distance between the business target and the user and calculating the weight of the business target by combining with the preset business target priority;
And the business target highlighting setting module is used for setting a visual highlighting strategy of the business target on the scenic spot map according to the calculated weight of the business target.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the map visual display effect optimization method according to any one of claims 1 to 4 when the program is executed.
7. A storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the map visual display effect optimization method according to any one of claims 1 to 4.
CN202411638838.3A 2024-11-18 2024-11-18 A method, system, device and medium for optimizing map visual display effect Active CN119127047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411638838.3A CN119127047B (en) 2024-11-18 2024-11-18 A method, system, device and medium for optimizing map visual display effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411638838.3A CN119127047B (en) 2024-11-18 2024-11-18 A method, system, device and medium for optimizing map visual display effect

Publications (2)

Publication Number Publication Date
CN119127047A CN119127047A (en) 2024-12-13
CN119127047B true CN119127047B (en) 2025-06-20

Family

ID=93756076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411638838.3A Active CN119127047B (en) 2024-11-18 2024-11-18 A method, system, device and medium for optimizing map visual display effect

Country Status (1)

Country Link
CN (1) CN119127047B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110388933A (en) * 2019-07-22 2019-10-29 上海图聚智能科技股份有限公司 Interest point search method, device, server and storage medium
CN118332203A (en) * 2024-03-29 2024-07-12 重庆赛力斯凤凰智创科技有限公司 Intelligent recommendation method and device for geographic position of vehicle and storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9710961B2 (en) * 2009-09-17 2017-07-18 Nokia Technologies Oy Method and apparatus for providing contextual rendering of a map
PL3365632T3 (en) * 2015-10-19 2020-11-02 Usadel Gmbh Method for visually displaying the positions of selected destinations in maps in an altered manner
CN108319607A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 The display of business object, the processing method of map datum, client and server
CN109559382A (en) * 2018-12-04 2019-04-02 百度在线网络技术(北京)有限公司 Intelligent guide method, apparatus, terminal and medium
CN110377683A (en) * 2019-07-18 2019-10-25 北京百度网讯科技有限公司 Interest point indication method, device, equipment and medium
CN110377764B (en) * 2019-07-19 2022-10-11 芋头科技(杭州)有限公司 Information display method
CN112115222B (en) * 2020-09-08 2024-03-08 北京百度网讯科技有限公司 Point of interest display method, device, electronic device and storage medium
CN113516497A (en) * 2020-10-29 2021-10-19 腾讯科技(深圳)有限公司 Information push method, equipment, computer equipment and storage medium
CN112363656A (en) * 2020-11-12 2021-02-12 深圳传音控股股份有限公司 Display method, electronic device and readable storage medium
CN113282687A (en) * 2021-06-18 2021-08-20 北京市商汤科技开发有限公司 Data display method and device, computer equipment and storage medium
CN115544390A (en) * 2021-06-30 2022-12-30 华为技术有限公司 A POI display method and device
CN116358595A (en) * 2022-12-27 2023-06-30 江苏泽景汽车电子股份有限公司 Point of interest display method and device, electronic equipment and storage medium
CN116521812A (en) * 2023-05-09 2023-08-01 北京维艾狄尔信息科技有限公司 Park guiding method, system, terminal and storage medium
CN117710062A (en) * 2023-12-26 2024-03-15 中电科长江数据有限公司 Distribution distance display method, distribution distance display device, distribution distance display equipment and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110388933A (en) * 2019-07-22 2019-10-29 上海图聚智能科技股份有限公司 Interest point search method, device, server and storage medium
CN118332203A (en) * 2024-03-29 2024-07-12 重庆赛力斯凤凰智创科技有限公司 Intelligent recommendation method and device for geographic position of vehicle and storage medium

Also Published As

Publication number Publication date
CN119127047A (en) 2024-12-13

Similar Documents

Publication Publication Date Title
US11436739B2 (en) Method, apparatus, and storage medium for processing video image
CN110263611B (en) Context-aware positioning, mapping and tracking
US20170301074A1 (en) Image processing method and apparatus
US20160232686A1 (en) Method and electronic device for converting color of image
JP7316387B2 (en) Facial image processing method, device, readable medium and electronic apparatus
US9478037B2 (en) Techniques for efficient stereo block matching for gesture recognition
CN112733624B (en) Crowd density detection method, system storage medium and terminal in indoor dense scene
CN104661300B (en) Localization method, device, system and mobile terminal
CN110991491A (en) Image labeling method, device, equipment and storage medium
CN110796248A (en) Data enhancement method, device, equipment and storage medium
CN110971761B (en) Method, device, mobile terminal and storage medium for generating display parameter curve
CN113269730B (en) Image processing method, image processing device, computer equipment and storage medium
CN113378911A (en) Image classification model training method, image classification method and related device
CN115330610A (en) Image processing method, image processing apparatus, electronic device, and storage medium
JP2022551110A (en) Image generation method and apparatus, and computer program
CN112419231B (en) Visibility determination method, apparatus, computer device, and storage medium
CN119127047B (en) A method, system, device and medium for optimizing map visual display effect
Yu et al. Color scheme adaptation to enhance user experience on smartphone displays leveraging ambient light
CN111738034A (en) Method and device for detecting lane line
JP7682400B2 (en) Method, device, and storage medium for determining vehicle position and attitude
CN115331057A (en) Image processing method, image processing device, electronic equipment and storage medium
CN115131877B (en) Image processing method, device, equipment and storage medium
CN118945815B (en) Service scene identification method, electronic equipment and storage medium
CN113888742B (en) Image recognition method, device, electronic device and storage medium
CN109829393A (en) A kind of mobile object detection method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant