CN107758461A - A kind of control software field debugging system - Google Patents
A kind of control software field debugging system Download PDFInfo
- Publication number
- CN107758461A CN107758461A CN201711030633.7A CN201711030633A CN107758461A CN 107758461 A CN107758461 A CN 107758461A CN 201711030633 A CN201711030633 A CN 201711030633A CN 107758461 A CN107758461 A CN 107758461A
- Authority
- CN
- China
- Prior art keywords
- data
- version number
- control software
- memory address
- host computer
- 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.)
- Granted
Links
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
- 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
- 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
- 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
A kind of control software field debugging system, including:Operation controller, the instruction of the acquisition memory address data of host computer is received, the data of memory address is obtained and is sent to host computer;Host computer, it obtains the data of memory address from operation controller, is used for user's Commissioning Analysis;Runtime database, it stores oldest version number corresponding to different memory address difference;Oldest version number corresponding to the data of memory address and the memory address is sent to host computer by operation controller;Host computer matches the version number in the tune-up data storehouse of the oldest version number and latest edition, determine whether that the data of memory address will be obtained in operation controller, the data and complete variable name, innermost layer component annotation and address are shown together, used for user's Commissioning Analysis.
Description
Technical field
The present invention relates to field of elevator control, more particularly, to a kind of field debugging system of lift control software.
Background technology
Lift control software is responsible for the collection of elevator components signal, processing, and is coordinated according to result, controlled respectively
The task of component working.Because programming is simple, easy to use, design and debugging cycle are shorter, high reliability is electric at present
Terraced control software and traditional relay control mode has been eliminated substantially, turn into the core system of elevator controlling.
With user's request be continuously increased and the development of elevator technology, lift control software function become more and more multiple
Miscellaneous, the workload of lift control software exploitation is directly carried out using assembler language also becomes more and more huger.At present, with compiling
The continuous progress of technology so that high-level language instead of assembler language such as C language, and the main flow for turning into lift control software is opened
Send out language.
Field adjustable for apparatus for controlling elevator is, it is necessary to value in procedures of observation in global or static variable address
Whether correct carry out determining program execution, it is therefore desirable to calculate the address of variable to be seen.In observation code is write using C language
In multilayer nest structure variable endothecium structure body component address in value when, it is necessary to be manually computed, process
It is complicated and easily malfunction, cause the debugging efficiency of apparatus for controlling elevator to reduce.
In the prior art, 200910201843.7 patent of invention proposes a kind of solution to the problems described above, and it is logical
The database for setting storage to be recorded by all global variables of lift control software and static variable in host computer is debugged is crossed, according to
Database corresponding to version number's selection of apparatus for controlling elevator, the complete variable name searched in database, innermost layer component are noted
Release and shown with address together with data corresponding to address and be supplied to user, debugged so as to solve in lift control software
The problem of in journey using manual calculation address of variable.
But following technical problem in 200910201843.7 inventions being also present, one side lift control software was being debugged
More redaction is that very frequently, its needs stores data corresponding to the lift control software of each version in host computer in journey
Storehouse, cause amount of storage larger;On the other hand, it is necessary to by the version of database version in host computer and lift control software carry out
Match somebody with somebody, because the renewal frequency of the database of host computer is not necessarily consistent with the upgrading frequency of lift control software, may cause not
In the presence of database corresponding with lift control software version, and when database corresponding with lift control software version is not present,
Manual calculations are then still needed, the automatic debugging of lift control software can not be carried out.
As the improvement of 200910201843.7 inventions, it is cited in full text in this, the present invention proposes a kind of elevator control
The field debugging system of software processed, it only needs the database that a version is stored in host computer, while even if in host computer
In the absence of database corresponding with lift control software version, it is also possible to carry out the automatic debugging of lift control software.
The content of the invention
As one aspect of the present invention, there is provided control software field debugging system, including:Operation controller, it is performed
The operation of lift control software, while the instruction of the acquisition memory address data according to the host computer received, with obtaining internal memory
The data of location and it is sent to host computer;Host computer, it obtains the data of memory address from the operation controller, this is counted
According to this and complete variable name, innermost layer component annotation and address are shown together, are used for user's Commissioning Analysis;It is described upper
Machine is matched according in record in the tune-up data storehouse of latest edition of user inputs character string or address, it is determined that debugging number
According to unique record in storehouse, the instruction for obtaining corresponding memory address data is sent to operation controller;Also include service data
Storehouse, it stores oldest version number corresponding to different memory address difference;For the operation controller by the data of memory address, this is interior
Oldest version number corresponding to address is deposited, is sent to host computer;The host computer matches the oldest version number and latest edition
Tune-up data storehouse version number, it is determined whether the data of memory address will be obtained in operation controller, by the data and complete
Integer variable name, innermost layer component annotation and address are shown together, are used for user's Commissioning Analysis.
Preferably, whether the host computer judges the version number in the tune-up data storehouse of the latest edition than the oldest version
This number new, if the version number in the tune-up data storehouse of the latest edition is newer than the oldest version number, by operation controller
The middle data for obtaining memory address, the data and complete variable name, innermost layer component annotation and address are shown together,
Used for user's Commissioning Analysis;If the oldest version number is newer than the version number in the tune-up data storehouse of the latest edition,
Providing does not have the prompting of oldest version number information described in the memory address in tune-up data storehouse.
Preferably, the tune-up data stock is stored in the storage medium of host computer.
Preferably, the tune-up data storehouse only includes the tune-up data storehouse of the latest edition of input.
Preferably, the runtime database is arranged in the storage medium in elevator with lift control software.
Preferably, when updating lift control software version, while runtime database is updated, wherein corresponding parameter is become
Oldest version number corresponding to the memory address of change is changed to the more new version number of lift control software version, by corresponding parameter not
Oldest version number is arranged to constant corresponding to the memory address of change.
Preferably, the tune-up data storehouse is generated by Software Create when the software is by the way that lift control software is compiled
Identifier-address mapping table MAP files in all global variables and static variable, with reference to lift control software source code,
Innermost layer component is all deployed into, and generates record storage one by one in database file;Each version elevator controlling is soft
Part has a database file with corresponding version number's name to issue together therewith.
Preferably, the version number of the lift control software includes multiple digital sections, and each digital section is by version number by old
Set to new ascending order.
Preferably, the lift control software is by high level language.
Preferably, the high-level language is C language or VB language.
As one aspect of the present invention, there is provided a kind of control software field adjustable method, it passes through above-mentioned control software
Field debugging system carries out field adjustable.
Brief description of the drawings
Fig. 1 is the system framework figure of the embodiment of the present invention.
Fig. 2 is the program flow diagram of the embodiment of the present invention.
Embodiment
In order to illustrate more clearly of technical scheme, embodiment will be used simply to be situated between the present invention below
Continue, it should be apparent that, in describing below is only one embodiment of the present of invention, is come for those of ordinary skill in the art
Say, without having to pay creative labor, other technical schemes can also be obtained according to these embodiments, fallen within
Disclosure of the invention scope.
The field debugging system of the lift control software of the embodiment of the present invention, referring to Fig. 1, including operation controller and on
Position machine.Wherein operation controller is arranged in elevator, runs lift control software, the normal fortune of monitoring, control and protection elevator
OK.Host computer is used for elevator debugging, and it is not secured to certain elevator, and operation control is connected by communication module in elevator debugging
Device, the instruction for obtaining data in memory address is sent, is supplied to customer analysis to use the data got.
Host computer has corresponding tune-up data storehouse, as 201010169232.1 in the prior art, tune-up data
By Software Create, it is stored in MAP (identifier-address mapping table) file generated during lift control software compiling in storehouse
All global and static variables, with reference to lift control software source code, all it is deployed into innermost layer component, and generation note one by one
Record.
Tune-up data storehouse has the version number of corresponding lift control software, and it is stored in the storage medium of host computer.
Version number includes multiple digital sections, and digital section represents the edition upgrading of different stage successively from front to back.Software version number can be with
It is three digital sections, such as 1.3.2, wherein first is represent the issue of big version modification, second represents that medium version is repaiied
The issue changed, the 3rd change for representing small version.Each digital section is set by version number by old to new ascending order, such as 1.3.3
Version is newer than 1.3.2 version, and 2.1.0 versions are newer than 1.3.3 version.
For the tune-up data storehouse of the host computer of input, the tune-up data storehouse of the latest edition of input is only preserved.It is for example, former
The version number for carrying out lift control software corresponding to tune-up data storehouse corresponding to host computer is 1.3.2, in the corresponding elevator controlling of input
After software version is 1.3.3 tune-up data storehouse, then the tune-up data storehouse that corresponding lift control software version is 1.3.2 is deleted,
Only correspond to the tune-up data storehouse that lift control software version is 1.3.3.
Runtime database is arranged in the storage medium in elevator with lift control software, and it is with storing different internal memories
Oldest version number corresponding to the difference of location.When updating lift control software version, while runtime database is updated, wherein will be corresponding
Parameters variation memory address corresponding to oldest version number be changed to the more new version number of lift control software version, will be corresponding
Parameter constant memory address corresponding to oldest version number be arranged to constant.For example, lift control software version number is 1.3.2
When, A.a.aa oldest version number is 1.3.2, and B.b.bb oldest version number is 1.3.2, is upgraded in lift control software
When 1.3.3, A.a.aa is not changed part in its code, and parameter is modified corresponding to B.b.bb, then in upgrading elevator controlling
When software version is to 1.3.3, the oldest version number of the A.a.aa in runtime database remains to 1.3.2 is constant, B.b.bb's
Oldest version number modification is 1.3.3.
After operation controller receives the instruction that host computer obtains internal storage data, by the data of memory address and the internal memory
Oldest version number, is sent to host computer corresponding to address;Host computer matches the tune-up data of oldest version number and latest edition
The version number in storehouse, it is determined whether the data of memory address will be obtained in operation controller, by the data and complete variable name, most
Internal layer component is annotated and address is shown together, is used for user's Commissioning Analysis.
The field adjustable flow of lift control software, referring to Fig. 2, host computer is moved to elevator, connected by communication module
Operation controller is connect, is connected so as to be established with operation controller.User inputs character string or address, host computer is in latest edition
Matched in record in tune-up data storehouse, determine unique record in tune-up data storehouse, if there is multiple records, then by
User formulates unique record;If there is no unique record, then the prompting of input error is provided.
Host computer is sent to operation controller in the instruction that will obtain the corresponding memory address data of record, and operation controller connects
After receiving instruction, the data of the memory address are obtained, while the oldest version number of the memory address is obtained by runtime database,
By oldest version number corresponding to the data of memory address and the memory address, host computer is sent to.
Oldest version corresponding to the data for the memory address that host computer acquisition operation controller is sent and the memory address
After number, judge whether the version number in tune-up data storehouse is newer than the oldest version number of the memory address.The position of version number can be passed through
Number is compared successively from front to back, when the number in preceding digit of first version number is more than the number of the first digit of the second edition number
When, then judge that the first version number is newer than the second edition number.
If the version number in tune-up data storehouse is newer than oldest version number corresponding to memory address, will be obtained in operation controller
The data of memory address are taken, the data and complete variable name, innermost layer component annotation and address are shown together, for
Family Commissioning Analysis uses;If oldest version number is newer than the version number in tune-up data storehouse corresponding to memory address, debugging is provided
There is no the prompting of the oldest version number information of the memory address in database.
By the setting of the present invention, on the one hand only need to store the latest edition number debugging uniquely inputted in host computer
Database, the database without storing all version numbers;On the other hand, even if the version in the tune-up data storehouse in host computer
It is number inconsistent with the version number of elevator runs software, it is also possible to information corresponding to correct memory address to be got, so as to reduce
Need the trouble of manual calculations.
In all documents for referring to of the present invention all incorporated by reference in this application, it is individually recited just as each document
As with reference to such.In addition, it is to be understood that after the above disclosure of the present invention has been read, protection scope of the present invention is not
Above-described embodiment is limited only to, those skilled in the art can make various changes or modifications to the present invention, not depart from the present invention
Under the premise of principle, these equivalent form of values equally fall within the application appended claims limited range.
Claims (6)
1. a kind of control software field debugging system, including:
Operation controller, it performs the operation of lift control software, while according to the acquisition memory address of the host computer received
The instruction of data, obtain the data of memory address and be sent to host computer;
Host computer, it obtains the data of memory address from the operation controller, by the data and complete variable name, most interior
Layer component annotation and address are shown together, are used for user's Commissioning Analysis;It is characterized in that:The host computer is according to user
Input in the record of character string or address in the tune-up data storehouse of latest edition and matched, determined in tune-up data storehouse only
One record, the instruction for obtaining corresponding memory address data is sent to operation controller;Also include runtime database, it is stored not
With oldest version number corresponding to memory address difference;The operation controller is by the data of memory address and the memory address pair
The oldest version number answered, is sent to host computer;The host computer matches the debugging number of the oldest version number and latest edition
According to the version number in storehouse, it is determined whether the data of memory address will be obtained in operation controller, by the data and complete variable name,
Innermost layer component is annotated and address is shown together, is used for user's Commissioning Analysis.
2. control software field debugging system according to claim 1, it is characterised in that:Described in the host computer judgement most
Whether the version number in the tune-up data storehouse of redaction is newer than the oldest version number, if the tune-up data storehouse of the latest edition
Version number it is newer than the oldest version number, then the data of memory address will be obtained in operation controller, by the data and complete
Integer variable name, innermost layer component annotation and address are shown together, are used for user's Commissioning Analysis;If the oldest version
Number newer than the version number in the tune-up data storehouse of the latest edition, then provide does not have described in the memory address most in tune-up data storehouse
The prompting of early version information.
3. control software field debugging system according to claim 2, it is characterised in that:The tune-up data storehouse is by software
Generate, it is all complete in the identifier generated when the software is by the way that lift control software is compiled-address mapping table MAP files
Office's variable and static variable, with reference to lift control software source code, all it is deployed into innermost layer component, and generation record one by one
It is stored in database file;Each version lift control software has a database with corresponding version number's name
File is issued together therewith.
4. control software debugging system according to claim 3, it is characterised in that:The version number of the lift control software
Including multiple digital sections, each digital section is set by version number by old to new ascending order.
5. the control software debugging system according to claim 3-4, it is characterised in that:The lift control software is by height
Level language is write.
6. the control software field debugging system according to claim 4-5, it is characterised in that:The high-level language is C languages
Speech.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811164520.0A CN109019217B (en) | 2017-10-28 | 2017-10-28 | Elevator control software field debugging system |
CN201711030633.7A CN107758461B (en) | 2017-10-28 | 2017-10-28 | A kind of control software field debugging system |
Applications Claiming Priority (1)
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 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811164520.0A Division CN109019217B (en) | 2017-10-28 | 2017-10-28 | Elevator control software field debugging system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107758461A true CN107758461A (en) | 2018-03-06 |
CN107758461B CN107758461B (en) | 2019-04-19 |
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 After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811164520.0A Active CN109019217B (en) | 2017-10-28 | 2017-10-28 | Elevator 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 |
---|---|---|---|---|
CN114118325B (en) * | 2021-11-29 | 2024-07-19 | 康力电梯股份有限公司 | Method for associating debugging table of escalator control cabinet with SAP production data |
Citations (7)
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 |
CN103955205A (en) * | 2014-04-16 | 2014-07-30 | 苏州汇川技术有限公司 | Remote debugging system and method of elevator controller |
EP2921953A1 (en) * | 2012-11-16 | 2015-09-23 | Hangzhou Hikvision Digital Technology Co., Ltd. | Method and system for upgrading digital video recorder |
CN107301051A (en) * | 2017-06-27 | 2017-10-27 | 深圳市金立通信设备有限公司 | The caching of terminal dynamic data and exchange method, terminal, system and computer-readable recording medium |
CN107301054A (en) * | 2017-07-14 | 2017-10-27 | 杭州敦崇科技股份有限公司 | A kind of Oftware updating method based on MANET |
-
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 (7)
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 |
EP2921953A1 (en) * | 2012-11-16 | 2015-09-23 | Hangzhou Hikvision Digital Technology Co., Ltd. | Method and system for upgrading digital video recorder |
CN103955205A (en) * | 2014-04-16 | 2014-07-30 | 苏州汇川技术有限公司 | Remote debugging system and method of elevator controller |
CN107301051A (en) * | 2017-06-27 | 2017-10-27 | 深圳市金立通信设备有限公司 | The caching of terminal dynamic data and exchange method, terminal, system and computer-readable recording medium |
CN107301054A (en) * | 2017-07-14 | 2017-10-27 | 杭州敦崇科技股份有限公司 | A kind of Oftware updating method based on MANET |
Also Published As
Publication number | Publication date |
---|---|
CN109019217B (en) | 2020-09-18 |
CN107758461B (en) | 2019-04-19 |
CN109019217A (en) | 2018-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109491662A (en) | Code packaging method, computer installation and computer readable storage medium, code packaging system | |
CN102959511B (en) | Gui program is made servicing unit, gui program is made householder method, program and integrated circuit | |
CN107577469A (en) | A kind of Software package method for release management | |
EP0997815A2 (en) | Interactive translation system and method | |
CN103823723B (en) | The touch-screen firmware restorative procedure and device of a kind of mobile terminal | |
CN109446218A (en) | SQL statement generation method, device and computer readable storage medium | |
CN104956302B (en) | Electronic manual display method and electronic manual display device | |
US20030233493A1 (en) | Firmware installation methods and apparatus | |
CN110249274A (en) | The data sharing method of industrial controller and industrial controller | |
CN102234046B (en) | Lift control software field debugging system | |
US20060015856A1 (en) | Modification method for modifying a source code | |
CN110008449B (en) | Form control linkage method, form control linkage device, computer equipment and readable storage medium | |
CN103905231B (en) | To the method and apparatus of device type unified management | |
CN107902507A (en) | Control software field debugging system and adjustment method | |
JPWO2006033159A1 (en) | Business model diagram creation support program, business model diagram creation support method, and business model diagram creation support device | |
CN105737508B (en) | Medical refrigerator specimen discerning method and device | |
CN105868340A (en) | Log storage method and device | |
US11514237B2 (en) | Spreadsheet and method for updating same | |
CN104820676B (en) | A kind of method and device for judging version number's size | |
CN106775778A (en) | Embedded program exploitation Program updates recognition methods and system | |
CN109240936A (en) | Compatibility test method, terminal device and the medium of application program | |
CN107758461A (en) | A kind of control software field debugging system | |
CN110737573B (en) | Method and device for automatically testing user interface UI | |
CN103514148A (en) | Training data editing system and program | |
US5457795A (en) | Method and apparatus for sharing and transferring data between software programs |
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: 20190318 Address after: Room 2, 1st floor, 1412 Lane 15, Nicheng Yunduan Road, Pudong New Area, Shanghai, 200120 Applicant after: Shanghai view security information technology Limited by Share Ltd Address before: 355003 No. 23 Zhongxing Street, Fuan City, Ningde City, Fujian Province Applicant before: Lin Guangqin |
|
GR01 | Patent grant | ||
GR01 | Patent grant |