CN114014116A - Method, system, device and storage medium for sectionally upgrading elevator master control program - Google Patents

Method, system, device and storage medium for sectionally upgrading elevator master control program Download PDF

Info

Publication number
CN114014116A
CN114014116A CN202111214747.3A CN202111214747A CN114014116A CN 114014116 A CN114014116 A CN 114014116A CN 202111214747 A CN202111214747 A CN 202111214747A CN 114014116 A CN114014116 A CN 114014116A
Authority
CN
China
Prior art keywords
upgrading
upgrade
data
elevator
request
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.)
Pending
Application number
CN202111214747.3A
Other languages
Chinese (zh)
Inventor
刘熙旺
张永生
李良
黄东
黄国苏
伍乃骐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Building Technology Guangzhou Co Ltd
Original Assignee
Hitachi Building Technology Guangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Building Technology Guangzhou Co Ltd filed Critical Hitachi Building Technology Guangzhou Co Ltd
Priority to CN202111214747.3A priority Critical patent/CN114014116A/en
Publication of CN114014116A publication Critical patent/CN114014116A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B1/00Control systems of elevators in general
    • B66B1/34Details, e.g. call counting devices, data transmission from car to control system, devices giving information to the control system
    • B66B1/3407Setting or modification of parameters of the control system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a method, a system, a device and a storage medium for sectionally upgrading an elevator main control program. The elevator main control program subsection upgrading method comprises the following steps: initiating an upgrade request; acquiring upgrading data according to the upgrading request; when the upgrade data exceeds the maximum capacity or the acquisition is completed, suspending the acquisition of the upgrade data and writing the upgrade data into the elevator master control; judging whether the upgrade data is completely acquired or not, if not, returning to the step of acquiring the upgrade data according to the upgrade request; and if the upgrade data is acquired, feeding back that the elevator master control program upgrade is finished. The invention can be widely applied to the technical field of elevators by suspending the acquisition of the upgrade data when the upgrade data exceeds the maximum capacity or the acquisition is completed, writing the acquired upgrade data into the elevator main control, and continuously acquiring the rest upgrade data after the writing is completed.

Description

