Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to anelevator interface board 10, as shown in fig. 1, specifically including: a program acquisition andstorage component 11, a program interpretation andinterface driving component 12, afirst type interface 13 and asecond type interface 14.
The program acquisition andstorage component 11 is connected with the program interpretation andinterface driving component 12, the program interpretation andinterface driving component 12 is connected with the program acquisition andstorage component 11, and is also connected with thefirst type interface 13 and thesecond type interface 14, and thefirst type interface 13 is also connected with thesecond type interface 14.
The program acquisition andstorage component 11 is used to download and store the access program and provide the access program to the program interpretation andinterface driver component 12.
Specifically, the program acquiring and storingcomponent 11 can download and store an access program, and provide the downloaded and stored access program to the program interpreting andinterface driving component 12, wherein the elevator service equipment refers to elevator service equipment which is not provided by an elevator system provider, such elevator service equipment cannot be directly accessed into the elevator system and needs to be accessed through an elevator interface board, and the access program is a program for accessing the elevator service equipment into the elevator system.
In one example, the access program may be provided by an elevator service equipment manufacturer, the elevator service equipment manufacturer may simultaneously develop the access program for accessing the elevator service equipment when producing the elevator service equipment, the elevator service equipment manufacturer may develop different access programs for elevators of different brands and specifications, or may develop a set of access program suitable for elevators of all brands and specifications.
Such as: the elevator service equipment is an elevator billboard, and an elevator billboard manufacturer can develop an access program for accessing the elevator billboard when producing the elevator billboard, and delivers the access program and the elevator billboard to a client.
In another example, the access program can be developed by a user, and the user can develop the access program for accessing the elevator service equipment according to the specification information of the elevator service equipment and the specification information of the elevator when the user installs and uses the elevator service equipment.
Such as: the elevator service equipment is the surveillance camera head, and the user is when installation, use this elevator camera, develops one set of access program that is used for inserting this elevator camera, and the collocation elevator camera uses.
In one example, the program acquisition andstorage component 11 is further configured to download and store the update program and to provide the downloaded and stored update program to the program interpretation andinterface driver component 12. Wherein, the updating program is a program for accessing the updated elevator service equipment into the elevator system. Considering the situations of product updating, upgrade adjustment and the like of the elevator service equipment, an elevator service equipment manufacturer or a customer can develop and manage a set of updating programs according to the updating and upgrading requirements of the elevator server equipment so as to access the updated elevator service equipment to an elevator system.
The program interpretation andinterface drive component 12 comprises functions for interpreting the access program, providing functions for driving thesecond type interface 14 and providing functions for interacting with the elevator system via thefirst type interface 13 so that the elevator service equipment interacts with the elevator system via the corresponding logic of the access program.
Specifically, as shown in fig. 2, after the program acquisition andstorage component 11 downloads and stores the access program and provides the downloaded and stored update program to the program interpretation andinterface driving component 12, the program interpretation andinterface driving component 12 can interpret the access program and drive thesecond type interface 14 to access theelevator service equipment 16 to theelevator system 15 through the elevator interface board and thefirst type interface 13, so that theelevator service equipment 16 performs information interaction with theelevator system 15 through the logic corresponding to the access program. The program interpretation andinterface driving component 12 is connected to theelevator system 15 through afirst type interface 13, the connection mode may be a cable connection, thefirst type interface 13 may be a Controller Area Network interface (CAN interface for short), and the embodiment of the present invention is not limited to this specifically. Considering that the elevator system has various protocols and complex communication flow, in order to ensure the stability of the elevator system, the protocols of the elevator system are generally not opened to customers, the customers can not directly increase and change the protocols of the elevator system, and the elevator service equipment which is not provided by an elevator system provider can not be directly accessed into the elevator system. The elevator service equipment comprises but is not limited to internet of things equipment, elevator control panels, elevator monitoring panels and the like.
In one example, the elevator service device is an elevator billboard, and the program interpreting andinterface driving component 12 receives the access program corresponding to the elevator billboard provided by thestorage component 11, and then interprets the access program to drive thesecond type interface 14 connected with the elevator billboard to access the elevator billboard to theelevator system 15.
In another example, after theprogram acquiring component 11 acquires the updated program and sends the updated program to the program interpretation andinterface driving component 12, the program interpretation andinterface driving component 12 may interpret the updated program and drive thesecond type interface 14 to access the updatedelevator service equipment 16 to theelevator system 15, so that the updatedelevator service equipment 16 performs information interaction with theelevator system 15 through thefirst type interface 13.
In one example, the second type ofinterface 14 includes a serial communication interface and an IO interface corresponding to theelevator service equipment 16, and the program interpreter andinterface driver component 12 further includes functionality for providing control over the serial communication interface and the IO interface corresponding to theelevator service equipment 16. In the embodiment of the invention, the program interpretation andinterface driving component 12 also provides the function of controlling the serial communication interface and the IO interface corresponding to theelevator service equipment 16, i.e. the bottom function driving interface of the elevator interface board is opened for the customer and the elevator service equipment provider, so that the customer and the elevator service equipment provider can directly control the serial communication interface and the IO interface corresponding to the elevator service equipment, and the access program is more reasonable.
In a first embodiment of the present invention, an elevator interface board includes: the elevator system comprises a program acquisition component, a program acquisition and storage component, a program interpretation and interface driving component, a first type interface for connecting the elevator system and a second type interface for connecting the elevator service equipment; the program acquisition and storage component is connected with the program interpretation and interface driving component, the program interpretation and interface driving component is connected with the first type interface, and the first type interface is connected with the second type interface; the program acquisition and storage component is used for downloading and storing the access program and providing the access program for the program interpretation and interface driving component; wherein the access procedure is a procedure to access the elevator service equipment to the elevator system. Considering that the protocol of the elevator system is not opened for a client in order to ensure the stability of the elevator system, the protocol of the elevator system can not be directly increased or changed by the client, and the elevator service equipment of a non-elevator system provider can not be directly accessed into the elevator system, so that the client needs to contact the elevator system provider to make an elevator interface board program matched with the elevator service equipment in the past when accessing the elevator service equipment of the non-elevator system provider. The program interpretation and interface driving component comprises a function for interpreting the access program, a function for providing driving the second type interface and a function for providing interaction with the elevator system through the first type interface, so that the elevator service equipment interacts with the elevator system through the logic corresponding to the access program. The implementation mode of the invention can lead a customer or an elevator service equipment manufacturer to develop and manage the access program by self, reduce the management cost and risk, improve the access speed, save time for the customer and further improve the use experience of the customer.
A second embodiment of the present invention relates to an elevator interface board, specifically including: the system comprises a program acquisition and storage component, a program interpretation and interface driving component, a first type interface and a second type interface.
The program interpretation and interface driving component is also used for interpreting and executing an access program, and the elevator service equipment is accessed into the elevator system through the first type interface and the second type interface so that the elevator service equipment acquires the operation information of the elevator system through the elevator interface board and/or sends a control command to the elevator system through the elevator interface board.
Specifically, after receiving the access program provided by the program acquisition and storage component, the program interpretation and interface driving component can interpret and execute the access program, so that the elevator service equipment is accessed into the elevator system through the first type interface and the second type interface, after the elevator service equipment is accessed into the elevator system, the elevator interface board can acquire the operation information of the elevator system from the elevator system through the first type interface and send the operation information of the elevator system to the elevator service equipment through the second type interface, and the elevator interface board can also acquire a control command from the elevator service equipment through the second type interface and send the control command to the elevator system through the first type interface so as to control the operation of the elevator system.
In one example, the elevator service device is an elevator billboard, the elevator billboard is connected to the elevator system through a second type interface and a first type interface, a program interpretation and interface driving component of an elevator interface board drives the first type interface in real time to obtain operation information of the elevator system, such as current load, current floor, traveling direction and the like, and the program interpretation and interface driving component of the elevator interface board also sends the operation information to the elevator billboard through the second type interface and displays the operation information on a screen of the elevator billboard.
In another example, the elevator service equipment is a lock switch, the OFF state indicating that the elevator is locked and the ON state indicating that the elevator is operating normally. The elevator locking switch is accessed into the elevator system through the second type of interface and the first type of interface, when the elevator locking switch is changed from an ON state to an OFF state, the elevator locking switch generates an elevator locking control command, the program interpretation and interface driving component of the elevator interface board drives the second type of interface to acquire the elevator locking control command in real time, and drives the first type of interface to transmit the elevator locking control command to the elevator system, and the elevator system stops running; when the elevator locking switch is changed from an OFF state to an ON state, the elevator locking switch generates an unlocking control command, the program interpretation and interface driving component of the elevator interface board drives the second type interface to acquire the unlocking control command in real time, drives the first type interface to transmit the unlocking control command to the elevator system, and the elevator system operates again.
In a second embodiment of the present invention, the program interpreting and interface driving component is further configured to interpret and execute the access program, and access the elevator service device to the elevator system through the first type of interface and the second type of interface, so that the elevator service device obtains operation information of the elevator system through the elevator interface board, and/or send a control command to the elevator system through the elevator interface board, thereby further improving intelligence of an elevator, and further improving convenience and interactivity of elevator service.
A third embodiment of the present invention relates to an elevator interface board, as shown in fig. 3, specifically including: a program acquisition andstorage component 31, a program interpretation andinterface driver component 12, afirst type interface 13 and asecond type interface 14, wherein the program acquisition andstorage component 31 comprises aprogram acquisition module 311 and aprogram storage module 312.
Theprogram acquisition module 311 is connected to theprogram storage module 312, theprogram storage module 312 is connected to the program interpretation andinterface driving unit 12, the program interpretation andinterface driving unit 12 is further connected to thefirst type interface 13 and thesecond type interface 14, and thefirst type interface 13 is further connected to thesecond type interface 14.
Theprogram acquiring module 311 is configured to acquire an access program when a preset trigger condition is met, and store the access program in theprogram storage module 312.
Specifically, the program acquisition andstorage component 31 may determine whether the preset trigger condition is satisfied by theprogram acquisition module 311 before acquiring the access program, and when the preset trigger condition is satisfied, theprogram acquisition module 311 controls the program acquisition andstorage component 31 to acquire the access program and store the access program in theprogram storage module 312. The interface board downloads and stores the access program only when the preset trigger condition of the program acquisition module is met, so that the safety of the program downloading and storing process can be ensured. The preset trigger condition may be set by a person skilled in the art according to actual needs, and the embodiment of the present invention is not particularly limited in this regard.
In one example, theprogram obtaining module 311 may be connected to a button, and the preset trigger condition is to press the button. When the button is pressed, theprogram acquisition module 311 determines that the preset trigger condition is satisfied, and the control program acquisition andstorage component 31 acquires the access program and stores the access program in theprogram storage module 312.
In another example, theprogram obtaining module 311 may be connected to a password device, and the preset trigger condition is to input a correct password. When the user inputs the correct password, theprogram acquiring module 311 determines that the preset trigger condition is satisfied, and the control program acquiring and storingmodule 31 acquires the access program and stores the access program in theprogram storing module 312.
In one example, the program acquiring and storingcomponent 31 further includes an LED indicator light for indicating the storing condition of the access program, when the preset trigger condition is satisfied, theprogram acquiring module 311 controls the program acquiring and storingcomponent 31 to acquire the access program and store the access program in theprogram storing module 312, and the LED indicator light is turned on to indicate that the storing of the access program is completed.
In one example, as shown in FIG. 4, the program fetch andstore component 31 further includes aUSB slot 313, and the program fetchmodule 311 is connected to theUSB slot 313. The program acquisition andstorage component 31 is further configured to acquire an access program from a USB device connected to theUSB slot 313 when a predetermined trigger condition of theprogram acquisition module 311 is satisfied. The USB device can be a U disk, a mobile hard disk, a mobile phone and other devices, and the USB device stores an access program. By using the USB device, the program can be acquired more conveniently and simply, and the method is more suitable for the debugging stage.
In one example, as shown in FIG. 5, the program acquisition andstorage component 31 further includes a Secure Digital Memory Card (SD/TF)Card slot 314, and theprogram acquisition module 311 is connected to the SD/TF Card slot 314. The program acquisition andstorage component 31 is further adapted to acquire an access program from an SD/TF card connected to the SD/TF card slot 314 when a predetermined trigger condition of theprogram acquisition module 311 is met. The SD/TF card stores an access program. The SD/TF card is used, so that the program can be acquired more conveniently and simply. The SD/TF card updating program is suitable for production and field updating.
In another example, the program acquisition andstorage component 31 may also be provided with both aUSB slot 313 and an SD/TF card slot 314.
Theprogram storage module 312 is used to store access programs.
Specifically, after theprogram acquisition module 311 controls the program acquisition andstorage component 31 to acquire the access program and store the access program in theprogram storage module 312, theprogram storage module 312 may store the access program and provide the access program to the program interpretation andinterface driver component 12.
In one example, theprogram storage module 312 includes an internal memory and an external memory, the internal memory is a memory embedded in the interface board, and the external memory can be connected to the interface board through a memory slot. The external memory may provide additional storage space to store more access programs.
In a third embodiment of the present invention, the program acquisition and storage component comprises a program acquisition module and a program storage module; the program acquisition module is connected with the program storage module; the program acquisition module is used for acquiring the access program when a preset trigger condition is met and storing the access program into the program storage module; the program storage module is used for storing the access program, and the interface board can acquire the access program only when the preset trigger condition of the program acquisition module is met, so that the safety of the program acquisition process can be ensured.
A fourth embodiment of the present invention relates to an elevator interface board, specifically including: the device comprises a program acquisition and storage component, a program interpretation and interface driving component, a first type interface and a second type interface, wherein the program interpretation and interface driving component comprises a program interpreter and an interface driving module.
A specific application schematic diagram of theelevator interface board 10 of the embodiment of the present invention can be shown in fig. 6, and specifically includes: a program acquisition andstorage component 11, aprogram interpretation component 421, aninterface drive module 422, afirst type interface 13, asecond type interface 14, anelevator system 15, and anelevator service device 16.
Theinterface driving module 422 is connected to thefirst type interface 13 and thesecond type interface 14, and theprogram interpreter 421 is connected to the program acquiring and storingmodule 11 and theinterface driving module 422, respectively.
The program acquisition andstorage component 11 is used to acquire the access program and send the access program to the compiling component 17.
Theprogram interpreter 421 is used to read the access program from the program acquisition andstorage component 11, interpret and execute the logic corresponding to the access program, and interact with theelevator service equipment 16 andelevator system 15 according to the logic controlinterface driver module 422.
Specifically, after reading the access program, theprogram interpreter 421 may interpret and execute the access program, obtain a logic corresponding to the access program, and send the logic to theinterface driver module 422. Using the program interpreter the safety of the elevator system can be further improved.
In one example, the access program may be a program developed based on Python3, theprogram interpreter 421 may be a micro Python script interpreter, and the program developed based on Python3 is not in contact with the bottom layer, so that the implementation function is simpler, safer and more practical, and potential safety hazards to the elevator system due to improper operation of the client can be prevented.
Theinterface driving module 422 is further configured to access theelevator service equipment 16 to theelevator system 15 through thefirst type interface 13 and thesecond type interface 14 according to a logic corresponding to the access program, so that theelevator service equipment 16 and theelevator system 15 perform information interaction. Specifically, as shown in fig. 6, after theprogram interpreter 421 interprets and executes the logic corresponding to the access program, theinterface driving module 422 may drive thesecond type interface 14 to access theelevator service equipment 16 to theelevator system 15 according to the logic corresponding to the access program, so that theelevator service equipment 16 and theelevator system 15 perform information interaction. Theinterface driving module 422 is connected to theelevator system 15 through the first type ofinterface 13, and the connection mode may be a cable connection, which is not limited in this embodiment of the present invention.
In one example, a specific application diagram of theelevator interface board 400 can be shown in fig. 8, which includes:program acquisition 401,USB driver 402, SD/TF card driver 403,USB slot 404, SD/TF card slot 405,internal memory 406, memory slot 407,external memory 416,LED indicator 408,IO interface 409,serial communication interface 410, interface of the first type 411,interface driver module 412,program interpreter 413,elevator system 414, andelevator service equipment 415. Wherein the program storage module includes aninternal memory 406 and anexternal memory 416, and the program acquisition and storage components include: theprogram acquisition module 401, theUSB driver 402, the SD/TF card driver 403, theUSB slot 404, the SD/TF card slot 405, theinternal memory 406, the memory slot 407, theexternal memory 416 and theLED indicator light 408, and the program interpretation and interface driver component comprises: aprogram interpreter 413 and aninterface driver module 412.
TheUSB slot 404 is connected to theUSB driver 402, the SD/TF card slot 405 is connected to the SD/TF card driver 403, theprogram acquisition module 401 is connected to theUSB driver 402, the SD/TF card driver 403, theLED indicator 408, theinternal memory 406, and the memory slot 407 is connected to theexternal memory 416. Theinterface driving module 412 is connected with theIO interface 409, theserial communication interface 410 and the first type interface 411. Theprogram interpreter 413 is connected to theinternal memory 406, theexternal memory 416 and theinterface driver module 412. Theinterface drive module 412 is connected to theelevator system 414 via a first type of interface 411. Theelevator service equipment 415 is connected to theserial communication interface 410 and theIO interface 409.
When the preset trigger condition is met, theprogram obtaining module 401 downloads the access program through the USB device connected to theUSB slot 404 or the SD/TF card connected to the SD/TF card slot 405, and stores the access program in theinternal memory 406 or the external memory 407. The access program may be a program developed based on python3, and the access program may also be called a client program, and may be modified according to the actual needs of the client.
When the USB device is connected to theUSB slot 404 and downloads, theUSB driver 402 drives the USB slot to operate, and when the SD/TF card is inserted into the SD/TF card slot 405 and downloads, the SD/TF card drives the SD/TF card slot 405 to operate.
When the downloading and saving of the access program are completed, theLED indicator light 408 is turned on to indicate that the downloading and saving of the access program are completed.
Theprogram interpreter 413 may obtain the access program from theinternal memory 406 and theexternal memory 416, and may also obtain the underlying program from theinterface driver 412, interpret and execute the logic corresponding to the access program, and send the logic to theinterface driver 412. Theinterface driver module 412 may drive theIO interface 409 and theserial communication interface 410 to operate, and may further provide an IO interface program and a serial communication interface program to theprogram interpreter 413. Theprogram interpreter 413 may be a MicroPython script interpreter.
Theinterface driving module 412 may drive the second type of interface, that is, theIO interface 409 and theserial communication interface 410 to access theelevator service equipment 415 to theelevator system 414 according to the logic corresponding to the access program, so that theelevator service equipment 415 and theelevator system 414 perform information interaction. Wherein theelevator service equipment 415 can interact information with theelevator system 414 via theserial communication interface 410 and the first type interface 411.
In a fourth embodiment of the present invention, the program interpretation and interface driver component comprises a program interpreter and an interface driver module; the program interpreter is connected with the program acquisition and storage component, and the interface driving module is connected with the program interpreter; the program interpreter is used for reading the access program from the program acquisition and storage component, interpreting and executing the logic corresponding to the access program, and controlling the interface driving module to interact with the elevator service equipment and the elevator system according to the logic. The safety of the elevator system can be further improved using the program interpreter.
A fifth embodiment of the present invention relates to an elevator service equipment access method, as shown in fig. 8, specifically including:
step 501, downloading and storing an access program;
and 502, controlling the elevator service equipment to interact with the elevator system through logic corresponding to the access program.
In one example, after the interface board calls the interface on the interface board and the elevator service equipment is accessed into the elevator system, the interface board can also obtain an update program, wherein the update program is a program for accessing the updated elevator service equipment into the elevator system, and the updated elevator service equipment is accessed into the elevator system according to the update program, so that the updated elevator service equipment and the elevator system perform information interaction.
It is to be understood that this embodiment is a method of use embodiment corresponding to the first to fourth embodiments, and that this embodiment can be implemented in cooperation with the first to fourth embodiments. The related technical details and technical effects mentioned in the first to fourth embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first to fourth embodiments.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific embodiments for carrying out the present application, and that various changes in form and details may be made therein without departing from the spirit and scope of the present application in practice.