CN115408450A - Economic data statistical method, device, equipment and medium based on geographic information - Google Patents

Economic data statistical method, device, equipment and medium based on geographic information Download PDF

Info

Publication number
CN115408450A
CN115408450A CN202211341346.9A CN202211341346A CN115408450A CN 115408450 A CN115408450 A CN 115408450A CN 202211341346 A CN202211341346 A CN 202211341346A CN 115408450 A CN115408450 A CN 115408450A
Authority
CN
China
Prior art keywords
enterprise
coordinates
information
area
map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211341346.9A
Other languages
Chinese (zh)
Inventor
郭晓和
刘成平
王楠
杨孟磊
张杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bohori Statistics Big Data Tianjin Group Co ltd
Original Assignee
Bohori Statistics Big Data Tianjin Group 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 Bohori Statistics Big Data Tianjin Group Co ltd filed Critical Bohori Statistics Big Data Tianjin Group Co ltd
Priority to CN202211341346.9A priority Critical patent/CN115408450A/en
Publication of CN115408450A publication Critical patent/CN115408450A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • 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
    • 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

Abstract

The application relates to an economic data statistical method, a device, equipment and a medium based on geographic information, which belong to the technical field of economic data statistics and comprise the following steps: acquiring enterprise coordinates of a plurality of enterprises on a map and economic data and basic information of each enterprise, and associating each enterprise coordinate with the economic data and the basic information corresponding to each enterprise, wherein the enterprise coordinates consist of longitudes and latitudes; acquiring a region to be queried circled on the map by a user; acquiring all enterprise coordinates in the area to be queried; determining all enterprises in the area to be queried based on the enterprise coordinates; and acquiring the basic information and economic data of all enterprises, and summarizing and displaying the basic information and economic data of all enterprises. The method and the device have the effect of facilitating statistics of economic data in the region.

Description