Method, system, device and storage medium for sectionally upgrading elevator master control program
Technical Field
The application relates to the technical field of elevators, in particular to a method, a system, a device and a storage medium for sectionally upgrading elevator master control programs.
Background
With the development of social economy, the requirements of people on life quality are higher and higher, and the elevator is taken as a public transportation device which is very convenient in life of people and is popularized to middle and high-rise buildings and markets. According to statistics, the number of the elevators produced in China in 2020 reaches 105 thousands, and the remaining capacity of the elevators breaks through 800 thousands. The elevator enables people to go up and down floors more conveniently, and becomes indispensable riding instead of walk equipment and transportation equipment in people's daily life.
In the using process of the elevator, the central control program of the elevator is often required to be upgraded and maintained, and the functions of the elevator are maintained and perfected, wherein one common and convenient upgrading method is to upgrade the main control program of the elevator by a remote upgrading method. The remote upgrade method of the elevator main control program requires the writing of upgrade data by means of a Data Transfer Unit (DTU). However, if the size of the upgrade data exceeds the capacity of the DTU, the remote upgrade of the elevator main control program cannot be completed by the DTU at once.
Disclosure of Invention
The present invention aims to solve at least to some extent one of the technical problems existing in the prior art.
Therefore, an object of the embodiments of the present invention is to provide a method for upgrading an elevator master control program in a segmented manner, where the method performs segmented acquisition and writing of upgrade data according to the size of a memory of the upgrade data, so as to implement automatic segmented upgrading of the elevator master control program in response to the upgrade data of the large memory.
Another object of the embodiment of the present invention is to provide a segmented upgrading system for elevator main control programs.
In order to achieve the technical purpose, the technical scheme adopted by the embodiment of the invention comprises the following steps:
in a first aspect, an embodiment of the present invention provides a segmented upgrading method for an elevator master control program, including the following steps:
initiating an upgrade request;
acquiring upgrading data according to the upgrading request;
when the upgrade data exceeds the maximum capacity or the acquisition is completed, suspending the acquisition of the upgrade data and writing the upgrade data into an elevator main control;
judging whether the upgrade data is acquired completely, if not, returning to the step of acquiring the upgrade data according to the upgrade request;
and if the upgrade data is obtained completely, feeding back that the elevator master control program upgrade is completed.
According to the segmented upgrading method for the elevator main control program, the upgrading data are temporarily stopped being obtained when the upgrading data exceed the maximum capacity or the obtaining is completed, the obtained upgrading data are written into the elevator main control, and the rest upgrading data are continuously obtained after the writing is completed, so that the automatic segmented upgrading of the elevator main control program aiming at the upgrading data of a large memory is realized.
In addition, the elevator main control program subsection upgrading method according to the above embodiment of the present invention may further have the following additional technical features:
further, in the segmented upgrading method for the elevator main control program according to the embodiment of the present invention, the upgrade request includes version information and an acquisition path of the upgrade data;
the obtaining of upgrade data according to the upgrade request includes:
checking the upgrading request and judging whether the upgrading request meets the upgrading requirement or not;
if the upgrading request meets the upgrading requirement, establishing connection with the upgrading data according to the obtaining path;
and acquiring the upgrading data through connection.
Further, in an embodiment of the present invention, the obtaining upgrade data according to the upgrade request further includes:
and if the upgrading request does not meet the upgrading requirement, rejecting the upgrading request and prompting that the upgrading request fails.
Further, in an embodiment of the present invention, the verifying the upgrade request and determining whether the upgrade request meets an upgrade requirement includes:
checking whether the version information is matched with an elevator master control, wherein the version information comprises a program version, a program size and an upgrading section of the upgrading data.
Further, in one embodiment of the present invention, the writing the upgrade data to an elevator master comprises:
acquiring the state of the elevator, and judging whether the elevator is in a maintenance state or not;
if the elevator is in a maintenance state, writing the upgrade data into an elevator main control at a first writing speed;
and if the elevator is not in a maintenance state, writing the upgrade data into the elevator main control at a second writing speed, wherein the second writing speed is less than the first writing speed.
Further, in an embodiment of the present invention, if the obtaining of the upgrade data is completed, the feeding back that the upgrade of the elevator main control program is completed includes:
if the upgrade data is acquired, checking whether the upgrade is completed with an elevator master control;
and if the elevator master control is upgraded, feeding back that the elevator master control program is upgraded.
Further, in an embodiment of the present invention, if the obtaining of the upgrade data is completed, checking whether the upgrade is completed with an elevator master controller includes:
after the upgrade data is written into the elevator master control, setting an upgrade completion flag;
and judging whether the upgrade data is completely written into the elevator master control through cyclic redundancy check according to the upgrade completion flag.
In a second aspect, an embodiment of the present invention provides a segmented upgrade system for an elevator master control program, including:
the upgrading request initiating module is used for initiating an upgrading request;
the upgrading data acquisition module is used for acquiring upgrading data according to the upgrading request;
the upgrade data acquisition suspending module is used for suspending the acquisition of the upgrade data when the upgrade data exceeds the maximum capacity or the acquisition is completed;
the upgrading data writing module is used for writing the upgrading data into an elevator master control;
the judging module is used for judging whether the upgrading data is acquired completely or not, and if the upgrading data is not acquired completely, returning to the step of acquiring the upgrading data according to the upgrading request;
and the upgrade completion feedback module is used for feeding back that the upgrade of the elevator main control program is completed if the upgrade data is obtained completely.
In a third aspect, an embodiment of the present invention provides an elevator master control program segmented upgrading apparatus, including:
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 method for staging an elevator master control program.
In a fourth aspect, the embodiment of the present invention provides a storage medium, in which a program executable by a processor is stored, and when the program executable by the processor is executed by the processor, the program is used for implementing the segmented upgrading method for the elevator main control program.
Advantages and benefits of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application:
according to the embodiment of the invention, the acquisition of the upgrade data is suspended when the upgrade data exceeds the maximum capacity or is acquired, the acquired upgrade data is written into the elevator main control, and the rest upgrade data is continuously acquired after the writing is completed, so that the automatic segmented upgrade of the elevator main control program aiming at the upgrade data of a large memory is realized, and no additional labor is required to be invested in the upgrade process of the elevator main control program.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description is made on the drawings of the embodiments of the present application or the related technical solutions in the prior art, and it should be understood that the drawings in the following description are only for convenience and clarity of describing some embodiments in the technical solutions of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a specific embodiment of a segmented upgrading method of an elevator main control program of the invention;
fig. 2 is a schematic diagram of an implementation architecture of a specific embodiment of a segmented upgrading method for an elevator main control program according to the present invention;
fig. 3 is a schematic diagram of a connection mode of a specific embodiment of a method for upgrading an elevator master control program in a segmented manner according to the invention;
fig. 4 is a schematic structural diagram of a specific embodiment of a segmented upgrading system of an elevator main control program according to the invention;
fig. 5 is a schematic structural diagram of a specific embodiment of an elevator master control program segmented upgrading device according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
With the development of social economy, the requirements of people on life quality are higher and higher, and the elevator is taken as a public transportation device which is very convenient in life of people and is popularized to middle and high-rise buildings and markets. According to statistics, the number of the elevators produced in China in 2020 reaches 105 thousands, and the remaining capacity of the elevators breaks through 800 thousands. The elevator enables people to go up and down floors more conveniently, and becomes indispensable riding instead of walk equipment and transportation equipment in people's daily life.
In the using process of the elevator, the central control program of the elevator is often required to be upgraded and maintained, and the functions of the elevator are maintained and perfected, wherein one common and convenient upgrading method is to upgrade the main control program of the elevator by a remote upgrading method. The remote upgrade method of the elevator main control program requires the writing of upgrade data by means of a Data Transfer Unit (DTU). However, if the size of the upgrade data exceeds the capacity of the DTU, the remote upgrade of the elevator main control program cannot be completed by the DTU at once.
The invention provides a segmented upgrading method and a segmented upgrading system for an elevator main control program, which are different from the traditional elevator main control program upgrading method which solves the problem that the remote upgrading of the upgrading data of a large memory is difficult to realize.
The method and the system for sectionally upgrading the elevator main control program provided by the embodiment of the invention are described in detail below with reference to the attached drawings, and firstly, the method for sectionally upgrading the elevator main control program provided by the embodiment of the invention is described with reference to the attached drawings.
Referring to fig. 1, an embodiment of the present invention provides a method for upgrading an elevator master control program in a segmented manner, and the method for upgrading an elevator master control program in a segmented manner in an embodiment of the present invention may be applied to a terminal, a server, software running in a terminal or a server, or the like. The terminal may be, but is not limited to, a tablet computer, a notebook computer, a desktop computer, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like. The elevator main control program subsection upgrading method in the embodiment of the invention mainly comprises the following steps:
s101, initiating an upgrading request;
specifically, the upgrade request includes version information and an acquisition path of the upgrade data.
Referring to fig. 2 and 3, the sectional upgrading of the elevator main control program is completed by the cooperation of the remote monitoring server, the remote upgrading server, the DTU wireless remote monitoring and the elevator main control. When the upgrading task starts, an upgrading request is firstly sent to the DTU wireless remote monitoring through the remote monitoring server, so that the DTU responds to the upgrading request and establishes connection with the remote upgrading server.
The DTU is used for converting the serial port data into the IP data or converting the IP data into the serial port data and transmitting the serial port data through a wireless communication network. The DTU internally integrates a TCP/IP protocol stack. The DTU keeps connection with the remote monitoring server according to the TCP of the remote monitoring server.
Each upgrade request initiated by the remote monitoring server comprises a unique upgrade task ID, the upgrade task ID comprises an acquisition path (package serial number of the upgrade data) of the upgrade data, and the DTU needs to attach the upgrade task ID to acquire the specified upgrade data when establishing connection with the remote upgrade server every time, so that errors of the upgrade data acquired by the DTU are prevented.
S102, obtaining upgrading data according to the upgrading request;
specifically, after receiving an upgrade request sent by the remote monitoring server, the DTU verifies the upgrade request and feeds back a verification result to the remote monitoring server. If the verification is passed, identifying the information of the remote upgrade server contained in the upgrade request through the DTU, and establishing TCP connection between the DTU and the remote upgrade server.
S102 may be further divided into the following steps S1021-S1023:
step S1021, checking the upgrading request, and judging whether the upgrading request meets the upgrading requirement;
according to step S101, the upgrade request includes version information and an acquisition path of the upgrade data. In particular, it is checked whether the version information matches the elevator master. Wherein the version information includes a program version, a program size, and an upgrade section of the upgrade data. And after receiving the upgrading request sent by the remote monitoring server, the DTU verifies the upgrading request, and judges whether the program version, the program size and the upgrading section of the upgrading data are matched with the elevator master control, so as to judge whether the upgrading request meets the upgrading requirement.
Step S1022, if the upgrade request meets the upgrade requirement, establishing connection with the upgrade data according to the acquisition path;
specifically, if the program version, the program size and the upgrading section of the upgrading data are matched with the elevator master control, the upgrading request meets the upgrading requirement, the DTU feeds back the acceptance of the upgrading request to the remote monitoring server, and the remote monitoring server prompts the DTU to respond to the upgrading request according to the feedback.
The DTU identifies the information of the remote upgrade server contained in the upgrade request, judges whether the IP port is consistent with the port used for current connection, and directly initiates a handshake instruction to the remote server to establish connection if the IP port is consistent with the port used for current connection; if not, the TCP connection between the DTU and the remote upgrade server is newly established.
On the other hand, if the program version, the program size and the upgrading section of the upgrading data are not matched with the elevator main control, the upgrading request does not meet the upgrading requirement, the DTU rejects the upgrading request and feeds back the rejected upgrading request to the remote monitoring server, and the remote monitoring server prompts that the upgrading request fails according to the feedback.
And step S1023, acquiring the upgrading data through connection.
Specifically, step S101 shows that the DTU establishes a connection with the remote upgrade server according to the upgrade task ID in the upgrade request, and acquires the specified upgrade data according to the acquisition path of the upgrade data in the upgrade task ID, thereby preventing the upgrade data acquired by the DTU from being in error.
S103, when the upgrade data exceeds the maximum capacity or is acquired completely, the acquisition of the upgrade data is suspended, and the upgrade data is written into an elevator main control;
specifically, the DTU needs to acquire the upgrade data first and then write the upgrade data into the elevator master control. It will be appreciated that when the size of the upgrade data exceeds the maximum capacity of the DTU, the DTU cannot complete the acquisition of the upgrade data in a single pass. In the embodiment of the invention, when the upgrading data fills the capacity of the DTU or the acquisition is completed, the DTU can automatically suspend the acquisition of the upgrading data, disconnect with the remote upgrading server and start to write the stored upgrading data into the elevator master control. The DTU can acquire the state of the elevator when writing the upgrade data into the elevator master control, and adjust the writing speed of the upgrade data written into the elevator master control according to the state of the elevator.
S103 may be further divided into the following steps S1031-S1033:
step S1031, obtaining the state of the elevator, and judging whether the elevator is in a maintenance state;
specifically, the DTU initiates a remote Bootloader request to the elevator master control, the elevator master control enters a remote Bootloader auditing state after receiving the remote Bootloader request, and the remote Bootloader is operated after the remote Bootloader auditing is passed. By operating the remote Bootloader, the preparation work of writing the upgrade data is completed while the elevator master control initialization is completed.
When the DTU writes the saved upgrade data into the elevator master control, the DTU firstly acquires the state of the elevator, judges whether the elevator is in a maintenance state, and adjusts the writing speed of the upgrade data according to whether the elevator is in the maintenance state.
Step S1032, if the elevator is in a maintenance state, writing the upgrade data into an elevator main control at a first writing speed;
and step S1033, if the elevator is not in the maintenance state, writing the upgrade data into the elevator main control at a second writing speed.
Wherein the second writing speed is less than the first writing speed.
Specifically, the 485 bus connected with the DTU and the elevator master control has communication data related to a remote monitoring function, and because the communication data cannot be terminated when the upgrade data is written in, a strict communication time sequence needs to be kept when the upgrade data is written in through the RS 485. When the elevator is in a maintenance state, the communication data does not need to send a fault report, and when the elevator is not in the maintenance state, the fault report needs to be sent, so that the byte number of each packet of data of the upgrade data is increased when the elevator is in the maintenance state. In the embodiment of the invention, if the elevator is in a maintenance state, the DTU writes the upgrade data into the elevator main control at the speed of 256 bytes per packet of data; if the elevator is not in maintenance, the DTU writes the upgrade data to the elevator master at a rate of 16 bytes per packet of data.
When the DTU writes the data packet of the upgrade data into the elevator main control, each packet of data comprises the address of data writing, and the elevator main control writes the data packet into a corresponding position according to the address of data writing.
In the embodiment of the invention, in the writing process of the upgrade data, the elevator master control checks the content of the upgrade data, and the DTU judges whether the stored upgrade data is completely written in real time. And after the upgrade data stored by the DTU is completely written into the elevator master control, the DTU empties the stored upgrade data and judges whether the upgrade data is completely acquired or not again.
S104, judging whether the upgrade data is completely acquired or not, and if the upgrade data is not completely acquired, returning to the step of acquiring the upgrade data according to the upgrade request;
specifically, after the upgrade data stored by the DTU is completely written into the elevator master control, the DTU clears the stored upgrade data and judges whether the upgrade data is acquired or not again. If the upgrade data is not acquired, returning to the step S102, and establishing the connection with the remote upgrade server again through the upgrade task ID; if the upgrade data acquisition is completed, whether the upgrade of the elevator main control program is completed or not needs to be verified.
In the embodiment of the invention, the DTU is reconnected with the remote upgrade server through the upgrade task ID, and judges whether the upgrade data is acquired according to the acquisition path of the upgrade data contained in the upgrade task ID; when the upgrade data is not completely acquired, the DTU continues to acquire the rest upgrade data from the remote upgrade server, and when the upgrade data exceeds the self maximum capacity or the acquisition is completed, the DTU suspends the acquisition of the upgrade data and continues to execute the steps S102-S104.
And S105, if the upgrade data is obtained completely, feeding back that the elevator master control program upgrade is completed.
Specifically, the DTU initiates a cyclic redundancy check, such as a CRC32 check, to the elevator master, the elevator master performs the cyclic redundancy check according to the program information, and if the check passes, the DTU is fed back that the check has passed. And the DTU replies the completion of the elevator master control upgrading to the server according to the feedback information that the elevator master control cyclic redundancy check passes, and finishes the upgrading task to complete the elevator master control program sectional upgrading.
S105 may be further divided into the following steps S1051-S1052:
and S1051, if the upgrade data is acquired, checking whether the upgrade is finished with the elevator master control.
Specifically, when the upgrade data is acquired, the DTU suspends the acquisition of the upgrade data, writes the acquired upgrade data into the elevator master control, and judges whether the stored upgrade data is completely written into the elevator master control in real time. And after the upgrade data stored by the DTU is completely written into the elevator master control, the DTU clears the stored upgrade data, judges whether the upgrade data is acquired completely or not again, and verifies whether the program upgrade is completed with the elevator master control or not.
In an embodiment of the invention, the elevator master sets the upgrade complete flag after the upgrade data is completely written to the elevator master. And judging whether the upgrade data is completely written into the elevator master control through cyclic redundancy check according to the upgrade completion flag.
And step S1052, if the elevator master control is upgraded, feeding back that the elevator master control program upgrading is finished.
Specifically, the DTU replies the completion of the elevator master control upgrading to the server according to the feedback information that the elevator master control cyclic redundancy check passes, and ends the upgrading task to complete the elevator master control program subsection upgrading.
Next, an elevator main control program subsection upgrading system provided according to an embodiment of the application is described with reference to the attached drawings.
Fig. 4 is a schematic structural diagram of a segmented upgrading system of an elevator main control program according to an embodiment of the application.
The system specifically comprises:
the upgrading request initiating module is used for initiating an upgrading request;
the upgrading data acquisition module is used for acquiring upgrading data according to the upgrading request;
the upgrade data acquisition suspending module is used for suspending the acquisition of the upgrade data when the upgrade data exceeds the maximum capacity or the acquisition is completed;
the upgrading data writing module is used for writing the upgrading data into an elevator master control;
the judging module is used for judging whether the upgrading data is acquired completely or not, and if the upgrading data is not acquired completely, returning to the step of acquiring the upgrading data according to the upgrading request;
and the upgrade completion feedback module is used for feeding back that the upgrade of the elevator main control program is completed if the upgrade data is obtained completely.
It can be seen that the contents in the foregoing method embodiments are all applicable to this system embodiment, the functions specifically implemented by this system embodiment are the same as those in the foregoing method embodiment, and the advantageous effects achieved by this system embodiment are also the same as those achieved by the foregoing method embodiment.
Referring to fig. 5, an embodiment of the present application provides an elevator main control program segment upgrading device, including:
at least one processor 501;
at least one memory 502 for storing at least one program;
when the at least one program is executed by the at least one processor 501, the at least one processor 501 is caused to implement the method for staging elevator master control programs.
Similarly, the contents of the method embodiments are all applicable to the apparatus embodiments, the functions specifically implemented by the apparatus embodiments are the same as the method embodiments, and the beneficial effects achieved by the apparatus embodiments are also the same as the beneficial effects achieved by the method embodiments.
In alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present application are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are performed independently.
Furthermore, although the present application is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the functions and/or features may be integrated in a single physical device and/or software module, or one or more functions and/or features may be implemented in separate physical devices or software modules. It will also be appreciated that a detailed discussion regarding the actual implementation of each module is not necessary for an understanding of the present application. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer, given the nature, function, and internal relationship of the modules. Accordingly, those skilled in the art can, using ordinary skill, practice the present application as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative of and not intended to limit the scope of the application, which is defined by the appended claims and their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium, which includes programs for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable programs that can be considered for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with a program execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the programs from the program execution system, apparatus, or device and execute the programs. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the program execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable program execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the foregoing description of the specification, reference to the description of "one embodiment/example," "another embodiment/example," or "certain embodiments/examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: numerous changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.
While the present application has been described with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. The segmented upgrading method of the elevator main control program is characterized by comprising the following steps:
initiating an upgrade request;
acquiring upgrading data according to the upgrading request;
when the upgrade data exceeds the maximum capacity or the acquisition is completed, suspending the acquisition of the upgrade data and writing the upgrade data into an elevator main control;
judging whether the upgrade data is acquired completely, if not, returning to the step of acquiring the upgrade data according to the upgrade request;
and if the upgrade data is obtained completely, feeding back that the elevator master control program upgrade is completed.
2. The segmented upgrading method of the elevator main control program according to claim 1, characterized in that the upgrading request comprises version information and an obtaining path of the upgrading data;
the obtaining of upgrade data according to the upgrade request includes:
checking the upgrading request and judging whether the upgrading request meets the upgrading requirement or not;
if the upgrading request meets the upgrading requirement, establishing connection with the upgrading data according to the obtaining path;
and acquiring the upgrading data through connection.
3. The segmented upgrading method for the elevator main control program according to claim 2, wherein the step of obtaining upgrading data according to the upgrading request further comprises the following steps:
and if the upgrading request does not meet the upgrading requirement, rejecting the upgrading request and prompting that the upgrading request fails.
4. The segmented upgrading method for the elevator main control program according to claim 2, wherein the step of verifying the upgrading request and judging whether the upgrading request meets the upgrading requirement comprises the following steps:
checking whether the version information is matched with an elevator master control, wherein the version information comprises a program version, a program size and an upgrading section of the upgrading data.
5. The segmented upgrading method of the elevator main control program according to claim 1, wherein when the upgrading data exceeds the maximum capacity or is completely acquired, the acquiring of the upgrading data is suspended, and the upgrading data is written into an elevator main control, and the segmented upgrading method comprises the following steps:
acquiring the state of the elevator, and judging whether the elevator is in a maintenance state or not;
if the elevator is in a maintenance state, writing the upgrade data into an elevator main control at a first writing speed;
and if the elevator is not in a maintenance state, writing the upgrade data into the elevator main control at a second writing speed, wherein the second writing speed is less than the first writing speed.
6. The method for upgrading the elevator main control program in a segmented manner according to claim 1, wherein if the upgrade data is obtained completely, the step of feeding back that the upgrade of the elevator main control program is completed comprises the following steps:
if the upgrade data is acquired, checking whether the upgrade is completed with an elevator master control;
and if the elevator master control is upgraded, feeding back that the elevator master control program is upgraded.
7. The method of claim 6, wherein the step of verifying whether the upgrade is completed with the elevator master control if the upgrade data is obtained is performed, comprises:
after the upgrade data is written into the elevator master control, setting an upgrade completion flag;
and judging whether the upgrade data is completely written into the elevator master control through cyclic redundancy check according to the upgrade completion flag.
8. An elevator master control program subsection upgrading system, characterized by comprising:
the upgrading request initiating module is used for initiating an upgrading request;
the upgrading data acquisition module is used for acquiring upgrading data according to the upgrading request;
the upgrade data acquisition suspending module is used for suspending the acquisition of the upgrade data when the upgrade data exceeds the maximum capacity or the acquisition is completed;
the upgrading data writing module is used for writing the upgrading data into an elevator master control;
the judging module is used for judging whether the upgrading data is acquired completely or not, and if the upgrading data is not acquired completely, returning to the step of acquiring the upgrading data according to the upgrading request;
and the upgrade completion feedback module is used for feeding back that the upgrade of the elevator main control program is completed if the upgrade data is obtained completely.
9. The elevator master control program subsection upgrading device is characterized by comprising the following components:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement an elevator master control program segment upgrade method as claimed in any one of claims 1-7.
10. A storage medium having stored therein a program executable by a processor, characterized in that: the processor executable program when executed by a processor is for implementing an elevator main control program segment upgrade method as claimed in any one of claims 1-7.
CN202111214747.3A 2021-10-19 2021-10-19 Method, system, device and storage medium for sectionally upgrading elevator master control program Pending CN114014116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111214747.3A CN114014116A (en) 2021-10-19 2021-10-19 Method, system, device and storage medium for sectionally upgrading elevator master control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111214747.3A CN114014116A (en) 2021-10-19 2021-10-19 Method, system, device and storage medium for sectionally upgrading elevator master control program

