CN116048595A - Intelligent terminal noninductive upgrading method and system and electric forklift - Google Patents

Intelligent terminal noninductive upgrading method and system and electric forklift Download PDF

Info

Publication number
CN116048595A
CN116048595A CN202211474518.XA CN202211474518A CN116048595A CN 116048595 A CN116048595 A CN 116048595A CN 202211474518 A CN202211474518 A CN 202211474518A CN 116048595 A CN116048595 A CN 116048595A
Authority
CN
China
Prior art keywords
upgrade
package
upgrading
new firmware
main collector
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
CN202211474518.XA
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.)
Xuzhou Xugong Special Construction Machinery Co Ltd
Original Assignee
Xuzhou Xugong Special Construction Machinery 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 Xuzhou Xugong Special Construction Machinery Co Ltd filed Critical Xuzhou Xugong Special Construction Machinery Co Ltd
Priority to CN202211474518.XA priority Critical patent/CN116048595A/en
Publication of CN116048595A publication Critical patent/CN116048595A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a non-inductive upgrade method and a system of an intelligent terminal and an electric forklift, which belong to the technical field of intelligent equipment, wherein the method comprises the following steps: acquiring a new demand and a firmware package, updating the firmware package according to the new demand, and simultaneously giving out a frame identifier of the new firmware package; the method comprises the steps of timing a main collector, dividing a new firmware packet into a plurality of upgrading packets according to frames, and transmitting the upgrading packets to the main collector, and checking frame identifiers of the upgrading packets by the main collector to confirm that the upgrading packets belong to the new firmware packet; merging the upgrade package into a new firmware package after the transmission is completed, checking whether the new firmware package is complete or not through a boot area program of the main collector, covering the new firmware package to an operation area of the main collector if the new firmware package is complete, then operating the new firmware package, automatically restarting the main collector in a non-busy time, completing the non-inductive upgrade of the intelligent terminal, and adopting a low-priority response strategy when processing the upgrade package; and the non-inductive upgrading of the intelligent terminal is realized through a breakpoint continuous transmission mechanism, a time synchronization strategy, a low-priority response strategy and an autonomous upgrading strategy.

Description

