CN106776612B - Display method and device of geographical thermodynamic diagram - Google Patents

Display method and device of geographical thermodynamic diagram Download PDF

Info

Publication number
CN106776612B
CN106776612B CN201510812019.0A CN201510812019A CN106776612B CN 106776612 B CN106776612 B CN 106776612B CN 201510812019 A CN201510812019 A CN 201510812019A CN 106776612 B CN106776612 B CN 106776612B
Authority
CN
China
Prior art keywords
preset
color
circle
geographical
thermodynamic diagram
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
CN201510812019.0A
Other languages
Chinese (zh)
Other versions
CN106776612A (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510812019.0A priority Critical patent/CN106776612B/en
Publication of CN106776612A publication Critical patent/CN106776612A/en
Application granted granted Critical
Publication of CN106776612B publication Critical patent/CN106776612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention discloses a display method and a display device of a geographical thermodynamic diagram, relates to the technical field of internet, and mainly aims to clearly display website access amount in the geographical thermodynamic diagram in a block mode and improve the display effect of the geographical thermodynamic diagram. The main technical scheme of the invention comprises the following steps: the method comprises the steps that a geographical thermodynamic diagram obtains a coordinate point, a preset circle is generated by taking the coordinate point as a circle center, and the coordinate point is a geographical position where a preset website is visited; adding a first color to the preset circle, wherein the first color is an identification color of the access amount of the preset website; drawing a shadow area of the preset circle; judging whether overlapping areas exist between adjacent different shadow areas; and if an overlapping area exists between the adjacent different shadow areas, adding a second color to the overlapping area, wherein the second color is an identification color of the sum of the access amount of the adjacent different shadow areas to the preset website. The method and the device are mainly applied to the process of displaying the website access amount through the geographical thermodynamic diagram.

Description

Display method and device of geographical thermodynamic diagram
Technical Field
The invention relates to the technical field of internet, in particular to a display method and device of a geography thermodynamic diagram.
Background
The geographical thermodynamic diagram is a diagram for displaying the geographical area where the visitor is located in the website in a special highlight mode, and when the visiting volume information of the website is displayed by using the geographical thermodynamic diagram, the geographical position where the visitor is located in the website is generally displayed by using a background diagram taking a map as the geographical thermodynamic diagram.
Currently, a geographical thermodynamic diagram is displayed by taking an administrative area in a map as a unit based on the geographical position of a visitor of a map display website, for example, province, city and the like, and when a certain administrative area in the map has access to the website, the geographical thermodynamic diagram is displayed in the form of isolated points; meanwhile, points in the geographical thermodynamic diagram are marked by different colors, the depths of the different colors and the colors represent numerical ranges of website visitation amounts, namely the website visitation amounts are distinguished through the different colors, and therefore the visiting conditions of all administrative regions to the websites can be displayed in the whole geographical thermodynamic diagram.
The inventors found that the following problems exist when the geographical thermodynamic diagram is displayed by the above method: due to the fact that the display space of the map in the map thermodynamic diagram is limited, and the website access amount between administrative areas is large, when the website access amount of the administrative areas is displayed through isolated points of different colors, the different isolated points may be shielded from each other, so that the points with dark colors cover the points with light colors, the website access amount displayed in the geographical thermodynamic diagram is not clear, and the display effect is poor.
Disclosure of Invention
In view of the above, the present invention provides a display method and device of a geographical thermodynamic diagram, and mainly aims to solve the problem that when website visitation amounts of administrative areas are displayed through isolated points with different colors, different isolated points may be mutually blocked, so that a point with a dark color covers a point with a light color, and the website visitation amounts displayed in the geographical thermodynamic diagram are unclear, and the display effect is poor.
In order to solve the above problems, the present invention mainly provides the following technical solutions:
in one aspect, the present invention provides a display method of a geotherm map, the method including:
the method comprises the steps that a geographical thermodynamic diagram obtains a coordinate point, a preset circle is generated by taking the coordinate point as a circle center, and the coordinate point is a geographical position where a preset website is visited;
adding a first color to the preset circle, wherein the first color is an identification color of the access amount of the preset website;
drawing a shadow area of the preset circle;
judging whether overlapping areas exist between adjacent different shadow areas;
and if an overlapping area exists between the adjacent different shadow areas, adding a second color to the overlapping area, wherein the second color is an identification color of the sum of the access amount of the adjacent different shadow areas to the preset website.
In another aspect, the present invention also provides a display device of a geotherm map, the device including:
the first acquisition unit is used for acquiring coordinate points, wherein the coordinate points are geographic positions where preset websites are visited;
a generating unit, configured to generate a preset circle with the coordinate point as a center of the circle after the first obtaining unit obtains the coordinate point;
the first adding unit is used for adding a first color to the preset circle generated by the generating unit, wherein the first color is an identification color of a preset website access amount;
a drawing unit configured to draw a shadow area of the preset circle after the first adding unit adds the first color to the preset circle;
the judging unit is used for judging whether an overlapping area exists between adjacent different shadow areas;
and the second adding unit is used for adding a second color to the overlapping area when the judging unit judges that the overlapping area exists between the adjacent different shadow areas, wherein the second color is an identification color of the sum of the access amounts of the preset websites in the adjacent different shadow areas.
By the technical scheme, the technical scheme provided by the invention at least has the following advantages:
the display method and the device of the geographical thermodynamic diagram provided by the invention have the advantages that when the geographical thermodynamic diagram displays the preset website visit amount, firstly, a coordinate point is obtained, wherein the coordinate point is the geographical position where the preset website is visited, a preset circle is generated by taking the coordinate point as the center of the circle, a first color is added to the preset circle, the first color is the identification color of the preset website visit amount, the shadow area of the preset circle is drawn, the geographical thermodynamic diagram judges whether an overlapping area exists between adjacent different shadow areas, if the overlapping area exists between the adjacent different shadow areas, a second color is added to the overlapping area, and the second color is the identification color of the adjacent different shadow areas to the preset website visit amount; compared with the prior art that the visit amount to the preset website is displayed by isolated points with different colors, the visit amount to the preset website is displayed by the preset circle generated according to the coordinate point and the shadow area drawn on the preset circle, so that the geographical thermodynamic diagram is not overlapped by isolated points with different colors in visual effect any more, but the preset circle, the shadow area and the overlapped area with different colors are connected into blocks, the visit amount to the website is clearly displayed in the geographical thermodynamic diagram in the form of the blocks, and the display effect of the geographical thermodynamic diagram is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
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. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a display method of a geotherm map according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating a display device of a geothermal map according to an embodiment of the present invention;
fig. 3 is a block diagram showing another display device for geographical thermodynamic diagrams according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present invention provides a display method of a geotherm map, as shown in fig. 1, the method includes:
101. and acquiring a coordinate point by the geographical thermodynamic diagram, and generating a preset circle by taking the coordinate point as a circle center.
The coordinate point is the geographical position where the visitor visits the preset website in the geographical thermodynamic diagram, and the coordinate point obtained by the geographical thermodynamic diagram is substantially the visitor in the preset website and the geographical position where the visitor is located. In the embodiment of the present invention, when determining to access a geographic location of a preset website, the geographic location is determined by an Internet Protocol Address (IP Address) of the visitor, and when determining the geographic location by the IP Address, the geographic location may be determined by, but not limited to, the following method, for example: determining a geographic location by invoking a third party query IP address application; the embodiment of the invention does not limit the implementation mode of determining the geographic position of the visitor.
In an implementation manner of the embodiment of the invention, the geography thermodynamic diagram calls a preset function to obtain a coordinate point; in another implementation of the embodiment of the invention, the geothermodynamic diagram obtains the coordinate point through a third-party coordinate point obtaining application program. The embodiment of the invention does not limit the preset function used by the geographical thermodynamic diagram in the coordinate point acquisition and the application program of the coordinate point acquisition by the third party.
After the coordinate point is obtained, a preset circle is generated by taking the coordinate point as the circle center, and the necessary conditions for generating the preset circle are to determine the circle center and the radius of the preset circle. In the embodiment of the invention, the geographical thermodynamic diagram is displayed in a page map form, when a preset circle is generated, the radius of the preset circle needs to be adjusted according to the proportion of the page where the geographical thermodynamic diagram is located relative to a display, and when the proportion of the page where the geographical thermodynamic diagram is located relative to the display is larger, the radius of the preset circle is larger; the smaller the radius of the preset circle is when the scale of the page on which the thermodynamic diagram is located relative to the display is small.
In practical applications, due to the limited display space of the geothermodynamic diagram, when the preset circle is generated, the preset circle is very small, and the specific preset circle boundary of the preset circle cannot be clearly distinguished in visual display effect. It should be noted that, in the embodiment of the present invention, the purpose of generating the preset circle is to: all coordinate points in the geographical thermodynamic diagram are connected into a region through the generated preset circle so as to clearly display the preset website visit amount.
102. The geothermodynamic diagram adds a first color to the preset circle.
In order to show the visit amount of the preset website in the geographical thermodynamic diagram more clearly, the size of the visit amount of the preset website is distinguished by adding a first color to a preset circle; the first color is an identification color of a preset website access amount.
When adding the first color to the preset circle, this can be achieved in ways including, but not limited to, for example: the first color added to the preset circle is green, blue, yellow, red, etc.; the embodiment of the present invention does not limit the specific expression form of the first color.
103. The geothermodynamic diagram draws the shaded area of the preset circle.
After performing the completion step 102, the geothermodynamic diagram draws a shaded area of the preset circle based on the preset circle with the first color added, with the purpose of: all shadow areas in the geographical thermodynamic diagram are connected to form an area, and therefore mutual covering of isolated points with different colors in the prior art is avoided. In the embodiment of the invention, when the shadow area is that the preset circle is displayed in the geographical thermodynamic diagram, the boundary of the preset circle is displayed in a fuzzy manner, so that the coordinate point in the geographical thermodynamic diagram is no longer displayed in the form of an isolated point.
104. The geography thermodynamic diagram judges whether an overlapping area exists between adjacent different shadow areas.
105. And if the overlapping areas exist between the adjacent different shadow areas, the geothermodynamic diagram adds a second color to the overlapping areas.
In the embodiment of the present invention, the second color is an identification color of a sum of access amounts of adjacent different shadow areas to the preset website. When adding the second color to the overlap area, the basic rule of color mixing needs to be followed: color reinforcement law, color light mixing law and pigment mixing law.
It should be noted that, as an implementation manner of the embodiment of the present invention, the geographical thermodynamic diagram sequentially executes steps 101 to 105 until all coordinate points in the geographical thermodynamic diagram are sequentially plotted; as another implementation manner of the embodiment of the present invention, first, the geographical thermodynamic diagram executes steps 101 to 103, generates a preset circle after obtaining all coordinate points in the geographical thermodynamic diagram, and draws a shadow area of the preset circle; next, the geothermodynamic diagram determines whether there is an overlapping area between the shadow areas, and step 105 is executed. In the embodiment of the present invention, the execution sequence of steps 101 to 105 is not specifically limited, and both of the above two manners can realize that the coordinate points of the overlapping area in the geographical thermodynamic diagram are connected into one area, and when the geographical thermodynamic diagram shows the visit amount of the preset website, the geographical thermodynamic diagram is not shown in the form of isolated points, but a plurality of isolated points are connected into one area to be displayed.
The display method of the geographical thermodynamic diagram provided by the embodiment of the invention includes the steps that when the geographical thermodynamic diagram displays preset website visitation amount, firstly, a coordinate point is obtained, wherein the coordinate point is a geographical position where a preset website is visited, a preset circle is generated by taking the coordinate point as a circle center, a first color is added to the preset circle, the first color is an identification color of the preset website visitation amount, a shadow area of the preset circle is drawn, the geographical thermodynamic diagram judges whether an overlapping area exists between adjacent different shadow areas, if the overlapping area exists between the adjacent different shadow areas, a second color is added to the overlapping area, and the second color is the identification color of the adjacent different shadow areas to the preset website visitation amount; compared with the prior art that the visit amount to the preset website is displayed by isolated points with different colors, the visit amount to the preset website is displayed by the preset circle generated according to the coordinate point and the shadow area drawn on the preset circle, so that the geographical thermodynamic diagram is not overlapped by the isolated points with different colors in visual effect any more, but the preset circle, the shadow area and the overlapped area with different colors are connected into blocks, the visit amount to the website is clearly displayed in the geographical thermodynamic diagram in the form of the blocks, and the display effect of the geographical thermodynamic diagram is improved.
Further, in order to clearly display the preset website visitation amount in the map thermodynamic diagram, the shadow area of the preset circle is drawn, and the specific process is as follows: determining the fuzzy radius of the preset circle, wherein the fuzzy radius of the preset circle is substantially the fuzzy radius of the boundary of the preset circle; drawing a shadow area of a preset circle according to the fuzzy radius, and aiming at: and fuzzy processing is carried out on the boundary of the preset circle, so that overlapping areas of different coordinate points in the geographical thermodynamic diagram are connected into an area and a block, and further, the preset website access amount showing different areas in the geographical thermodynamic diagram is not that the isolated points with different colors are mutually overlapped, but the isolated points with different colors are connected into an area and a block.
Further, as a refinement and extension of the method shown in fig. 1, before the step 101 of generating the preset circle with the coordinate point as the center is executed, the geothermodynamic diagram obtains a display scale, which is a scale of the geothermodynamic diagram relative to the display, and the display scale obtained in the present invention includes, but is not limited to, the following, for example: the geographical thermodynamic diagram acquisition display scale is 1/2, namely the geographical thermodynamic diagram accounts for 1/2 of the display; or, the geographical thermodynamic diagram is acquired to be displayed in a scale of 1, namely the geographical thermodynamic diagram is displayed in a display in a maximized mode; or the display scale acquired by the geographical thermodynamic diagram is a custom display scale, wherein the custom display scale is set by the user according to the actual needs of the user. Specifically, the embodiment of the present invention does not limit the actual content of the display scale obtained by the geographical thermodynamic diagram.
It should be noted that the purpose of acquiring the display scale of the geographical thermodynamic diagram is to configure the radius of the preset circle according to the display scale, so that the geographical thermodynamic diagram achieves a clearer display effect.
Further, the geographical thermodynamic diagram configures and adjusts the radius of the preset circle based on the acquired display scale, and generates the preset circle according to the determined radius of the preset circle and the circle center (coordinate point). The principle to be followed when the radius of the preset circle is configured and adjusted is as follows: the smaller the display proportion is, the smaller the radius of the configured preset circle is; the larger the display scale, the larger the radius of the preset circle is arranged. So that the map thermodynamic diagram can achieve better and clearer effects when the preset website access amount is displayed.
Furthermore, after the geographical thermodynamic diagram finishes drawing all the coordinate points, all the blocks formed by connecting the coordinate points, the shadow areas and the overlapping areas are displayed so as to achieve a good display effect.
Further, as an implementation of the method shown in fig. 1, another embodiment of the present invention further provides a display device of a geothermodynamic diagram. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method.
An embodiment of the present invention provides a display device of a geotherm map, as shown in fig. 2, the device includes:
the first obtaining unit 21 is configured to obtain a coordinate point, where the coordinate point is a geographic location where a preset website is visited;
a generating unit 22, configured to generate a preset circle with the coordinate point as a center after the first acquiring unit 21 acquires the coordinate point;
a first adding unit 23, configured to add a first color to the preset circle generated by the generating unit 22, where the first color is an identification color of a preset website visitation amount;
a drawing unit 24 configured to draw a shadow area of the preset circle after the first adding unit 23 adds the first color to the preset circle;
a judging unit 25, configured to judge whether there is an overlapping area between adjacent different shadow areas;
a second adding unit 26, configured to, when the determining unit 25 determines that there is an overlapping area between adjacent different shadow areas, add a second color to the overlapping area, where the second color is an identification color of a sum of the access amounts of the preset websites in the adjacent different shadow areas.
Further, as shown in fig. 3, the apparatus includes:
a second obtaining unit 27, configured to obtain a display scale before the generating unit 22 generates a preset circle with the coordinate point as a center, where the display scale is a scale of the geothermodynamic diagram relative to a display.
Further, as shown in fig. 3, the generating unit 22 includes:
a configuration module 221, configured to configure the radius of the preset circle according to the display scale acquired by the second acquiring unit 27;
a generating module 222, configured to generate the preset circle based on the circle center and the radius configured by the configuring module 221.
Further, as shown in fig. 3, the drawing unit 24 includes:
a determining module 241, configured to determine a fuzzy radius of the preset circle;
a drawing module 242, configured to draw the shadow area of the preset circle according to the blur radius determined by the determining module 241.
Further, as shown in fig. 3, the apparatus further includes:
a display unit 28, configured to add a second color to the overlap area in the second adding unit 26, and after all coordinate points are drawn, display a block formed by connecting all coordinate points and a shadow area.
According to the display device of the geographical thermodynamic diagram, when the geographical thermodynamic diagram displays the preset website visit amount, firstly, a coordinate point is obtained, wherein the coordinate point is a geographical position where a preset website is visited, a preset circle is generated by taking the coordinate point as a circle center, a first color is added to the preset circle, the first color is an identification color of the preset website visit amount, a shadow area of the preset circle is drawn, the geographical thermodynamic diagram judges whether an overlapping area exists between adjacent different shadow areas, if the overlapping area exists between the adjacent different shadow areas, a second color is added to the overlapping area, and the second color is the identification color of the adjacent different shadow areas to the preset website visit amount; compared with the prior art that the visit amount to the preset website is displayed by isolated points with different colors, the visit amount to the preset website is displayed by the preset circle generated according to the coordinate point and the shadow area drawn on the preset circle, so that the geographical thermodynamic diagram is not overlapped by the isolated points with different colors in visual effect any more, but the preset circle, the shadow area and the overlapped area with different colors are connected into blocks, the visit amount to the website is clearly displayed in the geographical thermodynamic diagram in the form of the blocks, and the display effect of the geographical thermodynamic diagram is improved.
The display device of the geographical thermodynamic diagram comprises a processor and a memory, wherein the first acquiring unit, the generating unit, the first adding unit, the drawing unit, the judging unit, the second adding unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem that when the website access amount of an administrative area is displayed through isolated points with different colors, the different isolated points are possibly shielded from each other, so that the points with dark colors cover the points with light colors, the website access amount displayed in the geographical thermodynamic diagram is not clear, and the display effect is poor is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The present application further provides a computer program product adapted to perform program code for initializing the following method steps when executed on a data processing device: the method comprises the steps that a geographical thermodynamic diagram obtains a coordinate point, a preset circle is generated by taking the coordinate point as a circle center, and the coordinate point is a geographical position where a preset website is visited; adding a first color to the preset circle, wherein the first color is an identification color of the access amount of the preset website; drawing a shadow area of the preset circle; judging whether overlapping areas exist between adjacent different shadow areas; and if an overlapping area exists between the adjacent different shadow areas, adding a second color to the overlapping area, wherein the second color is an identification color of the sum of the access amount of the adjacent different shadow areas to the preset website.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
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 of displaying a geothermodynamic diagram, comprising:
the method comprises the steps that a geographical thermodynamic diagram obtains a coordinate point, a preset circle is generated by taking the coordinate point as the center of a circle, the coordinate point is the geographical position where a preset website is visited, and the radius of the preset circle needs to be adjusted according to the proportion of a page where the geographical thermodynamic diagram is located relative to a display;
adding a first color to the preset circle, wherein the first color is an identification color of the access amount of the preset website;
drawing a shadow area of the preset circle;
judging whether overlapping areas exist between adjacent different shadow areas;
if an overlapping area exists between the adjacent different shadow areas, adding a second color to the overlapping area, wherein the second color is an identification color of the sum of the visit amount of the preset website of the adjacent different shadow areas;
drawing the shadow area of the preset circle comprises the following steps:
determining the fuzzy radius of the preset circle, wherein the fuzzy radius is the fuzzy boundary of the preset circle boundary;
and drawing the shadow area of the preset circle according to the fuzzy radius.
2. The method of claim 1, wherein before generating the preset circle centered at the coordinate point, the method further comprises:
obtaining a display scale, wherein the display scale is the scale of the geography thermodynamic diagram relative to a display.
3. The method of claim 2, wherein generating a preset circle around the coordinate point comprises:
configuring the radius of the preset circle according to the display proportion;
and generating the preset circle based on the circle center and the radius.
4. The method of claim 1, wherein after adding a second color to the overlap region, the method further comprises:
after all coordinate points are drawn, a block formed by connecting all coordinate points, the shadow area and the overlapping area is displayed.
5. A display device of a geothermodynamic diagram, comprising:
the first acquisition unit is used for acquiring coordinate points, wherein the coordinate points are geographic positions where preset websites are visited;
the generating unit is used for generating a preset circle by taking the coordinate point as a circle center after the first acquiring unit acquires the coordinate point, wherein the radius of the preset circle needs to be adjusted according to the proportion of a page where the geographical thermodynamic diagram is located relative to a display;
the first adding unit is used for adding a first color to the preset circle generated by the generating unit, wherein the first color is an identification color of a preset website access amount;
a drawing unit configured to draw a shadow area of the preset circle after the first adding unit adds the first color to the preset circle;
the judging unit is used for judging whether an overlapping area exists between adjacent different shadow areas;
the second adding unit is used for adding a second color to the overlapping area when the judging unit judges that the overlapping area exists between the adjacent different shadow areas, wherein the second color is an identification color of the sum of the access amounts of the preset websites in the adjacent different shadow areas;
the drawing unit includes:
the determining module is used for determining the fuzzy radius of the preset circle, wherein the fuzzy radius is the fuzzy boundary of the preset circle boundary;
and the drawing module is used for drawing the shadow area of the preset circle according to the fuzzy radius determined by the determining module.
6. The apparatus of claim 5, wherein the apparatus comprises:
and the second acquisition unit is used for acquiring a display scale before the generation unit generates a preset circle by taking the coordinate point as a circle center, wherein the display scale is the scale of the geographical thermodynamic diagram relative to a display.
7. The apparatus of claim 6, wherein the generating unit comprises:
the configuration module is used for configuring the radius of the preset circle according to the display scale acquired by the second acquisition unit;
and the generating module is used for generating the preset circle based on the circle center and the radius configured by the configuration module.
8. The apparatus of claim 5, further comprising:
and the display unit is used for adding a second color to the overlapping area at the second adding unit and displaying all the coordinate points, the shadow area and a block formed by connecting the overlapping area after all the coordinate points are drawn.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the method for displaying the geographical thermodynamic diagram of any one of claims 1 to 4.
10. A processor, characterized in that the processor is configured to execute a program, wherein the program executes the method for displaying a geographical thermodynamic diagram as claimed in any one of claims 1 to 4.
CN201510812019.0A 2015-11-20 2015-11-20 Display method and device of geographical thermodynamic diagram Active CN106776612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510812019.0A CN106776612B (en) 2015-11-20 2015-11-20 Display method and device of geographical thermodynamic diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510812019.0A CN106776612B (en) 2015-11-20 2015-11-20 Display method and device of geographical thermodynamic diagram

Publications (2)

Publication Number Publication Date
CN106776612A CN106776612A (en) 2017-05-31
CN106776612B true CN106776612B (en) 2021-02-12

Family

ID=58885445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510812019.0A Active CN106776612B (en) 2015-11-20 2015-11-20 Display method and device of geographical thermodynamic diagram

Country Status (1)

Country Link
CN (1) CN106776612B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109425362A (en) * 2017-09-05 2019-03-05 上海博泰悦臻网络技术服务有限公司 Show method and system, car-mounted terminal and the vehicle of user behavior habit
CN110020354B (en) * 2017-09-30 2021-02-26 北京国双科技有限公司 Click thermodynamic diagram anomaly detection method and device
CN109726261A (en) * 2019-01-07 2019-05-07 北京超图软件股份有限公司 A kind of heating power drawing generating method and device
CN110717084B (en) * 2019-10-30 2022-06-24 四川升拓检测技术股份有限公司 System and method for displaying rolling tracks and times based on thermodynamic diagram
CN111190985A (en) * 2019-12-30 2020-05-22 中消云(北京)物联网科技研究院有限公司 Map data display method and device
CN111737396A (en) * 2020-08-26 2020-10-02 成都四方伟业软件股份有限公司 Method and device for improving thermodynamic diagram display performance based on 2D convolution

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199891A (en) * 2014-08-25 2014-12-10 北京国双科技有限公司 Data processing method and device for heat map
CN104239617A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Thermodynamic diagram showing method and device
CN104731894A (en) * 2015-03-18 2015-06-24 百度在线网络技术(北京)有限公司 Thermodynamic diagram display method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9582573B2 (en) * 2013-07-25 2017-02-28 Sap Se Interactive composite plot for visualizing multi-variable data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199891A (en) * 2014-08-25 2014-12-10 北京国双科技有限公司 Data processing method and device for heat map
CN104239617A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Thermodynamic diagram showing method and device
CN104731894A (en) * 2015-03-18 2015-06-24 百度在线网络技术(北京)有限公司 Thermodynamic diagram display method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HeatMap(热图)的原理和实现;作者不详;《推酷https://www.tuicool.com/articles/6jiQBn》;20120911;第2-4页 *

Also Published As

Publication number Publication date
CN106776612A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106776612B (en) Display method and device of geographical thermodynamic diagram
CN105741334B (en) Thermodynamic chart providing method and device
US20170323620A1 (en) Lens Touch Graphic Effect for Mobile Devices
TWI697866B (en) Method and device for implementing color tweening animation
CN110717005B (en) Thermodynamic diagram texture generation method, device and equipment
CN110738722B (en) Thermodynamic diagram texture generation method, device and equipment
CN109324796B (en) Interface layout method and device
KR102225194B1 (en) Method and apparatus for verifying entity information
US11774260B2 (en) Dynamic obfuscation of a mapped point of interest
AU2017204531A1 (en) Smart and automatic selection of same shaped objects in images
CN110110159A (en) Thermodynamic chart methods of exhibiting and device
CN109858542A (en) A kind of character identifying method and device
CN109426415B (en) Method and device for generating cascade selector
CN109857964B (en) Thermodynamic diagram drawing method and device for page operation, storage medium and processor
CN106649373A (en) Thermodynamic diagram display method and device
CN107621951B (en) View level optimization method and device
CN106981084A (en) A kind of method and device of drawing isoline
CN112579066A (en) Chart display method and device, storage medium and equipment
CN109101144B (en) Thermodynamic diagram drawing method and device
CN109522532B (en) Method and device for calculating selection range of line drawing frame
CN110968811A (en) Display control method and device
CN109948076B (en) Data visualization configuration method and device
CN110020298A (en) Parameter display method and apparatus
CN110989982B (en) Building block construction method and device with return value function, storage medium and processor
WO2016184318A1 (en) Barcode popularity display method and apparatus

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant