CN110780910A - Method and system for updating software of lower computer and computer readable storage medium - Google Patents

Method and system for updating software of lower computer and computer readable storage medium Download PDF

Info

Publication number
CN110780910A
CN110780910A CN201911039831.9A CN201911039831A CN110780910A CN 110780910 A CN110780910 A CN 110780910A CN 201911039831 A CN201911039831 A CN 201911039831A CN 110780910 A CN110780910 A CN 110780910A
Authority
CN
China
Prior art keywords
software
updating
lower computer
computer
information
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
CN201911039831.9A
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.)
Suzhou Hybiome Biomedical Engineering Co Ltd
Original Assignee
Suzhou Hybiome Biomedical Engineering 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 Suzhou Hybiome Biomedical Engineering Co Ltd filed Critical Suzhou Hybiome Biomedical Engineering Co Ltd
Priority to CN201911039831.9A priority Critical patent/CN110780910A/en
Publication of CN110780910A publication Critical patent/CN110780910A/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/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • 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 application relates to a method and a system for updating software of a lower computer and a computer readable storage medium, comprising the following steps: dividing a FLASH storage space of the lower computer, writing a software updating program file into an application program area after receiving a software updating instruction of the lower computer, updating a software version number and an application program entry address, reading the updated software version number and the updated application program entry address, and jumping to the corresponding application program area for execution. The remote updating method and the remote updating system can realize remote updating of the software of the lower computer, greatly save labor, improve working efficiency and solve the problems of labor waste and low efficiency of the software updating method in the prior art.

Description

Method and system for updating software of lower computer and computer readable storage medium
Technical Field
The application belongs to the technical field of communication and medical instruments, and particularly relates to a chemiluminescence immunoassay analyzer, in particular to a method and a system for updating lower computer software of the chemiluminescence immunoassay analyzer, and a computer readable storage medium.
Background
The chemiluminescence immune analyzer is a medical inspection instrument for carrying out immune analysis on human bodies by detecting serum of patients, quantitatively analyzes the concentration of molecules to be detected in samples according to a mathematical model established by a standard substance, and finally prints a data report to assist clinical diagnosis.
The technology of the chemiluminescence immunoassay analyzer is updated quickly, and the user demand is high. Meanwhile, due to the fact that the client-side instruments are large in machine loading amount and wide in distribution, and the program versions of the instruments before leaving factories are large in difference, the program versions of all the instruments need to be accurately controlled.
The currently common lower computer software updating method needs to disassemble the computer, connect a special downloader and match with special downloaded software, and has high requirements on professional techniques of operators and high time and labor cost.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method and the system for updating the lower computer software and the computer readable storage medium are provided for solving the problems that in the prior art, the lower computer software updating method needs to be disassembled, is connected with a special downloader, is matched with special downloaded software, has higher requirements on professional technologies of operators and has higher time and labor cost.
The invention is mainly used for remotely updating the lower computer software of the chemiluminescence immunoassay analyzer on line, saves time and labor, greatly improves the working efficiency and saves the cost.
The technical scheme adopted by the invention for solving the technical problems is as follows:
the invention provides a method for updating lower computer software of a chemiluminescence analyzer, which comprises the following steps:
(1) dividing a FLASH storage space of a lower computer into: the system comprises a BootLoader program area, a software information area and an application program area, wherein the software information area stores software version information and corresponding entry address information of the application program area;
(2) starting the lower computer, entering a BootLoader program area to operate, and waiting for the upper computer to send a software updating instruction;
(3) the upper computer receives software version updating information and a corresponding software updating program file which are pushed by the remote data center, and if the chemiluminescence analyzer where the lower computer is located is judged to meet the condition of updating to a new version, a software updating instruction is sent to the lower computer;
(4) if the lower computer receives a software updating instruction sent by the upper computer, writing a software updating program file sent by the upper computer into a FLASH application program area with a specified address;
(5) operating a software information area, and updating software version information and a corresponding application program area entry address in the FLASH;
(6) and the lower computer reads the software version information in the software information area and the corresponding application program entry address, and jumps to the corresponding application program area to operate so as to realize remote online update of the software version.
According to the lower computer software updating method provided by the first aspect of the present invention, the step (3) further includes: comparing the current version number, the pre-version number and the parameter information needing to be updated of the updated software version with the software version related information stored in the local database, and if the chemiluminescence analyzer where the lower computer is located is judged to meet the condition of being updated to the new version, sending a software updating instruction to the lower computer.
According to the lower computer software updating method provided by the first aspect of the present invention, the step (4) further includes: and the lower computer receives the software downloading instruction, performs programming processing and updates the content of the corresponding application program area in the FLASH.
According to the method for updating software of a lower computer provided by the first aspect of the present invention, the receiving of the software downloading instruction by the lower computer further includes:
the upper computer analyzes the software updating program file to form a plurality of data packets, and sends a software downloading instruction comprising a programming command frame and a data frame;
and the lower computer receives the programming command frame and the data frame sent by the upper computer, writes corresponding programming data information into the application program area of the corresponding address after receiving a data packet, and sends response information of successful programming.
According to the lower computer software updating method provided by the first aspect of the invention, the upper computer and the lower computer are connected through a CAN bus, an SPI bus, an SCI bus, or RS232, RS485, IIC and a network.
The second aspect of the present invention provides a lower computer software updating system, including:
the storage space dividing module is used for dividing the FLASH storage space of the lower computer into: a BootLoader program area, a software information area and an application program area;
the instruction issuing module is used for sending a software updating instruction to the lower computer according to the software version updating information;
the program updating module is used for writing the software updating program file into the FLASH application program area of the specified address;
the information change module is used for updating the software version information and the corresponding application program area entry address in the FLASH;
and the program running module is used for reading the updated software version information and the corresponding application program inlet and jumping to the corresponding application program area for running.
According to the system for remotely updating the software of the lower computer of the chemiluminescence analyzer on line, provided by the second aspect of the invention, the program updating module comprises a data sending unit and a programming unit, wherein the data sending unit is configured in the upper computer and is used for analyzing software updating program files to form a plurality of data packets and sending software downloading instructions containing programming command frames and data frames; and the programming unit is configured in the lower computer and used for receiving the programming command frame and the data frame, writing corresponding programming data information into the application program area of the corresponding address after receiving a data packet, and sending response information of successful programming.
A third aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed, implements the lower computer software updating method according to any one of claims 1 to 4.
The invention has the beneficial effects that: the invention can realize the remote online update of the lower computer software of the chemiluminescence immunoassay analyzer without the help of manpower, thereby greatly improving the efficiency while saving the time and the labor cost.
Drawings
The technical solution of the present application is further explained below with reference to the drawings and the embodiments.
FIG. 1 is a flow chart of a method of an embodiment of the present application;
fig. 2 is a schematic diagram of memory space division according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The technical solutions of the present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Example 1
In this embodiment, the upper computer is responsible for managing the version of the lower computer software and determining whether the lower computer software needs to be upgraded. The upper computer interacts with the remote data center through a SOCKET and establishes communication connection with the lower computer, receives the software version pushing information and the program file of the remote data center, receives the software version information of the lower computer, and sends a software updating instruction, a new version program file and a version switching instruction to the lower computer. And the lower computer adopts an ISP (internet service provider), BootLoader and Flash segmented loading technology to update the software of the lower computer.
Fig. 1 is a method for remotely updating software of a lower computer of a chemiluminescence analyzer online, which can be executed by a software updating apparatus, which can include a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps shown in fig. 1, and the apparatus can be configured on a terminal, such as a computer, a smart phone, or a tablet computer.
In this embodiment, the FLASH storage space of the lower computer is divided into: a BootLoader program area, a software information area and an application program area. As shown in fig. 2, the present embodiment divides two application areas, i.e., an application area a and an application area B. The software information area stores software version information and corresponding entry address information of the application program area, and the software version information comprises a software version number.
As shown in fig. 1, the method for remotely updating the lower computer software on line in this embodiment includes:
and S1, starting the lower computer, entering a BootLoader program area to run, and waiting for the upper computer to send a software updating instruction. And the BootLoader is used for finishing the starting and loading tasks of the lower computer.
And S2, the upper computer receives the software version updating information and the corresponding software updating program file pushed by the remote data center, compares the current version number, the pre-version number and the parameter information needing to be updated of the updated software version with the related information of the software version stored in the local database, and sends a software updating instruction to the lower computer if the chemiluminescence analyzer where the lower computer is located is judged to meet the condition of upgrading to the new version.
The chemical light analyzer installed in the customer site may cause slight differences in hardware or software functions due to batch and possibly existing customer customization reasons, and needs to determine whether the current lower computer software can be upgraded to a new version by combining the current user information and the current software version number in the remote data center database.
S3, if the lower computer receives the software updating instruction sent by the upper computer, writing the software updating program file sent by the upper computer into the FLASH application program area with the specified address, and entering the step S4; if the lower computer does not receive the software updating instruction sent by the upper computer, that is, the software of the lower computer does not need to be updated, the process directly proceeds to step S5.
And S4, operating the software information area, updating the software version information and the corresponding application program area entry address in the FLASH.
And S5, the lower computer reads the software version information in the software information area and the corresponding application program entry address, and jumps to the corresponding application program area to operate, so as to realize the remote online update of the software version.
Wherein S3 further includes:
s31, the upper computer analyzes the software updating program file to form a plurality of data packets, and sends a software downloading instruction containing a programming command frame and a data frame;
and S32, the lower computer receives the programming command frame and the data frame sent by the upper computer, writes the corresponding programming data information into the application program area of the corresponding address after receiving a data packet, and sends the response information of successful programming.
And after the lower computer finishes software updating, actively updating the software version information and the corresponding application program area entry address in the FLASH, then sending a version updating finishing instruction to the upper computer, and after receiving the version updating finishing instruction sent by the lower computer, sending a version switching instruction to the lower computer by the upper computer. And after receiving the software version switching instruction, the lower computer jumps to the Flash address of the new version and starts to work by using the software of the lower computer of the new version.
After the chemiluminescence analyzer is powered off and restarted, the BootLoader program jumps to (on a Flash instruction position) the Flash address of the application program updated last time to start execution.
In this embodiment, the upper computer and the lower computer may be connected via a CAN bus, a SPI, an SCI bus, or an RS232, an RS485, an IIC, a network, or the like.
Software version upgrading principle: (1) major version numbers, functional modules have large variations, such as adding multiple modules or changes in the overall architecture. (2) Minor version numbers, as opposed to major versions, are only local changes to upgrades of minor version numbers. However, the local change causes the program to be incompatible with the previous version, or causes a damage to the previous collaboration of the program, or causes a great improvement or enhancement in the function. (3) Revision version number: the local change is mainly the function improvement of the local function, or the correction of the bug, or the expansion of the function. In principle, revision version numbers will change frequently after release from the first stable version, whereas minor version numbers will change as the case may be, with major version numbers changing less frequently unless there is a major reconfiguration or functional improvement.
Example 2:
this embodiment 2 provides a remote online update system of lower computer software of a chemiluminescence analyzer, which includes:
the storage space dividing module is used for dividing the FLASH storage space of the lower computer into: BootLoader area, information area and application area.
The present embodiment divides two application areas, namely: such as application area a and application area B shown in fig. 2. The software information area stores software version information and corresponding entry address information of the application program area, and the software version information comprises a software version number.
And the instruction issuing module is used for sending a software updating instruction to the lower computer according to the software version updating information.
The function of the instruction issuing module is completed by the upper computer, the upper computer interacts with the remote digital center, establishes communication connection with the lower computer, receives software version updating information and a corresponding software updating program file pushed by the remote data center, and receives software version information of the lower computer at the same time. And when the lower computer is judged to need to update the software version, the lower computer sends a software updating instruction.
The program updating module is used for writing the software updating program file into the FLASH application program area with the specified address, and comprises a data sending unit and a programming unit, wherein the data sending unit is configured in the upper computer and used for analyzing the software updating program file to form a plurality of data packets and sending a software downloading instruction comprising a programming command frame and a data frame. And the programming unit is configured in the lower computer and used for receiving the programming command frame and the data frame, writing corresponding programming data information into the application program area of the corresponding address after receiving a data packet, and sending response information of successful programming.
The information change module is used for updating the software version information of the software information area and the corresponding application program area entry address in the FLASH;
and the program running module is used for reading the updated software version information and the corresponding application program inlet and jumping to the corresponding application program area for running.
Example 3
The present embodiment provides a computer-readable storage medium on which a computer program is stored, which, when executed, implements the lower computer software updating method according to embodiment 1.
The computer-readable storage medium of the present embodiment includes, but is not limited to, disk storage, CD-ROM, optical storage, and the like.
In light of the foregoing description of the preferred embodiments according to the present application, it is to be understood that various changes and modifications may be made without departing from the spirit and scope of the invention. The technical scope of the present application is not limited to the contents of the specification, and must be determined according to the scope of the claims.
As will be appreciated by one skilled in the art, 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.
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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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.

Claims (8)

1. A lower computer software updating method is characterized in that a FLASH storage space of a lower computer is divided into: the system comprises a BootLoader program area, a software information area and an application program area, wherein the software information area stores software version information and corresponding entry address information of the application program area;
the lower computer software updating method comprises the following steps:
(1) starting the lower computer, entering a BootLoader program area to operate, and waiting for the upper computer to send a software updating instruction;
(2) the upper computer receives software version updating information and a corresponding software updating program file which are pushed by the remote data center, and if the chemiluminescence analyzer where the lower computer is located is judged to meet the condition of updating to a new version, a software updating instruction is sent to the lower computer;
(3) if the lower computer receives a software updating instruction sent by the upper computer, writing a software updating program file sent by the upper computer into a FLASH application program area with a specified address;
(4) operating a software information area, and updating software version information and a corresponding application program area entry address in the FLASH;
(5) and the lower computer reads the software version information in the software information area and the corresponding application program entry address, and jumps to the corresponding application program area to operate so as to realize remote online update of the software version.
2. The lower computer software updating method according to claim 1, wherein the step (3) further comprises: comparing the current version number, the pre-version number and the parameter information needing to be updated of the updated software version with the software version related information stored in the local database, and if the chemiluminescence analyzer where the lower computer is located is judged to meet the condition of being updated to the new version, sending a software updating instruction to the lower computer.
3. The lower computer software updating method according to claim 1, wherein the step (4) further comprises: and the lower computer receives the software downloading instruction, performs programming processing and updates the content of the corresponding application program area in the FLASH.
4. The lower computer software update method of claim 3, wherein the receiving of the software download instruction by the lower computer further comprises:
the upper computer analyzes the software updating program file to form a plurality of data packets, and sends a software downloading instruction comprising a programming command frame and a data frame;
and the lower computer receives the programming command frame and the data frame sent by the upper computer, writes corresponding programming data information into the application program area of the corresponding address after receiving a data packet, and sends response information of successful programming.
5. The lower computer software updating method according to claim 1, wherein the upper computer and the lower computer are connected through a CAN bus, a SPI bus, a SCI bus, an RS232, an RS485, an IIC, and a network.
6. A lower computer software update system, comprising:
the storage space dividing module is used for dividing the FLASH storage space of the lower computer into: a BootLoader program area, a software information area and an application program area;
the instruction issuing module is used for sending a software updating instruction to the lower computer according to the software version updating information;
the program updating module is used for writing the software updating program file into the FLASH application program area of the specified address;
the information change module is used for updating the software version information and the corresponding application program area entry address in the FLASH;
and the program running module is used for reading the updated software version information and the corresponding application program inlet and jumping to the corresponding application program area for running.
7. The lower computer software remote online updating system according to claim 6, wherein the program updating module includes a data sending unit and a programming unit, the data sending unit is configured in the upper computer, and is configured to parse the software updating program file to form a plurality of data packets, and send the software downloading instructions including the programming command frame and the data frame;
and the programming unit is configured in the lower computer and used for receiving the programming command frame and the data frame, writing corresponding programming data information into the application program area of the corresponding address after receiving a data packet, and sending response information of successful programming.
8. A computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed, implements the lower computer software updating method according to any one of claims 1 to 4.
CN201911039831.9A 2019-10-29 2019-10-29 Method and system for updating software of lower computer and computer readable storage medium Pending CN110780910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911039831.9A CN110780910A (en) 2019-10-29 2019-10-29 Method and system for updating software of lower computer and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911039831.9A CN110780910A (en) 2019-10-29 2019-10-29 Method and system for updating software of lower computer and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110780910A true CN110780910A (en) 2020-02-11

Family

ID=69387514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911039831.9A Pending CN110780910A (en) 2019-10-29 2019-10-29 Method and system for updating software of lower computer and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110780910A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127043A (en) * 2021-03-19 2021-07-16 力高(山东)新能源技术有限公司 Method for upgrading BootLoader on line by using single chip microcomputer APP
CN113467797A (en) * 2020-03-30 2021-10-01 西安诺瓦星云科技股份有限公司 Program updating method, device and system and computer readable storage medium
CN113568629A (en) * 2020-04-28 2021-10-29 中车株洲电力机车研究所有限公司 Software upgrading method and device based on CAN, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6199204B1 (en) * 1998-01-28 2001-03-06 International Business Machines Corporation Distribution of software updates via a computer network
CN103763351A (en) * 2014-01-03 2014-04-30 中达电通股份有限公司 Software online upgrading method based on upper computer and lower computers
CN107179909A (en) * 2017-05-16 2017-09-19 广东美的暖通设备有限公司 Method for upgrading software, device and computer-readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6199204B1 (en) * 1998-01-28 2001-03-06 International Business Machines Corporation Distribution of software updates via a computer network
CN103763351A (en) * 2014-01-03 2014-04-30 中达电通股份有限公司 Software online upgrading method based on upper computer and lower computers
CN107179909A (en) * 2017-05-16 2017-09-19 广东美的暖通设备有限公司 Method for upgrading software, device and computer-readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467797A (en) * 2020-03-30 2021-10-01 西安诺瓦星云科技股份有限公司 Program updating method, device and system and computer readable storage medium
CN113467797B (en) * 2020-03-30 2024-03-15 西安诺瓦星云科技股份有限公司 Program updating method, device and system and computer readable storage medium
CN113568629A (en) * 2020-04-28 2021-10-29 中车株洲电力机车研究所有限公司 Software upgrading method and device based on CAN, computer equipment and storage medium
CN113127043A (en) * 2021-03-19 2021-07-16 力高(山东)新能源技术有限公司 Method for upgrading BootLoader on line by using single chip microcomputer APP