Intelligent terminal noninductive upgrading method and system and electric forklift
Technical Field
The invention relates to a non-inductive upgrading method and system of an intelligent terminal and an electric forklift, and belongs to the technical field of intelligent equipment.
Background
In the using process of the intelligent terminal of the electric forklift, the intelligent terminal is often updated due to the update of the internet of vehicles platform and functions, and old equipment is updated. Because the main tasks of the intelligent terminal are data acquisition, data processing and transmission, in order not to influence the normal operation of the equipment in the process of firmware package transmission, the online upgrade control system needs to avoid the busiest moment of the intelligent terminal for firmware package transmission. Finally, the signal strength of the field wireless network may be weak, and electromagnetic interference in the industrial area may be strong, so that transmission of a certain data packet fails, and therefore, the transmission process also needs to ensure that the collector finally receives a complete and available new firmware packet. This is not possible with the prior art.
Disclosure of Invention
The invention aims to provide a non-inductive upgrading method and system for an intelligent terminal and an electric forklift, and solves the problems that in the prior art, the normal operation of equipment is affected, the reliability is poor and the like.
In order to achieve the above purpose, the invention is realized by adopting the following technical scheme:
in a first aspect, the present invention provides a method for non-inductive upgrade of an intelligent terminal, including:
acquiring a new demand and a firmware package, updating the firmware package according to the new demand, and simultaneously giving out a frame identifier of the new firmware package;
the method comprises the steps of timing a main collector, dividing a new firmware packet into a plurality of upgrading packets according to frames, and transmitting the upgrading packets to the main collector, and checking frame identifiers of the upgrading packets by the main collector to confirm that the upgrading packets belong to the new firmware packet;
and merging the upgrade package into a new firmware package after the transmission is completed, checking whether the new firmware package is complete or not through a boot area program of the main collector, covering the new firmware package to an operation area of the main collector if the new firmware package is complete, operating the new firmware package after the coverage is successful, automatically restarting the main collector in a non-busy time, finishing the non-inductive upgrade of the intelligent terminal, and adopting a low-priority response strategy when the upgrade package is processed.
With reference to the first aspect, further, the method for transmitting the new firmware packet into a plurality of upgrade packets according to frames to the main collector includes:
the method comprises the steps that new firmware is divided into a plurality of upgrading packages according to a frame package through a wireless network, the upgrading packages are sequentially transmitted to a main collector from a 0 th frame, the main collector checks frame identifiers of the received upgrading packages to confirm that the upgrading packages belong to the new firmware packages, the upgrading packages passing verification are stored in an external memory FLASH chip, meanwhile, a firmware interactive program of the main collector feeds back frame numbers of the received upgrading packages to a monitoring center, if the upgrading packages are not verified, the firmware interactive program of the main collector feeds back frame numbers of a previous frame to the monitoring center, and the monitoring center sequentially transmits next frame upgrading packages according to the received frame numbers until the monitoring center transmits the last frame upgrading package.
In combination with the first aspect, further, if the number of times that the verification of the one-frame upgrade package fails reaches the preset number of times, the upgrade is paused, the abnormal information of receiving and transmitting is displayed through the display screen of the main collector, and the manual intervention is waited.
In a second aspect, the present invention also provides an intelligent terminal non-inductive upgrade system for implementing the method of any one of the first aspect, including a main collector and a monitoring center, where the monitoring center includes an online upgrade control system and a sub-packet framing unit, the sub-packet framing unit is used for dividing a new firmware packet into a plurality of upgrade packets according to frames, and the online upgrade control system is used for transmitting the upgrade packets to the main collector; the main collector is used for merging the upgrade package into a new firmware package, checking whether the new firmware package is complete, covering the new firmware package to an operation area of the main collector if the new firmware package is complete, and operating the new firmware package after the coverage is successful.
With reference to the second aspect, further, the embedded processor of the main collector is an ARM 9-series 32-bit processor STM32F207, capable of supporting the operation of an embedded real-time operating system, the on-chip FLASH of the STM32F207 supports an on-line programming technology, and in order to implement on-line upgrading, the on-chip FLASH code area of 1MByte of the STM32F207 is divided into two functional areas during the embedded programming: a boot zone and a run zone.
In a third aspect, the present invention further provides an electric forklift, including an intelligent terminal, a travelling motor, an oil pump motor and a controller, where the intelligent terminal sends control signals to the controller, and the travelling motor and the oil pump motor drive the electric forklift to travel and act under the control of the controller, and the intelligent terminal adopts the method of any one of the first aspects when being upgraded.
Compared with the prior art, the invention has the following beneficial effects:
according to the intelligent terminal non-inductive upgrading method, the intelligent terminal non-inductive upgrading system and the electric forklift, the updated new firmware package is divided into a plurality of upgrading packages according to frames and transmitted to the main collector, namely, the new firmware package is transmitted by a breakpoint continuous transmission method, so that the normal operation of equipment is not affected in the process of transmitting the firmware package, meanwhile, the transmission of the firmware package is divided into a plurality of times by considering the restriction of various factors such as a network transmission mechanism, a communication module cache and the like, good fault tolerance performance is achieved, and the reliability is greatly improved; by timing the main collector before transmitting the new firmware package, the important task of the main collector operation is predictable in the time of crossing minutes or hours, the task period and the time length can be predicted, the busy time transmission of the main collector can be avoided after the time synchronization, the influence of the receiving and feedback of the upgrade package on the observation service is reduced, the main collector adopts a low priority response strategy when processing the upgrade package, the priority of processing the upgrade package is reduced, the upgrade package is processed after the acquisition, the display, the storage and the transmission of the main collector are completed, the reliability and the noninductive energy are improved, and meanwhile, the restarting of the main collector is not triggered by instructions or commands, the new firmware is covered and automatically restarted in the non-busy time after the operation, and the noninductive upgrade of the intelligent terminal is realized through the time synchronization strategy, the low priority corresponding strategy and the autonomous upgrade strategy.
Drawings
FIG. 1 is one of the flowcharts of a method for non-inductive upgrade of an intelligent terminal provided by an embodiment of the invention;
fig. 2 is a frame diagram of an intelligent terminal non-inductive upgrade system provided by an embodiment of the invention;
FIG. 3 is a second flowchart of a method for non-inductive upgrade of an intelligent terminal according to an embodiment of the present invention;
fig. 4 is a flowchart of wireless packet transmission data according to an embodiment of the present invention;
FIG. 5 is a flowchart of a breakpoint resume mechanism provided by an embodiment of the present invention;
FIG. 6 is a flow chart of a non-inductive upgrade strategy provided by an embodiment of the present invention;
FIG. 7 is a block diagram of an intelligent terminal non-inductive upgrade system provided by an embodiment of the invention;
fig. 8 is a block diagram of an electric forklift according to an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings, and the following examples are only for more clearly illustrating the technical aspects of the present invention, and are not to be construed as limiting the scope of the present invention.
Example 1
As shown in fig. 1, the method for non-inductive upgrade of an intelligent terminal provided by the embodiment of the invention comprises the following steps:
s1, acquiring a new demand and a firmware package, updating the firmware package according to the new demand, and simultaneously giving out a frame identification of the new firmware package.
And acquiring new requirements set by an on-line upgrading control system of the human or monitoring center, optimizing and updating the firmware package according to the new requirements to obtain a new firmware package, and giving out frame identification of the new firmware package.
S2, timing the main collector, dividing the new firmware package into a plurality of upgrading packages according to frames, and transmitting the upgrading packages to the main collector, and checking the frame identification of the upgrading packages by the main collector to confirm that the upgrading packages belong to the new firmware package.
As shown in fig. 3, the online upgrade control system of the monitoring center divides the new firmware into a plurality of upgrade packages according to frame packages through the wireless network, and sequentially transmits the upgrade packages to the main collector from the 0 th frame, and the main collector checks the frame identification of the received upgrade package to confirm that the upgrade package belongs to the new firmware package, namely, invokes the firmware interactive program to verify.
The upgrade codes passing the verification are stored in the external memory FLASH chip, and the firmware interactive program feeds back the frame numbers of the received upgrade packages to the monitoring center. And the monitoring center sequentially transmits the next frame of upgrade package according to the received feedback information, and the process is circulated until the monitoring center finishes transmitting the last frame of upgrade package (namely, ending the frame).
The embedded processor of the main collector is an ARM9 series 32-bit processor STM32F207, can support the operation of an embedded real-time operating system, the on-chip FLASH of the main collector supports an on-line programming technology, and the STM32F207 processor is provided with an on-chip FLASH code area of 1MByte, so that the code area is divided into two functional areas during the embedded programming for realizing the on-line upgrading: a boot zone and a run zone.
When the equipment is started, a boot area program is firstly run, the program firstly initializes an external memory FLASH, and checks whether a complete new firmware package upgrading code exists in a fixed address on the FLASH. If so, starting a firmware code coverage flow: and unlocking the on-chip FLASH, calling an on-chip FLASH block operation function to erase the original codes of the running area, writing new codes into the on-chip FLASH running area of the processor according to the sequence, and locking the on-chip FLASH to inhibit the running codes from being rewritten during normal running. The code is written into the run-time area in turn. When the last byte is burnt, the boot program will clear the upgrade code in the external memory FLASH, and then restart the device. If the boot program does not find the complete upgrade code in the external memory FLASH, executing the normal operation flow: the operation area is jumped to a starting address of an operation area, a bus and a clock are initialized, interrupt enabling is performed, a data structure is initialized, and tasks such as data acquisition, processing and transmission are started to be executed.
The monitoring center transmits the new firmware package to the main collector, and data is transmitted through wireless sub-packets, and the specific flow is shown in fig. 4.
The wireless sub-package transmission interaction process through the mobile public network is mainly completed through 3 programs, namely an online upgrade control system and a sub-package framing unit which are positioned on an automatic station monitoring center server and a firmware interaction program which is positioned in a main collector, wherein the sub-package framing unit is used for dividing a new firmware package into a plurality of upgrade packages according to frames, and the online upgrade control system is used for transmitting the upgrade packages to the main collector.
The online upgrade control system is a subsystem of the automatic station monitoring center, and is used for inquiring version numbers of intelligent terminal equipment observed by networking and initiating automatic upgrade. When a certain station on the observation network of the automatic station is found to need to upgrade firmware, the network parameters and the SIM card IP address corresponding to the station are searched and set through the monitoring center database, and then the latest firmware code file is opened. After starting transmission, a new firmware code file is read in a binary mode, the total frame number required to be transmitted in a subpacket mode is calculated according to the file size and the maximum capacity allowed to be transmitted by each frame, and then a framing function is called to generate a firmware upgrading frame.
Starting from the 0 th frame, the framing function firstly checks the reasonability of the current frame number, and if an abnormal condition occurs, the framing function exits from the upgrading and records the upgrading in the log file. And under normal conditions, calculating an offset address of the upgrade code read from the file according to the current frame number, and calculating the check code. And finally, combining the frame header, the frame number, the total number, the frame length, the upgrade code, the check code and the ending symbol together to form a complete upgrade package. The upgrade package is sent to the wireless communication module through the Internet and the mobile base station, finally, after the upgrade package sent by the monitoring center is received by the serial port monitoring program of the collector host computer, the frame identification is checked, and if the upgrade package is confirmed to belong to the firmware package, the firmware interaction program is entered for processing. The program first reads the frame number and the total number (the total number of frames of the upgrade package). If the frame 0 is received, the program erases the appointed block address in the external memory Flash so as to write the content of the upgrade package, and if the erasing fails, the collector returns failure information to inform the online upgrade control system that the equipment does not have online upgrade capability; when the frame number is greater than 0, checking whether the current number is a continuation of the last received number, and for the packets with continuous numbers, checking, calculating and writing the packets into the Flash; and discarding the discontinuous packets, and feeding back the frame numbers which are correctly received last time to the online upgrade control system so as to enable the monitoring center to resend the upgrade packets. And when the firmware interactive program correctly receives the last frame of upgrade packet, writing the data packet and the upgrade identification into the external Flash. After finishing important tasks such as minute statistics, positive point data uploading and the like, the collector host computer is restarted automatically, and the work of erasing old firmware and burning new firmware is finished in the Flash in the chip.
The wireless packet transmission data includes breakpoint resume, and a flow of the breakpoint resume mechanism provided by the embodiment of the invention is shown in fig. 5.
Specifically, the wireless communication module may fail to restart; the mobile base station channel allocation or network congestion may cause the wireless communication module to be offline for a period of time and then to be re-online, which is a frequent occurrence. The breakpoint continuous transmission ensures that under the condition that any frame of upgrading packet is lost or the code is changed, the upgrading system can also start to continue to transmit at the lost code segment, and ensures that the collector host finally receives the complete and correct code.
The online upgrade control system monitors the upgrade process and waits to receive feedback information after each frame is transmitted, as shown in the following figure. When the control system sends the nth frame upgrade package, 2 kinds of feedback information are received: the collector returns number N or number N-1. The return number N indicates that the nth frame has been received for storage, at which time the control system will continue to send the n+1th frame upgrade package; the return number N-1 indicates that the collector received the nth frame but did not pass the check, at which time the control system will continue to send the nth frame upgrade package. There are also 2 cases where no feedback information is received: the nth frame does not reach the collector or the collector returns the number N but is not received by the control system. In both cases, the control system does not receive the correct return information, and after monitoring for a period of time, the control system tries to send the nth frame upgrade packet again, if the control system tries to receive the return information for 5 times, the control system pauses automatic upgrade, displays abnormal receiving and transmitting information, and waits for manual intervention. The breakpoint continuous transmission mechanism online upgrade control system adopted by the design is an initiative, and the task and algorithm complexity of the automatic station collector are reduced as much as possible. The complex wireless signal environment facing the automatic station can still ensure that the upgrade package written into the external Flash by the collector cannot be deleted or repeated, thereby enhancing the reliability of wireless transmission.
S3, merging the upgrade package into a new firmware package after the transmission is completed, checking whether the new firmware package is complete or not through a boot area program of the main collector, covering the new firmware package to an operation area of the main collector if the new firmware package is complete, operating the new firmware package after the new firmware package is successfully covered, automatically restarting the main collector in a non-busy time, finishing the noninductive upgrade of the intelligent terminal, and adopting a low-priority response strategy when the upgrade package is processed.
After the main collector receives the last frame of upgrade package and checks the upgrade package, the main collector automatically restarts in the non-busy time, checks whether the external memory FLASH has a complete new firmware program through the boot area program, and then calls the firmware update program to cover the new program to the operation area strictly according to the code sequence, and the new program is operated after the coverage is successful.
In the invention, the reliability and noninductive performance of firmware upgrade are more important than the upgrade speed, the average time for sending upgrade frames and receiving feedback information is longer under the influence of the complex route of the mobile public network and the low priority strategy of the collector end, but the upgrade is still reliably completed; from the breakpoint continuous transmission condition, the complexity of the transmission network affects not only the transmission time, but also the transmission quality, and may cause the transmission timeout or partial transcoding of the upgrade frame or the feedback information, so the number of automatic continuous transmission attempts of the upgrade control system should be properly increased to reduce the probability of manual intervention as much as possible.
The non-inductive upgrade strategy used in the present invention includes a time synchronization strategy, a low priority corresponding strategy, and an autonomous upgrade strategy, as shown in fig. 6.
The data acquisition of the intelligent terminal is divided into two parts: the digital signal acquisition based on interrupt response and the analog signal acquisition based on cyclic tasks increase the external interrupt response frequency in the upgrade package receiving process, and influence the analog signal acquisition period. The automatic station data processing and storing functions are mainly completed through a circulation structure task, and the display screen refreshing and observation data wireless transmission tasks are performed through clock interrupt response, so that higher response priority is required. In the upgrading process, an appropriate strategy is adopted, the influence of file transmission and equipment restarting on an observation task is reduced as much as possible, abnormal fluctuation of observation data is avoided, a terminal user cannot feel that the equipment is being upgraded, and the 'noninductive' performance of the whole upgrading process is realized.
The noninductive upgrading method adopts 3 strategies. First is a time synchronization strategy. After the online upgrade control system starts the upgrade, the master collector of the upgraded intelligent terminal is time-calibrated before the 0 th frame of upgrade packet is transmitted. Because the important tasks of the automatic station collector are all in a cross-minute or cross-hour time, the task period and the time length are predictable, and the control system can avoid the busiest time of the collector to send an upgrade data packet after time synchronization, thereby reducing the influence of upgrade packet receiving and feedback on the observation service. And secondly a low priority response policy. Because reliability and noninductive performance are more important than quick in the upgrading process, the collector can reduce the priority of processing the upgrade package: and (3) putting the interrupt response program into the embedded system to run, checking the check code of the upgrade package, writing the check code into the Flash, and sending feedback information after completing data acquisition, display, storage and transmission. And meanwhile, a monitoring program of the control system needs to set longer timeout time to match with the information feedback speed of low priority. Finally, an autonomous upgrade strategy. After the upgrade control program sends the upgrade package, the collector restarting time is not specified by the control system or triggered by a command. After the collector receives the last frame of upgrade package, the integrity mark is written into the appointed address of the external memory Flash, and then the idle time of the embedded task is selected to automatically restart and realize program upgrade within one minute.
According to the intelligent terminal non-inductive upgrading method provided by the embodiment of the invention, a subcontracting transmission interaction method and a breakpoint continuous transmission mechanism with good fault tolerance are designed by taking the delay characteristic of a wireless transmission network, the capacity limit of a wireless transmission module and the priority of a collector work task into consideration, and the influence on a main task is avoided by adopting a reasonable strategy in software operation; the method can ensure that the normal operation of the equipment is not influenced in the process of firmware package transmission through the breakpoint continuous transmission method, meanwhile, the restrictions of various factors such as a network transmission mechanism and a communication module buffer memory are also considered, the firmware package can be transmitted to the intelligent terminal for many times, the intelligent terminal has good fault tolerance performance, through the online noninductive upgrading system and the online noninductive upgrading method, the terminal user can avoid the situation that the equipment is not upgraded when the user uses busyness, the terminal user can not feel that the equipment is upgraded, the server of the cloud is linked through the network card to carry out the mounting of the upgrade file, the high-capacity local memory is not needed, the production cost and the later maintenance cost of the equipment are greatly reduced, the user experience is enriched, and the upgrade risk is reduced.
Example 2
As shown in fig. 2, the intelligent terminal non-inductive upgrade system for implementing the method described in embodiment 1 of the present invention includes a main collector and a monitoring center, where the monitoring center includes an online upgrade control system and a sub-packet framing unit, the sub-packet framing unit is used to divide a new firmware packet into a plurality of upgrade packets according to frames, and the online upgrade control system is used to transmit the upgrade packets to the main collector; the main collector is used for merging the upgrade package into a new firmware package, checking whether the new firmware package is complete, covering the new firmware package to an operation area of the main collector if the new firmware package is complete, and operating the new firmware package after the coverage is successful.
The embedded processor of the main collector is an ARM9 series 32-bit processor STM32F207, can support the operation of an embedded real-time operating system, an on-chip FLASH supports an on-line programming technology, and the STM32F207 processor is provided with an on-chip FLASH code area of 1MByte, so that the on-line upgrading is realized, and the code area is divided into two functional areas during the embedded programming: a boot zone and a run zone.
As shown in FIG. 7, the intelligent terminal noninductive upgrading system provided by the embodiment of the invention further comprises a display screen, a pump motor controller, a walking motor controller, an intelligent terminal and other components.
The display screen, the pump motor controller, the walking motor controller and the intelligent terminal are all on one path of CAN, and the logic judgment of the whole vehicle state is completed by collecting hard wire signals of the pump motor, the walking motor and the like and combining CAN signals fed back by all components, so that the control function of the pump motor and the walking motor is realized.
Example 3
As shown in fig. 8, the electric forklift provided by the embodiment of the invention comprises an intelligent terminal, a walking motor, an oil pump motor, a display screen and a controller, wherein the intelligent terminal sends control signals to the controller, the walking motor and the oil pump motor drive the electric forklift to run and act under the control of the controller, and the method described in the embodiment 1 is adopted by the intelligent terminal during upgrading.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.

