Charging pre-judging method and system
Technical Field
The invention relates to the technical field of charging piles, in particular to a charging prejudgment method and a charging prejudgment system.
Background
At present, in the daily charging process, many charging platforms judge whether the charging behavior is reasonable according to the daily personal behavior of charging, and monitor whether the whole charging process belongs to a fault state or a normal state according to the parameter threshold and the parameter configuration of hardware. This can detect most problems, but the underlying protocol is not determined by human action, nor does it involve hardware parameter configuration, but is simply a string of numbers. The numbers can bring a lot of information to us, and both right and wrong are information identifications. By recording the operation tracks of charging pile starting-fault-charging-idle every time, a pre-judgment system similar to AI (Artificial Intelligence) can be formed.
However, there are many disadvantages in the prior art, firstly, the wrong information reporting cannot pass through the protocol parsing process, and cannot be sensed by the background program, and even if the reported information is useful information, the reported information cannot be parsed out, which results in economic loss. Secondly, the platform records processed running tracks, on one hand, data is screened by the front end and logically judged by the back end, and data is misaligned. Thirdly, the platform does not prejudge the next action of the charging pile, and the longitudinal depth of the operation of the charging pile cannot be described even if the prejudgment is carried out forwards or backwards.
Disclosure of Invention
In view of this, the present invention provides a method and a system for charging pre-judgment, which improve monitoring capability, reduce economic loss, and improve accuracy of pre-judgment of a running track by implementing analysis of an error protocol.
In a first aspect, an embodiment of the present invention provides a method for charge prediction, where the method includes:
acquiring protocol information of a charging pile, and generating charging track information by analyzing and processing the protocol information, wherein the charging track information comprises time track information, running track information and configuration track information;
monitoring the charging time of the charging pile according to the time track information to generate time early warning information;
monitoring heartbeat information of the charging pile according to the running track information to generate running early warning information;
monitoring the charging configuration of the charging pile according to the configuration track information to generate configuration early warning information;
and performing charging prejudgment on the charging pile according to the time early warning information, the operation early warning information and the configuration early warning information.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the acquiring protocol information of the charging pile, and generating charging track information by analyzing and processing the protocol information includes:
acquiring the protocol information of the charging pile;
judging whether the protocol information can be analyzed or not;
if not, obtaining error protocol information;
and restoring the error protocol information to generate the charging track information.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the monitoring the charging time of the charging pile according to the time trajectory information, and the generating time early warning information includes:
monitoring the charging time according to the time track information to obtain time abnormity information;
judging whether the charging value information is abnormal or not according to the time abnormal information;
and if so, generating the time early warning information according to the time abnormal information and the charging value information.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the monitoring heartbeat information of the charging pile according to the operation track information, and generating operation early warning information includes:
monitoring heartbeat information of the charging pile according to the running track information to obtain running state information;
judging whether the change track of the running state information accords with business logic;
and if the operation state information does not meet the preset operation state information, generating the operation early warning information according to the operation state information.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the monitoring the hardware parameter of the charging pile according to the configuration track information, and generating the configuration early warning information includes:
obtaining parameter threshold information according to the configuration track information;
monitoring the charging configuration of the charging pile to obtain hardware parameter information;
judging whether the hardware parameter information meets the threshold value information;
and if so, generating the configuration early warning information according to the hardware parameter information.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the method further includes:
and screening, classifying and summarizing the heartbeat information to generate pile group information.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the hardware parameter information includes current information, voltage information, electric quantity information, and temperature information.
In a second aspect, an embodiment of the present invention further provides a system for charge prediction, where the system includes:
the charging system comprises a processing protocol unit, a charging pile management unit and a charging management unit, wherein the processing protocol unit is used for acquiring protocol information of the charging pile and generating charging track information by analyzing and processing the protocol information, and the charging track information comprises time track information, running track information and configuration track information;
the time early warning unit is used for monitoring the charging time of the charging pile according to the time track information and generating time early warning information;
the operation early warning unit is used for monitoring heartbeat information of the charging pile according to the operation track information to generate operation early warning information;
the configuration early warning unit is used for monitoring the charging configuration of the charging pile according to the configuration track information and generating configuration early warning information;
and the prejudging unit is used for prejudging the charging of the charging pile according to the time early warning information, the operation early warning information and the configuration early warning information.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the processing protocol unit includes: acquiring the protocol information of the charging pile;
judging whether the protocol information can be analyzed or not;
if not, obtaining error protocol information;
and restoring the error protocol information to generate the charging track information.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the time early warning unit includes:
monitoring the charging time according to the time track information to obtain time abnormity information;
judging whether the charging value information is abnormal or not according to the time abnormal information;
and if so, generating the time early warning information according to the time abnormal information and the charging value information.
The embodiment of the invention has the following beneficial effects: the charging pre-judging method and the charging pre-judging system provided by the invention comprise the steps of acquiring protocol information of a charging pile, analyzing and processing the protocol information to generate charging track information, wherein the charging track information comprises time track information, running track information and configuration track information, monitoring the charging time of the charging pile according to the time track information to generate time early warning information, monitoring heartbeat information of the charging pile according to the running track information to generate running early warning information, monitoring the charging configuration of the charging pile according to the configuration track information to generate configuration early warning information, and pre-judging the charging of the charging pile according to the time early warning information, the running early warning information and the configuration early warning information. By analyzing the error protocol, the invention can improve the monitoring capability, reduce the economic loss and improve the accuracy of prejudging the running track.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a charging anticipation method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for generating charging trace information according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for generating time warning information according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for generating operation warning information according to a third embodiment of the present invention;
fig. 5 is a flowchart of a method for generating configuration warning information according to a third embodiment of the present invention;
fig. 6 is a schematic diagram of a charging anticipation system according to a fourth embodiment of the present invention.
Icon:
100-processing protocol units; 200-a time early warning unit; 300-operating an early warning unit; 400-configuring an early warning unit; 500-prejudging unit.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, in the daily charging process, many charging platforms judge whether the charging behavior is reasonable according to the daily personal behavior of charging, and monitor whether the whole charging process belongs to a fault state or a normal state according to the parameter threshold and the parameter configuration of hardware. This can detect most problems, but the underlying protocol is not determined by human action, nor does it involve hardware parameter configuration, but is simply a string of numbers. First, the wrong information report cannot pass through the protocol analysis process, and cannot be analyzed, which results in economic loss. Second, the platform records processed traces, resulting in data misalignment. Thirdly, the platform does not prejudge the next action of the charging pile, and the longitudinal depth of the operation of the charging pile cannot be described.
Based on this, the charging prediction method and the charging prediction system provided by the embodiment of the invention improve the monitoring capability, reduce the economic loss and improve the accuracy of prediction of the running track by realizing the analysis of the error protocol.
For the convenience of understanding the present embodiment, the method for charge anticipation disclosed in the present embodiment will be described in detail first.
The first embodiment is as follows:
fig. 1 is a flowchart of a charging anticipation method according to an embodiment of the present invention.
Referring to fig. 1, the method of charge anticipation includes the steps of:
step S110, acquiring protocol information of the charging pile, and generating charging track information by analyzing and processing the protocol information, wherein the charging track information comprises time track information, running track information and configuration track information;
specifically, because the wrong protocol sent by the charging pile cannot be analyzed by the platform server, if the charging pile always sends the wrong protocol, the charging information sent by the charging pile cannot be received by the platform server. In this case, it is necessary to record and analyze the wrong protocol information, restore the wrong protocol that cannot be analyzed, and follow up the wrong charging pile program or re-process the packetization task. The restored error protocol and the corrected protocol complement the whole charging process track to generate charging track information.
Step S120, monitoring the charging time of the charging pile according to the time track information, and generating time early warning information;
specifically, the charging time of the charging pile is monitored according to the time track information, and the time of the normal charging process is determined to be stable within a certain range value, such as 3-5 hours. When the charging process is monitored, the abnormal time information is acquired when the charging time exceeds the normal time range, and then the charging value information such as current and voltage is judged, and the current and voltage are continuously low values, time early warning information is generated to remind workers to perform on-site investigation, so that the problems that vehicle types are not matched or the problems are caused by human intervention or self programs of charging piles exist in the charging process.
Step S130, monitoring heartbeat information of the charging pile according to the running track information, and generating running early warning information;
specifically, fill and can be according to the operation of difference after the line connection, continuous adjustment heartbeat information. The heartbeat detection is the basis of the whole Internet of things and is also the premise for ensuring the normal use of the charging pile. And acquiring running state information according to the heartbeat information, wherein the running state information refers to information such as when the charging pile can be charged, can be reserved and cannot be used. The heartbeat information is used as a judgment basis for reasonable service of the charging pile, whether the continuously-changed track of the running state information of the charging pile accords with service logic is judged, and if not, running early warning information is generated to remind workers to perform manual intervention so that the running track is reasonable.
In addition, the charging pile sends heartbeat information to the platform server, and the platform server forms pile group information by screening, classifying and summarizing the heartbeat information; the pile group information comprises all data information about the charging pile at the city level, the provincial level and even the whole country.
Step S140, monitoring the charging configuration of the charging pile according to the configuration track information, and generating configuration early warning information;
specifically, according to the configuration track information, the charging configuration data of the initial process, the intermediate process and the ending process can be monitored in the uploading process of the charging pile data to obtain hardware parameter information, and parameter threshold value information with charging abnormity is determined according to the hardware parameter information in a certain time period; in the subsequent continuous detection process, judging whether the hardware parameter information meets the corresponding parameter threshold information or not by taking the parameter threshold information as a basis; if yes, generating configuration early warning information; and if not, normally charging. The hardware parameter information includes current information, voltage information, power information, temperature information, and the like.
And S150, performing charging prejudgment on the charging pile according to the time early warning information, the operation early warning information and the configuration early warning information.
Example two:
fig. 2 is a flowchart of a method for generating charging trace information according to a second embodiment of the present invention.
Referring to fig. 2, in step S110 of the method for charge prediction, the method for generating charge trajectory information specifically includes the following steps:
step S210, acquiring protocol information of the charging pile;
step S220, judging whether the protocol information can be analyzed; if so, go to step S231; if not, go to step S232;
step S231, obtaining uploading information of the charging pile;
step S232, obtaining error protocol information;
step S232, the error protocol information is restored to generate charging track information.
Specifically, assume that the normal protocol format is: 32000300000001010003000000, including "protocol header + protocol version number + service number + entity number + inclusion number + length + content", this normal protocol information can be analyzed, and the platform server can obtain the relevant upload information of charging pile. However, if it is the wrong protocol: 320003000010100030000, then the protocol body that found the error against the above cannot be resolved. And restoring the wrong protocol information, and supplementing the whole charging process track to generate charging track information.
Example three:
according to an exemplary embodiment of the present invention, referring to fig. 3, in step S120 of the method for predicting charging, the method for generating time warning information specifically includes the following steps:
step S310, monitoring the charging time according to the time track information to obtain time abnormal information;
step S320, judging whether the charging value information is abnormal or not according to the time abnormal information; if so, go to step S331; if not, go to step S332;
and step S331, generating time early warning information according to the time abnormal information and the charging value information.
And step S332, normal charging.
Specifically, the charging time of the charging pile is monitored according to the time track information, and if the time information is normal, the normal charging process is maintained; and if the charging time is abnormal, judging the charging value information such as current and voltage, and generating time early warning information to remind workers to perform on-site investigation under the condition that the current and the voltage are low values.
Monitoring the charging time according to the time trajectory information to obtain time information, which may be, for example, the following protocol content:
32000300000001010003000000 heartbeat idle 2017-06-0117: 26: 32
32000400000001010003000000 heartbeat charging 2017-06-0117: 50: 32
32000300000001010003000000 heartbeat idle 2017-06-0119: 26: 33
Then the state time series group of idle-charge-idle is finally combined. If the state is found to be idle according to the time track information and is directly switched to an offline state without any information uploading, and the state is maintained for a long time to obtain time abnormal information, the charging pile is indicated to be powered off artificially, or GPRS (General Packet radio service) signals are lost, or SIM (Subscriber identity module) card arrearage is carried out.
According to an exemplary embodiment of the present invention, referring to fig. 4, in step S130 of the method for predicting charging, the method for generating operation warning information specifically includes the following steps:
step S410, monitoring heartbeat information of the charging pile according to the running track information to obtain running state information;
step S420, judging whether the change track of the running state information accords with the business logic; if yes, go to step S431; if not, go to step S432;
step S431, normal charging.
And step S432, generating operation early warning information according to the operation state information.
Specifically, heartbeat information of the charging pile is monitored according to the running track information to obtain running state information; the heartbeat information is used as a judgment basis for the charging pile business reasonability, whether the continuously changing track of the running state information of the charging pile accords with business logic or not is judged, and if not, running early warning information is generated to remind workers to perform manual intervention so that the running track is reasonable; if yes, normal charging is continued.
The case of non-compliance with the business logic is described below by way of example. When the charging pile is in a charging state, the charging pile is successfully reserved by other people or restarted by people. Then the charging pile will have the business logic of charging-reserving or charging-initiating charging-charging, and the business logic of courseware is trapped in a disordered process. Or the charging pile is failed and started without a fault recovery process, so that the business logic is disordered. The concept of the track tree is added, the running state is judged in advance according to the running track information, on one hand, whether the track is reasonable or not is analyzed manually, on the other hand, the unreasonable track is added into the intervention action, and the normal and reasonable running is realized by continuously matching the running of the charging pile.
In addition, the charging pile sends heartbeat information to the platform server, and the platform server forms pile group information by screening, classifying and summarizing the heartbeat information; the pile group information comprises all data information about the charging pile at the city level, the provincial level and even the whole country.
According to an exemplary embodiment of the present invention, referring to fig. 5, in step S140 of the method for predicting charging, the method for generating configuration warning information specifically includes the following steps:
step S510, parameter threshold value information is obtained according to the configuration track information;
step S520, monitoring the charging configuration of the charging pile to obtain hardware parameter information;
step S530, judging whether the hardware parameter information meets threshold value information; if yes, go to step S541; if not, go to step S542;
step S541, generating configuration warning information according to the hardware parameter information.
And step S542, normal operation is carried out.
Specifically, charging configuration is monitored according to configuration track information to obtain hardware parameter information, and parameter threshold value information of abnormal charging is determined according to the hardware parameter information within a certain time period; in the subsequent continuous detection process, judging whether the hardware parameter information meets the corresponding parameter threshold information or not by taking the parameter threshold information as a basis; if yes, generating configuration early warning information; and if not, normally charging. The hardware parameter information includes current information, voltage information, power information, temperature information, and the like.
The contents of this embodiment will be described by taking hardware parameter information as temperature information. The temperature history threshold value of the charging pile is taken within a certain period and is 90 degrees, when the temperature of the charging pile suddenly exceeds the history threshold value, or the temperature value is not changed all the time in the whole charging process, or the temperature value is maintained in a valley range all the time, data analysis is needed, whether the internal material is replaced or not is judged, the internal parts are aged, or the temperature sensor is damaged, and other conditions are met.
Example four:
fig. 6 is a schematic diagram of a charging anticipation system according to a fourth embodiment of the present invention.
Referring to fig. 6, the system for charge anticipation includes the following units:
the processing protocol unit 100 is configured to acquire protocol information of the charging pile, and generate charging track information by analyzing and processing the protocol information, where the charging track information includes time track information, operation track information, and configuration track information;
the time early warning unit 200 is used for monitoring the charging time of the charging pile according to the time track information and generating time early warning information;
the operation early warning unit 300 is configured to monitor heartbeat information of the charging pile according to the operation track information, and generate operation early warning information;
the configuration early warning unit 400 is used for monitoring the charging configuration of the charging pile according to the configuration track information and generating configuration early warning information;
and the prejudging unit 500 is used for prejudging charging of the charging pile according to the time early warning information, the operation early warning information and the configuration early warning information.
According to an exemplary embodiment of the present invention, the processing protocol unit 100 includes: acquiring protocol information of a charging pile;
judging whether the protocol information can be analyzed or not;
if not, obtaining error protocol information;
and restoring the error protocol information to generate charging track information.
According to an exemplary embodiment of the present invention, the time alert unit 200 includes:
monitoring the charging time according to the time track information to obtain time abnormity information;
judging whether the charging value information is abnormal or not according to the time abnormal information;
and if so, generating time early warning information according to the time abnormal information and the charging value information.
The implementation principle and the generated technical effect of the charging anticipation system provided by the embodiment of the present invention are the same as those of the charging anticipation method embodiment, and for brief description, reference may be made to the corresponding contents in the charging anticipation method embodiment for the part not mentioned in the charging anticipation system embodiment.
The embodiment of the invention has the following beneficial effects: the charging pre-judging method and the charging pre-judging system provided by the invention comprise the steps of acquiring protocol information of a charging pile, analyzing and processing the protocol information to generate charging track information, wherein the charging track information comprises time track information, running track information and configuration track information, monitoring the charging time of the charging pile according to the time track information to generate time early warning information, monitoring heartbeat information of the charging pile according to the running track information to generate running early warning information, monitoring the charging configuration of the charging pile according to the configuration track information to generate configuration early warning information, and pre-judging the charging of the charging pile according to the time early warning information, the running early warning information and the configuration early warning information. By analyzing the error protocol, the invention can improve the monitoring capability, reduce the economic loss and improve the accuracy of prejudging the running track.
In the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The computer program product of the method for performing charging anticipation provided in the embodiments of the present invention includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, which is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.