CN108052245A - A kind of data processing method and device of battery management system - Google Patents
A kind of data processing method and device of battery management system Download PDFInfo
- Publication number
- CN108052245A CN108052245A CN201711193437.1A CN201711193437A CN108052245A CN 108052245 A CN108052245 A CN 108052245A CN 201711193437 A CN201711193437 A CN 201711193437A CN 108052245 A CN108052245 A CN 108052245A
- Authority
- CN
- China
- Prior art keywords
- data
- battery
- chart
- battery data
- management system
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
An embodiment of the present invention provides a kind of data processing method and device of battery management system, the described method includes:Obtain the battery data of battery management system;Determine coordinate information of the battery data in default chart;According to the coordinate information, battery data chart is drawn;When receiving the operational order for the battery data chart, show target data chart corresponding with the operational order, solve the problems, such as to check that battery data is cumbersome in the prior art.The present embodiment not only need not can facilitate user to check current battery data, can also check historical data, observe data variation tendency, improve the efficiency of battery data processing by the form of diagram curve by any other software.
Description
Technical field
The present invention relates to technical field of battery management, more particularly to a kind of data processing method of battery management system and
A kind of data processing equipment of battery management system.
Background technology
Battery management system (Battery Management System, BMS) is the tie between battery and user, energy
Enough improve battery utilization rate, prevent battery occur overcharging or over-discharge, ensure cell safety, be widely used in electronic
The fields such as automobile, underwater robot.
Battery is managed by battery management system, mainly by battery voltage during the work time, temperature
The monitoring of the data such as degree is realized.By taking lithium battery management system as an example, in lithium battery management system, lithium battery administrative unit will
The data such as cell voltage, temperature that front-end collection chip collects are sent to the monitor terminals such as display screen or computer in real time.Prison
The monitoring software run on control terminal generally shows the current voltage of battery, temperature by the form of numerical character or dynamic picture
Etc. data, and store data into local document.
But when needing to check the data in the range of the longer time, for example, being checked at a certain time in the past when needing to pass through
It when analyzing the performance change trend of lithium battery, will can only be just stored in local document first to the historical data at current time
Data imported into computer, then by some data processing softwares, such as Excel etc., generate corresponding data drawing list
It is checked.This mode of operation is very inconvenient for data analysis, not only cumbersome, and the function of chart operation is more single
One, and it is also higher for the technology requirement of operating personnel.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present invention overcomes the above problem or at least partly in order to provide one kind
At a kind of data processing method of the battery management system to solve the above problems and a kind of corresponding data of battery management system
Manage device.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of data processing method of battery management system, bags
It includes:
Obtain the battery data of battery management system;
Determine coordinate information of the battery data in default chart;
According to the coordinate information, battery data chart is drawn;
When receiving the operational order for the battery data chart, show target corresponding with the operational order
Data drawing list.
Optionally, the battery management system includes battery management unit, the cell number for obtaining battery management system
According to the step of include:
The request for obtaining battery data is sent to battery management unit;
The battery data that the battery management unit is returned according to the request is received, the battery data includes lithium battery
Voltage data, temperature data and/or, impedance data.
Optionally, it is described to determine that the battery data includes in the step of coordinate information in presetting chart:
The numerical values recited scope of the x-axis and y-axis in default chart is determined respectively;
Calculate coordinate information of the battery data in the x-axis and y-axis.
Optionally, described according to the coordinate information, the step of drawing battery data chart, includes:
According to the coordinate information, data point of the battery data in the default chart is drawn;
The line between the data point and consecutive number strong point is drawn, to generate battery data chart.
Optionally, it is described when receiving the operational order for the battery data chart, show and refer to the operation
The step of making corresponding target data chart includes:
When receiving the zoom operations instruction for the battery data chart, show the target data figure after scaling
Table;And/or
When receiving the suspension display operation instruction for the battery data chart, suspend and show the battery data
The information at the number of targets strong point in chart.
Optionally, it is described when receiving the zoom operations instruction for the battery data chart, after showing scaling
The step of target data chart, includes:
Mouse click location and the first releasing position are obtained, first releasing position is located on the right side of the click location;
According to the mouse click location and the first releasing position, generation target rectangle region;
Extract the battery data in the target rectangle region;
According to the battery data in the target rectangle region, target data chart is drawn.
Optionally, further include:
Obtain click location and second releasing position of the mouse in the target data chart, second releasing position
On the left of the click location;
According to the mouse click location and the second releasing position, the target data chart is reverted into initial battery
Data drawing list.
Optionally, described when receiving the suspension display operation instruction for the battery data chart, suspend display
The step of information at the number of targets strong point in the battery data chart, includes:
Determine the current location of mouse;
When the current location of the mouse is overlapped with the position of any data point in the battery data chart, suspend aobvious
Show the information of the data point, described information include acquisition chip number, acquisition order and/or, battery data value.
Optionally, further include:
When receiving the operational order for preserving the battery data, a text document is created in local directory, and will
The battery data is write in the text document;And/or
When receiving the operational order for the image for preserving the battery data, by the data currently shown with picture format
It preserves into the local directory.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of data processing equipment of battery management system, bags
It includes:
Acquisition module, for obtaining the battery data of battery management system;
Determining module, for determining coordinate information of the battery data in default chart;
Drafting module, for according to the coordinate information, drawing battery data chart;
Display module, for when receiving the operational order for the battery data chart, showing and the operation
Instruct corresponding target data chart.
Optionally, the battery management system includes battery management unit, and the acquisition module includes:
Sending submodule, for sending the request for obtaining battery data to battery management unit;
Receiving submodule, for receiving the battery data that the battery management unit is returned according to the request, the electricity
The voltage datas of pond data including lithium battery, temperature data and/or, impedance data.
Optionally, the determining module includes:
Range determination submodule, for determining the numerical values recited scope of x-axis and y-axis in default chart respectively;
Computational submodule, for calculating coordinate information of the battery data in the x-axis and y-axis.
Optionally, the drafting module includes:
Data point rendering submodule, for according to the coordinate information, drawing the battery data in the default chart
In data point;
Line rendering submodule, for drawing the line between the data point and consecutive number strong point, to generate cell number
According to chart.
Optionally, the display module includes:
Zoom display submodule, for when receiving the zoom operations instruction for the battery data chart, showing
Target data chart after scaling;And/or
Suspension display sub-module, for when receive for the battery data chart suspension display operation instruction when,
It suspends and shows the information at the number of targets strong point in the battery data chart.
Optionally, the Zoom display submodule includes:
First acquisition unit, for obtaining mouse click location and the first releasing position, first releasing position is located at
On the right side of the click location;
Generation unit, for according to the mouse click location and the first releasing position, generation target rectangle region;
Extraction unit, for extracting the battery data in the target rectangle region;
Drawing unit, for according to the battery data in the target rectangle region, drawing target data chart.
Optionally, the Zoom display submodule further includes:
Second acquisition unit, for obtaining click location and second release position of the mouse in the target data chart
It puts, second releasing position is located on the left of the click location;
Recovery unit, it is for according to the mouse click location and the second releasing position, the target data chart is extensive
It is initial battery data chart again.
Optionally, the suspension display sub-module includes:
Determination unit, for determining the current location of mouse;
Display unit, for working as the current location of the mouse and the position of any data point in the battery data chart
During coincidence, suspend and show the information of the data point, described information include acquisition chip number, acquisition order and/or, battery
Data value.
Optionally, further include:
Data storage module is new in local directory for when receiving the operational order for preserving the battery data
A text document is built, and the battery data is write in the text document;And/or
Image preserving module, for when receiving the operational order for the image for preserving the battery data, will currently show
The data shown are preserved with picture format into the local directory.
Compared with background technology, the embodiment of the present invention includes advantages below:
By obtaining the battery data of battery management system, and determine coordinate information of the battery data in default chart,
So as to according to coordinate information, draw battery data chart.When receiving the operational order for battery data chart, energy
Enough show target data chart corresponding with the operational order, solve and check that battery data is cumbersome in the prior art and ask
Topic.The present embodiment not only need not can facilitate user to check currently by the form of diagram curve by any other software
Battery data, can also check historical data, observe data variation tendency, improve the efficiency of battery data processing.
Description of the drawings
Fig. 1 is a kind of step flow chart of the data processing method of battery management system of one embodiment of the invention;
Fig. 2 is a kind of schematic diagram of battery data chart of one embodiment of the invention;
Fig. 3 is the step flow chart of the data processing method of another battery management system of one embodiment of the invention;
Fig. 4 A- Fig. 4 C are a kind of operation charts of scaled data chart of the present invention;
Fig. 5 is a kind of schematic diagram of suspension display data point information of the present invention;
Fig. 6 is a kind of structure diagram of the data processing equipment of battery management system of one embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
With reference to Fig. 1, the step of showing a kind of data processing method of battery management system of one embodiment of the invention
Flow chart specifically may include steps of:
Step 101, the battery data of battery management system is obtained;
In embodiments of the present invention, battery management system can be lithium battery management system, which can
It communicates in a manner of using the single bidirectional communications bus of daisy chain.
In general, daisy chain represents a kind of wiring scheme in electronic apparatus engineering.For example, device A and equipment B cable phases
Even, equipment B is connected again with cable with equipment C, and equipment C is connected with cable with equipment D.Net will not be formed in this connection method
The topological structure of shape, could direct communication between only adjacent equipment.Such as in upper example device A be cannot be straight with equipment C
Letter is connected, they must be by equipment B come transfer.This method will not equally form loop, because the last one equipment is not
It can be connected to first equipment.This bus connection method can be used for transmitting electric power, digital signal and analog signal etc..
In embodiments of the present invention, multiple chips are included using the battery management system of the single bidirectional communications bus of daisy chain
With multiple batteries, multiple batteries are connected in series, and each chip manages a battery respectively.If for example, by 250 lithium battery strings
Connection connection, then can configure 250 chips in battery management system and manage above-mentioned 250 lithium batteries respectively.
Certainly, this method can also be applied in other battery management systems, the communication that each battery management system uses
Mode can determine that the present embodiment is not construed as limiting this according to actual needs.
In the concrete realization, the communication interface of data handling system can lead to the battery management unit of battery management system
Letter, obtains corresponding battery data.
By taking lithium battery management system as an example, battery data can be the voltage data of lithium battery, temperature data and/or, resistance
Anti- data.
Step 102, coordinate information of the battery data in default chart is determined;
In embodiments of the present invention, default chart can be for drawing the chart of battery data.I.e., it is possible to it will obtain in real time
The battery data of the battery management system obtained is drawn on the graph one by one.
In the concrete realization, at the beginning, the initial value of the default chart x-axis and y-axis can be set as zero.Then, exist
Start to refresh chart after reading first battery data, update the numerical values recited scope of chart x-axis and y-axis.Hereafter, whenever reading
After getting a battery data, coordinate information of the data respectively in x-axis and y-axis can be calculated.
Step 103, according to the coordinate information, battery data chart is drawn;
In the concrete realization, whenever reading a battery data, and coordinate of the data in x-axis and y-axis is calculated
After information, it can determine the specific location of the data in the graph according to the coordinate information, and a data drawn at the position
Point.Then, then by drawing the line between the data point and consecutive number strong point, so as to form a complete battery data figure
Table.
As shown in Fig. 2, it is a kind of schematic diagram of battery data chart of the present invention.In icon shown in Fig. 2, transverse axis
(i.e. x-axis) represents time data, and the longitudinal axis (i.e. y-axis) represents voltage data.Four data lines in figure represent to correspond to four respectively
The voltage data for the lithium battery that a different acquisition chip (i.e. Linx1-Linx4) is gathered.
Step 104, when receiving the operational order for the battery data chart, show and the operational order pair
The target data chart answered.
In embodiments of the present invention, the battery data gathered by real-time reception battery management unit, and according to cell number
According to draw battery data chart after, user the data of each battery during the work time can be checked in real time and
When understand variation tendency.
On the other hand, the battery data chart drawn according to this method can also respond the operational order of user.Specific
In realization, user can carry out various operations in the battery data chart of real-time rendering, battery data chart can show with
The target data chart that the operation matches.
For example, user can zoom in and out operation to the battery data chart of drafting.Pass through some scope in select chart
Interior battery data can realize the effect that the data in the range of this are amplified to display.
Alternatively, user can also show the number by the way that mouse is moved at the position of some data point to realize to suspend
The corresponding battery data in strong point acquisition chip number, acquisition order and, the information such as battery data value.
In embodiments of the present invention, by obtaining the battery data of battery management system, and determine battery data default
Coordinate information in chart, so as to according to coordinate information, draw battery data chart.Battery data figure is directed to when receiving
During the operational order of table, target data chart corresponding with the operational order can be showed, solve and check electricity in the prior art
The problem of pond data manipulation is cumbersome.The present embodiment need not only may be used by the form of diagram curve by any other software
User to be facilitated to check current battery data, historical data can also be checked, observe data variation tendency, improve cell number
According to the efficiency of processing.
Reference Fig. 3 shows the step of the data processing method of another battery management system of one embodiment of the invention
Rapid flow chart, specifically may include steps of:
Step 301, the battery data of battery management system is obtained;
In embodiments of the present invention, battery management system can be lithium battery management system, and battery data can include lithium
The voltage data of battery, temperature data and/or, impedance data.
In order to make it easy to understand, the present embodiment is with lithium battery management system, battery data be carry out exemplified by voltage data it is follow-up
It introduces.
In embodiments of the present invention, the communication interface of data handling system can be with the battery management list of battery management system
Member communicates, and receives the Various types of data of battery management unit acquisition.
It should be noted that the data handling system in the present embodiment may operate in and be equipped with Windows operating system
Computer on or operated in and be equipped on the display screen of WinCE embedded OSs by simple transplantation method.The present embodiment
The running environment of data handling system is not construed as limiting.
In general, battery management unit can gather a variety of data simultaneously.Therefore, when drawing battery data chart, data
Processing system can send the request for obtaining battery data to battery management unit first, then receive battery management unit foundation
The battery data that above-mentioned request returns.
In the concrete realization, data handling system can send the request for obtaining some battery data to battery management unit
And it waits.For example, the request for obtaining " voltage data " is sent to battery management unit.Battery management unit is receiving above-mentioned ask
After asking, corresponding voltage data can be returned, data handling system can draw corresponding voltage number after obtaining voltage data
According to chart.Then, data handling system, which can retransmit, obtains the request of another battery data (for example, temperature data) to battery
Administrative unit simultaneously waits, and Xun Huan obtains the battery data of all features and draws a diagram successively.
Step 302, coordinate information of the battery data in default chart is determined;
At the beginning, the initial value of default chart x-axis and y-axis can be set as zero.Then, first battery is being read
Start to refresh chart after data, determine the numerical values recited scope of the x-axis and y-axis in default chart respectively.Hereafter, whenever reading
After one battery data, coordinate information of the battery data in above-mentioned x-axis and y-axis can be calculated.
Step 303, according to the coordinate information, battery data chart is drawn;
It in embodiments of the present invention, can be first according to coordinate information after the coordinate information of each battery data is calculated
Data point of the battery data in default chart is first drawn, then draws the line between the data point and consecutive number strong point,
To generate battery data chart, a width icon is depicted as so as to fulfill by all data of the same type of lithium battery.For example, lithium is electric
The voltage data chart in pond.
It should be noted that in the concrete realization, data handling system may be employed C# language and carry out above-mentioned data drawing list
Drafting.
C# is a kind of safe, stablizing, simple, graceful, by the programming of C and the C++ object-oriented being derived
Language.It eliminates some their complex characteristics (such as without grand and do not permit while C and C++ powers are inherited
Perhaps multiple inheritance).C# combines the simple visualized operations of VB and the high operational efficiency of C++, with its powerful operational capacity, excellent
Refined grammatical style, the characteristic of speech sounds of innovation and easily the support of facing assembly programming become the preferred language of .NET exploitations.
Certainly, it these are only a kind of example, those skilled in the art can also according to actual needs, using other computers
Language is programmed, and realizes the drafting to battery data chart, the present embodiment to drawing battery data chart used by calculate
Machine language is not construed as limiting.
Step 304, when receiving the zoom operations instruction for the battery data chart, the target after scaling is showed
Data drawing list;
In embodiments of the present invention, the battery data chart of real-time rendering can also respond the operational order of user, and press
Show corresponding target data chart according to the operational order.
For example, user can zoom in and out operation to the battery data chart of drafting.
In embodiments of the present invention, mouse click location and the first releasing position can be obtained first, wherein the first release
When position is located on the right side of click location, it is believed that active user has issued the instruction of amplification data chart.At this point it is possible to foundation
Mouse click location and the first releasing position, generation target rectangle region, and the battery data in target rectangle region is extracted, so
Afterwards according to the battery data in target rectangle region, target data chart is drawn, realizes the amplification to data drawing list.
In the concrete realization, data handling system can monitor the click state and coordinate of mouse in real time, when detecting mouse
When marking click location in the range of chart, start to judge mouse releasing position.If the position of release is on the right side of click location
Side then may determine that this time operation purpose is intended to amplification chart.The scope of amplification is what is formed with click location and releasing position
Rectangular area scope.The coordinate in current rectangle region can be corresponded to the coordinate of original x-axis and y-axis and stored as new chart
X-axis and y-axis numberical range.Then only need to be plotted in the x-axis of new chart and y-axis numerical value when drawing target data chart
In the range of data point and line, achieve the effect that amplify display data chart.
It is a kind of operation chart of scaled data chart of the present invention as shown in Fig. 4 A to Fig. 4 C.When user passes through mouse
After mark is clicked on and discharges operation, it can be formed such as the target rectangle region in Fig. 4 A.It is then possible to obtain the target rectangle
Each data in region draw the target data chart formed as shown in Figure 4 B.Target data chart in Fig. 4 B is
The enlarged drawing of battery data in Fig. 4 A in target rectangle regional extent.
It in embodiments of the present invention, can also be by obtaining mouse after being amplified to the data drawing list in the range of some
The click location being marked in target data chart and the second releasing position, and according to above-mentioned mouse click location and the second release position
It puts, target data chart is reverted to initial battery data chart.Wherein, the second releasing position can be located at above-mentioned click position
The left side put.
Similar with the operation of amplification data chart, data handling system can monitor the click state and seat of mouse in real time
Mark, when detecting that mouse click location is in the range of chart, starts to judge mouse releasing position.If release position be
The left side of click location then may determine that this time operation purpose is intended to reduce chart.It is at this point it is possible to enlarged chart is extensive
It is the battery data chart of initial size again.
For example, after user by mouse is clicked on and discharged operation (operation i.e. shown in Fig. 4 C) in figure 4b,
It can recover initial battery data chart as shown in Figure 4 A.
Step 305, when receiving the suspension display operation instruction for the battery data chart, suspend described in display
The information at the number of targets strong point in battery data chart;
In embodiments of the present invention, it can also suspend in the battery data chart of drafting and show the letter of any data point
Breath.For example, acquisition chip number, acquisition order and/or, battery data value etc..
It in embodiments of the present invention, can be by the current location of definite mouse, when the current location of mouse and cell number
When being overlapped according to the position of any data point in chart, suspend and show the information of the data point.
In the concrete realization, while drawing data point, data handling system may determine that the current coordinate of mouse.Such as
The data that the current coordinate of fruit mouse is mapped to the x-axis and y-axis on data drawing list are identical with the data point that some is drawn, then can be with
The various information of this data point are shown at 10, the upper right side pixel position of the data point.
As shown in figure 5, it is a kind of schematic diagram of suspension display data point information of the present invention.Wherein, Fig. 5 is voltage data
Chart.When determining that the current coordinate of mouse is overlapped with the coordinate of some data point, can suspend display correspondence as shown in Figure 5
The acquisition chip for collecting voltage value number, acquisition order and voltage value etc..
It should be noted that the data point that the coordinate current with mouse overlaps can be the data point completed,
It can also be also non-drawn data point.For example, for the data point completed, when the changing coordinates for identifying mouse
It, can be with the information of the instant playback data point when identical with the coordinate of the data point.And for also non-drawn data point, if
Be computed identifying data point of the changing coordinates of mouse with that will draw coordinate it is identical when, can be complete in the drafting point-rendering
Cheng Hou just shows the information of corresponding data point.
Step 306, when receiving the operational order for preserving the battery data, text text is created in local directory
Shelves, and the battery data is write in the text document;
In embodiments of the present invention, the data drawing list of the battery data of acquisition or drafting can also be preserved to local directory
In.
It in the concrete realization, can be new first in local directory when receiving the operational order for preserving battery data
A text document is built, then all historical datas just run in memory are written to successively in this article this document, until writing
Until complete, preserve text document and close file.
Step 307, when receiving the operational order for the image for preserving the battery data, by the data currently shown with
Picture format is preserved into the local directory.
In embodiments of the present invention, if data handling system receives the operational order for preserving data image, can incite somebody to action
The all pixels that data drawing list is shown on the screen are saved according to the form of picture in the local directory specified.
As a kind of example of the present invention, user can be sent by way of clicking on right mouse button to data handling system
It preserves data or preserves the instruction of image.When user clicks on right mouse button, " can be protected in the corresponding position displaying of data drawing list
Deposit data " and " preservation image " two options.When user selects " preservation data ", step 306 can be performed, by the electricity of acquisition
Pond data are preserved into specified text document.When user selects " preservation image ", step 307 can be performed, will currently be shown
The data shown are preserved with picture format into local directory.
Certainly, it these are only a kind of example, those skilled in the art can also use other modes to data handling system
The operational order for preserving data or preserving image is sent, the present embodiment is not construed as limiting this.
In embodiments of the present invention, battery data chart is depicted as by the battery data for gathering battery management unit,
So as to when receiving various operational order of the user in above-mentioned battery data chart, show corresponding with the operational order
Target data chart, facilitate user and battery data checked, contribute to user observe data variation tendency, improve electricity
The efficiency of pond data processing.
Secondly, the present embodiment can be preserved the battery data of acquisition with the form of text or picture, be facilitated pair
It the backup of data and transfers.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
It closes, but those skilled in the art should know, the embodiment of the present invention and from the limitation of described sequence of movement, because according to
According to the embodiment of the present invention, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
Reference Fig. 6 shows a kind of structure of the data processing equipment of battery management system of one embodiment of the invention
Block diagram can specifically include following module:
Acquisition module 601, for obtaining the battery data of battery management system;
Determining module 602, for determining coordinate information of the battery data in default chart;
Drafting module 603, for according to the coordinate information, drawing battery data chart;
Display module 604, for when receiving the operational order for the battery data chart, showing and the behaviour
Make to instruct corresponding target data chart.
In embodiments of the present invention, the battery management system includes battery management unit, and the acquisition module 601 is specific
It can include following submodule:
Sending submodule, for sending the request for obtaining battery data to battery management unit;
Receiving submodule, for receiving the battery data that the battery management unit is returned according to the request, the electricity
The voltage datas of pond data including lithium battery, temperature data and/or, impedance data.
In embodiments of the present invention, the determining module 602 can specifically include following submodule:
Range determination submodule, for determining the numerical values recited scope of x-axis and y-axis in default chart respectively;
Computational submodule, for calculating coordinate information of the battery data in the x-axis and y-axis.
In embodiments of the present invention, the drafting module 603 can specifically include following submodule:
Data point rendering submodule, for according to the coordinate information, drawing the battery data in the default chart
In data point;
Line rendering submodule, for drawing the line between the data point and consecutive number strong point, to generate cell number
According to chart.
In embodiments of the present invention, the display module 604 can specifically include following submodule:
Zoom display submodule, for when receiving the zoom operations instruction for the battery data chart, showing
Target data chart after scaling;And/or
Suspension display sub-module, for when receive for the battery data chart suspension display operation instruction when,
It suspends and shows the information at the number of targets strong point in the battery data chart.
In embodiments of the present invention, the Zoom display submodule can specifically include such as lower unit:
First acquisition unit, for obtaining mouse click location and the first releasing position, first releasing position is located at
On the right side of the click location;
Generation unit, for according to the mouse click location and the first releasing position, generation target rectangle region;
Extraction unit, for extracting the battery data in the target rectangle region;
Drawing unit, for according to the battery data in the target rectangle region, drawing target data chart.
In embodiments of the present invention, the Zoom display submodule can also include such as lower unit:
Second acquisition unit, for obtaining click location and second release position of the mouse in the target data chart
It puts, second releasing position is located on the left of the click location;
Recovery unit, it is for according to the mouse click location and the second releasing position, the target data chart is extensive
It is initial battery data chart again.
In embodiments of the present invention, the suspension display sub-module can specifically include such as lower unit:
Determination unit, for determining the current location of mouse;
Display unit, for working as the current location of the mouse and the position of any data point in the battery data chart
During coincidence, suspend and show the information of the data point, described information include acquisition chip number, acquisition order and/or, battery
Data value.
In embodiments of the present invention, described device can also include following module:
Data storage module is new in local directory for when receiving the operational order for preserving the battery data
A text document is built, and the battery data is write in the text document;And/or
Image preserving module, for when receiving the operational order for the image for preserving the battery data, will currently show
The data shown are preserved with picture format into the local directory.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with
The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that it can realize flowchart and/or the block diagram by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction generation is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device for the function of specifying.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates bag
The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or multiple flows
And/or specified in one box of block diagram or multiple boxes function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, those skilled in the art once know base
This creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed to
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped
Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited
Element, it is not excluded that also there are other identical elements in the process including the element, method, article or terminal device.
Data processing method to a kind of battery management system provided by the present invention and a kind of battery management system above
Data processing equipment, be described in detail, specific case used herein to the principle of the present invention and embodiment into
Elaboration is gone, the explanation of above example is only intended to help to understand the method and its core concept of the present invention;Meanwhile for this
The those skilled in the art in field, thought according to the invention, there will be changes in specific embodiments and applications,
In conclusion this specification content should not be construed as limiting the invention.
Claims (10)
1. a kind of data processing method of battery management system, which is characterized in that including:
Obtain the battery data of battery management system;
Determine coordinate information of the battery data in default chart;
According to the coordinate information, battery data chart is drawn;
When receiving the operational order for the battery data chart, show target data corresponding with the operational order
Chart.
2. according to the method described in claim 1, it is characterized in that, the battery management system includes battery management unit, institute
The step of stating the battery data for obtaining battery management system includes:
The request for obtaining battery data is sent to battery management unit;
The battery data that the battery management unit is returned according to the request is received, the battery data includes the electricity of lithium battery
Press data, temperature data and/or, impedance data.
3. the according to the method described in claim 1, it is characterized in that, seat for determining the battery data in default chart
The step of marking information includes:
The numerical values recited scope of the x-axis and y-axis in default chart is determined respectively;
Calculate coordinate information of the battery data in the x-axis and y-axis.
4. according to any methods of claim 1-3, which is characterized in that it is described according to the coordinate information, draw battery
The step of data drawing list, includes:
According to the coordinate information, data point of the battery data in the default chart is drawn;
The line between the data point and consecutive number strong point is drawn, to generate battery data chart.
5. according to the method described in claim 4, it is characterized in that, described work as the behaviour received for the battery data chart
When instructing, the step of showing target data chart corresponding with the operational order, includes:
When receiving the zoom operations instruction for the battery data chart, show the target data chart after scaling;With/
Or,
When receiving the suspension display operation instruction for the battery data chart, suspend and show the battery data chart
In number of targets strong point information.
6. according to the method described in claim 5, it is characterized in that, described work as the contracting received for the battery data chart
When putting operational order, show scaling after target data chart the step of include:
Mouse click location and the first releasing position are obtained, first releasing position is located on the right side of the click location;
According to the mouse click location and the first releasing position, generation target rectangle region;
Extract the battery data in the target rectangle region;
According to the battery data in the target rectangle region, target data chart is drawn.
7. it according to the method described in claim 6, it is characterized in that, further includes:
Click location and second releasing position of the mouse in the target data chart are obtained, second releasing position is located at
On the left of the click location;
According to the mouse click location and the second releasing position, the target data chart is reverted into initial battery data
Chart.
8. according to the method described in claim 5, it is characterized in that, described ought receive for the outstanding of the battery data chart
During floating display operation instruction, the step of information for showing the number of targets strong point in the battery data chart that suspends, includes:
Determine the current location of mouse;
When the current location of the mouse is overlapped with the position of any data point in the battery data chart, suspend and show institute
State the information of data point, described information include acquisition chip number, acquisition order and/or, battery data value.
9. it according to the method described in claim 4, it is characterized in that, further includes:
When receiving the operational order for preserving the battery data, a text document is created in local directory, and by described in
Battery data is write in the text document;And/or
When receiving the operational order for the image for preserving the battery data, the data currently shown are preserved with picture format
Into the local directory.
10. a kind of data processing equipment of battery management system, which is characterized in that including:
Acquisition module, for obtaining the battery data of battery management system;
Determining module, for determining coordinate information of the battery data in default chart;
Drafting module, for according to the coordinate information, drawing battery data chart;
Display module, for when receiving the operational order for the battery data chart, showing and the operational order
Corresponding target data chart.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711193437.1A CN108052245A (en) | 2017-11-24 | 2017-11-24 | A kind of data processing method and device of battery management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711193437.1A CN108052245A (en) | 2017-11-24 | 2017-11-24 | A kind of data processing method and device of battery management system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108052245A true CN108052245A (en) | 2018-05-18 |
Family
ID=62120472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711193437.1A Pending CN108052245A (en) | 2017-11-24 | 2017-11-24 | A kind of data processing method and device of battery management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108052245A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111814319A (en) * | 2020-06-22 | 2020-10-23 | 深圳市瑞能实业股份有限公司 | Battery test data display method and device and storage medium |
CN111934032A (en) * | 2020-07-31 | 2020-11-13 | 中国汽车工程研究院股份有限公司 | Graphical representation of temperature characteristic of power battery and temperature abnormal single body identification method |
CN112700845A (en) * | 2021-03-23 | 2021-04-23 | 索思(苏州)医疗科技有限公司 | Data processing method, data processing device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04314178A (en) * | 1991-04-12 | 1992-11-05 | Mitsubishi Electric Corp | Method and device for displaying detailed chart |
CN102479033A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Chart browsing method, device and system |
CN103701209A (en) * | 2013-12-05 | 2014-04-02 | 北京嘉德宝业科技发展有限公司 | Power supply management system |
CN106708860A (en) * | 2015-11-13 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Chart processing method and system |
-
2017
- 2017-11-24 CN CN201711193437.1A patent/CN108052245A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04314178A (en) * | 1991-04-12 | 1992-11-05 | Mitsubishi Electric Corp | Method and device for displaying detailed chart |
CN102479033A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Chart browsing method, device and system |
CN103701209A (en) * | 2013-12-05 | 2014-04-02 | 北京嘉德宝业科技发展有限公司 | Power supply management system |
CN106708860A (en) * | 2015-11-13 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Chart processing method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111814319A (en) * | 2020-06-22 | 2020-10-23 | 深圳市瑞能实业股份有限公司 | Battery test data display method and device and storage medium |
CN111934032A (en) * | 2020-07-31 | 2020-11-13 | 中国汽车工程研究院股份有限公司 | Graphical representation of temperature characteristic of power battery and temperature abnormal single body identification method |
CN111934032B (en) * | 2020-07-31 | 2021-05-28 | 中国汽车工程研究院股份有限公司 | Graphical representation of temperature characteristic of power battery and temperature abnormal single body identification method |
CN112700845A (en) * | 2021-03-23 | 2021-04-23 | 索思(苏州)医疗科技有限公司 | Data processing method, data processing device, electronic equipment and storage medium |
CN112700845B (en) * | 2021-03-23 | 2022-05-27 | 索思(苏州)医疗科技有限公司 | Data processing method, data processing device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108052245A (en) | A kind of data processing method and device of battery management system | |
CN106126009A (en) | Method, device and the terminal of a kind of application icon management | |
CN109976645A (en) | Methods of exhibiting, device and the electronic equipment of application interface | |
CN103412725A (en) | Touch operation method and device | |
CN106453864A (en) | Image processing method and device and terminal | |
CN108089691A (en) | A kind of method and device for reducing terminal device power consumption | |
CN112578967B (en) | Chart information reading method and mobile terminal | |
CN106027785A (en) | Voice processing method and terminal | |
CN107643948A (en) | Application program management-control method, device, medium and electronic equipment | |
CN109491888A (en) | Application compatibility test method, device and computer readable storage medium | |
CN104679722B (en) | For the method and system that data form is multidimensional | |
CN107368550A (en) | Information acquisition method, device, medium, electronic equipment, server and system | |
CN103473343A (en) | File management method, device and terminal | |
CN107608748A (en) | Application program management-control method, device, storage medium and terminal device | |
CN109669657A (en) | It is a kind of for carrying out the method and apparatus of remote document cooperation | |
CN106980442A (en) | A kind of icon management method and electronic equipment | |
CN106648707A (en) | Collecting method and collecting system of intelligent terminal application information and intelligent terminal | |
CN109669658A (en) | A kind of display methods, device and display system | |
CN109376126A (en) | A kind of file or folder processing method, mobile terminal and storage medium | |
CN104834687A (en) | Picture display method | |
CN109857298A (en) | Using starting method, apparatus, equipment and storage medium | |
CN108009068A (en) | Information recording method, information record carrier and intelligent terminal | |
CN106713657A (en) | Screen split display method and terminal | |
CN103135891A (en) | Method and device for processing user interface | |
CN106250002A (en) | Information processing method and information processor |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |
|
RJ01 | Rejection of invention patent application after publication |