Charge the method and system prejudged
Technical field
The present invention relates to charging pile technical field, more particularly, to the method and system of charging anticipation.
Background technology
At present, in daily charging process, many judgements of charging platform are the personal behavior in daily according to charging
To judge whether charging behavior is reasonable, monitor whether whole charging process belongs to according to the parameter threshold of hardware and parameter configuration
Malfunction or normal condition.This can detect most problem points, but the agreement of bottom be not according to artificial action come
Determine, be not also related to the parameter configuration of hardware, simply simple string number.Numeral can bring the letter that we much want
Breath, either to and mistake be all message identification.By recording these operations of each charging pile startup-failure-charging-free time
Track, it is possible to form a similar AI (Artificial Intelligence, artificial intelligence) anticipation system.
But shortcomings in the prior art be present, and first, the information reporting of mistake can not pass through the stream of protocol analysis
Journey, also it can not just be perceived by background program, even if what is reported is useful information, but because can not be resolved out, just
Loss economically can be caused.Second, platform record is all through treated running orbit, on the one hand have passed through the number of front end
According to screening, the logic judgment of rear end is have passed through again, result in data misalignment.3rd, platform does not move to charging pile next step
Prejudged, and even if the anticipation of a step is simply done in anticipation forward or backward, it is impossible to depict the depth of charging pile operation
Degree.
The content of the invention
In view of this, it is an object of the invention to provide the method and system of charging anticipation, by realizing to Error Protocol
Parsing, improve monitoring capacity, reduce economic loss, improve to running orbit anticipation the degree of accuracy.
In a first aspect, the embodiments of the invention provide a kind of method for anticipation of charging, wherein, including:
The protocol information of charging pile is obtained, and by being analyzed and processed to the protocol information, generation charging track letter
Breath, wherein, the charging trace information includes time locus information, running orbit information and configuration trace information;
The charging interval of charging pile is monitored according to the time locus information, generates time warning information;
The heartbeat message of charging pile is monitored according to the running orbit information, generating run warning information;
The charge arrangement of charging pile is monitored according to the configuration trace information, generation configuration warning information;
The charging pile is entered according to the time warning information, the operation warning information and the configuration warning information
Row charging anticipation.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, institute
The protocol information for obtaining charging pile is stated, and by being analyzed and processed to the protocol information, generation charging trace information includes:
Obtain the protocol information of charging pile;
Can judgement parse to the protocol information;
If it is not, obtain Error Protocol information;
Reduction treatment is carried out to the Error Protocol information, generates the charging trace information.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of second of first aspect, wherein, institute
State and the charging interval of charging pile is monitored according to the time locus information, generation time warning information includes:
The charging interval is monitored according to the time locus information, obtains time anomaly information;
According to the time anomaly information, judge whether charging value information is abnormal;
If it is, the time warning information is generated according to the time anomaly information and the charging value information.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the third of first aspect, wherein, institute
State and the heartbeat message of charging pile is monitored according to the running orbit information, generating run warning information includes:
The heartbeat message of charging pile is monitored according to the running orbit information, obtains running state information;
Judge whether the variation track of the running state information meets service logic;
If do not met, the operation warning information is generated according to the running state information.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 4th of first aspect kind, wherein, institute
State and the hardware parameter of charging pile is monitored according to the configuration trace information, generation configuration warning information includes:
Parameter threshold information is obtained according to the configuration trace information;
The charge arrangement of the charging pile is monitored, obtains hardware parameter information;
Judge whether the hardware parameter information meets the threshold information;
If it is satisfied, then the configuration warning information is generated according to the hardware parameter information.
With reference to the third possible embodiment of first aspect, the embodiments of the invention provide the 5th of first aspect kind
Possible embodiment, wherein, methods described also includes:
The heartbeat message is screened, classified and collected, generates pile group information.
With reference to the 4th kind of possible embodiment of first aspect, the embodiments of the invention provide the 6th of first aspect kind
Possible embodiment, wherein, the hardware parameter information includes current information, information of voltage, information about power and temperature information.
Second aspect, the embodiment of the present invention also provide a kind of system for anticipation of charging, wherein, including:
Processing protocol unit, for obtaining the protocol information of charging pile, and by being carried out to the protocol information at analysis
Reason, generation charging trace information, wherein, the charging trace information includes time locus information, running orbit information and configuration
Trace information;
Time prewarning unit, for being monitored according to the time locus information to the charging interval of charging pile, generation
Time warning information;
Prewarning unit is run, for being monitored according to the running orbit information to the heartbeat message of charging pile, generation
Run warning information;
Prewarning unit is configured, for being monitored according to the configuration trace information to the charge arrangement of charging pile, is generated
Configure warning information;
Unit is prejudged, for according to the time warning information, the operation warning information and the configuration warning information
Charging anticipation is carried out to the charging pile.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the first of second aspect, wherein, institute
Stating processing protocol unit includes:Obtain the protocol information of charging pile;
Can judgement parse to the protocol information;
If it is not, obtain Error Protocol information;
Reduction treatment is carried out to the Error Protocol information, generates the charging trace information.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of second of second aspect, wherein, institute
Stating time prewarning unit includes:
The charging interval is monitored according to the time locus information, obtains time anomaly information;
According to the time anomaly information, judge whether charging value information is abnormal;
If it is, the time warning information is generated according to the time anomaly information and the charging value information.
The embodiment of the present invention brings following beneficial effect:The method and system of charging anticipation provided by the invention, including
The protocol information of charging pile is obtained, and by being analyzed and processed to protocol information, generation charging trace information, wherein, charging
Trace information includes time locus information, running orbit information and configuration trace information, according to time locus information to charging pile
Charging interval be monitored, generate time warning information, the heartbeat message of charging pile is supervised according to running orbit information
Control, generating run warning information, the charge arrangement of charging pile is monitored according to configuration trace information, generation configuration early warning letter
Breath, charging anticipation is carried out to charging pile according to time warning information, operation warning information and configuration warning information.The present invention passes through
The parsing to Error Protocol is realized, monitoring capacity can be improved, reduces economic loss, is improved to the accurate of running orbit anticipation
Degree.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram for the charging anticipation that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram for the generation charging trace information that the embodiment of the present invention two provides;
Fig. 3 is the generation time warning information method flow diagram that the embodiment of the present invention three provides;
Fig. 4 is the generating run warning information method flow diagram that the embodiment of the present invention three provides;
Fig. 5 is that the generation that the embodiment of the present invention three provides configures warning information method flow diagram;
Fig. 6 is the system schematic for the charging anticipation that the embodiment of the present invention four provides.
Icon:
100- processing protocol units;200- time prewarning units;300- runs prewarning unit;400- configures prewarning unit;
500- prejudges unit.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Technical scheme be clearly and completely described, it is clear that described embodiment is part of the embodiment of the present invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
At present, in daily charging process, many judgements of charging platform are the personal behavior in daily according to charging
To judge whether charging behavior is reasonable, monitor whether whole charging process belongs to according to the parameter threshold of hardware and parameter configuration
Malfunction or normal condition.This can detect most problem points, but the agreement of bottom be not according to artificial action come
Determine, be not also related to the parameter configuration of hardware, simply simple string number.Shortcomings in the prior art be present, first,
The information reporting of mistake also just be able to not can not be resolved out, will result in loss economically by the flow of protocol analysis.
Second, platform record is all through treated running orbit, result in data misalignment.3rd, platform is not under charging pile
The action of one step is prejudged, it is impossible to depicts the longitudinal degree of charging pile operation.
Based on this, the method and system of charging anticipation provided in an embodiment of the present invention, by realizing the solution to Error Protocol
Analysis, monitoring capacity is improved, reduce economic loss, improve the degree of accuracy to running orbit anticipation.
For ease of understanding the present embodiment, the method prejudged first to the charging disclosed in the embodiment of the present invention is carried out
It is discussed in detail.
Embodiment one:
Fig. 1 is the method flow diagram for the charging anticipation that the embodiment of the present invention one provides.
Reference picture 1, the method for anticipation of charging comprise the following steps:
Step S110, the protocol information of charging pile is obtained, and by being analyzed and processed to protocol information, generation charging rail
Mark information, wherein, charging trace information includes time locus information, running orbit information and configuration trace information;
Specifically, because the wrong agreement sent out on charging pile can not be parsed by Platform Server, and if charging pile one
Straight hair send the agreement of mistake, and the charge information that can cause to send out on charging pile can not be received by Platform Server.In such case
Lower, it is necessary to which the protocol information of mistake is recorded and analyzed, the Error Protocol that will be unable to parsing reduces, the charging for the mistake that follows up
Stub handles farm-out again.Error Protocol after reduction mends the charging process track of entirety with correct agreement
Together, generation charging trace information.
Step S120, the charging interval of charging pile is monitored according to time locus information, generates time warning information;
Specifically, being monitored according to time locus information to the charging interval of charging pile, normal charging process institute is determined
The time of progress is stablized in certain value range, such as 3~5 hours.But when being monitored to charging process, collect
Charging interval exceedes normal time scope, that is, obtains time anomaly information, and then the charging value information such as electric current and voltage is carried out
Judge, obtain electric current and voltage is continuously low value, then generate time warning information, remind staff to carry out live investigation, be
It is no vehicle be present and mismatch either have the problem of human intervention situation or the program of charging pile itself cause in charging process.
Step S130, the heartbeat message of charging pile is monitored according to running orbit information, generating run warning information;
Specifically, charging pile can constantly adjust heartbeat message after reaching the standard grade according to different operations.Heartbeat detection is whole
The basis of Internet of Things, and ensure the premise of charging pile energy normal use.Running state information, operation are obtained according to heartbeat message
Status information refers to the information such as when charging pile can charge, when can preengage, when can not use.The heart
Hop-information as the rational basis for estimation of charging pile business, judge charging pile running state information continuous variation track whether
Meet service logic, if do not met, generating run warning information, to remind staff to carry out manual intervention, make operation
Track is reasonable.
In addition, charging pile will issue Platform Server on heartbeat message, Platform Server to heartbeat message by sieving
Select, classify and collect, form pile group information;Pile group information includes city-level, provincial or even national all about charging pile
Data message.
Step S140, the charge arrangement of charging pile is monitored according to configuration trace information, generation configuration warning information;
Specifically, according to configuration trace information, the data of charging pile can be to initial, middle and terminated in upload procedure
The data of the charge arrangement of journey are monitored, and obtain hardware parameter information, within cycle certain time, according to hardware parameter information
It is determined that there is the abnormal parameter threshold information of charging;And next proceed to ground detection process in, using parameter threshold information as according to
According to, judge hardware parameter information whether meet corresponding to parameter threshold information;If it is satisfied, then generation configuration warning information;Such as
Fruit is unsatisfactory for, then charges normal.Here hardware parameter information includes current information, information of voltage, information about power and temperature letter
Breath etc..
Step S150, charging pile is charged according to time warning information, operation warning information and configuration warning information
Anticipation.
Embodiment two:
Fig. 2 is the method flow diagram for the generation charging trace information that the embodiment of the present invention two provides.
Reference picture 2, charging anticipation method step S110 in, generation charging trace information method specifically include as
Lower step:
Step S210, obtain the protocol information of charging pile;
Can step S220, judgement parse to protocol information;If it can, then perform step S231;If it is not,
Perform step S232;
Step S231, obtain the upload information of charging pile;
Step S232, obtain Error Protocol information;
Step S232, reduction treatment, generation charging trace information are carried out to Error Protocol information.
Specifically, assume that normal protocol format is:32 00 03 00,000,001 01 0,003 00 00 00, that is, include
" protocol header+protocol version+service number+entity number+inclusion numbering+length+content ", the normal protocol information can be solved
Analysis, Platform Server can obtain the related upload information of charging pile.But if the agreement of mistake:32 00 03
00001 01 0,003 00 00, then contrasting the protocol entity of the content discovery mistake of the above can not be resolved.To the agreement of mistake
Information carries out reduction treatment, by the charging process track polishing of entirety, generation charging trace information.
Embodiment three:
According to the exemplary embodiment of the present invention, reference picture 3, in the step S120 of the method for charging anticipation, during generation
Between warning information method specifically comprise the following steps:
Step S310, the charging interval is monitored according to time locus information, obtains time anomaly information;
Step S320, according to time anomaly information, judge whether charging value information is abnormal;If it is, perform step
S331;If it is not, then perform step S332;
Step S331, according to time anomaly information and charging value information generation time warning information.
Step S332, is charged normal.
Specifically, the charging interval of charging pile is monitored according to time locus information, if temporal information is normal,
Maintain normal charging process;If the charging interval is abnormal, the charging value information such as electric current and voltage is judged, in electric current and
In the case that voltage is low value, then time warning information is generated, to remind staff to carry out live investigation.
The charging interval is monitored according to time locus information, obtains temporal information, for example can be in following agreement
Hold:
32 00 03 00,000,001 01 0,003 00 00 00 heartbeat free time 2017-06-01 17:26:32
32 00 04 00,000,001 01 0,003 00 00 00 heartbeats charging 2017-06-01 17:50:32
32 00 03 00,000,001 01 0,003 00 00 00 heartbeat free time 2017-06-01 19:26:33
It is idle such with state for time sequence group to be so finally combined into the free time --- charging ---.If according to the time
Trace information finds that state is available free and is directly transferred to offline, and is uploaded without any information, and maintains the state for a long time, obtains
To time abnormal information, then illustrate that charging pile is artificially powered off, or GPRS (General Packet Radio
Service, general packet radio service technology) dropout, or SIM (Subscriber Identification
Module, subscriber identification card) card arrearage.
According to the exemplary embodiment of the present invention, reference picture 4, in the step S130 of the method for charging anticipation, generation is transported
Row warning information method specifically comprises the following steps:
Step S410, the heartbeat message of charging pile is monitored according to running orbit information, obtains running state information;
Step S420, judges whether the variation track of running state information meets service logic;If met, step is performed
Rapid S431;If do not met, step S432 is performed;
Step S431, is charged normal.
Step S432, according to running state information generating run warning information.
Specifically, being monitored according to running orbit information to the heartbeat message of charging pile, running state information is obtained;The heart
Hop-information as the rational basis for estimation of charging pile business, judge charging pile running state information continuous variation track whether
Meet service logic, if do not met, generating run warning information, to remind staff to carry out manual intervention, make operation
Track is reasonable;Continue to charge normal if meeting.
The situation for not meeting service logic is described below by citing.When charging pile is in the state in charging
When, preengage successfully by other people, or got up by people's restarting.So charging pile just occur " in charging~reservation " or
Service logic as person's " charging~initiation charging~charging ", service logic as courseware have been absorbed in the process of confusion.Or
Person's charging pile is failure in itself, is but activated, and without the process of fault recovery, so and service logic is chaotic
Situation.The concept of track tree is so added, running status is prejudged according to running orbit information, one side manual analysis
Whether track is reasonable, and irrational track is added into intervention action, and normal occlusion is realized in the operation for constantly matching charging pile stake
The operation of reason.
In addition, charging pile will issue Platform Server on heartbeat message, Platform Server to heartbeat message by sieving
Select, classify and collect, form pile group information;Pile group information includes city-level, provincial or even national all about charging pile
Data message.
According to the exemplary embodiment of the present invention, reference picture 5, in the step S140 of the method for charging anticipation, generation is matched somebody with somebody
Warning information method is put to specifically comprise the following steps:
Step S510, parameter threshold information is obtained according to configuration trace information;
Step S520, the charge arrangement of charging pile is monitored, obtains hardware parameter information;
Step S530, judges whether hardware parameter information meets threshold information;If it is satisfied, then perform step S541;Such as
Fruit is unsatisfactory for, then performs step S542;
Step S541, configuration warning information is generated according to hardware parameter information.
Step S542, normal operation.
Specifically, being monitored according to configuration trace information to charge arrangement, hardware parameter information is obtained, in certain time
In cycle, determine the abnormal parameter threshold information of charging occur according to hardware parameter information;And next proceeding to detected
Cheng Zhong, using parameter threshold information as foundation, judge whether hardware parameter information meets corresponding parameter threshold information;It is if full
Foot, then generation configure warning information;If be unsatisfactory for, charge normal.Here hardware parameter information includes current information, electricity
Press information, information about power and temperature information etc..
The present embodiment content is illustrated so that hardware parameter information is temperature information as an example.Charging pile is in some cycles
Temperature history threshold values is taken, is 90 °, when the temperature of charging pile exceedes temperature value in history threshold values, or whole charging process suddenly
Do not change always, or temperature value is maintained in the range of low ebb always, then need to do data analysis, judge whether occurred more
Change internal material, inner components aging, or temperature sensor damage and other situations.
Example IV:
Fig. 6 is the system schematic for the charging anticipation that the embodiment of the present invention four provides.
Reference picture 6, the system for anticipation of charging include such as lower unit:
Processing protocol unit 100, for obtaining the protocol information of charging pile, and by being carried out to protocol information at analysis
Reason, generation charging trace information, wherein, charging trace information includes time locus information, running orbit information and configuration track
Information;
Time prewarning unit 200, for being monitored according to time locus information to the charging interval of charging pile, during generation
Between warning information;
Prewarning unit 300 is run, for being monitored according to running orbit information to the heartbeat message of charging pile, generation fortune
Row warning information;
Prewarning unit 400 is configured, for being monitored according to configuration trace information to the charge arrangement of charging pile, generation is matched somebody with somebody
Put warning information;
Unit 500 is prejudged, for entering according to time warning information, operation warning information and configuration warning information to charging pile
Row charging anticipation.
According to the exemplary embodiment of the present invention, processing protocol unit 100 includes:Obtain the protocol information of charging pile;
Can judgement parse to protocol information;
If it is not, obtain Error Protocol information;
Reduction treatment, generation charging trace information are carried out to Error Protocol information.
According to the exemplary embodiment of the present invention, time prewarning unit 200 includes:
The charging interval is monitored according to time locus information, obtains time anomaly information;
According to time anomaly information, judge whether charging value information is abnormal;
If it is, according to time anomaly information and charging value information generation time warning information.
The system for the charging anticipation that the embodiment of the present invention is provided, its realization principle and caused technique effect and foregoing fills
The embodiment of the method for electricity anticipation is identical, and to briefly describe, the system embodiment part for anticipation of charging does not refer to part, before referring to
State corresponding contents in the embodiment of the method for charging anticipation.
The embodiment of the present invention brings following beneficial effect:The method and system of charging anticipation provided by the invention, including
The protocol information of charging pile is obtained, and by being analyzed and processed to protocol information, generation charging trace information, wherein, charging
Trace information includes time locus information, running orbit information and configuration trace information, according to time locus information to charging pile
Charging interval be monitored, generate time warning information, the heartbeat message of charging pile is supervised according to running orbit information
Control, generating run warning information, the charge arrangement of charging pile is monitored according to configuration trace information, generation configuration early warning letter
Breath, charging anticipation is carried out to charging pile according to time warning information, operation warning information and configuration warning information.The present invention passes through
The parsing to Error Protocol is realized, monitoring capacity can be improved, reduces economic loss, is improved to the accurate of running orbit anticipation
Degree.
In the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " connected ", " company
Connect " it should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or it is integrally connected;It can be machine
Tool connects or electrical connection;Can be joined directly together, can also be indirectly connected by intermediary, can be two members
Connection inside part.For the ordinary skill in the art, above-mentioned term can be understood in the present invention with concrete condition
Concrete meaning.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ",
The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to
Be easy to the description present invention and simplify description, rather than instruction or imply signified device or element must have specific orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" the 3rd " is only used for describing purpose, and it is not intended that instruction or hint relative importance.
What the embodiment of the present invention was provided carries out the computer program product of the method for charging anticipation, including stores processing
The computer-readable recording medium of the executable non-volatile program code of device, the instruction that described program code includes can be used for holding
Method described in row previous methods embodiment, specific implementation can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with
Realize by another way.Device embodiment described above is only schematical, for example, the division of the unit,
Only a kind of division of logic function, can there is other dividing mode when actually realizing, in another example, multiple units or component can
To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for
The mutual coupling of opinion or direct-coupling or communication connection can be by some communication interfaces, device or unit it is indirect
Coupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in the executable non-volatile computer read/write memory medium of a processor.Based on such understanding, the present invention
The part that is substantially contributed in other words to prior art of technical scheme or the part of the technical scheme can be with software
The form of product is embodied, and the computer software product is stored in a storage medium, including some instructions are causing
One computer equipment (can be personal computer, server, or network equipment etc.) performs each embodiment institute of the present invention
State all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with
The medium of store program codes.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present invention
Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art
The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.