CN112925843A - Method and system for changing map display effect based on graphical interface configuration - Google Patents

Method and system for changing map display effect based on graphical interface configuration Download PDF

Info

Publication number
CN112925843A
CN112925843A CN202110511409.XA CN202110511409A CN112925843A CN 112925843 A CN112925843 A CN 112925843A CN 202110511409 A CN202110511409 A CN 202110511409A CN 112925843 A CN112925843 A CN 112925843A
Authority
CN
China
Prior art keywords
map
abstract
graphical interface
data model
key technical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110511409.XA
Other languages
Chinese (zh)
Inventor
何青松
冶莎
王振宇
查琳
周凡吟
陈刚
向波
杨志勤
邢尚合
黄庆娇
姚苗
张晨
周智海
王芳杰
覃晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Business Big Data Technology Co Ltd
Original Assignee
Chengdu Business Big Data Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Business Big Data Technology Co Ltd filed Critical Chengdu Business Big Data Technology Co Ltd
Priority to CN202110511409.XA priority Critical patent/CN112925843A/en
Publication of CN112925843A publication Critical patent/CN112925843A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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; CALCULATING OR 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a system for changing the map display effect based on graphical interface configuration, wherein the method comprises the following steps: abstracting map elements in a map to obtain abstract description objects, and enabling the abstract description objects to become configuration objects in a graphical interface; after a user configures based on a graphical interface, extracting key technical parameter values presented by elements from the abstract description object to obtain a key technical parameter value list; mapping the extracted key technical parameter values to a map element data model; and rendering in real time based on the map element data model, and displaying the rendered map. By the method and the system, a non-technical person can change the map display effect in a graphical interface configuration mode without depending on the technical person to manually modify the bottom layer code, so that the method and the system have no requirement on the professional technical capability of the user and are convenient for the user to operate.

Description