Publications (1)

Publication Number Publication Date
CN114014116A true CN114014116A (en) 2022-02-08

Family

ID=80056673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111214747.3A Pending CN114014116A (en) 2021-10-19 2021-10-19 Method, system, device and storage medium for sectionally upgrading elevator master control program

Country Status (1)

Country Link
CN (1) CN114014116A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267263A (en) * 2004-03-18 2005-09-29 Nec Access Technica Ltd Adaptor card device, and download method of data to adaptor card device
CN103677946A (en) * 2013-12-30 2014-03-26 广州日滨科技发展有限公司 Method and system for updating elevator device control programs
US8990619B1 (en) * 2012-02-21 2015-03-24 Cisco Technology, Inc. Method and systems to perform a rolling stack upgrade
CN104850422A (en) * 2014-05-21 2015-08-19 北汽福田汽车股份有限公司 Method and system for remotely updating terminal equipment program
WO2017114213A1 (en) * 2015-12-31 2017-07-06 阿里巴巴集团控股有限公司 Method and apparatus for upgrading distributed storage system
CN109292559A (en) * 2017-07-24 2019-02-01 北京云迹科技有限公司 Elevator long distance upgrade-system and method
CN110321145A (en) * 2019-07-01 2019-10-11 珠海格力电器股份有限公司 Multi-joint group of planes System Computer group upgrade-system, method and apparatus
CN111623475A (en) * 2020-04-27 2020-09-04 海信(山东)空调有限公司 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner
CN112367643A (en) * 2020-10-30 2021-02-12 珠海市深瑞智联科技有限公司 Wireless sensor connection and remote upgrading method and monitoring system thereof
CN113094072A (en) * 2021-04-25 2021-07-09 上海华东汽车信息技术有限公司 Vehicle upgrading method and device, electronic device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267263A (en) * 2004-03-18 2005-09-29 Nec Access Technica Ltd Adaptor card device, and download method of data to adaptor card device
US8990619B1 (en) * 2012-02-21 2015-03-24 Cisco Technology, Inc. Method and systems to perform a rolling stack upgrade
CN103677946A (en) * 2013-12-30 2014-03-26 广州日滨科技发展有限公司 Method and system for updating elevator device control programs
CN104850422A (en) * 2014-05-21 2015-08-19 北汽福田汽车股份有限公司 Method and system for remotely updating terminal equipment program
WO2017114213A1 (en) * 2015-12-31 2017-07-06 阿里巴巴集团控股有限公司 Method and apparatus for upgrading distributed storage system
CN109292559A (en) * 2017-07-24 2019-02-01 北京云迹科技有限公司 Elevator long distance upgrade-system and method
CN110321145A (en) * 2019-07-01 2019-10-11 珠海格力电器股份有限公司 Multi-joint group of planes System Computer group upgrade-system, method and apparatus
CN111623475A (en) * 2020-04-27 2020-09-04 海信(山东)空调有限公司 Method and device for upgrading outdoor EEPROM of air conditioner, storage medium and air conditioner
CN112367643A (en) * 2020-10-30 2021-02-12 珠海市深瑞智联科技有限公司 Wireless sensor connection and remote upgrading method and monitoring system thereof
CN113094072A (en) * 2021-04-25 2021-07-09 上海华东汽车信息技术有限公司 Vehicle upgrading method and device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
EP3554010A1 (en) Method and system for use in constructing content delivery network platform on heterogeneous resources
CN103873279B (en) Server management method and server management device
CN103281359A (en) Cloud desktop system and operating method
WO2011116583A1 (en) Method and apparatus for implementing management of multi-protocol communication components
WO2021031889A1 (en) Upgrade method, communication device and computer-readable storage medium
CN108512747A (en) The plug-in management method and home gateway of home gateway, communication system
CN103312549A (en) Transaction management method, device and system
CN110210845B (en) Method, apparatus, medium, and computing device for blockchain data migration
CN108762898A (en) A kind of management method, terminal device and the computer readable storage medium of thread interface
CN108183918A (en) A kind of AAA high concurrents authentication method and system
CN106790403B (en) Method for realizing mobile cloud computing intermediate platform and method for realizing distribution
CN112698838B (en) Multi-cloud container deployment system and container deployment method thereof
CN106775993A (en) A kind of physical machine is migrated to the method and system of cloud computing platform
CN111858050B (en) Server cluster hybrid deployment method, cluster management node and related system
CN110677464A (en) Edge node device, content distribution system, method, computer device, and medium
CN104333617B (en) A kind of method that rack cabinets set static IP automatically under linux system
CN114014116A (en) Method, system, device and storage medium for sectionally upgrading elevator master control program
CN107741853A (en) A kind of method, system and the information management platform of deployment services device
CN111308978B (en) Communication method and industrial control back plate bus system
CN109918140A (en) A kind of cloud application method of controlling operation thereof and device
CN101593122A (en) A kind of startup method and apparatus of embedded system
US10402282B1 (en) Assisted device recovery
CN1609819B (en) Test method for computer external equipment interface
CN114895933A (en) System upgrade method, network device, medium, and electronic device
CN110022310B (en) Authorization method and device based on cloud computing open network operating system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220208