CN111125202B - Map customization method, device, equipment and storage medium based on big data - Google Patents

Map customization method, device, equipment and storage medium based on big data Download PDF

Info

Publication number
CN111125202B
CN111125202B CN201911261442.0A CN201911261442A CN111125202B CN 111125202 B CN111125202 B CN 111125202B CN 201911261442 A CN201911261442 A CN 201911261442A CN 111125202 B CN111125202 B CN 111125202B
Authority
CN
China
Prior art keywords
map
files
report
preset
customized
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
CN201911261442.0A
Other languages
Chinese (zh)
Other versions
CN111125202A (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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN201911261442.0A priority Critical patent/CN111125202B/en
Publication of CN111125202A publication Critical patent/CN111125202A/en
Application granted granted Critical
Publication of CN111125202B publication Critical patent/CN111125202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/006Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Ecology (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to the field of big data technologies, and in particular, to a map customization method, apparatus, device, and storage medium based on big data. After receiving the report login request, judging whether to trigger a map customizing command, if so, displaying a preset link address and acquiring report data; and according to the names of the multiple areas in the report data, acquiring corresponding map files, calling preset map controls, rendering the map according to the multiple map files to obtain a final customized map, and displaying the customized map. The invention automatically generates the customized map through the report data configured by the user in a self-defining way, and the configurable map application can promote the self-service popularization and use of the report system, effectively improve the use efficiency of the map in the report system, save the manpower for maintaining the report system conventionally and save the development workload.

Description

Map customization method, device, equipment and storage medium based on big data
Technical Field
The present invention relates to the field of big data technologies, and in particular, to a map customization method, apparatus, device, and storage medium based on big data.
Background
The report is a tool for dynamically displaying data in forms such as tables, pictures and characters. The report system is used for making a report, and combines computer technology with a traditional accounting report compiling method to obtain software special for report data processing. The reporting system presents the data information to the user in a safe, reliable and clear manner.
In the process of adopting a report system to manufacture a report, the built-in map is required to be adopted for data analysis, and generally, only a relatively fixed map is required, customizable content is lacked, and the configurability is poor. For example, when a certain company needs to display data of its business analysis, it is often necessary to display the operation of branches in various places, and it is necessary to display the data in the form of a map of a layout area. Some branch office areas are not heavy areas such as provinces, jurisdictions and the like, display is less obvious, the operation map is usually required to be redeveloped, some branch offices can have frequent changing conditions such as level change and the like, the development or updating of a report system is less flexible, the scheduling of each development is difficult to meet the rapid length of a service, and development resources are seriously occupied.
Disclosure of Invention
In view of this, it is necessary to provide a map customization method, apparatus, device and storage medium based on big data, aiming at the problem that the map in the report system is weak in configurability and cannot meet the customization of the report.
A map customizing method based on big data, comprising:
when a report login request is received, judging whether a map customization command is triggered, if so, displaying a preset link address, wherein the link address is a jump address for providing a download map report template, and acquiring report data;
and acquiring a plurality of map files corresponding to the regional names according to the regional names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the map files to obtain a final customized map, and displaying the customized map.
In one possible design, when the report login request is received, the method judges whether to trigger the map customization command, if so, the method displays a preset link address, wherein the link address is a jump address for providing a download map report template, and after the step of obtaining report data uploaded by a user, the method further comprises:
acquiring the area names and the corresponding codes in the report data uploaded by a user, and matching the area names and the corresponding codes with the area names and the codes in a plurality of preset map files;
if all the area names and codes are successfully matched, displaying the area names in the data report uploaded by the user;
if the matching failure condition exists, displaying the successfully matched area name in the successfully matched area, displaying the unsuccessfully matched area name and code in the unsuccessfully matched area, performing error prompt, and continuously matching the modified area name or code with the area names and codes in a plurality of preset map files after the unsuccessfully matched area name or code is received by the user in the unsuccessfully matched area.
In one possible design, before the step of obtaining the area name and the corresponding code in the report data uploaded by the user and matching the area name and the corresponding code with the area names and the codes in the preset map files, the method further includes:
acquiring user configuration information provided by a user through a data preparation interface, wherein the user configuration information comprises, but is not limited to, a map range selection option and a province selection option;
and screening map files to be matched from a plurality of preset map files according to the user configuration information, wherein the map files are stored in a classified mode according to map ranges and provinces.
In one possible design, the obtaining map files corresponding to the region names according to the region names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the map files to obtain a final customized map, and displaying the customized map includes:
obtaining a user-defined visual design result;
obtaining map files corresponding to a plurality of area names according to the area names in the report data, and respectively modifying parameters in the map files according to the visual design result to obtain a plurality of customized map files;
and calling a preset map control, rendering an initial map preset in the map control according to a plurality of customized map files to obtain a final customized map, and displaying the customized map.
In one possible design, before the step of obtaining the user-defined visual design result, the method further includes:
loading a background picture of a preset map into an area corresponding to a preset function, wherein a plurality of default map files are packaged in the function;
adding an area name to a corresponding area in the map according to the area name in the map file;
and adding a color-changing animation effect when the mouse slides to each area in the map, and recording parameters of the color-changing animation effect in a corresponding map file.
In one possible design, after the step of determining whether to trigger the map customization command when receiving the report login request, the method further includes:
and if the map customizing command is not triggered, acquiring a plurality of default map files according to the default map report template, rendering the map to obtain a final map, and displaying the map.
In one possible design, if the map customization command is not triggered, acquiring a plurality of default map files according to a default map report template, rendering a map to obtain a final map, and displaying the map, including:
if the map customizing command is not triggered, acquiring a user-defined visual design result, and then acquiring a plurality of default map files according to the default map report template;
respectively modifying parameters in a plurality of map files according to the visual design result to obtain a plurality of customized map files;
and calling a preset map control, rendering the map according to the customized map files to obtain a final customized map, and displaying the customized map.
A map customizing apparatus based on big data, comprising:
the report data acquisition module is used for judging whether to trigger a map customization command when receiving a report login request, and displaying a preset link address if the map customization command is triggered, wherein the link address is a jump address for providing a download map report template, and acquiring report data;
and the customized map module is used for acquiring a plurality of map files corresponding to the regional names according to the regional names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the map files to obtain a final customized map, and displaying the customized map.
A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the big data based map customization method described above.
A storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the big data based map customization method described above.
The map customization method, the map customization device, the map customization equipment and the map storage medium based on big data comprise the steps that when a report login request is received, whether a map customization command is triggered or not is judged, if so, a preset link address is displayed, the link address is a jump address for providing a download map report template, and report data uploaded by a user is obtained; and acquiring a plurality of map files corresponding to the regional names according to the regional names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the map files to obtain a final customized map, and displaying the customized map. According to the invention, the map report is developed in advance as the template, and after the user fills the custom report data into the template, the custom map is automatically configured according to the report data, so that the self-service popularization and use of the report system can be promoted, the use efficiency of the map in the report system is effectively improved, the manpower for maintaining the report system conventionally is saved, and the development workload is also saved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention.
FIG. 1 is a flow chart of a map customization method based on big data in one embodiment of the present invention;
FIG. 2 is a flowchart of step S2 in an embodiment of the present invention;
FIG. 3 is a detailed flowchart of the matching area name and code in step S2 according to an embodiment of the present invention;
FIG. 4 is a flow chart of a plurality of custom configuration maps according to one embodiment of the invention;
fig. 5 is a block diagram of a map customizing apparatus based on big data according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Fig. 1 is a flowchart of a map customizing method based on big data according to an embodiment of the present invention, as shown in fig. 1, the map customizing method based on big data includes the following steps:
step S1, report data are obtained: when a report login request is received, judging whether a map customizing command is triggered, if so, displaying a preset link address which is a jump address for providing a downloaded map report template, and acquiring report data.
In the step, the user requests to log in the report system through the login interface, after the login is successful, the report system can display a trigger button through the data preparation interface, for example, the trigger button of the customized map is provided on the data preparation interface, and if the user clicks the trigger button of the customized map, the report system judges that the customized map command is triggered. And if the user clicks a trigger button for canceling the customized map, judging that the customized map command is not triggered.
The map report template is a pre-developed report, and the map report template is used as a template according to each level, area name and code. The hierarchy refers to whether the map is displayed to the province level or the city and county level, and the code refers to a unique code corresponding to the area name. If the user triggers the map customizing command, the report system returns to the data preparing interface, the link address for downloading the map registering template is provided for the user through the data preparing interface, the user can download and acquire the map report template through the link address displayed by the data preparing interface, fill or modify the actual report data of the user to form user-defined report data, and then upload through the preset uploading interface. The uploading interface can also be arranged in the data preparation interface. The report system obtains report data customized by a user through the data preparation interface.
Step S2, matching data: after the report data uploaded by the user is obtained, the report system also matches specific data in the report data, such as the area name and the corresponding code.
In one embodiment, the specific matching process is shown in fig. 2, and includes:
step S201, matching the area name and code: and acquiring the area names and the corresponding codes in the report data uploaded by the user, and matching the area names and the corresponding codes with the area names and the codes in a plurality of preset map files.
A plurality of map files are preset in a report system, each map file is a js file, the region in the report system is an administrative area, and a plurality of js files are preset according to the administrative area of the existing map. The function of each js file is generally similar, the difference is that the size and the coordinates of the presentation on the map are different, the js files of each region are integrally packaged in a function, and the function is pre-stored in a designated position of a report system.
In one embodiment, before the step of matching the area name and the code with the area names and the codes in the preset map files in step S201, this step may further include, as shown in fig. 3:
step S20101, obtaining user configuration information: user configuration information provided by a user is obtained through a data preparation interface, including but not limited to selecting a map range option and selecting a province option.
In order to provide richer configuration functions, the step also provides user-defined user configuration information, such as a user-defined name of a map, a map range option selection, a hierarchy option and a province option, for a user through the data preparation interface. The user-defined name of the map is a map determination name which is user-defined and displayed later and saved; the map range selection option can be a Chinese map or other map preset in the reporting system by default; the hierarchical options refer to whether the user-defined map is finally displayed to the province level or the city and county level; the province option is which province level field in the corresponding uploaded report data is selected. After the selection is completed, the report system performs matching and displaying according to the selected province area.
Step S20102, screening the map file: and screening map files to be matched from a plurality of preset map files according to the user configuration information, wherein the map files are stored in a classified mode according to the map range and provinces.
In order to quickly determine whether the matching is successful, a large number of map files in the report system are classified and stored according to the map range and the provincial range, for example, the map files are classified and stored according to the Chinese map, and the files under the Chinese map are classified and stored according to the provincial autonomous region. The method comprises the steps of determining a map of China or other maps according to user configuration information of a user by selecting map range options, determining a province level or an autonomous region under the map according to province option, taking all map files in the determined province level or autonomous region as map files needing to be matched, namely screening out a plurality of map files needing to be matched, and matching any area name and code in report data uploaded by the user with the map files, wherein once the map files are matched, the area name and the code are successfully matched. If any data of the area name or the code cannot be matched in the plurality of map files, the area name or the code fails to be matched.
According to the embodiment, the map files which are required to be matched are screened out through the user-defined selection of the map configuration, so that the matching time of report data and a large number of map files is greatly shortened, and the matching efficiency is improved.
Step S202, displaying after successful matching: and if all the area names and codes are successfully matched, displaying the area names in the data report uploaded by the user.
When the data is displayed, the matching success area of the data preparation interface can be displayed, and the display content can comprise the province where the area name is located, the area name, the code corresponding to the area name and the like. And a determination button can be further arranged on the data preparation interface, and the user clicks the determination button to consider that the displayed report data customized by the user is correct, so that the report system is triggered to enter the next step.
Step S203, displaying after the matching failure: if the matching failure condition exists, displaying the successfully matched area name in the successfully matched area, displaying the unsuccessfully matched area name and code in the unsuccessfully matched area, performing error prompt, and continuously matching the modified area name or code with the area names and codes in a plurality of preset map files after the unsuccessfully matched area name or code is received by the user in the unsuccessfully matched area.
When all the area names and codes are matched, any area name or code can not find the matched map file, if the matching is considered to be failed, the area name and the code which are successfully matched are displayed in the successful matching area of the data preparation interface, the area name or code which is failed to be matched is displayed in the failed matching area of the data preparation interface, and a modification authority is provided, so that a user can directly modify the area name or code in the displayed field. And a modification button can be further arranged in the matching failure area, the user triggers the modification button, the report system acquires the area name and the code in the matching failure area, and the acquired modification content is continuously matched until the matching is successful, so that all the area names and the codes customized by the user are displayed in the area where the matching is successful.
After all the area names and codes are successfully matched, the report system can activate a preset determination button in the data preparation interface, and the user can trigger the determination button to enter the next step.
According to the embodiment, the area names and codes in a large number of map files stored in advance are screened according to the user configuration information of the user, a plurality of map files needing to be matched are determined, and the map files are matched with report data uploaded by the user until all the map files are successfully matched, so that the problem that a subsequent map cannot be rendered due to the fact that the user uploads the wrong area names or codes is solved.
Step S3, visual design: and obtaining a user-defined visual design result.
The step can obtain the user-defined visual design result through a visual design interface, and the visual design can comprise setting parameters such as background color, display position, fonts and the like when the map is displayed. The triggering of the step can be determined by a user after all the data of the step S2 are successfully matched, or can be automatically jumped to a visual design interface by a system after the custom map command is not triggered in the step S1. If the user does not need to customize the visual design, the next step can be triggered by a cancel button of the visual design interface, and the report system adopts the parameters in the preset map file at the moment and then renders the map.
In one embodiment, before the step of obtaining the user-defined visual design result in step S3, the method further includes:
loading a background picture of a preset map into an area corresponding to a preset function, wherein a plurality of default map files are packaged in the function; adding the area name to the corresponding area in the map according to the area name in the map file; and adding a color-changing animation effect when the mouse slides to each area in the map, and recording parameters of the color-changing animation effect in a corresponding map file.
In the step, a function is preset, and a plurality of map files are packaged in the function and stored in a designated position of a reporting system in a js file. And a background picture is given to the areas corresponding to the map files, and the color of the background picture is different from the areas corresponding to other map files, so that the purpose that different areas correspond to different background pictures is realized. The map file not only comprises the area but also comprises the area name, the area name of a certain area in the map is determined according to the area name in the map file, and finally the function of sliding and changing color of the mouse is realized on the area, so that interactivity with a user during map display is improved. In order to realize the user-defined map configuration, the parameters of the animation effect are recorded in the corresponding map file, and the user can select the animation effect in the visual design interface so as to realize the purpose of customizing the map.
Step S4, determining a customized map: according to the multiple area names in the report data, map files corresponding to the multiple area names are obtained, a preset map control is called, an initial map preset in the map control is rendered according to the multiple map files, a final customized map is obtained, and the customized map is displayed.
After the report system obtains the user-defined visual design result, the parameters in the map file are modified in this step: and acquiring map files corresponding to the region names according to the region names in the report data, and respectively modifying parameters in the map files according to the visual design result to obtain a plurality of customized map files.
For example, "cp" of a map file of a certain js, that is, the beginning of each region coordinate, refers to the position of the display of the Chinese in the control map. When the map file of the Shenzhen region needs to be modified, only { "type": "Feature", "id": "440308", "properties": { "cp":
[114.2712600002325,22.608372999871885], "name": coordinates in cp in "salt pan region" }.
In one embodiment, if the result of determining whether to trigger the custom map command is that the custom map command is not triggered, the method includes:
and if the map customizing command is not triggered, acquiring a plurality of default map files according to a default map report template, rendering the map to obtain a final map, and displaying the map.
After the map customizing command is not triggered, the report system does not display the link address and does not receive report data customized by the user, and at the moment, the report system can render a map according to the default map report template and parameters in the default map file to obtain the default map. The report system preferably automatically jumps to the visual design step to provide a user-defined map configuration function:
if the map customizing command is not triggered, acquiring a user-defined visual design result, and then acquiring a plurality of default map files according to a default map report template; respectively modifying parameters in the map files according to the visual design result to obtain a plurality of customized map files; and calling a preset map control, rendering an initial map preset in the map control according to a plurality of customized map files to obtain a final customized map, and displaying the customized map.
On the basis of a default map report template, parameters can be modified for the map file according to a user-defined visual design result, a user-defined customized map is obtained, and the configurability of the user for the map is enriched.
As shown in fig. 4, the present invention provides a plurality of ways for users to configure maps in a customized manner:
1) Default map and default configuration:
after the user successfully logs in through a login interface of the report system, a trigger button for judging whether to customize the map is provided for the user, and when the user selects to cancel the customized map is received, a default map report template is used for determining a default plurality of map files.
And providing a visual design selection for a user, when receiving a cancel button for selecting the visual design by the user, calling a map control by a default map file, rendering an initial map preset in the map control, and obtaining and displaying the default map.
And when the user cancels the selection of the customized map, the reporting system determines a plurality of default maps by using a default map reporting template, directly calls the map control, renders an initial map preset in the map control, and obtains and displays the default map.
2) Default map and custom configuration:
after the user successfully logs in through a login interface of the report system, a trigger button for judging whether to customize the map is provided for the user, and when the user selects to cancel the customized map is received, a default map report template is used for determining a default plurality of map files.
Providing a user with a choice of visual design, acquiring visual design results after receiving a choice determination button of the visual design by the user, respectively modifying and determining parameters in a default plurality of map files according to the visual design results to obtain a customized plurality of map files, calling a map control with the customized plurality of map files, rendering an initial map preset in the map control, and obtaining and displaying a customized map.
3) Custom map and default configuration:
after the user successfully logs in through a login interface of the report system, a trigger button for customizing a map is provided for the user, when the user selects the customized map, a link address is provided for the user, the user downloads a map report template, the map report template is modified into report data customized by the user, the report system acquires the report data through an uploading interface, and the report data is used for matching work to determine a plurality of customized map files.
And providing a visual design selection for a user, and when a user selects a cancel button for the visual design selection is received, invoking a map control with a plurality of customized map files, rendering an initial map preset in the map control, obtaining a customized map and displaying the customized map. In this manner, the reporting system also provides the user with a choice of visual design, preferably after the user has selected the custom map.
3) Custom map and custom configuration:
after the user successfully logs in through a login interface of the report system, a trigger button for customizing a map is provided for the user, when the user selects the customized map, a link address is provided for the user, the user downloads a map report template, the map report template is modified into report data customized by the user, the report system acquires the report data through an uploading interface, and the report data is used for matching work to determine a plurality of customized map files.
Providing a user with a choice of visual design, acquiring visual design results after receiving a choice determination button of the visual design by the user, respectively modifying parameters in a plurality of customized map files according to the visual design results to obtain the plurality of customized map files, calling a map control with the plurality of customized map files, rendering an initial map preset in the map control, and obtaining and displaying a customized map.
According to the map customization method based on big data, on the basis of the map report template and the plurality of map files, multiple configuration modes are selected for users, and the use and popularization of maps in a report system are greatly promoted. The user can determine the customized map which accords with the requirements of the report according to the environment and business conditions of the user, so that the use efficiency of the map is effectively improved, and the maintenance time and the development workload of the report system are saved.
In one embodiment, a map customizing apparatus based on big data is provided, as shown in fig. 5, including:
the report data acquisition module is used for judging whether to trigger a map customization command when receiving a report login request, if so, displaying a preset link address which is a jump address for providing a downloaded map report template, and acquiring report data;
the customized map module is used for acquiring map files corresponding to the region names according to the region names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the map files to obtain a final customized map, and displaying the customized map.
In one embodiment, a computer device is provided, including a memory and a processor, where the memory stores computer readable instructions that, when executed by the processor, cause the processor to implement the steps in the big data based map customizing method of the above embodiments when executing the computer readable instructions.
In one embodiment, a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps in the big data based map customization method of the above embodiments is presented. Wherein the storage medium may be a non-volatile storage medium.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program to instruct related hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above-described embodiments represent only some exemplary embodiments of the invention, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (9)