Claims (6)

1. The intelligent terminal noninductive upgrading method is characterized by comprising the following steps of:
acquiring a new demand and a firmware package, updating the firmware package according to the new demand, and simultaneously giving out a frame identifier of the new firmware package;
the method comprises the steps of timing a main collector, dividing a new firmware packet into a plurality of upgrading packets according to frames, and transmitting the upgrading packets to the main collector, and checking frame identifiers of the upgrading packets by the main collector to confirm that the upgrading packets belong to the new firmware packet;
and merging the upgrade package into a new firmware package after the transmission is completed, checking whether the new firmware package is complete or not through a boot area program of the main collector, covering the new firmware package to an operation area of the main collector if the new firmware package is complete, operating the new firmware package after the coverage is successful, automatically restarting the main collector in a non-busy time, finishing the non-inductive upgrade of the intelligent terminal, and adopting a low-priority response strategy when the upgrade package is processed.
2. The method for non-inductive upgrade of an intelligent terminal according to claim 1, wherein the step of dividing a new firmware package into a plurality of upgrade packages by frames and transmitting the upgrade packages to a main collector comprises the steps of:
the method comprises the steps that new firmware is divided into a plurality of upgrading packages according to a frame package through a wireless network, the upgrading packages are sequentially transmitted to a main collector from a 0 th frame, the main collector checks frame identifiers of the received upgrading packages to confirm that the upgrading packages belong to the new firmware packages, the upgrading packages passing verification are stored in an external memory FLASH chip, meanwhile, a firmware interactive program of the main collector feeds back frame numbers of the received upgrading packages to a monitoring center, if the upgrading packages are not verified, the firmware interactive program of the main collector feeds back frame numbers of a previous frame to the monitoring center, and the monitoring center sequentially transmits next frame upgrading packages according to the received frame numbers until the monitoring center transmits the last frame upgrading package.
3. The method for the non-inductive upgrade of the intelligent terminal according to claim 2, wherein if the number of times that the verification of one frame of upgrade package fails reaches the preset number of times, the upgrade is paused, the abnormal information of the transmission and reception is displayed through the display screen of the main collector, and the manual intervention is waited.
4. An intelligent terminal noninductive upgrading system for implementing the method as claimed in any one of claims 1 to 3, characterized by comprising a main collector and a monitoring center, wherein the monitoring center comprises an online upgrading control system and a sub-packet framing unit, the sub-packet framing unit is used for dividing a new firmware packet into a plurality of upgrading packets according to frames, and the online upgrading control system is used for transmitting the upgrading packets to the main collector; the main collector is used for merging the upgrade package into a new firmware package, checking whether the new firmware package is complete, covering the new firmware package to an operation area of the main collector if the new firmware package is complete, and operating the new firmware package after the coverage is successful.
5. The intelligent terminal non-inductive upgrade system according to claim 4, wherein the embedded processor of the main collector is an ARM9 series 32-bit processor STM32F207, which can support the operation of the embedded real-time operating system, the on-chip FLASH supports the on-line programming technology, the STM32F207 processor has an on-chip FLASH code area of 1MByte, and in order to realize the on-line upgrade, the code area is divided into two functional areas during the embedded programming: a boot zone and a run zone.
6. An electric forklift, characterized by comprising an intelligent terminal, a walking motor, an oil pump motor and a controller, wherein the intelligent terminal sends control signals to the controller, the walking motor and the oil pump motor drive the electric forklift to run and act under the control of the controller, and the intelligent terminal adopts the method of any one of claims 1 to 3 when being upgraded.
CN202211474518.XA 2022-11-23 2022-11-23 Intelligent terminal noninductive upgrading method and system and electric forklift Pending CN116048595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211474518.XA CN116048595A (en) 2022-11-23 2022-11-23 Intelligent terminal noninductive upgrading method and system and electric forklift

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211474518.XA CN116048595A (en) 2022-11-23 2022-11-23 Intelligent terminal noninductive upgrading method and system and electric forklift

