A blockchain visualization method and system based on rural data
By classifying rural data and selecting reasonable display methods, the problem of unreasonable visual display of rural data in the existing technology is solved, and a user-friendly and intuitive data browsing experience is achieved.
Patent Information
- Application Number
- CN202510828946.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2045-06-20
AI Technical Summary
The lack of reasonable arrangement of existing technologies in the visual display of multi-source rural data has made it difficult for users to quickly know the key points, low reading efficiency, and poor user experience.
By classifying rural data to generate three visual sections: Environment, economy and people's livelihood, combining user network bandwidth and request instructions, a reasonable display method is selected, and the section sorting and highlighting area judgment is achieved based on data attributes and number of clicks, to achieve intuitive data display.
It improves the browsing efficiency of the user side, enables users to quickly reach the required content, and improves the intuitiveness and user experience of data display.
Smart Images

Figure CN120336420B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data visualization technology, and in particular to a blockchain visualization method and system based on rural data. Background Art
[0002] With the acceleration of rural digital transformation, data on agricultural production, resource allocation, population mobility, and economic transactions is growing exponentially. However, traditional data management models face challenges such as data silos, questionable authenticity, and a lack of sharing mechanisms. Blockchain technology, with its decentralized, tamper-proof, and traceable nature, provides technical support for building a trusted rural data ecosystem. It can effectively address pain points such as information asymmetry and ownership disputes. Visualization technology, as a data value converter, can transform encrypted on-chain data into intuitive formats such as dynamic charts and three-dimensional geographic information maps. This helps local governments, farmers, and market players gain real-time insights into rural resource distribution, industrial trends, and governance effectiveness, providing a scientific basis for precise decision-making.
[0003] However, when visualizing multi-source data, the data is usually arranged randomly without reasonable arrangement among a large amount of data, which makes it difficult for users to quickly understand the focus of the current display, resulting in low reading efficiency and poor user experience. Summary of the Invention
[0004] The purpose of the present invention is to provide a blockchain visualization method and system based on rural data to solve the above-mentioned problems in the prior art.
[0005] The present invention is achieved through the following technical solutions:
[0006] In a first aspect, the present invention provides a blockchain visualization method based on rural data, comprising:
[0007] Obtain basic data of the target village, classify the basic data by the field to which it belongs to obtain several data sets in the same group, and generate several target sections that need to be visualized based on the divided data sets. The target sections include an environmental visualization section, an economic visualization section, and a people's livelihood visualization section.
[0008] Obtaining a request instruction from the user end and the user end network bandwidth, establishing a display mode selection model, outputting a selection index through the display mode selection model based on the user end network bandwidth and basic attributes of the target panel, and selecting a current visualization display mode based on the selection index, wherein the visualization display mode includes link display or map display in the initial interface;
[0009] If the currently selected display mode is link display, determine whether the current request instruction is the first access. If not, obtain the number of times each target block is clicked in the current user terminal, and display the target blocks in descending order of the number of times each target block is clicked;
[0010] If so, the data attributes of each target section are obtained, an evaluation model is established, and an evaluation value is output through the evaluation model based on the data attributes of each target section. The target sections are sorted based on their evaluation values, and the display order of the target sections is output.
[0011] Preferably, including:
[0012] The link display includes obtaining keywords of the target section, displaying links with keywords as titles on the initial interface, and establishing connections between the keywords and the content to be displayed in the target section;
[0013] The map display includes dividing the target village area into a GIS map, which is displayed on the initial interface in the form of a GIS map. Several blank target blocks are established in each area, and the data sets in each target block are divided according to the area to which they belong. The divided data sets are written into the blank target blocks of the corresponding areas.
[0014] Preferably, it also includes:
[0015] If the current display mode is map display, set the search time limit to obtain the target text data based on the announcements on the official government website of the villages within the search time limit;
[0016] Keywords for the environmental visualization section, economic visualization section, and people's livelihood visualization section are set respectively. Based on the presence of several keywords in the target text data, the keyword occurrence frequency is obtained. The total frequency of the corresponding target section is output according to the target section to which the keyword belongs.
[0017] Establish a highlighted area judgment model, output the judgment index for each area based on the total correlation frequency of the target plate and the basic data of the target plate in the area, and sort the judgment index;
[0018] The display brightness of different brightness values of the same color in each area is set accordingly according to the sorting results of the judgment index.
[0019] Preferably, generating the environment visualization panel includes writing environment data:
[0020] The environmental data includes soil moisture data, soil pH data, meteorological data, PM2.5 data and temperature data;
[0021] Generating the economic visualization panel includes writing economic data:
[0022] The economic data include per capita GDP data, industrial data, forestland economic assessment data, foreign investment data and logistics and warehousing data;
[0023] Generating the livelihood visualization section includes writing livelihood data:
[0024] The livelihood data include population growth rate data, population age structure data, pension data, villagers' credit data and livelihood project data.
[0025] Preferably, it also includes:
[0026] Encrypting target data and generating encrypted data, the target data includes soil moisture data and soil pH data of the environmental visualization panel, forest economic assessment data of the economic visualization panel, and villager credit data of the people's livelihood visualization panel;
[0027] Determine whether the user terminal corresponding to the current request instruction is a local user of the target village. If it is a local user, when receiving the request instruction to view the encrypted data, record the user information of the current user terminal and display the encrypted data;
[0028] If a non-local user receives a request to view encrypted data, access is denied.
[0029] Preferably, the encryption comprises:
[0030] The target data is processed by the AES encryption algorithm to obtain a random encryption sequence and define the subkey matrix of all target data;
[0031] Aggregate all sub-key matrices to generate a mixed key matrix, and operate the mixed key matrix through the AES encryption algorithm to obtain the ciphertext and session key;
[0032] When the user end of the current request instruction to view encrypted data is identified as a local user, the session key is sent to the current user end at the same time, the session key is decrypted using the ECC private key, and the ciphertext is decrypted using the decrypted session key to obtain the target data.
[0033] Preferably, the display mode selection model includes:
[0034] Obtaining basic attributes of the target plate, including the number of basic data in the target plate and the total data size of the target plate when displayed as a map, and the total data size of the target plate when displayed as a link;
[0035] When the total data size of the target block when displayed as a map is smaller than the total data size of the target block when displayed as a link;
[0036]
[0037] Then when When the initial interface is displayed as a map, When you select the initial interface, you can display it as a link.
[0038] When the total data size of the target block when displayed as a map is greater than or equal to the total data size of the target block when displayed as a link, the initial interface is selected to be displayed as a map;
[0039] Where, is the user-side network bandwidth value, The total data size of the target plate when displayed on a map. is the number of basic data in the environment visualization section, is the number of basic data in the economic visualization section, is the total number of basic data, is the judgment threshold.
[0040] Preferably, the establishing of the evaluation model includes:
[0041] The data attributes include text attributes, image attributes and video attributes, and the calculation weights of the environmental visualization section, the economic visualization section and the people's livelihood visualization section are set based on the data attributes respectively;
[0042]
[0043] Where, is the evaluation value, For the The calculation weight of the target section for data attributes that are text attributes, For the The target section has a calculation weight for the data attribute of the image attribute. For the The calculation weight of the target section for data attributes that are text attributes, For the The number of target blocks with data attributes that are text attributes. For the The number of target blocks with data attributes that are image attributes, For the The number of target sections whose data attributes are video attributes.
[0044] Preferably, the step of establishing a highlight area judgment model includes:
[0045]
[0046] Where, For the The judgment index of the region, is the frequency of occurrence of all keywords, For the The total frequency of association of target sectors, For the In the region The number of basic data in the target section, is the number of target sectors.
[0047] In a second aspect, the present invention further provides a blockchain visualization system based on rural data, comprising:
[0048] The data acquisition module is configured to obtain basic data of the target village, classify the basic data according to the field to which it belongs to obtain a number of data sets in the same group, and generate a number of target sections that need to be visualized based on the divided data sets, including an environmental visualization section, an economic visualization section, and a people's livelihood visualization section;
[0049] A selection module is configured to obtain a request instruction from a user terminal and a network bandwidth of the user terminal, establish a display mode selection model, output a selection index through the display mode selection model based on the network bandwidth of the user terminal and basic attributes of the target block, and select a current visualization display mode based on the selection index, wherein the visualization display mode includes a link display or a map display in the initial interface;
[0050] The display module is configured to, if the currently selected display mode is link display, determine whether the current request instruction is the first access; if not, obtain the number of times each target panel in the current user terminal has been clicked, and display the target panels in descending order of the number of times each target panel has been clicked; if so, obtain the data attributes of each target panel, establish an evaluation model, output an evaluation value based on the data attributes of each target panel through the evaluation model, sort the target panels based on the evaluation values, and output the display order of the target panels;
[0051] The main control module is connected to the data acquisition module, the selection module and the display module, and is used to execute the above-mentioned blockchain visualization method based on rural data.
[0052] The technical solution of the present invention has at least the following advantages and beneficial effects:
[0053] The method provided by the present invention mainly includes obtaining basic data of the target village, classifying the basic data according to the field to which it belongs to obtain several data sets of the same group, generating several target sections that need to be visualized based on the divided data sets, establishing an evaluation model, outputting an evaluation value through the evaluation model based on the data attributes of each target section, and sorting the target sections based on the evaluation values to output the display order of the target sections. Through the above method, a more reasonable display method is provided according to the user's operation or the analysis of the village data, which can enable the user end to display the content that the user wants to browse quickly, or highlight the content to be displayed, which can improve browsing efficiency to a certain extent and obtain effective information for the user in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0055] Figure 1 It is a schematic diagram of the process of the present invention;
[0056] Figure 2 A visual diagram showing the links of the present invention;
[0057] Figure 3 A schematic diagram showing a visualization of a map of the present invention. DETAILED DESCRIPTION
[0058] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.
[0059] The division of modules in this application is a logical division. In actual application, there may be other division methods. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
[0060] Independently described modules or submodules may or may not be physically separate; they may be implemented in software or hardware. Some modules or submodules may be implemented in software, with the processor invoking the software to implement the functionality of these modules or submodules, while other modules or submodules may be implemented in hardware, such as hardware circuits. Furthermore, some or all of the modules may be selected based on actual needs to achieve the objectives of the present application.
[0061] Please refer to Figure 1-Figure 3 The present invention provides a blockchain visualization method based on rural data, including:
[0062] S101: Obtain basic data of a target village, classify the basic data by the fields to which it belongs to obtain a number of data sets in the same group, and generate a number of target sections that need to be visualized based on the divided data sets. The target sections include an environmental visualization section, an economic visualization section, and a people's livelihood visualization section.
[0063] In this embodiment, the fields to which the basic data belong are divided into three major sections, including environment, economy and people's livelihood. The specific classification can be obtained by setting different standards according to technical personnel in this field, which is a free choice of technical personnel in this field and will not be described in detail in this invention.
[0064] Generating the environmental visualization panel includes writing environmental data, which includes soil moisture data, soil pH data, meteorological data, PM2.5 data, and temperature data;
[0065] Generating the economic visualization section includes writing economic data, including per capita GDP data, industrial data, forestland economic assessment data, foreign investment data, and logistics and warehousing data;
[0066] Generating the people's livelihood visualization section includes writing people's livelihood data, which includes population growth rate data, population age structure data, pension data, villagers' credit data and people's livelihood project data. People's livelihood project data can be rural infrastructure data, rural water and electricity project data, etc.
[0067] S102: Obtaining a request instruction from the user terminal and the network bandwidth of the user terminal, establishing a display mode selection model, outputting a selection index through the display mode selection model based on the network bandwidth of the user terminal and basic attributes of the target panel, and selecting a current visualization display mode based on the selection index, wherein the visualization display mode includes link display or map display in the initial interface;
[0068] In this embodiment, two visual display methods are provided. One is the common link display, that is, obtaining the keywords of the target section, and displaying the link with the keyword as the title on the initial interface, and establishing a connection between the keyword and the content to be displayed in the target section.
[0069] When reflected to the specific user end, only the keywords are displayed. After clicking the keyword, the content connected with the keyword is transmitted between the server end. The advantage of this display is that it puts less pressure on the network bandwidth of the user end and can be browsed quickly, but it is not intuitive enough.
[0070] Map display includes dividing the target village area into GIS maps, which are displayed on the initial interface in the form of GIS maps. Several blank target blocks are established in each area, and the data sets in each target block are divided according to the area to which they belong. The divided data sets are written into the blank target blocks of the corresponding areas.
[0071] What is reflected on the specific user side is that when you click on an area in the GIS map, the target section of that area will appear. Each target section stores the corresponding basic data. The user can directly click to view the data of the section they want to read. The advantage of this display is that you can more intuitively know the location of the basic data you want to obtain, but the GIS map puts a lot of pressure on the network bandwidth of the user side.
[0072] Therefore, this embodiment provides a display mode selection model, comprehensively considering the current user terminal situation and providing a more reasonable selection mode.
[0073] S103: If the currently selected display mode is link display, determine whether the current request instruction is the first access. If not, obtain the number of times each target block in the current user terminal has been clicked, and display the target blocks in descending order of the number of times each target block has been clicked;
[0074] In this embodiment, the display method of each target section is analyzed. If the current request instruction is not the first access, the number of clicks on each section can be obtained based on the historical browsing records of the user terminal. This can intuitively know the current user's browsing preferences, allowing users to quickly obtain the content they want.
[0075] S104: If yes, then obtain the data attributes of each target section, establish an evaluation model, output an evaluation value through the evaluation model based on the data attributes of each target section, sort the target sections based on their evaluation values, and output a display order for the target sections.
[0076] If it is the first time for the user to access the backend server, since there is no historical data, it is necessary to evaluate the content of each target section based on the local situation. According to the size of the evaluation result, the target section will be displayed from the first line of the first page of the user terminal to the back.
[0077] The method provided by the present invention mainly includes obtaining basic data of the target village, classifying the basic data according to the field to which it belongs to obtain several data sets of the same group, generating several target sections that need to be visualized based on the divided data sets, establishing an evaluation model, outputting an evaluation value through the evaluation model based on the data attributes of each target section, and sorting the target sections based on the evaluation values to output the display order of the target sections. Through the above method, a more reasonable display method is provided according to the user's operation or the analysis of the village data, which can enable the user end to display the content that the user wants to browse quickly, or highlight the content to be displayed, which can improve browsing efficiency to a certain extent and obtain effective information for the user in a timely manner.
[0078] An exemplary embodiment of the present invention further includes:
[0079] S201: If the currently selected display mode is map display, set a search time limit range, and obtain target text data based on announcements on government official websites of villages within the search time limit;
[0080] Among them, the search time range in this solution specifically refers to a range of announcement issuance dates. For example, in this embodiment, it is necessary to obtain government official website announcements from October 2024 to January 2025, then October 2024 to January 2025 is the search time range of this solution. To obtain the target text data, text recognition and other technologies can be used to obtain the desired text.
[0081] S202: setting keywords for the environmental visualization section, the economic visualization section, and the people's livelihood visualization section, searching for the keywords in the target text data, obtaining the frequency of occurrence of the keywords, and outputting the total frequency of the keywords associated with the target section according to the target section to which the keywords belong;
[0082] The keywords for the environmental visualization section, the economic visualization section, and the people's livelihood visualization section can be set by those skilled in the art. For example, keywords for the environmental visualization section can be temperature, pollution, humidity, etc. The frequency of occurrence of these keywords is then counted and summarized under each target section to obtain the frequency of occurrence of the keywords for each target section, i.e., the total frequency associated with each target section.
[0083] S203: Establishing a highlighted region judgment model, outputting a judgment index for each region based on the total association frequency of the target plate and the basic data of the target plate in the region through the highlighted region judgment model, and ranking the judgment indexes;
[0084] S204: Setting the display brightness of different brightness values of the same color in each area according to the sorting result of the judgment index.
[0085] According to the above scheme, the target text data obtained from the government official website announcement can be used to count keywords to feedback the current emphasis of the village on the environment, economy or people's livelihood, and then the emphasis of each area can be judged through the highlight area judgment model to reflect the strength or weakness of each area's correlation with the current village government announcement. Specifically, on the visual display interface, each area is marked with different brightness values of the same color to highlight the differences between each area, making the user more intuitive to the current GIS map visualization interface.
[0086] In an exemplary embodiment of the present invention, in this embodiment, some data is not convenient for opening to the outside world and can only be opened to local users in the current village. Therefore, some data needs to be encrypted and verified through the local user's account to determine whether the data is open to the public. Specifically, the following are included:
[0087] Encrypting target data and generating encrypted data, the target data includes soil moisture data and soil pH data of the environmental visualization panel, forest economic assessment data of the economic visualization panel, and villager credit data of the people's livelihood visualization panel;
[0088] Determine whether the user terminal corresponding to the current request instruction is a local user of the target village. If it is a local user, when receiving the request instruction to view the encrypted data, record the user information of the current user terminal and display the encrypted data;
[0089] If a non-local user receives a request to view encrypted data, access is denied.
[0090] Furthermore, encryption involves:
[0091] The target data is processed by the AES encryption algorithm to obtain a random encryption sequence and define the subkey matrix of all target data;
[0092]
[0093] Where, For the Random encryption sequence of order, is the number of elements contained in the key matrix, is the encryption function.
[0094] Aggregate all sub-key matrices to generate a mixed key matrix, and operate the mixed key matrix through the AES encryption algorithm to obtain the ciphertext and session key;
[0095] When the user end of the current request instruction to view encrypted data is identified as a local user, the session key is sent to the current user end at the same time, the session key is decrypted using the ECC private key, and the ciphertext is decrypted using the decrypted session key to obtain the target data.
[0096] Secondly, when encrypting and decrypting the AES session key, the receiver must draw an appropriate elliptic curve and transmit it to the sender simultaneously with the randomly selected private key. The sender can calculate two points after combining a random integer with the ECC algorithm.
[0097]
[0098] Where, and are two points on the ellipse, 、 and There are three different sub-key matrices, is a known point, is a random integer, is the public key, is the base point on the ellipse.
[0099] In the digital signature stage of the hybrid encryption algorithm, a secure hash function is used to obtain the hash function corresponding to the original data, and then the digital signature is completed by combining the parameters generated based on the elliptic curve, a randomly selected integer, and a large prime number.
[0100] In an exemplary embodiment of the present invention, the presentation mode selection model includes:
[0101] Obtaining basic attributes of the target plate, including the number of basic data in the target plate and the total data size of the target plate when displayed as a map, and the total data size of the target plate when displayed as a link;
[0102] When the total data size of the target block when displayed as a map is smaller than the total data size of the target block when displayed as a link;
[0103]
[0104] Then when When the initial interface is displayed as a map, When you select the initial interface, you can display it as a link;
[0105] In the above model, considering that the environmental visualization section and the economic visualization section will be better displayed with maps, we have added , that is, a floating change calculation weight, when and As the value increases, the entire Will decrease, then it will tend to be displayed on the map. It can be set according to specific circumstances.
[0106] When the total data size of the target block when displayed as a map is greater than or equal to the total data size of the target block when displayed as a link, the initial interface is selected to be displayed as a map;
[0107] Since the display effect is better when displayed through GIS map, if the total data size of the target block when displayed as a map is greater than or equal to the total data size of the target block when displayed as a link, the map display is directly selected.
[0108] Where, is the user-side network bandwidth value, The total data size of the target plate when displayed on a map. is the number of basic data in the environment visualization section, is the number of basic data in the economic visualization section, is the total number of basic data, is the judgment threshold.
[0109] In an exemplary embodiment of the present invention, establishing an evaluation model includes:
[0110] The data attributes include text attributes, image attributes and video attributes, and the calculation weights of the environmental visualization section, the economic visualization section and the people's livelihood visualization section are set based on the data attributes respectively;
[0111]
[0112] Where, is the evaluation value, For the The calculation weight of the target section for data attributes that are text attributes, For the The target section has a calculation weight for the data attribute of the image attribute. For the The calculation weight of the target section for data attributes that are text attributes, For the The number of target blocks with data attributes that are text attributes. For the The number of target blocks with data attributes that are image attributes, For the The number of target sections whose data attributes are video attributes.
[0113] In this embodiment, if ,The first target section is the environment visualization section. Considering that the environment visualization section may have a better effect through pictures, , the text effect is second, the video effect is poor, , The rest of the target sectors can be set in the same way. Those skilled in the art can set the calculation weights under a unified standard and finally obtain an objective evaluation value for comparison.
[0114] Secondly, in this embodiment, the evaluation values are sorted from large to small, and the target section is displayed from the first row of the first page of the user terminal to the back according to the sorting result.
[0115] In an exemplary embodiment of the present invention, establishing a highlight region determination model includes:
[0116]
[0117] Where, For the The judgment index of the region, is the frequency of occurrence of all keywords, For the The total frequency of association of target sectors, For the In the region The number of basic data in the target section, is the number of target sectors.
[0118] in, It can also be understood as a calculation weight about emphasis. The sum of the calculation scores of several target panels in a region is used to output the judgment index of the current region. The regions are sorted according to the size of the judgment index, and different brightness values equal to the number of regions are set. The regions with the sorting results are displayed from high to low in the display range on the display end.
[0119] A blockchain visualization system based on rural data, including:
[0120] The data acquisition module is configured to obtain basic data of the target village, classify the basic data according to the field to which it belongs to obtain a number of data sets in the same group, and generate a number of target sections that need to be visualized based on the divided data sets, including an environmental visualization section, an economic visualization section, and a people's livelihood visualization section;
[0121] A selection module is configured to obtain a request instruction from a user terminal and a network bandwidth of the user terminal, establish a display mode selection model, output a selection index through the display mode selection model based on the network bandwidth of the user terminal and basic attributes of the target block, and select a current visualization display mode based on the selection index, wherein the visualization display mode includes a link display or a map display in the initial interface;
[0122] The display module is configured to, if the currently selected display mode is link display, determine whether the current request instruction is the first access; if not, obtain the number of times each target panel in the current user terminal has been clicked, and display the target panels in descending order of the number of times each target panel has been clicked; if so, obtain the data attributes of each target panel, establish an evaluation model, output an evaluation value based on the data attributes of each target panel through the evaluation model, sort the target panels based on the evaluation values, and output the display order of the target panels;
[0123] The main control module is connected to the data acquisition module, the selection module and the display module, and is used to execute the above-mentioned blockchain visualization method based on rural data.
[0124] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0125] If the integrated unit is implemented as a software functional unit and sold or used as a standalone product, it can be stored on a computer-readable storage medium. This computer software product, stored on a storage medium, includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0126] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A blockchain visualization method based on rural data, characterized in that: include: Obtain basic data of the target village, classify the basic data by the field to which it belongs to obtain several data sets in the same group, and generate several target sections that need to be visualized based on the divided data sets. The target sections include an environmental visualization section, an economic visualization section, and a people's livelihood visualization section. Obtaining a request instruction from the user end and the user end network bandwidth, establishing a display mode selection model, outputting a selection index through the display mode selection model based on the user end network bandwidth and basic attributes of the target panel, and selecting a current visualization display mode based on the selection index, wherein the visualization display mode includes link display or map display in the initial interface; If the currently selected display mode is link display, determine whether the current request instruction is the first access. If not, obtain the number of times each target block is clicked in the current user terminal, and display the target blocks in descending order of the number of times each target block is clicked; If so, obtain the data attributes of each target section, establish an evaluation model, output an evaluation value through the evaluation model based on the data attributes of each target section, sort the target sections based on their evaluation values, and output the display order of the target sections; The display mode selection model includes: Obtaining basic attributes of the target plate, including the number of basic data in the target plate and the total data size of the target plate when displayed as a map, and the total data size of the target plate when displayed as a link; When the total data size of the target block when displayed as a map is smaller than the total data size of the target block when displayed as a link; Then when When the initial interface is displayed as a map, When you select the initial interface, you can display it as a link. When the total data size of the target block when displayed as a map is greater than or equal to the total data size of the target block when displayed as a link, the initial interface is selected to be displayed as a map; Where, is the user-side network bandwidth value, The total data size of the target plate when displayed on a map. is the number of basic data in the environment visualization section, is the number of basic data in the economic visualization section, is the total number of basic data, is the judgment threshold; The establishment of the evaluation model comprises: The data attributes include text attributes, image attributes and video attributes, and the calculation weights of the environmental visualization section, the economic visualization section and the people's livelihood visualization section are set based on the data attributes respectively; Where, is the evaluation value, For the The calculation weight of the target section for data attributes that are text attributes, For the The target section has a calculation weight for the data attribute of the image attribute. For the The calculation weight of the target section for data attributes that are text attributes, For the The number of target blocks with data attributes that are text attributes. For the The number of target blocks with data attributes that are image attributes, For the The number of target sections whose data attributes are video attributes.
2. A blockchain visualization method based on rural data according to claim 1, characterized in that: include: The link display includes obtaining keywords of the target section, displaying links with keywords as titles on the initial interface, and establishing connections between the keywords and the content to be displayed in the target section; The map display includes dividing the target village area into a GIS map, which is displayed on the initial interface in the form of a GIS map. Several blank target blocks are established in each area, and the data sets in each target block are divided according to the area to which they belong. The divided data sets are written into the blank target blocks of the corresponding areas.
3. A blockchain visualization method based on rural data according to claim 2, characterized in that: Also includes: If the current display mode is map display, set the search time limit to obtain the target text data based on the announcements on the official government website of the villages within the search time limit; Keywords for the environmental visualization section, economic visualization section, and people's livelihood visualization section are set respectively. Based on the presence of several keywords in the target text data, the keyword occurrence frequency is obtained. The total frequency of the corresponding target section is output according to the target section to which the keyword belongs. Establish a highlighted area judgment model, output the judgment index for each area based on the total correlation frequency of the target plate and the basic data of the target plate in the area, and sort the judgment index; The display brightness of different brightness values of the same color in each area is set accordingly according to the sorting results of the judgment index.
4. A blockchain visualization method based on rural data according to claim 3, characterized in that: Generating the environment visualization panel includes writing environment data: The environmental data includes soil moisture data, soil pH data, meteorological data, PM2.5 data and temperature data; Generating the economic visualization panel includes writing economic data: The economic data include per capita GDP data, industrial data, forestland economic assessment data, foreign investment data and logistics and warehousing data; Generating the livelihood visualization section includes writing livelihood data: The livelihood data include population growth rate data, population age structure data, pension data, villagers' credit data and livelihood project data.
5. A blockchain visualization method based on rural data according to claim 4, characterized in that: Also includes: Encrypting target data and generating encrypted data, the target data includes soil moisture data and soil pH data of the environmental visualization panel, forest economic assessment data of the economic visualization panel, and villager credit data of the people's livelihood visualization panel; Determine whether the user terminal corresponding to the current request instruction is a local user of the target village. If it is a local user, when receiving the request instruction to view the encrypted data, record the user information of the current user terminal and display the encrypted data; If a non-local user receives a request to view encrypted data, access is denied.
6. A blockchain visualization method based on rural data according to claim 5, characterized in that: The encryption comprises: The target data is processed by the AES encryption algorithm to obtain a random encryption sequence and define the subkey matrix of all target data; Aggregate all sub-key matrices to generate a mixed key matrix, and operate the mixed key matrix through the AES encryption algorithm to obtain the ciphertext and session key; When the user end of the current request instruction to view encrypted data is identified as a local user, the session key is sent to the current user end at the same time, the session key is decrypted using the ECC private key, and the ciphertext is decrypted using the decrypted session key to obtain the target data.
7. A blockchain visualization method based on rural data according to claim 6, characterized in that: The establishment of the highlight area judgment model includes: Where, For the The judgment index of the region, is the frequency of occurrence of all keywords, For the The total frequency of association of target sectors, For the In the region The number of basic data in the target section, is the number of target sectors.
8. A blockchain visualization system based on rural data, characterized by: include: The data acquisition module is configured to obtain basic data of the target village, classify the basic data according to the field to which it belongs to obtain a number of data sets in the same group, and generate a number of target sections that need to be visualized based on the divided data sets, including an environmental visualization section, an economic visualization section, and a people's livelihood visualization section; A selection module is configured to obtain a request instruction from a user terminal and a network bandwidth of the user terminal, establish a display mode selection model, output a selection index through the display mode selection model based on the network bandwidth of the user terminal and basic attributes of the target block, and select a current visualization display mode based on the selection index, wherein the visualization display mode includes a link display or a map display in the initial interface; The display module is configured to, if the currently selected display mode is link display, determine whether the current request instruction is the first access; if not, obtain the number of times each target panel in the current user terminal has been clicked, and display the target panels in descending order of the number of times each target panel has been clicked; if so, obtain the data attributes of each target panel, establish an evaluation model, output an evaluation value based on the data attributes of each target panel through the evaluation model, sort the target panels based on the evaluation values, and output the display order of the target panels; A main control module is connected to the data acquisition module, the selection module and the display module, and is used to execute a blockchain visualization method based on rural data as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Terminal webpage display method and system
CN102650990A
Method and system for facilitating provisioning of social activity data to a mobile device based on user preferences
US20180216946A1