Method and system for changing map display effect based on graphical interface configuration
Technical Field
The invention relates to the technical field of map visualization, in particular to a method and a system for changing a map display effect based on graphical interface configuration.
Background
The Geographic Information System (GIS) is a comprehensive discipline, combining geography with cartography, remote sensing and computer discipline, has been widely used in different fields, and is a computer System for inputting, storing, querying, analyzing and displaying Geographic data. With the continuous development of the GIS technology, various data of various industries are presented on a map, and the trend is inevitably the irreversible development trend in the future. In a traditional map data presentation mode, based on presentation elements and result styles, technical personnel are required to develop one by one to realize the data presentation, so that only professional technical personnel can operate presentation results directly, and when non-technical personnel want to adjust the data styles and results in a map, only the technical personnel are coordinated again to change the data styles, so that the burden of the technical personnel is increased. In addition, due to the lack of professional technical ability of the non-technical personnel, the communication cannot be performed through professional technical terms and technical key parameters in the communication process of the technical personnel, and the effect presented in the map often cannot meet the requirements of the non-technical personnel.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a method and a system for changing the map display effect based on graphical interface configuration.
In order to achieve the above purpose, the invention provides the following technical scheme:
a method for changing map display effect based on graphical interface configuration comprises the following steps:
abstracting map elements in a map to obtain abstract description objects, and enabling the abstract description objects to become configuration objects in a graphical interface;
after a user configures based on a graphical interface, extracting key technical parameter values presented by elements from the abstract description object to obtain a key technical parameter value list;
mapping the extracted key technical parameter values to a map element data model;
and rendering in real time based on the map element data model, and displaying the rendered map.
In the above scheme, when the user wants to change the map display effect, the user can directly perform corresponding configuration based on the graphical interface, for example, the color of the dot is set to be red, the map system can perform real-time rendering according to the configuration of the user, and the rendered map is displayed. In the whole process, no professional technical personnel are needed to modify the bottom layer codes, and the participation of the professional technical personnel is also needed, so that the burden of the professional technical personnel is greatly reduced, and the problem that the rendered map effect cannot meet the user requirement due to communication obstacles between the user (here, non-professional technical personnel) and the professional technical personnel is avoided.
The step of performing abstraction processing on map elements in the map to obtain an abstract description object and making the abstract description object become a configuration object in the graphical interface includes:
abstract description is carried out on map elements in a map, and the map elements are stored in an abstract data model;
and mapping the abstract data model and the graphical interface to enable the abstract description object in the abstract data model to be mapped into the configuration object in the graphical interface.
In the above scheme, the map elements are abstracted and described, and the abstract data model is mapped with the graphical interface, so that the abstract description object becomes a configuration object in the graphical interface, that is, a user can perform data configuration on the abstract description object in the graphical interface, thereby providing great convenience for user operation.
The step of performing abstract description on the map elements in the map and storing the map elements in the abstract data model comprises the following steps: the technical parameters of the map elements are described as abstract description objects which can be recognized by a computer, and the abstract description objects are stored as components in an abstract data model.
In the above scheme, the technical parameters include color, size, space, and the like, the technical parameters of the map elements are described as abstract description objects recognized by a computer, and data support is provided for automatic rendering according to user configuration (instead of manual code modification).
The step of mapping the abstract data model with the graphical interface to map the abstract description object in the abstract data model to the configuration object in the graphical interface includes: deeply traversing the abstract data model, judging whether each traversed abstract description object is a configuration object supported by a graphical interface, if so, rendering the graphical interface based on the current abstract description object, and performing data binding and linkage on the data response of the rendering result of the current graphical interface and the currently traversed abstract description object; if not, then the next abstract description object is traversed.
In the scheme, omission can be avoided in a traversal mode, and only the abstract description object supported by the graphical interface is mapped according to whether the graphical interface supports the abstract description object, so that the reliability of the scheme is guaranteed, and the situation that a user cannot perform corresponding configuration due to non-support is avoided. After mapping, an input box for corresponding configuration of a user is provided on the graphical interface, and after corresponding configuration of the user, data synchronization updating is performed on a corresponding abstract description object in the abstract data model, so that technical support is provided for subsequent extraction of key technical parameter values.
The key technical parameter value list comprises key technical parameter values and corresponding key technical parameter names; the step of mapping the extracted key technical parameter values to the map element data model comprises the following steps: and performing circular traversal by using the name keyword of the rendering content supported in the map element data model, acquiring the currently traversed name keyword in the traversal process, searching in the key technical parameter value list, reading the key technical parameter value corresponding to the key technical parameter name if the key technical parameter name corresponding to the name keyword is found, and returning a null value if the key technical parameter name corresponding to the key technical parameter name is not found.
As a conventional design, rendering may be directly performed according to the extracted key technical parameter value, but in the above scheme, a map element data model built in the map system is used as a reference, and the extracted key technical parameter value is mapped into the map element data model, and when a corresponding keyword is found, a corresponding value is taken, and when the keyword is not found, a default setting value is taken, so that not only can system safety be ensured, but also rendering errors caused by non-support (return to null value) of the map element data model can be avoided.
A system for changing map display effects based on a graphical interface configuration, comprising:
the abstract processing module is configured to abstract map elements in a map to obtain an abstract description object, and the abstract description object becomes a configuration object in a graphical interface;
the parameter value extraction module is configured to extract key technical parameter values presented by the elements from the abstract description object to obtain a key technical parameter value list after a user configures based on a graphical interface;
a parameter value mapping module configured to map the extracted key technical parameter values into a map element data model;
and the real-time rendering module is configured to render in real time based on the map element data model and display the rendered map.
The abstraction processing module comprises: the abstract description submodule is configured to perform abstract description on map elements in a map and store the map elements in an abstract data model; and the mapping submodule is configured to map the abstract data model with the graphical interface, so that the abstract description object in the abstract data model is mapped to the configuration object in the graphical interface.
The abstract description submodule is specifically configured to: the technical parameters of the map elements are described as abstract description objects which can be recognized by a computer, and the abstract description objects are stored as components in an abstract data model.
The mapping submodule is specifically configured to: deeply traversing the abstract data model, judging whether each traversed abstract description object is a configuration object supported by a graphical interface, if so, rendering the graphical interface based on the current abstract description object, and performing data binding and linkage on the data response of the rendering result of the current graphical interface and the currently traversed abstract description object; if not, then the next abstract description object is traversed.
The parameter value mapping module is specifically configured to: and performing circular traversal by using the name keyword of the rendering content supported in the map element data model, acquiring the currently traversed name keyword in the traversal process, searching in the key technical parameter value list, reading the key technical parameter value corresponding to the key technical parameter name if the key technical parameter name corresponding to the name keyword is found, and returning a null value if the key technical parameter name corresponding to the key technical parameter name is not found.
In still another aspect, the present invention also provides a computer-readable storage medium including computer-readable instructions, which, when executed, cause a processor to perform the operations of the method described in the present invention.
In another aspect, an embodiment of the present invention also provides an electronic device, including: a memory storing program instructions; and the processor is connected with the memory and executes the program instructions in the memory to realize the method in the embodiment of the invention.
The invention focuses on the mode that all the presentation elements in the graphical interface are described through the abstract data model and the data model is used for driving the graphical interface to dynamically change. Compared with the prior art, the method and the system have the following technical advantages:
compared with the existing GIS platform product, the graphical interface configuration changes the function of the map element data model, so that non-professional technicians can change element styles and visual presentation effects in the map through the graphical interface configuration, and the map-based data presentation is simple, easy to use and flexible.
The functions of the part are quite independent relative to a software system, can be built in any map-based GIS platform and appear as a sub-function, can be presented in various forms, can be used for carrying out graphic node configuration, graphic building model configuration, graphic thermodynamic diagram effect configuration, graphic incidence relation presentation style configuration and the like, and can be used for rapidly and conveniently presenting the final effect.
The method is very valuable for upgrading a new construction-enabling industry, most workers in other industries except the IT industry are very strange to IT programs, the use capability of a graphical interface can be very easy, the method helps the workers in other industries except the IT industry to quickly migrate data needing to be presented in the industry to a map by providing the graphical interface, and the method is very useful and valuable. The regression graphical interface configures the element data model, and achieves the real WYSIWYG (what you see is what you get) practical application value based on the map.
Other advantages of the inventive technique are described in the corresponding description of the examples section.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for changing a map display effect based on a graphical interface configuration according to an embodiment of the present invention.
Fig. 2 is a block diagram of a system for changing a map display effect based on a graphical interface configuration according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention discloses a method for changing a map element data model in a map based on a graphical interface configuration, which includes the following steps:
and S10, abstracting and describing the map elements in the map, and storing the map elements in the abstract data model.
Map elements in a map include computer vision elements such as points, lines, faces, volumes, and so on. The abstract description of the map elements means that the natural language description of things by real world people is converted into technical parameter information which can be recognized by a computer. Such as the color, size, graphic shape, element edge, transparency, fill, margin, etc., of a map element, which can be abstractly described as a technical parameter recognizable by a computer.
For example, an abstract description of the shape and color of a point is described as
{
type: ‘Point’,
shape: ‘Circle’,
icon: ‘\u3657’,
color: {
value: ‘255,255,0,0.3’,
type: ‘rgba’
}
}。
The data model can be used for mapping data structures in computer science, and the abstract data model can be obtained by mapping the process of abstracting map elements. The abstract data model may have a variety of data formats, such as XML, which is preferred in this embodiment. Each abstract description object in the abstract data model corresponds to a technical parameter of a map element.
It should be noted that, in the step, when the map elements are abstractly described, all technical parameters of the map elements are described as much as possible, and omission is avoided, so as to meet more application requirements of users. In this step, map elements to be presented on the map are abstracted based on the computer graphics principle, so that the abstracted map elements can enumerate key technical parameters in the element presentation one by one, and the computer identification is facilitated.
S20, mapping the abstract data model with the graphical interface, so that the abstract description object in the abstract data model is mapped to a configuration object (configuration object may also be referred to as a configuration item) in the graphical interface.
As an example, during a specific operation, deep traversal is performed on an abstract data model, and it is determined whether each traversed abstract description object is a configuration object (or called an adjustment object) supported by a graphical interface, if the traversed abstract description object is a supported configuration object, rendering of the graphical interface is performed based on the current abstract description object, and data response of a rendering result of the current graphical interface is data-bound and linked with the currently traversed abstract description object, so that after technical parameters of the graphical interface are adjusted, an effect of synchronously changing the corresponding abstract description object in the abstract data model is achieved.
For example, traversing to the current abstract description object as a color, determining that the color is a configuration object supported by the graphical interface, rendering a graphical color adjustment box, and binding data of the color adjustment box to the current abstract description object (i.e. the color).
For another example, when the current abstract description object is traversed to be the size, and the configuration object supported by the graphical interface is determined, a resizing box of a numerical type is rendered, and the data of the resizing box is bound to the current abstract description object (i.e., the size).
It should be noted that, the configuration objects supported by the graphical interface are limited, and some of the abstract description objects in the abstract data model may be configuration objects that are not supported by the graphical interface, and are omitted. That is, when traversing to an abstract description object and determining that the abstract description object is not a configuration object supported by the graphical interface, the abstract description object is omitted and the traversal is continued.
The purpose of the above steps S10-S20 is to abstract map elements in a map, obtain abstract description objects, and make the abstract description objects become configuration objects in a graphical interface. Through the processing of the above steps S10-S20, not only the purpose of making the abstract description object a configuration object in the graphical interface can be achieved, but also the reliability of the solution can be ensured. Other possible implementations are permissible when embodied.
And S30, after the user configures based on the graphical interface, compiling a plurality of abstract items in the abstract description object, extracting key technical parameter values presented by the elements, and obtaining a key technical parameter value list.
In a system for graphically configuring a map element data model, data is divided into two categories, one being rendering data required to assist visual presentation by a GUI system and the other being data that is actually configured by a user. For example, to render a color adjustment box for a user to operate in a GUI system, basic description needs to be performed on the graphical interface, such as width, height, left and right margins, a default color value, whether to have a rounded corner, whether to have a shadow, a color value input by the user, and the like of the color adjustment box, where data such as the width, height, left and right margins, the default color value, whether to have a rounded corner, whether to have a shadow, and the like of the color adjustment box are rendering data, and a color value input by the user is data actually configured by the user.
After the processing of step S20, for each abstract description object in the abstract data model, the rendering data and the data actually configured by the user together form an abstract item of the abstract description object. And (3) performing contraction editing on numerous abstract items in the abstract description object, namely eliminating rendering data and only extracting data really configured by a user. For example, the color value input by the user, which is the data really configured by the user, and the data is also the key technical parameter value when the element is presented. After the color value of the color adjusting frame is modified by a user trigger, the modified data value of the color adjusting frame can be obtained and synchronously updated to the corresponding abstract description object in the abstract data model, so that the key technical parameter value can be extracted from the corresponding abstract description object in the abstract data model, and a key technical parameter value list is constructed.
It is easy to understand that the key technical parameter value list includes not only the key technical parameter value but also the corresponding key technical parameter name, so as to avoid data errors. For example, the color for this element of the dot can be recorded as: color = '255, 0, 0.3'), color is a key technical parameter name, represents a color configuration item of a dot element, and 255,0,0.3 are data values.
The reduction in the abstract data model is to remove data items (i.e., rendering data) used for rendering by the GUI system, and only leave concrete data values modified by the user. The reduction process may cull data other than the value in each GUI element object through a recursive loop traversal.
And S40, mapping the key technical parameter values of the extracted abstract description objects into the map element data model.
In the scheme, in order to avoid the potential safety hazard of the system, a built-in map element data model is used as a reference, the extracted key technical parameter value of the abstract description object is mapped into the map element data model, and then rendering is carried out based on the map element data model.
Specifically, a name key value (or a key value for short) of rendering content supported in a map element data model is used for circular traversal, the currently traversed key word is obtained in the traversal process, the key word is used for searching in a key technology parameter value list, if the corresponding key technology parameter name is found, the corresponding key technology parameter value is read, namely the value corresponding to the key word is used as the key technology parameter value, and if the value does not exist, a null value is returned, namely the value corresponding to the key word is the default setting value.
For example, a dot is displayed on a map, the dot has built-in configuration items such as color, size and position, when the built-in map element data model passes through, when the color of the dot under the type is traversed, an object with the type of the dot is searched in a key technical parameter value list, the color configuration item under the object is traversed after the object is found, if the color configuration item exists, a value in the color configuration item is taken, if the color configuration item does not exist, a null value is returned, a subsequent program captures the null value, and a default color data value in the map element data model is used to prevent the dot on the map from rendering errors due to no related configuration.
And S50, rendering in real time based on the map element data model, and displaying the rendered map. And calling a graphic drawing engine at the bottom layer of the map to perform real-time rendering of the elements in the map according to the map element data model obtained in the step S40, wherein the map effect displayed after rendering is the effect of the user after changing the map element data model based on the graphical interface configuration.
In the scheme of the invention, through the abstraction processing of the steps S10-S20, the user can configure the display effect through a graphical interface, namely, the map element data model is changed. When a non-technician (not limited to a non-technician or a technician in nature) randomly adjusts any key technical parameter in the graphical interface, the technical embedded point code in the step S30 is triggered, and the code executes a complete business process, where the content of the process includes the content in the steps S30-S50, so that the map element data model is changed through the graphical interface configuration in the map through such a business process, thereby realizing the graphical effect of real-time element rendering. The buried point code occurs by a user triggering an element event in the GUI system, for example, when the user changes a certain configuration item click determination, an event response is triggered, in which the code logic for performing the data processing and mapping in the subsequent steps S30-S50 is called back.
Referring to fig. 2, the present embodiment also provides a system for changing a map display effect based on a graphical interface configuration, which includes an abstraction processing module 21, a parameter value extraction module 22, a parameter value mapping module 23, and a real-time rendering module 24.
The abstraction processing module 21 is configured to abstract map elements in a map, obtain an abstract description object, and make the abstract description object become a configuration object in a graphical interface.
In a more specific and optimized scheme, the abstraction processing module comprises an abstraction description submodule and a mapping submodule, wherein the abstraction description submodule is configured to abstract and describe map elements in a map and store the map elements in an abstract data model; the mapping submodule is configured to map the abstract data model with the graphical interface such that abstract description objects in the abstract data model are mapped to configuration objects in the graphical interface.
The parameter value extraction module 22 is configured to extract a key technical parameter value presented by the element from the abstract description object after the user performs configuration based on the graphical interface, so as to obtain a key technical parameter value list.
Wherein the parameter value mapping module 23 is configured to map the extracted key technical parameter values into the map element data model. For example, in a specific implementation, a name keyword of rendering content supported in the map element data model is used for performing cyclic traversal, the currently traversed name keyword is obtained in the traversal process, the name keyword is searched in the key technical parameter value list, if the key technical parameter name corresponding to the name keyword is found, the key technical parameter value corresponding to the key technical parameter name is read, and if the key technical parameter name is not found, a null value is returned.
Wherein the real-time rendering module 24 is configured to render in real time based on the map element data model and display the rendered map.
The system is based on the same inventive concept as the method shown in fig. 1, and for parts which are not described, reference is made to the corresponding description of the method.
The invention changes the function of the map element data model through the graphical interface configuration, so that non-professional technicians can change the element style and the visual presentation effect in the map through the graphical interface configuration, the map-based data presentation is simple, easy to use and flexible, the map-based data presentation can help the workers of other industries such as non-IT industry to quickly transfer the data required to be presented in the industry to the map, and more value is created for enterprises by utilizing the advantages of the map.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for changing the map display effect based on graphical interface configuration is characterized by comprising the following steps:
abstracting map elements in a map to obtain abstract description objects, and enabling the abstract description objects to become configuration objects in a graphical interface;
after a user configures based on a graphical interface, extracting key technical parameter values presented by elements from the abstract description object to obtain a key technical parameter value list;
mapping the extracted key technical parameter values to a map element data model;
and rendering in real time based on the map element data model, and displaying the rendered map.
2. The method for changing the map display effect based on the graphic interface configuration according to claim 1, wherein the step of abstracting the map elements in the map to obtain an abstract description object and making the abstract description object become the configuration object in the graphic interface comprises:
abstract description is carried out on map elements in a map, and the map elements are stored in an abstract data model;
and mapping the abstract data model and the graphical interface to enable the abstract description object in the abstract data model to be mapped into the configuration object in the graphical interface.
3. The method for changing the map display effect based on the graphic interface configuration as claimed in claim 2, wherein the step of performing abstract description on the map elements in the map and storing the abstract description into an abstract data model comprises:
the technical parameters of the map elements are described as abstract description objects which can be recognized by a computer, and the abstract description objects are stored as components in an abstract data model.
4. The method for changing the map display effect based on the graphical interface configuration of claim 2, wherein the step of mapping the abstract data model with the graphical interface so that the abstract description object in the abstract data model is mapped to the configuration object in the graphical interface comprises:
deeply traversing the abstract data model, judging whether each traversed abstract description object is a configuration object supported by a graphical interface, if so, rendering the graphical interface based on the current abstract description object, and performing data binding and linkage on the data response of the rendering result of the current graphical interface and the currently traversed abstract description object; if not, then the next abstract description object is traversed.
5. The method for changing the map display effect based on the graphical interface configuration of claim 1, wherein the key technical parameter value list comprises key technical parameter values and corresponding key technical parameter names; the step of mapping the extracted key technical parameter values to the map element data model comprises the following steps:
and performing circular traversal by using the name keyword of the rendering content supported in the map element data model, acquiring the currently traversed name keyword in the traversal process, searching in the key technical parameter value list, reading the key technical parameter value corresponding to the key technical parameter name if the key technical parameter name corresponding to the name keyword is found, and returning a null value if the key technical parameter name corresponding to the key technical parameter name is not found.
6. A system for changing map display effects based on a graphical interface configuration, comprising:
the abstract processing module is configured to abstract map elements in a map to obtain an abstract description object, and the abstract description object becomes a configuration object in a graphical interface;
the parameter value extraction module is configured to extract key technical parameter values presented by the elements from the abstract description object to obtain a key technical parameter value list after a user configures based on a graphical interface;
a parameter value mapping module configured to map the extracted key technical parameter values into a map element data model;
and the real-time rendering module is configured to render in real time based on the map element data model and display the rendered map.
7. The system for changing map display effects based on graphical interface configuration of claim 6, wherein the abstraction processing module comprises:
the abstract description submodule is configured to perform abstract description on map elements in a map and store the map elements in an abstract data model;
and the mapping submodule is configured to map the abstract data model with the graphical interface, so that the abstract description object in the abstract data model is mapped to the configuration object in the graphical interface.
8. The system for changing a map display effect based on a graphical interface configuration of claim 7, wherein the abstract description sub-module is specifically configured to: the technical parameters of the map elements are described as abstract description objects which can be recognized by a computer, and the abstract description objects are stored as components in an abstract data model.
9. The graphical interface configuration based map display effect changing system of claim 7, wherein the mapping sub-module is specifically configured to: deeply traversing the abstract data model, judging whether each traversed abstract description object is a configuration object supported by a graphical interface, if so, rendering the graphical interface based on the current abstract description object, and performing data binding and linkage on the data response of the rendering result of the current graphical interface and the currently traversed abstract description object; if not, then the next abstract description object is traversed.
10. The graphical interface configuration based map display effect changing system of claim 6, wherein the parameter value mapping module is specifically configured to: and performing circular traversal by using the name keyword of the rendering content supported in the map element data model, acquiring the currently traversed name keyword in the traversal process, searching in the key technical parameter value list, reading the key technical parameter value corresponding to the key technical parameter name if the key technical parameter name corresponding to the name keyword is found, and returning a null value if the key technical parameter name corresponding to the key technical parameter name is not found.
CN202110511409.XA 2021-05-11 2021-05-11 Method and system for changing map display effect based on graphical interface configuration Pending CN112925843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110511409.XA CN112925843A (en) 2021-05-11 2021-05-11 Method and system for changing map display effect based on graphical interface configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110511409.XA CN112925843A (en) 2021-05-11 2021-05-11 Method and system for changing map display effect based on graphical interface configuration

