CN113986606B - Elevator program upgrading method, system, device and storage medium - Google Patents

Elevator program upgrading method, system, device and storage medium Download PDF

Info

Publication number
CN113986606B
CN113986606B CN202111214634.3A CN202111214634A CN113986606B CN 113986606 B CN113986606 B CN 113986606B CN 202111214634 A CN202111214634 A CN 202111214634A CN 113986606 B CN113986606 B CN 113986606B
Authority
CN
China
Prior art keywords
program
elevator
upgrade
upgrading
address area
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
CN202111214634.3A
Other languages
Chinese (zh)
Other versions
CN113986606A (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
Filing date
Publication date
Application filed by Hitachi Building Technology Guangzhou Co Ltd filed Critical Hitachi Building Technology Guangzhou Co Ltd
Priority to CN202111214634.3A priority Critical patent/CN113986606B/en
Publication of CN113986606A publication Critical patent/CN113986606A/en
Application granted granted Critical
Publication of CN113986606B publication Critical patent/CN113986606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application discloses an elevator program upgrading method, an elevator program upgrading system, an elevator program upgrading device and a storage medium, and relates to the technical field of elevator operation and maintenance. The elevator program upgrading method comprises the following steps: loading an upgrade program from a server and acquiring address mark information of an elevator main control; determining a backup address area of the elevator main control according to the address mark information, and writing an upgrading program into the backup address area; determining an execution program address area of the elevator main control according to the address mark information; reading an original program from an execution program address area; generating a backup data packet according to the original program and sending the backup data packet to a server; and if the upgrade program is successfully written into the backup address area, marking the backup address area as an execution program address area, so that the elevator main control executes the upgrade program. According to the elevator program backup method, the original program is automatically backed up while the elevator program is upgraded, so that a manager can conveniently check and trace the program before and after the elevator is upgraded, and the operation complexity of the upgrade and backup programs of the staff is reduced.

Description

Elevator program upgrading method, system, device and storage medium
Technical Field
The invention relates to the technical field of elevator operation and maintenance, in particular to an elevator program upgrading method, an elevator program upgrading system, an elevator program upgrading device and a storage medium.
Background
The elevator is widely applied to buildings such as high-rise buildings, elevator control programs are written in elevator main control, and the operation of the elevator can be controlled through the control programs.
Currently, when an elevator needs to be upgraded, a worker needs to copy an elevator program into a computer, and then carry heavy equipment such as a computer, a program writer, an equipment power supply and the like to perform the program upgrading on site. However, the method for upgrading the elevator program on site has high labor cost, and when a worker operates the elevator, the worker needs to examine and approve and determine the elevator, so that the operation flow is complex.
In the related art, an elevator main control is connected to a server, a terminal of a manager is connected to the server, and the elevator program can be updated through the server.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides an elevator program upgrading method, an elevator program upgrading system, an elevator program upgrading device and a storage medium, which can facilitate a manager to trace program check sum programs before and after elevator upgrading.
In one aspect, an embodiment of the present invention provides an elevator program upgrading method, including the following steps:
loading an upgrade program from a server and acquiring address mark information of an elevator main control;
determining a backup address area of the elevator main control according to the address mark information, and writing the upgrading program into the backup address area of the elevator main control;
determining an execution program address area of the elevator main control according to the address mark information;
reading an original program from an execution program address area of the elevator main control;
generating a backup data packet according to the original program and sending the backup data packet to a server;
and if the upgrade program is successfully written into the backup address area, marking the backup address area as an execution program address area, so that the elevator main control executes the upgrade program.
According to some embodiments of the invention, the elevator program upgrading method further comprises the steps of:
acquiring an upgrade request from a server, wherein the upgrade request comprises attribute information of an upgrade program;
judging whether the upgrading program meets preset requirements according to the attribute information;
when the upgrading program does not meet the preset requirement, returning upgrading refusing information to the server;
and executing the step of loading the upgrade program from the server when the upgrade program meets the preset requirement.
According to some embodiments of the present invention, the attribute information includes an upgrade program version, an upgrade program occupation space, and an upgrade program type, and the determining whether the upgrade program meets a preset requirement according to the attribute information includes the following steps:
Judging whether the version of the upgrading program is consistent with a preset version of the elevator main control;
Judging whether the occupied space of the upgrading program is larger than the preset storage space of the elevator main control;
judging whether the upgrade program type is a program type supportable by an elevator main control;
When the upgrade program version is consistent with the preset version, the upgrade program occupies a space not larger than the preset storage space, and the upgrade program type is a program type supportable by an elevator main control, determining that the upgrade program meets the preset requirements, otherwise, determining that the upgrade program does not meet the preset requirements.
According to some embodiments of the invention, after the step of loading the upgrade program from the server, the elevator program upgrade method further comprises the steps of:
the upgrade program is determined to be loaded, and then the upgrade program is disconnected with a server;
and if the original program is determined to be read, establishing connection with the server again.
According to some embodiments of the invention, the upgrade request further includes an elevator number, and the generating the backup data packet according to the original program includes the steps of:
and packaging the elevator number and the original program into the backup data packet according to a TCP protocol.
According to some embodiments of the invention, the upgrade program comprises a plurality of program data packages, and the writing the upgrade program into the backup address area of the elevator master control comprises the steps of:
the program data packets are sequenced;
And writing the program data packets into the backup address area of the elevator main control one by one according to the sequence number.
According to some embodiments of the invention, the successful writing of the upgrade program into the backup address area is determined by:
detecting the current data occupation space of the backup address area;
When the occupied space of the current data is equal to the occupied space of the upgrading program, checking the upgrading program according to a cyclic redundancy check code in the upgrading program;
And when the upgrading program passes the verification, determining that the upgrading program is successfully written into the backup address area.
On the other hand, the embodiment of the invention also provides an elevator program upgrading system, which comprises:
The first module is used for loading an upgrade program from the server and acquiring address mark information of the elevator main control;
The second module is used for determining a backup address area of the elevator main control according to the address mark information and writing the upgrading program into the backup address area of the elevator main control;
the third module is used for determining an execution program address area of the elevator main control according to the address mark information;
A fourth module for reading the original program from the address area of the execution program of the elevator main control;
a fifth module, configured to generate a backup data packet according to the original program and send the backup data packet to a server;
And a sixth module, configured to determine that the upgrade program is successfully written into the backup address area, and mark the backup address area as an execution program address area, so that the elevator master control executes the upgrade program.
On the other hand, the embodiment of the invention also provides an elevator program upgrading device, which comprises:
At least one processor;
At least one memory for storing at least one program;
When the at least one program is executed by the at least one processor, the at least one processor is caused to implement the elevator program upgrade method as described above.
In another aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for causing a computer to perform an elevator program upgrading method as described above.
The technical scheme of the application has at least one of the following advantages or beneficial effects: firstly, loading an upgrade program from a server, acquiring address mark information of an elevator main control, determining a backup address area and an execution program address area of the elevator main control according to the address mark information, writing the loaded upgrade program into the backup address area, simultaneously reading an original program from the execution program address area, and packaging the original program into a backup data packet and sending the backup data packet to the server after the original program is read. And when the upgrade program is successfully written into the backup address area, marking the backup address area as an execution program address area, so that the elevator main control executes the upgrade program. According to the elevator program backup method and device, the elevator program can be upgraded, the original program of the elevator can be automatically backed up and then sent to the server, management staff can conveniently check and trace the program before and after the elevator is upgraded, and the operation complexity of the upgrading and backing up programs of staff is reduced.
Drawings
Fig. 1 is a flowchart of an elevator program upgrading method provided by an embodiment of the present invention;
fig. 2 is a schematic diagram of an elevator program upgrade system provided by an embodiment of the present invention;
fig. 3 is a schematic diagram of an elevator program upgrading apparatus according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that the direction or positional relationship indicated with respect to the description of the orientation, such as up, down, left, right, etc., is based on the direction or positional relationship shown in the drawings, is merely for convenience of describing the present invention and simplifying the description, and does not indicate or imply that the apparatus or element to be referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, the description of first, second, etc. is for the purpose of distinguishing between technical features only, and should not be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
The embodiment of the invention provides an elevator program upgrading method which can be applied to a data transmission device of an elevator remote operation and maintenance system, wherein the elevator remote operation and maintenance system comprises a server, a data transmission device and an elevator main control, the data transmission device can be connected with a serial port of the elevator main control through an RS485 bus, the data transmission device is in wireless communication with the server, and the data transmission device is used for packaging data of the elevator main control into an IP data packet or decompressing and temporarily storing the IP data packet from the server.
Referring to fig. 1, the elevator program upgrading method of the embodiment of the present invention includes, but is not limited to, step S110, step S120, step S130, step S140, step S150, and step S160.
Step S110, loading an upgrade program from a server, and obtaining address mark information of an elevator main control.
In some embodiments, the user terminal may initiate an upgrade request to a server, which establishes a connection with the data transmission device, from which the data transmission device loads the upgrade program of the elevator.
In some embodiments, address flag information is used to characterize the address usage of the elevator master, e.g., an address interval where no data is stored may be set to "1" indicating that the interval is a backup address interval, an address interval where executable programs are stored may be set to "0" indicating that the interval is an execution program address interval. The elevator master control runs the program in the execution program address area so that the elevator operates according to the program in the execution program address area.
Step S120, the backup address area of the elevator main control is determined according to the address mark information, and the upgrade program is written into the backup address area of the elevator main control.
And step S130, determining an execution program address area of the elevator main control according to the address mark information.
Step S140, the original program is read from the address area of the execution program of the elevator master control.
Step S150, generating a backup data packet according to the original program and sending the backup data packet to the server.
Step S160, if the upgrade program is successfully written into the backup address area, the backup address area is marked as an execution program address area, so that the elevator main control executes the upgrade program.
In some embodiments, after the upgrade program from the server is loaded, address mark information of the elevator main control is obtained, a backup address area and an execution program address area of the elevator main control are determined according to the address mark information, the loaded upgrade program is written into the backup address area, meanwhile, an original program is read from the execution program address area, and after the original program is read, the original program is packaged into a backup data packet and is sent to the server. When the upgrade program is successfully written into the backup address area, the backup address area is marked as an execution program address area, for example, the backup address area is set from '1' to '0', and the backup address area is changed into the execution program address area, so that the elevator main control executes the upgrade program. According to the elevator program upgrading method, the original program of the elevator can be automatically backed up and then sent to the server when the elevator program is upgraded, so that a manager can conveniently check and trace the elevator upgrading program, and the operation complexity of the upgrading and backing up programs of the staff is reduced.
Further, after the original program is read, the data in the address area of the original execution program is deleted, and the address area of the execution program is marked as a backup address area so as to upgrade the elevator program next time.
According to some embodiments of the invention, the elevator program upgrading method further comprises step S210 and step S220.
Step S210, obtaining an upgrade request from the server, where the upgrade request includes attribute information of the upgrade program.
Step S220, judging whether the upgrade program meets the preset requirements according to the attribute information, returning upgrade refusing information to the server when the upgrade program does not meet the preset requirements, and executing the step of loading the upgrade program from the server when the upgrade program meets the preset requirements.
In some embodiments, the server may include a remote monitoring server and a remote upgrading server, and the user terminal such as a mobile phone, a computer, etc. may access the remote monitoring server, and initiate an upgrading request to the data transmission device through the remote monitoring server. The upgrade request includes attribute information of the upgrade program. Judging whether the upgrading program meets the preset requirements or not according to the attribute information, returning upgrading rejection information to the remote monitoring server when the upgrading program does not meet the preset requirements, and loading the upgrading program from the remote upgrading server when the upgrading program meets the preset requirements.
Specifically, the attribute information includes an upgrade program version, an upgrade program occupation space and an upgrade program type, and the step of judging whether the upgrade program meets the preset requirement according to the attribute information includes the following steps:
and judging whether the version of the upgrading program is consistent with the preset version of the elevator main control.
Judging whether the occupied space of the upgrade program is larger than the preset storage space of the elevator owner.
And judging whether the upgrade program type is a program type supportable by the elevator main control.
When the version of the upgrade program is consistent with the preset version, the occupation space of the upgrade program is not larger than the preset storage space, and the upgrade program type is the program type supportable by the elevator main control, the upgrade program meets the preset requirement, otherwise, the upgrade program does not meet the preset requirement.
According to some embodiments of the invention, after step S110, the elevator program upgrading method further comprises step S310 and step S320.
Step S310, determining that the upgrade program loading is completed, and disconnecting the upgrade program from the server.
Step S320, determining that the original program is read, and re-establishing connection with the server.
In some embodiments, after loading the upgrade program and verifying the upgrade program successfully, it is determined that the upgrade program is loaded completely, at which point the connection is disconnected from the server. The upgrade program is then sent to the elevator master and the original program is read from the elevator master. When the original program is read, the connection is re-established with the server. Because the connection with the server is kept for a long time, resources are occupied, the connection with the server is disconnected after the upgrade program is loaded, communication resources can be saved, the connection is re-established after the upgrade program is read and the original program is read, and the original program is returned.
According to some embodiments of the invention, the upgrade request further comprises an elevator number, and step S150 comprises step S410.
Step S410, the elevator numbers and the original program are encapsulated into backup data packets according to the TCP protocol.
In some embodiments, the upgrade request includes an elevator number for determining which elevator master is programmed to upgrade, and after the original program is read, the elevator number is packaged with the original program in a backup data packet according to a TCP protocol in communication with the server. After receiving the backup data packet, the server stores the upgrading program and the original program in a correlated way according to the elevator number, so that the program before and after the elevator is upgraded can be traced conveniently.
Further, the server or the data transmission device may further determine a comparison table before and after the upgrade according to the upgrade program and the original program, and store the comparison table before and after the upgrade in the server.
According to some embodiments of the invention, the upgrade program comprises a plurality of program data packages, and writing the upgrade program to the backup address area of the elevator master comprises step S510 and step S520.
Step S510, sequence a plurality of program data packets;
Step S520, the program data packets are written into the backup address area of the elevator main control one by one according to the sequence number.
In some embodiments, an upgrade program generally includes a plurality of program data packets, each of which is stored and installed in a development-time order, so that the program data packets need to be sequentially sent to backup addresses of the elevator master according to a sequence number, so that the elevator master can store and install the program data packets in the development-time order after receiving the program data packets.
According to some embodiments of the present invention, successful writing of the upgrade program into the backup address area is determined through steps S610, S620, and S630.
Step S610, detecting the current data occupation space of the backup address area;
step S620, when the occupied space of the current data is equal to the occupied space of the upgrading program, verifying the upgrading program according to the cyclic redundancy check code in the upgrading program;
step S630, writing the verified upgrade program into the backup address area.
In some embodiments, during the process of receiving and storing the upgrade program, the elevator master control detects the occupied space of the current data in the backup address area, and judges whether the occupied space of the current data is equal to the occupied space of the upgrade program, when the occupied space of the current data is equal to the occupied space of the upgrade program, the elevator master control is indicated to receive the upgrade program. And then checking the upgrading program according to the cyclic redundancy check code in the upgrading program to confirm that the elevator main control accurately receives the upgrading program. And when the verification is successful, marking that the upgrade program is successfully written into the backup address area, so that the subsequent operations of marking the backup address area as an execution program address area and the like are performed. Further, when the verification fails, write failure information is returned to inform the server to reinitiate the upgrade request.
Specifically, an application process of the elevator program upgrading method of the embodiment of the invention is described.
The elevator remote operation and maintenance system comprises a remote monitoring server, an upgrading server, a data transmission device and an elevator main control, wherein the data transmission device is connected with the elevator main control through an RS485 bus and is respectively connected with the remote monitoring server and the upgrading server through a wireless/wired transmission network. The remote monitoring server initiates an upgrade request to the data transmission device. The data transmission device performs verification according to the information such as the type of the upgrading program in the upgrading request, returns upgrading rejection information to the remote monitoring server when the verification fails, and returns upgrading acceptance information to the remote monitoring server and establishes connection with the upgrading server when the verification succeeds. The upgrade server transmits an upgrade program to the data transmission apparatus. The data transmission device judges that the upgrade programs are loaded completely, and when the upgrade programs are loaded completely, the data transmission device is disconnected with the upgrade server. The data transmission device initiates a BootLoader request to the elevator master control so as to enable the elevator master control to remotely load the upgrade program. Meanwhile, the data transmission device transmits the upgrade program information such as the total size, the initial address, the CRC check of the upgrade program, the sum check of the upgrade program and the like to the elevator main control. And the elevator main control performs verification according to the upgrade program information, and when the elevator main control passes the verification, verification success information is returned to the data transmission device. After receiving the verification success information, the data transmission device writes the upgrade program into a backup address area of the elevator main control, and reads an original program in an execution program address area of the elevator main control. The data transmission device judges whether the writing of the upgrade program is completed, and when the writing is completed, the upgrade program is checked according to the CRC check code and other information. And when the verification success information of the elevator main control is obtained, marking the backup address area as an execution program address area. And meanwhile, the data transmission device judges whether the original program is read completely, and when the original program is read completely, a backup data packet is generated according to the original program and the elevator number and is re-established with the upgrading server. The data transmission device returns upgrade success information and backup data packets to the upgrade server. And the upgrading server obtains an original program according to the backup data packet, and outputs a comparison result document according to the original degree and the issued upgrading program.
The embodiment of the invention also provides an elevator program upgrading system, referring to fig. 2, comprising:
The first module is used for loading an upgrade program from the server and acquiring address mark information of the elevator main control;
the second module is used for determining a backup address area of the elevator main control according to the address mark information and writing an upgrading program into the backup address area of the elevator main control;
the third module is used for determining an execution program address area of the elevator main control according to the address mark information;
A fourth module for reading the original program from the address area of the execution program of the elevator main control;
A fifth module, configured to generate a backup data packet according to the original program and send the backup data packet to the server;
And the sixth module is used for determining that the upgrade program is successfully written into the backup address area, and marking the backup address area as an execution program address area so that the elevator main control executes the upgrade program.
It can be understood that the content in the above-mentioned elevator program upgrading method embodiment is applicable to the system embodiment, and the functions specifically implemented by the system embodiment are the same as those of the elevator program upgrading method embodiment, and the beneficial effects achieved by the system embodiment are the same as those achieved by the elevator program upgrading method embodiment.
Referring to fig. 3, fig. 3 is a schematic view of an elevator program upgrading apparatus provided in an embodiment of the present invention. An elevator program upgrading apparatus according to an embodiment of the present invention includes one or more control processors and a memory, and one control processor and one memory are exemplified in fig. 3.
The control processor and the memory may be connected by a bus or otherwise, for example in fig. 3.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the control processor, the remote memory being connectable to the elevator program upgrading device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It will be appreciated by those skilled in the art that the arrangement shown in fig. 3 is not limiting of the elevator program upgrading arrangement and may include more or fewer components than shown, or certain components in combination, or a different arrangement of components.
The non-transitory software programs and instructions required to implement the elevator program upgrading method applied to the elevator program upgrading apparatus in the above-described embodiments are stored in the memory, and when executed by the control processor, the elevator program upgrading method applied to the elevator program upgrading apparatus in the above-described embodiments is executed.
Furthermore, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions that are executed by one or more control processors to cause the one or more control processors to perform the elevator program upgrading method in the method embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention.

Claims (10)

1. An elevator program upgrading method is characterized by comprising the following steps:
loading an upgrade program from a server and acquiring address mark information of an elevator main control;
determining a backup address area of the elevator main control according to the address mark information, and writing the upgrading program into the backup address area of the elevator main control;
determining an execution program address area of the elevator main control according to the address mark information;
reading an original program from an execution program address area of the elevator main control;
generating a backup data packet according to the original program and sending the backup data packet to a server;
and if the upgrade program is successfully written into the backup address area, marking the backup address area as an execution program address area, so that the elevator main control executes the upgrade program.
2. The elevator program upgrading method according to claim 1, further comprising the steps of:
acquiring an upgrade request from a server, wherein the upgrade request comprises attribute information of an upgrade program;
judging whether the upgrading program meets preset requirements according to the attribute information;
when the upgrading program does not meet the preset requirement, returning upgrading refusing information to the server;
and executing the step of loading the upgrade program from the server when the upgrade program meets the preset requirement.
3. The elevator program upgrading method according to claim 2, wherein the attribute information includes an upgrade program version, an upgrade program occupation space, and an upgrade program type, and the determining whether the upgrade program meets a preset requirement according to the attribute information includes the steps of:
Judging whether the version of the upgrading program is consistent with a preset version of the elevator main control;
Judging whether the occupied space of the upgrading program is larger than the preset storage space of the elevator main control;
judging whether the upgrade program type is a program type supportable by an elevator main control;
When the upgrade program version is consistent with the preset version, the upgrade program occupies a space not larger than the preset storage space, and the upgrade program type is a program type supportable by an elevator main control, determining that the upgrade program meets the preset requirements, otherwise, determining that the upgrade program does not meet the preset requirements.
4. The elevator program upgrading method according to claim 1, further comprising the steps of, after the step of loading an upgrade program from a server:
the upgrade program is determined to be loaded, and then the upgrade program is disconnected with a server;
and if the original program is determined to be read, establishing connection with the server again.
5. The elevator program upgrade method according to claim 2, wherein the upgrade request further includes an elevator number, and the generating of the backup data packet according to the original program includes the steps of:
and packaging the elevator number and the original program into the backup data packet according to a TCP protocol.
6. The elevator program upgrade method according to claim 3, wherein the upgrade program includes a plurality of program data packages, and the writing of the upgrade program to the backup address area of the elevator master control includes the steps of:
the program data packets are sequenced;
And writing the program data packets into the backup address area of the elevator main control one by one according to the sequence number.
7. The elevator program upgrade method according to claim 6, wherein the successful writing of the upgrade program into the backup address area is determined by:
detecting the current data occupation space of the backup address area;
When the occupied space of the current data is equal to the occupied space of the upgrading program, checking the upgrading program according to a cyclic redundancy check code in the upgrading program;
And when the upgrading program passes the verification, determining that the upgrading program is successfully written into the backup address area.
8. An elevator program upgrade system, comprising:
The first module is used for loading an upgrade program from the server and acquiring address mark information of the elevator main control;
The second module is used for determining a backup address area of the elevator main control according to the address mark information and writing the upgrading program into the backup address area of the elevator main control;
the third module is used for determining an execution program address area of the elevator main control according to the address mark information;
A fourth module for reading the original program from the address area of the execution program of the elevator main control;
a fifth module, configured to generate a backup data packet according to the original program and send the backup data packet to a server;
And a sixth module, configured to determine that the upgrade program is successfully written into the backup address area, and mark the backup address area as an execution program address area, so that the elevator master control executes the upgrade program.
9. An elevator program upgrading apparatus, comprising:
At least one processor;
At least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, at least one of the processors is caused to implement the elevator program upgrade method of any one of claims 1 to 7.
10. A computer-readable storage medium in which a processor-executable program is stored, characterized in that the processor-executable program is for implementing the elevator program upgrading method according to any one of claims 1 to 7 when being executed by the processor.
CN202111214634.3A 2021-10-19 Elevator program upgrading method, system, device and storage medium Active CN113986606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111214634.3A CN113986606B (en) 2021-10-19 Elevator program upgrading method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111214634.3A CN113986606B (en) 2021-10-19 Elevator program upgrading method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN113986606A CN113986606A (en) 2022-01-28
CN113986606B true CN113986606B (en) 2024-07-12

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090796A (en) * 2014-07-08 2014-10-08 成都万维图新信息技术有限公司 Embedded device program updating method and system
CN110462585A (en) * 2017-03-29 2019-11-15 罗伯特·博世有限公司 Method and apparatus for more new procedures

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090796A (en) * 2014-07-08 2014-10-08 成都万维图新信息技术有限公司 Embedded device program updating method and system
CN110462585A (en) * 2017-03-29 2019-11-15 罗伯特·博世有限公司 Method and apparatus for more new procedures

Similar Documents

Publication Publication Date Title
CN106569847B (en) Method for vehicle-mounted system to realize IAP remote upgrade based on mobile network
CN110058873B (en) Application page updating method, device, equipment and storage medium
EP0217351A2 (en) Communication control apparatus
CN112631628A (en) Singlechip upgrading method, singlechip and storage medium
CN113259996A (en) IOT wireless debugging method and equipment
CN111970102A (en) Data processing method and device, electronic equipment and storage medium
CN112751782B (en) Flow switching method, device, equipment and medium based on multi-activity data center
CN110944034A (en) Webpage end breakpoint resume method and device, electronic equipment and storage medium
CN113986606B (en) Elevator program upgrading method, system, device and storage medium
CN114489732A (en) Method and device for updating FPGA (field programmable Gate array) firmware of equipment and electronic equipment
CN111147597B (en) File transmission method, terminal, electronic device and storage medium
CN110198222A (en) A kind of distribution power automation terminal plug and play test method and test main website
CN112217610A (en) Data processing method and device, consumer machine, terminal and readable storage medium
CN113986606A (en) Elevator program upgrading method, system, device and storage medium
CN112804071A (en) On-line upgrading method, upgrading file providing method, equipment and storage medium
CN112764818B (en) Device management method, device, electronic device and readable storage medium
CN115357260A (en) Program upgrading method and device for terminal equipment, terminal equipment and storage medium
CN114138542A (en) Data configuration method of electric energy meter, electric energy meter and readable storage medium
CN114579166A (en) Component module upgrading method, component module and financial robot
CN111610991A (en) Version upgrading method and device
CN111356119A (en) Data transmission method and related equipment
CN114385214B (en) Website updating method, device, equipment and storage medium
CN112732307B (en) Firmware upgrading method, system and device for SSDs with different capacities
CN116991710B (en) Automatic test method and system, electronic equipment and storage medium thereof
CN111343217B (en) Resource data downloading method and device, terminal equipment and computer storage medium

Legal Events

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