CN115392887A - Natural resource integration platform construction method and device - Google Patents

Natural resource integration platform construction method and device Download PDF

Info

Publication number
CN115392887A
CN115392887A CN202211341266.3A CN202211341266A CN115392887A CN 115392887 A CN115392887 A CN 115392887A CN 202211341266 A CN202211341266 A CN 202211341266A CN 115392887 A CN115392887 A CN 115392887A
Authority
CN
China
Prior art keywords
resource
data
renewable
distribution function
visualized
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.)
Granted
Application number
CN202211341266.3A
Other languages
Chinese (zh)
Other versions
CN115392887B (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.)
Geographic Information Engineering Team Of Jiangxi Provincial Bureau Of Geology
Original Assignee
General Survey Brigade Of Jiangxi Coalfield Geology Bureau
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 General Survey Brigade Of Jiangxi Coalfield Geology Bureau filed Critical General Survey Brigade Of Jiangxi Coalfield Geology Bureau
Priority to CN202211341266.3A priority Critical patent/CN115392887B/en
Publication of CN115392887A publication Critical patent/CN115392887A/en
Application granted granted Critical
Publication of CN115392887B publication Critical patent/CN115392887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Mathematical Physics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • Algebra (AREA)
  • Human Computer Interaction (AREA)
  • Educational Administration (AREA)
  • General Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Primary Health Care (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a natural resource integration platform construction method and a natural resource integration platform construction device, wherein the method comprises the following steps: fitting the non-renewable resource data, the renewable resource data and the renewable resource data of the current time period to obtain a current non-renewable resource distribution function, a current renewable resource distribution function and a current renewable resource distribution function, fitting the non-renewable resource data, the renewable resource data and the renewable resource data of the historical time period to obtain a historical non-renewable resource distribution function, a historical renewable resource distribution function and a historical renewable resource distribution function, calculating the divergence value of the distribution function, selecting the resource data with the divergence value larger than a specified threshold value to obtain a resource data set to be visualized, generating the widget and the identification ID of the widget based on the resource data set to be visualized, loading the widget with the identification ID by using a view container, and rendering the widget with the identification ID to form a resource rendering graph. The invention can improve the efficiency of constructing the natural resource integrated platform.

Description

Natural resource integration platform construction method and device
Technical Field
The invention relates to the technical field of natural resource platform construction, in particular to a method and a device for constructing a natural resource integrated platform.
Background
Natural resources refer to substances that are directly available to humans in nature for production and life. The method can be divided into three categories, namely, non-renewable resources, such as various metal and non-metal minerals, fossil fuels and the like, can be formed only after long geological age; renewable resources, namely organisms, water, land resources and the like, can be produced or reproduced circularly in a short time; and thirdly, inexhaustible resources, such as wind power, solar energy and the like, can not cause the reduction of the storage capacity after being utilized.
At present, natural resources are displayed mainly by analyzing various resource data of a mobile phone and not related according to the internal association relationship of the various resource data, so that the construction efficiency of the current natural resource integration platform is low.
Disclosure of Invention
The invention provides a method and a device for constructing a natural resource integration platform and a computer readable storage medium, and mainly aims to improve the efficiency of constructing the natural resource integration platform.
In order to achieve the above object, the present invention provides a method for constructing a natural resource integration platform, comprising:
receiving a natural resource aggregation instruction, generating a natural resource collection instruction according to the natural resource aggregation instruction, and sending the natural resource collection instruction to a pre-constructed non-renewable resource collection platform, a renewable resource collection platform and a renewable resource collection platform;
respectively collecting non-renewable resource data, renewable resource data and renewable resource data of the current time period by the non-renewable resource collection platform, the renewable resource collection platform and the renewable resource collection platform;
respectively fitting the non-updatable resource data, the updatable resource data and the renewable resource data of the current time period to obtain a corresponding current non-updatable resource distribution function, a current updatable resource distribution function and a current renewable resource distribution function;
acquiring non-updatable resource data, updatable resource data and renewable resource data of a historical time period, and respectively fitting the non-updatable resource data, the updatable resource data and the renewable resource data of the historical time period to obtain a historical non-updatable resource distribution function, a historical updatable resource distribution function and a historical renewable resource distribution function;
respectively calculating the divergence values of a current non-renewable resource distribution function and a historical non-renewable resource distribution function, a current renewable resource distribution function and a historical renewable resource distribution function;
selecting resource data with divergence values larger than a specified threshold value to obtain a resource data set to be visualized, generating a resource data list to be visualized based on the resource data set to be visualized, and creating widgets of the resource data list to be visualized and identification IDs of the widgets according to the resource data list to be visualized;
opening a pre-constructed view container, loading a widget with an identification ID (identity) by using the view container, extracting a resource data list to be visualized from the widget when the loading is successful, and storing the resource data list to be visualized to an XML (extensive markup language) document;
and rendering the widgets of the identification IDs, and extracting the XML documents to form a resource rendering graph during rendering, wherein the resource rendering graph shows the distribution condition of the resource data of the historical time period and the current time period.
Optionally, the resource data list to be visualized includes a title area, a search area, a newly added area, a global operation area, a data list display area, and a data list operation area, and the widgets of the data list include a general basic component, a system configuration component, and a service function component.
Optionally, the creating a widget of the resource data list to be visualized according to the resource data list to be visualized includes:
acquiring component attribute information, extracting the general basic component, the system configuration component and the service function component from a pre-constructed component integration system according to the component attribute information, and generating an index address;
selecting a subassembly set of a system configuration assembly, and loading the resource data set to be visualized by using the subassembly set to obtain configuration page data of the widget;
rendering the configuration page data to obtain a widget configuration page, extracting a code block of the widget configuration page, and extracting a component index function block from the code block;
and taking the index address as an input parameter of the component index function block, and combining the component index function block comprising the index address with the widget configuration page to obtain the widget of the resource data list to be visualized.
Optionally, the rendering the configuration page data to obtain a widget configuration page includes:
reading HTML bytes of configuration page data by using a browser, wherein the HTML bytes can generate a widget configuration page;
converting the HTML bytes into HTML characters and generating a Token, wherein the Token comprises StartTag, head, tag, meta and EndTag, head;
and generating a document object model according to the Token and the HTML characters, loading the index address to the document object model, and rendering the successfully loaded document object model to obtain a widget configuration page.
Optionally, the calculating method of the divergence value is:
the dispersion value is calculated using the formula:
Figure 402162DEST_PATH_IMAGE001
wherein, the first and the second end of the pipe are connected with each other,
Figure 739602DEST_PATH_IMAGE002
representing a current non-renewable resource distribution function, a current renewable resource distribution function or a current renewable resource distribution function,
Figure 960237DEST_PATH_IMAGE003
representing a historical non-renewable resource distribution function, a historical renewable resource distribution function or a historical non-renewable resource distribution function,
Figure 295403DEST_PATH_IMAGE004
the value of the dispersion is expressed as,
Figure 86642DEST_PATH_IMAGE005
indicating the sign of the integral.
Optionally, the generating a resource data list to be visualized based on the resource data set to be visualized includes:
extracting corresponding project data from the resource data set to be visualized according to a preset display project;
calculating display data of the display item according to the item data;
and constructing the resource data list to be visualized according to the display data of the display item.
Optionally, the extracting, according to a preset display item, corresponding item data in the resource data set to be visualized includes:
determining a project data extraction index according to the display project;
and extracting corresponding project data in the resource data set to be visualized according to the project data extraction indexes.
Optionally, the calculating presentation data of the presentation item according to the item data includes:
selecting a corresponding project formula in a pre-constructed project formula set according to the project category of the project data;
and calculating the display data of the display item by using the item formula according to the item data.
Optionally, the set of item formulas may include: a resource change rate formula, a contemporaneous resource change formula and a resource extreme value extraction formula.
In order to solve the above problem, the present invention further provides a natural resource integration platform construction apparatus, including:
the resource collection platform construction module is used for receiving a natural resource aggregation instruction, generating a natural resource collection instruction according to the natural resource aggregation instruction, and sending the natural resource collection instruction to a pre-constructed non-renewable resource collection platform, a renewable resource collection platform and a renewable resource collection platform;
the current resource distribution function fitting module is used for respectively collecting the non-renewable resource data, the renewable resource data and the renewable resource data in the current time period from the non-renewable resource collection platform, the renewable resource collection platform and the renewable resource collection platform; respectively fitting the non-renewable resource data, the renewable resource data and the renewable resource data in the current time period to obtain a corresponding current non-renewable resource distribution function, a current renewable resource distribution function and a current renewable resource distribution function;
the historical resource distribution function fitting module is used for acquiring the non-updatable resource data, the updatable resource data and the renewable resource data of the historical time period, respectively fitting the non-updatable resource data, the updatable resource data and the renewable resource data of the historical time period, and obtaining a historical non-updatable resource distribution function, a historical updatable resource distribution function and a historical renewable resource distribution function;
the widget creating module is used for respectively calculating the current non-renewable resource distribution function and the historical non-renewable resource distribution function, the current renewable resource distribution function and the historical renewable resource distribution function; selecting resource data with divergence values larger than a specified threshold value to obtain a resource data set to be visualized, generating a resource data list to be visualized based on the resource data set to be visualized, and creating widgets of the resource data list to be visualized and identification IDs of the widgets according to the resource data list to be visualized;
the resource rendering graph display module is used for opening a pre-constructed view container, loading the widget with the identification ID by using the view container, extracting a resource data list to be visualized from the widget when the loading is successful, and storing the resource data list to be visualized to the XML document; and rendering the widgets of the identification IDs, and extracting the XML documents to form a resource rendering graph during rendering, wherein the resource rendering graph shows the distribution condition of the resource data of the historical time period and the current time period.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the natural resource integration platform construction method.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is executed by a processor in an electronic device to implement the above natural resource integration platform building method.
In order to solve the problems in the background art, the embodiments of the present invention achieve the classified display of resource data through a pre-constructed non-renewable resource collection platform, an renewable resource collection platform, and a renewable resource collection platform, after obtaining resource data of each category, a corresponding current non-renewable resource distribution function, a current renewable resource distribution function, a historical non-renewable resource distribution function, a historical renewable resource distribution function, and a historical renewable resource distribution function need to be fitted, and a resource data set to be visualized is selected through the divergence value, and then the resource data set to be visualized is rendered and displayed. Therefore, the method and the device for constructing the natural resource integration platform can improve the construction efficiency of the natural resource integration platform.
Drawings
Fig. 1 is a schematic flow chart of a natural resource integration platform construction method according to an embodiment of the present invention;
fig. 2 is a functional block diagram of a natural resource integration platform construction apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a natural resource integration platform construction method. The execution subject of the natural resource integration platform construction method includes, but is not limited to, at least one of electronic devices that can be configured to execute the method provided by the embodiments of the present application, such as a server and a terminal. In other words, the natural resource integration platform construction method may be executed by software or hardware installed in a terminal device or a server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Fig. 1 is a schematic flow chart of a natural resource integration platform construction method according to an embodiment of the present invention. In this embodiment, the natural resource integration platform construction method includes:
the method comprises the steps of S1, receiving a natural resource aggregation instruction, generating a natural resource collection instruction according to the natural resource aggregation instruction, and sending the natural resource collection instruction to a non-renewable resource collection platform, a renewable resource collection platform and a renewable resource collection platform which are constructed in advance.
It should be explained that the natural resources need to be managed and monitored in a unified manner, so that the natural resource integration platform is constructed in the embodiment of the present invention to manage and monitor the natural resources more efficiently. The embodiment of the invention divides the natural resources into three types, namely non-renewable resources, renewable resources and renewable resources.
The non-updatable resource collection platform is responsible for collecting the non-updatable resources, the updatable resource collection platform is responsible for collecting the updatable resources, and the renewable resource collection platform is responsible for collecting the renewable resources. For example, a natural resource management department in a city in the form of a small book mainly has the responsibility of collecting and monitoring natural resources in the city, thereby initiating a natural resource aggregation instruction, and each platform is expected to submit collected non-updatable resource data of the current time period, updatable resource data of the current time period and renewable resource data of the current time period in turn.
And S2, respectively collecting the non-updatable resource data, the updatable resource data and the renewable resource data of the current time period by the non-updatable resource collection platform, the updatable resource collection platform and the renewable resource collection platform.
It should be explained that the non-updatable data includes a metal amount, a non-metal mineral amount, a fossil fuel amount, and the like, and if a manager of the non-updatable resource collection platform is xiaozao, the manager finds that the metal amount of ferrous metal in the underground of the city is 200KG, and the metal amount of aluminum is 320KG, and reports the metal amount to the non-updatable resource collection platform, where the metal amount is 200KG, and the metal amount of aluminum is 320KG, which is called as the non-updatable resource data in the current time period.
Because renewable resources such as wind power, solar energy and the like cannot be quantized, electric energy generated by wind power, solar energy and the like can be quantized, if the market of the young leaf uses wind power and solar energy to generate 10000 degrees and 50000 degrees of electric energy in the month, the data of the renewable resources in the current time period can be represented by the electric energy, namely (wind energy-10000 degrees-the first day), (solar energy-50000 degrees-the first day); (wind energy-6000 degrees-the next day), (solar energy-1000 degrees-the next day); (wind energy-2000 degree-the third day), (solar energy-2000 degree-the third day).
And S3, respectively fitting the non-renewable resource data, the renewable resource data and the renewable resource data in the current time period to obtain a corresponding current non-renewable resource distribution function, a current renewable resource distribution function and a corresponding current renewable resource distribution function.
In the embodiment of the present invention, the solar energy of the renewable resource data of the current time period may be fitted by MATLAB, python, and other programs, for example: (wind energy-10000 degrees-the first day), (wind energy-6000 degrees-the second day), (wind energy-2000 degrees-the third day), (wind energy-200 degrees-the fourth day), and the like.
Further, a current renewable resource distribution function is obtained by fitting the relation between the electricity generated by wind energy and time. Analogically, fitting results in a current non-renewable resource distribution function and a current renewable resource distribution function.
And S4, acquiring non-updatable resource data, updatable resource data and renewable resource data of the historical time period, and respectively fitting the non-updatable resource data, the updatable resource data and the renewable resource data of the historical time period to obtain a historical non-updatable resource distribution function, a historical updatable resource distribution function and a historical renewable resource distribution function.
It should be noted that the data corresponding to the historical time period and the current time period are only different in time, and are not described herein again.
And S5, respectively calculating the current non-renewable resource distribution function and the historical non-renewable resource distribution function, the current renewable resource distribution function and the historical renewable resource distribution function, and the divergence values of the current renewable resource distribution function and the historical renewable resource distribution function.
In the embodiment of the invention, the divergence value is calculated according to the following formula:
Figure 978505DEST_PATH_IMAGE006
wherein the content of the first and second substances,
Figure 273220DEST_PATH_IMAGE007
representing a current non-renewable resource distribution function, a current renewable resource distribution function or a current renewable resource distribution function,
Figure 44867DEST_PATH_IMAGE008
representing historical non-renewable resource distribution functions, historical renewable resource distribution functions and historical non-renewable resource distribution functions,
Figure 569740DEST_PATH_IMAGE009
the value of the dispersion is expressed as,
Figure 514562DEST_PATH_IMAGE005
the sign of the integral is indicated.
S6, selecting data with divergence values larger than a specified threshold value to obtain a resource data set to be visualized, generating a resource data list to be visualized based on the resource data set to be visualized, and creating widgets of the resource data list to be visualized and identification IDs of the widgets according to the resource data list to be visualized.
Three groups of divergence values can be calculated according to the formula, wherein the divergence values are the divergence value of the non-renewable resource, the divergence value of the renewable resource and the divergence value of the renewable resource. And further, selecting data with divergence values larger than a specified threshold value and obtaining a resource data set to be visualized, wherein the resource data set to be visualized is a common data display mode of the resource data set to be visualized, and the resource data list to be visualized mainly comprises a title area, a search area, a newly added area, a global operation area, a data list display area, a data column operation area and the like.
The widgets of the data list are a component set used for executing data display, and include a general basic component, a system configuration component and a business function component, and the general basic component, the system configuration component and the business function component can be dynamically configured based on a configuration page corresponding to the widgets. In addition, the general basic assembly can define page layout to realize data request transmission of each sub-assembly; the system configuration component can automatically generate a whole local operation area, a search area, a title area and the like; the service function component can automatically generate a new area, a data list display area, a data list operation area and the like.
Understandably, the generating a resource data list to be visualized based on the resource data set to be visualized includes:
extracting corresponding project data from the resource data set to be visualized according to a preset display project;
calculating display data of the display item according to the item data;
and constructing the resource data list to be visualized according to the display data of the display item.
It should be explained that the presentation items may be a resource change rate item, a contemporaneous resource change item, a resource extremum item, and the like, where the resource change rate item refers to an item representing a change rate of a resource of the same kind with time, and may be represented by a curvature of a corresponding distribution function. The contemporaneous resource change item index identifies a change item of the same kind of resource in the historical contemporaneous period, for example: the amount of metal in aluminum is detected or reserved in the month of january. The resource extreme value item represents an item with an extreme value of the content of a certain kind of resource, such as: the maximum value of the metal content of copper in the month of January in the past is 300KG, and the minimum value is 100KG.
Explainably, the extracting corresponding project data in the resource data set to be visualized according to the preset display project includes:
determining a project data extraction index according to the display project;
and extracting corresponding project data in the resource data set to be visualized according to the project data extraction indexes.
Understandably, the project data extraction index refers to the type index of the data needing to be extracted, such as: if the resource change rate of a certain type of resource needs to be calculated, the change slope of the distribution function of the type of resource needs to be extracted.
It should be appreciated that said calculating presentation data for said presentation item from said item data comprises:
selecting a corresponding project formula in a pre-constructed project formula set according to the project category of the project data;
and calculating the display data of the display item by using the item formula according to the item data.
Explicably, the set of project formulas may include: a resource change rate project formula, a contemporaneous resource change formula and a resource extreme value extraction formula.
It should be understood that the display data of different display items need to extract related item data extraction index data in corresponding distribution functions, and then calculate the display data by combining corresponding item formulas. The resource change rate project formula can be
Figure 414516DEST_PATH_IMAGE010
Wherein
Figure 357064DEST_PATH_IMAGE011
Representing the rate of change of the resource, and f (x) representing the change of the content of the resource with time.
In detail, the creating a widget of a resource data list to be visualized according to the resource data list to be visualized includes:
acquiring component attribute information, extracting the general basic component, the system configuration component and the service function component from a pre-constructed component integration system according to the component attribute information, and generating an index address;
selecting a subassembly set of a system configuration assembly, and loading the resource data set to be visualized by using the subassembly set to obtain configuration page data of the widget;
rendering the configuration page data to obtain a widget configuration page, extracting code blocks of the widget configuration page, and extracting component index function blocks from the code blocks;
and taking the index address as the parameter of the component index function block, and combining the component index function block comprising the index address and the widget configuration page to obtain the widget of the resource data list to be visualized.
It should be explained that the component attribute information mainly includes component types, component addresses, and the like, and various components can be extracted from the component integration system through the component attribute information, and the various components mainly include a general basic component, a system configuration component, and a service function component.
It can be explained that the widgets of the data list include a general basic component, and the general basic component includes a configuration page, in the embodiment of the present invention, each component can be dynamically configured through the configuration page, therefore, in order to complete the connection between the configuration page and each component, it is necessary to extract a component index function block from a code block of the configuration page, and take the component index address as a parameter of the component index function block, thereby completing the connection between the configuration page and each component. In addition, the identification ID of the widget is mainly used to distinguish the widget.
Further, the rendering the configuration page data to obtain a widget configuration page includes:
reading HTML bytes of configuration page data by using a browser, wherein the HTML bytes can generate a widget configuration page;
converting the HTML bytes into HTML characters and generating a Token, wherein the Token comprises StartTag, head, tag, meta and EndTag, head;
and generating a document object model according to the Token and the HTML characters, loading the index address to the document object model, and rendering the successfully loaded document object model to obtain a widget configuration page.
It can be understood that the document object model, abbreviated as DOM, can directly generate a widget configuration page.
S7, opening a pre-constructed view container, loading the widget with the identification ID by using the view container, extracting a resource data list to be visualized from the widget when the loading is successful, and storing the resource data list to be visualized to the XML document.
It can be understood that the view container can use a Flex view container, wherein the Flex view container is a WebGIS program framework written by Flex technology, and the widget comprises a series of components, so that the widget with the identification ID can be loaded through the Flex view container, and the resource data list to be visualized is extracted from the widget and then stored in the XML document.
And S8, rendering the widgets of the identification IDs, and extracting the XML documents to form a resource rendering graph during rendering, wherein the resource rendering graph shows the distribution situation of the resource data of the historical time period and the current time period.
Understandably, in order to vividly show the distribution situation of the resource data of the historical time period and the current time period, the resource rendering graph can be used for rendering, and a resource dynamic change graph, a resource prediction graph and the like can be made according to the needs.
In order to solve the problems in the background art, the embodiments of the present invention achieve the classified display of resource data through a pre-constructed non-renewable resource collection platform, an renewable resource collection platform, and a renewable resource collection platform, after resource data of each category is obtained, a corresponding current non-renewable resource distribution function, a current renewable resource distribution function, a historical non-renewable resource distribution function, a historical renewable resource distribution function, and a historical renewable resource distribution function need to be fitted, a resource data set to be visualized is selected through the divergence value, and the resource data set to be visualized is rendered and displayed. Therefore, the method and the device for constructing the natural resource integration platform can improve the construction efficiency of the natural resource integration platform.
Fig. 2 is a functional block diagram of a natural resource integration platform building apparatus according to an embodiment of the present invention.
The natural resource integrated platform construction apparatus 100 according to the present invention may be installed in an electronic device. According to the implemented functions, the natural resource integration platform construction device 100 may include a resource collection platform construction module 101, a current resource distribution function fitting module 102, a historical resource distribution function fitting module 103, a widget creation module 104, and a resource rendering map display module 105. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
The resource collection platform construction module 101 is configured to receive a natural resource aggregation instruction, generate a natural resource collection instruction according to the natural resource aggregation instruction, and send the natural resource collection instruction to a pre-constructed non-renewable resource collection platform, a renewable resource collection platform, and a renewable resource collection platform;
the current resource distribution function fitting module 102 is configured to collect non-updatable resource data, and renewable resource data of a current time period from a non-updatable resource collection platform, an updatable resource collection platform, and a renewable resource collection platform, respectively; respectively fitting the non-renewable resource data, the renewable resource data and the renewable resource data in the current time period to obtain a corresponding current non-renewable resource distribution function, a current renewable resource distribution function and a current renewable resource distribution function;
the historical resource distribution function fitting module 103 is configured to obtain non-updatable resource data, and renewable resource data of a historical time period, and respectively fit the non-updatable resource data, the updatable resource data, and the renewable resource data of the historical time period to obtain a historical non-updatable resource distribution function, a historical updateable resource distribution function, and a historical renewable resource distribution function;
the widget creating module 104 is configured to calculate a current non-renewable resource distribution function and a historical non-renewable resource distribution function, a current renewable resource distribution function and a historical renewable resource distribution function, respectively, and a variance value of the current non-renewable resource distribution function and the historical renewable resource distribution function; selecting resource data with divergence values larger than a specified threshold value to obtain a resource data set to be visualized, generating a resource data list to be visualized based on the resource data set to be visualized, and creating widgets of the resource data list to be visualized and identification IDs of the widgets according to the resource data list to be visualized;
the resource rendering graph display module 105 is configured to open a pre-constructed view container, load a widget with an identification ID by using the view container, extract a resource data list to be visualized from the widget when the loading is successful, and store the resource data list to be visualized to an XML document; and rendering the widgets of the identification IDs, and extracting the XML documents to form a resource rendering graph during rendering, wherein the resource rendering graph shows the distribution condition of the resource data of the historical time period and the current time period.
In detail, when the modules in the natural resource integration platform building apparatus 100 according to the embodiment of the present invention are used, the same technical means as the block chain-based product supply chain management method described in fig. 1 above are adopted, and the same technical effects can be produced, which is not described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A natural resource integration platform construction method is characterized by comprising the following steps:
receiving a natural resource aggregation instruction, generating a natural resource collection instruction according to the natural resource aggregation instruction, and sending the natural resource collection instruction to a non-renewable resource collection platform, a renewable resource collection platform and a renewable resource collection platform which are pre-constructed;
respectively collecting non-updatable resource data, updatable resource data and renewable resource data of the current time period from the non-updatable resource collection platform, the updatable resource collection platform and the renewable resource collection platform;
respectively fitting the non-renewable resource data, the renewable resource data and the renewable resource data in the current time period to obtain a corresponding current non-renewable resource distribution function, a current renewable resource distribution function and a current renewable resource distribution function;
acquiring non-updatable resource data, updatable resource data and renewable resource data of a historical time period, and respectively fitting the non-updatable resource data, the updatable resource data and the renewable resource data of the historical time period to obtain a historical non-updatable resource distribution function, a historical updatable resource distribution function and a historical renewable resource distribution function;
respectively calculating the divergence values of a current non-renewable resource distribution function and a historical non-renewable resource distribution function, a current renewable resource distribution function and a historical renewable resource distribution function;
selecting resource data with divergence value larger than a designated threshold value to obtain a resource data set to be visualized, generating a resource data list to be visualized based on the resource data set to be visualized, and creating widgets of the resource data list to be visualized and identification IDs of the widgets according to the resource data list to be visualized;
opening a pre-constructed view container, loading a widget with an identification ID (identity), when the widget is successfully loaded, extracting a resource data list to be visualized from the widget, and storing the resource data list to be visualized to an XML (extensive markup language) document;
and rendering the widgets of the identification IDs, and extracting the XML documents to form a resource rendering graph during rendering, wherein the resource rendering graph shows the distribution condition of the resource data of the historical time period and the current time period.
2. The natural resource integration platform construction method according to claim 1, wherein the resource data list to be visualized comprises a header area, a search area, an addition area, a global operation area, a data list display area and a data column operation area, and the widgets of the data list comprise a general basic component, a system configuration component and a business function component.
3. The natural resource integration platform construction method according to claim 2, wherein the creating of the widget of the resource data list to be visualized according to the resource data list to be visualized includes:
acquiring component attribute information, extracting the general basic component, the system configuration component and the service function component from a pre-constructed component integration system according to the component attribute information, and generating an index address;
selecting a subassembly set of a system configuration assembly, and loading the resource data set to be visualized by using the subassembly set to obtain configuration page data of the widget;
rendering the configuration page data to obtain a widget configuration page, extracting code blocks of the widget configuration page, and extracting component index function blocks from the code blocks;
and taking the index address as the parameter of the component index function block, and combining the component index function block comprising the index address and the widget configuration page to obtain the widget of the resource data list to be visualized.
4. The natural resource integration platform construction method of claim 3, wherein the rendering the configuration page data to obtain a widget configuration page comprises:
reading HTML bytes of configuration page data by using a browser, wherein the HTML bytes can generate a widget configuration page;
converting the HTML bytes into HTML characters and generating a Token, wherein the Token comprises StartTag, head, tag, meta and EndTag, head;
and generating a document object model according to the Token and the HTML characters, loading the index address to the document object model, and rendering the successfully loaded document object model to obtain a widget configuration page.
5. The natural resource integration platform construction method according to claim 1, wherein the divergence value is calculated by:
the dispersion value is calculated using the formula:
Figure 932564DEST_PATH_IMAGE001
wherein, the first and the second end of the pipe are connected with each other,
Figure 499943DEST_PATH_IMAGE002
representing a current non-renewable resource distribution function, a current renewable resource distribution function or a current renewable resource distribution function,
Figure 236954DEST_PATH_IMAGE003
representing a historical non-renewable resource distribution function, a historical renewable resource distribution function or a historical renewable resource distribution function,
Figure 822657DEST_PATH_IMAGE004
the value of the dispersion is expressed as,
Figure 564085DEST_PATH_IMAGE005
the sign of the integral is indicated.
6. The natural resource integration platform construction method according to claim 1, wherein the generating a resource data list to be visualized based on the resource data set to be visualized comprises:
extracting corresponding project data from the resource data set to be visualized according to a preset display project;
calculating the display data of the display item according to the item data;
and constructing the resource data list to be visualized according to the display data of the display item.
7. The natural resource integration platform construction method according to claim 6, wherein the extracting corresponding project data in the resource data set to be visualized according to a preset display project comprises:
determining a project data extraction index according to the display project;
and extracting corresponding project data in the resource data set to be visualized according to the project data extraction indexes.
8. The natural resource integration platform construction method of claim 6, wherein the calculating presentation data of the presentation item from the item data comprises:
selecting a corresponding project formula in a pre-constructed project formula set according to the project category of the project data;
and calculating the display data of the display item by using the item formula according to the item data.
9. The natural resource integration platform construction method of claim 8, wherein the set of project formulas includes: a resource change rate formula, a contemporaneous resource change formula and a resource extreme value extraction formula.
10. A natural resource integrated platform construction apparatus, comprising:
the resource collection platform construction module is used for receiving a natural resource aggregation instruction, generating a natural resource collection instruction according to the natural resource aggregation instruction, and sending the natural resource collection instruction to a pre-constructed non-renewable resource collection platform, a renewable resource collection platform and a renewable resource collection platform;
the current resource distribution function fitting module is used for respectively collecting the non-renewable resource data, the renewable resource data and the renewable resource data in the current time period from the non-renewable resource collection platform, the renewable resource collection platform and the renewable resource collection platform; respectively fitting the non-renewable resource data, the renewable resource data and the renewable resource data in the current time period to obtain a corresponding current non-renewable resource distribution function, a current renewable resource distribution function and a current renewable resource distribution function;
the historical resource distribution function fitting module is used for acquiring the non-updatable resource data, the updatable resource data and the renewable resource data of the historical time period, respectively fitting the non-updatable resource data, the updatable resource data and the renewable resource data of the historical time period, and obtaining a historical non-updatable resource distribution function, a historical updatable resource distribution function and a historical renewable resource distribution function;
the widget creating module is used for respectively calculating the current non-renewable resource distribution function and the historical non-renewable resource distribution function, the current renewable resource distribution function and the historical renewable resource distribution function; selecting resource data with divergence values larger than a specified threshold value to obtain a resource data set to be visualized, generating a resource data list to be visualized based on the resource data set to be visualized, and creating widgets of the resource data list to be visualized and identification IDs of the widgets according to the resource data list to be visualized;
the resource rendering graph display module is used for opening a pre-constructed view container, loading the widget with the identification ID by using the view container, extracting a resource data list to be visualized from the widget when the loading is successful, and storing the resource data list to be visualized to the XML document; and rendering the widgets of the identification IDs, and extracting the XML documents during rendering to form a resource rendering graph, wherein the resource rendering graph shows the distribution condition of the resource data of the historical time period and the current time period.
CN202211341266.3A 2022-10-31 2022-10-31 Natural resource integration platform construction method and device Active CN115392887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211341266.3A CN115392887B (en) 2022-10-31 2022-10-31 Natural resource integration platform construction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211341266.3A CN115392887B (en) 2022-10-31 2022-10-31 Natural resource integration platform construction method and device

Publications (2)

Publication Number Publication Date
CN115392887A true CN115392887A (en) 2022-11-25
CN115392887B CN115392887B (en) 2023-04-18

Family

ID=84114970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211341266.3A Active CN115392887B (en) 2022-10-31 2022-10-31 Natural resource integration platform construction method and device

Country Status (1)

Country Link
CN (1) CN115392887B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014051435A2 (en) * 2012-09-25 2014-04-03 Opera Software Asa Information management and display in web browsers
CN105069020A (en) * 2015-07-14 2015-11-18 国家信息中心 3D visualization method and system of natural resource data
CN112534452A (en) * 2018-05-06 2021-03-19 强力交易投资组合2018有限公司 Method and system for improving machines and systems for automatically performing distributed ledger and other transactions in spot and forward markets for energy, computing, storage, and other resources
CN112669456A (en) * 2021-02-03 2021-04-16 江苏中天吉奧信息技术股份有限公司 Visualization method and system for three-dimensional natural resources
CN113032364A (en) * 2021-03-22 2021-06-25 中国电子科技集团公司第三十八研究所 Data service platform visual management tool, method and application based on resource tree
CN113158101A (en) * 2020-12-31 2021-07-23 京东数字科技控股股份有限公司 Visual page rendering method, device, equipment and storage medium
CN113918669A (en) * 2021-09-07 2022-01-11 南京国诚土地整治研究院有限公司 Device and method for realizing natural resource homeland space planning one-map system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014051435A2 (en) * 2012-09-25 2014-04-03 Opera Software Asa Information management and display in web browsers
CN105069020A (en) * 2015-07-14 2015-11-18 国家信息中心 3D visualization method and system of natural resource data
CN112534452A (en) * 2018-05-06 2021-03-19 强力交易投资组合2018有限公司 Method and system for improving machines and systems for automatically performing distributed ledger and other transactions in spot and forward markets for energy, computing, storage, and other resources
CN113158101A (en) * 2020-12-31 2021-07-23 京东数字科技控股股份有限公司 Visual page rendering method, device, equipment and storage medium
CN112669456A (en) * 2021-02-03 2021-04-16 江苏中天吉奧信息技术股份有限公司 Visualization method and system for three-dimensional natural resources
CN113032364A (en) * 2021-03-22 2021-06-25 中国电子科技集团公司第三十八研究所 Data service platform visual management tool, method and application based on resource tree
CN113918669A (en) * 2021-09-07 2022-01-11 南京国诚土地整治研究院有限公司 Device and method for realizing natural resource homeland space planning one-map system

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
DONG SHIWEI: ""Design and implementation of Beijing suburban natural resources and socio-economic information management platform"", 《2012 FIRST INTERNATIONAL CONFERENCE ON AGRO- GEOINFORMATICS (AGRO-GEOINFORMATICS)》 *
ZHIHUI YI: ""Study on the coordinating development of regional economy and environment"", 《2011 INTERNATIONAL SYMPOSIUM ON WATER RESOURCE AND ENVIRONMENTAL PROTECTION》 *
何超等: "基于本体的馆藏数字资源语义聚合与可视化研究", 《情报理论与实践》 *
张涵: ""上饶市广信区国土空间规划"...张图"实施监督信息***探索"", 《地理信息世界》 *
***等: "遥感地质勘查技术与应用研究", 《地质学报》 *
韩昕熠: ""基于Cesium的多维动态可视化技术研究"", 《中国优秀硕士学位论文全文数据库(电子期刊)基础科学辑》 *
魏晓辉等: "支持大规模地震探测数据快速可视化的云端数据缓存技术", 《吉林大学学报(理学版)》 *

Also Published As

Publication number Publication date
CN115392887B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
US9390391B2 (en) System and method for benchmarking environmental data
CN108197132B (en) Graph database-based electric power asset portrait construction method and device
CN104951489B (en) A kind of meteorological data analyzing and processing method applied to power system
WO2022048211A1 (en) Document directory generation method and apparatus, electronic device and readable storage medium
CN103095823A (en) Object description method and object information interaction system in Internet of Things system
CN101799753B (en) Method and device for realizing tree structure
CN102096688A (en) Method and device for generating data report
WO2011050447A1 (en) Systems and methods for computing emission values
CN113032403B (en) Data insight method, device, electronic equipment and storage medium
CN111340240A (en) Method and device for realizing automatic machine learning
CN116860856A (en) Financial data processing method and device, computer equipment and storage medium
CN111444368B (en) Method and device for constructing user portrait, computer equipment and storage medium
CN115392887B (en) Natural resource integration platform construction method and device
CN112069808A (en) Financing wind control method and device, computer equipment and storage medium
CN117251490A (en) Data query method, device, computer equipment and storage medium
CN116755688A (en) Component processing method, device, computer equipment and storage medium
CN111414404A (en) Data visualization device and method
CN115456413A (en) Method, device and equipment for matching personnel with posts and storage medium
CN115455106A (en) Power distribution monitoring method, service platform, equipment and storage medium for power distribution operation and maintenance
CN114049036A (en) Data computing platform, method, device and storage medium
CN112084281B (en) Method, device, computer equipment and storage medium for drawing survey grid
CN117216339A (en) Digital twinning-based electronic sand table system construction method and device
CN112463760B (en) Information processing method, apparatus, computer device, and storage medium
CN117874498B (en) Intelligent forestry big data system, method, equipment and medium based on data lake
Sáenz-Peñafiel et al. A Comprehensive Solution for Electrical Energy Demand Prediction Based on Auto-Regressive Models

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230324

Address after: 330000 No. 76, NANLIAN Road, Qingyunpu District, Nanchang City, Jiangxi Province

Applicant after: Geographic Information Engineering Team of Jiangxi Provincial Bureau of Geology

Address before: No. 76, NANLIAN Road, Nanchang, Jiangxi 330000

Applicant before: General survey brigade of Jiangxi Coalfield Geology Bureau

GR01 Patent grant
GR01 Patent grant