1. A map customizing method based on big data, comprising:
when a report login request is received, judging whether a map customization command is triggered, if so, displaying a preset link address, wherein the link address is a jump address for providing a download map report template, and acquiring report data;
obtaining map files corresponding to a plurality of area names according to the area names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the plurality of map files to obtain a final customized map, and displaying the customized map;
the method for obtaining the map files corresponding to the region names according to the region names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the map files to obtain a final customized map, and displaying the customized map comprises the following steps:
obtaining a user-defined visual design result;
obtaining map files corresponding to a plurality of area names according to the area names in the report data, and respectively modifying parameters in the map files according to the visual design result to obtain a plurality of customized map files;
and calling a preset map control, rendering an initial map preset in the map control according to a plurality of customized map files to obtain a final customized map, and displaying the customized map.
2. The map customizing method based on big data as claimed in claim 1, wherein when receiving a report login request, the method judges whether to trigger a map customizing command, if so, a preset link address is displayed, the link address is a jump address for providing a download map report template, and after the step of obtaining report data uploaded by a user, the method further comprises:
acquiring the area names and the corresponding codes in the report data uploaded by a user, and matching the area names and the corresponding codes with the area names and the codes in a plurality of preset map files;
if all the area names and codes are successfully matched, displaying the area names in the report data uploaded by the user;
if the matching failure condition exists, displaying the successfully matched area name in the successfully matched area, displaying the unsuccessfully matched area name and code in the unsuccessfully matched area, performing error prompt, and continuously matching the modified area name or code with the area names and codes in a plurality of preset map files after the unsuccessfully matched area name or code is received by the user in the unsuccessfully matched area.
3. The map customization method based on big data according to claim 2, wherein before the step of obtaining the area name and the corresponding code in the report data uploaded by the user and matching the area name and the corresponding code with the area names and codes in the preset plurality of map files, the method further comprises:
acquiring user configuration information provided by a user through a data preparation interface, wherein the user configuration information comprises, but is not limited to, a map range selection option and a province selection option;
and screening map files to be matched from a plurality of preset map files according to the user configuration information, wherein the map files are stored in a classified mode according to map ranges and provinces.
4. The big data based map customization method according to claim 1, further comprising, before the step of obtaining the user-defined visual design result:
loading a background picture of a preset map into an area corresponding to a preset function, wherein a plurality of default map files are packaged in the function;
adding an area name to a corresponding area in the map according to the area name in the map file;
and adding a color-changing animation effect when the mouse slides to each area in the map, and recording parameters of the color-changing animation effect in a corresponding map file.
5. The map customizing method based on big data as claimed in claim 1, wherein after the step of judging whether to trigger the map customizing command when receiving the report login request, the method further comprises:
and if the map customizing command is not triggered, acquiring a plurality of default map files according to the default map report template, rendering the map to obtain a final map, and displaying the map.
6. The map customizing method based on big data according to claim 5, wherein if the map customizing command is not triggered, obtaining a default plurality of map files according to a default map report template, rendering a map to obtain a final map, and displaying the map, comprising:
if the map customizing command is not triggered, acquiring a user-defined visual design result, and then acquiring a plurality of default map files according to the default map report template;
respectively modifying parameters in a plurality of map files according to the visual design result to obtain a plurality of customized map files;
and calling a preset map control, rendering the map according to the customized map files to obtain a final customized map, and displaying the customized map.
7. A map customizing apparatus based on big data, comprising:
the report data acquisition module is used for judging whether to trigger a map customization command when receiving a report login request, and displaying a preset link address if the map customization command is triggered, wherein the link address is a jump address for providing a download map report template, and acquiring report data;
the customized map module is used for acquiring a plurality of map files corresponding to the regional names according to the regional names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the map files to obtain a final customized map, and displaying the customized map;
the method for obtaining the map files corresponding to the region names according to the region names in the report data, calling a preset map control, rendering an initial map preset in the map control according to the map files to obtain a final customized map, and displaying the customized map comprises the following steps:
obtaining a user-defined visual design result;
obtaining map files corresponding to a plurality of area names according to the area names in the report data, and respectively modifying parameters in the map files according to the visual design result to obtain a plurality of customized map files;
and calling a preset map control, rendering an initial map preset in the map control according to a plurality of customized map files to obtain a final customized map, and displaying the customized map.
8. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the big data based map customization method according to any of claims 1 to 6.
9. A storage medium storing computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the big data based map customization method according to any of claims 1 to 6.
CN201911261442.0A 2019-12-10 2019-12-10 Map customization method, device, equipment and storage medium based on big data Active CN111125202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911261442.0A CN111125202B (en) 2019-12-10 2019-12-10 Map customization method, device, equipment and storage medium based on big data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911261442.0A CN111125202B (en) 2019-12-10 2019-12-10 Map customization method, device, equipment and storage medium based on big data