Similar Documents

Publication Publication Date Title
CN110780910A (en) Method and system for updating software of lower computer and computer readable storage medium
US10528742B2 (en) Method and apparatus for repairing kernel vulnerability
CN102622241B (en) A kind of method for upgrading software and device
CN104615466B (en) A kind of cloud platform dispositions method and system
CN109933348A (en) The update method and device of Bootloader in a kind of electronic control unit
US9766876B2 (en) Methods of updating software components, computer systems and memory apparatus
CN107291481B (en) Component updating method, device and system
CN101344854A (en) Method for upgrading embedded type Linux equipment through SD card
CN104216719A (en) Method and device for updating android system
CN103577201A (en) Embedded dual system updating method and system
CN105260209A (en) Hot-update solution of program
CN104038819A (en) Software upgrading system and method of digital set-top box
CN103761115A (en) Method for achieving self-update of software
CN111611207A (en) State data processing method and device and computer equipment
CN106603289B (en) LMT configuration file smooth upgrading method
CN105183657A (en) System and method for testing WEB interface
CN102331942A (en) Method for automatically upgrading BIOS (basic input/output system) and Linux core
CN113094077B (en) System differential upgrading method and device, intelligent terminal and storage medium
CN112052037A (en) Application software development method, device, equipment and medium
CN102486736B (en) Method for automatically upgrading program and generating device for upgrading program
CN106126211A (en) A kind of MCU In-circuit programming system supporting debugging interface
US20220197633A1 (en) Software defined build infrastructure for hybrid, virtualized and native build environments
CN104820627A (en) Method for automatically carrying out CPU (Central Processing Unit) calculation performance test
CN113900693A (en) Firmware upgrading method, device and system, electronic equipment and storage medium
CN114721681A (en) Configuration file updating method, device, equipment and storage medium

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