CN103677946B - Method and system for updating elevator device control programs - Google Patents

Method and system for updating elevator device control programs Download PDF

Info

Publication number
CN103677946B
CN103677946B CN201310746692.XA CN201310746692A CN103677946B CN 103677946 B CN103677946 B CN 103677946B CN 201310746692 A CN201310746692 A CN 201310746692A CN 103677946 B CN103677946 B CN 103677946B
Authority
CN
China
Prior art keywords
elevator
control
hardware device
free memory
upgrade
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
CN201310746692.XA
Other languages
Chinese (zh)
Other versions
CN103677946A (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
Guangzhou Ropente Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Ropente Technology Development Co Ltd filed Critical Guangzhou Ropente Technology Development Co Ltd
Priority to CN201310746692.XA priority Critical patent/CN103677946B/en
Publication of CN103677946A publication Critical patent/CN103677946A/en
Application granted granted Critical
Publication of CN103677946B publication Critical patent/CN103677946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Maintenance And Inspection Apparatuses For Elevators (AREA)
  • Indicating And Signalling Devices For Elevators (AREA)
  • Lift-Guide Devices, And Elevator Ropes And Cables (AREA)

Abstract

一种电梯设备控制程序的更新方法和系统,根据更新内容的大小,主控板利用串行通信连接查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小,选择出空闲内存之和大于或等于所述更新内容的大小的硬件设备。再将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存,控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。利用电梯中所有硬件设备的空闲内存资源,逐步完成电梯设备的升级,无需额外配备较大的系统内存,节省了系统硬件成本,而且在升级过程中系统无需停止正常运行,升级速度快捷且方便。

A method and system for updating an elevator equipment control program. According to the size of the update content, the main control board uses a serial communication connection to query and confirm the free memory resources of the hardware equipment in the elevator. The sum of the free memory resources of the hardware equipment is greater than or equal to all The size of the above-mentioned update content is selected, and the hardware device whose sum of free memory is greater than or equal to the size of the above-mentioned update content is selected. The update content is then divided into data packets that match the free memory resources of the hardware device one by one, and sent to the free memory of the hardware device in turn, and the elevator device is controlled to read the data packets in the hardware device in turn, The data package is upgraded into program memory. Use the free memory resources of all hardware devices in the elevator to gradually complete the upgrade of the elevator equipment, without the need for additional large system memory, saving system hardware costs, and the system does not need to stop normal operation during the upgrade process, the upgrade speed is fast and convenient.

Description

电梯设备控制程序的更新方法和系统Method and system for updating elevator equipment control program

技术领域technical field

本发明涉及电梯设备维护领域,特别是涉及一种电梯设备控制程序的更新方法和系统。The invention relates to the field of elevator equipment maintenance, in particular to a method and system for updating an elevator equipment control program.

背景技术Background technique

在如今软件系统日益更新完善,怎样对系统软件的更新升级已经成为新的问题,电梯控制程序升级也存在升级困的问题,特备是大型楼盘的电梯升级问题。Nowadays, the software system is updated and perfected day by day. How to update and upgrade the system software has become a new problem. There is also the problem of upgrading the elevator control program, especially the elevator upgrade problem of large-scale buildings.

一般的电梯设备控制程序的更新方法和系统,利用服务端通过无线传输技术将要升级的数据发送并存储在待升级设备的内存RAM(Random access memory,随机存储器)当中,然后再通过控制命令将内存中的数据写入到程序存储器中,从而完成升级过程。由于传输技术及容量的限制,服务端通常会将需要传输的数据分割成N个数据包来发送,而这里通常会有两种做法,第一种是每发送完一定大小的数据包后就执行1次升级指令;第二种就是发送完全部的数据包后再执行升级指令。第一种做法在升级过程中系统必须停止正常运行,停止时间与升级程序大小成正比,而且由于无线远程通讯的不确定性,过程中万一遇到通讯中断等问题,系统将由于程序不完整而不能正常运行,风险较高;而第二种做法需占用系统较大的内存RAM空间,从而增加硬件成本,造成不必要的资源浪费。The general method and system for updating the elevator equipment control program uses the server to send and store the data to be upgraded through wireless transmission technology in the memory RAM (Random access memory) of the equipment to be upgraded, and then uses the control command to update the data in the memory. The data in the program memory is written to complete the upgrade process. Due to the limitations of transmission technology and capacity, the server usually divides the data to be transmitted into N data packets to send. There are usually two methods here. The first is to execute after sending a certain size of data packets. 1 upgrade command; the second is to send all the data packets and then execute the upgrade command. In the first method, the system must stop normal operation during the upgrade process. The stop time is proportional to the size of the upgrade program, and due to the uncertainty of wireless remote communication, in case of communication interruption during the process, the system will fail due to incomplete programs. If it cannot run normally, the risk is higher; and the second method needs to occupy a large memory RAM space of the system, thereby increasing hardware costs and causing unnecessary waste of resources.

发明内容Contents of the invention

基于此,有必要针对现有的电梯设备控制程序的更新方法和系统,需要配备较大的系统内存,造成系统硬件成本增加的问题,提供一种可以利用系统内部空闲内存的进行升级的电梯设备控制程序的更新方法和系统。Based on this, it is necessary to provide a kind of elevator equipment that can use the free internal memory of the system to upgrade the existing elevator equipment control program update method and system. A method and system for updating a control program.

一种电梯设备控制程序的更新方法,包括步骤:A method for updating an elevator equipment control program, comprising the steps of:

利用高速串行通信技术,以控制板为中心建立整个电梯系统内硬件设备的串行通信连接;Using high-speed serial communication technology, the serial communication connection of the hardware equipment in the entire elevator system is established with the control board as the center;

根据控制程序的更新内容的大小,查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小;According to the size of the update content of the control program, query and confirm the free memory resources of the hardware equipment in the elevator, the sum of the free memory of the hardware equipment is greater than or equal to the size of the update content;

将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存;Dividing the update content into data packets that match the free memory resources of the hardware device one by one, and sending them to the free memory of the hardware device in sequence;

控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。The elevator equipment is controlled to read the data packets in the hardware device sequentially, and upgrade the data packets to the program memory.

一种电梯设备控制程序的更新系统,包括串行连接建立单元、空闲内存处理单元、更新内容划分单元和升级处理单元;An elevator equipment control program update system, comprising a serial connection establishment unit, a free memory processing unit, an update content division unit and an upgrade processing unit;

所述串行连接建立单元用于利用高速串行通信技术,以控制板为中心建立整个电梯系统内硬件设备的串行通信连接;The serial connection establishing unit is used to utilize the high-speed serial communication technology to establish the serial communication connection of the hardware equipment in the whole elevator system with the control board as the center;

所述空闲内存处理单元用于根据控制程序的更新内容的大小,查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小;The free memory processing unit is used to query and confirm the free memory resource of the hardware device in the elevator according to the size of the update content of the control program, and the sum of the free memory of the hardware device is greater than or equal to the size of the update content;

所述更新内容划分单元用于将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存;The update content division unit is used to divide the update content into data packets that match the free memory resources of the hardware device one by one, and send them to the free memory of the hardware device in sequence;

所述升级处理单元用于控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。The upgrade processing unit is used to control the elevator equipment to sequentially read the data packets in the hardware device, and upgrade the data packets to the program memory.

上述电梯设备控制程序的更新方法和系统,根据更新内容的大小,主控板利用串行通信连接查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小,选择出空闲内存之和大于或等于所述更新内容的大小的硬件设备。再将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存,控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。利用电梯中所有硬件设备的空闲内存资源,逐步完成电梯设备的升级,无需额外配备较大的系统内存,节省了系统硬件成本,而且在升级过程中系统无需停止正常运行,升级速度快捷且方便。In the above method and system for updating the elevator equipment control program, according to the size of the update content, the main control board uses the serial communication connection to query and confirm the free memory resources of the hardware devices in the elevator, and the sum of the free memories of the hardware devices is greater than or equal to the above-mentioned The size of the updated content is selected by selecting a hardware device whose sum of free memory is greater than or equal to the size of the updated content. The update content is then divided into data packets that match the free memory resources of the hardware device one by one, and sent to the free memory of the hardware device in turn, and the elevator device is controlled to read the data packets in the hardware device in turn, The data package is upgraded into program memory. Use the free memory resources of all hardware devices in the elevator to gradually complete the upgrade of the elevator equipment, without the need for additional large system memory, saving system hardware costs, and the system does not need to stop normal operation during the upgrade process, the upgrade speed is fast and convenient.

附图说明Description of drawings

图1为电梯设备控制程序的更新方法其中一个实施例的方法流程图;Fig. 1 is the method flowchart of one embodiment of the update method of the elevator equipment control program;

图2为电梯设备控制程序的更新方法其中另一个实施例的方法流程图;Fig. 2 is the method flowchart of another embodiment wherein the updating method of elevator equipment control program;

图3为电梯设备控制程序的更新方法其中另一个实施例的方法流程图;Fig. 3 is a method flowchart of another embodiment of the updating method of the elevator equipment control program;

图4为电梯设备控制程序的更新系统其中一个实施例的模块连接图;Fig. 4 is the module connection diagram of one embodiment of the update system of the elevator equipment control program;

图5为电梯设备控制程序的更新系统其中另一个实施例的模块连接图;Fig. 5 is a module connection diagram of another embodiment of the update system of the elevator equipment control program;

图6为电梯设备控制程序的更新系统其中另一个实施例的模块连接图。Fig. 6 is a module connection diagram of another embodiment of the updating system of the elevator equipment control program.

具体实施方式detailed description

如图1所示,一种电梯设备控制程序的更新方法,包括步骤:As shown in Figure 1, a kind of updating method of elevator equipment control program, comprises steps:

步骤S110,利用高速串行通信技术,以控制板为中心建立整个电梯系统内硬件设备的串行通信连接;在本实施例中,可以利用高速串行通信技术,以控制板为中心建立整个电梯系统内硬件设备的串行通信连接,便于后续主控板对电梯中硬件设备的查询确认。Step S110, use the high-speed serial communication technology to establish the serial communication connection of the hardware devices in the entire elevator system with the control board as the center; in this embodiment, you can use the high-speed serial communication technology to establish the entire elevator system with the control board as the center The serial communication connection of the hardware equipment in the system is convenient for the follow-up main control board to query and confirm the hardware equipment in the elevator.

步骤S120,根据控制程序的更新内容的大小,查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小;在本实施例中,可以预先根据所需升级的项目获取更新内容的大小,可以是升级数据包的大小,也可以是升级文件的大小,系统可以根据所述更新内容的大小在电梯中的所有硬件设备中查询并确认硬件设备的空闲内存资源,确保所述硬件设备的空闲内存之和大于或等于所述更新内容的大小,为后续将所述更新内容的大小进行划分做准备。所述电梯中硬件设备为电梯系统中所有有内存RAM芯片的硬件设备。Step S120, according to the size of the update content of the control program, query and confirm the free memory resources of the hardware devices in the elevator, the sum of the free memory of the hardware devices is greater than or equal to the size of the update content; Obtain the size of the update content according to the item to be upgraded, which can be the size of the upgrade data package or the size of the upgrade file. The system can query and confirm the hardware device among all the hardware devices in the elevator according to the size of the update content to ensure that the sum of the free memory of the hardware device is greater than or equal to the size of the update content, so as to prepare for the subsequent division of the size of the update content. The hardware devices in the elevator are all hardware devices with memory RAM chips in the elevator system.

步骤S130,将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存;在本实施例中,可以根据之前查询确认电梯中硬件设备的空闲内存资源,将将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,再进一步将划分好的数据包传输至所述硬件设备的空闲内存中。Step S130, divide the update content into data packets that match the free memory resources of the hardware device one by one, and send them to the free memory of the hardware device in turn; in this embodiment, the hardware device in the elevator can be confirmed according to the previous query free memory resources of the hardware device, divide the update content into data packets that match the free memory resources of the hardware device one by one, and then further transmit the divided data packets to the free memory of the hardware device.

步骤S140,控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。在本实施例中,系统可以控制电梯设备依次读取所述硬件设备中的所述数据包,逐步完成电梯设备的升级。Step S140, controlling the elevator equipment to sequentially read the data packets in the hardware equipment, and upgrade the data packets to the program memory. In this embodiment, the system can control the elevator equipment to read the data packets in the hardware equipment sequentially, and gradually complete the upgrade of the elevator equipment.

在本实施例中,系统可以在接到升级命令时,或者是在查询到电梯设备需要进行升级时,在通过网络或者是存储升级程序的升级服务器中获取要升级的电梯系统程序,所述电梯系统程序即所述更新内容。系统可以控制将要升级的程序相关信息发送到电梯系统的电梯控制板中,再进一步控制控制板根据升级的内容,对系统内连接的所有电子板存储RAM空间进行查询分配,确定每一块电子板芯片可使用的内存RAM区域及大小,并预留该部分使用权限。当控制板确认整个系统内的内存资源可满足程序存储需求时,可以准备进行进行数据传输。系统将更新内容划分为部分,每次发送其中一部分,并按先前分配的硬件设备的空闲内存资源,通过串行通信的方式存储到对应的芯片当中。最终通过控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中,完成电梯设备的升级。In this embodiment, when the system receives an upgrade command, or when it is inquired that the elevator equipment needs to be upgraded, it can obtain the elevator system program to be upgraded through the network or an upgrade server that stores the upgrade program. The system program is the update content. The system can control the information about the program to be upgraded to be sent to the elevator control board of the elevator system, and then further control the control board to query and allocate the storage RAM space of all electronic boards connected in the system according to the content of the upgrade, and determine the chip of each electronic board Available memory RAM area and size, and reserve the permission to use this part. When the control board confirms that the memory resources in the entire system can meet the program storage requirements, it can prepare for data transmission. The system divides the update content into parts, sends part of it each time, and stores it in the corresponding chip through serial communication according to the previously allocated free memory resources of the hardware device. Finally, the upgrade of the elevator equipment is completed by controlling the elevator equipment to sequentially read the data packets in the hardware equipment and upgrade the data packets to the program memory.

在具体的升级过程中,如果升级是对电梯的控制板升级,控制板会将下载的程序对自身进行升级,完成后重启启动;如果是对连接的串行通信板进行升级,控制板将通过串行总线,给需要升级的电子板发送升级指令,收到指令的电子板将进入升级模式。升级过程中如果出现意外情况,例如控制板自身升级出现问题,不能自动完成升级过程,或者电子板升级失败,系统还通知工作人员前往处理。In the specific upgrade process, if the upgrade is to upgrade the control board of the elevator, the control board will upgrade itself with the downloaded program and restart after completion; if it is to upgrade the connected serial communication board, the control board will pass The serial bus sends an upgrade command to the electronic board that needs to be upgraded, and the electronic board that receives the command will enter the upgrade mode. If there is an unexpected situation during the upgrade process, such as a problem with the upgrade of the control board itself, the upgrade process cannot be completed automatically, or the upgrade of the electronic board fails, the system will also notify the staff to deal with it.

上述电梯设备控制程序的更新方法,根据更新内容的大小,主控板利用串行通信连接查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小,选择出空闲内存之和大于或等于所述更新内容的大小的硬件设备。再将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存,控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。利用电梯中所有硬件设备的空闲内存资源,逐步完成电梯设备的升级,无需额外配备较大的系统内存,节省了系统硬件成本,而且在升级过程中系统无需停止正常运行,升级速度快捷且方便。In the above method for updating the elevator equipment control program, according to the size of the update content, the main control board uses the serial communication connection to query and confirm the free memory resources of the hardware equipment in the elevator, and the sum of the free memory resources of the hardware equipment is greater than or equal to the update content The size of the hardware device whose sum of free memory is greater than or equal to the size of the update content is selected. The update content is then divided into data packets that match the free memory resources of the hardware device one by one, and sent to the free memory of the hardware device in turn, and the elevator device is controlled to read the data packets in the hardware device in turn, The data package is upgraded into program memory. Use the free memory resources of all hardware devices in the elevator to gradually complete the upgrade of the elevator equipment, without the need for additional large system memory, saving system hardware costs, and the system does not need to stop normal operation during the upgrade process, the upgrade speed is fast and convenient.

在其中一个实施例中,所述的电梯设备控制程序的更新方法,在所述步骤S130之后、所述步骤S140之前,还包括步骤:In one of the embodiments, the method for updating the elevator equipment control program, after the step S130 and before the step S140, further includes the steps of:

步骤S150,控制校验所述数据包是否完整,若不完整,则控制重新发送。在本实施例中,为了确保升级过程中,升级的数据包在传输过程中的完整性,可以通过控制校验所述数据包是否完整,在所述数据包不完整的情况下控制重新发送的方式来确保所述数据包的完整性,避免在后续的升级过程中出现问题。In step S150, the control checks whether the data packet is complete, and if not, the control resends it. In this embodiment, in order to ensure the integrity of the upgraded data packet during transmission during the upgrade process, it is possible to check whether the data packet is complete by controlling, and to control the resending of the data packet if the data packet is incomplete. way to ensure the integrity of the data package and avoid problems in the subsequent upgrade process.

在其中一个实施例中,所述的电梯设备控制程序的更新方法,所述步骤S150,具体包括步骤:In one of the embodiments, the method for updating the elevator equipment control program, the step S150, specifically includes the steps of:

步骤S152,控制所述硬件设备在接收所述数据包时,校验所述数据包是否完整,若完整,则转到对应的硬件设备的空闲内存中进行存储,若不完整,则控制重新发送;在本实施例中,可以控制所述硬件设备在接收所述数据包时校验所述数据包的完整性,确保所述数据包在发送时是完整的,避免数据中的数据丢失。Step S152, control the hardware device to check whether the data packet is complete when receiving the data packet, if complete, transfer to the free memory of the corresponding hardware device for storage, and if not complete, control to resend ; In this embodiment, the hardware device can be controlled to check the integrity of the data packet when receiving the data packet, to ensure that the data packet is complete when it is sent, and to avoid data loss in the data.

步骤S154,在所述硬件设备接收完成之后,再次控制校验所述数据包是否完整,若不完整,则控制重新发送。在本实施例中,当所有数据都发送完毕后,可以再次与确认数据包的完整性,通过再次对数据包完整性的校验,进一步确保所述数据包在发送时是完整的,避免数据中的数据丢失。Step S154, after the hardware device completes receiving, control checks whether the data packet is complete again, and if not, control to resend. In this embodiment, after all the data has been sent, the integrity of the data packet can be confirmed again, and by checking the integrity of the data packet again, it is further ensured that the data packet is complete when it is sent, avoiding data Data in is lost.

在其中一个实施例中,所述的电梯设备控制程序的更新方法,在所述步骤S140之后,还包括步骤:In one of the embodiments, the method for updating the control program of the elevator equipment, after the step S140, further includes the steps of:

步骤S160,判断是否完成升级,若是,则控制电梯投入运行,若否,则控制电梯设备重新升级。在本实施例中,在完成电梯设备的更新内容的读取后,可以对是否完成升级过程进行判断,具体的判断可以通过校验完成电梯设备的更新内容的读取之后的电梯设备的程序当中是否存在与更新内容相匹配的验证码,若有,则说明电梯设备升级成功,此时控制电梯投入运行,若无,则说明电梯设备升级失败,则控制电梯设备重新升级。通过判断是否完成升级,进一步确保电梯设备升级成功。Step S160, judging whether the upgrade is completed, if yes, control the elevator to be put into operation, if not, control the elevator equipment to upgrade again. In this embodiment, after the update content of the elevator equipment is read, it can be judged whether the upgrade process is completed. The specific judgment can be made by checking the program of the elevator equipment after the update content of the elevator equipment is read. Whether there is a verification code that matches the update content, if yes, it means that the elevator equipment has been upgraded successfully, and the control elevator is put into operation at this time, if not, it means that the elevator equipment upgrade has failed, and the elevator equipment is controlled to be upgraded again. By judging whether the upgrade is completed, it is further ensured that the upgrade of the elevator equipment is successful.

在其中一个实施例中,所述的电梯设备控制程序的更新方法,在所述步骤S130之后、所述步骤S140之前,还包括步骤:In one of the embodiments, the method for updating the elevator equipment control program, after the step S130 and before the step S140, further includes the steps of:

控制电梯开到基站并停止运行。在本实施例中,为了确保用户的安全,避免电梯设备在升级过程中可能出现的问题影响的用户正常使用电梯。电梯设备在收到升级命令后,首先会将停止响应所有外召唤,完成所有已登记的内召唤后,电梯会前往基站并开门停梯,然后将工作模式转入程序升级状态。Control the elevator to drive to the base station and stop running. In this embodiment, in order to ensure the safety of the user, the normal use of the elevator by the user affected by the problems that may occur during the upgrading process of the elevator equipment is avoided. After the elevator equipment receives the upgrade command, it will first stop responding to all exterior calls. After completing all the registered interior calls, the elevator will go to the base station and open the door to stop the elevator, and then transfer the working mode to the program upgrade state.

一种电梯设备控制程序的更新系统,包括串行连接建立单元110、空闲内存处理单元120、更新内容划分单元130和升级处理单元140;An elevator equipment control program update system, comprising a serial connection establishment unit 110, a free memory processing unit 120, an update content division unit 130 and an upgrade processing unit 140;

所述串行连接建立单元110用于利用高速串行通信技术,以控制板为中心建立整个电梯系统内硬件设备的串行通信连接;The serial connection establishment unit 110 is used to utilize the high-speed serial communication technology to establish the serial communication connection of the hardware equipment in the whole elevator system with the control board as the center;

所述空闲内存处理单元120用于根据控制程序的更新内容的大小,查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小;The free memory processing unit 120 is used to query and confirm the free memory resource of the hardware device in the elevator according to the size of the update content of the control program, and the sum of the free memory of the hardware device is greater than or equal to the size of the update content;

所述更新内容划分单元130用于将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存;The update content division unit 130 is configured to divide the update content into data packets that match the free memory resources of the hardware device one by one, and send them to the free memory of the hardware device in sequence;

所述升级处理单元140用于控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。The upgrade processing unit 140 is used to control the elevator equipment to sequentially read the data packets in the hardware device, and upgrade the data packets to the program memory.

上述电梯设备控制程序的更新系统,根据更新内容的大小,主控板利用串行通信连接查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小,选择出空闲内存之和大于或等于所述更新内容的大小的硬件设备。再将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存,控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。利用电梯中所有硬件设备的空闲内存资源,逐步完成电梯设备的升级,无需额外配备较大的系统内存,节省了系统硬件成本,而且在升级过程中系统无需停止正常运行,升级速度快捷且方便。In the updating system of the above-mentioned elevator equipment control program, according to the size of the update content, the main control board uses the serial communication connection to query and confirm the free memory resources of the hardware equipment in the elevator, and the sum of the free memory resources of the hardware equipment is greater than or equal to the update content The size of the hardware device whose sum of free memory is greater than or equal to the size of the update content is selected. The update content is then divided into data packets that match the free memory resources of the hardware device one by one, and sent to the free memory of the hardware device in turn, and the elevator device is controlled to read the data packets in the hardware device in turn, The data package is upgraded into program memory. Use the free memory resources of all hardware devices in the elevator to gradually complete the upgrade of the elevator equipment, without the need for additional large system memory, saving system hardware costs, and the system does not need to stop normal operation during the upgrade process, the upgrade speed is fast and convenient.

在其中一个实施例中,所述的电梯设备控制程序的更新系统,还包括连接所述更新内容划分单元130和所述升级处理单元140的校验控制单元150;In one of the embodiments, the update system of the elevator equipment control program further includes a verification control unit 150 connected to the update content division unit 130 and the upgrade processing unit 140;

所述校验控制单元150用于控制校验所述数据包是否完整,若不完整,则控制重新发送。The check control unit 150 is used to control check whether the data packet is complete, and if not, control to resend.

在其中一个实施例中,所述的电梯设备控制程序的更新系统,所述校验控制单元150包括硬件设备控制检验单元152和二次校验单元154;In one of the embodiments, the update system of the elevator equipment control program, the verification control unit 150 includes a hardware device control verification unit 152 and a secondary verification unit 154;

所述硬件设备控制检验单元152用于控制所述硬件设备在接收所述数据包时,校验所述数据包是否完整,若完整,则转到对应的硬件设备的空闲内存中进行存储,若不完整,则控制重新发送;The hardware device control checking unit 152 is used to control the hardware device to check whether the data packet is complete when receiving the data packet. If it is complete, it will transfer to the free memory of the corresponding hardware device for storage. Incomplete, the control is resent;

所述二次校验单元154用于在所述硬件设备接收完成之后,再次控制校验所述数据包是否完整,若不完整,则控制重新发送。The secondary checking unit 154 is used to control and check whether the data packet is complete again after the receiving by the hardware device is completed, and control to resend if it is not complete.

在其中一个实施例中,所述的电梯设备控制程序的更新系统,与所述升级处理单元140连接的升级判断单元160;In one of the embodiments, the update system of the elevator equipment control program is an upgrade judging unit 160 connected to the upgrade processing unit 140;

所述升级判断单元160用于判断是否完成升级,若是,则控制电梯投入运行,若否,则控制电梯设备重新升级。The upgrade judging unit 160 is used to judge whether the upgrade is completed, if yes, control the elevator to be put into operation, if not, control the elevator equipment to upgrade again.

在其中一个实施例中,所述的电梯设备控制程序的更新系统,还包括连接所述更新内容划分单元130和所述升级处理单元140的安全处理单元;In one of the embodiments, the update system of the elevator equipment control program further includes a security processing unit connecting the update content division unit 130 and the upgrade processing unit 140;

所述安全处理单元用于控制电梯开到基站并停止运行。The safety processing unit is used to control the elevator to drive to the base station and stop running.

由于所述的电梯设备控制程序的更新系统其他部分技术特征与上述方法相同,在此不予赘述。Since other parts of the technical features of the updating system of the elevator equipment control program are the same as those of the above-mentioned method, they will not be repeated here.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be noted that, for those skilled in the art, variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1.一种电梯设备控制程序的更新方法,其特征在于,包括步骤:1. A method for updating elevator equipment control program, is characterized in that, comprises steps: 利用高速串行通信技术,以控制板为中心建立整个电梯系统内硬件设备的串行通信连接;Using high-speed serial communication technology, the serial communication connection of the hardware equipment in the entire elevator system is established with the control board as the center; 根据控制程序的更新内容的大小,查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小;According to the size of the update content of the control program, query and confirm the free memory resources of the hardware equipment in the elevator, the sum of the free memory of the hardware equipment is greater than or equal to the size of the update content; 将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存;控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。Divide the update content into data packets that match the free memory resources of the hardware device one by one, and send them to the free memory of the hardware device in turn; control the elevator device to read the data packets in the hardware device in turn, and The data package is upgraded to program memory. 2.根据权利要求1所述的电梯设备控制程序的更新方法,其特征在于,在所述将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存的步骤之后、所述控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中的步骤之前,还包括步骤:2. The updating method of the elevator equipment control program according to claim 1, characterized in that, in said updating content is divided into data packets matching one by one with the free memory resources of said hardware equipment, and sent to said After the step of free memory of the hardware device, the step of controlling the elevator device to read the data packets in the hardware device sequentially, before upgrading the data packets to the program memory, further includes the steps: 控制校验所述数据包是否完整,若不完整,则控制重新发送。The control checks whether the data packet is complete, and if not complete, the control resends. 3.根据权利要求2所述的电梯设备控制程序的更新方法,其特征在于,所述控制校验所述数据包是否完整,若不完整,则控制重新发送的步骤,具体包括步骤:3. The updating method of the elevator equipment control program according to claim 2, wherein said control checks whether said data packet is complete, and if not complete, then controls the step of resending, specifically comprising the steps of: 控制所述硬件设备在接收所述数据包时,校验所述数据包是否完整,若完整,则转到对应的硬件设备的空闲内存中进行存储,若不完整,则控制重新发送;Controlling the hardware device to check whether the data packet is complete when receiving the data packet, if complete, transfer to the free memory of the corresponding hardware device for storage, and if not complete, control resending; 在所述硬件设备接收完成之后,再次控制校验所述数据包是否完整,若不完整,则控制重新发送。After the receiving by the hardware device is completed, the control checks whether the data packet is complete again, and if it is not complete, the control resends it. 4.根据权利要求1或2或3所述的电梯设备控制程序的更新方法,其特征在于,在所述控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中的步骤之后,还包括步骤:4. according to the updating method of the elevator equipment control program described in claim 1 or 2 or 3, it is characterized in that, read the described data packet in the described hardware equipment successively in described control elevator equipment, described data packet After the step to upgrade to program memory, also include the steps: 判断是否完成升级,若是,则控制电梯投入运行,若否,则控制电梯设备重新升级。It is judged whether the upgrade is completed, if so, the elevator is controlled to be put into operation, and if not, the elevator equipment is controlled to be upgraded again. 5.根据权利要求1所述的电梯设备控制程序的更新方法,其特征在于,在所述将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存的步骤之后、所述控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中的步骤之前,还包括步骤:5. The updating method of the elevator equipment control program according to claim 1, characterized in that, in said updating content is divided into data packets matching one by one with the free memory resources of said hardware equipment, and sent to said After the step of free memory of the hardware device, the step of controlling the elevator device to read the data packets in the hardware device sequentially, before upgrading the data packets to the program memory, further includes the steps: 控制电梯开到基站并停止运行。Control the elevator to drive to the base station and stop running. 6.一种电梯设备控制程序的更新系统,其特征在于,包括串行连接建立单元、空闲内存处理单元、更新内容划分单元和升级处理单元;6. An update system for an elevator equipment control program, characterized in that it includes a serial connection establishment unit, a free memory processing unit, an update content division unit and an upgrade processing unit; 所述串行连接建立单元用于利用高速串行通信技术,以控制板为中心建立整个电梯系统内硬件设备的串行通信连接;The serial connection establishing unit is used to utilize the high-speed serial communication technology to establish the serial communication connection of the hardware equipment in the whole elevator system with the control board as the center; 所述空闲内存处理单元用于根据控制程序的更新内容的大小,查询确认电梯中硬件设备的空闲内存资源,所述硬件设备的空闲内存之和大于或等于所述更新内容的大小;The free memory processing unit is used to query and confirm the free memory resource of the hardware device in the elevator according to the size of the update content of the control program, and the sum of the free memory of the hardware device is greater than or equal to the size of the update content; 所述更新内容划分单元用于将更新内容划分为与所述硬件设备的空闲内存资源逐一匹配的数据包,并依次发送到所述硬件设备的空闲内存;The update content division unit is used to divide the update content into data packets that match the free memory resources of the hardware device one by one, and send them to the free memory of the hardware device in sequence; 所述升级处理单元用于控制电梯设备依次读取所述硬件设备中的所述数据包,将所述数据包升级到程序存储器中。The upgrade processing unit is used to control the elevator equipment to sequentially read the data packets in the hardware device, and upgrade the data packets to the program memory. 7.根据权利要求6所述的电梯设备控制程序的更新系统,其特征在于,还包括连接所述更新内容划分单元和所述升级处理单元的校验控制单元;7. The update system of the elevator equipment control program according to claim 6, further comprising a verification control unit connecting the update content division unit and the upgrade processing unit; 所述校验控制单元用于控制校验所述数据包是否完整,若不完整,则控制重新发送。The check control unit is used to control check whether the data packet is complete, and if not, control to resend. 8.根据权利要求7所述的电梯设备控制程序的更新系统,其特征在于,所述校验控制单元包括硬件设备控制检验单元和二次校验单元;8. The update system of the elevator equipment control program according to claim 7, characterized in that, the verification control unit comprises a hardware device control verification unit and a secondary verification unit; 所述硬件设备控制检验单元用于控制所述硬件设备在接收所述数据包时,校验所述数据包是否完整,若完整,则转到对应的硬件设备的空闲内存中进行存储,若不完整,则控制重新发送;The hardware device control checking unit is used to control the hardware device to check whether the data packet is complete when receiving the data packet, and if it is complete, transfer it to the free memory of the corresponding hardware device for storage, if not complete, control resend; 所述二次校验单元用于在所述硬件设备接收完成之后,再次控制校验所述数据包是否完整,若不完整,则控制重新发送。The secondary checking unit is used to control and check whether the data packet is complete again after the receiving by the hardware device is completed, and control to resend if it is not complete. 9.根据权利要求6或7或8所述的电梯设备控制程序的更新系统,其特征在于,与所述升级处理单元连接的升级判断单元;9. The update system of the elevator equipment control program according to claim 6, 7 or 8, characterized in that, an upgrade judging unit connected to the upgrade processing unit; 所述升级判断单元用于判断是否完成升级,若是,则控制电梯投入运行,若否,则控制电梯设备重新升级。The upgrade judging unit is used to judge whether the upgrade is completed, if yes, control the elevator to be put into operation, if not, control the elevator equipment to upgrade again. 10.根据权利要求6所述的电梯设备控制程序的更新系统,其特征在于,还包括连接所述更新内容划分单元和所述升级处理单元的安全处理单元;10. The update system of the elevator equipment control program according to claim 6, further comprising a security processing unit connecting the update content division unit and the upgrade processing unit; 所述安全处理单元用于控制电梯开到基站并停止运行。The safety processing unit is used to control the elevator to drive to the base station and stop running.
CN201310746692.XA 2013-12-30 2013-12-30 Method and system for updating elevator device control programs Active CN103677946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310746692.XA CN103677946B (en) 2013-12-30 2013-12-30 Method and system for updating elevator device control programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310746692.XA CN103677946B (en) 2013-12-30 2013-12-30 Method and system for updating elevator device control programs

Publications (2)

Publication Number Publication Date
CN103677946A CN103677946A (en) 2014-03-26
CN103677946B true CN103677946B (en) 2017-02-01

Family

ID=50315603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310746692.XA Active CN103677946B (en) 2013-12-30 2013-12-30 Method and system for updating elevator device control programs

Country Status (1)

Country Link
CN (1) CN103677946B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955784B (en) * 2016-05-10 2019-04-19 日立楼宇技术(广州)有限公司 Elevator program upgrade and backup method, mobile terminal and system
CN106095494B (en) * 2016-06-03 2019-09-17 广州广日电梯工业有限公司 The automatic updating system and method for elevator peripheral hardware program
JP6212195B1 (en) * 2016-11-11 2017-10-11 東芝エレベータ株式会社 Elevator control device renewal method, main controller unit
CN106909428A (en) * 2017-03-31 2017-06-30 广东欧珀移动通信有限公司 Software upgrade control method, device and electronic equipment
CN106970816B (en) * 2017-03-31 2021-01-26 Oppo广东移动通信有限公司 Software upgrading processing method and device and audio playing equipment
WO2018189975A1 (en) * 2017-04-12 2018-10-18 住友電気工業株式会社 Relay apparatus, transfer method, and computer program
CN107301056A (en) * 2017-07-27 2017-10-27 上海斐讯数据通信技术有限公司 A kind of AP online upgradings processing method and processing device
CN110077945B (en) * 2018-01-26 2021-09-14 日立楼宇技术(广州)有限公司 Method, device and equipment for upgrading elevator calling equipment and storage medium thereof
US11016751B2 (en) 2018-06-06 2021-05-25 Otis Elevator Company Automatic upgrade on total run count data on availability of new software
US11472663B2 (en) * 2018-10-01 2022-10-18 Otis Elevator Company Automatic software upgrade assistant for remote elevator monitoring experts using machine learning
CN113795449B (en) * 2019-05-14 2023-03-31 三菱电机株式会社 Elevator renovating method and car equipment controller
CN113064624A (en) * 2021-03-31 2021-07-02 日立电梯(中国)有限公司 Remote upgrading method, device and medium for elevator main control board program
CN113590156A (en) * 2021-07-30 2021-11-02 佛山市顺德区美的电子科技有限公司 Multi-split air conditioner program upgrading method, operation control device and multi-split air conditioner
CN113979252B (en) * 2021-10-19 2023-09-26 日立楼宇技术(广州)有限公司 Method and device for upgrading elevator main control program, elevator and storage medium
CN114014116A (en) * 2021-10-19 2022-02-08 日立楼宇技术(广州)有限公司 Method, system, device and storage medium for sectionally upgrading elevator master control program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013400A (en) * 2007-01-30 2007-08-08 金蝶软件(中国)有限公司 Method and apparatus for cache data in memory
CN101365642A (en) * 2006-02-10 2009-02-11 三菱电机株式会社 Remote updating system for elevator control program
CN101630992A (en) * 2008-07-14 2010-01-20 中兴通讯股份有限公司 Method for managing shared memory
CN101695172A (en) * 2009-10-16 2010-04-14 北京天碁科技有限公司 Method and device for independent description and encoding of message interfaces of communication equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365642A (en) * 2006-02-10 2009-02-11 三菱电机株式会社 Remote updating system for elevator control program
CN101013400A (en) * 2007-01-30 2007-08-08 金蝶软件(中国)有限公司 Method and apparatus for cache data in memory
CN101630992A (en) * 2008-07-14 2010-01-20 中兴通讯股份有限公司 Method for managing shared memory
CN101695172A (en) * 2009-10-16 2010-04-14 北京天碁科技有限公司 Method and device for independent description and encoding of message interfaces of communication equipment

Also Published As

Publication number Publication date
CN103677946A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103677946B (en) Method and system for updating elevator device control programs
US10721309B2 (en) System and method for supporting data communication in a heterogeneous environment
KR102720909B1 (en) Software Upgrade Methods, Devices and Systems
EP3287899A1 (en) Containerized upgrade in operating system level virtualization
JP6140357B2 (en) Connection handover method and corresponding apparatus based on short-range wireless communication
CN108833542B (en) Upgrading method of TWS earphone and TWS earphone
CN107347025A (en) Data processing method, device, server and system
CN104021014B (en) A kind of firmware upgrade method based on dual-CPU system
CN102025712B (en) Data updating method, device and system
WO2021121407A1 (en) Capacity changing method and apparatus for virtual machine
CN104429121B (en) The method and platform commenced business in the cloud system of base station
WO2014036902A1 (en) Method and apparatus for gateway management terminal
CN106227571A (en) Method for upgrading system and mobile terminal thereof
JP2022545142A (en) Sidelink transmission status feedback method and apparatus
CN101056209A (en) A maintenance method and device for radio terminal image file
CN106548096A (en) Data transmission method and device
CN104185199B (en) A kind of base station self-starting and its control method and device
CN113661754B (en) Data transmission methods, devices, user equipment and storage media
CN104184729A (en) Message processing method and device
CN105407003A (en) Data loading and unloading method for 1553 bus
CN114579166B (en) Component module upgrade method, component module and financial robot
CN115964071A (en) Software partition upgrading method with historical version saving function
CN116126533A (en) Capacity expansion processing method and device, terminal and storage medium
CN114024822A (en) Block chain-based Internet of things equipment management method, equipment, server and medium
CN114020404A (en) Application deployment method, device, equipment and storage medium based on cloud platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Nanxiang three road, Science City high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 2 510660

Patentee after: Hitachi building technologies (Guangzhou) Co. Ltd.

Address before: Nanxiang Road three Guangzhou Science City 510660 high tech Industrial Development Zone, Guangdong city of Guangzhou province No. 2

Patentee before: Guangzhou Ropente Science and Technology Development Co., Ltd.

CP03 Change of name, title or address