Publications (2)

Publication Number Publication Date
CN111125202A CN111125202A (en) 2020-05-08
CN111125202B true CN111125202B (en) 2023-10-20

Family

ID=70498210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911261442.0A Active CN111125202B (en) 2019-12-10 2019-12-10 Map customization method, device, equipment and storage medium based on big data

Country Status (1)

Country Link
CN (1) CN111125202B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112258601B (en) * 2020-10-19 2022-05-17 武汉中海庭数据技术有限公司 High-precision map customized compiling method and system and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844297A (en) * 2017-10-17 2018-03-27 广东广业开元科技有限公司 A kind of data visualization realizes system and method
CN108228169A (en) * 2017-12-08 2018-06-29 平安科技(深圳)有限公司 Chart production method, apparatus, equipment and medium based on eCharts tools
CN108549671A (en) * 2018-03-28 2018-09-18 微梦创科网络科技(中国)有限公司 Real time data acquisition and visual implementation method and device
CN109903671A (en) * 2019-04-09 2019-06-18 吉旗(成都)科技有限公司 A kind of route methods of exhibiting based on Echart

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844297A (en) * 2017-10-17 2018-03-27 广东广业开元科技有限公司 A kind of data visualization realizes system and method
CN108228169A (en) * 2017-12-08 2018-06-29 平安科技(深圳)有限公司 Chart production method, apparatus, equipment and medium based on eCharts tools
CN108549671A (en) * 2018-03-28 2018-09-18 微梦创科网络科技(中国)有限公司 Real time data acquisition and visual implementation method and device
CN109903671A (en) * 2019-04-09 2019-06-18 吉旗(成都)科技有限公司 A kind of route methods of exhibiting based on Echart

