CN109614525A - Image processing method, device, diagnostic device and computer readable storage medium - Google Patents
Image processing method, device, diagnostic device and computer readable storage medium Download PDFInfo
- Publication number
- CN109614525A CN109614525A CN201811289975.5A CN201811289975A CN109614525A CN 109614525 A CN109614525 A CN 109614525A CN 201811289975 A CN201811289975 A CN 201811289975A CN 109614525 A CN109614525 A CN 109614525A
- Authority
- CN
- China
- Prior art keywords
- data
- floor interface
- interface
- preset value
- floor
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0808—Diagnosing performance data
Abstract
The embodiment of the present application discloses a kind of image processing method, device, diagnostic device and computer readable storage medium, wherein this method comprises: if receiving the first data that detection vehicle is sent, the quantity for the data that the detection vehicle of statistic record is sent;The data include first data;When the quantity of the data is greater than the first preset value, the first floor interface is drawn and exports, first floor interface is drawn out according to the second data and the second floor interface determined from the data;Second data are received before receiving first data;Second floor interface is preceding primary, the floor interface drawn out for drawing first floor interface;Top layer interface is drawn and exports, the top layer interface is drawn out according to first data.Using the application, it is possible to reduce draw time-consuming, improve drawing efficiency.
Description
Technical field
This application involves technical field of image processing more particularly to a kind of image processing method, device, diagnostic device and meters
Calculation machine readable storage medium storing program for executing.
Background technique
Diagnostic device can collect the data from vehicle, the data be shown with drawing image, consequently facilitating related personnel
Vehicle corresponding region is detected.Usually, diagnostic device can according to the data that last time is received from vehicle and
All historical datas for receiving before this are drawn, however, with the growth of time, the data volume meeting of diagnostic device storage
It is increasing, using such mode, time-consuming, reduction drawing efficiency of drawing will be increased.
Summary of the invention
The embodiment of the present application provides a kind of image processing method, device, diagnostic device and computer readable storage medium,
It is time-consuming that drawing can be reduced, improve drawing efficiency.
In a first aspect, the embodiment of the present application provides a kind of image processing method, it is applied to diagnostic device, comprising:
If receiving the first data that detection vehicle is sent, the number for the data that the detection vehicle of statistic record is sent
Amount;The data include first data;
When the quantity of the data is greater than the first preset value, the first floor interface, first bottom are drawn and exported
Interface is drawn out according to the second data and the second floor interface determined from the data;Second data are
It is received before receiving first data;Second floor interface is the previous of drafting first floor interface
Floor interface that is secondary, being drawn out;
Top layer interface is drawn and exports, the top layer interface is drawn out according to first data.
Optionally, described to draw and export the first floor interface when the quantity of the data is greater than the first preset value, it wraps
It includes:
When being greater than the first preset value in the quantity of the data, and being less than or equal to the second preset value, from the data
Determine third data;The third data are to receive preceding first preset times of first data, received inspection
The data that measuring car is sent;First preset times are less than second preset value;
The third data are determined as second data;
Second floor interface is set as Target Photo, the Target Photo is set as to the background picture of the first floor interface;
On the first floor interface after setting, according to the second data drawing image, and exporting includes described image
The setting after the first floor interface.
Optionally, described to draw and export the first floor interface when the quantity of the data is greater than the first preset value, it wraps
It includes:
When the quantity of the data is greater than the second preset value, the 4th data are determined from the data;Described second
Preset value is greater than first preset value;4th data are to receive preceding second preset times of first data, institute
The data that the detection vehicle received is sent;
4th data are determined as second data;
Second floor interface is set as Target Photo, the Target Photo is set as to the background picture of the first floor interface;
On the first floor interface after setting, according to the second data drawing image, and exporting includes described image
The setting after the first floor interface.
Optionally, the method also includes:
Determine other data in the data in addition to the first data and the 4th data;
Delete other data in the data.
Optionally, after the quantity of the data of the detection vehicle of the statistic record, the method also includes:
When the quantity of the data is third preset value, output background picture is empty third floor interface, described the
Three preset values are less than or equal to first preset value.
Second aspect, the embodiment of the present application provide a kind of image processing apparatus, comprising:
Statistical module, if the first data sent for receiving detection vehicle, the detection vehicle of statistic record
The quantity of the data of transmission;The data include first data;
Output module is drawn, for drawing and exporting the first bottom when the quantity of the data is greater than the first preset value
Interface, first floor interface are drawn out according to the second data and the second floor interface determined from the data
's;Second data are received before receiving first data;Second floor interface is described in drafting
Preceding primary, the floor interface drawn out of first floor interface;
The drafting output module, is also used to draw and export top layer interface, and the top layer interface is according to described first
What data were drawn out.
Optionally, the drafting output module is greater than the first preset value specifically for the quantity in the data, and is less than
Or when being equal to the second preset value, third data are determined from the data;The third data are to receive first number
The first preset times before, the data that received detection vehicle is sent;First preset times are less than described second
Preset value;The third data are determined as second data;Second floor interface is set as Target Photo, by the target
Picture is set as the background picture of the first floor interface;On the first floor interface after setting, drawn according to second data
Image, and export the first floor interface after the setting for including described image.
Optionally, the drafting output module, specifically for when the quantity of the data be greater than the second preset value when, from institute
It states and determines the 4th data in data;Second preset value is greater than first preset value;4th data are to receive
Preceding second preset times of first data, the data that received detection vehicle is sent;4th data are determined
For second data;Second floor interface is set as Target Photo, the Target Photo is set as to the back of the first floor interface
Scape picture;On the first floor interface after setting, according to the second data drawing image, and exporting includes described image
The first floor interface after the setting.
The third aspect, the embodiment of the present application provide a kind of diagnostic device, including processor, input equipment, output equipment
And memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is for storing
Computer program, the computer program include program instruction, and the processor is configured for calling described program instruction, are held
Method of the row as described in first aspect and its any optional way.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer storage medium
It is stored with computer program, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor
State method of the processor execution as described in first aspect and its any optional way.
If in conclusion diagnostic device receive detection vehicle send the first data, can be described in statistic record
The quantity for the data that vehicle is sent is detected, and when the quantity of the data is greater than the first preset value, can be based on from the data
In the second data for determining and the second floor interface draw and export the first floor interface, drawn based on the first data and defeated
Drawing efficiency is improved to reduce drawing time-consuming in top layer interface out.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described the application.
Fig. 1 is a kind of network architecture schematic diagram of image processing system provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of image processing method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another image processing method provided by the embodiments of the present application;
Fig. 4 is a kind of interface schematic diagram provided by the embodiments of the present application;
Fig. 5 is another interface schematic diagram provided by the embodiments of the present application;
Fig. 6 is another interface schematic diagram provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of image processing apparatus provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of diagnostic device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
Referring to Fig. 1, being a kind of network architecture schematic diagram of image processing system provided by the embodiments of the present application.Wherein,
The system includes diagnostic device 10, detection vehicle 20, and diagnostic device 10 can be established with detection vehicle 20 and be communicated to connect, the communication
Connection can connect for wired or wireless communication.
First data can be sent to diagnostic device 10 by detection vehicle 20.Wherein, which can refer to any
Need the data of plot exhibits.For example, first data can be the dynamic equilibrium data of this acquisition of detection vehicle 20.This is dynamic
Dynamic balance data may include the mark (such as model) for detecting the cylinder of vehicle 20 and/or the location information of cylinder.
Diagnostic device 10 can receive the first data that detection vehicle 20 is sent, and the detection vehicle 20 hair of statistic record
The quantity for the data sent.It, can be according to from the data when diagnostic device 10 determines that the quantity of the data is greater than the first preset value
In the second data for determining and the second floor interface draw and export the first floor interface, and drawn according to first data
And top layer interface is exported, so that testing staff is observed.Wherein, which connect before receiving first data
It receives.Second floor interface is preceding primary, the floor interface drawn out for drawing first floor interface.
In one embodiment, diagnostic device 10 can send detection instruction to detection vehicle two 20, to detect vehicle 20
When receiving the detection instruction, available first data, and first data are sent to diagnostic device 10.For example, examining
Disconnected equipment 10 can be after detecting the clicking operation for specified icons, send detection instruction to detection vehicle two 20.
In one embodiment, diagnostic device 10 is other than it can receive the first data that detection vehicle 20 is sent, also
It can receive the first data that other equipment are sent.It is acquired at this point, first data can be other equipment from detection vehicle 20
's.
Referring to Fig. 2, being a kind of flow diagram of image processing method provided by the embodiments of the present application.Wherein, the party
Method can be applied in system shown in FIG. 1.Specifically, this method may comprise steps of:
If S101, receiving the first data that detection vehicle is sent, the number that the detection vehicle of statistic record is sent
According to quantity.
In the embodiment of the present application, diagnostic device when receiving the first data that detection vehicle is sent, can recorde this
One data, and the quantity for the data that can be sent with the detection vehicle of statistic record.Wherein, the detection vehicle of the record is sent
Data include first data, which can be integer.
For example, the diagnostic device receive detection vehicle send data 3 before, the diagnostic device record the detection
The data that vehicle is sent include data 1 and data 2, quantity 2.The diagnostic device is in the data for receiving detection vehicle transmission
When 3, it can recorde data 3, the data of diagnostic device record include data 1, data 2 and data 3 at this time, which can
To count the quantity for the data that the detection vehicle of record is sent as 3.
In one embodiment, the type of each data is identical in the data that the detection vehicle of the record is sent.For example, should
Data 1, data 2, the data 3 that the data of the detection vehicle transmission of record include all are dynamic equilibrium data.Wherein, the record
The data that send of the detection vehicle in each data can be different, i.e., data 1, data 2, data 3 can be different, in full
Location information according to some cylinder in 1 is different from the location information of some cylinder in data 2.Data type is identical, can be in order to
The drawing of homogeneous data is compared in observation.
S102, when the quantity of the data is greater than the first preset value, draw and export the first floor interface, described first
Floor interface is drawn out according to the second data and the second floor interface determined from the data.
For example, diagnostic device can be drawn and export the first floor interface when the quantity of the data is greater than 1.Wherein, should
Second data are received before receiving first data;Second floor interface is to draw first floor interface
It is preceding primary, the floor interface drawn out.Wherein, which at least may include being drawn out according to second data
Image.
In one embodiment, when the quantity of the data is greater than the first preset value, diagnostic device is drawn and exports first
Floor interface, may include: the data quantity be greater than the first preset value, and be less than or equal to the second preset value when, diagnosis
Equipment determines third data from the data;The third data are determined as second data by diagnostic device;Diagnostic device will
Second floor interface is set as Target Photo, which is set as to the background picture of the first floor interface;After setting
On one floor interface, diagnostic device is according to the second data drawing image, and output includes first after the setting of the image
Floor interface.Wherein, which is to receive preceding first preset times of first data, received detection vehicle
The data of transmission;First preset times are less than second preset value.In one embodiment, which can be
Once.The Target Photo can be bmp picture.
For example, first preset value is 1, the second preset value is 2, when the quantity of the data is greater than 1 and is less than or equal to 2
When, diagnostic device is primary before determining to receive first data in the data, what received detection vehicle was sent
Data are determined as the second data as third data, and by the third data.The second floor interface is set bmp by diagnostic device
Picture sets the bmp picture to the Background of the first floor interface, on the first floor interface after setting, according to second
Data drawing image, and export the first floor interface after the setting for including described image.
Wherein, which is 1, and the second preset value is 2, when the quantity of the data is greater than 1 and is less than or equal to 2
When, diagnostic device can also be after determining third data in the data, and setting background picture is the first empty bottom circle
Face, and on the first floor interface after setting, diagnostic device is according to the second data drawing image, and exporting includes the image
The setting after the first floor interface.
In one embodiment, when the quantity of the data is greater than the first preset value, diagnostic device is drawn and exports first
Floor interface may include: when the quantity of the data is greater than the second preset value, and diagnostic device determines the 4th from the data
Data;4th data are determined as second data by diagnostic device;Second floor interface is set as Target Photo by diagnostic device,
The Target Photo is set as to the background picture of the first floor interface;On the first floor interface after setting, diagnostic device according to
The second data drawing image, and export the first floor interface after the setting for including the image.Wherein, second preset value
Greater than first preset value;4th data are to receive preceding second preset times of first data, received detection
The data that vehicle is sent.In one embodiment, which can be primary.The Target Photo can refer to bmp
Picture.
For example, second preset value is 2, when the quantity of the data is greater than 2, diagnostic device can be determined from the data
The preceding primary of first data is received out, and the data that received detection vehicle is sent, and should as the 4th data
4th data are determined as the second data.Diagnostic device can set bmp picture for the second floor interface, which is set
It is set to the Background of the first floor interface, on the first floor interface after setting, according to the second data drawing image, and is exported
The first floor interface after the setting including described image.
In one embodiment, diagnostic device can also determine in the data in addition to the first data and the 4th data
Other data;Delete other data in the data.For example, second preset value is 2, when the quantity is greater than 2, by true
Other data in the fixed data in addition to the first data and the 4th data, and delete other data in the data, can be with
So that diagnostic device only retains the data received twice recently from detection vehicle.Data are efficiently reduced to account for memory
With.
In one embodiment, diagnostic device can record data when receiving the data that detection vehicle is sent every time
Receiving time, in order to determine aforementioned third data and the 4th data.
S103, drafting simultaneously export top layer interface, and the top layer interface is drawn out according to first data.
In the embodiment of the present application, diagnostic device can draw out top layer interface according to first data.Wherein, top layer circle
Face may include the image drawn out according to first data.
In one embodiment, for the ease of observation, diagnostic device can be by image that floor interface includes and top layer circle
The image that face includes is distinguished with different colors.For example, the image that floor interface includes can be indicated with blue, top layer circle
The image that face includes can be indicated with black.
As it can be seen that in embodiment shown in FIG. 1, if diagnostic device can to receive the first data that detection vehicle is sent,
The quantity for the data that the detection vehicle of statistic record is sent, and when the quantity of the data is greater than the first preset value, it can
To draw and export the first floor interface based on the second data and the second floor interface determined from the data, and can be with
It is drawn based on the first data and exports top layer interface, to reduce drawing time-consuming, improve drawing efficiency.
Referring to Fig. 3, for the flow diagram of another image processing method provided by the embodiments of the present application.Wherein, should
Method can be applied in system shown in FIG. 1.Specifically, this method may comprise steps of:
If S201, receiving the first data that detection vehicle is sent, the number that the detection vehicle of statistic record is sent
According to quantity.
Wherein, step S201 can be with reference to the step S101 in Fig. 2 embodiment, and this will not be repeated here for the embodiment of the present application.
Diagnostic device can execute step S202 and S203 after executing step S201 side by side.
S202, when the quantity of the data is greater than the first preset value, draw and export the first floor interface, described first
Floor interface is drawn out according to the second data and the second floor interface determined from the data.
Wherein, step S202 can be found in the step S102 in Fig. 2 embodiment, and this will not be repeated here for the embodiment of the present application.
S203, when the quantity of the data is third preset value, output background picture is empty third floor interface, institute
Third preset value is stated less than or equal to first preset value.
In the embodiment of the present application, when the data volume of the data is third preset value, diagnostic device can export Background
Piece is empty third floor interface.
For example, when the quantity of the data is 1, then step S203 can be understood as drawing for the first time if the third preset value is 1
The process of floor interface processed, due to being first, the background picture which not can be set, therefore the third bottom
The background picture of bed boundary is sky, that is, is in no data state.
In one embodiment, in order to avoid due to repeatedly drawing, so that the image that the background picture of floor interface includes
Too much, the situation of the data more difficulty received several times recently so as to cause paired observation, diagnostic device can also count
The number that floor interface is drawn in preset time period, when the number is more than or equal to preset times, output background picture is empty
Third floor interface;When the number is less than preset times and when the quantity of the data is greater than the first preset value, draws and export
First floor interface.Wherein, the predetermined period can be one day, one week, January, the embodiment of the present application to it with no restrictions.
In further embodiment, diagnostic device can also count the quantity for the image that the second floor interface includes, and work as image
Quantity when being more than or equal to preset quantity, output background picture is empty third floor interface;When the quantity of the image is less than in advance
If the quantity of quantity and the data is greater than the first preset value, draws and export the first floor interface.
S204, drafting simultaneously export top layer interface, and the top layer interface is drawn out according to first data.
Wherein, step S204 can be found in the step S103 in Fig. 2 embodiment, and this will not be repeated here for the embodiment of the present application.
As it can be seen that in embodiment shown in Fig. 3, diagnostic device in addition to can when the quantity of data is greater than the first preset value,
The first floor interface is drawn and exported, can also draw when the quantity of data is third preset value and export third bottom circle
Face, meanwhile, top layer interface is drawn and exported, drawing efficiency is improved.
Based on the description of preceding method embodiment, it will illustrate that the embodiment of the present application provides below with dynamic equilibrium data instance
A kind of application scenarios.
Testing staff A is referred to by the designated button of click diagnostic device with sending dynamic equilibrium detection by diagnostic device
It enables to detection vehicle, detects vehicle available dynamic equilibrium data after receiving the dynamic equilibrium detection instruction, and will hair
Dynamic equilibrium data are sent to be observed to diagnostic device to draw and export respective interface convenient for testing staff A.Wherein, it triggers
Detect vehicle send dynamic equilibrium data to diagnostic device mode can there are many, only one of example herein, herein
It is not exhaustive.Specifically:
Diagnostic device when receiving the dynamic equilibrium data that detection vehicle is sent for the first time, can recorde send for the first time it is dynamic
Dynamic balance data.Since diagnostic device does not record the dynamic equilibrium data of the vehicle before this, being somebody's turn to do for record is counted
The quantity for detecting the data that vehicle is sent is 1 (for third preset value).Diagnostic device determines the quantity, and no more than 1, (first is default
Value), so that exporting background picture is empty floor interface 1, and the dynamic equilibrium data sent for the first time according to this are drawn and are exported
Top layer interface 1.
It referring to fig. 4, is a kind of interface schematic diagram provided by the embodiments of the present application.Interface shown in Fig. 4 includes above-mentioned bottom
Interface 1 and top layer interface 1, wherein the top layer interface 1 includes the image drawn out according to the dynamic equilibrium data sent for the first time
1。
Diagnostic device can recorde the detection vehicle when receiving the dynamic equilibrium data that second of detection vehicle sends
Second of dynamic equilibrium data sent, the quantity that can count the data of the detection vehicle transmission of record at this time is 2.It examines
Disconnected equipment determines that the quantity is greater than 1 and is less than or equal to 2 (the second preset values), draws and exports floor interface 2 and top layer circle
Face 2.Wherein, which drawn out according to floor interface 1 and the dynamic equilibrium data sent for the first time.Top layer
Interface 2 is that the dynamic equilibrium data sent according to second are drawn out.In another application scenarios, floor interface 2 be can be
It is that empty floor interface 2 and the dynamic equilibrium data sent for the first time are drawn out according to the background picture of setting.
Referring to Fig. 5, for another interface schematic diagram provided by the embodiments of the present application.Interface shown in fig. 5 includes above-mentioned bottom
Bed boundary 2 and top layer interface 2, wherein the floor interface 2 includes that the dynamic equilibrium data sent for the first time according to this are drawn out
Image 1.The top layer interface 2 includes the image 2 drawn out according to the dynamic equilibrium data that should be sent for the second time.
Diagnostic device can recorde the detection vehicle when receiving the dynamic equilibrium data that detection vehicle third time is sent
The dynamic equilibrium data that third time is sent, the quantity that can count the data of the detection vehicle transmission of record at this time is 3.It examines
Disconnected equipment determines that the quantity is greater than 2, draws and export floor interface 3 and top layer interface 3.Wherein, which is basis
What floor interface 2 and the dynamic equilibrium data that should be sent for the second time were drawn out.Top layer interface 3 is according to the dynamic of third time transmission
Dynamic balance data are drawn out.In another application scenarios, in order to save memory headroom, diagnostic device can retain second of hair
The dynamic equilibrium data that the dynamic equilibrium data and third time sent are sent, delete other dynamic equilibrium data.
And so on, diagnostic device when receiving the dynamic equilibrium data of the secondary transmission of detection vehicle N (N be greater than 3),
Aforesaid way can be used, obtains corresponding floor interface N and top layer interface N, this will not be repeated here for the embodiment of the present application.Together
Sample, in order to save memory headroom, diagnostic device can retain the dynamic equilibrium data of (N-1) secondary transmission and n-th is sent
Dynamic equilibrium data delete other dynamic equilibrium data.
Referring to Fig. 6, for another interface schematic diagram provided by the embodiments of the present application.Interface shown in fig. 6 includes above-mentioned bottom
Bed boundary N and top layer interface N, wherein floor interface N includes at least the dynamic equilibrium number according to (N-1) the secondary transmission
It can also include the figure that front is drawn out according to the dynamic equilibrium data of 1- (N-2) secondary transmission according to the image (N-1) drawn out
Picture.Top layer interface N includes the image N drawn out according to the dynamic equilibrium data that the n-th is sent.
Referring to Fig. 7, being a kind of structural schematic diagram of image processing apparatus provided by the embodiments of the present application.The image procossing
Device can be applied in diagnostic device.Specifically, the apparatus may include:
Statistical module 701, if the first data sent for receiving detection vehicle, the detection vehicle of statistic record
Send data quantity;The data include first data;
Output module 702 is drawn, for drawing and exporting the first bottom when the quantity of the data is greater than the first preset value
Bed boundary, first floor interface are drawn according to the second data and the second floor interface determined from the data
Out;Second data are received before receiving first data;Second floor interface is drafting institute
State the preceding primary of the first floor interface, the floor interface drawn out;
Output module 702 is drawn, is also used to draw and export top layer interface, the top layer interface is according to first number
According to what is drawn out.
In a kind of optional embodiment, output module 702 is drawn, is greater than the specifically for the quantity in the data
One preset value, and be less than or equal to the second preset value when, third data are determined from the data;The third data are to connect
Receive preceding first preset times of first data, the data that received detection vehicle is sent;Described first default time
Number is less than second preset value;The third data are determined as second data;Second floor interface is set as target
The Target Photo is set as the background picture of the first floor interface by picture;On the first floor interface after setting, according to institute
The second data drawing image is stated, and exports the first floor interface after the setting for including described image.
In a kind of optional embodiment, output module 702 is drawn, is greater than the specifically for the quantity when the data
When two preset values, the 4th data are determined from the data;Second preset value is greater than first preset value;Described
Four data are to receive preceding second preset times of first data, the data that received detection vehicle is sent;By institute
It states the 4th data and is determined as second data;Second floor interface is set as Target Photo, the Target Photo is set as
The background picture of one floor interface;On the first floor interface after setting, according to the second data drawing image, and export
The first floor interface after the setting including described image.
In a kind of optional embodiment, processing module 703, for determining in the data except the first data and the 4th
Other data except data;Delete other data in the data.
In a kind of optional embodiment, output module 702 is drawn, is also used in 701 statistic record of statistical module
After the quantity of the data of the detection vehicle, when the quantity of the data is third preset value, output background picture is sky
Third floor interface, the third preset value be less than or equal to first preset value.
It, can be with if diagnostic device receives the first data that detection vehicle is sent as it can be seen that in embodiment shown in Fig. 7
The quantity for the data that the detection vehicle of statistic record is sent, and when the quantity of the data is greater than the first preset value, it can
To draw and export the first floor interface based on the second data and the second floor interface determined from the data, based on the
One data draw and export top layer interface, to reduce drawing time-consuming, improve drawing efficiency.
Referring to Fig. 8, being a kind of structural schematic diagram of diagnostic device provided by the embodiments of the present application.Diagnosis shown in Fig. 8
Equipment may include: one or more processors 801;One or more input equipments 802, one or more output equipments 803
With memory 804.Above-mentioned processor 801, input equipment 802, output equipment 803 are connected with memory 804 by bus.Storage
Device 804 includes program instruction for storing computer program, the computer program, and processor 801 is for executing memory 804
The program instruction of storage.
In the embodiment of the present application, it is loaded by processor 801 and executes one or one stored in computer storage medium
Above instructions, to realize the corresponding steps of method flow shown in above-mentioned Fig. 2-Fig. 3;In the specific implementation, computer storage medium
In one or one or more instruction loaded by processor 801 and execute following steps: if receiving inspection by input equipment 802
The first data that measuring car is sent, the then quantity for the data that the detection vehicle of statistic record is sent;The data include institute
State the first data;When the quantity of the data is greater than the first preset value, draws and the first bottom is exported by output equipment 803
Interface, first floor interface are drawn out according to the second data and the second floor interface determined from the data
's;Second data are received before receiving first data;Second floor interface is described in drafting
Preceding primary, the floor interface drawn out of first floor interface;It draws and passes through output equipment 803 and export top layer interface, institute
Stating top layer interface is drawn out according to first data.
Optionally, at least one program instruction is loaded by the processor 801 and is executed when the quantity of the data is greater than the
When one preset value, the first floor interface is drawn and exported, is specially greater than the first preset value in the quantity of the data, and be less than
Or when being equal to the second preset value, third data are determined from the data;The third data are to receive first number
The first preset times before, the data that received detection vehicle is sent;First preset times are less than described second
Preset value;The third data are determined as second data;Second floor interface is set as Target Photo, by the target
Picture is set as the background picture of the first floor interface;On the first floor interface after setting, drawn according to second data
Image, and export the first floor interface after the setting for including described image.
Optionally, at least one program instruction is loaded by the processor 801 and is executed when the quantity of the data is greater than the
When one preset value, the first floor interface is drawn and exports, specially when the quantity of the data is greater than the second preset value, from institute
It states and determines the 4th data in data;Second preset value is greater than first preset value;4th data are to receive
Preceding second preset times of first data, the data that received detection vehicle is sent;4th data are determined
For second data;Second floor interface is set as Target Photo, the Target Photo is set as to the back of the first floor interface
Scape picture;On the first floor interface after setting, according to the second data drawing image, and exporting includes described image
The first floor interface after the setting.
Optionally, at least one program instruction is also loaded and is executed by the processor 801 and determined in the data except first
Other data except data and the 4th data;Delete other data in the data.
Optionally, at least one program instruction is also loaded by the processor 801 and executes the detection in statistic record
After the quantity of the data of vehicle, when the quantity of the data is third preset value, output background picture is empty third bottom
Bed boundary, the third preset value are less than or equal to first preset value.
It should be appreciated that alleged processor 801 can be central processing unit (Central Processing Unit,
CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor,
DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate
Array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystal
Pipe logical device, discrete hardware components etc..General processor can be microprocessor or the processor be also possible to it is any often
The processor etc. of rule.
Input equipment 802 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user
Directional information), microphone etc., output equipment 803 may include display (LCD etc.), loudspeaker etc..The input equipment 802 with
Output equipment 803 can also be the wired or wireless communication interface of standard.
The memory 804 may include read-only memory and random access memory, and to processor 801 provide instruction and
Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited
Store up database.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the application
Matter is stored with computer program, and the computer program includes program instruction, realization when described program instruction is executed by processor
The implementation of image processing method described in Fig. 2 and Fig. 3 provided by the embodiments of the present application.
The computer readable storage medium can be the internal storage unit of the diagnostic device of aforementioned any embodiment, such as
The hard disk or memory of diagnostic device.The computer readable storage medium is also possible to the External memory equipment of diagnostic device, such as
The plug-in type hard disk being equipped on diagnostic device, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, which can also both include
The internal storage unit of diagnostic device also includes External memory equipment.Computer readable storage medium is for storing computer program
And other programs and data needed for the diagnostic device.Computer readable storage medium can be also used for temporarily storing
Data through exporting or will export.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that disclosed system, method, apparatus and diagnosis
Equipment may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, institute
The division of unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple lists
Member or component can be combined or can be integrated into another system, or some features can be ignored or not executed.In addition, institute
Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit
Indirect coupling or communication connection is also possible to electricity, mechanical or other form connections.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present application scheme according to the actual needs
Purpose.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, diagnostic device or the network equipment etc.) executes each embodiment the method for the application
All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should all cover within the scope of protection of this application.Therefore, the protection scope of the application should be with right
It is required that protection scope subject to.
Claims (10)
1. a kind of image processing method is applied to diagnostic device characterized by comprising
If receiving the first data that detection vehicle is sent, the quantity for the data that the detection vehicle of statistic record is sent;
The data include first data;
When the quantity of the data is greater than the first preset value, the first floor interface, first floor interface are drawn and exported
It is to be drawn out according to the second data and the second floor interface determined from the data;Second data are to connect
It is received before receiving first data;Second floor interface is the preceding primary of drafting first floor interface,
The floor interface drawn out;
Top layer interface is drawn and exports, the top layer interface is drawn out according to first data.
2. the method according to claim 1, wherein described when the quantity of the data is greater than the first preset value
When, it draws and exports the first floor interface, comprising:
When being greater than the first preset value in the quantity of the data, and being less than or equal to the second preset value, determined from the data
Third data out;The third data are to receive preceding first preset times of first data, received detection vehicle
Send data;First preset times are less than second preset value;
The third data are determined as second data;
Second floor interface is set as Target Photo, the Target Photo is set as to the background picture of the first floor interface;
On the first floor interface after setting, according to the second data drawing image, and the institute including described image is exported
The first floor interface after stating setting.
3. the method according to claim 1, wherein described when the quantity of the data is greater than the first preset value
When, it draws and exports the first floor interface, comprising:
When the quantity of the data is greater than the second preset value, the 4th data are determined from the data;Described second is default
Value is greater than first preset value;4th data are to receive preceding second preset times of first data, are received
The data that the detection vehicle arrived is sent;
4th data are determined as second data;
Second floor interface is set as Target Photo, the Target Photo is set as to the background picture of the first floor interface;
On the first floor interface after setting, according to the second data drawing image, and the institute including described image is exported
The first floor interface after stating setting.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Determine other data in the data in addition to the first data and the 4th data;
Delete other data in the data.
5. the method according to claim 1, wherein the number of the data of the detection vehicle of the statistic record
After amount, the method also includes:
When the quantity of the data is third preset value, output background picture is empty third floor interface, and the third is pre-
If value is less than or equal to first preset value.
6. a kind of image processing apparatus is applied to diagnostic device characterized by comprising
Statistical module, if the first data sent for receiving detection vehicle, the detection vehicle of statistic record are sent
Data quantity;The data include first data;
Output module is drawn, for drawing and exporting the first floor interface when the quantity of the data is greater than the first preset value,
First floor interface is drawn out according to the second data and the second floor interface determined from the data;Institute
Stating the second data is received before receiving first data;Second floor interface is to draw first bottom
Preceding primary, the floor interface drawn out of bed boundary;
The drafting output module, is also used to draw and export top layer interface, and the top layer interface is according to first data
It draws out.
7. device according to claim 6, which is characterized in that the drafting output module is specifically used in the data
Quantity be greater than the first preset value, and be less than or equal to the second preset value when, third data are determined from the data;It is described
Third data are to receive preceding first preset times of first data, the data that received detection vehicle is sent;Institute
The first preset times are stated less than second preset value;The third data are determined as second data;By the second bottom
Interface is set as Target Photo, and the Target Photo is set as to the background picture of the first floor interface;The first bottom after setting
On interface, according to the second data drawing image, and the first floor interface after the setting for including described image is exported.
8. device according to claim 6, which is characterized in that the drafting output module is specifically used for working as the data
Quantity be greater than the second preset value when, the 4th data are determined from the data;Second preset value is greater than described first
Preset value;4th data are to receive preceding second preset times of first data, received detection vehicle hair
The data sent;4th data are determined as second data;Second floor interface is set as Target Photo, by the mesh
Piece of marking on a map is set as the background picture of the first floor interface;On the first floor interface after setting, drawn according to second data
It is imaged, and export the first floor interface after the setting for including described image.
9. a kind of diagnostic device, which is characterized in that including processor, input equipment, output equipment and memory, the processing
Device, input equipment, output equipment and memory are connected with each other, wherein the memory is for storing computer program, the meter
Calculation machine program includes program instruction, and the processor is configured for calling described program instruction, executes claim 1-5 such as and appoints
Method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer storage medium is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor execute such as right when being executed by a processor
It is required that the described in any item methods of 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811289975.5A CN109614525B (en) | 2018-10-31 | 2018-10-31 | Image processing method, image processing apparatus, diagnostic device, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811289975.5A CN109614525B (en) | 2018-10-31 | 2018-10-31 | Image processing method, image processing apparatus, diagnostic device, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109614525A true CN109614525A (en) | 2019-04-12 |
CN109614525B CN109614525B (en) | 2023-05-05 |
Family
ID=66002186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811289975.5A Active CN109614525B (en) | 2018-10-31 | 2018-10-31 | Image processing method, image processing apparatus, diagnostic device, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109614525B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017173576A1 (en) * | 2016-04-05 | 2017-10-12 | 华为技术有限公司 | Display method and terminal |
CN107995977A (en) * | 2017-09-07 | 2018-05-04 | 深圳市云中飞网络科技有限公司 | Interface processing method, device, computer-readable storage medium and electronic equipment |
-
2018
- 2018-10-31 CN CN201811289975.5A patent/CN109614525B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017173576A1 (en) * | 2016-04-05 | 2017-10-12 | 华为技术有限公司 | Display method and terminal |
CN107995977A (en) * | 2017-09-07 | 2018-05-04 | 深圳市云中飞网络科技有限公司 | Interface processing method, device, computer-readable storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
舒慧珍等: "测井数据的读取及绘图", 《石油仪器》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109614525B (en) | 2023-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105900064B (en) | The method and apparatus for dispatching data flow task | |
CN110018962A (en) | Service adjustment method and system based on distributed service framework and registration center | |
CN107967359B (en) | Data visual analysis method, system, terminal and computer readable storage medium | |
CN110109752A (en) | A kind of method for allocating tasks, device, electronic equipment and storage medium | |
CN110134587A (en) | A kind of test method, test device and computer readable storage medium | |
CN108665239A (en) | Workflow processing method, device, computer equipment and storage medium | |
CN107463767A (en) | Cloud HIS medical insurances data processing method and system | |
CN107798617A (en) | Insurance business treating method and apparatus | |
CN108388507A (en) | Batch script testing method and device | |
CN106777999A (en) | Image processing method, system and device | |
CN111986039A (en) | Claims wind control identification method and device, computer equipment and readable storage medium | |
CN109522344A (en) | A kind of data processing method and equipment based on data visualization | |
CN113342484A (en) | Process engine method, system, device and storage medium | |
CN107506494B (en) | Document handling method, mobile terminal and computer readable storage medium | |
CN107332991B (en) | Screen locking interface information processing method and device | |
CN108197002A (en) | Mobile equipment is without burying point data statistical method, system, terminal and medium | |
CN109614525A (en) | Image processing method, device, diagnostic device and computer readable storage medium | |
CN109033161A (en) | A kind of data processing method, server and computer-readable medium | |
CN111159262A (en) | Automatic driving simulation data processing method and device | |
CN108053044A (en) | A kind of reserving method of banking, device for displaying predetermined and terminal device | |
CN108492192A (en) | Premiums distribution method, system and readable storage medium storing program for executing | |
CN113342430A (en) | Fault code processing method and device, terminal equipment and readable storage medium | |
CN108700874A (en) | A kind of graphic display method of data flow, system and automotive diagnostic installation | |
CN113127327A (en) | Test method and device for performance test | |
CN107885813A (en) | Image processing method, mobile terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |