Vehicle detection method and system based on WEB browser

文档序号:7875 发布日期:2021-09-17 浏览:53次 中文

1. A vehicle detection method based on a WEB browser is characterized by comprising the following steps:

after the diagnostic instrument carries out automobile diagnosis, the diagnostic data is transmitted to a server;

the browser sends a report browsing request to the server by adopting an AJAX technology based on an http protocol;

the server receives the report browsing request, queries the database through the id to obtain vehicle data, packages the vehicle data into a JSON format and returns the JSON format to the browser;

and the browser analyzes the received JSON format data through a template engine technology to form an editable detection report and display the editable detection report.

2. The WEB browser-based vehicle detection method according to claim 1, wherein the report browsing request includes: XMLHttpRequest.

3. The WEB browser-based vehicle detection method according to claim 1, wherein an AJAX engine is built in the browser.

4. The WEB browser-based vehicle detection method according to claim 1, wherein the detection report shows basic information of the vehicle, detection results, whether processing is required, and processing advice.

5. The WEB browser-based vehicle detection method of claim 1, wherein the detection report is in the form of a bar graph, a pie graph, or a table.

6. The WEB browser-based vehicle detection method of claim 1, further comprising:

the browser calculates the battery capacity through SOC data, draws the detected capacity by taking ten battery capacity blocks as full power, obtains a standard value through battery voltage data, marks an interval on an image, draws the battery capacity in the interval, below the interval and above the interval through the detected actual value, and gives related processing suggestions.

7. The vehicle detection method based on the WEB browser is characterized in that the detection of the cell voltage difference and the temperature difference and the detection of the resistance of the power battery are the same as the detection of the voltage of the power battery.

8. The WEB browser-based vehicle detection method of claim 1, further comprising:

the browser utilizes the vehicle control unit detection data returned by the server and draws a topological graph detection report of the gateway, the system and the network by using the native js + template engine.

9. The WEB browser-based vehicle detection method of claim 8, wherein in the topological graph, green is system normal, yellow is required to be confirmed, and gray is unable to communicate.

10. A vehicle detection system based on a WEB browser is characterized by comprising:

the diagnostic instrument is used for transmitting diagnostic data to the server after the automobile is diagnosed;

the server is used for receiving the report browsing request, inquiring the database through the id to obtain vehicle data, packaging the vehicle data into a JSON format and returning the JSON format to the browser;

and the browser is internally provided with an AJAX engine and used for sending a report browsing request to the server by adopting an AJAX technology based on an http protocol, and analyzing the received JSON format data by adopting a template engine technology to form an editable detection report for displaying.

Background

1. The prior art is in a static version webpage form, after an automobile is diagnosed, diagnosis data are transmitted to a server, a detection page is opened, and a browser sends a request to the server by adopting a front-end ajax technology based on an http protocol.

2. And the server receives the request, queries the latest vehicle data through the id query database, packages the latest vehicle data into a JSON format and returns the latest vehicle data to the browser.

3. The front end analyzes the received JSON format data through a template engine technology to form a text interface report, and displays basic information of the vehicle, a detection result, whether processing is needed or not, a processing suggestion, other descriptions and the like.

4. The existing detection report is in a text interface mode, and the problem that the vehicle is detected cannot be seen more intuitively and vividly.

5. Without power battery detection, the battery electric quantity, the total voltage of the power battery, the voltage of the storage battery and the maximum voltage difference can not be seen. The standard contrast value of data such as temperature difference, power battery insulation resistance and the like and the detected vehicle data value cannot be displayed to a customer and can inform the customer whether the data needs to be processed or not.

6. And the vehicle controller is not used for detecting, so that the vehicle system, the gateway and the like can not be seen visually, whether faults exist or not can not be given, and the processing suggestion of the problem system can not be given.

Disclosure of Invention

The technical problem to be solved by the invention is to provide a vehicle detection method and system based on a WEB browser, which can dynamically form a report, and is convenient and quick.

In order to solve the technical problem, the invention provides a vehicle detection method based on a WEB browser, which comprises the following steps: after the diagnostic instrument carries out automobile diagnosis, the diagnostic data is transmitted to a server; the browser sends a report browsing request to the server by adopting an AJAX technology based on an http protocol; the server receives the report browsing request, queries the database through the id to obtain vehicle data, packages the vehicle data into a JSON format and returns the JSON format to the browser; and the browser analyzes the received JSON format data through a template engine technology to form an editable detection report and display the editable detection report.

