Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure 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.
In addition, it is also noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Referring first to fig. 1, fig. 1 is a schematic diagram of an application scenario of a method for displaying environmental information based on a diagram according to some embodiments of the present disclosure. In the application scenario of fig. 1, a user first performs a selection operation on environmental image information and/or index statistical information in a selection interface; then the server extracts the environment image information and/or index statistical information corresponding to the selection operation from the data server; and finally, the server transmits the extracted image information and the index statistical information to a display terminal. It should be noted that the map in fig. 1 is merely exemplary, and those skilled in the art may substitute the map according to actual situations.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules, for example, to provide distributed services, or as a single piece of software or software module. And is not particularly limited herein.
Referring next to fig. 2, fig. 2 is aflow 200 of some embodiments of a graph-based method of displaying environmental information according to the present disclosure. The method for displaying the environmental information based on the icons comprises the following steps:
step 201, displaying a map of the target area and a selection interface of the environment information of the target area.
In some embodiments, the execution subject of the method of displaying the environment information based on the drawing may be a server. The server can display the selection interface of the environment information to the user through the display terminal. The target area may be any area set manually or determined by a server. Further, the environment information includes environment image information and index statistical information. The environment image information may be information such as a plant type, a plant site range, a monitoring point, and an underground water contour, which is displayed on a map of the target area. For example, the environment image information may be displayed on the map of the target area by the water plant through a legend, a text label, and the like. Besides, the geographical position and the occupied area of the water plant can be displayed in a color filling mode. The index statistical information may be specific data information of a certain index obtained by a user through inputting a screening keyword, and the data information may be a data table, a graph, a line graph, a bar graph, and the like. The screening keywords can be information of a certain time period, information of one or more monitoring points, information of one or more monitoring indexes and the like.
Step 202, detecting a selection operation of the user on the selection interface.
In some embodiments, after the user performs the selection operation on the selection interface, the server may receive the selection operation from the display terminal utilized by the user through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
In some optional implementations of some embodiments, the selection interface may include at least one of: the system comprises a layer control interface, an environment element selection interface, a time selection interface and a monitoring point selection interface. Wherein the environment element selection interface may enable a user to select different environment element information. The environmental element information can represent environmental elements such as atmosphere, surface water, underground water, soil and the like. The time selection interface may allow the user to select different time intervals. The watch point selection interface may enable a user to select different watch points. Specifically, the layer control interface may further include at least one of the following options: the map layer options of the industrial planning region, the map layer options of the first class of industrial maps, the map layer options of the second class of industrial maps, the map layer options of the third class of industrial maps, the map layer options of waterworks, the map layer options of sewage treatment plants and the map layer options of garbage disposal stations. Therefore, the user can perform selection operation in the selection interface according to the requirement of the user.
And step 203, extracting corresponding environment image information and/or index statistical information according to the detected selection operation.
In some embodiments, the server may extract the environment image information and/or the index statistical information corresponding to the selection operation result in the database server. The data server stores a plurality of pieces of drawing information of the target area and monitoring data acquired by a plurality of monitoring devices. The server searches the relevant data which accords with the user request in the data server with the help of the search engine according to the selection operation of the user.
In some optional implementations of some embodiments, the server extracts the corresponding index statistical information as an example. The server may perform the following operations in the data server: firstly, after responding to the selection operation of a user on an environment element selection interface, a time selection interface and a monitoring point selection interface, a server acquires environment element information, time information and monitoring point information. And then, taking the environment element information input by the user as a first extraction keyword, matching the first extraction keyword with a plurality of data in the database server, and generating a first data set according to a matching result. And taking the time information input by the user as a second extraction keyword, matching the second extraction keyword with a plurality of data in the database server, and generating a second data set according to a matching result. And then, taking the monitoring point information selected by the user as a third extracted keyword, matching the matching result of the third extracted keyword with a plurality of data in the first data set and the second data set, and generating index statistical information according to the matching result. And finally extracting the index statistical information.
Further, in order to improve the accuracy of the data in the index statistical information, after the extracting the index statistical information, the method may further include:
step one, each data in the plurality of data in the matching result is subjected to sequence setting sequence number acquisition to obtain a sequence number set. For example, in response to the user selecting the groundwater level in the monitoring index information, the execution subject may sort the plurality of groundwater levels within the time period that corresponds to the time information representation input by the user according to the order of collection. For example, 10 data are collected and are sequentially ordered into 1-10. A sequence number set is obtained.
And secondly, generating a corresponding relation curve of the sequence number set and the plurality of data. Specifically, a coordinate system may be established with ten serial numbers in the serial number set as an abscissa and the 10 pieces of data as an ordinate, and a serial number-data correspondence curve may be generated.
And thirdly, fitting the corresponding relation curve to obtain a fitting curve. In addition, the sum of squares of differences between values of the plurality of data in the correspondence curve and values of points corresponding to the plurality of data in the fitted curve is the smallest. For example, the fitting effect is best when the sum of squares of differences between the numerical values of the 10 data in the corresponding relationship curve and the numerical values of the points corresponding to the serial numbers corresponding to the numerical values in the fitting curve is minimum.
And fourthly, determining the difference value between the numerical value of each data in the plurality of data in the corresponding relation curve and the numerical value of the point corresponding to the data in the fitting curve to obtain a difference value set. Specifically, the difference between the numerical value of each of the 10 data in the correspondence curve and the numerical value of the ordinate of the serial number corresponding to the numerical value in the fitting curve is determined. And then a difference set of 10 differences is obtained.
And fifthly, sorting the difference values in the difference value set according to the numerical value of the difference values. Further, a difference set in which 10 differences are arranged in numerical values can be obtained.
And sixthly, eliminating the difference values in the difference value set according to a preset numerical value eliminating rate. The person skilled in the art can determine the preset numerical rejection rate according to the actual situation. For example, the rejection rate may be 10%, and one of the 10 difference values may be proposed at the rejection rate. Either a maximum difference or a minimum difference may be proposed. The adjustment can be carried out by a person skilled in the art according to the actual situation.
And seventhly, taking the data corresponding to the difference values in the eliminated difference value set as effective data. Specifically, the data corresponding to the eliminated 9 difference values is used as valid data.
And finally, the eighth step, generating the index statistical information according to the effective data.
The determination method of the matching result serves as an invention point of the embodiment of the disclosure, and the problem that the accuracy of the index is affected by abnormal data acquired by monitoring equipment due to objective factors such as environment and the like as proposed in the background art is avoided. By removing the data in the matching result, abnormal data in the matching result can be improved, and the accuracy of the matching result is improved. Therefore, the accuracy of the index statistical information can be greatly improved. Therefore, reliable and accurate index data can be provided for technicians to carry out analysis and research work.
Similarly, the server may also filter the data in the data server according to the keywords when extracting the corresponding environment image information. Firstly, a server searches environment image information corresponding to a layer option in a layer control interface selected by a user in the data server according to a keyword or a name in the layer option. Thereby extracting the environmental image information.
And step 204, transmitting the extracted environment image information and/or index statistical information to a display terminal.
In some embodiments, the environment image information is directly displayed in the map of the target area in a manner of covering an identification legend or a layer. This way of display is more direct and more hierarchical. For the display of the index statistical information, the server may generate a data table to be displayed to the user. The data table can be a table of corresponding relations of reaction time information, monitoring point information, monitoring index information and index statistical information.
In some optional implementations of some embodiments, the display manner of the environment image information may be further shown by the following scheme: firstly, labeling a sequence number of each layer option in a layer control interface, wherein the sequence number is used for determining the covering sequence of the layer information corresponding to the layer option. And finally, displaying the map layer information to a map of the target area according to the covering sequence according to the selection operation of the user on the map layer options. For example, if the user selected map layer options are a sewage plant map layer option and a type of industrial map layer option. The server can label the sewage plant to the map of the target area in a legend labeling mode. The server may also display a range of a class of industrial sites by filling in yellow. Since the layer information is marked with a sequence number, the sequence number determines the covering sequence of the layer information. Therefore, when the map of the target area is displayed, the legend of the sewage plant is covered on a type of industrial map layer. In this way, the result seen by the user through the display terminal is more definite.
In some optional implementation manners of some embodiments, the display manner of the index statistical information may be further shown by the following scheme: first, a data table of index statistical information corresponding to the environmental element information, the time information, and the monitoring point information is generated based on the index statistical information extracted instep 203. The data table may be a table reflecting the corresponding relationship between environmental element information, time information, monitoring point information and index statistical information. Besides, graphs such as a curve graph, a pie chart and a bar chart which can represent the corresponding relation of time information, monitoring point information, environment element information and index statistical information can be generated.
With further reference to fig. 3, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of an apparatus for displaying environment information based on a graph, which correspond to the method embodiments shown in fig. 2, and which may be applied to various servers.
As shown in fig. 3, anapparatus 300 for displaying environment information based on a drawing of some embodiments includes adisplay unit 301, adetection unit 302, anextraction unit 303, and atransmission unit 304. Wherein thedisplay unit 301 is configured to display a map of the target area and a selection interface of environment information of the target area, wherein the environment information includes environment image information and index statistical information. Thedetection unit 302 is configured to detect a selection operation of a user on a selection interface. Theextraction unit 303 is configured to extract the corresponding environment image information and/or index statistical information according to the detected selection operation. Thetransmission unit 304 is configured to transmit the extracted environment information to the display terminal.
In some embodiments, thedisplay unit 301 of the apparatus for displayingenvironment information 300 may be connected to the display terminal through a wired connection or a wireless connection, thereby displaying a selection interface of the environment information to the user. The target area may be any area set manually or determined by a server. Further, the environment information includes environment image information and index statistical information. Wherein the environment image information may be information such as a plant type, a plant site range, a monitoring point, and an underground water contour by displaying the information on a map of the target area
In some embodiments, thedetection unit 302 receives the selection operation from the display terminal utilized by the user.
In some embodiments, theextraction unit 303 may extract the environmental image information and/or the index statistical information corresponding to the selection operation result in the database server. The data server stores a plurality of pieces of drawing information of the target area and monitoring data acquired by a plurality of monitoring devices. The server searches the relevant data which accords with the user request in the data server with the help of the search engine according to the selection operation of the user.
In some embodiments, thetransmission unit 304 may transmit the environmental image information and/or the index statistical information to the display terminal.
Referring now to FIG. 4, a schematic diagram of aserver 400 suitable for use in implementing some embodiments of the present disclosure is shown. The server shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, theserver 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from astorage device 408 into a Random Access Memory (RAM) 403. In theRAM 403, various programs and data necessary for the operation of theserver 400 are also stored. Theprocessing device 401, theROM 402, and theRAM 403 are connected to each other via abus 404. An input/output (I/O)interface 405 is also connected tobus 404.
Generally, the following devices may be connected to the I/O interface 405:input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; anoutput device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like;storage 408 including, for example, tape, hard disk, etc.; and acommunication device 409. The communication means 409 may allow theserver 400 to communicate with other devices, either wirelessly or by wire, to exchange data. While fig. 4 illustrates aserver 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 4 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network throughcommunications device 409, or installed fromstorage device 408, or installed fromROM 402. The computer program, when executed by theprocessing apparatus 401, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium of some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having 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 portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the server; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: displaying a map of a target area and a selection interface of environment information of the target area, wherein the environment information comprises environment image information and index statistical information; detecting a selection operation of a user on a selection interface; extracting corresponding environment image information and/or index statistical information according to the detected selection operation; and transmitting the extracted environment image information and/or index statistical information to a display terminal.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a display unit, a detection unit, an extraction unit, and a transmission unit. Here, the names of these units do not constitute a limitation of the unit itself in some cases, and for example, the detection unit may also be described as a "unit that detects a user selection operation".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.