Economic data statistical method, device, equipment and medium based on geographic information
Technical Field
The present application relates to the technical field of economic data statistics, and in particular, to a method, an apparatus, a device, and a medium for economic data statistics based on geographic information.
Background
In the development of each region, an important index is an index of economic development, and the evaluation of the index of economic development is generally realized by counting economic data of each region.
The traditional economic data statistics is generally carried out through multi-condition combined query and is displayed in a list form, the basic requirements of economic data statistics can be met, however, with the fact that governments and enterprises and the governments and the society are communicated more and more closely, the statistical requirements of some regional economies continuously emerge, for example, building economies, line economies and the like.
Disclosure of Invention
In order to facilitate statistics of economic data in an area, the application provides an economic data statistical method, device, equipment and medium based on geographic information.
In a first aspect, the present application provides an economic data statistical method based on geographic information, which adopts the following technical scheme:
an economic data statistical method based on geographic information comprises the following steps:
acquiring enterprise coordinates of a plurality of enterprises on a map and economic data and basic information of each enterprise, and associating each enterprise coordinate with the economic data and the basic information corresponding to each enterprise, wherein the enterprise coordinates consist of longitudes and latitudes;
acquiring a region to be queried circled on the map by a user;
acquiring all enterprise coordinates in the area to be queried;
determining all enterprises in the area to be queried based on the enterprise coordinates;
and acquiring the basic information and economic data of all the enterprises, and summarizing and displaying the basic information and economic data of all the enterprises.
By adopting the technical scheme, the economic data and the basic information corresponding to the enterprise coordinates and each enterprise are associated, so that the economic data, the basic data and the map are fused, when the economic data of a certain area needs to be queried, the area to be queried can be directly circled, and the economic data of the area to be queried can be displayed quickly and visually, so that the method is more convenient and fast.
Optionally, the obtaining all the enterprise coordinates in the area to be queried includes:
obtaining a contour line of a region to be inquired circled on a map by a user;
acquiring all enterprise coordinates in an enterprise coordinate database;
drawing a straight line through each enterprise coordinate to enable the straight line to be intersected with the contour line, and obtaining a plurality of intersection points of the straight line and the contour line;
respectively counting the number of the intersection points on two sides of the enterprise coordinate to obtain a first intersection point total number and a second intersection point total number;
judging whether the total number of the first intersection points and the total number of the second intersection points are odd numbers or not;
if yes, judging that the enterprise coordinates belong to the circled area to be inquired, and extracting the enterprise coordinates in the area to be inquired.
By adopting the technical scheme, which enterprise coordinates in the enterprise coordinate database belong to the area to be queried can be determined through the total number of the first intersection points and the total number of the second intersection points, and compared with coordinate points where the enterprise coordinate points and the contour lines are located one by one, the method is quicker and more convenient.
Optionally, the basic information includes an administrative division code of an enterprise, and after the obtaining of all coordinates of the enterprise in the area to be queried, the method further includes:
and binding the circled area to be queried with administrative division codes corresponding to all enterprise coordinates in the area to be queried.
By adopting the technical scheme, when the economic data of the area to be inquired is inquired again, the corresponding enterprise coordinate and the economic data are quickly obtained through the administrative area code, and the running memory of the computer is saved.
Optionally, after the obtaining of all the enterprise coordinates in the area to be queried, the method further includes:
obtaining the zoom level number of a map to be displayed and map tiles of the area to be inquired;
constructing a tile pyramid based on the zoom level number and the map tiles;
and displaying the tile pyramid.
Optionally, the basic information includes an operating address and a registered address, and the acquiring the enterprise coordinates of the plurality of enterprises includes:
determining a type of the enterprise based on the basic information of the enterprise, wherein the type of the enterprise comprises a common enterprise and a special enterprise, and the special enterprise comprises an enclave enterprise and a cross-region enterprise;
when the enterprise type is the special enterprise, generating the enterprise coordinate based on the registration address;
when the enterprise type is the common enterprise, generating the enterprise coordinate based on the operation address;
storing a plurality of the business coordinates in a business coordinate database.
Optionally, the associating each of the enterprise coordinates with the economic data corresponding to each of the enterprises includes:
acquiring identification information of each enterprise;
matching the economic data of each enterprise with the basic information based on the identification information to obtain display information;
and binding the display information with the enterprise coordinates.
Optionally, information to be queried is obtained, where the information to be queried includes enterprise information and index data information;
determining business coordinates for at least one business based on the query information;
acquiring display information of the at least one enterprise;
and constructing an enterprise map card based on the display information, and displaying the enterprise map card on the map, wherein the enterprise map card comprises enterprise legal information, income tax and important index data of the industry.
In a second aspect, the present application provides an economic data statistics apparatus based on geographic information, which adopts the following technical solutions:
an economic data statistics apparatus based on geographic information, comprising:
the system comprises an acquisition association module, a storage module and a display module, wherein the acquisition association module is used for acquiring enterprise coordinates of a plurality of enterprises on a map and economic data and basic information of each enterprise and associating each enterprise coordinate with the economic data and the basic information corresponding to each enterprise, and the enterprise coordinates comprise longitudes and latitudes;
the query area acquisition module is used for acquiring an area to be queried, which is circled on the map by a user;
the coordinate acquisition module is used for acquiring all enterprise coordinates in the area to be inquired;
the determining module is used for determining all enterprises in the area to be queried based on the enterprise coordinates;
and the summarizing and displaying module is used for acquiring the basic information and the economic data of all the enterprises, summarizing and displaying the basic information and the economic data of all the enterprises.
By adopting the technical scheme, the economic data and the basic information corresponding to the enterprise coordinates and each enterprise are associated, so that the economic data and the basic data are fused with the map, when the economic data of a certain area needs to be inquired, the area to be inquired can be directly circled, and the economic data of the area to be inquired can be displayed quickly and visually, so that the method is more convenient.
In a third aspect, the present application provides an electronic device, which adopts the following technical solutions:
an electronic device comprising a processor and a memory, the processor coupled with the memory;
the processor is configured to execute the computer program stored in the memory to cause the electronic device to perform the method according to any of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects.
Drawings
FIG. 1 is a schematic flow chart diagram of a geographic information based economic data statistical method embodied in an embodiment of the present application.
Fig. 2 is a schematic structural diagram showing coordinates and polygons of a target enterprise in an embodiment of the present application.
Fig. 3 is a block diagram of an economic data statistics apparatus 200 based on geographic information according to an embodiment of the present application.
Fig. 4 is a block diagram of an electronic device 300 embodied in an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
The present embodiment is only for explaining the present application, and it is not limited to the present application, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship, unless otherwise specified.
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
The embodiment of the application provides an economic data statistical method based on geographic information, which can be executed by electronic equipment, wherein the electronic equipment can be a server or terminal equipment, the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud computing service. The terminal device may be, but is not limited to, a smart phone, a tablet computer, a desktop computer, etc.
As shown in fig. 1, a geographic information-based economic data statistical method, the main flow of which is described as follows (steps S101 to S105):
step S101, acquiring enterprise coordinates of a plurality of enterprises on a map and economic data and basic information of each enterprise, and associating each enterprise coordinate with the corresponding economic data and basic information of each enterprise, wherein the enterprise coordinates comprise longitudes and latitudes;
in this embodiment, the electronic device obtains basic information of an enterprise and professional business data report data from a national networking direct reporting platform and a national directory enterprise platform, and stores the basic information of the enterprise into an enterprise information database, wherein the professional business data report data includes economic data, and the basic information of the enterprise includes a registration address, an operation address, legal information, and an administrative division of the enterprise.
After acquiring the basic information of an enterprise and the professional business data report data, the electronic equipment cleans the business data report data according to a statistical business system, and ensures the specification of all data formats.
When all data cleaning is completed, the enterprises need to be classified according to enterprise types, wherein the enterprise types comprise special enterprises and common enterprises, the special enterprises comprise enclave enterprises and trans-regional enterprises, the enclave enterprises are enterprises with registration addresses inconsistent with administrative divisions to which the enterprises belong, and the trans-regional enterprises are enterprises with registration addresses and operation addresses not belonging to the same county.
The electronic device divides the enterprise into a common enterprise and a special enterprise according to the basic information in the enterprise information database, so as to generate the enterprise coordinate according to the enterprise type, and the method specifically comprises the following steps (steps S1011 to S1014):
step S1011, determining the enterprise types of the enterprises based on the basic information of the enterprises, wherein the enterprise types comprise common enterprises and special enterprises, and the special enterprises comprise enclave enterprises and trans-regional enterprises;
step S1012, when the enterprise type is a special enterprise, generating an enterprise coordinate based on the registered address;
step S1013, when the enterprise type is a common enterprise, generating an enterprise coordinate based on the operation address;
step 1014, storing a plurality of enterprise coordinates in an enterprise coordinate database.
In this embodiment, when the electronic device divides the enterprise according to the enterprise type, the specific enterprise is marked in a manner including, but not limited to, marking red, and recording the enterprise organization code or social uniform credit code of the enterprise; when the enterprise is marked, the electronic equipment defaults to a special enterprise, and an enterprise coordinate of the special enterprise is generated based on the registered address; and when the enterprise is a common enterprise, generating the enterprise coordinates of the common enterprise based on the operation address.
The coordinate system adopted by the enterprise coordinate system includes, but is not limited to, BD09 (hundred degree map), WGS84 (international general), and GCJ02 (gold, QQ map). The user can operate a Select component on a Jsp page of the electronic device to switch the coordinate type. In the present embodiment, a description is given of a coordinate type of BD09 (hundred degree map):
the electronic equipment calls an interface provided by the Baidu map through WebService, JSON analysis is carried out on the returned information, the Service layer calls JDBC to store the coordinate longitude and latitude into the enterprise coordinate database, the converted enterprise coordinate is packaged into a Model instance, and then the Model data is returned to a Jsp page to be displayed. Meanwhile, the enterprise basic information in the xls and cvs files can be imported into the electronic equipment, and the electronic equipment generates corresponding enterprise coordinates according to the operation address or the registration address.
The electronic equipment can feed back the success of enterprise coordinate generation of company A to the user when the enterprise coordinate generation is successful; when the enterprise coordinate generation fails, the electronic equipment feeds back the enterprise coordinate generation failure of company A to the user; when the generation of the enterprise coordinates fails, the address information needs to be completed, and after the address information is completed, a user can input the enterprise coordinates of the enterprise in a mouse, a keyboard, a touch screen and the like of the electronic equipment, and the electronic equipment acquires the enterprise coordinates and stores the enterprise coordinates in an enterprise coordinate database.
It should be noted that the user may change the enterprise coordinates by using a mouse, a keyboard, a touch screen, or the like of the electronic device.
After the enterprise coordinates are successfully generated, the enterprise coordinates need to be associated with the economic data and basic information of the corresponding enterprise.
Specifically, identification information of each enterprise is obtained; matching the economic data of each enterprise with the basic information based on the identification information to obtain display information; and binding the display information with the enterprise coordinates.
In this embodiment, the enterprise organization code or the unified social credit code is used as the identification information, and the identification information is the unique identification information of the enterprise.
And the electronic equipment associates the basic information of the enterprise with the economic data according to the identification information to realize the map falling of the economic data.
In this embodiment, the electronic device obtains the economic data and/or the basic information of each enterprise from the national networking direct report platform and the national directory enterprise platform within a preset time, and updates the corresponding data when the new enterprise or the economic data and the basic information change, where a Quart timing function may be used for obtaining the economic data and the basic information of each enterprise, the preset time may be one day or one week, and is not specifically limited in this embodiment.
Step S102, acquiring a region to be inquired circled on a map by a user;
the following first explains the construction of a map:
the map in this embodiment can support the customization of map layers of each area, street, building, project and enterprise, and there are 19 levels. The map layers of the bottom layer are buildings, projects and enterprises, wherein each building, project and enterprise has corresponding coordinates, the buildings, projects and enterprises are accurately scattered to the map layers on the basis of the coordinates, the coordinates consist of longitudes and latitudes, when the number of the buildings is large, multiple map layers can be selected for display, and building information is independently stored in a building database; the middle layer is a street layer, the related range of each street is large, each street can be circled in a polygon drawing mode, and the circled range is red-marked by adopting a JQuery technology.
In this embodiment, a user may circle a contour line of a to-be-queried area by using a mouse, a keyboard, a touch screen, and the like of an electronic device, where the to-be-queried area may be an office building or a city, and is not specifically limited in this embodiment.
When a user draws the contour line of the area to be inquired, the user can select drawing tools such as circles, squares, self-defined figures, subway lines and the like, can identify map facilities such as lands, water systems, greenbelts, buildings, roads and the like, generates a corresponding map layer,
the graphic customization method can comprise the following steps (steps a-e):
step a, acquiring a sketching area specified by four set coordinate ranges, and calling a Baidu old version of tile to download a map tile of the sketching area by Python;
b, configuring land or building maps on map tiles of the sketching area into a specific color, and configuring all other map styles into white;
c, splicing all the tiles into a complete picture;
d, removing interference elements in the picture through Opencv, and describing all closed boundaries;
and e, acquiring the closed boundary and the range of the four coordinates, and calculating all closed boundary coordinates.
For example, when an office building is circled, a user can select four coordinates of the outline of the office building by means of a mouse, a keyboard, a touch screen and the like of the electronic device, when the electronic device acquires the four coordinates, a rectangular area is formed, a map tile of the rectangular area is acquired, then a white area in the acquired map tile is removed, and the boundary of the remaining area is drawn, so that a contour line is formed.
It should be noted that, when the area to be queried is circled, an HTML5 map engine may be used, and the circled shape includes, but is not limited to, a polygon, a circle, an ellipse, a rectangle, and a line.
Step S103, acquiring all enterprise coordinates in the area to be queried;
specifically, the method includes the following steps (steps S1031 to S1036):
step S1031, obtaining the contour line of the area to be inquired circled on the map by the user;
step S1032, all the enterprise coordinates in the enterprise coordinate database are obtained.
Step S1033, making a straight line through each enterprise coordinate, and enabling the straight line to be intersected with the contour line to obtain a plurality of intersection points of the straight line and the contour line;
step S1034, respectively counting the number of the intersection points at two sides of the enterprise coordinate to obtain the total number of the first intersection points and the total number of the second intersection points;
step S1035, judging whether the total number of the first intersection points and the total number of the second intersection points are odd numbers or not; if yes, go to step S1036;
step S1036, judging that the enterprise coordinates belong to the circled area to be queried, and extracting the enterprise coordinates in the area to be queried.
As shown in fig. 2, the contour line of the circled area to be queried is a polygon, in this embodiment, one of the enterprise coordinates in the enterprise coordinate library is used for explanation, which is referred to as a target enterprise coordinate in this embodiment, the triangle in fig. 2 is the target enterprise coordinate, a straight line is arbitrarily made with the target enterprise coordinate as an origin, the straight line extends to the outside of the polygon and intersects with the polygon to obtain a plurality of intersection points, the straight line where the target enterprise sits in fig. 2 intersects with 8 sides of the polygon, the number of the intersection points is 8, wherein 5 of the intersection points are located on the left side of the target enterprise coordinate point, 3 of the intersection points are located on the right side of the target enterprise coordinate point, the total number of the first intersection points and the total number of the second intersection points are both odd numbers, and therefore it is determined that the target enterprise coordinate is located inside the polygon. And when the total number of the first intersection points and the total number of the second intersection points are even numbers or only one side of the first intersection points and the second intersection points exist has intersection points, judging that the target enterprise coordinates are outside the polygon.
After all the enterprise coordinates in the area to be queried are obtained, the circled area to be queried is bound with the administrative division codes corresponding to all the enterprise coordinates in the area to be queried.
In this embodiment, the circled area to be queried is associated with the administrative area code of the enterprise in the enterprise information database, and when the economic data of the area to be queried is queried again, the corresponding enterprise coordinate and economic data are quickly obtained through the administrative area code.
Step S104, determining all enterprises in the area to be queried based on the enterprise coordinates;
and step S105, acquiring the basic information and economic data of all enterprises, and summarizing and displaying the basic information and economic data of all enterprises.
The basic information and the economic information of all enterprises in the circled area to be queried are gathered and displayed, the display content can be the total number of the enterprises, the total assets, the number of workers, the operating profit, the operating income, the total liability and the like of all the enterprises, the user can also select one of the enterprises in the area to be queried in a mode of a mouse, a keyboard, a touch screen and the like of electronic equipment, the economic data and the basic information of one of the enterprises are displayed, and the display content can be the total assets, the number of workers, the operating profit, the operating income, the total liability and the like of the enterprise.
When the user selects a certain area or a certain company, the electronic device displays a tile pyramid of the certain area or the certain company.
Specifically, the method comprises the following steps: obtaining the zoom level number of a map to be displayed and map tiles of an area to be inquired; constructing a tile pyramid based on the number of zoom levels and the map tiles; and displaying the tile pyramid.
In this embodiment, when the electronic device obtains the contour line of the area to be queried, the number N of zoom levels of the map is obtained, where the number N of zoom levels may be preset or selected according to a user requirement, and is not specifically limited in this embodiment.
Based on the number N of zoom levels, taking a map picture with the highest zoom level and the largest map scale as the bottom layer of a pyramid, namely the 0 th layer, partitioning the map picture, cutting the map picture from the left upper corner of the map picture from left to right and from top to bottom, and dividing the map picture into square map tiles with the same size (such as 256x256 pixels) to form a tile matrix of the 0 th layer; on the basis of the map picture of the layer 0, generating the map picture of the layer 1 by synthesizing every 2x2 pixels into one pixel, partitioning the map picture, and dividing the map picture into square map tiles with the same size as the next layer to form a tile matrix of the layer 1; the same method is adopted to generate the tile matrix of layer 2, \8230;, and the sequence is continued till the Nth layer 1, and the whole tile pyramid is formed.
It should be noted that the manner of obtaining the Map tiles includes, but is not limited to, loading the bottom Map tiles by a Map loading method; adopting Baidu bottom map tiles and adopting Gangde, tian map, arcgis and other map sources; an online map may also be loaded, tile BASE64 encoding the offline map. The map tile pyramid model is a multi-resolution hierarchical model, and the resolution is lower and lower from the bottom layer to the top layer of the tile pyramid, but the represented geographical range is unchanged.
In this embodiment, besides querying enterprise and economic data in a certain area by way of circling, enterprise and economic data may also be queried by way of data retrieval.
Specifically, information to be queried is obtained, wherein the information to be queried comprises enterprise information and index data information; determining business coordinates for at least one business based on the query information; acquiring display information of at least one enterprise; and constructing an enterprise map card based on the display information, and displaying the enterprise map card on a map, wherein the enterprise map card comprises enterprise legal information, income tax and important index data of the industry where the enterprise map card is located.
In this embodiment, a user can perform customized retrieval on all enterprises in a map area through the method, fuzzy query can be performed only by inputting keywords of the enterprises, the map can be automatically positioned to a specific enterprise after the specific enterprise is selected, the user can visually see the position of the enterprise, meanwhile, relevant information of the enterprise is extracted to establish an enterprise map card, operational data such as legal information, business income and tax income of the enterprise and key index data of the industry are displayed, and the requirements of enterprise research and policy study of government departments are met.
The user can also input the region, register type, enterprise scale, enterprise type, accounting system type, strategy emerging industry and the like through a mouse, a keyboard, a touch screen and the like of the electronic equipment, further perform data calculation on the data summarizing result, output a new data result, and output the new data result to be displayed as a data chart or an echart chart, but not limited to the data chart and the data summarizing result.
For example, enterprise query, index query, and custom query, a user inputs an income index in a search box, data of income in different areas can be directly generated on a map, and user-defined query is also satisfied, for example, if the income index is selected to be greater than ten million by index query, the map shows what enterprises with income greater than ten million have and what economic data are.
Specifically, the statistics of the economic data can include economic data topics, industry development topics, regional development topics, economic community topics, line topics, and the like. In this embodiment, the industry development subject is taken as an example for explanation, and enterprise distribution, industrial structure and industrial growth conditions of different industries can be analyzed by screening industries, so as to provide information support for regional development and business recruitment, and help to form an industrial cluster
Fig. 3 is a block diagram illustrating an economic data statistics method 200 based on geographic information according to the present invention. As shown in fig. 3, the economic data statistical apparatus 200 based on geographic information mainly includes:
the obtaining and associating module 201 is configured to obtain enterprise coordinates of a plurality of enterprises on a map and economic data and basic information of each enterprise, and associate each enterprise coordinate with the economic data and the basic information corresponding to each enterprise, where the enterprise coordinates include longitude and latitude;
a query area acquisition module 202, configured to acquire an area to be queried, which is circled on a map by a user;
the coordinate acquisition module 203 is used for acquiring all enterprise coordinates in the area to be queried;
a determining module 204, configured to determine all enterprises in the area to be queried based on the enterprise coordinates;
and the summarizing and displaying module 205 is configured to acquire the basic information and economic data of all the enterprises, summarize and display the basic information and economic data of all the enterprises.
As an optional implementation manner in this embodiment, the obtaining association module 201 includes:
the determining submodule is used for determining the enterprise types of the enterprises based on the basic information of the enterprises, wherein the enterprise types comprise common enterprises and special enterprises, and the special enterprises comprise enclave enterprises and trans-regional enterprises;
the first generation submodule is used for generating an enterprise coordinate based on the registered address when the enterprise type is a special enterprise;
the second generation submodule is used for generating an enterprise coordinate based on the operation address when the enterprise type is a common enterprise;
and the storage module is used for storing the plurality of enterprise coordinates into an enterprise coordinate database.
As an optional implementation manner in this embodiment, the obtaining association module 201 further includes:
the information acquisition submodule is used for acquiring the identification information of each enterprise;
the matching sub-module is used for matching the economic data of each enterprise with the basic information based on the identification information to obtain display information;
and the binding submodule is used for binding the display information with the enterprise coordinates.
As an optional implementation manner in this embodiment, the coordinate obtaining module 203 includes:
the first acquisition sub-module is used for acquiring the contour line of the area to be inquired, which is circled on the map by the user;
and the second acquisition submodule is used for acquiring all the enterprise coordinates in the enterprise coordinate database.
The first obtaining submodule is used for drawing a straight line through each enterprise coordinate to enable the straight line to be intersected with the contour line, and a plurality of intersection points of the straight line and the contour line are obtained;
the second obtaining submodule is used for respectively counting the number of the intersection points on the two sides of the enterprise coordinate to obtain the total number of the first intersection points and the total number of the second intersection points;
the judgment sub-module is used for judging whether the total number of the first intersection points and the total number of the second intersection points are odd numbers or not; if yes, judging that the enterprise coordinates belong to the circled area to be inquired, and extracting the enterprise coordinates in the area to be inquired.
As an optional implementation manner in this embodiment, the economic data statistics apparatus 200 based on geographic information further includes:
and the binding module is used for binding the circled area to be queried with the administrative division codes corresponding to all the enterprise coordinates in the area to be queried after all the enterprise coordinates in the area to be queried are obtained.
As an optional implementation manner in this embodiment, the economic data statistics apparatus 200 based on geographic information further includes:
the tile obtaining module is used for obtaining the zoom level number of the map to be displayed and the map tiles of the area to be inquired after obtaining all the enterprise coordinates in the area to be inquired;
a building module to build a tile pyramid based on the number of zoom levels and the map tiles;
and the display module is used for displaying the tile pyramid.
As an optional implementation manner in this embodiment, the economic data statistics apparatus 200 based on geographic information further includes:
the first information acquisition module is used for acquiring information to be inquired, wherein the information to be inquired comprises enterprise information and index data information;
a coordinate determination module to determine business coordinates of at least one business based on the query information;
the second information acquisition module is used for acquiring the display information of at least one enterprise;
and the construction and display module is used for constructing an enterprise map card based on the display information and displaying the enterprise map card on a map, wherein the enterprise map card comprises enterprise legal information, income tax and key index data of the industry where the enterprise map card is located.
The functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the economic data statistics method based on geographic information according to the embodiments of the present application.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 4 is a block diagram of an electronic device 300 according to an embodiment of the present disclosure. As shown in fig. 4, the electronic device 300 includes a memory 301, a processor 302, and a communication bus 303; the memory 301 and the processor 302 are connected by a communication bus 303. The memory 301 stores thereon a geographic information-based economic data statistical method that can be loaded and executed by the processor 302 as provided in the above-described embodiments.
The memory 301 may be used to store instructions, programs, code sets or instruction sets. The memory 301 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing the economic data statistics method based on geographic information provided by the above-described embodiments, and the like; the storage data area may store data and the like involved in the economic data statistical method based on geographical information provided in the above-described embodiment.
Processor 302 may include one or more processing cores. The processor 302 may invoke the data stored in the memory 301 by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 301 to perform the various functions of the present application and to process the data. The Processor 302 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that, for different devices, the electronic devices for implementing the functions of the processor 302 may be other devices, and the embodiments of the present application are not limited in particular.
The communication bus 303 may include a path that conveys information between the aforementioned components. The communication bus 303 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus 303 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
Embodiments of the present application provide a computer-readable storage medium, which stores a computer program that can be loaded by a processor and execute the economic data statistical method based on geographic information provided by the above embodiments.
In this embodiment, the computer readable storage medium may be a tangible device that retains and stores instructions for use by an instruction execution device. The computer readable storage medium may be, but is not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any combination of the foregoing. In particular, the computer readable storage medium may be a portable computer diskette, a hard disk, a U-disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a podium random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, an optical disk, a magnetic disk, a mechanical coding device, and any combination thereof.
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.
The foregoing description is only exemplary of the preferred embodiments of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the application referred to in the present application is not limited to the embodiments with a particular combination of the above-mentioned features, but also encompasses other embodiments with any combination of the above-mentioned features or their equivalents without departing from the spirit of the application. For example, the above features may be replaced with (but not limited to) features having similar functions as those described in this application.