Publications (1)

Publication Number Publication Date
CN116048595A true CN116048595A (en) 2023-05-02

Family

ID=86115208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211474518.XA Pending CN116048595A (en) 2022-11-23 2022-11-23 Intelligent terminal noninductive upgrading method and system and electric forklift

Country Status (1)

Country Link
CN (1) CN116048595A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117880789A (en) * 2024-03-13 2024-04-12 四川九通智路科技有限公司 Bluetooth-based remote information upgrading method for Internet of things on-vehicle dimming system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117880789A (en) * 2024-03-13 2024-04-12 四川九通智路科技有限公司 Bluetooth-based remote information upgrading method for Internet of things on-vehicle dimming system
CN117880789B (en) * 2024-03-13 2024-05-03 四川九通智路科技有限公司 Bluetooth-based remote information upgrading method for Internet of things on-vehicle dimming system

Similar Documents

Publication Publication Date Title
CN108833122B (en) Wake-up method and device for vehicle-mounted communication controller and storage medium
CN112000355B (en) Method and device for firmware upgrading and household appliance
CN110471692B (en) Over-the-air upgrading method, device, equipment and storage medium of terminal program
CN102510409A (en) Method and system for quickly and remotely updating program of mobile terminal by using wireless network
CN116048595A (en) Intelligent terminal noninductive upgrading method and system and electric forklift
CN107015817B (en) Method for upgrading equipment firmware in air
CN101951391A (en) Method, device and system for remotely upgrading monitoring equipment
CN113824760B (en) File concurrency block uploading method and device, electronic equipment and storage medium
CN113746892B (en) Remote upgrading method and wireless terminal equipment
CN112383908A (en) Bluetooth device upgrading method and system
CN112486112A (en) EtherCAT master station control system and control method thereof
CN112256297A (en) Bluetooth peripheral firmware upgrading method and system and mobile phone terminal
CN114416135A (en) Internet of things cloud platform remote terminal upgrading system and method
CN112084159B (en) File synchronization system and method based on Bluetooth communication
CN111522571B (en) Equipment upgrading method and device, terminal equipment and storage medium
RU2656710C2 (en) Data transmission method and device
CN110149389B (en) Data transmission control method and system of holographic display device
CN112463174B (en) Method, device, equipment and storage medium for remotely unloading server
CN111694516B (en) Version online upgrading method and terminal of distributed block storage system
CN112764777B (en) Upgrading method, device and equipment of low-speed bus equipment and readable storage medium
CN115733729A (en) Communication fault processing method, system and equipment
CN110727448B (en) OTA over-the-air upgrading method for charging piles
CN113377405A (en) EPON mirror image upgrading method and system based on dynamic resource adjustment
CN111459519A (en) MCU upgrading method and device
CN113741390B (en) Method for FBL (flash memory controller) to write vehicle controller based on UDS (Universal diagnostic System) diagnostic service

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