Publications (1)

Publication Number Publication Date
CN112925843A true CN112925843A (en) 2021-06-08

Family

ID=76174800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110511409.XA Pending CN112925843A (en) 2021-05-11 2021-05-11 Method and system for changing map display effect based on graphical interface configuration

Country Status (1)

Country Link
CN (1) CN112925843A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060041879A1 (en) * 2004-08-19 2006-02-23 Bower Shelley K System and method for changing defined user interface elements in a previously compiled program
CN107749074A (en) * 2017-09-30 2018-03-02 北京知道创宇信息技术有限公司 A kind of method, apparatus and computing device for map making
CN108572951A (en) * 2017-03-08 2018-09-25 星际空间(天津)科技发展有限公司 A kind of cartographic data three-dimensional display system based on geography information
WO2020014649A1 (en) * 2018-07-13 2020-01-16 DreamHammer Corporation Geospatial asset management
CN112084288A (en) * 2020-09-16 2020-12-15 广东电网有限责任公司 Visual map management device
CN112434117A (en) * 2020-11-05 2021-03-02 广州和辰信息科技有限公司 WebGIS visualization configuration method and system based on Vue
CN112463124A (en) * 2020-12-03 2021-03-09 杭州新中大科技股份有限公司 System for realizing one-time design thousand-face display based on metadata model
CN112612864A (en) * 2020-12-28 2021-04-06 厦门市美亚柏科信息股份有限公司 Data visualization display method and terminal
CN112667759A (en) * 2020-12-21 2021-04-16 上海氪邦智能技术有限公司 Space management method and system based on visual map and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060041879A1 (en) * 2004-08-19 2006-02-23 Bower Shelley K System and method for changing defined user interface elements in a previously compiled program
CN108572951A (en) * 2017-03-08 2018-09-25 星际空间(天津)科技发展有限公司 A kind of cartographic data three-dimensional display system based on geography information
CN107749074A (en) * 2017-09-30 2018-03-02 北京知道创宇信息技术有限公司 A kind of method, apparatus and computing device for map making
WO2020014649A1 (en) * 2018-07-13 2020-01-16 DreamHammer Corporation Geospatial asset management
CN112084288A (en) * 2020-09-16 2020-12-15 广东电网有限责任公司 Visual map management device
CN112434117A (en) * 2020-11-05 2021-03-02 广州和辰信息科技有限公司 WebGIS visualization configuration method and system based on Vue
CN112463124A (en) * 2020-12-03 2021-03-09 杭州新中大科技股份有限公司 System for realizing one-time design thousand-face display based on metadata model
CN112667759A (en) * 2020-12-21 2021-04-16 上海氪邦智能技术有限公司 Space management method and system based on visual map and electronic equipment
CN112612864A (en) * 2020-12-28 2021-04-06 厦门市美亚柏科信息股份有限公司 Data visualization display method and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨士乐等: "矢量瓦片技术体系的地理信息公共服务方法研究", 《测绘科学》 *

