CN113567636B - Air quality display method, system and device - Google Patents
Air quality display method, system and device Download PDFInfo
- Publication number
- CN113567636B CN113567636B CN202110980554.2A CN202110980554A CN113567636B CN 113567636 B CN113567636 B CN 113567636B CN 202110980554 A CN202110980554 A CN 202110980554A CN 113567636 B CN113567636 B CN 113567636B
- Authority
- CN
- China
- Prior art keywords
- air quality
- data
- display
- target
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 238000012545 processing Methods 0.000 claims description 74
- 239000003344 environmental pollutant Substances 0.000 claims description 58
- 231100000719 pollutant Toxicity 0.000 claims description 58
- 230000001960 triggered effect Effects 0.000 claims description 33
- 238000009877 rendering Methods 0.000 claims description 20
- 230000000052 comparative effect Effects 0.000 claims description 11
- 239000000356 contaminant Substances 0.000 claims description 5
- 230000007613 environmental effect Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 29
- 238000004590 computer program Methods 0.000 description 25
- 230000008569 process Effects 0.000 description 25
- 238000012795 verification Methods 0.000 description 11
- 230000003993 interaction Effects 0.000 description 10
- 238000004458 analytical method Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 9
- 238000012544 monitoring process Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 239000013618 particulate matter Substances 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000007405 data analysis Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000013144 data compression Methods 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 230000000670 limiting effect Effects 0.000 description 2
- 230000035515 penetration Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- CBENFWSGALASAD-UHFFFAOYSA-N Ozone Chemical compound [O-][O+]=O CBENFWSGALASAD-UHFFFAOYSA-N 0.000 description 1
- FAPWRFPIFSIZLT-UHFFFAOYSA-M Sodium chloride Chemical compound [Na+].[Cl-] FAPWRFPIFSIZLT-UHFFFAOYSA-M 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 239000000926 atmospheric chemistry Substances 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002829 reductive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004576 sand Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 235000002639 sodium chloride Nutrition 0.000 description 1
- 239000011780 sodium chloride Substances 0.000 description 1
- 238000012876 topography Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N33/00—Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
- G01N33/0004—Gaseous mixtures, e.g. polluted air
- G01N33/0009—General constructional details of gas analysers, e.g. portable test equipment
- G01N33/0062—General constructional details of gas analysers, e.g. portable test equipment concerning the measuring method or the display, e.g. intermittent measurement or digital display
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N33/00—Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
- G01N33/0004—Gaseous mixtures, e.g. polluted air
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B30/00—Energy efficient heating, ventilation or air conditioning [HVAC]
- Y02B30/70—Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating
Landscapes
- Chemical & Material Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Analytical Chemistry (AREA)
- Food Science & Technology (AREA)
- Medicinal Chemistry (AREA)
- Physics & Mathematics (AREA)
- Combustion & Propulsion (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides an air quality display method, system and device, and belongs to the field of environmental science. The method comprises the following steps: when window setting parameters are obtained, a plurality of display windows are created according to the window setting parameters; acquiring an air quality display request, wherein the air quality display request comprises a plurality of comparison types; sending the air quality display request to a server; receiving air quality display data corresponding to the air quality display request returned by the server, wherein the air quality display data comprises the air quality data of the plurality of comparison types; and displaying the air quality information of the plurality of comparison types in the plurality of display windows according to the air quality data of the plurality of comparison types. By adopting the invention, the efficiency of acquiring the air quality information by the user can be improved.
Description
Technical Field
The invention relates to the field of environmental science, in particular to an air quality display method, system and device.
Background
With the continuous development of our society, the economic level of people is continuously improved, and the requirements of people on life are gradually improved. Therefore, environmental protection is also a concern. Nowadays, china has achieved a certain performance in the aspect of environmental protection, but with the coming of a new period, china still has many problems in the aspect of environmental protection. Wherein the quality of air is closely related to everyone. Therefore, the air quality analysis and forecast become important basis for taking measures, managing environment and improving atmosphere.
The environmental air quality forecast is a process that a forecaster performs analysis, judgment and comprehensive decision based on various main forecast information. The main forecast information required by the forecaster comprises main basic data and products such as various air quality forecast simulations, atmospheric pollution source monitoring, meteorological forecast simulations, atmospheric chemical actual condition monitoring, meteorological actual condition observation and the like. The data and products have different professional institutions and service system sources, for example, the air quality and meteorological simulation products have numerical prediction and statistical prediction, the atmospheric pollution source monitoring has online monitoring and remote sensing inversion, and the atmospheric chemistry and meteorological actual conditions have ground online monitoring, manual monitoring, radar observation, satellite remote sensing and the like.
The forecaster needs to know the air quality forecast and the influence factor information, needs to know the local emission or regional transmission information of atmospheric pollutants in the district and the peripheral area or even in a larger range, needs to know the forecast and the current situation and historical comparison reference information, and can be well done with forecast and environmental quality management technology support work under the support of information as comprehensive as possible.
As the most basic data, the air quality data and the meteorological data have strong geographical spatial characteristics, so that the display analysis of the air quality and the meteorological data is basically based on a map, and the corresponding data is displayed in a point, line and surface mode, so that relevant professionals can know information and make appropriate countermeasures and treatment schemes. At present, weather and air quality data display and analysis systems at home and abroad mainly comprise a windows (a weather forecast website), a ventusky (a weather temperature website), a vacuum network map and the like.
Although these systems are also map-based data presentation analysis systems, they have the following problems during forecaster use: the display data are all in one map window, the display data type is single, and different data types cannot be displayed at the same time. Existing presentation systems present relevant data based on a map window, and in fact, there is a relationship not only with the spatial location, but also with the data, such as the change in sunlight, air temperature and ozone, the relationship between dust and PM10, the relationship between PM10 and PM2.5, and so on. Simply showing these data in a map does not allow the forecaster to be intuitively presented with the data of interest at the same time. For example, looking at PM2.5 concentration distribution, temperature distribution, dust distribution in the same geographical area at the same time cannot be seen in the three systems mentioned above.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide an air quality display method, system, and apparatus.
The technical scheme is as follows:
according to an aspect of the present invention, there is provided an air quality display method, which is used for a client, the method including:
when window setting parameters are obtained, a plurality of display windows are created according to the window setting parameters;
acquiring an air quality display request, wherein the air quality display request comprises a plurality of comparison types;
sending the air quality display request to a server;
receiving air quality display data corresponding to the air quality display request returned by the server, wherein the air quality display data comprises the air quality data of the plurality of comparison types;
and displaying the air quality information of the plurality of comparison types in the plurality of display windows according to the air quality data of the plurality of comparison types.
Optionally, the air quality display request further includes a target map type, and the air quality display data further includes target map data corresponding to the target map type;
the displaying the air quality information of the plurality of contrast types in the plurality of display windows according to the air quality data of the plurality of contrast types includes:
and rendering according to the air quality data of the multiple contrast types and the target map data, and displaying the air quality information of the multiple contrast types on the map of the target map type in the multiple display windows.
Optionally, the target map type is a two-dimensional map type or a three-dimensional map type;
the rendering according to the air quality data of the plurality of contrast types and the target map data, and displaying the air quality information of the plurality of contrast types on the map of the target map type in the plurality of display windows, includes:
when the target map type is a two-dimensional map type, rendering according to the air quality data of the multiple contrast types and the target map data corresponding to the two-dimensional map type, and displaying the air quality information of the multiple contrast types on the two-dimensional map in the multiple display windows;
and when the target map type is a three-dimensional map type, rendering is carried out according to the air quality data of the multiple comparison types and the target map data corresponding to the three-dimensional map type, and the air quality information of the multiple comparison types is displayed on the three-dimensional map in the multiple display windows.
Optionally, the attributes of the contrast type at least include one or more of the following: region, time, air quality index, air quality forecast mode.
Optionally, the air quality display request further includes a target service type; the air quality demonstration data comprises the plurality of comparative types of air quality data of the target business type;
the displaying the air quality information of the plurality of contrast types in the plurality of display windows according to the air quality data of the plurality of contrast types includes:
and displaying the air quality information of the plurality of comparison types of the target service type in the plurality of display windows according to the air quality data of the plurality of comparison types of the target service type.
Optionally, the target service type includes a pollutant type and/or a meteorological type; the air quality data comprises first air quality data corresponding to pollutant types and/or second air quality data corresponding to meteorological types;
the displaying, in the plurality of display windows, the air quality information of the plurality of comparison types of the target service type according to the air quality data of the plurality of comparison types of the target service type includes:
displaying the plurality of comparative types of pollutant information and/or weather information in the plurality of display windows according to the plurality of comparative types of first air quality data and/or second air quality data.
Optionally, the method further includes:
when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal;
and performing corresponding operation processing on each display window according to the operation parameters.
Optionally, the operation signal is a point-taking signal;
when receiving an operation signal triggered in any display window, acquiring an operation parameter corresponding to the operation signal, including:
when a point taking signal triggered in a first display window is received, acquiring a coordinate point corresponding to the point taking signal;
and performing corresponding operation processing on each display window according to the operation parameters, wherein the operation processing comprises the following steps:
acquiring target air quality data of each display window on the coordinate point based on the coordinate point;
and simultaneously displaying corresponding target air quality information on the coordinate points in each display window according to the target air quality data.
Optionally, the operation signal is a moving signal;
when receiving an operation signal triggered in any display window, acquiring an operation parameter corresponding to the operation signal, including:
when a mobile signal triggered in a second display window is received, acquiring a mobile parameter corresponding to the mobile signal;
and performing corresponding operation processing on each display window according to the operation parameters, wherein the operation processing comprises the following steps:
and simultaneously moving the display picture of each display window based on the moving parameters.
According to another aspect of the present invention, there is provided an air quality display method, which is used for a server side, the method including:
receiving an air quality display request sent by a client, wherein the air quality display request comprises a plurality of comparison types;
determining corresponding air quality display data according to the air quality display request, wherein the air quality display data comprise the air quality data of the plurality of comparison types;
and returning the air quality display data to the client.
Optionally, the air quality display request further includes a target map type, and the air quality display data further includes target map data corresponding to the target map type;
the determining corresponding air quality display data according to the air quality display request comprises:
acquiring corresponding air quality data according to the plurality of comparison types;
acquiring corresponding target map data according to the type of the target map;
and determining air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types and the target map data.
Optionally, the target map type includes a two-dimensional map type or a three-dimensional map type;
the obtaining of the target map data corresponding to the target map type according to the target map type in the air quality display request includes:
when the target map type is a two-dimensional map type, acquiring target map data corresponding to the two-dimensional map type;
and when the target map type is a three-dimensional map type, acquiring target map data corresponding to the three-dimensional map type.
Optionally, the attributes of the contrast type at least include one or more of the following: area, time, air quality index, air quality forecast mode.
Optionally, the air quality display request further includes a target service type; the air quality demonstration data comprises the plurality of comparative types of air quality data of the target business type;
the determining the corresponding air quality display data according to the air quality display request includes:
acquiring air quality data of the plurality of comparison types of the target service type according to the target service type and the plurality of comparison types;
and determining air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types of the target service type.
Optionally, the target service type includes a pollutant type and/or a meteorological type; the air quality data comprises first air quality data corresponding to the pollutant type and/or second air quality data corresponding to the meteorological type;
the obtaining the air quality data of the plurality of comparison types of the target service type according to the target service type and the plurality of comparison types comprises:
when the target traffic type includes the contaminant type, determining the first air quality data based on the contaminant type and the plurality of comparison types;
when the target business type comprises the weather type, determining the second air quality data according to the weather type and the plurality of comparison types;
and determining air quality display data corresponding to the air quality display request according to the first air quality data and/or the second air quality data.
According to another aspect of the present invention, there is provided an air quality display system, wherein the system comprises a client and a server, wherein:
the client is used for creating a plurality of display windows according to the window setting parameters when the window setting parameters are obtained; acquiring an air quality display request, wherein the air quality display request comprises a plurality of comparison types; sending the air quality display request to the server; receiving air quality display data corresponding to the air quality display request returned by the server, wherein the air quality display data comprises the air quality data of the plurality of comparison types; displaying the air quality information of the plurality of comparison types in the plurality of display windows according to the air quality data of the plurality of comparison types;
the server is used for receiving an air quality display request sent by a client, wherein the air quality display request comprises a plurality of comparison types; determining corresponding air quality display data according to the air quality display request, wherein the air quality display data comprise the air quality data of the multiple comparison types; and returning the air quality display data to the client.
According to another aspect of the present invention, there is provided an air quality display apparatus, the apparatus being provided at a client, the apparatus including:
the system comprises a creating module, a displaying module and a displaying module, wherein the creating module is used for creating a plurality of displaying windows according to window setting parameters when the window setting parameters are obtained;
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring an air quality display request which comprises a plurality of comparison types;
the first sending module is used for sending the air quality display request to a server;
the first receiving module is used for receiving air quality display data corresponding to the air quality display request returned by the server, wherein the air quality display data comprises the air quality data of the plurality of comparison types;
and the display module is used for displaying the air quality information of the plurality of comparison types in the plurality of display windows according to the air quality data of the plurality of comparison types.
Optionally, the air quality display request further includes a target map type, and the air quality display data further includes target map data corresponding to the target map type;
the display module is used for:
and rendering according to the air quality data of the multiple contrast types and the target map data, and displaying the air quality information of the multiple contrast types on the map of the target map type in the multiple display windows.
Optionally, the target map type is a two-dimensional map type or a three-dimensional map type;
the display module is used for:
when the target map type is a two-dimensional map type, rendering according to the air quality data of the multiple contrast types and the target map data corresponding to the two-dimensional map type, and displaying the air quality information of the multiple contrast types on the two-dimensional map in the multiple display windows;
and when the target map type is a three-dimensional map type, rendering is carried out according to the air quality data of the multiple comparison types and the target map data corresponding to the three-dimensional map type, and the air quality information of the multiple comparison types is displayed on the three-dimensional map in the multiple display windows.
Optionally, the attributes of the contrast type at least include one or more of the following: region, time, air quality index, air quality forecast mode.
Optionally, the air quality display request further includes a target service type; the air quality demonstration data comprises the plurality of comparative types of air quality data of the target business type;
the display module is used for:
and displaying the air quality information of the plurality of comparison types of the target service type in the plurality of display windows according to the air quality data of the plurality of comparison types of the target service type.
Optionally, the target service type includes a pollutant type and/or a weather type; the air quality data comprises first air quality data corresponding to pollutant types and/or second air quality data corresponding to meteorological types;
the display module is used for:
displaying the plurality of comparison types of pollutant information and/or meteorological information in the plurality of display windows according to the plurality of comparison types of first air quality data and/or second air quality data.
Optionally, the display module is further configured to:
when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal;
and performing corresponding operation processing on each display window according to the operation parameters.
Optionally, the operation signal is a point-taking signal;
the display module is used for:
when a point taking signal triggered in a first display window is received, acquiring a coordinate point corresponding to the point taking signal;
acquiring target air quality data of each display window on the coordinate point based on the coordinate point;
and simultaneously displaying corresponding target air quality information on the coordinate points in each display window according to the target air quality data.
Optionally, the operation signal is a moving signal;
the display module is used for:
when a mobile signal triggered at a second display window is received, acquiring a mobile parameter corresponding to the mobile signal;
and simultaneously moving the display picture of each display window based on the moving parameters.
According to another aspect of the present invention, there is provided an air quality display device, the device being disposed at a service end, the device including:
the second receiving module is used for receiving an air quality display request sent by a client, and the air quality display request comprises a plurality of comparison types;
the determining module is used for determining corresponding air quality display data according to the air quality display request, wherein the air quality display data comprise the air quality data of the plurality of comparison types;
and the second sending module is used for returning the air quality display data to the client.
Optionally, the air quality display request further includes a target map type, and the air quality display data further includes target map data corresponding to the target map type;
the determining module is configured to:
acquiring corresponding air quality data according to the plurality of comparison types;
acquiring corresponding target map data according to the type of the target map;
and determining air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types and the target map data.
Optionally, the target map type includes a two-dimensional map type or a three-dimensional map type;
the determining module is configured to:
when the target map type is a two-dimensional map type, acquiring target map data corresponding to the two-dimensional map type;
and when the target map type is a three-dimensional map type, acquiring target map data corresponding to the three-dimensional map type.
Optionally, the attributes of the contrast type at least include one or more of the following: region, time, air quality index, air quality forecast mode.
Optionally, the air quality display request further includes a target service type; the air quality demonstration data comprises the plurality of comparative types of air quality data of the target business type;
the determining module is configured to:
acquiring air quality data of the plurality of comparison types of the target service type according to the target service type and the plurality of comparison types;
and determining air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types of the target service types.
Optionally, the target service type includes a pollutant type and/or a meteorological type; the air quality data comprises first air quality data corresponding to the pollutant type and/or second air quality data corresponding to the meteorological type;
the determining module is configured to:
when the target service type comprises the pollutant type, determining the first air quality data according to the pollutant type and the plurality of comparison types;
when the target business type comprises the weather type, determining the second air quality data according to the weather type and the plurality of comparison types;
and determining air quality display data corresponding to the air quality display request according to the first air quality data and/or the second air quality data.
According to another aspect of the present invention, there is provided an electronic apparatus including:
a processor; and
a memory for storing a program, wherein the program is stored in the memory,
wherein the program comprises instructions which, when executed by a processor of a client, cause the processor to perform the air quality demonstration method described above.
According to another aspect of the present invention, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a client to perform the above air quality presenting method.
According to another aspect of the invention, a computer program product is provided, comprising a computer program, wherein the computer program realizes the above air quality demonstration method when executed by a processor of a client.
According to another aspect of the present invention, there is provided an electronic apparatus including:
a processor; and
a memory for storing the program, wherein the program is stored in the memory,
wherein the program comprises instructions which, when executed by a processor of the server, cause the processor to execute the air quality display method.
According to another aspect of the present invention, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a server to execute the above air quality displaying method.
According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein the computer program, when executed by a processor of a service end, implements the air quality demonstration method described above.
In the embodiment of the invention, the client side can send the air quality display request to the server side, acquire a plurality of contrast types of air quality data, and further display corresponding air quality information in a plurality of display windows. The server side can respond to the air quality display request of the client side, and determine and return a plurality of comparison types of air quality data. Furthermore, the client can realize diversified display of the air quality in one system, and simultaneously display the concerned air quality information for the user, so that the efficiency of acquiring the air quality information by the user is improved.
Drawings
Further details, features and advantages of the invention are invented in the following description of exemplary embodiments with reference to the drawings, in which:
fig. 1 shows a flow chart of an air quality demonstration method according to an exemplary embodiment of the invention;
FIG. 2 shows a schematic view of a presentation window according to an exemplary embodiment of the present invention;
FIG. 3 illustrates a data interaction diagram according to an exemplary embodiment of the present invention;
FIG. 4 illustrates a data interaction diagram according to an exemplary embodiment of the present invention;
FIG. 5 shows a multi-region contrast window schematic according to an exemplary embodiment of the present invention;
FIG. 6 shows a schematic diagram of a multi-time comparison window in accordance with an exemplary embodiment of the present invention;
FIG. 7 shows a diagram of a multi-index comparison window in accordance with an exemplary embodiment of the present invention;
FIG. 8 shows a schematic view of a multimodal contrast window in accordance with an exemplary embodiment of the invention;
FIG. 9 shows a schematic diagram of a three-dimensional map according to an exemplary embodiment of the invention;
FIG. 10 shows a schematic diagram of a linkage presentation according to an exemplary embodiment of the present invention;
fig. 11 shows an air quality display system architecture diagram according to an exemplary embodiment of the present invention;
FIG. 12 shows a schematic block diagram of an air quality display apparatus according to an exemplary embodiment of the present invention;
fig. 13 shows a schematic block diagram of an air quality display apparatus according to an exemplary embodiment of the present invention;
FIG. 14 illustrates a block diagram of an exemplary electronic device that can be used to implement an embodiment of the invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the invention are for illustration purposes only and are not intended to limit the scope of the invention.
It should be understood that the various steps recited in method embodiments of the present invention may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description. It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" or "the" modification(s) in the present invention are intended to be illustrative rather than limiting and that those skilled in the art will understand that reference to "one or more" unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present invention are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
In order to clearly describe the method provided by the embodiments of the present invention, the following description is made of the used technology.
Gis (Geographic Information Systems) technology: GIS is a specific very important spatial information system. The technology is used for collecting, storing, managing, processing, analyzing, displaying and describing relevant geographic distribution data in the whole or partial earth surface (including the atmosphere) space under the support of computer hardware and software systems. In one possible embodiment of the invention, the air quality display system can be built based on GIS technology.
WebGL (Web Graphics Library, global Wide area network Graphics): the system is a JavaScript API (JavaScript Application Programming Interface), and can render high-performance interactive 3D and 2D graphics in any compatible Web browser without using a plug-in. WebGL does this by introducing an API that is very consistent with OpenGL ES 2.0, an open graphics library designed for embedded devices, which can be used in the HTML5< canvas > element (an element in the hypertext markup language used to construct display windows). This consistency allows the API to take advantage of the hardware graphics acceleration provided by the user device. In a possible implementation manner of the present invention, the client may invoke a GPU (Graphics Processing Unit) to perform Graphics Processing based on the WebGL technology, and render the display screen.
3.B/S (Browser/Server, front end/Server) system architecture: a browser and server architecture schema. With the rise of internet technology, the method is a changed or improved architecture of a two-layer C/S (Client/Server) architecture. The method separates the transaction logic module of the two-layer C/S structure from the tasks of the client, and the Web server forms a layer to bear the tasks, thereby relieving the pressure of the client. The B/S architecture is a three-layer framework, and divides the whole service application into: a presentation Layer (UI), a Business Logic Layer (BLL), and a Data Access Layer (DAL). The B/S structure is a method for organizing and distributing the components of software (or software construction technology). The software comprises the following components: programs, data, documents, etc. The B/S structure is a method of distributing these three parts of the software, distributing the data to a certain data server; distributing the program to an application (program) server or a Web server; and the client (browser) only needs to load part of the program of the application server for data display and command input (such as picture display of a web game and instruction input of a player). In a possible implementation manner of the invention, an air quality display method is realized based on a client and a server by adopting an architecture mode of the client and the server.
The embodiment of the invention provides an air quality display method which can be completed in an air quality display system consisting of a client and a server.
The air quality displaying method will be described with reference to the flow chart of the air quality displaying method shown in fig. 1.
Step 101, when the window setting parameters are obtained, the client creates a plurality of display windows according to the window setting parameters.
In one possible embodiment, to achieve a multivariate presentation of air quality, a user may set the number of windows in the air quality presentation system. Further, the client may obtain a window setting parameter triggered in the user setting process, where the window setting parameter may carry the number of windows set by the user.
The client may then create a corresponding number of presentation windows based on the number of windows. As shown in the illustration window diagram of fig. 2, when implementing the multivariate illustration of the air quality, the number of windows may be an integer greater than 1, that is, a plurality of illustration windows are created. In implementing a unitary presentation of air quality, the number of windows may be 1, i.e., one presentation window is created. The present embodiment is described on the basis of creating a plurality of windows.
Step 102, the client obtains an air quality display request.
Wherein the air quality demonstration request may include a plurality of comparison types.
The air quality display system can be provided with a plurality of comparison types with various attributes, and each comparison type can have a plurality of comparison type parameters. Optionally, the attributes of the contrast type at least include one or more of the following: region, time, air quality index, air quality forecast mode. Wherein, the parameters of the region can be each region unit (such as administrative region) or the combination of the region units (such as southwest part of china) based on the region division rule; the parameter of time may be various moments or time periods; the parameter of the Air Quality Index may be AQI (Air Quality Index), PM 2.5 ,PM 10 ,CO,SO 2 ,NO 2 ,O 3 Primary pollutants, sea salt, sand; the Air Quality Prediction mode may be NAQPMS (Nested Air Quality Prediction mode System), CMAQ (CMAQ)Community Multiscale Air Quality prediction mode), CAMx (Complex Air Quality three-dimensional Model Extensions), WRF-Chem (Weather Research and development-Chemistry, regional Air Quality prediction mode in which meteorological and chemical modes are coupled on-line). The specific parameters of the comparison type are exemplary parameters provided in this embodiment, and the comparison type may also have other parameters, which is not limited in this embodiment.
In one possible implementation, the user may select the type of contrast to be queried. When the user confirms the query, the client can obtain the parameters of the comparison types input by the user, and assemble the obtained parameters according to the request types corresponding to the query comparison types to obtain the corresponding air quality display requests. As shown in the data interaction diagram of fig. 3, the request type may include GET (GET) and upload (POST).
Optionally, the user may further set a target service for the query, and the air quality display request may further include a target service type, which may include a pollutant type and/or a weather type.
In one possible embodiment, the user may select a target service to be queried in the air quality presentation system. When the user confirms the query, the client can obtain the corresponding target service type according to the target service queried by the user, and assemble the target service type with the parameters obtained in the process to obtain the corresponding air quality display request.
When the user selects to query the pollutant information, the target service type acquired by the client may be a pollutant type. When the user selects to query the weather information, the target service type acquired by the client may be a weather type. Of course, when the user simultaneously queries the pollutant information and the weather information, the target service type acquired by the client may also be the pollutant type and the weather type. This embodiment is not limited to this.
Optionally, the air quality display request further includes a target map type.
The target map type may be a two-dimensional map type or a three-dimensional map type.
In a possible embodiment, the user may also select the type of target map to be queried in the air quality display system, that is, select to display on a two-dimensional map or display on a three-dimensional map. When the user confirms the query, the client can obtain the corresponding target map type, and the target map type and the parameters obtained in the process are assembled to obtain the corresponding air quality display request.
And 103, the client sends an air quality display request to the server.
In a possible implementation manner, as shown in the data interaction diagram shown in fig. 3, after determining the air quality display request, the client may send the air quality display request to the server through HTTP (Hyper Text Transfer Protocol) or HTTPs (Hyper Text Transfer Protocol over secure session Layer).
And 104, the server receives an air quality display request sent by the client.
In a possible implementation manner, as shown in a data interaction diagram shown in fig. 4, when receiving an air quality display request, a server may perform security verification and authority verification on the air quality display request, and after the verification is passed, obtain information carried in the air quality display request. And if the security verification or the authority verification is not passed, the server returns a failure reason to the client. As shown in the data interaction diagram of fig. 3, the security verification and the authority verification performed by the service end on the air quality display request may be based on a login credential (Token) of the client, which may be carried in the air quality display request.
And 105, the server side determines corresponding air quality display data according to the air quality display request.
Wherein the air quality demonstration data may comprise a plurality of comparative types of air quality data. For example, when the attribute of the comparison type is an air quality prediction mode, the air quality demonstration data may include air quality data of modes such as NAQPMS, CMAQ, CAMx, WRF-Chem, and the like.
In a possible implementation manner, as shown in a data interaction diagram shown in fig. 4, after the server obtains the information of the plurality of comparison types carried in the air quality display request, the server may invoke a corresponding service, perform an inquiry in the stored data, and obtain corresponding air quality data. Then, the server side can encrypt the acquired air quality data through a specific encryption algorithm. After encryption is completed, the data can be packaged to obtain corresponding air quality display data.
Alternatively, when the air quality display request includes the target service type, the air quality display data may include a plurality of comparative types of air quality data of the target service type.
Accordingly, the process of step 105 above may be as follows: the server side acquires air quality data of a plurality of comparison types of the target service type according to the target service type and the plurality of comparison types; and the server determines air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types of the target service types.
In a possible implementation manner, after the server acquires the target service type and the multiple comparison types in the air quality display request, the server may invoke the corresponding target service, perform query in the stored data, and acquire the air quality data of the multiple comparison types of the target service type.
Optionally, when the target business type includes a pollutant type and/or a meteorological type, the air quality data may include first air quality data corresponding to the pollutant type and/or second air quality data corresponding to the meteorological type.
Accordingly, the process of step 105 above may be as follows: when the target service type comprises a pollutant type, the server determines first air quality data according to the pollutant type and a plurality of comparison types; when the target service type comprises the weather type, the server determines second air quality data according to the weather type and a plurality of comparison types; and the server determines air quality display data corresponding to the air quality display request according to the first air quality data and/or the second air quality data.
In a possible implementation manner, when the target service type includes a pollutant type, the server may invoke a pollutant special topic service according to the pollutant type and a plurality of comparison types, perform query in stored data, and obtain first air quality data of the plurality of comparison types corresponding to the pollutant type.
When the target service type comprises a weather type, the server side can call a weather special service according to the weather type and the comparison types, query in the stored data and acquire second air quality data of the comparison types corresponding to the weather type.
When the target service type includes a pollutant type and a meteorological type, the server may obtain the first air quality data and the second air quality data by a method similar to the above, which is not described herein again.
Then, the server side can encrypt the acquired first air quality data and/or second air quality data through a specific encryption algorithm. After encryption is completed, the data can be packaged to obtain corresponding air quality display data.
Optionally, when the air quality display request includes a target map type, the air quality display data may further include target map data corresponding to the target map type. Accordingly, the process of step 105 above may be as follows: the server side acquires corresponding air quality data according to the plurality of comparison types; the server side obtains corresponding target map data according to the type of the target map; and the server determines air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types and the target map data.
When the target map type is a two-dimensional map type, the server side can acquire target map data corresponding to the two-dimensional map type; and when the type of the target map is the three-dimensional map type, the server side acquires target map data corresponding to the three-dimensional map type.
In a possible embodiment, the process of acquiring the air quality data by the server is the same as the above process, and is not described herein again. For the map data, the server can call the map service, and query the stored data to obtain the map data corresponding to the target map type. The map service can provide different levels of slice data service for the two-dimensional map and the three-dimensional map.
Then, the server side can encrypt the acquired air quality data and the target map data of the multiple comparison types through a specific encryption algorithm. After encryption is completed, the data can be packaged to obtain corresponding air quality display data.
And 106, the server side returns the air quality display data to the client side.
In a possible implementation manner, after determining the air quality display data to be returned, the server may determine the client to be returned according to the corresponding air quality display request, and then send the air quality display data to the client.
And step 107, the client receives air quality display data corresponding to the air quality display request returned by the server.
In a possible implementation manner, after receiving the air quality display data returned by the server, the client may decrypt and analyze the received data according to a corresponding decryption algorithm to obtain the data carried therein. The client may then process the received data into a usable format.
And step 108, the client displays the air quality information of the multiple comparison types in the multiple display windows according to the air quality data of the multiple comparison types.
In a possible implementation manner, after the client acquires the air quality data of a plurality of comparison types, the client can call the display card to process the air quality data to obtain data used by the display picture. Further, the corresponding air quality information may be presented in the created plurality of windows, respectively.
The schematic diagrams of the display windows of each comparison type are shown in fig. 5, 6, 7, and 8, where fig. 5 is a multi-region comparison window schematic diagram, fig. 6 is a multi-time comparison window schematic diagram, fig. 7 is a multi-index comparison window schematic diagram, and fig. 8 is a multi-mode comparison window schematic diagram.
Optionally, when the user queries the target service, the client may display corresponding service information in the display window, and at this time, the air quality display data may include a plurality of comparison types of air quality data of the target service type. Correspondingly, the processing of step 108 may be as follows: and the client displays the air quality information of the multiple comparison types of the target service type in the multiple display windows according to the air quality data of the multiple comparison types of the target service type.
In a possible implementation manner, after acquiring the air quality data of a plurality of comparison types of the target service type, the client may call the display card to render the air quality data, so as to obtain data used by the display picture. Furthermore, a plurality of comparison types of air quality information corresponding to the target service can be displayed in the created windows respectively.
Optionally, when the target business type includes a pollutant type and/or a meteorological type, the air quality data may include first air quality data corresponding to the pollutant type and/or second air quality data corresponding to the meteorological type. Correspondingly, the processing of step 108 may be as follows: and the client displays the pollutant information and/or the meteorological information of the comparison types in a plurality of display windows according to the first air quality data and/or the second air quality data of the comparison types.
In a possible implementation manner, when the target service type includes a pollutant type, after the client acquires first air quality data of a plurality of comparison types of the pollutant type, the client may invoke the display card to render the first air quality data, so as to obtain data used by the display picture. Furthermore, a plurality of comparative types of air corresponding to the pollutant type can be displayed in a plurality of windows respectively createdAnd (4) quality information. For example, when the target service of the user query is PM 2.5 When the concentration value and the comparison type are a plurality of air quality prediction modes, the client can respectively display the PM of each air quality prediction mode in a plurality of display windows 2.5 The concentration value.
When the target service type comprises a weather type, the client can call the display card to render the second air quality data after acquiring the second air quality data of a plurality of comparison types of the weather type, so as to obtain data used by the display picture. Furthermore, a plurality of comparison types of air quality information corresponding to the weather type can be displayed in the created windows respectively.
When the target service type includes a pollutant type and a weather type, the client may display a plurality of comparison types of air quality information corresponding to the pollutant type and the weather type by a method similar to the above, and details are not repeated here.
The air quality information which the user may pay attention to is various in types, long in time and large in data volume, and through the method of the embodiment, the user can inquire different services and different comparison types in the system, so that the user can conveniently obtain the air quality information, analyze the relation among data, comprehensively analyze, judge and decide, improve the efficiency and accuracy of the user in performing the air quality prediction service, and improve the stability and reliability of the air quality prediction.
Optionally, when the user selects a target map type, the client may present a map of the corresponding type in the presentation window. Correspondingly, the processing of step 108 may be as follows: the client renders according to the air quality data of the multiple comparison types and the target map data, and displays the air quality information of the multiple comparison types on the map of the target map type in multiple display windows.
In a possible implementation manner, after acquiring a plurality of contrast types of air quality data and target map data, the client may invoke the display card to render the air quality data and the target map data, so as to obtain data used by the display screen. Furthermore, the air quality information corresponding to the target service may be displayed on a corresponding map in the created plurality of windows, respectively.
Optionally, the target map type may be a two-dimensional map type and a three-dimensional map type, and correspondingly, the processing of step 108 may be as follows:
when the target map type is a two-dimensional map type, the client renders according to the air quality data of the multiple comparison types and the target map data corresponding to the two-dimensional map type, and displays the air quality information of the multiple comparison types on the two-dimensional map in multiple display windows;
and when the target map type is the three-dimensional map type, the client renders according to the air quality data of the multiple comparison types and the target map data corresponding to the three-dimensional map type, and displays the air quality information of the multiple comparison types on the three-dimensional map in multiple display windows. A schematic diagram of a three-dimensional map is shown in fig. 9.
The geographic space in reality is three-dimensional, and the change of atmospheric pollution process is constantly evolving in three-dimensional space, and especially ground in reality is the height and height, and different regions have different topography, and corresponding also has different climatic environment, and the influence to air quality also can be different, so know the trend of change of pollutant in the direction of height, also very big help to knowing the pollution process characteristic. In the embodiment, the client can display the two-dimensional map or the three-dimensional map according to the selection of the user, so that the effect of displaying the air quality is improved, and the efficiency of analyzing the air quality problem is improved for the user.
The graphics processing (such as rendering processing) involved in the above process is completed at the client, and compared with the case that the server completes the graphics processing, the computing capacity of the client is fully utilized, and the processing amount of the server is reduced. The server can only be responsible for processing data without processing graphics, so that the processing efficiency of the server is improved, quick response is achieved, and the user experience is improved.
Optionally, the client may also perform the same operation on multiple display windows, and the corresponding processing may be as follows: when an operation signal triggered in any display window is received, the client acquires an operation parameter corresponding to the operation signal; and performing corresponding operation processing on each display window according to the operation parameters.
In a possible implementation manner, the user can perform an operation in any one of the presentation windows, for example, click, select a slide, zoom in or zoom out, and the like, and trigger a corresponding operation signal. The corresponding relationship between the operation gesture of the user and the triggered operation signal can be generally understood, for example, the operation of selecting the slide can trigger the movement signal for moving the display picture. This embodiment is not limited to this.
When the client receives the operation signal, the client can obtain the corresponding operation parameter according to the position information corresponding to the operation signal in the display window for triggering the operation signal. And then, according to the obtained operation parameters, carrying out the same operation processing on each display window, and realizing the linkage display of each display window.
Optionally, when the operation signal is a point-taking signal, the client may simultaneously display the air quality value at the same position in each display window, and the corresponding processing may be as follows: when a point taking signal triggered in a first display window is received, a client acquires a coordinate point corresponding to the point taking signal; acquiring target air quality data of each display window on the coordinate point based on the coordinate point; and simultaneously displaying corresponding target air quality information on the coordinate point in each display window according to the target air quality data.
In a possible implementation manner, the user can click any position in any display window to trigger a corresponding point-taking signal. The presentation window clicked by the user is referred to as a first presentation window. When the client receives the point-taking signal, the coordinate point at the position corresponding to the point-taking signal can be obtained. Then, the client may obtain, in the air quality data of each display window, target air quality data corresponding to the coordinate point. Furthermore, the client can process the target air quality data corresponding to each display window to obtain corresponding target air quality information, and the corresponding target air quality information is displayed on the coordinate point in each display window respectively. The schematic diagram of the linkage display is shown in fig. 10.
Through the embodiment, the user can accurately acquire the air quality information on the concerned position in each display window, so that the error caused by the fact that the user selects the position in each display window in sequence is avoided, and the accuracy of acquiring the air quality information is improved.
Optionally, when the operation signal is a moving signal, the client may control the display frame to move at the same time, and the corresponding processing may be as follows: when a mobile signal triggered in a second display window is received, the client acquires a mobile parameter corresponding to the mobile signal; and the client side moves the display picture of each display window simultaneously based on the movement parameters.
In a possible implementation manner, the user can move the display frame in any display window to trigger a corresponding movement signal. The presentation window that triggers the movement signal is referred to as the second presentation window. When the client receives the moving signal, corresponding moving parameters, such as a moving distance, a moving direction, a moving speed, and the like, may be acquired. Then, the client may perform corresponding movement processing on the display frame of each display window simultaneously based on the obtained movement parameter.
Through this embodiment, the show picture of every show window is the linkage, can move together according to user's operation, improves the uniformity of a plurality of show pictures, avoids influencing user's contrastive analysis, guarantees the accuracy of analysis.
For the sake of clarity, the above alternatives are described independently, but in practical applications, the alternatives may be combined arbitrarily, that is, multiple embodiments may be obtained, and the embodiments are not described one by one. It is to be noted that combinations of the above-mentioned alternatives also conform to the inventive concept of the present invention.
In the embodiment of the invention, the client side can send the air quality display request to the server side, acquire a plurality of contrast types of air quality data, and further display corresponding air quality information in a plurality of display windows. The server side can respond to the air quality display request of the client side, determine a plurality of comparison types of air quality data and return the data. Furthermore, the client can realize diversified display of the air quality in one system, and simultaneously display the concerned air quality information for the user, so that the efficiency of acquiring the air quality information by the user is improved.
The embodiment of the invention provides an air quality display system, which comprises a client and a server, wherein:
the client is used for creating a plurality of display windows according to the window setting parameters when the window setting parameters are obtained; acquiring an air quality display request, wherein the air quality display request comprises a plurality of comparison types; sending an air quality display request to a server; receiving air quality display data corresponding to the air quality display request returned by the server, wherein the air quality display data comprises a plurality of contrast types of air quality data; displaying the air quality information of the plurality of comparison types in a plurality of display windows according to the air quality data of the plurality of comparison types;
the server is used for receiving an air quality display request sent by the client, wherein the air quality display request comprises a plurality of comparison types; determining corresponding air quality display data according to the air quality display request, wherein the air quality display data comprises a plurality of contrast types of air quality data; and returning the air quality display data to the client.
As shown in the schematic diagram of the air quality display system architecture in fig. 11, the air quality display system may be divided into a user layer, a logic layer, a network layer, a service layer, and a data layer. It should be noted that, the above layers are divided based on processing logic, and different physical architectures are actually possible. The distinction hierarchy embodies the idea of 'high cohesion and low coupling'.
The following is a description of each layer:
1. user layer
The user layer is a part closely related to the user and is also a final presentation result of the air quality presentation system, all data presentation and human-computer interaction are contained in the layer, and the layer is characterized in that operation parameters input by the user can be received, then the related parameters are transmitted to the logic layer, and the presentation result is updated according to data and a presentation method returned by the logic layer. The user layer may be disposed at the client and configured to perform the above-mentioned steps 101 and 102, receive the operation signal, obtain the operation parameter, and other related processes.
The main accepted parameters for this layer are:
1. setting parameters of the window: the user layer accepts window setting parameters including the number of windows, controls the number of display windows of the client, for example, the number of input windows is 4, and creates four display windows. The range of the number of windows may be preset, and may be an integer between 1 and 4, for example.
2. Two-dimensional and three-dimensional map type parameters: and receiving map type parameters, controlling the type of the displayed map, displaying the two-dimensional map if the type of the input two-dimensional map is input, and displaying all data such as weather, pollutants and the like in a two-dimensional map form. If the type of the input three-dimensional map is the type of the input three-dimensional map, the three-dimensional map is displayed, and all data of weather, pollutants and the like are displayed in a three-dimensional stereo form.
3. The map operation parameters are as follows: and receiving the parameters of the map operation, after the map of any one display window moves, the user layer receives the movement parameters and inputs the movement parameters into the logic layer, and the logic layer controls the maps of other display windows to change the corresponding states.
4. Penetration pickup coordinate parameters: weather and pollutant data are superposed into a two-dimensional map or a three-dimensional map in a distribution map mode, sometimes a forecaster needs to accurately compare and know index values of a certain point, such as wind speed, temperature and PM (particulate matter) of the certain point in the map 2.5 、PM 10 The specific concentration value of (2). The user layer receives the coordinate parameters of the user mouse and inputs the coordinate parameters into the logic layer, and the logic layer controls the maps of the rest display windows to display index values corresponding to the coordinate parameters.
5. And (3) comparing type parameters: and receiving contrast type parameters input by a user, such as multi-region contrast, multi-period contrast, multi-index contrast, multi-mode contrast and the like. For example: the parameters of the received multi-mode comparison are input into the logic layer, and the logic layer can control each display window to display data of an air quality prediction mode. The received parameters of multi-index comparison are input into the logic layer, and the logic layer can control each display window to display data of one index.
The above parameters are exemplary parameters provided by this embodiment, and the user layer may also receive other parameters, which is not limited in this embodiment.
2. Logical layer
The logic layer is arranged between the user layer and the network layer and is a logic core processing part of the air quality display system. The logic layer receives the parameters input by the user layer, processes the data returned by the network layer according to the related parameters, processes the data into a structure required by the display service, and returns the structure to the user layer for display. A logical layer may be provided at the client for performing the above steps 101-103, 107-108 and other related processes.
1. A request processing module: receiving the request type input by the user layer, assembling data request parameters, sending a data request, and decrypting and analyzing the data after the data is returned.
2. An input processing module: the system is a receiving module of all user input parameters, wherein the receiving module comprises window setting parameters, map type parameters, map operation parameters, penetration picking coordinate parameters, comparison type parameters and the like which are input by a user, the input parameters are processed, and the parameters are transmitted to a request processing module, a logic processing module, a display control module and the like according to the specific parameter types.
3. The logic processing module: and the logic part displayed by the processing system controls the interface display state of the user layer according to the type parameters after the parameters of different comparison types are input.
4. The authority control module: the module mainly controls the user login and authority distribution conditions of the system, and the air quality display system can distribute the related control authority of the system according to the user login conditions, such as: the number of the contrast parameters is changed according to different users, and part of the operation authorities are also hooked with the users.
5. A data processing module: the data processing module processes the data returned by the request processing module, processes the data into a format used by other modules of a user layer or a logic layer according to requirements, and transmits the format to the corresponding module.
6. A display processing module: the display processing module is responsible for assisting the user layer to display related data, such as interface display, two-dimensional map display and three-dimensional map display. Particularly, in order to display a large amount of service data (pollutant data and meteorological data), the display module combines two-dimensional map, three-dimensional map and WebGL technology, calls the display card through WebGL, and utilizes the strong computing power of the display card to realize rendering processing of the map, the pollutant data, the meteorological data, the three-dimensional model, the topographic data and the like.
3. Network layer
The network layer is mainly responsible for data transmission of the service layer and the logic layer and is a data transmission channel of the client and the server. In the air quality display system, all data are stored on a server, a logic layer is required to select different data request interfaces according to display requirements, request parameters are assembled, a request is sent to the service layer through an HTTP or HTTPS transmission protocol, the service layer inquires and processes the data according to the request, finally, the data are encrypted according to a corresponding data structure and then returned, and a network layer receives the returned data and inputs the data to the logic layer for processing.
4. Service layer
The service layer is responsible for processing data requests, and different service interfaces are called according to different request types to perform service processing or return data. A service layer may be provided at the service end for performing the above steps 104-106 and other related processes.
The general work flow of the data service layer in the system is shown in fig. 4, wherein the main flow includes:
1. a request for data from the internet is received.
2. And performing security verification to determine whether the request is a legal request.
3. And performing permission verification to determine whether the requested data is available.
4. And after the verification is passed, processing the request parameters, calling corresponding services and acquiring data.
5. The data is encrypted.
6. And organizing the data return structure and returning the data.
The service layer in the air quality display system mainly provides the following services:
1. contaminant topic service
The pollutant thematic service mainly provides pollutant data processing, such as Air Quality Index (AQI) calculation, source analysis data calculation query, pollution data statistics, urban pollutant index calculation and the like.
2. Meteorological topic service
The meteorological special topic service mainly provides meteorological data query, effective data verification, meteorological data statistics and the like.
3. Static resource services
The static resource service mainly comprises some static resources used in the air quality display system, such as terrain models, graphic diagram configuration files and the like of different areas.
4. Map service
The map service mainly provides system map services, wherein the system map services comprise slicing data services and corresponding GIS analysis services, which are used for providing different levels for two-dimensional and three-dimensional maps.
5. Data compression service
The data compression service is to compress air quality forecast data, meteorological data and three-dimensional rendering data for the efficiency of network transmission, and after compression, the transmission and storage of data files can save bandwidth and resources.
6. Data encryption service
The data encryption service provides security guarantee for data transmission, data needing to be returned to a client side are encrypted and transmitted through a specific algorithm, and after the client side receives the encrypted data, the data need to be decrypted and analyzed according to a specific method and then specific application is carried out.
7. Data analysis service
The data analysis service mainly provides a data analysis task of the system, for example, pollutant sites in the range are inquired according to the geographical space range of the request, and after spatial interpolation is carried out, data suitable for map pictures are generated.
8. User management service
The user management service is mainly responsible for user management of the whole system, including user creation, user deletion, authority setting, login verification and the like.
5. Data layer
The data layer is responsible for storing related data in the system, and the storage mode comprises a database, a data file and the like. When the data layer stores data, the data is stored in a certain organization structure, and some data can be stored in a database, such as monitoring data of an air quality monitoring station; some data may be saved in a folder, such as map-related slice data, source data for a distribution map, three-dimensional model data, and so on. A data layer may be disposed at the server for performing the above step 105 and other related processes.
When data are stored in a file form, the storage structure of the system divides a directory structure of data storage according to attributes such as data types, time ranges, space ranges and the like, so that data service retrieval and data searching are facilitated.
When data is stored in a database form, different database tables are divided according to attributes such as types, time, ranges and the like, relevant table structures and data views are established, and the data are provided for a service layer to perform quick query, reading, storage and the like.
In the embodiment of the invention, the client side can send the air quality display request to the server side, acquire a plurality of contrast types of air quality data, and further display corresponding air quality information in a plurality of display windows. The server side can respond to the air quality display request of the client side, and determine and return a plurality of comparison types of air quality data. Furthermore, the client can realize diversified display of the air quality in one system, and simultaneously display the concerned air quality information for the user, so that the efficiency of acquiring the air quality information by the user is improved.
The embodiment of the invention provides an air quality display device, which is arranged at a client and used for realizing the air quality display method. A schematic block diagram of an air quality display apparatus as shown in fig. 12, the apparatus comprising:
a creating module 1201, configured to create a plurality of display windows according to the window setting parameters when the window setting parameters are obtained;
an obtaining module 1202, configured to obtain an air quality display request, where the air quality display request includes multiple comparison types;
a first sending module 1203, configured to send an air quality display request to a server;
a first receiving module 1204, configured to receive air quality display data corresponding to the air quality display request returned by the server, where the air quality display data includes multiple air quality data of different types;
the displaying module 1205 is configured to display the air quality information of the multiple comparison types in multiple display windows according to the air quality data of the multiple comparison types.
Optionally, the air quality display request further includes a target map type, and the air quality display data further includes target map data corresponding to the target map type;
a presentation module 1205 for:
and rendering according to the air quality data of the multiple contrast types and the target map data, and displaying the air quality information of the multiple contrast types on the map of the target map type in multiple display windows.
Optionally, the target map type is a two-dimensional map type or a three-dimensional map type;
a presentation module 1205 for:
when the target map type is a two-dimensional map type, rendering is carried out according to the air quality data of the multiple comparison types and the target map data corresponding to the two-dimensional map type, and the air quality information of the multiple comparison types is displayed on the two-dimensional map in multiple display windows;
and when the type of the target map is a three-dimensional map type, rendering according to the air quality data of the multiple comparison types and the target map data corresponding to the three-dimensional map type, and displaying the air quality information of the multiple comparison types on the three-dimensional map in multiple display windows.
Optionally, the attributes of the contrast type at least include one or more of the following: region, time, air quality index, air quality forecast mode.
Optionally, the air quality display request further includes a target service type; the air quality display data comprises a plurality of contrast type air quality data of the target service type;
a presentation module 1205 for:
and displaying the air quality information of the multiple comparison types of the target business type in the multiple display windows according to the air quality data of the multiple comparison types of the target business type.
Optionally, the target service type includes a pollutant type and/or a meteorological type; the air quality data comprises first air quality data corresponding to pollutant types and/or second air quality data corresponding to meteorological types;
a presentation module 1205 for:
displaying a plurality of comparison types of pollutant information and/or meteorological information in a plurality of display windows according to the plurality of comparison types of first air quality data and/or second air quality data.
Optionally, the displaying module 1205 is further configured to:
when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal;
and performing corresponding operation processing on each display window according to the operation parameters.
Optionally, the operation signal is a point-taking signal;
a presentation module 1205 for:
when a point taking signal triggered in a first display window is received, acquiring a coordinate point corresponding to the point taking signal;
acquiring target air quality data of each display window on the coordinate point based on the coordinate point;
and simultaneously displaying corresponding target air quality information on the coordinate point in each display window according to the target air quality data.
Optionally, the operation signal is a moving signal;
a presentation module 1205 for:
when a mobile signal triggered at a second display window is received, acquiring a mobile parameter corresponding to the mobile signal;
and simultaneously moving the display picture of each display window based on the movement parameters.
In the embodiment of the invention, the client can send the air quality display request to the server to obtain a plurality of comparison types of air quality data, and then display corresponding air quality information in a plurality of display windows. The server side can respond to the air quality display request of the client side, and determine and return a plurality of comparison types of air quality data. Furthermore, the client can realize diversified display of the air quality in one system, and simultaneously display the concerned air quality information for the user, so that the efficiency of acquiring the air quality information by the user is improved.
The embodiment of the invention provides an air quality display device, which is arranged at a server and used for realizing the air quality display method. A schematic block diagram of an air quality display apparatus as shown in fig. 13, the apparatus comprising:
the second receiving module 1301 is configured to receive an air quality display request sent by a client, where the air quality display request includes multiple comparison types;
a determining module 1302, configured to determine, according to the air quality display request, corresponding air quality display data, where the air quality display data includes multiple comparison types of air quality data;
and a second sending module 1303, configured to return the air quality display data to the client.
Optionally, the air quality display request further includes a target map type, and the air quality display data further includes target map data corresponding to the target map type;
a determining module 1302 configured to:
acquiring corresponding air quality data according to a plurality of comparison types;
acquiring corresponding target map data according to the type of the target map;
and determining air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types and the target map data.
Optionally, the target map type includes a two-dimensional map type or a three-dimensional map type;
a determining module 1302 configured to:
when the type of the target map is a two-dimensional map type, acquiring target map data corresponding to the two-dimensional map type;
and when the type of the target map is the three-dimensional map type, acquiring target map data corresponding to the three-dimensional map type.
Optionally, the attributes of the contrast type at least include one or more of the following: area, time, air quality index, air quality forecast mode.
Optionally, the air quality display request further includes a target service type; the air quality display data comprises a plurality of contrast type air quality data of the target service type;
a determining module 1302 configured to:
acquiring air quality data of a plurality of comparison types of the target service type according to the target service type and the plurality of comparison types;
and determining air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types of the target service types.
Optionally, the target service type includes a pollutant type and/or a meteorological type; the air quality data comprises first air quality data corresponding to the pollutant type and/or second air quality data corresponding to the meteorological type;
a determining module 1302 configured to:
when the target service type comprises a pollutant type, determining first air quality data according to the pollutant type and the plurality of comparison types;
when the target service type comprises a meteorological type, determining second air quality data according to the meteorological type and the plurality of comparison types;
and determining air quality display data corresponding to the air quality display request according to the first air quality data and/or the second air quality data.
In the embodiment of the invention, the client side can send the air quality display request to the server side, acquire a plurality of contrast types of air quality data, and further display corresponding air quality information in a plurality of display windows. The server side can respond to the air quality display request of the client side, and determine and return a plurality of comparison types of air quality data. Furthermore, the client can realize diversified display of the air quality in one system, display concerned air quality information for the user and improve the efficiency of obtaining the air quality information by the user.
An exemplary embodiment of the present invention further provides an electronic device, which may be the client described above, and includes: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program, when executed by the at least one processor, is for causing the electronic device to perform a method according to an embodiment of the invention.
Exemplary embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a client, is adapted to cause the computer to perform a method according to an embodiment of the present invention.
An exemplary embodiment of the present invention further provides an electronic device, where the electronic device may be the server, and the electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program, when executed by the at least one processor, is for causing the electronic device to perform a method according to an embodiment of the invention.
Exemplary embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a server side, is configured to cause the computer to perform a method according to an embodiment of the present invention.
Exemplary embodiments of the present invention also provide a computer program product comprising a computer program, wherein the computer program is operative, when executed by a processor of a client, to cause the computer to perform a method according to an embodiment of the present invention.
The exemplary embodiments of the present invention also provide a computer program product, comprising a computer program, wherein the computer program, when being executed by a processor of a service end, is adapted to make the computer execute the method according to the embodiments of the present invention.
Referring to fig. 14, a block diagram of a structure of an electronic device 1400, which may be a server or a client of the present invention, which is an example of a hardware device that may be applied to aspects of the present invention, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 14, the electronic device 1400 includes a computing unit 1401 that can perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM) 1402 or a computer program loaded from a storage unit 1408 into a Random Access Memory (RAM) 1403. In the RAM 1403, various programs and data required for the operation of the device 1400 can be stored. The computing unit 1401, ROM 1402, and RAM 1403 are connected to each other via a bus 1404. An input/output (I/O) interface 1405 is also connected to bus 1404.
A number of components in the electronic device 1400 are connected to the I/O interface 1405, including: an input unit 1406, an output unit 1407, a storage unit 1408, and a communication unit 1409. The input unit 1406 may be any type of device capable of inputting information to the electronic device 1400, and the input unit 1406 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. Output unit 1407 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. Storage unit 1408 may include, but is not limited to, a magnetic disk, optical disk. The communication unit 1409 allows the electronic device 1400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and/or a chipset, such as a bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and/or the like.
The computing unit 1401 may be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 1401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The computing unit 1401 performs the respective methods and processes described above. For example, in some embodiments, the air quality exposure method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 1408. In some embodiments, part or all of the computer program can be loaded and/or installed onto the electronic device 1400 via the ROM 1402 and/or the communication unit 1409. In some embodiments, the computing unit 1401 may be configured to perform the air quality demonstration method by any other suitable means (e.g. by means of firmware).
Program code for implementing the methods of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
Claims (17)
1. An air quality display method, which is used for a client side, and comprises the following steps:
when window setting parameters are obtained, a plurality of display windows are created according to the window setting parameters;
obtaining an air quality display request, wherein the air quality display request comprises a plurality of comparison types and a target map type, and the attributes of the comparison types at least comprise one or more of the following: the area, time, air quality index and air quality forecasting mode;
sending the air quality display request to a server;
receiving air quality display data corresponding to the air quality display request returned by the server, wherein the air quality display data comprises the air quality data of the multiple comparison types and target map data corresponding to the target map type;
displaying the air quality information of the plurality of contrast types in the plurality of display windows according to the air quality data of the plurality of contrast types, wherein the displaying comprises: rendering according to the air quality data of the multiple contrast types and the target map data, and displaying the air quality information of the multiple contrast types on a map of the target map type in the multiple display windows;
when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal;
performing corresponding operation processing on each display window according to the operation parameters;
when the operation signal is a point-taking signal and when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal, including:
when a point taking signal triggered in a first display window is received, acquiring a coordinate point corresponding to the point taking signal, wherein the coordinate point is used for indicating a position concerned by a user;
and performing corresponding operation processing on each display window according to the operation parameters, wherein the operation processing comprises the following steps:
acquiring target air quality data of each display window on the coordinate point based on the coordinate point;
processing the target air quality data corresponding to each display window to obtain corresponding target air quality information;
and simultaneously displaying corresponding target air quality information on the coordinate points in each display window.
2. The air quality display method according to claim 1, wherein the target map type is a two-dimensional map type or a three-dimensional map type;
the rendering according to the air quality data of the plurality of contrast types and the target map data, and displaying the air quality information of the plurality of contrast types on the map of the target map type in the plurality of display windows, includes:
when the target map type is a two-dimensional map type, rendering according to the air quality data of the multiple contrast types and the target map data corresponding to the two-dimensional map type, and displaying the air quality information of the multiple contrast types on the two-dimensional map in the multiple display windows;
and when the target map type is a three-dimensional map type, rendering according to the air quality data of the multiple comparison types and the target map data corresponding to the three-dimensional map type, and displaying the air quality information of the multiple comparison types on the three-dimensional map in the multiple display windows.
3. The air quality display method according to claim 1, wherein the air quality display request further includes a target service type; the air quality presentation data comprises the plurality of comparative types of air quality data for the target traffic type;
the displaying the air quality information of the plurality of comparison types in the plurality of display windows according to the air quality data of the plurality of comparison types comprises:
and displaying the air quality information of the plurality of comparison types of the target service type in the plurality of display windows according to the air quality data of the plurality of comparison types of the target service type.
4. The air quality display method according to claim 3, wherein the target traffic type comprises a pollutant type and/or a meteorological type; the air quality data comprises first air quality data corresponding to pollutant types and/or second air quality data corresponding to meteorological types;
the displaying, in the plurality of display windows, the air quality information of the plurality of comparison types of the target service type according to the air quality data of the plurality of comparison types of the target service type includes:
displaying the plurality of comparison types of pollutant information and/or meteorological information in the plurality of display windows according to the plurality of comparison types of first air quality data and/or second air quality data.
5. The air quality display method of claim 1, wherein the operation signal is a movement signal;
when receiving an operation signal triggered in any display window, acquiring an operation parameter corresponding to the operation signal, including:
when a mobile signal triggered in a second display window is received, acquiring a mobile parameter corresponding to the mobile signal;
and performing corresponding operation processing on each display window according to the operation parameters, wherein the operation processing comprises the following steps:
and simultaneously moving the display picture of each display window based on the moving parameters.
6. An air quality display method, which is used for a server side, and comprises the following steps:
receiving an air quality display request sent by a client, wherein the air quality display request comprises a plurality of comparison types and a target map type, and the attributes of the comparison types at least comprise one or more of the following: region, time, air quality index, air quality forecast mode;
determining corresponding air quality display data according to the air quality display request, wherein the air quality display data comprise the air quality data of the multiple comparison types and target map data corresponding to the target map type;
returning the air quality display data to the client, the client being configured to: rendering according to the air quality data of the plurality of comparison types and the target map data, and displaying the air quality information of the plurality of comparison types on a map of the target map type in a plurality of display windows; when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal; performing corresponding operation processing on each display window according to the operation parameters;
when the operation signal is a point-taking signal and when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal, including:
when a point taking signal triggered in a first display window is received, acquiring a coordinate point corresponding to the point taking signal, wherein the coordinate point is used for indicating a position concerned by a user;
and performing corresponding operation processing on each display window according to the operation parameters, wherein the operation processing comprises the following steps:
acquiring target air quality data of each display window on the coordinate point based on the coordinate point;
processing the target air quality data corresponding to each display window to obtain corresponding target air quality information;
and simultaneously displaying corresponding target air quality information on the coordinate points in each display window.
7. The air quality display method according to claim 6, wherein the determining corresponding air quality display data according to the air quality display request comprises:
acquiring corresponding air quality data according to the plurality of comparison types;
acquiring corresponding target map data according to the type of the target map;
and determining air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types and the target map data.
8. The air quality display method according to claim 7, wherein the target map type includes a two-dimensional map type or a three-dimensional map type;
the obtaining of the target map data corresponding to the target map type according to the target map type in the air quality display request includes:
when the target map type is a two-dimensional map type, acquiring target map data corresponding to the two-dimensional map type;
and when the target map type is a three-dimensional map type, acquiring target map data corresponding to the three-dimensional map type.
9. The air quality display method according to claim 6, wherein the air quality display request further includes a target service type; the air quality demonstration data comprises the plurality of comparative types of air quality data of the target business type;
the determining the corresponding air quality display data according to the air quality display request includes:
acquiring air quality data of the plurality of comparison types of the target service type according to the target service type and the plurality of comparison types;
and determining air quality display data corresponding to the air quality display request according to the air quality data of the plurality of comparison types of the target service type.
10. The air quality display method of claim 9, wherein the target traffic type comprises a pollutant type and/or a meteorological type; the air quality data comprises first air quality data corresponding to the pollutant type and/or second air quality data corresponding to the meteorological type;
the obtaining the air quality data of the plurality of comparison types of the target service type according to the target service type and the plurality of comparison types comprises:
when the target traffic type includes the contaminant type, determining the first air quality data based on the contaminant type and the plurality of comparison types;
when the target business type comprises the weather type, determining the second air quality data according to the weather type and the plurality of comparison types;
and determining air quality display data corresponding to the air quality display request according to the first air quality data and/or the second air quality data.
11. An air quality display system, the system comprising a client and a server, wherein:
the client is used for creating a plurality of display windows according to the window setting parameters when the window setting parameters are obtained; obtaining an air quality display request, wherein the air quality display request comprises a plurality of comparison types and a target map type, and the attributes of the comparison types at least comprise one or more of the following: region, time, air quality index, air quality forecast mode; sending the air quality display request to the server; receiving air quality display data corresponding to the air quality display request returned by the server, wherein the air quality display data comprise the air quality data of the multiple comparison types and target map data corresponding to the target map type; rendering according to the air quality data of the plurality of comparison types and the target map data, and displaying the air quality information of the plurality of comparison types on a map of the target map type in the plurality of display windows; when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal; performing corresponding operation processing on each display window according to the operation parameters;
the server is used for receiving an air quality display request sent by a client, wherein the air quality display request comprises a plurality of comparison types and a target map type; determining corresponding air quality display data according to the air quality display request, wherein the air quality display data comprise the air quality data of the multiple comparison types and target map data corresponding to the target map type; returning the air quality display data to the client;
when the operation signal is a point-taking signal and when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal, including:
when a point taking signal triggered in a first display window is received, acquiring a coordinate point corresponding to the point taking signal, wherein the coordinate point is used for indicating a position concerned by a user;
and performing corresponding operation processing on each display window according to the operation parameters, wherein the operation processing comprises the following steps:
acquiring target air quality data of each display window on the coordinate point based on the coordinate point;
processing the target air quality data corresponding to each display window to obtain corresponding target air quality information;
and simultaneously displaying corresponding target air quality information on the coordinate points in each display window.
12. An air quality display device, characterized in that, the device sets up in the customer end, the device includes:
the system comprises a creating module, a displaying module and a displaying module, wherein the creating module is used for creating a plurality of displaying windows according to window setting parameters when the window setting parameters are obtained;
the system comprises an obtaining module, a display module and a display module, wherein the obtaining module is used for obtaining an air quality display request, the air quality display request comprises a plurality of comparison types and a target map type, and the attributes of the comparison types at least comprise one or more of the following: the area, time, air quality index and air quality forecasting mode;
the first sending module is used for sending the air quality display request to a server;
the first receiving module is used for receiving air quality display data corresponding to the air quality display request returned by the server, wherein the air quality display data comprise the air quality data of the multiple comparison types and target map data corresponding to the target map type;
the display module is used for rendering according to the air quality data of the multiple contrast types and the target map data, and displaying the air quality information of the multiple contrast types on the map of the target map type in the multiple display windows; when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal; performing corresponding operation processing on each display window according to the operation parameters;
when the operation signal is a point-taking signal and when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal, including:
when a point taking signal triggered in a first display window is received, acquiring a coordinate point corresponding to the point taking signal, wherein the coordinate point is used for indicating a position concerned by a user;
and performing corresponding operation processing on each display window according to the operation parameters, wherein the operation processing comprises the following steps:
acquiring target air quality data of each display window on the coordinate point based on the coordinate point;
processing the target air quality data corresponding to each display window to obtain corresponding target air quality information;
and simultaneously displaying corresponding target air quality information on the coordinate points in each display window.
13. An air quality display device, characterized in that, the device sets up in the server side, the device includes:
a second receiving module, configured to receive an air quality display request sent by a client, where the air quality display request includes multiple comparison types and a target map type, and attributes of the comparison types at least include one or more of the following: region, time, air quality index, air quality forecast mode;
the determining module is used for determining corresponding air quality display data according to the air quality display request, wherein the air quality display data comprise the air quality data of the multiple comparison types and target map data corresponding to the target map type;
a second sending module, configured to return the air quality display data to the client, where the client is configured to: displaying the air quality information of the plurality of comparison types in a plurality of display windows according to the air quality data of the plurality of comparison types; when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal; performing corresponding operation processing on each display window according to the operation parameters;
when the operation signal is a point-taking signal and when an operation signal triggered in any display window is received, acquiring an operation parameter corresponding to the operation signal, including:
when a point taking signal triggered in a first display window is received, acquiring a coordinate point corresponding to the point taking signal, wherein the coordinate point is used for indicating a position concerned by a user;
and performing corresponding operation processing on each display window according to the operation parameters, wherein the operation processing comprises the following steps:
acquiring target air quality data of each display window on the coordinate point based on the coordinate point;
processing the target air quality data corresponding to each display window to obtain corresponding target air quality information;
and simultaneously displaying corresponding target air quality information on the coordinate points in each display window.
14. An electronic device, comprising:
a processor; and
a memory for storing the program, wherein the program is stored in the memory,
wherein the program comprises instructions which, when executed by the processor of a client, cause the processor to carry out the method according to any one of claims 1-5.
15. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a client to perform the method of any one of claims 1-5.
16. An electronic device, comprising:
a processor; and
a memory for storing a program, wherein the program is stored in the memory,
wherein the program comprises instructions which, when executed by the processor of a server, cause the processor to perform the method of any of claims 6-10.
17. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a server to perform the method of any one of claims 6-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110980554.2A CN113567636B (en) | 2021-08-25 | 2021-08-25 | Air quality display method, system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110980554.2A CN113567636B (en) | 2021-08-25 | 2021-08-25 | Air quality display method, system and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113567636A CN113567636A (en) | 2021-10-29 |
CN113567636B true CN113567636B (en) | 2022-12-09 |
Family
ID=78172713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110980554.2A Active CN113567636B (en) | 2021-08-25 | 2021-08-25 | Air quality display method, system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113567636B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114266862A (en) * | 2021-12-28 | 2022-04-01 | 中科三清科技有限公司 | Air quality three-dimensional distribution image generation method, terminal and data processing server |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8762060B2 (en) * | 2007-01-30 | 2014-06-24 | International Business Machines Corporation | Pervasive network for environmental sensing |
CN103472502B (en) * | 2013-09-18 | 2014-09-17 | 中山大学 | Method for dynamically showing regional air quality and meteorological field |
CN105676312A (en) * | 2016-02-26 | 2016-06-15 | 广东欧珀移动通信有限公司 | Display method and system for weather forecast |
CN107038236A (en) * | 2017-04-19 | 2017-08-11 | 合肥学院 | A kind of air quality data visualization system |
CN109684431B (en) * | 2018-12-18 | 2019-10-22 | 中国气象局气象探测中心 | A kind of meteorological detection ability three-dimensional visualization display systems interacted |
CN112597414B (en) * | 2020-11-25 | 2022-03-08 | 中科三清科技有限公司 | Pollutant observation data processing method and system, electronic equipment and storage medium |
CN112486993A (en) * | 2020-11-30 | 2021-03-12 | 中科三清科技有限公司 | Air quality visual display method and air quality visual display system |
-
2021
- 2021-08-25 CN CN202110980554.2A patent/CN113567636B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113567636A (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11716266B2 (en) | Network security monitoring and correlation system and method of using same | |
US9942105B2 (en) | Animated globe showing real-time web user performance measurements | |
Wan et al. | A cloud-based global flood disaster community cyber-infrastructure: Development and demonstration | |
Pereira et al. | A platform for integrating heterogeneous data and developing smart city applications | |
Yang et al. | Efficient transmission of vector data over the Internet | |
US9672258B2 (en) | Systems and methods for dynamically selecting graphical query result display modes | |
CN107247591B (en) | Big data display interface interaction method based on map | |
WO2017206484A1 (en) | Geographic data presentation method and apparatus | |
DE112012004240T5 (en) | Monitor the resource consumption of an application program | |
CN111259545A (en) | Intelligent driving virtual simulation cloud platform | |
CN106031199A (en) | System and method to utilize geo-fences | |
CN102147807A (en) | Mass lightning data space-time analysis method based on GIS | |
Wang et al. | Using service-based GIS to support earthquake research and disaster response | |
CN115098888B (en) | Map data packet full-flow adaptive generation and encryption method, device and equipment | |
Bouloukakis et al. | Virtual reality for smart city visualization and monitoring | |
CN102156739A (en) | GIS (Geographic Information System) platform processing method for mass lightning data | |
CN112287057A (en) | BIM and GIS based engineering project information query processing method and system | |
CN113567636B (en) | Air quality display method, system and device | |
Chopade et al. | Real-time large-scale big data networks analytics and visualization architecture | |
TW201445341A (en) | System and method for searching based on selected area | |
US20120159376A1 (en) | Editing data records associated with static images | |
CN114443787B (en) | Atmospheric pollution characteristic identification method and device | |
Bonatsos et al. | Crime open data aggregation and management for the design of safer spaces in urban environments | |
CN110362765A (en) | Information display method, device and computer readable storage medium | |
KR100986621B1 (en) | System and method for dynamic map service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |