CN113742365A - Vehicle utilization data visual dynamic monitoring system and method - Google Patents

Vehicle utilization data visual dynamic monitoring system and method Download PDF

Info

Publication number
CN113742365A
CN113742365A CN202111072703.1A CN202111072703A CN113742365A CN 113742365 A CN113742365 A CN 113742365A CN 202111072703 A CN202111072703 A CN 202111072703A CN 113742365 A CN113742365 A CN 113742365A
Authority
CN
China
Prior art keywords
data
module
vehicle
json
redis database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111072703.1A
Other languages
Chinese (zh)
Inventor
王国军
张华成
沈海荣
王慧慧
刘宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yancheng Institute of Industry Technology
Yancheng Vocational Institute of Industry Technology
Original Assignee
Yancheng Institute of Industry Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yancheng Institute of Industry Technology filed Critical Yancheng Institute of Industry Technology
Priority to CN202111072703.1A priority Critical patent/CN113742365A/en
Publication of CN113742365A publication Critical patent/CN113742365A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2428Query predicate definition using graphical user interfaces, including menus and forms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention applies for a vehicle-using data visual dynamic monitoring system and a method, and the system comprises: the system comprises a timing module, a data receiving module, an Ajax asynchronous calling module, a data sending module, a JSON data/object conversion module, a Redis database processing module, an abnormal data detection module, a JSON data object generation module, an Echarts API module and a Baidu map API module. The invention can display various data generated by the vehicle using system in a visual chart and visual map mode, and further can visually know the daily running state and problems of the current vehicle using system, thereby providing corresponding decision reference for a vehicle using management department, helping a vehicle using unit to make more reasonable and more standard vehicle using management regulations, and avoiding some illegal behaviors in the vehicle using process.

Description

