Summary of the invention
The technical problem to be solved in the present invention is, requires the problem high, working strength is large, provide a kind of elevator integrated controller programming system, method and smart mobile phone for above-mentioned elevator integrated controller burning to operating personal.
The technical scheme that the present invention solves the problems of the technologies described above is, a kind of elevator integrated controller programming system is provided, comprise background server and smart mobile phone, and described background server comprises burning authenticating unit and stores all mobile phone logos that can carry out the smart mobile phone of burning to integrated controller, and the burning authority of each smart mobile phone, described smart mobile phone comprises data interface unit, data communication units, initialization unit, burning control unit, wherein: described data interface unit, for carrying out data interaction by data line and described integrated controller, described data communication units, for communicating with background server by mobile communications network, described initialization unit, for reading the device identification of integrated controller by data interface unit and being sent the authentication request comprising mobile phone logo and device identification by data communication units to background server, described burning authenticating unit, for authentication is carried out to described mobile phone logo and device identification and authentication by after to smart mobile phone send authentication pass through information, described burning control unit, for receive authentication by information after to be obtained the recent program of integrated controller from background server by data communication units, and by data interface unit, described recent program is burnt to integrated controller.
In elevator integrated controller programming system of the present invention, described burning control unit comprises program and obtains subelement and instruction establishment subelement, wherein: described program obtains subelement, for reading the device parameter of integrated controller by data interface unit, sending to background server the burning program request that comprises device parameter by data communication units and downloading corresponding recent program from background server; Described instruction creates subelement, creates burning instruction for the recent program returned according to background server, and this burning instruction is sent to integrated controller execution by data interface unit.
In elevator integrated controller programming system of the present invention, described mobile phone logo is account, the password of mobile phone IMEI code and input.
In elevator integrated controller programming system of the present invention, described smart mobile phone also comprises fault processing unit, camera and voice communication units, wherein: described fault processing unit, for starting the camera shooting picture at burning scene or video and described picture or screen being sent to background server by data communication units, and described voice communication units is made to connect background server by mobile communications network and play the information of voice prompt from background server.
The present invention also provides a kind of elevator integrated controller method for burn-recording, and the method realizes integrated controller burning by smart mobile phone and background server and comprises the following steps:
A () described smart mobile phone is after being connected to integrated controller by data line, the device identification of integrated controller is read by described data line, and to be sent to background server by mobile communications network and comprise the authentication request of mobile phone logo and device identification, described background server stores and allly can carry out the mobile phone logo of the smart mobile phone of burning and the burning authority of each smart mobile phone to integrated controller;
(b) described background server handset identification and device identification carry out authentication and authentication by after to smart mobile phone send authentication pass through information;
(c) described smart mobile phone receive authentication by information after, obtained the recent program of described integrated controller from described background server by mobile communications network;
D described recent program is burnt to integrated controller by data line by ().
In elevator integrated controller method for burn-recording of the present invention, described step (c) comprising: the device parameter being read integrated controller by data line; Sent the burning program request comprising device parameter to background server by mobile communications network; Recent program is downloaded in prompting according to background server;
Described step (d) comprising: the recent program that described smart mobile phone returns according to background server creates burning instruction, and this burning instruction is sent to integrated controller execution by data line.
In elevator integrated controller method for burn-recording of the present invention, described mobile phone logo is account, the password of mobile phone IMEI code and input.
In elevator integrated controller method for burn-recording of the present invention, comprise after described step (d):
E () starts picture or the video at camera shooting burning scene, and described picture or screen are sent to background server by data communication units;
F () connects background server by mobile communications network, and play the information of voice prompt from background server.
The present invention also provides a kind of smart mobile phone, comprises data interface unit, data communication units, initialization unit, burning control unit, wherein: described data interface unit, for carrying out data interaction by data line and integrated controller; Described data communication units, for being communicated with background server by mobile communications network, described background server stores and allly can carry out the mobile phone logo of the smart mobile phone of burning and the burning authority of each smart mobile phone to integrated controller; Described initialization unit, for reading the device identification of integrated controller by data interface unit and being sent the authentication request comprising mobile phone logo and device identification by data communication units to background server; Described burning control unit, in authentication by the rear recent program being obtained integrated controller by data communication units from background server, and by data interface unit, described recent program is burnt to integrated controller.
In smart mobile phone of the present invention, described burning control unit comprises program and obtains subelement and instruction establishment subelement, wherein: described program obtains subelement, for being read the device parameter of integrated controller by data interface unit, and by data communication units to background server transmission program burning request, described burning program request comprises device parameter; Described instruction creates subelement, creates burning instruction for the recent program returned according to background server, and this burning instruction is sent to integrated controller execution by data interface unit.
Elevator integrated controller programming system of the present invention, method and smart mobile phone, obtain recent program from background server by smart mobile phone connecting integration controller burning program is carried out to elevator integrated controller, only need a smart mobile phone can complete the burning program of integrated controller, not only reduce the requirement to on-the-spot burning personnel, and save the cost of burning.
Detailed description of the invention
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 intended to limit the present invention.
As shown in Figure 1, be the schematic diagram of elevator integrated controller programming system embodiment of the present invention.The programming system of the present embodiment comprises background server 10 and smart mobile phone 20, wherein background server 10 comprises burning authenticating unit 11, smart mobile phone 20 comprises data interface unit 24, data communication units 21, initialization unit 22, burning control unit 23, and above-mentioned data interface unit 24, data communication units 21, initialization unit 22, burning control unit 23 can by being installed to the software of smart mobile phone 20 in conjunction with corresponding smart mobile phone hardware implementing.
Data interface unit 24 is for carrying out data interaction by data line and integrated controller 30.Above-mentioned integrated controller 30 is for realizing elevator controlling, and it is connected with the drive circuit in elevator device, each signal panel, and controls the rectification of drive circuit and reversals according to the signal gathered.Especially, this integrated controller 30 has and is connected to Master control chip and for the USB interface of data transmission, the data interface unit 24 of smart mobile phone 20 is communicated with above-mentioned USB interface by data line, realizes data interaction.
Data communication units 21 is for passing through mobile communications network (such as GPRS network, TD-SCDMA network, WCDMA network, CDMA2000 network, 4G network etc., and may have access to internet) communicate with background server 10, such as send burning authentication request, burning program request to background server 10, obtain the recent program etc. of mating with the device parameter that initialization unit 22 obtains from background server 10.
Initialization unit 22 for being read the device identification of integrated controller 30 by data interface unit 24, and sends the authentication request comprising mobile phone logo and device identification to background server 10 by data communication units 21.The said equipment is designated the hardware identification code of integrated controller 30, and the device coding of different integrated controller is different.Mobile phone logo then can comprise account, the password of mobile phone hardware code (IMEI code) and input simultaneously.Hardware identification code in certain above-mentioned mobile phone logo also can by replacements such as cell-phone numbers.
Burning authenticating unit 11, for carrying out authentication to the authentication request from smart mobile phone 20, is namely verified the mobile phone logo in authentication request and device identification, and after being verified, sending authentication to smart mobile phone 20 passing through information.Particularly, can store in background server 10 and allly can carry out the smart mobile phone of burning and the burning authority etc. of each smart mobile phone to integrated controller.Such as, only have when the mobile phone hardware code in mobile phone logo has burning authority, and when the account in mobile phone logo has burning authority to relevant device mark, just send authentication to smart mobile phone 20 passes through information to burning authenticating unit 11.
Burning control unit 23 in authentication by after (i.e. data communication units 21 receive authentication pass through information), obtain the recent program of integrated controller 30 from background server 10, and by data interface unit 24, this recent program is burnt to integrated controller.If authentication is not passed through, then the burning control unit 23 of smart mobile phone 20 cannot carry out burning operation to integrated controller 30.
Above-mentioned elevator integrated controller programming system, obtained the recent program of integrated controller from background server 10 by the smart mobile phone 20 that immediately connects, and carry out burning program by data-interface, gather the advantage of long-range burning and on-the-spot burning, reduce the requirement to site operation personnel and working strength.Because smart mobile phone is popularized, therefore this programming system is without the need to purchasing smart mobile phone separately.
Particularly, above-mentioned burning control unit 23 can comprise program and obtain subelement and instruction establishment subelement, its Program obtains the device parameter (such as dbase and version number etc.) that subelement is used for being read by data interface unit 24 integrated controller, then to be sent to background server 10 by data communication units 21 and comprises device parameter d burning program request and download corresponding recent program from background server 10; Instruction creates the recent program that subelement is used for returning according to background server 10 and creates burning instruction, and this burning instruction is sent to integrated controller 30 by data interface unit 24 performs.
As shown in Figure 2, be the schematic diagram of another embodiment of smart mobile phone in Fig. 1.This smart mobile phone 40 is except comprising initialization unit 42, data communication units 41, burning control unit 43, data interface unit 45, also comprise fault processing unit 44, camera and voice communication units, above-mentioned fault processing unit 44 equally can by the software operated on smart mobile phone 40 in conjunction with corresponding hardware implementing.
Fault processing unit 44 is for starting picture or the video at camera shooting burning scene, and the picture of shooting or screen are sent to background server 10 by data communication units 41, and make voice communication units connect background server 10 by mobile communications network, and play the information of voice prompt from background server 10.
Above-mentioned fault processing unit 44 can start when burning control unit 43 detects burning failure, or the instruction of input by operating personal (such as by the touch-screen, button etc. of smart mobile phone 20) starts.By fault processing unit 44, long-range technical support can be realized, such as, by being in the professional and technical personnel of background server 10 end according to the picture at scene or video, by voice guidance field adjustable staff or process extraordinary circumstances.
As shown in Figure 3, be the schematic flow sheet of elevator integrated controller method for burn-recording embodiment of the present invention, it realizes burning by smart mobile phone and background server, comprises the following steps:
Step S31: smart mobile phone is after being connected to integrated controller by data line, read the device identification of integrated controller by data line, and sent the authentication request comprising mobile phone logo and device identification by mobile communications network (such as GPRS network, TD-SCDMA network, WCDMA network, CDMA2000 network, 4G network etc.) to background server.Above-mentioned integrated controller has and is connected to Master control chip and for the USB interface of data transmit-receive, smart mobile phone is communicated with above-mentioned USB interface by data line, realizes data interaction.
The said equipment is designated the hardware identification code of integrated controller 30, and the device coding of different integrated controller is different.Mobile phone logo then can comprise account, the password of mobile phone hardware code (IMEI code) and input simultaneously.Hardware identification code in certain above-mentioned mobile phone logo also can by replacements such as cell-phone numbers.
Step S32: background server handset identification and device identification carry out authentication and authentication by after to smart mobile phone send authentication pass through information.Particularly, can store in background server and allly can carry out the smart mobile phone of burning and the burning authority etc. of each smart mobile phone to integrated controller.Such as, only have when the mobile phone hardware code in mobile phone logo has burning authority, and when the account in mobile phone logo has burning authority to relevant device mark, just send authentication to smart mobile phone and pass through information.
Step S33: smart mobile phone receive authentication by information after, obtain the recent program corresponding with device parameter by mobile communications network from background server.
This step is specifically by realizing with under type: the device parameter being read integrated controller by data line, and by mobile communications network background server transmission program burning request, this burning program request comprises device parameter, thus the recent program that background server stores according to device parameter search, download for smart mobile phone.
Step S34: recent program is burnt to integrated controller by data line.Particularly, the burning instruction (format character of this burning program instruction closes the command format requirement of integrated controller) that the recent program establishment integrated controller that smart mobile phone returns according to background server can directly perform, and this burning instruction is sent to integrated controller execution by data line.
In addition, smart mobile phone also can perform following operation when burning failure being detected: the picture or the video that start camera shooting burning scene, and described picture or screen are sent to background server by mobile communications network; Connect background server by mobile communications network, and play the information of voice prompt from background server.By aforesaid operations, long-range technical support can be realized, such as, by being in the professional and technical personnel of background server end according to the picture at scene or video, by voice guidance field adjustable staff or process extraordinary circumstances.Certainly, aforesaid operations also can be started by the instruction of the input of operating personal (such as by the touch-screen, button etc. of smart mobile phone 20).
The present invention also provides the smart mobile phone used in a kind of above-mentioned integrated controller programming system, comprise data interface unit, data communication units, initialization unit, burning control unit, wherein: data interface unit is used for carrying out data interaction by data line and described integrated controller; Data communication units is used for being communicated with background server by mobile communications network; Initialization unit is used for reading the device identification of integrated controller by data interface unit and being sent the authentication request comprising mobile phone logo and device identification by data communication units to background server; Burning control unit is used in authentication by the rear recent program being obtained integrated controller by data communication units from background server, and by data interface unit, described recent program is burnt to integrated controller.
In above-mentioned smart mobile phone, burning control unit comprises program and obtains subelement and instruction establishment subelement, wherein: program obtains the device parameter that subelement is used for being read by data interface unit integrated controller, and by data communication units to background server transmission program burning request, described burning program request comprises device parameter; Instruction creates the recent program establishment burning instruction that subelement is used for returning according to background server, and this burning instruction is sent to integrated controller execution by data interface unit.
The above; be only the present invention's preferably detailed description of the invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.