Claims (10)

1. An economic data statistical method based on geographic information is characterized by comprising the following steps:
acquiring enterprise coordinates of a plurality of enterprises on a map and economic data and basic information of each enterprise, and associating each enterprise coordinate with the economic data and the basic information corresponding to each enterprise, wherein the enterprise coordinates consist of longitudes and latitudes;
acquiring a region to be queried circled on the map by a user;
acquiring all enterprise coordinates in the area to be queried;
determining all enterprises in the area to be queried based on the enterprise coordinates;
and acquiring the basic information and economic data of all enterprises, and summarizing and displaying the basic information and economic data of all enterprises.
2. The method of claim 1, wherein the obtaining of all the business coordinates in the area to be queried comprises:
acquiring a contour line of a region to be inquired, which is circled on a map by a user;
acquiring all enterprise coordinates in an enterprise coordinate database;
drawing a straight line through each enterprise coordinate to enable the straight line to be intersected with the contour line, and obtaining a plurality of intersection points of the straight line and the contour line;
respectively counting the number of the intersection points on two sides of the enterprise coordinate to obtain a first intersection point total number and a second intersection point total number;
judging whether the total number of the first intersection points and the total number of the second intersection points are odd numbers or not;
if yes, judging that the enterprise coordinates belong to the circled area to be inquired, and extracting the enterprise coordinates in the area to be inquired.
3. The method according to claim 2, wherein the basic information includes administrative division codes of enterprises, and after the obtaining of all coordinates of enterprises in the area to be queried, the method further comprises:
and binding the circled area to be queried with administrative division codes corresponding to all enterprise coordinates in the area to be queried.
4. The method according to claim 1 or 3, wherein after the obtaining of all the business coordinates in the area to be queried, the method further comprises:
obtaining the zoom level number of a map to be displayed and map tiles of the area to be inquired;
constructing a tile pyramid based on the zoom level number and the map tiles;
and displaying the tile pyramid.
5. The method of claim 1, wherein the basic information comprises a business address and a registration address, and wherein obtaining business coordinates for a plurality of businesses comprises:
determining a type of the enterprise based on the basic information of the enterprise, wherein the type of the enterprise comprises a common enterprise and a special enterprise, and the special enterprise comprises an enclave enterprise and a cross-region enterprise;
when the enterprise type is the special enterprise, generating the enterprise coordinate based on the registration address;
when the enterprise type is the common enterprise, generating the enterprise coordinate based on the operation address;
storing a plurality of the business coordinates in a business coordinate database.
6. The method of claim 1 or 5, wherein said associating each of said business coordinates with said economic data corresponding to each of said businesses comprises:
acquiring identification information of each enterprise;
matching the economic data of each enterprise with the basic information based on the identification information to obtain display information;
and binding the display information with the enterprise coordinates.
7. The method of claim 1, further comprising:
acquiring information to be queried, wherein the information to be queried comprises enterprise information and index data information;
determining business coordinates for at least one business based on the query information;
acquiring display information of the at least one enterprise;
and constructing an enterprise map card based on the display information, and displaying the enterprise map card on the map, wherein the enterprise map card comprises enterprise legal information, income tax and important index data of the industry.
8. An economic data statistic device based on geographic information, comprising:
the system comprises an acquisition association module, a storage module and a display module, wherein the acquisition association module is used for acquiring enterprise coordinates of a plurality of enterprises on a map and economic data and basic information of each enterprise and associating each enterprise coordinate with the economic data and the basic information corresponding to each enterprise, and the enterprise coordinates comprise longitudes and latitudes;
the query area acquisition module is used for acquiring an area to be queried, which is circled on the map by a user;
the coordinate acquisition module is used for acquiring all enterprise coordinates in the area to be inquired;
the determining module is used for determining all enterprises in the area to be queried based on the enterprise coordinates;
and the summarizing and displaying module is used for acquiring the basic information and the economic data of all the enterprises, summarizing and displaying the basic information and the economic data of all the enterprises.
9. An electronic device comprising a processor and a memory, the processor coupled with the memory;
the processor is configured to execute the computer program stored in the memory to cause the electronic device to perform the method of any of claims 1 to 7.
10. A computer-readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to carry out the method of any one of claims 1 to 7.
CN202211341346.9A 2022-10-31 2022-10-31 Economic data statistical method, device, equipment and medium based on geographic information Pending CN115408450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211341346.9A CN115408450A (en) 2022-10-31 2022-10-31 Economic data statistical method, device, equipment and medium based on geographic information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211341346.9A CN115408450A (en) 2022-10-31 2022-10-31 Economic data statistical method, device, equipment and medium based on geographic information

