CN111115398B - Debugging method and device of elevator, debugging terminal and storage medium - Google Patents

Debugging method and device of elevator, debugging terminal and storage medium Download PDF

Info

Publication number
CN111115398B
CN111115398B CN201911271138.4A CN201911271138A CN111115398B CN 111115398 B CN111115398 B CN 111115398B CN 201911271138 A CN201911271138 A CN 201911271138A CN 111115398 B CN111115398 B CN 111115398B
Authority
CN
China
Prior art keywords
debugging
data
elevator
instruction
elevator controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911271138.4A
Other languages
Chinese (zh)
Other versions
CN111115398A (en
Inventor
曾东荣
刘活钊
余佳鑫
林汉洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Building Technology Guangzhou Co Ltd
Original Assignee
Hitachi Building Technology Guangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Building Technology Guangzhou Co Ltd filed Critical Hitachi Building Technology Guangzhou Co Ltd
Priority to CN201911271138.4A priority Critical patent/CN111115398B/en
Publication of CN111115398A publication Critical patent/CN111115398A/en
Application granted granted Critical
Publication of CN111115398B publication Critical patent/CN111115398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B1/00Control systems of elevators in general
    • B66B1/34Details, e.g. call counting devices, data transmission from car to control system, devices giving information to the control system
    • B66B1/3415Control system configuration and the data transmission or communication within the control system
    • B66B1/3446Data transmission or communication within the control system
    • B66B1/3461Data transmission or communication within the control system between the elevator control system and remote or mobile stations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier

Abstract

The invention relates to a debugging method, a device, a debugging terminal and a storage medium of an elevator, wherein the method comprises the following steps: receiving a first debugging instruction aiming at the elevator sent by an NFC card reader; the first debugging instruction is a debugging instruction acquired by the NFC card reader from the elevator controller; according to the first debugging instruction, backing up the first debugging data to obtain first backup data, and sending the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a checking error instruction after the first debugging data is checked to be error; when a verification error instruction is received, first backup data are sent to an elevator controller; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct. By adopting the method, the risk of elevator debugging failure can be reduced.

Description

Debugging method and device of elevator, debugging terminal and storage medium
Technical Field
The invention relates to the technical field of elevator communication, in particular to a debugging method and device of an elevator, a debugging terminal and a storage medium.
Background
With the widespread use of elevators, elevator commissioning personnel often need to commission an elevator, such as configuring elevator parameters or upgrading the procedures of an elevator control system. In the conventional technology, elevator debugging personnel need to debug the elevator through a near field communication technology, but the accuracy of data such as elevator configuration parameters or elevator upgrading programs cannot be guaranteed, and the risk of elevator debugging failure is increased.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for debugging an elevator, a debugging terminal, and a storage medium, which can reduce the risk of elevator debugging failure.
In a first aspect, a method for commissioning an elevator is provided, comprising:
receiving a first debugging instruction aiming at the elevator sent by an NFC card reader; the first debugging instruction is a debugging instruction acquired by the NFC card reader from an elevator controller;
according to the first debugging instruction, backing up first debugging data to obtain first backup data, and sending the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a verification error instruction after the elevator controller verifies that the first debugging data is wrong;
when the checking error instruction is received, the first backup data is sent to the elevator controller; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct.
In a second aspect, there is provided a commissioning apparatus of an elevator, comprising:
the debugging instruction receiving module is used for receiving a first debugging instruction which is sent by the NFC card reader and aims at the elevator; the first debugging instruction is a debugging instruction acquired by the NFC card reader from an elevator controller;
the data backup sending module is used for backing up first debugging data according to the first debugging instruction to obtain first backup data, and sending the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a verification error instruction after the elevator controller verifies that the first debugging data is wrong;
the backup data sending module is used for sending the first backup data to the elevator controller when the checking error instruction is received; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct.
In a third aspect, a debug terminal is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:
receiving a first debugging instruction aiming at the elevator sent by an NFC card reader; the first debugging instruction is a debugging instruction acquired by the NFC card reader from an elevator controller;
according to the first debugging instruction, backing up first debugging data to obtain first backup data, and sending the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a verification error instruction after the elevator controller verifies that the first debugging data is wrong;
when the checking error instruction is received, the first backup data is sent to the elevator controller; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving a first debugging instruction aiming at the elevator sent by an NFC card reader; the first debugging instruction is a debugging instruction acquired by the NFC card reader from an elevator controller;
according to the first debugging instruction, backing up first debugging data to obtain first backup data, and sending the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a verification error instruction after the elevator controller verifies that the first debugging data is wrong;
when the checking error instruction is received, the first backup data is sent to the elevator controller; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct.
According to the debugging method, the device, the debugging terminal and the storage medium of the elevator, the NFC card reader sends the first debugging instruction sent by the elevator controller to the debugging terminal, when the debugging terminal receives the first debugging instruction, the first debugging data is backed up, if the elevator controller verifies that the first debugging data is wrong, the debugging terminal can send the backed-up first debugging data after receiving a verification error instruction sent by the elevator controller, i.e. the first backup data is sent to the elevator controller, which in case it is verified that the first backup data is correct, the elevator is debugged according to the first backup data, so that in the process of debugging the elevator by utilizing the near field communication technology, the condition that debugging fails due to error of debugging data is avoided, the effectiveness of elevator debugging is guaranteed, and the risk of elevator debugging failure is reduced.
Drawings
Fig. 1 is a diagram of an application environment of a debugging method of an elevator in one embodiment;
fig. 2 presents a flow diagram of a method of commissioning an elevator according to an embodiment;
fig. 3 is a flow diagram of a method of commissioning an elevator in another embodiment;
fig. 4 presents a flow diagram of a method of debugging an elevator in yet another embodiment;
fig. 5 is a block diagram showing the construction of a debugging apparatus of an elevator in one embodiment;
fig. 6 is an internal structural diagram of a debug terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The debugging method of the elevator provided by the invention can be applied to the application environment shown in figure 1. Near field communication is performed between the debugging terminal 102 and the NFC card reader 104, and communication can be performed between the NFC card reader 104 and the elevator controller 106 through wired transmission methods such as RS 485. When the debugging terminal 102 is in the recognizable near field communication range of the NFC card reader 104, the NFC card reader 104 sends a first debugging instruction to the debugging terminal 102 after receiving the first debugging instruction sent by the elevator controller 106; after receiving the first debugging instruction, the debugging terminal 102 backs up the first debugging data to obtain first backup data, sends the first debugging data to the NFC card reader 104, and sends the first debugging data to the elevator controller 106 through the NFC card reader 104; after the elevator controller 106 receives the first debugging data, the first debugging data is verified, if the first debugging data is verified to be wrong, the elevator controller 106 sends a verification error instruction, and sends the verification error instruction to the debugging terminal 102; the debugging terminal 102 sends the first backup data to the elevator controller 106 when receiving the checking error instruction, the elevator controller 106 checks the first backup data after receiving the first backup data, and if the checking of the first backup data is correct, the elevator controller 106 debugs the elevator according to the first backup data.
The debugging terminal 102 may be a mobile device, such as a personal computer, a notebook computer, a smart phone, a tablet computer, and a portable wearable device; further, the mobile device can have an HCE function, and the mobile device can perform near field communication with an NFC card reader through the HCE function; in addition, a debugging APP can be installed on the mobile device in advance, and debugging personnel can configure parameters for debugging the elevator or load debugging data such as an installation package for updating the elevator control program on the debugging APP; the NFC reader 104 and the elevator controller 106 may communicate with each other by wireless transmission means such as a network, which is not shown in fig. 1.
In one embodiment, as shown in fig. 2, a debugging method of an elevator is provided, which is described by taking the method as an example of being applied to a debugging terminal 102 in fig. 1, and comprises the following steps:
step S202, receiving a first debugging instruction aiming at the elevator and sent by the NFC card reader; the first debugging instruction is a debugging instruction acquired by the NFC card reader from an elevator controller.
When the debugging terminal is in the recognizable range of the NFC card reader, the NFC card reader can perform format conversion processing on a first debugging instruction after receiving the first debugging instruction sent by the elevator controller, and the converted first debugging instruction is sent to the debugging terminal.
In one embodiment, if the commissioning of the elevator is implemented by a commissioning APP of a commissioning terminal, the elevator controller may generate a first commissioning instruction carrying an application identifier AID for specifying the commissioning APP from a plurality of applications APPs of the commissioning terminal; the NFC card reader may perform APDU format conversion on the first debug instruction to obtain a first debug instruction in the APDU format, where the NFC card reader transmits the first debug instruction in the APDU format to the debug terminal after performing format conversion on the first debug instruction in the APDU format.
Step S204, backing up first debugging data according to the first debugging instruction to obtain first backup data, and sending the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a verification error instruction after the first debugging data is verified to be error.
In this step, after the debugging terminal receives a first debugging instruction sent by the NFC card reader, the first debugging data is backed up to obtain first backup data, and then the first debugging data is sent to the NFC card reader, and after receiving the first debugging data, the NFC card reader sends the first debugging data to the elevator controller.
The procedure is described below in terms of regulating and controlling an elevator in a debugging APP mode through a debugging terminal.
After receiving a first debugging instruction in an APDU format, a debugging terminal determines a debugging APP from a plurality of applications APP according to an application program identifier AID in the first debugging instruction, backups first debugging data acquired by the debugging APP to obtain first backup data, and sends the first debugging data to an elevator controller.
Step S206, when the error checking instruction is received, the first backup data is sent to the elevator controller; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct.
In the step, after receiving first debugging data, an elevator controller checks the first debugging data, judges whether the first debugging data is wrong or not in the process of data transmission in a near field communication mode, if the first debugging data is checked to be wrong, the elevator controller generates a checking error instruction and sends the checking error instruction to an NFC card reader, the NFC card reader can perform format conversion on the checking error instruction, the NFC card reader sends the converted checking error instruction to a debugging terminal, the debugging terminal sends first backup data to the NFC card reader according to the checking error instruction, and the NFC card reader sends the first backup data to the elevator controller; and after receiving the first backup data, the elevator controller verifies the first backup data, and if the first backup data is verified to be correct, the elevator is debugged according to the first backup data.
According to the debugging method of the elevator, the NFC card reader sends a first debugging instruction sent by the elevator controller to the debugging terminal, the debugging terminal backs up first debugging data when receiving the first debugging instruction, if the elevator controller verifies that the first debugging data is wrong, the debugging terminal can send the backed-up first debugging data, namely the first backup data to the elevator controller after receiving the verification error instruction sent by the elevator controller, and the elevator controller debugs the elevator according to the first backup data when verifying that the first backup data is correct, so that in the process of debugging the elevator by using a near field communication technology, the condition of debugging failure caused by debugging data error is avoided, the effectiveness of elevator debugging is guaranteed, and the risk of elevator debugging failure is reduced.
In one embodiment, the debugging data can be stored in an RFID card of the debugging terminal, and the NFC card reader obtains the debugging data by reading the RFID card; however, since the memory capacity of the RFID card is limited, it is impossible to store excessively large debug data. Therefore, in this embodiment, the debugging terminal can segment the debugging data, and by sending the segmented debugging data, it is ensured that large debugging data can also be normally transmitted, and by continuously sending the debugging command to the debugging terminal through the elevator controller, it is ensured that the debugging data is continuously transmitted, and the normal operation of the elevator debugging is ensured.
Specifically, the debugging terminal determines the size of a preset data segment, and then sequentially segments the debugging data according to the size of the preset data segment, so as to obtain a plurality of segmented debugging data; the debugging terminal selects one piece of segmented debugging data from the plurality of pieces of segmented debugging data to serve as first debugging data, the first debugging data are sent to the elevator controller, when the elevator controller verifies that the first debugging data or first backup data of the first debugging data are correct, the elevator controller can send a second debugging instruction to the debugging terminal through the NFC card reader, and the second debugging instruction is used for indicating the debugging terminal to send the next piece of debugging data; and after receiving the second debugging instruction, the debugging terminal selects the next subsection debugging data of the first debugging data from the plurality of subsection debugging data according to the sequence, sends the next subsection debugging data as the second debugging data to the NFC card reader, and then sends the second debugging data to the elevator controller through the NFC card reader.
Further, after obtaining the first debug data, the debug terminal may store the first debug data in the data cache region a, and it can be understood that the data cache region a is equivalent to a destination cache region; at this time, the first debugging instruction generated by the elevator controller may carry a cache area identifier AIDa, where the cache area identifier AIDa is used to specify a data cache area a of the debugging APP of the debugging terminal; when the debugging terminal receives the first debugging instruction, the debugging terminal analyzes the cache area identifier AIdA from the first debugging instruction, reads first debugging data of a data cache area a of the debugging APP according to the cache area identifier AIdA, sends the first debugging data to the NFC card reader, deletes the first debugging data of the data cache area a, selects next subsection debugging data from a plurality of subsection debugging data according to sequence, and stores the next subsection debugging data into the data cache area a as second debugging data. After receiving the first debugging data sent by the NFC card reader, the elevator controller verifies the first debugging data or the first backup data of the first debugging data, if the data are verified to be correct, the elevator controller can generate a second debugging instruction carrying a cache area identifier AIDA, the first debugging instruction can also be directly used as a second debugging instruction, the second debugging instruction is sent to the NFC card reader, and the NFC card reader sends the second debugging instruction to the debugging terminal.
In the above embodiment, the debugging terminal deletes the first debugging data in the data cache region a and places the second debugging data in the data cache region a, so that the effect of refreshing the debugging data in the data cache region is realized, the debugging data of the elevator is not limited by the storage capacity of the debugging terminal, the debugging terminal can send the debugging data of any size according to actual requirements, and the flexibility of debugging the elevator is improved.
Further, after the debugging terminal backs up the debugging data, storing the obtained backup data in a data cache region b, wherein the data cache region b is equivalent to a backup cache region, and at this time, after the elevator controller receives the debugging data, if the debugging data is checked to be in error, a check error instruction carrying a cache region identifier AIDB can be generated, and the cache region identifier AIDB is used for designating the data cache region b of the debugging APP of the debugging terminal; and after the debugging terminal receives the checking error command, resolving the checking error command into a cache area identifier AIDB, and sending the backup data in the data cache area b to the elevator controller according to the cache area identifier AIDB.
When the debugging terminal has a plurality of debugging data to send to the elevator controller, the debugging terminal caches the backup data in the data cache region b, so that the elevator controller can use the same checking error instruction when checking a plurality of debugging data, the condition that the checking error instruction is generated when checking that the debugging data is in error every time is avoided, and the transmission efficiency of the debugging data is improved.
In one embodiment, the elevator controller checks the received debugging data, and after the received debugging data or the backup data is checked to be correct, the elevator controller can send a next debugging command to the debugging terminal, so that the debugging terminal can send next debugging data to the elevator controller, and the debugging terminal can continuously send a plurality of debugging data to the elevator controller; the elevator controller can also confirm that the data reception is finished by sending a data reception finishing instruction to the debugging terminal, and after the debugging terminal receives the data reception finishing instruction, the debugging terminal displays the information of finishing the debugging.
In this embodiment, the debugging terminal sends the transmission end mark to the elevator controller through the NFC card reader, and informs the elevator controller to stop sending the debugging instruction to the debugging terminal, so as to avoid the situation that the elevator controller sends the debugging instruction to the debugging terminal after the debugging data is sent, and improve the reliability of elevator debugging.
In one embodiment, when the NFC reader is in a terminal card reading mode, the NFC reader may identify whether there is a commissioning device within a near field communication range; in the mode, the elevator controller can send a polling instruction to the NFC card reader, when the elevator controller polls the NFC card reader to obtain a terminal identifier of the debugging terminal, the elevator controller stops sending the polling instruction to the NFC card reader, obtains the terminal identifier, generates a debugging communication instruction according to the terminal identifier, can carry the terminal identifier, and sends the debugging communication instruction to the corresponding debugging terminal through the NFC card reader. After receiving the debugging communication instruction, the debugging terminal sends debugging communication data to the elevator controller through the NFC card reader; and when the elevator controller verifies that the debugging communication data are correct, controlling the NFC card reader to enter a debugging communication mode, and establishing debugging communication connection with the debugging terminal so as to transmit debugging instructions or debugging data between the debugging terminal and the elevator controller. The elevator controller can be used for judging whether the debugging terminal has an appointed debugging program and/or an appointed data cache region or not, if not, the elevator controller confirms that the debugging communication data is wrong, then the NFC card reader is controlled to reenter a terminal card reading mode, whether other debugging terminals exist in a near field communication range is continuously identified, and a polling instruction is sent to the NFC card reader again so as to establish debugging communication connection with other debugging terminals. The NFC card reader can acquire the terminal identifier of the debugging terminal by reading the IC card of the debugging terminal.
In the above embodiment, after receiving the terminal identifier, the elevator controller sends a debugging communication instruction to the debugging terminal through the NFC card reader, so that the debugging terminal sends debugging communication data to the elevator controller, the elevator controller checks the debugging communication data, if the checking is correct, the NFC card reader is controlled to enter a debugging communication mode to transmit the debugging instruction and the debugging data, and if the checking is wrong, the NFC card reader is controlled to enter a terminal card reading mode so as to establish communication connection with other debugging terminals, thereby ensuring normal elevator debugging.
In order to better understand the above method, an example of application of the inventive method for commissioning an elevator is described in detail below.
In the application example, the elevator control system is provided with an NFC card reader and an elevator controller, and a debugging person can change configuration parameters or update debugging data such as an installation package of an elevator control program in real time through a debugging APP of a mobile terminal (equivalent to a debugging terminal).
Firstly, the functions, installation positions and other contents of an elevator controller, an NFC card reader and a mobile terminal are introduced:
the utility model provides an elevator controller, this elevator controller installs in elevator machine room, is responsible for data communication, and elevator authority control need set up configuration parameter during the debugging, specifically can include following function:
1. the RS485 communication function is used for communicating with the NFC card reader in an RS485 mode;
2. the data processing function can actively send out instructions such as a polling instruction and a debugging instruction, can receive debugging data returned by the NFC card reader and can verify the correctness of the debugging data;
3. and the data storage function can store debugging data sent by the mobile terminal.
The NFC card reader is installed on an elevator car and mainly responsible for reading an IC card, near field communication, data transmission and the like, and the NFC card reader can specifically comprise the following functions:
1. the RS485 data communication function is used for communicating with the elevator controller in an RS485 mode;
2. the data processing function can receive the command sent by the elevator control master control, convert the command into an APDU format, receive debugging data of the mobile terminal in the APDU format and convert the debugging data of the APDU format into debugging data of a format which can be identified by the elevator controller;
3. the near field communication function can realize the functions of activation, selection, anti-collision, data exchange and the like of the near field communication.
The mobile terminal can be a handheld terminal device, mainly realizes functions of near field communication, configuration of debugging parameters of the elevator and the like, and specifically can include the following functions:
1. the near field communication function can transmit debugging data, debugging instructions and the like with the NFC card reader through near field communication;
2. the data processing function can segment debugging data such as configuration parameters or installation packages and the like and transmit the data in an APDU format;
3. select the debugging APP from a plurality of applications APP, can be according to actual conditions, through the configuration parameter of debugging APP real-time adjustment elevator, and generate the configuration file, place debugging data in corresponding data buffer.
Next, the steps involved in the application of the debugging method of the elevator to the present application example are described:
step (1), preparing a debugging parameter or program installation package;
the method comprises the steps that elevator debugging parameters or a selected program installation package are configured on a mobile terminal with an HCE function through a debugging APP, after the configuration of the debugging parameters or the selection of the program installation package are completed, communication initialization data (equivalent to debugging communication data) are stored in a data cache region b, the debugging parameters or the program installation package are segmented according to the size of a preset data segment, first segmented debugging data are converted according to an APDU format and written into a data cache region a, and the mobile terminal is placed in a near field communication range recognizable by an NFC card reader.
Step (2), identifying equipment;
the NFC card reader is usually in a card reading state (equivalent to a terminal card reading mode), the elevator controller polls the NFC card reader in the card reading state, and if the elevator controller polls the terminal identifier of the terminal equipment sensed by the NFC card reader, the elevator controller stops polling operation of the NFC card reader.
Step (3), initializing data communication;
the elevator controller sends a communication initialization APDU command (equivalent to a debug communication command) to the NFC reader, which contains the AIDb. The NFC card reader converts the format of the instruction and transmits the instruction to the mobile terminal, and further the instruction can be transmitted to an NFC controller arranged on the mobile terminal. The mobile terminal selects a data cache region b of the debugging APP according to the AIDB, communication initialization data of the data cache region b are sent to an NFC controller of the mobile terminal, the NFC controller of the mobile terminal sends the communication initialization data to an NFC card reader, the communication initialization data are returned to an elevator controller after the NFC card reader receives the communication initialization data, the elevator controller verifies the communication initialization data, if the communication initialization data meet preset requirements, data communication initialization is completed (equivalently, the NFC card reader is controlled to enter a debugging communication mode), otherwise, the elevator controller gives up debugging communication with the mobile terminal, and polling operation of the NFC controller is continued, so that the NFC card reader continues to read the card.
Step (4), debugging data communication and keeping;
if the data communication initialization is completed, the elevator controller sends a data query APDU instruction (equivalent to a first debugging instruction), the instruction contains AIdA, after the instruction is transmitted to the NFC controller of the mobile terminal through the NFC card reader, the mobile terminal accesses the debugging APP according to the AIdA, determines a data cache region a of the debugging APP, sends first debugging data in the data cache region a to the NFC controller of the mobile terminal, backups the first debugging data of the data cache region a to a data cache region b, and puts second debugging data into the data cache region a. The NFC controller of the mobile terminal sends debugging data to the NFC card reader, the NFC card reader sends the first debugging data to the elevator controller, the elevator controller receives the first debugging data and checks the first debugging data, if the first debugging data are correct, the elevator controller sends a data receiving sequence confirmation instruction (equivalent to a second debugging instruction) containing AIdA to the mobile terminal, the mobile terminal receives the data receiving sequence confirmation instruction, the mobile terminal sends the second debugging data of the data cache area a to the elevator controller, removes the first backup data of the data cache area b, backs up the second debugging data of the data cache area a to the data cache area b, puts third debugging data into the data cache area a, and when the mobile terminal receives the next debugging instruction, the operation is repeated. In the communication process, if the elevator controller verifies that the received debugging data are not correct, the elevator controller sends a data query instruction (equivalent to a verification error instruction) containing AIDB to the mobile terminal, and the mobile terminal sends the debugging data of the data cache region b to the elevator controller again.
Step (5), debugging data communication is finished;
the mobile terminal takes the transmission ending mark as the last debugging data and is placed in the data cache region a, after the elevator controller receives the transmission ending mark and confirms that the data is received, the mobile terminal does not send the configuration parameters any more and controls the debugging APP to display the information that the elevator debugging is ended, and after the elevator controller confirms that the data is received, the elevator controller resumes the polling operation of the NFC card reader.
Now, referring to fig. 3, the transmission flow of the debug data in the present application example is described more clearly:
step S302, debugging data such as debugging parameters or a selected program installation package and the like are configured in real time through a debugging APP of the mobile terminal;
step S304, the mobile terminal places the communication initialization data in a data cache region b, and places the first section of debugging data in the data cache region b;
s306, the mobile terminal is placed in the identification range of the NFC card reader, and the elevator controller identifies the mobile terminal through the NFC card reader;
step S308, the elevator controller sends a communication initialization APDU command containing AIDB to the mobile terminal through the NFC card reader so as to acquire communication initialization data stored in the data cache region b;
step S310, after the elevator controller verifies that the communication initialization data are correct, a first debugging instruction containing AIdA is sent to the mobile terminal through the NFC card reader to obtain first debugging data stored in a data cache area a;
step S312, after the mobile terminal sends the first debugging data to the elevator controller, the first debugging data is backed up to a data cache region b, and the second debugging data is placed in a data cache region a;
step S314, after the elevator controller confirms that the first debugging data is correct, sending a data receiving sequence confirmation instruction containing AIdA to the mobile terminal through the NFC card reader to obtain second debugging data of the data cache area a;
step S316, the mobile terminal takes the transmission ending mark as the last debugging data and puts the last debugging data into a data cache region a;
and S318, after the elevator controller receives the transmission end mark, the debugging data is confirmed to be received completely, the polling operation on the NFC card reader is recovered, and the mobile terminal displays the information that the elevator debugging is finished through the debugging APP.
Now, with reference to fig. 4, a transmission flow when debugging data has an error in the present application example is described:
step S402, after receiving the debugging data, the elevator controller verifies the debugging data;
s404, when the elevator controller verifies that debugging data are wrong, sending a verification error instruction containing AIDB to the mobile terminal through the NFC card reader;
step S406, after receiving the checking error command, the mobile terminal sends backup data stored in the data cache region b to the elevator controller;
and step S408, after receiving the backup data, the elevator controller verifies the backup data, and when the backup data is verified correctly, the elevator controller sends a data receiving sequence confirmation instruction containing AIdA to the mobile terminal to obtain second debugging data of the data cache area a.
In the embodiment, the debugging data is segmented and the transmission end mark is set, so that the aim of continuously transmitting the large-capacity debugging data is fulfilled; the debugging data is backed up, and the purpose of correcting the debugging data is achieved; in addition, the NFC card reader can be switched between a terminal card reading mode and a debugging communication mode, so that the card reading and debugging data transmission interface multiplexing function of the NFC card reader is realized; the elevator debugging method of the embodiment enables debugging personnel to realize debugging parameter setting and program upgrading of the elevator in the elevator car, ensures the accuracy of debugging data and reduces the risk of elevator debugging failure.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention.
Based on the same idea as the debugging method of the elevator in the above-described embodiment, the present invention also provides a debugging device of an elevator, which can be used to perform the debugging method of the elevator. For convenience of explanation, the structure of the embodiment of the debugging device of the elevator is only shown in the schematic diagram, and the skilled person will understand that the structure shown in the figure does not constitute a limitation of the device, and may comprise more or less components than those shown in the figure, or may combine some components, or may arrange different components.
In one embodiment, as shown in fig. 5, there is provided a commissioning apparatus 500 of an elevator, comprising: a debugging instruction receiving module 502, a data backup sending module 504 and a backup data sending module 506, wherein:
the debugging instruction receiving module 502 is used for receiving a first debugging instruction which is sent by the NFC card reader and aims at the elevator; the first debugging instruction is a debugging instruction acquired by the NFC card reader from the elevator controller;
the data backup sending module 504 is configured to backup the first debugging data according to the first debugging instruction to obtain first backup data, and send the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a checking error instruction after the first debugging data is checked to be error;
the backup data sending module 506 is used for sending the first backup data to the elevator controller when a verification error instruction is received; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct.
In one embodiment, the elevator debugging device 500 is further configured to sequentially segment the elevator debugging data according to the preset data segment size to obtain a plurality of segmented debugging data; selecting one piece of segmented debugging data from a plurality of pieces of segmented debugging data as first debugging data; receiving a second debugging instruction; the second debugging instruction is a debugging instruction which is output by the elevator controller after the first debugging data or the first backup data of the first debugging data is verified to be correct; according to the second debugging instruction, sending second debugging data to the elevator controller through the NFC card reader; the second debug data is next segmented debug data of the first debug data.
In one embodiment, the first debug data is stored in the destination cache; the debugging device 500 of the elevator is also used for deleting the first debugging data in the target cache area and storing the second debugging data in the target cache area.
In one embodiment, the commissioning device 500 of the elevator is further configured to send a transmission end flag to the elevator controller through the NFC card reader; the transmission end mark is used for indicating the elevator controller to stop outputting debugging instructions.
In one embodiment, the debugging instruction receiving module 502 further includes: the communication instruction acquisition unit is used for acquiring a debugging communication instruction generated by the elevator controller; the communication data sending unit is used for sending debugging communication data to the elevator controller through the NFC card reader according to the debugging communication instruction; the debugging communication data is used for triggering the elevator controller to control the NFC card reader to enter a debugging communication mode after the elevator controller verifies that the debugging communication data is correct, so as to establish debugging communication connection with the debugging terminal; the debug communication mode is a communication mode in which debug instructions and debug data are transmitted.
In one embodiment, the communication instruction acquisition unit is further configured to send a terminal identifier of the debugging terminal to the elevator controller through the NFC card reader; the terminal identifier is used for triggering the elevator controller to generate a debugging communication command; and receiving a debugging communication instruction through the NFC card reader.
In one embodiment, the debugging communication data is further used for triggering the elevator controller to control the NFC card reader to enter a terminal card reading mode after the elevator controller verifies that the debugging communication data is faulty, so as to establish debugging communication connection with other debugging terminals within the identification range of the NFC card reader.
It should be noted that the debugging device of the elevator of the present invention corresponds to the debugging method of the elevator of the present invention one to one, and the technical features and the advantageous effects thereof described in the above embodiment of the debugging method of the elevator are all applicable to the embodiment of the debugging device of the elevator, and specific contents can be referred to the description in the embodiment of the method of the present invention, which is not described herein again, and thus, the present invention is declared.
In addition, in the above-described embodiment of the elevator debugging device, the logical division of the program modules is only an example, and in practical applications, the above-described function allocation may be performed by different program modules according to needs, for example, due to configuration requirements of corresponding hardware or convenience of implementation of software, that is, the internal structure of the elevator debugging device is divided into different program modules to perform all or part of the above-described functions.
In one embodiment, a computer device is provided, which may be a debugging terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer equipment is used for communicating with an external debugging terminal through network connection. The computer program is executed by a processor to implement a method of debugging an elevator. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the respective method embodiment as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium and sold or used as a stand-alone product. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection component (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or (module) elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples are only illustrative of several embodiments of the present invention, but should not be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A method of debugging an elevator, comprising:
receiving a first debugging instruction aiming at the elevator sent by an NFC card reader; the first debugging instruction is a debugging instruction acquired by the NFC card reader from an elevator controller;
according to the first debugging instruction, backing up first debugging data to obtain first backup data, and sending the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a verification error instruction after the elevator controller verifies that the first debugging data is wrong;
when the checking error instruction is received, the first backup data is sent to the elevator controller; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct;
sending a transmission end mark to the elevator controller through the NFC card reader; the transmission end mark is used for indicating the elevator controller to stop outputting debugging instructions.
2. The method of claim 1, further comprising:
sequentially segmenting the debugging data of the elevator according to the preset data segment size to obtain a plurality of segmented debugging data;
selecting one piece of segmented debugging data from the plurality of pieces of segmented debugging data as the first debugging data;
receiving a second debugging instruction; the second debugging instruction is a debugging instruction which is output by the elevator controller after the first debugging data or the first backup data of the first debugging data is verified to be correct;
according to the second debugging instruction, second debugging data are sent to the elevator controller through the NFC card reader; the second debug data is next segmented debug data of the first debug data.
3. The method of claim 2, wherein the first debug data is stored in a destination cache;
after the step of sending the first debugging data to the elevator controller through the NFC card reader, the method further includes:
and deleting the first debugging data in the target cache region, and storing the second debugging data in the target cache region.
4. The method according to claim 1, characterized in that before the step of receiving the first commissioning instruction for the elevator sent by the NFC reader, further comprising:
acquiring a debugging communication command generated by the elevator controller;
sending debugging communication data to the elevator controller through the NFC card reader according to the debugging communication instruction; the debugging communication data is used for triggering the elevator controller to control the NFC card reader to enter a debugging communication mode after the elevator controller verifies that the debugging communication data is correct, so as to establish debugging communication connection with a home terminal; the debugging communication mode is a communication mode for transmitting debugging instructions and debugging data.
5. The method of claim 4, wherein the step of obtaining the debugging communication command generated by the elevator controller comprises:
sending a terminal identifier of a home terminal to the elevator controller through the NFC card reader; the terminal identifier is used for triggering the elevator controller to generate a debugging communication instruction;
and receiving the debugging communication instruction through the NFC card reader.
6. The method according to claim 4, wherein the debugging communication data is further used for triggering the elevator controller to control the NFC reader to enter a terminal card reading mode after the elevator controller verifies that the debugging communication data is in error so as to establish debugging communication connection with other debugging terminals within the identification range of the NFC reader.
7. A debugging device of an elevator, comprising:
the debugging instruction receiving module is used for receiving a first debugging instruction which is sent by the NFC card reader and aims at the elevator; the first debugging instruction is a debugging instruction acquired by the NFC card reader from an elevator controller;
the data backup sending module is used for backing up first debugging data according to the first debugging instruction to obtain first backup data, and sending the first debugging data to the elevator controller through the NFC card reader; the first debugging data is used for triggering the elevator controller to send out a verification error instruction after the elevator controller verifies that the first debugging data is wrong;
the backup data sending module is used for sending the first backup data to the elevator controller when the checking error instruction is received; the first backup data is used for triggering the elevator controller to debug the elevator according to the first backup data after the first backup data is verified to be correct;
the debugging instruction ending module is used for sending a transmission ending mark to the elevator controller through the NFC card reader; the transmission end mark is used for indicating the elevator controller to stop outputting debugging instructions.
8. A debug terminal comprising a memory and a processor, said memory storing a computer program, wherein the steps of the method according to any of claims 1 to 6 are implemented when said processor executes said computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201911271138.4A 2019-12-12 2019-12-12 Debugging method and device of elevator, debugging terminal and storage medium Active CN111115398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911271138.4A CN111115398B (en) 2019-12-12 2019-12-12 Debugging method and device of elevator, debugging terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911271138.4A CN111115398B (en) 2019-12-12 2019-12-12 Debugging method and device of elevator, debugging terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111115398A CN111115398A (en) 2020-05-08
CN111115398B true CN111115398B (en) 2022-03-22

Family

ID=70499553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911271138.4A Active CN111115398B (en) 2019-12-12 2019-12-12 Debugging method and device of elevator, debugging terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111115398B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112265879B (en) * 2020-10-16 2022-05-27 苏州汇川技术有限公司 Elevator control system, debugging method thereof, debugging equipment and readable storage medium
CN114955760A (en) * 2021-04-20 2022-08-30 博安电梯有限公司 Non-contact elevator debugging method and device, electronic equipment and storage medium
CN113613225A (en) * 2021-07-29 2021-11-05 珠海格力电器股份有限公司 Debugging method, debugging device, electronic equipment and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2815987Y (en) * 2005-08-11 2006-09-13 天津市英克瑞电子技术有限公司 Held lift adjustament device with paramenter copying function
CN102969027A (en) * 2012-11-28 2013-03-13 中国人民解放军国防科学技术大学 On-chip memory debugging method and device based on memory built-in self-test
CN103241605A (en) * 2013-05-09 2013-08-14 日立电梯(中国)有限公司 Elevator starting compensation control method
CN204823537U (en) * 2015-06-03 2015-12-02 沈阳市蓝光自动化技术有限公司 Elevator debug system based on wi -Fi communication and smart mobile phone
CN105184337A (en) * 2015-08-25 2015-12-23 大唐微电子技术有限公司 Intelligent card application detection method and system for NFC equipment
CN106586734A (en) * 2017-01-20 2017-04-26 无锡英威腾电梯控制技术有限公司 Elevator remote debugging method, application terminal and debugging system
CN107463475A (en) * 2016-06-06 2017-12-12 深圳市中兴微电子技术有限公司 A kind of method of chip and acquisition chip tune-up data
CN108910642A (en) * 2018-07-24 2018-11-30 日立楼宇技术(广州)有限公司 Elevator debugging information processing method, system, readable storage medium storing program for executing and commissioning device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2851205Y (en) * 2005-07-13 2006-12-27 浙江大学 Elevator monitoring terminal based on embedded processor
WO2010024815A1 (en) * 2008-08-29 2010-03-04 Otis Elevator Company Automated elevator fixture addressing
CN202848789U (en) * 2012-10-17 2013-04-03 林创鲁 Elevator operating state monitoring and warning device
CN106115401B (en) * 2016-08-16 2019-01-15 日立楼宇技术(广州)有限公司 Elevator debugging methods, devices and systems

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2815987Y (en) * 2005-08-11 2006-09-13 天津市英克瑞电子技术有限公司 Held lift adjustament device with paramenter copying function
CN102969027A (en) * 2012-11-28 2013-03-13 中国人民解放军国防科学技术大学 On-chip memory debugging method and device based on memory built-in self-test
CN103241605A (en) * 2013-05-09 2013-08-14 日立电梯(中国)有限公司 Elevator starting compensation control method
CN204823537U (en) * 2015-06-03 2015-12-02 沈阳市蓝光自动化技术有限公司 Elevator debug system based on wi -Fi communication and smart mobile phone
CN105184337A (en) * 2015-08-25 2015-12-23 大唐微电子技术有限公司 Intelligent card application detection method and system for NFC equipment
CN107463475A (en) * 2016-06-06 2017-12-12 深圳市中兴微电子技术有限公司 A kind of method of chip and acquisition chip tune-up data
CN106586734A (en) * 2017-01-20 2017-04-26 无锡英威腾电梯控制技术有限公司 Elevator remote debugging method, application terminal and debugging system
CN108910642A (en) * 2018-07-24 2018-11-30 日立楼宇技术(广州)有限公司 Elevator debugging information processing method, system, readable storage medium storing program for executing and commissioning device

Also Published As

Publication number Publication date
CN111115398A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111115398B (en) Debugging method and device of elevator, debugging terminal and storage medium
CN110134415A (en) A kind of controller and its method for upgrading software and device
US8606943B2 (en) Method for processing application commands from physical channels using a portable electronic device and corresponding device and system
CN106874032B (en) Method and device for upgrading optical module firmware and optical module
US20070253251A1 (en) Ic module and cellular phone
CN102760090B (en) Debugging method and computer system
US9418224B2 (en) Portable electronic device and control method of portable electronic device
CN102541469B (en) Method, equipment and system for protecting data in firmware storage system
CN115314416B (en) Network card state automatic detection method and device, electronic equipment and storage medium
CN114401250A (en) Address allocation method and device
JPWO2020158377A1 (en) Security verification method for electronic control devices and electronic control devices
CN107621943A (en) A kind of FPGA dynamic batch programming system and method
CN108616966B (en) Wireless networking method and device of air conditioning system
US9824246B2 (en) Radio frequency identification tag having input device
CN109933555B (en) External board card management method
US9880538B2 (en) Electronic device and method for loading program code thereof
CN108984319B (en) Method, device, computer equipment and storage medium for solving operation instruction conflict
CN110673988A (en) eMMC debugging method independent of self-contained firmware
KR20150110860A (en) Apparatus and method for firmware updating of vehicle
CN101533373B (en) Data accessing system
CN112929212A (en) Configuration method and device of directional board card and processing equipment
KR100974816B1 (en) System and Method for Building RFID Tag into Electronic Parts and Recording Medium
CN111857785A (en) MCU starting method and device and terminal equipment
US11147177B2 (en) Terminal control substrate which switches connection of a controller between a first module fixed to a base plate and an external connection terminal
JP2013011988A (en) Diagnostic method for ic cards and program codes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant