Summary of the invention
Object of the present invention is exactly that detection mode detection efficiency in order to solve existing charging pile is low, and the technical matters of waste of manpower resource, the invention provides a kind of charging pile self-checking unit.Concrete technical scheme of the present invention is as follows:
The invention provides a kind of self-checking unit of charging pile, comprise main control unit, receiving element, performance element, TU task unit and communication unit, described receiving element, performance element, TU task unit and communication unit are all connected with described main control unit, described receiving element receives the task list information of external host server transmission by described communication unit, and described task list information is transferred to described main control unit, described task list is transferred to described TU task unit by described main control unit, described main control unit reads individual event mission bit stream one by one from described TU task unit, and described single-phase mission bit stream is transferred to described performance element one by one, described performance element carries out execution self-inspection according to described single-phase mission bit stream, generate individual event result data, and individual event result data is transferred to described main control unit, described individual event result data is transferred to external host server by described communication unit by described main control unit.
Further, comprise storage unit, described storage unit is connected with described main control unit, described storage unit is for storing described individual event result data, described individual event result data is transferred to described main control unit by described performance element one by one, described individual event result data is transferred to described storage unit by described main control unit one by one, described main control unit obtains and is stored in described whole individual event result datas corresponding with described task list information in storage unit, and described whole individual event result data is transferred to described external host server.
Further, comprise detecting unit, described detecting unit is connected with described main control unit, described detecting unit is for depositing the current individual event mission bit stream treating self-inspection, described main control unit reads described individual event mission bit stream from described TU task unit, and described individual event mission bit stream is left in described detecting unit, described individual event mission bit stream is transferred to described performance element by described main control unit simultaneously.
Further, comprise Condition Monitoring Unit, described Condition Monitoring Unit is connected with described main control unit, described Condition Monitoring Unit is used for work or the idle condition of charging pile described in Real-Time Monitoring, the work of described charging pile or free message are transferred to described main control unit by described Condition Monitoring Unit, and described main control unit issues steering order according to the work of described charging pile or free message to described receiving element and described performance element.
A self checking method for charging pile, described method comprises the steps:
Described receiving element receives task list information by described communication unit;
Described task list information is transferred to described main control unit by described receiving element, and described task list information is transferred to described TU task unit by described main control unit;
Described main control unit reads the individual event mission bit stream in task list information one by one;
Described individual event mission bit stream is transferred to described performance element by described main control unit one by one;
Described performance element performs described individual event mission bit stream, and generates individual event result data;
Described individual event result data is transferred to described main control unit by described performance element, and described individual event result data is transferred to described external host server by described main control unit.
Further, the concrete grammar that described receiving element receives task list information by described communication unit comprises:
The work of charging pile described in described Condition Monitoring Unit Real-Time Monitoring or idle condition;
If described charging pile is idle condition, described main control unit issues reception instruction to described receiving element, and described receiving element is task list information according to described reception command reception;
If described charging is being duty, described main control unit is issuing suspended market order to described receiving element, and described receiving element stops to receive described task list information according to described command for stopping, and waits for described reception instruction.
Further, the method that described individual event mission bit stream transfers to described performance element also comprises by described main control unit one by one:
Described individual event mission bit stream is transferred to described detecting unit by described main control unit, described individual event mission bit stream is transferred to described performance element simultaneously;
The work of charging pile described in described Condition Monitoring Unit Real-Time Monitoring or idle condition;
If described charging pile is duty, described main control unit issues hang-up instruction to described performance element, and described performance element, according to described hang-up instruction, hangs up the current individual event task treating self-inspection, continues wait instruction;
If described charging pile is idle condition, described main control unit issues execution instruction to described performance element, and described performance element reads the current individual event mission bit stream treating self-inspection according to described execution instruction from described detecting unit, performs described individual event task.
Further, described performance element performs described individual event mission bit stream one by one, and the method generating individual event result data also comprises:
Described performance element performs described individual event task one by one, generate individual event task result data, and described individual event task result data is stored to described storage unit one by one, described main control unit obtains and is stored in whole individual event result datas corresponding with described task list information in storage unit, and described whole individual event result data is transferred to described external host server.
Further, described whole individual event result data transfers to described external host server in the lump, and described method also comprises:
By described communication unit, described whole individual event result data is transferred to described host server; If Communications failure or communicating interrupt, described whole individual event result data is uploaded or breakpoint transmission again, until complete end of transmission.
A kind of self-checking system of charging pile, comprise host server and self-checking unit, described host server and described self-checking unit communicate to connect, described host server is used for issuing task list to described self-checking unit, described self-checking unit receives described task list, the individual event task that described self-checking unit is executed the task in list one by one according to described task list, and generate result data, described result data is transferred to described host server by described self-checking unit, and described host server carries out data analysis according to described result data.
Compared to prior art, the main beneficial effect that the invention provides a kind of self-checking unit of charging pile is: the self-checking unit of described charging pile receives the task list information of external host server transmission, described self-checking unit detects communication and the circuit state of unit in charging pile automatically, and testing result is reported to external host server, provide a kind of more convenient, fast, effective self-checking unit and method, the unnecessary erecting stage to charging pile of technician, can the detection of inter-related task of operated from a distance time charging pile, reach reduction maintenance cost, improve the beneficial effect of detection efficiency.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not used for limiting the present invention.
Embodiment 1
Refer to shown in Fig. 1.
The invention provides a kind of self-checking unit of charging pile, comprise main control unit, receiving element, performance element, TU task unit and communication unit, described receiving element, performance element, TU task unit and communication unit are all connected with described main control unit, described receiving element receives the task list information of external host server transmission by described communication unit, and described task list information is transferred to described main control unit, described task list is transferred to described TU task unit by described main control unit, described main control unit reads individual event mission bit stream one by one from described TU task unit, and described single-phase mission bit stream is transferred to described performance element one by one, described performance element carries out execution self-inspection according to described single-phase mission bit stream, generate individual event result data, and individual event result data is transferred to described main control unit, described individual event result data is transferred to external host server by described communication unit by described main control unit.
It should be noted that, described host server is according to the self-inspection data in each described charging pile early stage and recent service data, generate task list, and each described task list is issued to the charging pile of described correspondence, described host server is according to the time of charging pile erecting stage service condition specifying suggestion self-inspection tasks carrying, and namely described charging pile is not to the time that external unit charges.
Embodiment 2
Refer to shown in Fig. 2.
The invention provides a kind of self-checking unit of charging pile, comprise main control unit, receiving element, performance element, TU task unit and communication unit, described receiving element, performance element, TU task unit and communication unit are all connected with described main control unit, described receiving element receives the task list information of external host server transmission by described communication unit, and described task list information is transferred to described main control unit, described task list is transferred to described TU task unit by described main control unit, described main control unit reads individual event mission bit stream one by one from described TU task unit, and described single-phase mission bit stream is transferred to described performance element one by one, described performance element carries out execution self-inspection according to described single-phase mission bit stream, generate individual event result data, and individual event result data is transferred to described main control unit, described individual event result data is transferred to external host server by described communication unit by described main control unit.
Comprise storage unit further, described storage unit is connected with described main control unit, described storage unit is for storing described individual event result data, described individual event result data is transferred to described main control unit by described performance element one by one, described individual event result data is transferred to described storage unit by described main control unit one by one, described main control unit obtains and is stored in described whole individual event result datas corresponding with described task list information in storage unit, when the whole individual event tasks in described task list, all to be performed self-inspection complete, described whole individual event result data is transferred to described external host server by described communication unit by described main control unit.
Comprise detecting unit further, described detecting unit is connected with described main control unit, described detecting unit is for depositing the current individual event mission bit stream treating self-inspection, described main control unit reads described individual event mission bit stream from described TU task unit, and described individual event mission bit stream is left in described detecting unit, described individual event mission bit stream is transferred to described performance element by described main control unit simultaneously.
Further, comprise Condition Monitoring Unit, described Condition Monitoring Unit is connected with described main control unit, described Condition Monitoring Unit is used for work or the idle condition of charging pile described in Real-Time Monitoring, the work of described charging pile or free message are transferred to described main control unit by described Condition Monitoring Unit, and described main control unit issues steering order according to the work of described charging pile or free message to described receiving element and described performance element.
If described charging pile is idle condition, described main control unit issues reception instruction to described receiving element, and described receiving element is task list information according to described reception command reception.
If described charging pile is duty, described main control unit issues suspended market order to described receiving element, and described receiving element stops to receive described task list information according to described command for stopping, and waits for described reception instruction.
Be understandable that, if described charging pile is in running order or charging pile enters duty described in reception task process, then self-inspection task suspension waited for; Treat that described charging pile enters idle condition again, then the reception task of receiving element proceeds; Until receive described task list.
It should be noted that, described duty is charging pile is the state that external unit charges; Described idle condition is that described charging pile is not to the state that external unit charges.
Embodiment 3
Refer to shown in Fig. 3.
The invention provides a kind of self checking method of charging pile, described method comprises the steps:
S1: described receiving element receives task list information by described communication unit.
Be understandable that, the work of charging pile described in described Condition Monitoring Unit Real-Time Monitoring or idle condition;
If described charging pile is idle condition, described main control unit issues reception instruction to described receiving element, and described receiving element is task list information according to described reception command reception;
If described charging is being duty, described main control unit is issuing suspended market order to described receiving element, and described receiving element stops to receive described task list information according to described command for stopping, and waits for described reception instruction.
S2: described task list information is transferred to described main control unit by described receiving element, described task list information is transferred to described TU task unit by described main control unit.
S3: described main control unit reads the individual event mission bit stream in task list information one by one.
S4: described individual event mission bit stream is transferred to described performance element by described main control unit one by one.
It should be noted that, described individual event mission bit stream is transferred to described detecting unit by described main control unit, described individual event mission bit stream is transferred to described performance element simultaneously;
The work of charging pile described in described Condition Monitoring Unit Real-Time Monitoring or idle condition;
If described charging pile is duty, described main control unit issues hang-up instruction to described performance element, and described performance element, according to described hang-up instruction, hangs up the current individual event task treating self-inspection, continues wait instruction;
If described charging pile is idle condition, described main control unit issues execution instruction to described performance element, and described performance element reads the current individual event mission bit stream treating self-inspection according to described execution instruction from described detecting unit, performs described individual event task.
S5: described performance element performs described individual event mission bit stream, and generates individual event result data.
Described performance element performs described individual event task one by one, generate individual event task result data, and described individual event task result data is stored to described storage unit one by one, described main control unit obtains and is stored in whole individual event result datas corresponding with described task list information in storage unit, and described whole individual event result data is transferred to described external host server.
S6: described individual event result data is transferred to described main control unit by described performance element, described individual event result data is transferred to described external host server by described main control unit.
By described communication unit, described whole individual event result data is transferred to described host server; If Communications failure or communicating interrupt, described whole individual event result data is uploaded or breakpoint transmission again, until complete end of transmission.
Embodiment 4
Refer to shown in Fig. 4.
On the basis of embodiment 1-3, the invention provides a kind of self-checking system of charging pile, comprise host server and self-checking unit, described host server and described self-checking unit communicate to connect, and described host server is used for issuing task list to described self-checking unit; Described self-checking unit receives described task list, the individual event task that described self-checking unit is executed the task in list one by one according to described task list, and generate result data, described result data is transferred to described host server by described self-checking unit, and described host server carries out data analysis according to described result data.
It should be noted that, described host server is according to the self-inspection data in each described charging pile early stage and recent service data, generate task list, and each described task list is issued to the charging pile of described correspondence, described host server is according to the time of described charging pile erecting stage service condition specifying suggestion self-inspection tasks carrying, and namely described charging pile is not to the time that external unit charges.
It should be noted that, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.