Publications (1)

Publication Number Publication Date
CN115408450A true CN115408450A (en) 2022-11-29

Family

ID=84167987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211341346.9A Pending CN115408450A (en) 2022-10-31 2022-10-31 Economic data statistical method, device, equipment and medium based on geographic information

Country Status (1)

Country Link
CN (1) CN115408450A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186354A (en) * 2023-04-27 2023-05-30 中关村科学城城市大脑股份有限公司 Method, apparatus, electronic device, and computer-readable medium for displaying regional image

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819530A (en) * 2011-06-10 2012-12-12 中兴通讯股份有限公司 Method and device for displaying electronic map
CN108647282A (en) * 2018-05-03 2018-10-12 苏州朗动网络科技有限公司 Corporation information query method, apparatus, computer equipment and readable storage medium storing program for executing
CN110019626A (en) * 2017-12-21 2019-07-16 腾讯科技(深圳)有限公司 A kind of the determination method and relevant apparatus of population distribution information
CN111241222A (en) * 2020-01-07 2020-06-05 珠海格力电器股份有限公司 Map information display method, storage medium and electronic equipment
CN112365175A (en) * 2020-11-17 2021-02-12 杭州安恒信息安全技术有限公司 Enterprise area-based economic analysis method, system, storage medium and equipment
CN112488648A (en) * 2020-11-26 2021-03-12 杭州安恒信息技术股份有限公司 Jurisdictional enterprise statistical method and related components
US20220036437A1 (en) * 2020-07-30 2022-02-03 Boomi, Inc. System and method for identifying and enabling data marketplace purchases and sales of integrated data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819530A (en) * 2011-06-10 2012-12-12 中兴通讯股份有限公司 Method and device for displaying electronic map
CN110019626A (en) * 2017-12-21 2019-07-16 腾讯科技(深圳)有限公司 A kind of the determination method and relevant apparatus of population distribution information
CN108647282A (en) * 2018-05-03 2018-10-12 苏州朗动网络科技有限公司 Corporation information query method, apparatus, computer equipment and readable storage medium storing program for executing
CN111241222A (en) * 2020-01-07 2020-06-05 珠海格力电器股份有限公司 Map information display method, storage medium and electronic equipment
US20220036437A1 (en) * 2020-07-30 2022-02-03 Boomi, Inc. System and method for identifying and enabling data marketplace purchases and sales of integrated data
CN112365175A (en) * 2020-11-17 2021-02-12 杭州安恒信息安全技术有限公司 Enterprise area-based economic analysis method, system, storage medium and equipment
CN112488648A (en) * 2020-11-26 2021-03-12 杭州安恒信息技术股份有限公司 Jurisdictional enterprise statistical method and related components

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武芳 等: "《地图设计与制图综合》", 31 December 2018 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186354A (en) * 2023-04-27 2023-05-30 中关村科学城城市大脑股份有限公司 Method, apparatus, electronic device, and computer-readable medium for displaying regional image