In some embodiments, the report view request includes: XMLHttpRequest.

In some embodiments, an AJAX engine is built into the browser.

In some embodiments, the detection report displays basic information of the vehicle, detection results, whether processing is required, processing recommendations.

In some embodiments, the detection report is in the form of a bar graph, pie graph, table report.

In some embodiments, further comprising: the browser calculates the battery capacity through SOC data, draws the detected capacity by taking ten battery capacity blocks as full power, obtains a standard value through battery voltage data, marks an interval on an image, draws the battery capacity in the interval, below the interval and above the interval through the detected actual value, and gives related processing suggestions.

In some embodiments, the cell voltage difference and temperature difference detection and the power battery resistance detection are the same as the battery voltage detection.

In some embodiments, further comprising: the browser utilizes the vehicle control unit detection data returned by the server and draws a topological graph detection report of the gateway, the system and the network by using the native js + template engine.

In some embodiments, the topological map has green color for system health, yellow color for confirmation, and gray color for no communication.

In addition, the invention also provides a vehicle detection system based on the WEB browser, and the system comprises: the diagnostic instrument is used for transmitting diagnostic data to the server after the automobile is diagnosed; the server is used for receiving the report browsing request, inquiring the database through the id to obtain vehicle data, packaging the vehicle data into a JSON format and returning the JSON format to the browser; and the browser is internally provided with an AJAX engine and used for sending a report browsing request to the server by adopting an AJAX technology based on an http protocol, and analyzing the received JSON format data by adopting a template engine technology to form an editable detection report for displaying.

After adopting such design, the invention has at least the following advantages:

1. the invention can more quickly and intuitively display the problems of the vehicle, the system with problems, the power battery and the like.

2. The problems of the vehicle can be more easily seen, and the proposal of whether the vehicle needs to be treated or not, how to treat the vehicle and the like is suggested.

3. Greatly saves the communication cost between the automobile service master and the client and the processing time cost.

Drawings

The foregoing is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and the detailed description.

FIG. 1 is a system architecture diagram of a Web browser based vehicle detection system.

Detailed Description

The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.

The invention is developed in order to enable automobile repair personnel to give processing opinions to relevant data detected by a vehicle, a problematic system, a power battery and the like after detecting the vehicle, and to express intuitively, so that a client can quickly and easily find out the problems of the vehicle and whether the vehicle needs to be processed or not.

1. After the automobile is diagnosed by the diagnostic instrument, the diagnostic data is transmitted to the server, the detection report module is opened, the browser sends a request to the server by adopting a front-end ajax technology based on an http protocol, the server receives the request, inquires the automobile data through an id inquiry database, packages the automobile data into a JSON format and returns the automobile data to the browser.

2. The front end analyzes the received JSON format data through a template engine technology to form an editable detection report, and displays basic information of the vehicle, a detection result, whether processing is needed or not, a processing suggestion, other descriptions and the like.

3. The method comprises the steps of calculating battery electric quantity through SOC data according to power battery detection data returned by a server, drawing detected electric quantity by taking ten electric quantity blocks as full electricity, obtaining a standard value through battery voltage data, marking an interval on an image, drawing the interval, the interval and the interval according to a detected actual value, and giving related processing suggestions. The detection of the cell voltage difference and the temperature difference is the same as the detection of the battery voltage.

4. The method comprises the steps of detecting data of the whole vehicle controller returned by a server, drawing topological graph detection reports of a gateway, a system and a network by using a native js + template engine, wherein green is that the system is normal, yellow needs to be confirmed, gray is that communication cannot be performed, each network corresponds to a related system, dynamically drawing the color of network grid lines, the value of a subsystem and background color representing problems, visually finding out problematic gateways and systems, and giving related treatment suggestions.

5. Finally, after the processing idea is edited and given by the detection technician, a detection report which cannot be edited any more is generated and sent to the user for viewing.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the present invention in any way, and it will be apparent to those skilled in the art that the above description of the present invention can be applied to various modifications, equivalent variations or modifications without departing from the spirit and scope of the present invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:网络地址展示方法、装置、电子设备及可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!