Vehicle utilization data visual dynamic monitoring system and method
Technical Field
The invention relates to the technical field of data visualization monitoring, in particular to a vehicle utilization data visualization dynamic monitoring system and a vehicle utilization data visualization dynamic monitoring method.
Background
With the continuous progress of information technology in recent years, technologies such as big data, internet of things, cloud computing and the like are being applied to the development of information systems of various industries, including information management systems of administrative vehicles and enterprise vehicles. The new technology enables the functions of the vehicle using system to be more comprehensive, and has higher requirements on the real-time performance of data, and a problem brought about therewith is how to conveniently and intuitively know the running condition of the current vehicle using system through the data, and the traditional data query and statistical analysis method is difficult to meet the actual use requirements of users when processing the vehicle using data, so that a plurality of systems are added with data visualization analysis functional modules which are usually customized and developed based on the current system, the used technologies are different, and the defects are that: high coupling degree, incomplete surface, low efficiency and difficult use.
Disclosure of Invention
The invention aims to provide a vehicle using data visualized dynamic monitoring system and a vehicle using data visualized dynamic monitoring method aiming at the defects of the prior art, so that visualized monitoring of daily vehicle using data is realized.
The invention discloses a vehicle use data visual dynamic monitoring system, which comprises: a timing module, a data receiving module, a data sending module, an Ajax asynchronous calling module, a JSON data/object conversion module, a Redis database processing module, an abnormal data detection module, a JSON data object generation module, an Echarts API module and a hundredth map API module,
the timing module is used for setting a time period and starting the S2 Ajax asynchronous calling module;
the Ajax asynchronous calling module is used for sending a monitoring request data type to the data receiving module, receiving monitoring data from the data sending module and forwarding the received monitoring data to the JSON data/object conversion module;
the data receiving module is used for receiving the monitoring request data type sent by the Ajax asynchronous calling module and forwarding the monitoring request data type to the Redis database processing module;
the Redis database processing module is used for storing associated data of the vehicle, receiving the data type of the monitoring request transmitted by the data receiving module, preprocessing the display data in the Redis database according to the processing type, and selectively calling the abnormal data detection module and the data processing module to process the monitoring request;
the JSON data object generation module receives the data transmitted by the data processing module, converts the data into a JSON data format and transmits the JSON data format to the data transmission module;
the data sending module is used for receiving the data of the JSON data object generating module and sending the data to the Ajax asynchronous calling module;
the JSON data/object conversion module is used for processing data forwarded by the Ajax asynchronous call module, and the converted data is called by the Echarts API module and the Baidu map API module.
The abnormal data detection module is used for taking out relevant data from a Redis database, comparing the relevant data with an abnormal data threshold value in a configuration file, and judging whether the data is abnormal or not, the data processing module comprises a vehicle real-time state data processing module and a diagram display data processing module, the vehicle real-time state data processing module is used for obtaining vehicle state data from the Redis database and calling a JSON data object generation module to convert the data into a JSON data format, and the diagram display data processing module is used for obtaining diagram display data from the Redis database and calling the JSON data object generation module to convert the data into the JSON data format.
Furthermore, the system also comprises a vehicle data chart dynamic display module, a vehicle real-time state display module, a short message notification module and an SP vehicle data interface module;
the vehicle data chart dynamic display module is responsible for dynamically refreshing the visual chart data sent by the Echarts API module to display;
the vehicle real-time state display module is used for displaying the position and state information of the vehicle in real time according to the data sent by the Baidu map API module;
the short message notification module is used for sending a data abnormity notification to a user, and the short message notification module is called when the abnormity data detection module finds abnormity.
Further, the timing module includes timed-start asynchronous request vehicle chart presentation data and timed-start asynchronous request vehicle position status data.
Further, the Ajax asynchronous calling module calling format is as follows:
ajaxPost ("transmit monitor data type", function (data) { data reception process });
sending the monitoring data type value comprises: EChartsData and MapData, wherein EChartsData represents requirements for background processing of vehicle data chart dynamic presentation data, and MapData represents requirements for background processing of vehicle real-time status presentation data.
The invention discloses a vehicle using data visualized dynamic monitoring method, which is based on the vehicle using data visualized dynamic monitoring system and comprises the following steps:
s1: the timing module sets a time period and starts the Ajax asynchronous calling module;
s2: the data receiving module receives the monitoring request data type sent by the Ajax asynchronous calling module and forwards the monitoring request data type to the Redis database processing module;
s3: after receiving the data type of the monitoring request transmitted by the data receiving module, the Redis database processing module preprocesses display data in the Redis database according to the processing type, and calls the abnormal data detection module, the vehicle real-time state data processing module and the chart display data processing module to process the monitoring request;
s4: the abnormal data detection module takes out related data from the Redis database and compares the related data with an abnormal data threshold value in the configuration file, and when the abnormality is found, the short message notification module is called to send a data abnormality notification to a user; when no abnormity is found, the vehicle real-time state data processing module acquires vehicle state data from the Redis database, calls the JSON data object generation module to convert the data into a JSON data format, acquires diagram display data from the Redis database and calls the JSON data object generation module to convert the data into the JSON data format;
s5: the JSON data object generation module transmits the data converted into the JSON data format to the data transmission module, the data transmission module transmits the received JSON data format to the Ajax asynchronous call module, and the Ajax asynchronous call module receives the JSON data format and transmits the JSON data/object conversion module;
s6: the JSON data/object conversion module processes and converts JSON format data, and the converted data is called by an Echarts API module and a Baidu map API module;
s7: the Echarts API module transmits the relevant data of the vehicle to the corresponding Echarts API, and displays the relevant data through the dynamic display module of the vehicle data chart, and the Baidu map API module transmits the relevant data of the vehicle state to the Baidu map API, and displays the relevant data through the real-time state display module of the vehicle.
Further, in step S2, when the data receiving module receives the request of the echertsdata data type, it will issue a vehicle data chart display data preprocessing instruction to the Redis database processing module; when receiving the MapData data type request, issuing a vehicle real-time state data preprocessing instruction to the Redis database processing module.
Further, when the Redis database processing module receives an EChartData instruction of the data receiving module, the relevant data about the vehicle chart display is collected, and the data is stored in a temporary cache for processing by the chart display data processing module;
when the Redis database processing module receives a MapData instruction of the data receiving module, relevant data about the real-time state of the vehicle are collected, and the data are stored in a temporary cache for the vehicle real-time data processing module to process;
and when the vehicle real-time data processing module or the chart display data processing module is called, the abnormal data detection module is called to carry out abnormal detection on the data.
Further, when the Redis database processing module receives an EChartData instruction, the abnormal data detection module performs abnormal detection on the related data in the temporary cache of the Redis according to an abnormal item required to be detected in the configuration file, and the detecting the abnormal item includes: the driver state, the vehicle use state, the number of idle vehicles, the annual inspection expiration of the vehicle, the expiration of the vehicle insurance, and whether the vehicle is overtime and not in queue; when the Redis database processing module receives a MapData instruction, the abnormal items detected by the abnormal data detection module comprise: whether the vehicle is illegally travelling, whether the vehicle stays in a preset area or not, and whether the vehicle GPS is on line or not.
Further, in step S4, the vehicle real-time status data processing module extracts and encapsulates the status information of the vehicle from the Redis database into a vehicle status data object, adds the vehicle status data object to the List table, and transfers the vehicle status data object to the JSON data object generating module, and the chart display data processing module extracts and encapsulates the data displayed by the chart from the Redis database into an object, and transfers the object to the JSON data object generating module for processing.
Further, in step S6, the JSON data/object conversion module calls an eval function to convert the data sent from the back end into an object for processing, sends the data to the Echarts API module for processing if the converted object attribute type is SHOW _ char, and sends the data to the hundred degree MAP API module for processing if the converted object attribute type is SHOW _ MAP.
Further, in step S7, the Echarts API module traverses the display data object list transferred by the JSON data/object conversion module, and after the setOption function is called to complete the setting of all the graph display data, the batchUpdate function in the vehicle data graph dynamic display module is called to perform batch refreshing on the graphs of the display page;
the Baidu map API module traverses the vehicle state data object list transmitted by the JSON data/object conversion module, extracts vehicle attributes, transmits the extracted attribute parameters to the Marker function of the Baidu map to create corresponding vehicle cover icons, and calls the addMarker function of the vehicle real-time state display module to add the information of each vehicle into the cover display list for rendering display after all the vehicle Marker functions are created, so that the vehicles are displayed at different positions of the map in the form of icons.
The visualized dynamic monitoring system and the visualized dynamic monitoring method for the vehicle using data, disclosed by the invention, adopt a B/S structure mode for development, can be developed into a plug-in which is conveniently and quickly integrated into the existing vehicle using system, and have the characteristics of real-time, high efficiency, accuracy, easiness in use, comprehensive and diversified data and the like in the aspect of visualized monitoring of the vehicle using data. The vehicle using system can display various data generated by the vehicle using system in a visual map and visual map mode by integrating the system of the invention, so that the daily running state and the problems of the current vehicle using system can be visually known, and a corresponding decision reference can be provided for a vehicle using management department, so that the vehicle using department can be helped to make more reasonable and more standard vehicle using management regulations, and some illegal behaviors in the vehicle using process are avoided.
Drawings
This figure forms part of the specification and is provided to supplement the flow of data processing and the relationship between them in the practice of the invention.
Fig. 1 is a schematic view of a vehicle data visualization dynamic monitoring system disclosed by the invention.
Detailed Description
For a more complete, clear and complete description of the disclosure and use, reference is now made to the following detailed description taken in conjunction with the accompanying drawings in which:
as shown in FIG. 1, the invention discloses a vehicle data visualization dynamic monitoring system, which comprises a timing module, an Ajax asynchronous calling module, a JSON data/object conversion module, an Echarts API module and a Baidu map API module at the front end, and a data receiving module, a data sending module, a Redis database processing module, an abnormal data detection module, a vehicle real-time state data processing module, a chart display data processing module, a JSON data object generation module and a short message notification module at the rear end.
The timing module is used for setting a time period to start the S2 Ajax asynchronous calling module. The timing module includes timed-start asynchronous request vehicle graph presentation data and timed-start asynchronous request vehicle position status data.
The calling method comprises the following steps:
v/timed Start asynchronous request vehicle Chart display data
setInterval("asyncCarEChartsPost()",20000);
V/timed Start of asynchronously requested vehicle position status data
setInterval("asyncCarMapPost()",15000)。
The Ajax asynchronous calling module is positioned at the front end of the system, sends a monitoring request type to the back-end data receiving module and receives monitoring data from the back-end data sending module through an http (http) network protocol (http), receives the monitoring data and forwards the monitoring data to the JSON data/object conversion module, and calls a format:
ajaxPost ("transmit supervisory data type", function (data) { data reception process }).
There are 2 types of sending monitoring data type values: EChartsData and MapData, which represent requirements for background processing of vehicle data chart dynamic presentation data and vehicle real-time status presentation data, respectively.
And the data receiving module is positioned at the rear end of the system, receives the monitoring request data type sent by the Ajax asynchronous calling module and forwards the monitoring request data type to the Redis database processing module. When an EChartData data type request is received, a vehicle data chart display data preprocessing instruction is issued to a Redis database processing module; when receiving the MapData data type request, issuing a vehicle real-time state data preprocessing instruction to the Redis database processing module.
The Redis database processing module is positioned at the rear end of the system, the efficient internal memory database Redis is used for storing vehicle using data transmitted by the vehicle using data interface by the vehicle using platform, and after request information transmitted by the data receiving module is received, the abnormal data detection module, the vehicle real-time state data processing module and the chart display data processing module are selected and called according to processing types to process a front-end request.
When the Redis database processing module receives an EChartData instruction of the data receiving module, the relevant data related to vehicle chart display is collected and stored in a temporary cache for processing by the chart display data processing module;
when receiving the MapData instruction of the data receiving module, the Redis database processing module collects relevant data about the real-time state of the vehicle and stores the data in a temporary cache for the vehicle real-time data processing module to process;
and when the vehicle real-time data processing module or the chart display data processing module is called, the abnormal data detection module is called to carry out abnormal detection on the data.
And the abnormal data detection module is positioned at the rear end of the system, takes out related data from the Redis database, compares the related data with an abnormal data threshold value in the configuration file, and calls the short message notification module when the abnormality is found.
When the Redis database processing module receives an EChartData instruction, the abnormal data detection module performs abnormal detection on related data in the temporary cache of the Redis according to an abnormal item required to be detected in the configuration file, wherein the abnormal item detection comprises the following steps: driver status, vehicle usage status, number of vehicles in idle, vehicle annual inspection due, vehicle insurance due, whether overtime is not in queue, etc.;
when the Redis database processing module receives a MapData instruction, the abnormal items detected by the abnormal data detection module comprise: whether the vehicle is illegally going out, whether the vehicle stays in a preset area, whether a vehicle GPS is on line and the like;
when the abnormal condition is detected by the abnormal detection module, the short message notification module is called to send the short message to the related personnel of the vehicle management department, so that the abnormal condition can be dealt with in time.
The vehicle real-time state data processing module is positioned at the rear end of the system, acquires vehicle state data from a Redis database, and calls a JSON data object generating module to convert the data into a JSON data format. The vehicle state processed by the vehicle real-time state data processing module comprises the following steps: the parking/driving state of the vehicle, the position of the vehicle, the speed of the vehicle, whether the vehicle is going out for a task, whether the vehicle is in maintenance, the license plate of the vehicle, the department of the vehicle, the color of the vehicle and the like. The vehicle real-time state data processing module takes out the state information of the vehicles from the Redis database, encapsulates the state information into vehicle state data objects, adds the vehicle state data objects into a List table and transmits the vehicle state data objects to the JSON data object generating module.
And the diagram display data processing module is positioned at the rear end of the system, acquires diagram display data from a Redis database, and calls a JSON data object generation module to convert the data into a JSON data format. The visual display data processed by the chart display data processing module comprises: the data comprises driver number data, vehicle type data, vehicle use property data, departure data, vehicle time statistics data, vehicle mileage data, service evaluation data, service category data, vehicle use duration data, vehicle use cost statistics data, vehicle oil consumption statistics data and the like. And the chart display data processing module takes out the data displayed by the chart from the Redis database and encapsulates the data into objects, and the objects are transmitted to the JSON data object generating module for processing.
The JSON data object generation module is positioned at the rear end of the system, receives data transmitted by the vehicle real-time state data processing module and the chart display data processing module, converts the data into a JSON data format, and transmits the data to the data transmission module to be transmitted to the front end. The core of the JSON data object generation module is to introduce a third-party library: JSON and conversion of objects to JSON format strings is done using the JSON convert.
The data sending module is positioned at the rear end of the system and used for receiving the data of the JSON data object generating module and sending the data to the front-end Ajax asynchronous calling module through an http (http) protocol. And the front-end Ajax asynchronous calling module transmits the data to the JSON data/object conversion module to analyze the data after receiving the data transmitted by the data transmitting module.
The JSON data/object conversion module is positioned at the front end of the system and used for processing data generated by the Ajax asynchronous call module, and the converted data is called by the Echarts API module and the Baidu map API module. And the front-end JSON data/object conversion module converts the data sent by the back end into an object by calling the eval function and carries out analysis processing. If the converted object attribute type is SHOW _ CHART, sending the data to an Echarts API module for processing; and if the converted object attribute type is SHOW _ MAP, sending the data to the Baidu MAP API module for processing.
And the Echarts API module is positioned at the front end of the system. Echarts is an open source visualization library implemented using JavaScript, which provides numerous data visualization display modes, such as: line graphs, bar graphs, scatter plots, pie charts, K-line graphs, radar plots, and the like. After calling the corresponding API to set the display data, the Echarts API module displays the display data on a page through the vehicle data chart dynamic display module.
And the Baidu map API module is positioned at the front end of the system. The system has various flexible professional visualization capabilities, and provides functions of visualization of various position data, user-defined covering and base map and the like. And the Baidu map API module transmits the relevant data of the vehicle state to the Baidu map API so as to display the data in the vehicle real-time state display module. The Baidu map API module is used for traversing a vehicle state data object list transmitted by the JSON data/object conversion module, extracting attributes such as longitude and latitude, departure state, task state, speed, altitude, license plate and color of each vehicle respectively, and then transmitting the extracted parameters to a Marker function of the Baidu map to create a corresponding vehicle covering icon.
And the vehicle data chart dynamic display module is positioned at the front end of the system and is responsible for dynamically refreshing the visual chart data sent by the Echarts API module for display. After the setOption function is called by the Echarts API module to complete the setting of all chart display data, a batchUpdate function in the vehicle data chart dynamic display module is called to refresh the charts of the display page in batch.
And the vehicle real-time state display module is positioned at the front end of the system and is used for displaying the position and the state information of the vehicle in real time according to the data sent by the Baidu map API module. After all vehicle Marker functions are established, the Baidu map API module calls the addMarker function of the vehicle real-time state display module to add the information of each vehicle into the coverage display list for rendering and displaying, so that the vehicles are displayed at different positions of the map in the form of icons, and the detailed information of each vehicle can be acquired through the operation of a mouse.
In this embodiment, the system further includes configuration file settings for setting a timing period of the timing module, a threshold of abnormal data, and the like during system operation; the system also includes a derivation module that visualizes the chart.
Based on the vehicle utilization data visualized dynamic monitoring system, the invention also discloses a vehicle utilization data visualized dynamic monitoring method, which comprises the following steps:
step one, system initialization setting
(1) And a front end page: the dynamic display page of the vehicle data chart needs to introduce an Echarts support file:
<scriptsrc="/ECharts/echarts.min.js"></script>
<scriptsrc="/ECharts/echarts-gl.min.js"></script>
(2) and a front end page: the vehicle real-time state display page needs to introduce a Baidu map support file:
Figure DEST_PATH_IMAGE002
(3) the vehicle using system writes related vehicle using data by calling the SP vehicle using data interface module, and the vehicle using data written by the interface support of the invention comprises the following steps: the data of the number of drivers, the data of the number of vehicles, the data of the types of the vehicles, the data of the use properties of the vehicles, the data of the number of the vehicles on the same day, the data of the vehicles counted according to the current year, month and the range of the vehicles, the data of the vehicles counted according to each month, the data counted according to the driving mileage, the data of the types of the driving vehicles, the service evaluation data, the data counted according to the service types of the vehicles, the data counted according to the states of the vehicles, the data counted according to the time length of the vehicles, the real-time positions and the state data of the vehicles, and the like are taken by a rear end, and the C # language development environment of NET is taken as an example, and the statement of calling an interface to write in the data is as follows:
E_CarDataSet({…});
the interface calling parameter is required to be in a JSON format, and the format is as follows:
{ "type": type "," list ": [ {" name ":" data name "," value ":" data value "}, … … }.
(4) And deploying the Redis database on the running server.
Step two, realizing the process of visually and dynamically monitoring the vehicle using data
S1: the timing module sets a time period to start the Ajax asynchronous calling module.
S2: the data receiving module receives the monitoring request data type sent by the Ajax asynchronous calling module and forwards the monitoring request data type to the Redis database processing module;
when the data receiving module receives an EChartData data type request, a vehicle data chart display data preprocessing instruction is issued to the Redis database processing module; when receiving the MapData data type request, issuing a vehicle real-time state data preprocessing instruction to the Redis database processing module.
S3: after receiving the data type of the monitoring request transmitted by the data receiving module, the Redis database processing module preprocesses display data in the Redis database according to the processing type, and calls the abnormal data detection module, the vehicle real-time state data processing module and the chart display data processing module to process the monitoring request;
when the Redis database processing module receives an EChartData instruction of the data receiving module, collecting associated data related to vehicle chart display, and storing the data in a temporary cache for processing by the chart display data processing module;
when the Redis database processing module receives a MapData instruction of the data receiving module, relevant data about the real-time state of the vehicle are collected, and the data are stored in a temporary cache for the vehicle real-time data processing module to process;
and when the vehicle real-time data processing module or the chart display data processing module is called, the abnormal data detection module is called to carry out abnormal detection on the data.
S4: the abnormal data detection module takes out related data from the Redis database and compares the related data with an abnormal data threshold value in the configuration file, and when the abnormality is found, the short message notification module is called to send a data abnormality notification to a user; when no abnormity is found, the vehicle real-time state data processing module acquires vehicle state data from the Redis database, calls the JSON data object generation module to convert the data into a JSON data format, acquires diagram display data from the Redis database and calls the JSON data object generation module to convert the data into the JSON data format;
when the Redis database processing module receives an EChartData instruction, the abnormal data detection module performs abnormal detection on related data in the temporary cache of the Redis according to an abnormal item required to be detected in the configuration file, wherein the abnormal item detection comprises the following steps: driver status, vehicle usage status, number of vehicles in idle, vehicle annual inspection due, vehicle insurance due, whether overtime is not in queue, etc.; when the Redis database processing module receives a MapData instruction, the abnormal items detected by the abnormal data detection module comprise: whether the vehicle is illegally going out, whether the vehicle stays in a preset area, whether a vehicle GPS is on line and the like; when the abnormal condition is detected by the abnormal detection module, the short message notification module is called to send the short message to the related personnel of the vehicle management department, so that the abnormal condition can be dealt with in time.
When no abnormity is found, the vehicle real-time state data processing module takes out and encapsulates the state information of the vehicle from the Redis database into a vehicle state data object, adds the vehicle state data object into the List table and transfers the vehicle state data object to the JSON data object generating module, and the chart display data processing module takes out and encapsulates the data displayed by the chart from the Redis database into an object and transfers the object to the JSON data object generating module for processing.
S5: the JSON data object generating module transmits the data converted into the JSON data format to the data transmitting module, the data transmitting module transmits the received JSON data format to the Ajax asynchronous invoking module, and the Ajax asynchronous invoking module receives the JSON data format and forwards the JSON data/object converting module.
S6: the JSON data/object conversion module processes and converts JSON format data, and the converted data is called by an Echarts API module and a Baidu map API module;
the JSON data/object conversion module calls an eval function to convert data sent by the rear end into an object for processing, if the converted object attribute type is SHOW _ CHART, the data is sent to an Echarts API module for processing, and if the converted object attribute type is SHOW _ MAP, the data is sent to a hundred-degree MAP API module for processing.
S7: the Echarts API module transmits the relevant data of the vehicle to the corresponding Echarts API, and displays the relevant data through the dynamic display module of the vehicle data chart, and the Baidu map API module transmits the relevant data of the vehicle state to the Baidu map API, and displays the relevant data through the real-time state display module of the vehicle.
The Echarts API module traverses the list of presentation data objects passed by the JSON data/object translation module:
when the driver data is processed, a setOption function is called, the pie parameter is transferred, and the annular diagram is set;
when the vehicle quantity data is processed, a setOption function is called, the pie parameter is transferred, and the annular diagram is set;
when vehicle type statistical data are processed, a setOption function is called, bar parameters are transferred, histogram setting is carried out, and transverse display attributes are set;
when the statistical data of the vehicle use properties are processed, a setOption function is called, bar parameters are transferred, histogram setting is carried out, and transverse display attributes are set;
when data are added in the single-vehicle-out state, a setOption function is called, pie parameters are transferred, roseType is set to radius, and rose diagram setting is carried out;
calling a setOption function when the vehicle number using trend data is processed, transferring bar and line parameters, and setting a histogram and a line graph;
calling a setOption function when monthly order data statistics are processed, transferring a bar parameter and setting a histogram;
calling a setOption function when the statistical data of the vehicle mileage is processed, transferring bar and line parameters, and setting a bar chart and a line chart;
calling a setOption function when the vehicle service evaluation data is processed, transferring the radar parameter, and setting a radar map;
calling a setOption function when the statistical data of the vehicle service types are processed, transferring the pie parameter, and setting a pie chart
And calling a setOption function to complete the setting of all chart display data, and calling a batchUpdate function in the vehicle data chart dynamic display module to refresh the charts of the display page in batch.
The Baidu map API module traverses a vehicle state data object list transmitted by the JSON data/object conversion module, attributes such as longitude and latitude, a departure state, a task state, speed, altitude, a license plate and color of each vehicle are extracted respectively, then the extracted attribute parameters are transmitted to a Marker function of the Baidu map to create corresponding vehicle cover icons, after all the vehicle Marker functions are created, an addMarker function of the vehicle real-time state display module is called to add information of each vehicle into the cover display list for rendering display, and therefore the vehicles are displayed at different positions of the map in the form of icons.
The invention adopts the B/S structure mode for development, has the characteristics of expandability, easy maintenance, easy use, low coupling and the like on the whole framework, can be developed into a plug-in which is conveniently and quickly integrated into the existing vehicle using system, has the characteristics of real-time, high efficiency, accuracy and easy use in the aspect of vehicle using data visual monitoring, and supports diversified display of data.
The vehicle using system can display various data generated by the vehicle using system in a visual map and visual map mode by integrating the system of the invention, so that the daily running state and the problems of the current vehicle using system can be visually known, and a corresponding decision reference can be provided for a vehicle using management department, so that the vehicle using department can be helped to make more reasonable and more standard vehicle using management regulations, and some illegal behaviors in the vehicle using process are avoided.
While the principles and implementations of the invention have been described in connection with the drawings, it is not intended to limit the scope of the technology disclosed, and it will be apparent to those skilled in the art that modifications and adaptations to those technologies may occur to one skilled in the art without departing from the scope of the technology disclosed.

Claims (12)

1. The utility model provides a use visual dynamic monitoring system of car data which characterized in that includes: a timing module, a data receiving module, an Ajax asynchronous calling module, a data sending module, a JSON data/object conversion module, a Redis database processing module, an abnormal data detection module, a JSON data object generation module, an Echarts API module and a hundredth map API module,
the timing module is used for setting a time period and starting the S2 Ajax asynchronous calling module;
the Ajax asynchronous calling module is used for sending a monitoring request data type to the data receiving module, receiving monitoring data from the data sending module and forwarding the received monitoring data to the JSON data/object conversion module;
the data receiving module is used for receiving the monitoring request data type sent by the Ajax asynchronous calling module and forwarding the monitoring request data type to the Redis database processing module;
the Redis database processing module is used for storing associated data of the vehicle, receiving the data type of the monitoring request transmitted by the data receiving module, preprocessing the display data in the Redis database according to the processing type, and selectively calling the abnormal data detection module and the data processing module to process the monitoring request;
the JSON data object generation module receives the data transmitted by the data processing module, converts the data into a JSON data format and transmits the JSON data format to the data transmission module;
the data sending module is used for receiving the data of the JSON data object generating module and sending the data to the Ajax asynchronous calling module;
the JSON data/object conversion module is used for processing data forwarded by the Ajax asynchronous call module, and the converted data is called by the Echarts API module and the Baidu map API module.
2. The vehicle data visualization dynamic monitoring system of claim 1, wherein the abnormal data detection module is configured to extract relevant data from a Redis database, compare the relevant data with an abnormal data threshold in a configuration file, and determine whether the data is abnormal, the data processing module includes a vehicle real-time status data processing module and a chart display data processing module, the vehicle real-time status data processing module is configured to obtain vehicle status data from the Redis database and call a JSON data object generation module to convert the data into a JSON data format, and the chart display data processing module is configured to obtain chart display data from the Redis database and call the JSON data object generation module to convert the data into the JSON data format.
3. The vehicle data visualization dynamic monitoring system of claim 1, further comprising a vehicle data chart dynamic display module, a vehicle real-time status display module, a short message notification module and an SP vehicle data interface module;
the vehicle data chart dynamic display module is responsible for dynamically refreshing the visual chart data sent by the Echarts API module to display;
the vehicle real-time state display module is used for displaying the position and state information of the vehicle in real time according to the data sent by the Baidu map API module;
the short message notification module is used for sending a data abnormity notification to a user, and the short message notification module is called when the abnormity data detection module finds abnormity.
4. The vehicle data visualization dynamic monitoring system of claim 1 wherein the timing module comprises timed start asynchronous request vehicle chart presentation data and timed start asynchronous request vehicle position status data.
5. The system of claim 1, wherein the Ajax asynchronous call module is in a call format of:
ajaxPost ("transmit monitor data type", function (data) { data reception process });
sending the monitoring data type value comprises: EChartsData and MapData, wherein EChartsData represents requirements for background processing of vehicle data chart dynamic presentation data, and MapData represents requirements for background processing of vehicle real-time status presentation data.
6. A vehicle use data visualization dynamic monitoring method is based on any one of claims 1 to 5, and is characterized by comprising the following steps:
s1: the timing module sets a time period and starts the Ajax asynchronous calling module;
s2: the data receiving module receives the monitoring request data type sent by the Ajax asynchronous calling module and forwards the monitoring request data type to the Redis database processing module;
s3: after receiving the data type of the monitoring request transmitted by the data receiving module, the Redis database processing module preprocesses display data in the Redis database according to the processing type, and calls the abnormal data detection module, the vehicle real-time state data processing module and the chart display data processing module to process the monitoring request;
s4: the abnormal data detection module takes out related data from the Redis database and compares the related data with an abnormal data threshold value in the configuration file, and when the abnormality is found, the short message notification module is called to send a data abnormality notification to a user; when no abnormity is found, the vehicle real-time state data processing module acquires vehicle state data from the Redis database, calls the JSON data object generation module to convert the data into a JSON data format, acquires diagram display data from the Redis database and calls the JSON data object generation module to convert the data into the JSON data format;
s5: the JSON data object generation module transmits the data converted into the JSON data format to the data transmission module, the data transmission module transmits the received JSON data format to the Ajax asynchronous call module, and the Ajax asynchronous call module receives the JSON data format and transmits the JSON data/object conversion module;
s6: the JSON data/object conversion module processes and converts JSON format data, and the converted data is called by an Echarts API module and a Baidu map API module;
s7: the Echarts API module transmits the relevant data of the vehicle to the corresponding Echarts API, and displays the relevant data through the dynamic display module of the vehicle data chart, and the Baidu map API module transmits the relevant data of the vehicle state to the Baidu map API, and displays the relevant data through the real-time state display module of the vehicle.
7. The vehicle data visualization dynamic monitoring method according to claim 6, wherein in step S2, when the data receiving module receives an EChartsData data type request, a vehicle data chart display data preprocessing instruction is issued to the Redis database processing module; when receiving the MapData data type request, issuing a vehicle real-time state data preprocessing instruction to the Redis database processing module.
8. The vehicle data visualization dynamic monitoring method according to claim 7, wherein when the Redis database processing module receives an EChartData command from the data receiving module, the data related to the vehicle chart display is collected and stored in a temporary cache for processing by the chart display data processing module;
when the Redis database processing module receives a MapData instruction of the data receiving module, relevant data about the real-time state of the vehicle are collected, and the data are stored in a temporary cache for the vehicle real-time data processing module to process;
and when the vehicle real-time data processing module or the chart display data processing module is called, the abnormal data detection module is called to carry out abnormal detection on the data.
9. The vehicle data visualization dynamic monitoring method of claim 8, wherein when the Redis database processing module receives an EChartsData command, the abnormal data detection module performs abnormal detection on the relevant data in the temporary cache of the Redis according to an abnormal item required to be detected in the configuration file, and the detecting the abnormal item includes: the driver state, the vehicle use state, the number of idle vehicles, the annual inspection expiration of the vehicle, the expiration of the vehicle insurance, and whether the vehicle is overtime and not in queue;
when the Redis database processing module receives a MapData instruction, the abnormal items detected by the abnormal data detection module comprise: whether the vehicle is illegally travelling, whether the vehicle stays in a preset area or not, and whether the vehicle GPS is on line or not.
10. The vehicle data visualization dynamic monitoring method of claim 6, wherein in step S4, the vehicle real-time status data processing module extracts and encapsulates the status information of the vehicle from the Redis database into vehicle status data objects, adds the vehicle status data objects into the List table, and transfers the vehicle status data objects to the JSON data object generation module, and the chart display data processing module extracts and encapsulates the data displayed in the chart from the Redis database into objects, and transfers the objects to the JSON data object generation module for processing.
11. The vehicle data visualization dynamic monitoring method of claim 6, wherein in step S6, the JSON data/object conversion module calls an eval function to convert the data sent from the back end into an object for processing, if the converted object attribute type is SHOW _ char, the data is sent to the Echarts API module for processing, and if the converted object attribute type is SHOW _ MAP, the data is sent to the hundredth MAP API module for processing.
12. The vehicle data visualization dynamic monitoring method according to claim 6, wherein in step S7, the Echarts API module traverses the displayed data object list transferred from the JSON data/object conversion module, and after the setOption function is invoked to complete the setting of all chart displayed data, the batchUpdate function in the vehicle data chart dynamic display module is invoked to perform batch refreshing on the charts of the displayed pages;
the Baidu map API module traverses the vehicle state data object list transmitted by the JSON data/object conversion module, extracts vehicle attributes, transmits the extracted attribute parameters to the Marker function of the Baidu map to create corresponding vehicle cover icons, and calls the addMarker function of the vehicle real-time state display module to add the information of each vehicle into the cover display list for rendering display after all the vehicle Marker functions are created, so that the vehicles are displayed at different positions of the map in the form of icons.
CN202111072703.1A 2021-09-14 2021-09-14 Vehicle utilization data visual dynamic monitoring system and method Pending CN113742365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111072703.1A CN113742365A (en) 2021-09-14 2021-09-14 Vehicle utilization data visual dynamic monitoring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111072703.1A CN113742365A (en) 2021-09-14 2021-09-14 Vehicle utilization data visual dynamic monitoring system and method

Publications (1)

Publication Number Publication Date
CN113742365A true CN113742365A (en) 2021-12-03

Family

ID=78738582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111072703.1A Pending CN113742365A (en) 2021-09-14 2021-09-14 Vehicle utilization data visual dynamic monitoring system and method

Country Status (1)

Country Link
CN (1) CN113742365A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115512536A (en) * 2022-08-09 2022-12-23 浙江大有实业有限公司杭州科技发展分公司 Intelligent vehicle management system based on human-vehicle image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4652620B2 (en) * 2001-06-22 2011-03-16 富士通テン株式会社 Vehicle movement management device
CN105657549A (en) * 2016-01-27 2016-06-08 四川长虹电器股份有限公司 Data dynamic visualization method based on big data
CN107426004A (en) * 2017-05-03 2017-12-01 深圳市众泰兄弟科技发展有限公司 A kind of network security visible processing method based on big data
CN108595610A (en) * 2018-04-20 2018-09-28 中国计量大学 A kind of electri forklift operating mode visualization system based on Internet of Things
CN110990431A (en) * 2019-08-19 2020-04-10 四川长虹电器股份有限公司 Method for realizing synchronous linkage carousel of China map and line graph data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4652620B2 (en) * 2001-06-22 2011-03-16 富士通テン株式会社 Vehicle movement management device
CN105657549A (en) * 2016-01-27 2016-06-08 四川长虹电器股份有限公司 Data dynamic visualization method based on big data
CN107426004A (en) * 2017-05-03 2017-12-01 深圳市众泰兄弟科技发展有限公司 A kind of network security visible processing method based on big data
CN108595610A (en) * 2018-04-20 2018-09-28 中国计量大学 A kind of electri forklift operating mode visualization system based on Internet of Things
CN110990431A (en) * 2019-08-19 2020-04-10 四川长虹电器股份有限公司 Method for realizing synchronous linkage carousel of China map and line graph data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王桃苹等: "南海舰船数据可视化分析系统设计与实现", 《计算机应用与软件》 *
陈小伟等: "基于Ajax的WebGPS车辆监控系统设计与实现", 《测绘科学》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115512536A (en) * 2022-08-09 2022-12-23 浙江大有实业有限公司杭州科技发展分公司 Intelligent vehicle management system based on human-vehicle image
CN115512536B (en) * 2022-08-09 2024-05-21 浙江大有实业有限公司杭州科技发展分公司 Intelligent vehicle management system based on portrait of person and vehicle

Similar Documents

Publication Publication Date Title
CN109800250B (en) System architecture for no longer configuring enterprise central server
CN110851228B (en) Complex event visualization arrangement processing system and method
CN104199889A (en) RTLogic big data processing system and method based on CEP technology
CN113742365A (en) Vehicle utilization data visual dynamic monitoring system and method
CN109426597B (en) Application performance monitoring method, device, equipment, system and storage medium
EP3178080A1 (en) Investigative interview management system
CN110071951A (en) Data query display systems and method under the conditions of a kind of big data
CN113762543A (en) Bus operation maintenance system
CN113743547A (en) Asset supervision method and platform based on RFID (radio frequency identification) tag and storage medium
CN112231371A (en) Configurable report generation method and system based on engineering machinery big data
CN115567563B (en) Comprehensive transportation hub monitoring and early warning system based on end edge cloud and control method thereof
CN116151557A (en) Visual management method and device for inspection equipment and data cockpit system
CN107643968A (en) Crash log processing method and processing device
CN212112213U (en) Quality analysis system based on big data
CN109800990A (en) A kind of engineering environmental protection monitoring and managing method and system
CN215117778U (en) Two-dimensional visual traffic monitoring system
CN114218453A (en) Data display method, device and equipment and readable storage medium
CN109934754B (en) Information publishing system for industry supervision and service
CN114221988A (en) Content distribution network hotspot analysis method and system
CN110633395A (en) Wisdom garden equipment is patrolled and examined and is reported for repairment visual system
DE102020129334A1 (en) METHOD, DEVICE, DEVICE FOR NAVIGATION AND COMPUTER-READABLE STORAGE MEDIUM
CN201489531U (en) Personnel tracking system using Android platform device
CN110687374A (en) System and method for analyzing on-board detection data of cab signal on-board equipment
CN111339939A (en) Attendance checking method and device based on image recognition
CN108337323A (en) A kind of metering instrument data AR Compare Systems and method based on full terminal

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