Similar Documents

Publication Publication Date Title
US10706484B1 (en) Methods, systems, and computer readable media for combining pollution source information with geographic and/or temporal information for a land disturbing construction site
Kothuri et al. Pro oracle spatial for oracle database 11g
CN109446281B (en) ArcGIS-based online intelligent mapping system construction method, system and mapping method
CN113434623B (en) Fusion method based on multi-source heterogeneous space planning data
CN115408450A (en) Economic data statistical method, device, equipment and medium based on geographic information
CN114003621A (en) Dynamic visualization method and system for regional carbon emission
CN115605903A (en) System and method for quickly composing, launching and configuring a customizable second-level migration structure with a built-in audit and monitoring structure
KR102184048B1 (en) System and method for checking of information about estate development plan based on geographic information system
KR101367769B1 (en) Real estate appraisal system with touch screen based on networkme
Touya et al. Experiments to distribute and parallelize map generalization processes
US9064245B2 (en) Generating a calendar graphical visualization including pixels representing data records containing user feedback
CN110765226B (en) Goods owner matching method, device, equipment and medium
Lehtomäki et al. Running a zonation planning project
Kang et al. Artificial intelligence studies in cartography: a review and synthesis of methods, applications, and ethics
Kramer et al. Historical land use databases: a new layer of information for geographical research
CN113609237A (en) Data processing method, device, equipment and medium for construction land change
CN115659900B (en) Method, apparatus and medium for presenting an integrated circuit layout
CN113723860B (en) Method, device and storage medium for evaluating land resource asset release audit
CN115641430B (en) Method, device, medium and computer equipment for determining interest surface
CN111177071B (en) Picture downloading method and device of Flickr platform
Bhunia et al. GeoComputation and Spatial Data Operation
Krumpe Labeling interactive maps
RU2679173C1 (en) Method of dynamic visualization of geographic and heterogeneous information in a geographic information system and a computer-readable medium
Rybaczuk Error processes in the integration of digital cartographic data in geographic information systems.
CN111768161A (en) Cross-business department delivery statistical method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221129