CN109019217B - Elevator control software field debugging system - Google Patents
Elevator control software field debugging system Download PDFInfo
- Publication number
- CN109019217B CN109019217B CN201811164520.0A CN201811164520A CN109019217B CN 109019217 B CN109019217 B CN 109019217B CN 201811164520 A CN201811164520 A CN 201811164520A CN 109019217 B CN109019217 B CN 109019217B
- Authority
- CN
- China
- Prior art keywords
- control software
- elevator control
- database
- debugging
- memory address
- 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
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B66—HOISTING; LIFTING; HAULING
- B66B—ELEVATORS; ESCALATORS OR MOVING WALKWAYS
- B66B5/00—Applications of checking, fault-correcting, or safety devices in elevators
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B66—HOISTING; LIFTING; HAULING
- B66B—ELEVATORS; ESCALATORS OR MOVING WALKWAYS
- B66B5/00—Applications of checking, fault-correcting, or safety devices in elevators
- B66B5/0006—Monitoring devices or performance analysers
- B66B5/0037—Performance analysers
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B66—HOISTING; LIFTING; HAULING
- B66B—ELEVATORS; ESCALATORS OR MOVING WALKWAYS
- B66B1/00—Control systems of elevators in general
- B66B1/34—Details, e.g. call counting devices, data transmission from car to control system, devices giving information to the control system
- B66B1/3415—Control system configuration and the data transmission or communication within the control system
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B66—HOISTING; LIFTING; HAULING
- B66B—ELEVATORS; ESCALATORS OR MOVING WALKWAYS
- B66B5/00—Applications of checking, fault-correcting, or safety devices in elevators
- B66B5/0006—Monitoring devices or performance analysers
- B66B5/0018—Devices monitoring the operating condition of the elevator system
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Indicating And Signalling Devices For Elevators (AREA)
- Stored Programmes (AREA)
Abstract
An elevator control software field debugging system, comprising: the operation controller executes the operation of the elevator control software, acquires the data of the memory address and sends the data to the upper computer; the upper computer acquires data of the memory address from the running controller, and displays the data, the complete variable name, the innermost component annotation and the address together for debugging and analysis of a user; the operation database stores the oldest version numbers corresponding to different memory addresses respectively; and when the elevator control software version is updated, simultaneously updating the operation database, wherein the oldest version number corresponding to the memory address with the corresponding parameter change is changed into the update version number of the elevator control software version, and the oldest version number corresponding to the memory address with the corresponding parameter unchanged is set to be unchanged.
Description
Technical Field
The invention relates to the field of elevator control, in particular to a field debugging system of elevator control software.
Background
The elevator control software is responsible for collecting and processing signals of all parts of the elevator, and coordinates and controls the work tasks of all parts according to the processing result. Because of the advantages of simple programming, convenient use, short design and debugging period, high reliability and the like, the conventional relay control mode is basically eliminated by the elevator control software at present, and the elevator control software becomes a core system for elevator control.
With the increasing demand of users and the development of elevator technology, the functions of elevator control software become more and more complex, and the workload for developing the elevator control software by directly using assembly language becomes more and more enormous. At present, with the continuous progress of compiling technology, a high-level language such as C language replaces assembly language, and becomes a mainstream development language of elevator control software.
For field debugging of an elevator control system, values in addresses of global or static variables in a program need to be observed to judge whether the program is executed correctly, so that the addresses of the variables to be observed need to be calculated. When observing the value in the address of the inner structure component of the multi-layer nested structure variable in the code written by using the C language, the manual calculation is needed, the process is complex, and the error is easy to occur, so that the debugging efficiency of the elevator control system is reduced.
In the prior art, the invention patent of 200910201843.7 provides a method for solving the above problems, which solves the problem of manually calculating the variable address in the debugging process of the elevator control software by setting a database for storing all global variables and static variables recorded by the elevator control software in a debugging upper computer, selecting a corresponding database according to the version number of an elevator control system, and displaying the complete variable name, the innermost component comment and the data corresponding to the address and the address searched in the database for the user.
However, the 200910201843.7 invention has the technical problems that on one hand, the elevator control software updates versions frequently in the debugging process, and the database corresponding to the elevator control software of each version needs to be stored in the upper computer, so that the storage capacity is large; on the other hand, the version of the database in the upper computer needs to be matched with the version of the elevator control software, and because the updating frequency of the database of the upper computer is not always consistent with the upgrading frequency of the elevator control software, the database corresponding to the version of the elevator control software may not exist, and when the database corresponding to the version of the elevator control software does not exist, manual calculation is still needed, and automatic debugging of the elevator control software cannot be performed.
The invention 200910201843.7 is an improvement, the whole of which is cited here, and the invention provides a field debugging system of elevator control software, which only needs to store a database of one version in an upper computer, and can automatically debug the elevator control software even if the database corresponding to the elevator control software version does not exist in the upper computer.
Disclosure of Invention
As one aspect of the present invention, there is provided a control software field debugging system including: the operation controller executes the operation of the elevator control software, and simultaneously acquires the data of the memory address according to the received instruction of the upper computer for acquiring the memory address data and sends the data to the upper computer; the upper computer acquires data of the memory address from the running controller, and displays the data, the complete variable name, the innermost component annotation and the address together for debugging and analysis of a user; the upper computer matches in the records in the debugging database of the latest version according to the character string or address input by the user, determines the only record in the debugging database, and sends the instruction for acquiring the corresponding memory address data to the running controller; the system also comprises an operation database which stores the oldest version numbers corresponding to different memory addresses respectively; the operation controller sends the data of the memory address and the oldest version number corresponding to the memory address to the upper computer; and the upper computer is matched with the oldest version number and the version number of the latest version of the debugging database, determines whether to acquire the data of the memory address from the running controller, and displays the data, the complete variable name, the innermost component comment and the address together for debugging and analysis of a user.
Preferably, the upper computer judges whether the version number of the latest version of the debugging database is newer than the oldest version number, and if the version number of the latest version of the debugging database is newer than the oldest version number, the upper computer acquires data of a memory address from the operation controller, and displays the data, a complete variable name, an innermost component comment and an address together for debugging and analysis of a user; and if the oldest version number is newer than the version number of the latest version of the debugging database, giving a prompt that the debugging database does not have the information of the oldest version number of the memory address.
Preferably, the debugging database is stored in a storage medium of the upper computer.
Preferably, the debug database includes only the most recent version of the debug database of the input.
Preferably, the operation database and the elevator control software are arranged in a storage medium located in the elevator.
Preferably, when the elevator control software version is updated, the operation database is updated at the same time, wherein the oldest version number corresponding to the memory address with the corresponding parameter change is changed into the updated version number of the elevator control software version, and the oldest version number corresponding to the memory address with the corresponding parameter unchanged is set to be unchanged.
Preferably, the debugging database is generated by software, and the software develops all global variables and static variables in an identifier-address mapping table MAP file generated when the elevator control software is compiled into innermost layer components by combining with elevator control software source codes, and generates records one by one to be stored in a database file; each version of elevator control software has a database file named with the corresponding version number issued with it.
Preferably, the version number of the elevator control software comprises a plurality of number sections, and each number section is set from old to new in ascending order of the version number.
Preferably, the elevator control software is written in a high-level language.
Preferably, the high-level language is a C language or a VB language.
As one aspect of the present invention, there is provided a control software field debugging method for performing field debugging by the above control software field debugging system.
Drawings
FIG. 1 is a system framework diagram of an embodiment of the present invention.
Fig. 2 is a flowchart of a procedure of an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the present invention, the present invention will be briefly described below by using embodiments, and it is obvious that the following description is only one embodiment of the present invention, and for those skilled in the art, other technical solutions can be obtained according to the embodiments without inventive labor, and also fall within the disclosure of the present invention.
The field debugging system of the elevator control software of the embodiment of the invention, which is shown in figure 1, comprises an operation controller and an upper computer. The operation controller is arranged in the elevator, operates elevator control software, and monitors, controls and protects the normal operation of the elevator. The upper computer is used for elevator debugging, is not fixed on a specific elevator, is connected with the operation controller through the communication module during elevator debugging, sends an instruction for acquiring data in the memory address, and provides the acquired data for a user to analyze and use.
The upper computer has a corresponding commissioning database, which is generated by software as in the prior art of 201010169232.1, storing all global and static variables in a MAP (identifier-address mapping table) file generated at the compilation time of the elevator control software, all expanded to the innermost component in conjunction with the elevator control software source code, and generating records one by one.
The debugging database has a version number of corresponding elevator control software, and the version number is stored in a storage medium of the upper computer. The version number comprises a plurality of digital sections which sequentially represent version upgrading of different levels from front to back. The software version number may be in three fields, e.g., 1.3.2, where the first bit represents a release of a large version modification, the second bit represents a release of a medium version modification, and the third bit represents a change of a small version. The number sections are set in ascending order from old to new, for example, version 1.3.3 is newer than version 1.3.2, and version 2.1.0 is newer than version 1.3.3.
And only saving the debugging database of the latest version of the input for the debugging database of the input upper computer. For example, the version number of the elevator control software corresponding to the debugging database corresponding to the original upper computer is 1.3.2, and after the debugging database corresponding to the elevator control software version of 1.3.3 is input, the debugging database corresponding to the elevator control software version of 1.3.2 is deleted, and only the debugging database corresponding to the elevator control software version of 1.3.3 is used.
The operation database and the elevator control software are arranged in a storage medium in the elevator and store the oldest version numbers corresponding to different memory addresses respectively. And when the elevator control software version is updated, simultaneously updating the operation database, wherein the oldest version number corresponding to the memory address with the corresponding parameter change is changed into the update version number of the elevator control software version, and the oldest version number corresponding to the memory address with the corresponding parameter unchanged is set to be unchanged. For example, when the version number of the elevator control software is 1.3.2, the oldest version number of the a.a.aa is 1.3.2, and the oldest version number of the b.b.bb is 1.3.2, when the elevator control software is upgraded to 1.3.3, the a.a.aa part in the code is not modified, and the corresponding parameter of the b.b.bb is modified, when the version of the elevator control software is upgraded to 1.3.3, the oldest version number of the a.a.aa in the running database is kept unchanged at 1.3.2, and the oldest version number of the b.b.bb is modified to 1.3.3.
After receiving an instruction of acquiring memory data by an upper computer, the running controller sends the data of the memory address and the oldest version number corresponding to the memory address to the upper computer; and the upper computer matches the oldest version number and the version number of the latest version of the debugging database, determines whether to acquire the data of the memory address from the running controller, and displays the data, the complete variable name, the innermost component comment and the address together for debugging and analysis of a user.
Referring to fig. 2, the upper computer is moved to the elevator and connected to the operation controller through the communication module, so that the connection with the operation controller is established. The method comprises the steps that a user inputs a character string or an address, an upper computer matches in records in a debugging database of the latest version, the only record in the debugging database is determined, and if a plurality of records exist, the user makes the only record; if no unique record exists, a prompt for an input error is given.
The upper computer sends the instruction for acquiring the memory address data corresponding to the record to the running controller, the running controller acquires the data of the memory address after receiving the instruction, simultaneously acquires the oldest version number of the memory address through the running database, and sends the data of the memory address and the oldest version number corresponding to the memory address to the upper computer.
And after acquiring the data of the memory address sent by the running controller and the oldest version number corresponding to the memory address, the upper computer judges whether the version number of the debugging database is newer than the oldest version number of the memory address. The number of the first version number is compared with the number of the second version number in sequence from front to back, and when the number of the previous digits of the first version number is larger than that of the previous digits of the second version number, the first version number is judged to be newer than the second version number.
If the version number of the debugging database is newer than the oldest version number corresponding to the memory address, acquiring data of the memory address from the running controller, and displaying the data, the complete variable name, the innermost component comment and the address together for debugging and analysis of a user; and if the oldest version number corresponding to the memory address is newer than the version number of the debugging database, giving a prompt that the debugging database does not have the information of the oldest version number of the memory address.
Through the setting of the invention, on one hand, only a unique debugging database of the latest version number input is required to be stored in the upper computer, and a database of all version numbers is not required to be stored; on the other hand, even if the version number of the debugging database in the upper computer is inconsistent with the version number of the elevator running software, the information corresponding to the correct memory address can be obtained, so that the trouble of manual calculation is reduced.
All documents referred to herein are incorporated by reference into this application as if each were individually incorporated by reference. Furthermore, it should be understood that after reading the above disclosure of the present invention, the scope of the present invention is not limited to the above embodiments, and those skilled in the art can make various changes or modifications to the present invention without departing from the principle of the present invention, and these equivalents also fall within the scope of the present invention as defined by the appended claims.
Claims (4)
1. An elevator control software field debugging system, comprising:
the operation controller executes the operation of the elevator control software, and simultaneously acquires the data of the memory address according to the received instruction of the upper computer for acquiring the memory address data and sends the data to the upper computer;
the upper computer acquires data of the memory address from the running controller, and displays the data, the complete variable name, the innermost component annotation and the address together for debugging and analysis of a user; the method is characterized in that: the upper computer matches in the records in the debugging database of the latest version according to the character string or address input by the user, determines the only record in the debugging database, and sends the instruction for acquiring the corresponding memory address data to the running controller; the system also comprises an operation database which stores the oldest version numbers corresponding to different memory addresses respectively; the operation controller sends the data of the memory address and the oldest version number corresponding to the memory address to the upper computer; the upper computer matches the oldest version number and the version number of the latest version of the debugging database, determines whether data of a memory address is acquired from the running controller, and displays the data, a complete variable name, an innermost component comment and an address together for debugging and analysis of a user; the operation database and the elevator control software are arranged in a storage medium in the elevator; and when the elevator control software version is updated, simultaneously updating the operation database, wherein the oldest version number corresponding to the memory address with the corresponding parameter change is changed into the update version number of the elevator control software version, and the oldest version number corresponding to the memory address with the corresponding parameter unchanged is set to be unchanged.
2. The elevator control software field debugging system of claim 1, wherein: and the upper computer matches in the records in the latest version of the debugging database according to the character string or address input by the user, determines the only record in the debugging database, and sends the instruction for acquiring the corresponding memory address data to the running controller.
3. The elevator control software field debugging system of claim 2, wherein: the debugging database is stored in a storage medium of the upper computer.
4. The elevator control software field debugging system of claim 3, wherein: the debug database includes only the most recent version of the debug database of the input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811164520.0A CN109019217B (en) | 2017-10-28 | 2017-10-28 | Elevator control software field debugging system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711030633.7A CN107758461B (en) | 2017-10-28 | 2017-10-28 | A kind of control software field debugging system |
CN201811164520.0A CN109019217B (en) | 2017-10-28 | 2017-10-28 | Elevator control software field debugging system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711030633.7A Division CN107758461B (en) | 2017-10-28 | 2017-10-28 | A kind of control software field debugging system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109019217A CN109019217A (en) | 2018-12-18 |
CN109019217B true CN109019217B (en) | 2020-09-18 |
Family
ID=61270304
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711030633.7A Active CN107758461B (en) | 2017-10-28 | 2017-10-28 | A kind of control software field debugging system |
CN201811164520.0A Active CN109019217B (en) | 2017-10-28 | 2017-10-28 | Elevator control software field debugging system |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711030633.7A Active CN107758461B (en) | 2017-10-28 | 2017-10-28 | A kind of control software field debugging system |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107758461B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114118325A (en) * | 2021-11-29 | 2022-03-01 | 康力电梯股份有限公司 | Method for associating debugging table of escalator control cabinet with SAP production data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174204A (en) * | 2006-10-31 | 2008-05-07 | 中兴通讯股份有限公司 | Device for upgrading data version |
CN102070054A (en) * | 2009-11-19 | 2011-05-25 | 上海三菱电梯有限公司 | Automatic testing system of elevator running control software |
CN102234046A (en) * | 2010-05-07 | 2011-11-09 | 上海三菱电梯有限公司 | Lift control software field debugging system |
WO2014075591A1 (en) * | 2012-11-16 | 2014-05-22 | 杭州海康威视数字技术股份有限公司 | Method and system for upgrading digital video recorder |
CN103955205A (en) * | 2014-04-16 | 2014-07-30 | 苏州汇川技术有限公司 | Remote debugging system and method of elevator controller |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107301051A (en) * | 2017-06-27 | 2017-10-27 | 深圳市金立通信设备有限公司 | The caching of terminal dynamic data and exchange method, terminal, system and computer-readable recording medium |
CN107301054B (en) * | 2017-07-14 | 2021-02-23 | 杭州敦崇科技股份有限公司 | Software updating method based on ad hoc network |
-
2017
- 2017-10-28 CN CN201711030633.7A patent/CN107758461B/en active Active
- 2017-10-28 CN CN201811164520.0A patent/CN109019217B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174204A (en) * | 2006-10-31 | 2008-05-07 | 中兴通讯股份有限公司 | Device for upgrading data version |
CN102070054A (en) * | 2009-11-19 | 2011-05-25 | 上海三菱电梯有限公司 | Automatic testing system of elevator running control software |
CN102234046A (en) * | 2010-05-07 | 2011-11-09 | 上海三菱电梯有限公司 | Lift control software field debugging system |
WO2014075591A1 (en) * | 2012-11-16 | 2014-05-22 | 杭州海康威视数字技术股份有限公司 | Method and system for upgrading digital video recorder |
CN103955205A (en) * | 2014-04-16 | 2014-07-30 | 苏州汇川技术有限公司 | Remote debugging system and method of elevator controller |
Also Published As
Publication number | Publication date |
---|---|
CN107758461B (en) | 2019-04-19 |
CN109019217A (en) | 2018-12-18 |
CN107758461A (en) | 2018-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8065204B2 (en) | System and method for software integration and factory deployment | |
US5361357A (en) | Method and apparatus for optimizing computer file compilation | |
CN112270149B (en) | Verification platform automatic integration method and system, electronic equipment and storage medium | |
US9021440B1 (en) | System and method for automated test script generation | |
US7107182B2 (en) | Program and process for generating data used in software function test | |
US20060041864A1 (en) | Error estimation and tracking tool for testing of code | |
CN111796831B (en) | Compiling method and device for multi-chip compatibility | |
CN108762743B (en) | Data table operation code generation method and device | |
US20060015856A1 (en) | Modification method for modifying a source code | |
EP2557499A1 (en) | A system and method for automatic impact variable analysis and field expansion in mainframe systems | |
US20070006157A1 (en) | Software development tool program | |
CN107902507B (en) | Control software field debugging system and debugging method | |
US10678864B2 (en) | Analysis model preparing system, programming apparatus, and analysis model preparing method | |
CN109019217B (en) | Elevator control software field debugging system | |
JP2006285707A (en) | Business specification creation support system and method | |
US8739146B2 (en) | Systems and methods for generating and distributing executable procedures for technical desk-side support | |
US9396239B2 (en) | Compiling method, storage medium and compiling apparatus | |
JP2007226685A (en) | Application maintenance support device, application generation device, application maintenance support method and computer program | |
JP2009169628A (en) | Construction device, construction method and program for monitoring control system | |
JP4925514B2 (en) | Program execution control method, program, execution control apparatus, and recording medium by internal / external event driven system | |
US8631393B2 (en) | Custom database system and method of building and operating the same | |
JP6902513B2 (en) | Source code generation support device and source code generation support method | |
JP2002014847A (en) | Device for checking program and method for the same and recording medium with checking program stored | |
JP2016181228A (en) | Source code operation apparatus and source code operation method | |
WO2012066635A1 (en) | Test method, test device, and test execution program |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200819 Address after: 343100 West District of Industrial Park, Ji'an County, Ji'an City, Jiangxi Province (within Dafeng Industrial Co., Ltd.) Applicant after: Ji'an Grade Environmental Protection Technology Co., Ltd Address before: 355003 Zhongxing Street, Fu'an City, Ningde, Fujian Province, No. 23 Applicant before: Lin Guangqin |
|
GR01 | Patent grant | ||
GR01 | Patent grant |