Also Published As

Publication number Publication date
CN111125202A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN110764850B (en) Interface display method, parameter assignment method, system and equipment
CN108293081B (en) Deep linking of program playback to mobile application state through user interface events
CN108499103B (en) Scene element display method and device
CN109446218A (en) SQL statement generation method, device and computer readable storage medium
CN109445783B (en) Method and device for constructing dynamic configuration application driven by service
CN111881019B (en) User interface testing method and device
CN110764791A (en) Channel adaptation method and device of applet and electronic equipment
US20120173567A1 (en) Building block based graphical user interface design and development systems and methods
CN112732587B (en) Automatic test log acquisition method and device, electronic equipment and storage medium
CN109542468B (en) Application program release method and device and electronic equipment
CN110673924A (en) Multi-architecture container cloud mirror image selection method, device, equipment and storage medium
CN110750415B (en) Interface service configuration method, device, medium and computer equipment
CN110765015A (en) Method for testing application to be tested and electronic equipment
CN111158673A (en) Method and device for configuring rotating disc movable page
CN110297808A (en) File modification method, apparatus, computer equipment and the storage medium of container application
CN111125202B (en) Map customization method, device, equipment and storage medium based on big data
CN109921916B (en) Message processing method and device in multi-user group, storage medium and terminal equipment
CN107885653A (en) A kind of data handling system, method and device
CN115993971A (en) Active page generation method, computing device and computer storage medium
CN117311795A (en) APP visual development method and device and electronic equipment
CN112214202B (en) Mobile phone program development system without writing codes
US8713533B2 (en) Module-code verification layer to automatically validate user input
CN112417331A (en) Page routing method and device, electronic equipment and computer-readable storage medium
CN111796819A (en) Applet interface generation method and device, electronic equipment and readable storage medium
CN109240696A (en) A kind of Oftware updating method and device

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