Similar Documents

Publication Publication Date Title
US20200356465A1 (en) Automatic testing method and apparatus, storage medium and electronic device
US9720658B2 (en) Application creation method and apparatus
US9182981B2 (en) Systems and methods for implementing pixel-based reverse engineering of interface structure
CN109614424B (en) Page layout generation method, device, computing equipment and medium
CN105511873B (en) User interface control display method and device
CN111752557A (en) Display method and device
CN112764736B (en) Web end flow chart modeling method, device and system
US20130080879A1 (en) Methods and apparatus providing document elements formatting
CN112748923A (en) Method and device for creating visual billboard, electronic equipment and storage medium
CN114385940A (en) Data visualization method, device, equipment and medium
CN112364496A (en) Avionics simulation panel generation system based on HTML5 and VUE technology
CN113010062A (en) Method and device for generating design scheme and electronic equipment
CN114489625A (en) Method and device for converting JSON format text into visual configuration tool
US20240061993A1 (en) Multi-component abstract association and fusion method and apparatus in page design
US8495600B2 (en) Display method, corresponding computer program and device
CN117055987A (en) Webpage display method and device, electronic equipment and computer readable storage medium
CN112925843A (en) Method and system for changing map display effect based on graphical interface configuration
CN115691772A (en) Operation visualization system and corresponding computer device and storage medium
US9372844B2 (en) Automatically generating a business process flow GUI using a symbolic annotation language
CN115170695A (en) Method and device for generating chart picture, electronic equipment and storage medium
CN108647198B (en) Unity-based character editing method and terminal
JP5791115B2 (en) Image region dividing apparatus, method and program thereof
CN113535162A (en) Front-end interface configuration method, display method and device
JP4960188B2 (en) Screen transition diagram display method and system
CN112825038A (en) Visual page making method based on general component language specification and related product

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210608