CN114443105B - Method, apparatus, medium, and program product for upgrading pipeline system - Google Patents

Method, apparatus, medium, and program product for upgrading pipeline system Download PDF

Info

Publication number
CN114443105B
CN114443105B CN202210371806.6A CN202210371806A CN114443105B CN 114443105 B CN114443105 B CN 114443105B CN 202210371806 A CN202210371806 A CN 202210371806A CN 114443105 B CN114443105 B CN 114443105B
Authority
CN
China
Prior art keywords
upgrading
upgrade
terminal
upgraded
terminals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210371806.6A
Other languages
Chinese (zh)
Other versions
CN114443105A (en
Inventor
黎飞
温文龙
劳世焕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dymind Biotechnology Co Ltd
Original Assignee
Shenzhen Dymind Biotechnology 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 Shenzhen Dymind Biotechnology Co Ltd filed Critical Shenzhen Dymind Biotechnology Co Ltd
Priority to CN202210371806.6A priority Critical patent/CN114443105B/en
Publication of CN114443105A publication Critical patent/CN114443105A/en
Application granted granted Critical
Publication of CN114443105B publication Critical patent/CN114443105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/40ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management of medical equipment or devices, e.g. scheduling maintenance or upgrades

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Biomedical Technology (AREA)
  • General Business, Economics & Management (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an upgrading method, equipment, medium and program product of a pipeline system, wherein the method comprises the following steps: receiving an upgrade file uploaded according to a set path according to an operation instruction for adding the upgrade file in an upgrade operation interface; establishing communication connection with each upgrading terminal; receiving a current version number returned by each upgrading terminal, determining a version number to be upgraded corresponding to each upgrading terminal according to an upgrading file, and displaying the version number to be upgraded of each upgrading terminal and the current version number in a correlation manner in an interface to be upgraded; according to an operation instruction for confirming upgrading in an interface to be upgraded, sending an upgrading instruction to a corresponding upgrading terminal, and acquiring L pieces of upgrading success information respectively returned by the upgrading terminal after upgrading operation is carried out on the upgrading terminal based on the upgrading instruction; if L is smaller than N, a rollback instruction is sent to the N upgrading terminals in the assembly line system, so that the system versions of the N upgrading terminals are restored to the versions before upgrading; and if the L is equal to the N, displaying upgrading success information.

Description

Method, apparatus, medium, and program product for upgrading pipeline system
Technical Field
The present application relates to the field of medical system equipment maintenance, and in particular, to a method, an apparatus, a medium, and a program product for upgrading a pipeline system.
Background
With the development of medical technology, various medical detections can be automatically completed in batches through a flow line system formed by various detection instruments. Each detection instrument in the pipeline system is used as an equipment terminal, and various client programs are usually installed to support remote control and automatically execute each detection process. When the pipeline system needs to be upgraded, people need to independently upgrade each detection instrument and the control center, so that system upgrading of cross-platform and various different software types is achieved.
However, the number of the detection instruments in the pipeline system and the version of the client program may be different, and these detection instruments need to be manually upgraded and maintained one by one, which not only is complicated to operate, but also may cause a problem that the system versions cannot be matched between the detection instruments in the pipeline under the condition that a certain detection instrument is unsuccessfully upgraded.
Disclosure of Invention
In view of this, the present application provides an upgrade method, an upgrade device, a computer storage medium, and a computer program product for a pipeline system, which can simplify upgrade operations and facilitate maintenance and management of a plurality of terminals in the pipeline system.
In order to achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an upgrade method for a pipeline system, which is applied to an upgrade operation end, and includes:
receiving an upgrade file uploaded according to a set path according to an operation instruction for adding the upgrade file in an upgrade operation interface; the upgrading file at least comprises sub upgrading files corresponding to N upgrading terminals contained in the production line system;
establishing communication connection with each upgrading terminal;
receiving a current version number returned by each upgrading terminal, determining a version number to be upgraded corresponding to each upgrading terminal according to an upgrading file, and displaying the version number to be upgraded of each upgrading terminal and the current version number in a correlation manner in an interface to be upgraded;
according to an operation instruction for confirming upgrading in an interface to be upgraded, sending an upgrading instruction to a corresponding upgrading terminal, and acquiring L pieces of upgrading success information respectively returned by the upgrading terminal after upgrading operation is carried out on the upgrading terminal based on the upgrading instruction;
if L is smaller than N, a rollback instruction is sent to the N upgrading terminals in the assembly line system, so that the system versions of the N upgrading terminals are restored to the versions before upgrading;
and if the L is equal to the N, displaying upgrading success information.
In a second aspect, an embodiment of the present application further provides an upgrade method for a pipeline system, where the upgrade method is applied to an upgrade system, the upgrade system includes an upgrade operation end and the pipeline system, the pipeline system includes multiple upgrade terminals, and the upgrade method includes:
the upgrading operation terminal receives the upgrading file uploaded according to the set path according to the operation instruction for adding the upgrading file in the upgrading operation interface; the upgrading file at least comprises sub upgrading files corresponding to N upgrading terminals contained in the production line system;
the upgrading operation terminal establishes communication connection with each upgrading terminal;
the upgrading operation terminal receives the current version number returned by each upgrading terminal, determines the version number to be upgraded corresponding to each upgrading terminal according to the upgrading file, and displays the version number to be upgraded of each upgrading terminal and the current version number in a correlation mode in an interface to be upgraded;
the upgrading operation terminal sends a sub-upgrading file of the version number to be upgraded matched with the upgrading operation terminal to the corresponding upgrading terminal, and sends an upgrading instruction to the corresponding upgrading terminal according to an operation instruction for confirming upgrading in an interface to be upgraded;
the upgrading terminal executes upgrading according to the received sub-upgrading file and the upgrading instruction, and if the upgrading is successful, upgrading success information is returned to the upgrading operation terminal;
and the upgrading operation end receives L pieces of upgrading success information respectively returned by the upgrading terminals, if L is less than N, a rollback instruction is sent to N upgrading terminals in the assembly line system so as to restore the system versions of the N upgrading terminals to the versions before upgrading, and if L is equal to N, the upgrading success information is displayed.
In a third aspect, an embodiment of the present application provides an upgrade apparatus, including a processor and a memory, where the memory stores a computer program executable by the processor, and the computer program, when executed by the processor, implements an upgrade method for a pipeline system according to any embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a controller to perform the method for upgrading a pipeline system according to any embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, which includes computer instructions, and when executed by a processor, the computer instructions implement the upgrade method for a pipeline system according to any embodiment of the present application.
The upgrade method, system, device, computer-readable storage medium, and computer program product for a pipeline system according to the embodiments of the present application may add an upgrade file by operating an upgrade operation terminal, establish a communication connection with each upgrade terminal, receive a current version number returned by each upgrade terminal, determine a version number to be upgraded corresponding to each upgrade terminal according to the upgrade file, and display the current version number and the version number to be upgraded in association, so as to conveniently and visually and accurately know upgrade information of each upgrade terminal, facilitate subsequent confirmation of whether to perform upgrade operation on each upgrade terminal, and send an upgrade instruction to a corresponding upgrade terminal through the upgrade operation terminal, so that the upgrade terminal performs upgrade based on the upgrade instruction. Therefore, cross-platform upgrading and upgrading of different software types can be achieved, upgrading operation of the assembly line system is simplified, batch upgrading of the assembly line system is achieved, and maintenance and management of a plurality of terminals in the assembly line system are facilitated. And the upgrading operation terminal acquires L pieces of upgrading success information returned after the upgrading operation is performed on the upgrading terminal, and sends a rollback instruction to each upgrading terminal when L is smaller than N, so that each upgrading terminal is restored to the version before upgrading. Therefore, the pipeline system can be restored to the original version through the failure rollback mechanism after the upgrading failure of a certain device occurs, so that the system versions of all devices in the pipeline are still matched with each other after the upgrading failure.
Drawings
Fig. 1 is a block diagram of an upgrade system of a pipeline system according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating an upgrading method for a pipeline system according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an upgrade operation interface provided in an embodiment of the present application;
fig. 4 is a schematic interface diagram after an upgrade file is added according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating an operation interface to be upgraded according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating another operation interface to be upgraded according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a further interface to be upgraded according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram illustrating an interface for successful upgrade provided by an embodiment of the present application;
fig. 9 is a schematic flowchart illustrating another upgrading method provided in an embodiment of the present application;
fig. 10 shows a schematic structural diagram of an upgrading device provided in an embodiment of the present application.
Detailed Description
The technical solution of the present application is further described in detail with reference to the drawings and specific embodiments of the specification.
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to the expression "some embodiments" which describe a subset of all possible embodiments, it being noted that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to "first, second, and third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first, second, and third" are used to interchange a particular order or sequence of the objects, where the context allows, so that the embodiments of the application described herein may be practiced in other than those illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Currently, a certain type of medical examination requires a plurality of different medical examination results, and each medical examination result is completed by a special examination instrument. Therefore, when a certain type of medical detection is finished, an automatic production line consisting of a plurality of different types of detection instruments and a control terminal can be adopted.
In addition, in order to make the pipeline system more perfect, the pipeline system has version iteration requirements, and a user needs to upgrade the pipeline system. Because the host software and the embedded software of each detection instrument in the pipeline system and the control software of the control device operate on different platforms and the software types are different, each device of the pipeline system needs to be upgraded independently. However, the upgrading operation is complicated, batch upgrading cannot be performed, and situations that upgrading of a certain terminal fails and upgrading of other terminals succeeds may occur, so that versions of terminals in a pipeline system are not matched, and a detection result of the pipeline system is inaccurate, or the pipeline system cannot complete medical detection of a certain type.
In view of this, the present application provides an upgrade method, system, device, computer storage medium and computer program product for a pipeline system, which enable an upgrade operation end to establish a communication connection with the pipeline system, and enable each upgrade terminal in the pipeline system to perform an upgrade operation through a relevant operation instruction of the upgrade operation at the upgrade operation end. And finally, the upgrading operation end confirms whether the pipeline system is upgraded successfully or not by acquiring whether the number of the upgrading success information returned by the upgrading terminal is equal to the number of the upgrading terminals or not. And under the condition that the number of the upgrade successful information is less than that of the upgrade terminals, the upgrade operation terminal can confirm that the upgrade is unsuccessful, and sends a rollback instruction to each upgrade terminal so that each upgrade terminal is restored to the current version. And displaying the upgrade success information under the condition that the number of the upgrade success information is less than that of the upgrade terminals. Therefore, the upgrading operation of the pipeline system can be simplified through the upgrading operation end, the terminals in the pipeline system are upgraded in batch and in a cross-platform mode, the maintenance and the management of the plurality of terminals in at least one pipeline system are facilitated, and the system versions of the terminals are matched with each other after the upgrading fails by utilizing the failure synchronous rollback mechanism.
Fig. 1 shows a framework diagram of an upgrade system of a pipeline system according to an embodiment of the present application. The upgrade system may include an upgrade operating terminal 11 and a plurality of upgrade terminals 12, such as a first upgrade terminal 12a, a second upgrade terminal 12b, and an nth upgrade terminal 12N. Wherein the plurality of upgrade terminals 12 may include a plurality of different types of test instruments, control centers, and the like. Here, the control center is connected with the detection instrument and is used for controlling the detection instrument to complete medical detection. A plurality of upgrade terminals 12 may form at least one medical inspection pipeline. Each medical testing pipeline is typically used to perform a plurality of associated medical testing analyses on the collected sample to be tested to obtain a certain set of medical testing results. The sample to be detected can be various biological cell information or samples of other biological information, such as blood samples, urine samples, other body fluid (pleural effusion, cerebrospinal fluid, serosal cavity effusion, synovial fluid) samples and the like, and the type of the biological cell can be at least one of the group consisting of neutrophil, lymphocyte, monocyte, eosinophil and basophil; also contemplated are immature granulocytes, tumor cells, lymphoblasts, plasma cells, atypical lymphocytes, pre-erythroblasts, basal erythrocytes and polychromic erythroblasts, normochromic erythrocytes, pre-megablasts, basal megablasts, polychromic giant cells and nucleated erythrocytes selected from the group consisting of normochromic megaerythrocytes and megaspheroids.
In the embodiment of the present application, the detection instrument may be various medical detection instruments. For example, a blood test instrument, a gene testing instrument, a urine testing instrument, a cell testing instrument, and the like. The control center can be various intelligent devices with storage and calculation capabilities. Such as a computer device or the like. The control center and the detecting instrument can be respectively arranged in different devices.
In addition, the plurality of upgrade terminals may further include other management terminals, such as a management software client terminal and a management software server terminal. The management software client and the management software server are used for managing software of the detection instrument.
In some embodiments, the upgrade terminals 12 are installed with upgrade daemons, and each upgrade terminal 12 includes a network connection module. The network connection module can be used for establishing network connection between the upgrade operation terminal and the upgrade daemon through a communication protocol. The upgrade daemon may be a cross-platform process, resident on the upgrade terminal 12, and may support upgrade related functions, including but not limited to assembling file data packets, file decompression, instruction reception, backup, upgrade, process information feedback, and rollback functions, etc. Specifically, the upgrade daemon may support installation in various operating platform systems, such as Windows, Linux, and mac operating platform systems. The upgrading terminal can realize the communication connection with the upgrading operation terminal through the daemon process, receive various instructions and upgrading files sent by the upgrading operation terminal, execute upgrading, rollback and other operations. Therefore, batch upgrading of a plurality of upgrading terminals can be realized through the daemon process, so that version upgrading operation can be realized on various platforms, and different types of software versions can be upgraded in a cross-platform mode.
The upgrade operating terminal 11 may also include a network connection module, and establishes a communication connection with each upgrade terminal 12 through the network connection module, so as to control system upgrade of the upgrade terminal 12. Optionally, the upgrade operating end 11 may be any intelligent device, such as a mobile phone, a personal computer, and the like, in which an application client implementing the upgrade method provided in the embodiment of the present application is installed. Specifically, a user may operate through an upgrade operation interface provided by the upgrade operation terminal 11 to add, in batches, upgrade files corresponding to a plurality of upgrade terminals 12 in the pipeline system, where the upgrade files at least include sub upgrade files corresponding to N upgrade terminals included in the pipeline system, respectively. The upgrade operating terminal 11 establishes communication connection with each upgrade terminal 12. The upgrade operation terminal 11 receives the current version number returned by each upgrade terminal 12, determines the version number to be upgraded corresponding to each upgrade terminal 12 from the upgrade file according to the current version number, and displays the version number to be upgraded of each upgrade terminal and the current version number in association in the interface to be upgraded. The upgrade operation terminal 11 sends a sub-upgrade file of the version number to be upgraded matched with the upgrade operation terminal 12, and sends an upgrade instruction to the corresponding upgrade terminal 12 according to the operation instruction for confirming the upgrade in the interface to be upgraded.
The upgrade terminal 11 executes the upgrade according to the received sub-upgrade file and the upgrade instruction, and if the upgrade is successful, returns the upgrade success information to the upgrade operation terminal 11. The upgrade operation end 11 receives L pieces of upgrade success information respectively returned by the upgrade terminals 12, and if L is smaller than N, sends a rollback instruction to the N upgrade terminals 11 in the pipeline system to restore the system versions of the N upgrade terminals to the versions before upgrade, and if L is equal to N, the upgrade operation end 11 displays the upgrade success information.
In the above embodiment, the upgrade operating end may add the upgrade file according to the operation instruction for adding the upgrade file, establish a communication connection with each upgrade terminal, receive the current version number returned by each upgrade terminal, determine the version number to be upgraded corresponding to each upgrade terminal in the upgrade file according to the current version number, and display the current version number and the version number to be upgraded in an associated manner, so that a user can know the upgrade information of each upgrade terminal, and conveniently confirm whether each upgrade terminal can be upgraded subsequently. And the upgrading operation end sends an upgrading instruction to the corresponding upgrading terminal according to the operation instruction for confirming upgrading so that the upgrading terminal can be upgraded based on the upgrading instruction. Therefore, the upgrading of cross-platform and different software types can be realized, the upgrading operation of the pipeline system is simplified, the batch upgrading of the pipeline system is realized, and the maintenance and management of a plurality of terminals in a plurality of pipeline systems are facilitated. And the upgrading operation terminal acquires L pieces of upgrading success information returned after the upgrading operation is performed on the upgrading terminal, and sends a rollback instruction to each upgrading terminal when L is smaller than N, so that each upgrading terminal is restored to the version before upgrading. Therefore, the pipeline system can be restored to the original version through the failure rollback mechanism after the upgrading failure of a certain device occurs, so that the system versions of all devices in the pipeline are still matched with each other after the upgrading failure. And when the L is equal to the N, displaying the upgrade success information so as to enable a user to know that the pipeline system is upgraded.
In some embodiments, the displaying the upgrade success information by the upgrade operating terminal 11 may include: and the upgrading operation terminal displays the identification of the upgraded terminal after upgrading and restarting confirmation information on the current interface, and sends a restarting instruction to the corresponding upgraded terminal according to the confirmation operation of the restarting confirmation information so that the upgraded terminal is restarted after finishing the upgrading operation, thereby finishing the installation of the system version.
In some embodiments, before the upgrade terminal 12 performs the upgrade according to the received sub-upgrade file and the upgrade instruction, the upgrade terminal 12 backs up the current system version. Therefore, the system version can be conveniently restored to the current system version after the follow-up upgrading fails.
Fig. 2 shows a flowchart of an upgrade method of a pipeline system according to an embodiment of the present application. The upgrade method may be applied to the upgrade operation terminal 11, and includes, but is not limited to, S21 to S26.
And S21, receiving the upgrade file uploaded according to the set path according to the operation instruction for adding the upgrade file in the upgrade operation interface.
Here, the upgrade file at least includes sub upgrade files corresponding to N upgrade terminals included in the pipeline system, respectively. Wherein N is a positive integer.
And S22, establishing communication connection with each upgrading terminal.
And S23, receiving the current version number returned by each upgrading terminal, determining the version number to be upgraded corresponding to each upgrading terminal according to the upgrading file, and displaying the version number to be upgraded of each upgrading terminal and the current version number in a to-be-upgraded interface in a correlated manner.
S24, according to the operation instruction for confirming the upgrade in the interface to be upgraded, sending an upgrade instruction to the corresponding upgrade terminal, and acquiring L pieces of upgrade success information respectively returned by the upgrade terminal after the upgrade operation is performed based on the upgrade instruction.
And S25, if L is smaller than N, sending a rollback instruction to N upgrading terminals in the pipeline system so as to restore the system versions of the N upgrading terminals to the versions before upgrading.
And S26, if L is equal to N, displaying upgrading success information.
In the above embodiment, the upgrade file may be added by operating the upgrade operating terminal, a communication connection with each upgrade terminal is established, the current version number returned by each upgrade terminal is received, the version number to be upgraded corresponding to each upgrade terminal is determined according to the upgrade file, and the current version number and the version number to be upgraded are displayed in an associated manner, so that upgrade information of each upgrade terminal is conveniently and visually and accurately known, whether the upgrade operation is performed on each upgrade terminal is conveniently and subsequently confirmed, and an upgrade instruction is sent to the corresponding upgrade terminal through the upgrade operating terminal, so that the upgrade terminal is upgraded based on the upgrade instruction. Therefore, the upgrading of cross-platform and different software types can be realized, the upgrading operation of the pipeline system is simplified, the batch upgrading of the pipeline system is realized, and the maintenance and management of a plurality of terminals in the pipeline system are facilitated. And the upgrading operation terminal acquires L pieces of upgrading success information returned after the upgrading operation is performed on the upgrading terminal, and sends a rollback instruction to each upgrading terminal when L is smaller than N, so that each upgrading terminal is restored to the version before upgrading. Therefore, the pipeline system can be restored to the original version through the failure rollback mechanism after the upgrading failure of a certain device occurs, so that the system versions of all devices in the pipeline are still matched with each other after the upgrading failure.
The above steps are described in detail below, specifically as follows.
First, referring to S21, N upgrade terminals may belong to at least one pipeline system. It is understood that N upgrade terminals may belong to one pipeline system, for example, N upgrade terminals all belong to a blood test pipeline system. Or, the N upgrade terminals may also belong to a plurality of pipeline systems, respectively. For example, some of the N upgrade terminals belong to a blood test pipeline system, and other terminals belong to an immunoassay pipeline system.
In this embodiment of the application, the upgrade operation interface may be a human-computer interaction interface, and may be displayed at the upgrade operation end. The upgrade operation interface can be used for a user to perform upgrade operation on the upgrade terminal. The upgrade file may be a data compression file, and may be used for upgrading system versions by a plurality of upgrade terminals. The upgrade file may at least include upgrade files corresponding to a plurality of upgrade terminals, where the upgrade file may include an upgrade version number, an upgrade device type, an upgrade program file, and the like. The upgrade program file may be used to upgrade a terminal upgrade system version. The upgrade device type is used to determine the type of device for which the upgrade program file is upgradable.
In S21, the set path may be a storage path of the upgrade file. The set path can be local, or can be at a server or a cloud. In the embodiment of the present application, the range of the set path is not limited. The upgrade operation terminal receives the upgrade file uploaded according to the set path, and can understand that the upgrade operation terminal obtains the upgrade file from the set path.
In the embodiment of the application, the operation instruction for adding the upgrade file in the upgrade operation interface can be triggered by clicking an addition button in the upgrade operation interface by a user. Taking an upgrade file as an upgrade package as an example, fig. 3 shows a schematic diagram of an upgrade operation interface provided in an embodiment of the present application. As shown in fig. 3, the upgrade operation interface may include an add upgrade package button, an upgrade package list, a cancel button, a next button, and the like. Wherein, the upgrade package adding button can be used for selecting an upgrade package uploading path. The user can select the upgrade package to be uploaded by clicking the upgrade package adding button. And the upgrading operation end determines the set path of the upgrading packet and receives the upgrading packet. Fig. 4 shows an interface schematic diagram after an upgrade file is added according to an embodiment of the present application. As shown in fig. 4, the upgrade package list displays the added upgrade package name and the set path.
In addition, the operation instruction may be transmitted from an external device. For example, the upgrade operation terminal receives an instruction of adding an upgrade file sent by the server terminal. The operation instruction can also be automatically triggered after the upgrading operation terminal receives an upgrading packet sent by the external equipment. In the embodiment of the present application, the obtaining manner of the operation instruction is not limited.
Next, in S22, the communication connection may be a Transmission Control Protocol/Internet Protocol (TCP/IP) connection. The communication connection may also be a short-range wireless network connection. In the embodiment of the present application, the manner of the communication connection is not limited.
It should be noted that, in the embodiment of the present application, each upgrade terminal is resident with a daemon process. The upgrade operating terminal establishes communication connection with the upgrade terminal, which can be understood as establishing connection between the upgrade operating terminal and the upgrade daemon of each upgrade terminal.
Thirdly, in S23, since the upgrade operating terminal and the upgrade terminal establish a communication connection, the upgrade operating terminal and the upgrade terminal may communicate with each other, so that the upgrade operating terminal may obtain the current version number returned by each upgrade terminal.
Here, the manner of obtaining the current version number by the upgrade operation end may be that the upgrade operation end sends an inquiry request of the current version number to each upgrade terminal after establishing the communication connection, and each upgrade terminal returns the current version number to the upgrade terminal after receiving the inquiry request. The mode of obtaining the current version number by the upgrade operation terminal can also be that the upgrade terminal automatically returns the current version number after the communication connection is established. The mode of the upgrade operation terminal for acquiring the current version number can also be other existing modes for acquiring information. In the embodiment of the present application, there is no limitation on the way in which the upgrade operation end obtains the current version number.
In this embodiment of the present application, since the naming difference of different system version numbers is small, in S23, the upgrade operation end may determine, from the upgrade file, the version number to be upgraded corresponding to each upgrade terminal through the returned current version number. Therefore, the version number to be upgraded can be quickly determined according to the difference of the version numbers.
In this embodiment, the upgrade file may include device information of the upgrade terminal. The device information may include at least one of: device type and device name. In S23, the upgrade operating end may determine, according to the related information of the upgrade terminal in the upgrade file, the version number to be upgraded corresponding to each upgrade terminal. The current version number may be a system version number of the upgrade terminal before upgrading. The system version number may be a version number of a software system of the upgrade terminal. The version number to be upgraded may be a system version number of the upgraded terminal. And the system version corresponding to the version number to be upgraded is the optimized version of the system version corresponding to the current version.
In S23, the upgrade operating terminal may associate the current version with the version to be upgraded through the device information of the upgrade terminal, and display the associated version on the operation interface to be upgraded.
The operation interface to be upgraded is a man-machine interaction interface on the upgrading operation end and is used for carrying out upgrading operation on the upgrading terminal. The operation interface to be upgraded can display relevant information of the upgrade terminal, such as the device type, the current version number and the version number to be upgraded. In the embodiment of the application, the current version number is inconsistent with the version number to be upgraded. Fig. 5 shows a schematic diagram of an operation interface to be upgraded according to an embodiment of the present application. As shown in fig. 5, in the operation interface to be upgraded, the current version number of the upgrade terminal with the device type cms is 1.0.1.5052, and the version number to be upgraded is 1.0.1.5952.
It should be noted that, in the embodiment of the present application, the system versions of the sub upgrade files respectively corresponding to the plurality of upgrade terminals included in each pipeline system are matched with each other. For example, the system versions of the client and the server of the same application software need to be consistent. It can be understood that a plurality of upgrading terminals of each pipeline system can be upgraded by using the sub-upgrading files, and a plurality of upgrading terminals for updating the system version can be used for medical pipeline detection to obtain accurate detection results.
Thirdly, in S24, the operation instruction for confirming the upgrade in the interface to be upgraded may be triggered by the upgrade button in the interface to be upgraded. The triggering mode can be user click triggering or upgrading operation end automatic triggering. Here, the operation instruction for confirming upgrade in the interface to be upgraded may be an operation instruction for confirming upgrade of N upgrade terminals that display the version number to be upgraded and the current version number in the interface to be upgraded.
The 'upgrading instruction' related to the embodiment of the application is used for the upgrading operation end to indicate the upgrading terminal to carry out upgrading operation. The upgrade operation end sends the upgrade instruction to the corresponding upgrade terminals, which can be understood as that the upgrade operation end can send the upgrade instruction to each upgrade terminal in sequence, that is, after obtaining the upgrade success information of one upgrade terminal, then sends the upgrade instruction to the next upgrade terminal. Therefore, after the upgrading of one upgrading terminal fails, the upgrading instruction does not need to be sent to the next upgrading terminal, the follow-up upgrading terminal is prevented from continuing to upgrade, and the invalid upgrading operation of the assembly line system is favorably reduced. Or, the upgrade operation end can simultaneously send an upgrade instruction to each upgrade terminal, so that the pipeline equipment can be upgraded simultaneously, and the upgrade time of the pipeline system is shortened.
Fig. 6 shows a schematic diagram of another operation interface to be upgraded according to an embodiment of the present application. As shown in fig. 6, the version to be upgraded and the current upgrade version of 3 upgrade terminals, and the upgrade button are displayed in the interface to be upgraded. And after the user clicks the upgrade button, displaying a message box for prompting to confirm the upgrade on the interface to be upgraded. Then, after the user clicks the "yes" button, the upgrade operation terminal may obtain an operation instruction for confirming the upgrade, and send the upgrade instruction to 3 upgrade terminals. And after receiving the upgrading instruction, the 3 upgrading terminals execute upgrading operation to upgrade the system version, and feed back the execution process information to the upgrading operation terminal in real time through communication connection so as to display the upgrading process of each upgrading terminal at the upgrading operation terminal. Fig. 7 shows a schematic diagram of another operation interface to be upgraded according to an embodiment of the present application. As shown in fig. 7, on the operation interface to be upgraded, the upgrade process of the first upgrade terminal is shown as 12%. The upgrade processes of the other two upgrade terminals are 0.
In S24, the upgrade success information may indicate that the upgrade terminal upgrade operation was successful. And L pieces of upgrade success information respectively returned by the upgrade terminals after the upgrade operations are performed based on the upgrade instructions are obtained, and it can be understood that after each upgrade terminal completes the upgrade operations, each upgrade terminal returns the upgrade success information to the upgrade operation terminal, and finally, the upgrade operation terminal can obtain L pieces of upgrade success information, wherein L is a positive integer not greater than N.
In addition, when an upgrade terminal fails to be upgraded, the upgrade terminal can feed back upgrade failure information to the upgrade terminal. And after receiving the upgrading failure information, the upgrading operation end stops sending upgrading operation instructions to other upgrading terminals which are not upgraded and sends upgrading stopping instructions to the upgrading terminal which is being upgraded so that the upgrading terminal to be upgraded and the upgrading terminal which is being upgraded stop upgrading operation.
Finally, in S25, L is smaller than N, which may indicate that all of the N upgrade terminals have not been upgraded successfully, that is, the pipeline system fails to be upgraded, that is, at least one upgrade terminal that has failed to be upgraded occurs during the pipeline system upgrading process. And the rollback instruction is used for indicating the system version of the upgrading terminal to roll back to the system version corresponding to the current version. The version before upgrading is the system version corresponding to the current version number.
In the embodiment of the application, at least one upgrading terminal failing in upgrading occurs in the process of upgrading the pipeline system. Therefore, in order to ensure that the system versions of the upgrading terminals in the pipeline system are matched, the upgrading operation terminal can send a rollback instruction to each upgrading terminal, so that each upgrading terminal restores the system version to the version before upgrading. That is, after the pipeline system fails to be upgraded, the upgrade terminals which are successfully upgraded and failed to be upgraded can be restored to the version before upgrading, and other upgrade terminals which are not upgraded do not perform upgrading operation and keep the current version. Therefore, after the upgrade fails, the system versions of all the upgrade terminals in the pipeline system are still matched with each other.
In S26, L is equal to N, which indicates that the pipeline system upgrade is successful, i.e., all of the N upgrade terminals complete the version upgrade. In the embodiment of the application, the upgrade operation terminal can display the upgrade success information in the interface to be upgraded, wherein the displayed upgrade success information is used for indicating that the upgrade of the N upgrade terminals is successful.
In the embodiment of the application, the upgrade operation end can determine whether the pipeline system finishes upgrading or not by comparing the number of the upgrade success information returned by the upgrade terminal with the number of the upgrade terminals in the pipeline system, and based on the comparison condition, the upgrade operation end executes different operations.
It can be understood that the upgrade operating end may also send a rollback instruction to N upgrade terminals in the pipeline system when receiving upgrade failure information returned by one upgrade terminal, so that the system versions of the N upgrade terminals are timely restored to the versions before upgrade when the pipeline system fails to be upgraded. Therefore, after the upgrading of the pipeline system fails, the pipeline system can be recovered to be normal in time, and the influence of the upgrading failure on the pipeline system is reduced.
In some embodiments, the upgrade success information may include an identification of the upgrade terminal for which the upgrade is completed. The user can be made aware of the completion of the pipeline system upgrade through the identification. Fig. 8 shows an interface schematic diagram of successful upgrade provided in an embodiment of the present application. As shown in fig. 8, in the interface, the upgrade progress of all three upgrade terminals is displayed as 100%, that is, all three upgrade terminals complete upgrading. A "done" indicator is displayed in the interface. The "done" flag indicates upgrade success information for the pipeline system.
In addition, the upgrade success information may further include restart confirmation information. The restart confirmation information is used for confirming whether the upgrade terminal is restarted after the upgrade is completed.
In this embodiment of the application, the upgrade operating terminal may send a restart instruction to the corresponding upgrade terminal according to the confirmation operation on the restart confirmation information, so that the upgrade terminal restarts the system through the received restart instruction, and ends the system version upgrade.
Optionally, the upgrade operating end may perform remote upgrade operations on a plurality of upgrade terminals physically distributed in different places in a unified manner, in some embodiments, the establishing of the communication connection with each upgrade terminal in S22 may include:
determining a pipeline system associated with the upgrading operation end, acquiring IP addresses of N upgrading terminals contained in the pipeline system, and establishing communication connection with each upgrading terminal.
In the embodiment of the application, the pipeline system associated with the upgrading operation end can be a medical detection pipeline system. The user can complete multiple medical tests on the biological sample through the pipeline system to obtain the test results of a certain type of medical items. For example, the line system may be a blood detection line system.
Here, the pipeline system associated with the upgrade operation side includes at least one of: the system comprises a preset assembly line system associated with an account number of an upgrading operation end, an assembly line system in the same network segment with the upgrading operation end, and an assembly line system searched according to an input IP address received by the upgrading operation end. That is to say, the upgrade operation end determines the pipeline system associated therewith, and may obtain the preset pipeline system associated with the account of the upgrade operation end, may also obtain the pipeline system in the same network segment as the upgrade operation end, and may also find the pipeline system through the received input IP address.
The 'IP address' referred to in the embodiments of the present application is an Internet protocol address, which is used to identify the location of a hierarchical terminal on a network. Each upgrading terminal corresponds to at least one IP address. In an embodiment of the present application, the communication connection may be a TCP connection. Here, the upgrade operating terminal may establish network communication with each upgrade terminal through the IP address of the upgrade terminal.
In the above embodiment, the upgrade operation determines the pipeline system associated with the upgrade operation, and by acquiring the IP addresses of the N upgrade terminals of the pipeline system, the network address of each upgrade terminal can be determined, and the remote communication connection with each upgrade terminal is established, so that the upgrade operation terminal can remotely communicate with each upgrade terminal, and further, the upgrade operation terminal can be installed at any position, thereby facilitating the operation of the user.
In order to confirm whether the upgrade daemon of the upgrade terminal is available for upgrading, in some embodiments, after establishing a communication connection with each upgrade terminal at S22, the upgrade method may further include:
and acquiring identification information returned by each upgrading terminal, and respectively performing identity authentication on the upgrading daemon processes of the N upgrading terminals based on the identification information.
Here, the identification information may be used to confirm the identity of the upgrade daemon in each upgrade terminal. Since other upgrade daemon processes may exist in the upgrade terminal, however, the other upgrade daemon processes cannot be used for upgrading through the upgrade operation terminal. Therefore, in the embodiment of the present application, the upgrade operating end needs to perform identity authentication on the upgrade daemon in the upgrade terminal through the identification information. And when the identification information returned by the upgrading terminal is the identification information corresponding to the upgrading daemon process associated with the upgrading operation terminal, the upgrading operation terminal confirms that the upgrading daemon process of the upgrading terminal passes the identity authentication. And when the identification information returned by the upgrading terminal is not the identification information corresponding to the upgrading daemon process associated with the upgrading operation terminal, the upgrading operation terminal confirms that the upgrading daemon process of the upgrading terminal does not pass identity authentication.
In the above embodiment, the identity of the upgrade daemon of the upgrade terminal is authenticated through the identification information returned by the upgrade terminal, and whether there is a daemon that can be used for upgrading through the upgrade operation terminal in each upgrade terminal can be determined, so that the upgrade can be performed through the upgrade operation terminal subsequently.
To further confirm the pipeline system to which the upgrade terminal to be upgraded belongs, in some embodiments, after establishing a communication connection with each upgrade terminal at S22, the upgrade method may further include: and acquiring equipment identification information returned by each upgrading terminal, and performing equipment identity authentication on the N upgrading terminals based on the equipment identification information.
Here, the device identification information may be used to identify identity information of the upgrade terminal. The device identification information may be at least one of: the equipment name of the upgrading terminal, the equipment number of the assembly line system and the like. In the embodiment of the application, the equipment identification information returned by each upgrading terminal can be acquired in various ways, for example, the upgrading operation terminal can send an identity query request to each upgrading terminal after the communication connection with each upgrading terminal is established, and each upgrading terminal returns the equipment identification information, so that the upgrading operation terminal acquires the pen-related identification information of each upgrading terminal. Or, in order to simplify the operation of obtaining the device identification information, after each upgrade terminal establishes communication connection with the upgrade operation terminal, the upgrade terminal directly returns the device identification information to the upgrade operation terminal, so that the upgrade operation terminal obtains the device identification information.
The equipment identity authentication referred to in the embodiments of the present application may be to authenticate the identity of each upgrade terminal. For example, the pipeline system to which each upgrade terminal belongs is authenticated. In the embodiment of the application, the upgrade operation end can store the identification information and the associated information of the pipeline system, and match the identification information returned by each upgrade terminal with the associated information, so as to confirm the pipeline system to which each upgrade terminal belongs, and realize identity authentication of each upgrade terminal.
In some embodiments, the device identity authentication may also be to authenticate whether each upgrade terminal belongs to the same pipeline system.
Because the upgrade operating system can be connected to devices corresponding to different pipelines, and if a terminal not belonging to the pipeline system to be upgraded is upgraded, the terminal may be mismatched with other terminals in the corresponding pipeline system, which affects the detection result of the pipeline system, and therefore, the device identification of the upgrade terminal is required.
In the embodiment of the application, the upgrading operation terminal performs equipment identity authentication on the N upgrading terminals based on the identification information, and can identify the equipment identification information for the upgrading operation terminal to determine whether each upgrading terminal belongs to the assembly line system equipment to be upgraded. And under the condition that all the upgrading terminals belong to the pipeline system to be upgraded, the equipment identity authentication can be considered to be successful. And under the condition that at least one upgrading terminal does not belong to the pipeline system to be upgraded, the equipment identity authentication can be considered to be failed. Or, the upgrade operation end performs identity authentication on the N upgrade terminals based on the identification information, or identifies the identification information for the upgrade operation end to determine whether the N upgrade terminals belong to the same pipeline system. And under the condition that the N upgrading terminals belong to the same assembly line system, the equipment identity authentication can be considered to be successful. Otherwise, the device identity authentication may be considered to fail.
In the embodiment of the application, after the identity authentication of each upgrading terminal is completed, the upgrading operation terminal displays the identity authentication failure information of the equipment under the condition that the equipment identity authentication of one upgrading terminal fails. In case that the device identity authentication of all the upgrade terminals is successful, the upgrade operating terminal may perform S23.
In the above embodiment, the upgrade operating terminal performs equipment identity authentication on each upgrade terminal through the identification information returned by the upgrade terminal, so that it can be ensured that the subsequent upgrade operating terminal upgrades the upgrade terminal of the same pipeline system, thereby preventing upgrading of a plurality of upgrade terminals belonging to different pipeline systems and ensuring the upgrade accuracy of the pipeline system.
In order to further improve the efficiency of matching the current version number of the upgrade terminal with the version to be upgraded, in some embodiments, S23 receives the current version number returned by each upgrade terminal, determines the version number to be upgraded corresponding to each upgrade terminal according to the upgrade file, and displays the version number to be upgraded and the current version number of each upgrade terminal in association with each other in the interface to be upgraded, which may include the following steps:
if the identity authentication is successful, acquiring the equipment types returned by the N upgrading terminals and the corresponding current version numbers thereof;
and determining a version number to be upgraded corresponding to the equipment type returned by the N upgrading terminals in the upgrading file according to the equipment type returned by the N upgrading terminals, and displaying the version number to be upgraded of each upgrading terminal and the current version number in a correlation mode in an interface to be upgraded.
Here, after the upgrade daemon process of all the upgrade terminals is successfully authenticated by the upgrade operation end, the upgrade operation end may send an inquiry request to each upgrade operation end, where the inquiry request is used to inquire the device type of each upgrade terminal and a current version number corresponding to the upgrade terminal at the current time. And after receiving the query request, each upgrading terminal returns the equipment type of the upgrading terminal and the current version number corresponding to the upgrading terminal to the upgrading operation terminal.
In the embodiment of the application, the upgrade file may include a device type and a version number to be upgraded corresponding to the device type. The upgrade operation terminal can search the version number to be upgraded corresponding to the current version number in the upgrade file according to the equipment type of the upgrade terminal after receiving the current version number of the upgrade terminal, and display the current version number of the upgrade terminal and the version number to be upgraded in the interface to be upgraded in a correlation mode. Here, the association display may be displayed in the same row or column, or may be connected using an association symbol.
In the above embodiment, the upgrade operating terminal receives the current version number returned by each upgrade terminal, determines the version number to be upgraded of each upgrade terminal in the upgrade file according to the device type, and displays the current version number of each upgrade terminal and the version number to be upgraded in the interface to be upgraded in an associated manner, so that the user can know the upgrade information of each upgrade terminal, and can subsequently confirm the upgrade operation on each upgrade terminal.
Since the complete upgrade packet data has a large volume, an error is easily generated in the transmission process from the upgrade operating terminal to the upgrade terminal, which results in a transmission failure, and the upgrade terminal cannot be upgraded, therefore, before S24, the upgrade method may further include: and splitting the upgrade file into a plurality of small file packets, and transmitting the small file packets to each upgrade terminal so that each upgrade terminal receives the small file packets and then assembles the small file packets into the upgrade file, thereby completing system version upgrade by using the assembled upgrade file. Here, the data amount of each small file pack is much smaller than the upgrade file. And when a small file packet is in a transmission problem in the transmission process, the small file packet is retransmitted. Therefore, the transmission data volume between the upgrading operation end and the upgrading terminal is small every time, errors are not prone to occurring, and therefore the transmission efficiency of the upgrading file package is improved.
Since the upgrade terminal needs to upgrade with the sub-upgrade file, the upgrade operation terminal needs to transmit the sub-upgrade file to the upgrade terminal. However, the upgrade file includes upgrade files corresponding to a plurality of upgrade terminals, and each upgrade terminal only needs a part of the upgrade files. Therefore, in order to reduce the upgrade terminal from receiving invalid upgrade file data, in some embodiments, before sending an upgrade instruction to the corresponding upgrade terminal according to the operation instruction for confirming the upgrade in the interface to be upgraded at S24, the upgrade method may further include:
and splitting the sub-upgrade file into a plurality of sub-file blocks, and respectively transmitting the sub-file blocks to the upgrade terminals of the corresponding equipment types, so that the upgrade terminals utilize the sub-file blocks matched with the upgrade terminals to upgrade the system version.
Here, the sub file block may include partial data of a sub upgrade file required for a single upgrade terminal to upgrade a system version. Multiple subfile blocks may be assembled into an upgrade subfile. In the embodiment of the application, the upgrade file includes device types corresponding to the N upgrade terminals and sub upgrade files corresponding to the device types. And the upgrading operation terminal analyzes the upgrading file to obtain a plurality of sub-upgrading files, wherein each sub-upgrading file can be used for upgrading the system version of a single upgrading terminal. The upgrading terminal can obtain the equipment type corresponding to each upgrading terminal, so that the upgrading terminal with the same equipment type as each sub-upgrading file can be determined. Meanwhile, the upgrading operation terminal splits each sub-upgrading file into a plurality of sub-file blocks, and transmits the plurality of sub-file blocks corresponding to each sub-upgrading file to the upgrading terminal with the same equipment type, so that the upgrading terminal restores the plurality of sub-file blocks into the sub-upgrading files after receiving the plurality of sub-file blocks matched with the upgrading terminal, and upgrades the system version by using the sub-file blocks.
In the above embodiment, the upgrade operating terminal splits the sub-upgrade file into a plurality of sub-file blocks, and transmits the plurality of sub-file blocks to the upgrade terminal corresponding to the device type of the sub-upgrade file, so that each upgrade terminal can upgrade by using the received sub-file blocks. Therefore, transmission of large data files is avoided, the error rate of transmission of the upgrade files is reduced, the receiving of the upgrade file data irrelevant to each upgrade terminal is reduced, and the transmission time of receiving the upgrade files by each upgrade terminal is shortened.
The upgrading operation end displays the upgrading information of the plurality of upgrading terminals, and may select the upgrading terminal to be upgraded for upgrading, in some embodiments, S24 sends the upgrading instruction to the corresponding upgrading terminal according to the operation instruction for confirming upgrading in the interface to be upgraded, which may include the following steps:
determining a target upgrading terminal to be upgraded currently according to the selection operation of at least one upgrading terminal in the interface to be upgraded;
and sending an upgrading instruction to a target upgrading terminal according to the operation instruction for confirming upgrading in the interface to be upgraded.
Here, the selecting operation of at least one upgrade terminal in the interface to be upgraded may be understood as a selecting operation of one upgrade terminal or a plurality of upgrade terminals displayed in the interface to be upgraded. The selection operation may include, but is not limited to, a click operation and an automatic selection operation.
In the embodiment of the application, the selection operation of at least one upgrading terminal in the interface to be upgraded can be determined by comparing the current version number of the upgrading terminal with the version number to be upgraded. And when the current version number is inconsistent with the version number to be upgraded, selecting the upgrading terminal in the interface to be upgraded. Or, the selection operation of the at least one upgrade terminal in the interface to be upgraded may be a click operation performed on the at least one upgrade terminal in the interface to be upgraded by the user, so as to realize the selection of the target upgrade terminal.
The target upgrading terminal related to the embodiment of the application can be an upgrading terminal to be upgraded currently and determined through selection operation.
It should be noted that, in the embodiment of the present application, through multiple selection operations, an upgrade instruction may be sent to N upgrade terminals, so as to complete an upgrade operation of a pipeline system.
In addition, the "selection operation" related to the embodiment of the present application may be a selection operation of a plurality of upgrade terminals belonging to the same pipeline system. By the selection operation, a plurality of upgrading terminals belonging to the same assembly line system can be synchronously upgraded so as to upgrade the single assembly line system.
In the above embodiment, the upgrade operating terminal determines the target upgrade terminal to be currently upgraded through the selection operation, so that the upgrade terminal to be upgraded can be selected from the plurality of upgrade terminals, and sends the upgrade instruction to the target upgrade terminal by confirming the upgrade operating instruction, so that the target upgrade terminal performs the upgrade operation based on the upgrade instruction, thereby upgrading the upgrade terminal to be upgraded.
In addition, some terminal systems in the pipeline system are the latest versions, and version upgrading is not needed, so that when the pipeline system is upgraded, the terminals needing upgrading are selected through selection operation to complete the upgrading of the pipeline system, and invalid upgrading operation on an upgrading operation end is avoided.
In order to understand the upgrading method of the pipeline upgrading system more integrally, the embodiment of the application provides another upgrading method which can be applied to the upgrading system shown in fig. 1. In the embodiment of the present application, the upgrade file is in a compressed package format, and may be an upgrade package, and the upgrade package may include upgrade files corresponding to a plurality of upgrade terminals. Fig. 9 illustrates a flowchart of another upgrading method provided in an embodiment of the present application. As shown in fig. 9, the upgrade method includes the following steps.
And S91, the upgrade operation end imports an upgrade package. In the case of being valid, S92 is executed. If the information is invalid, invalid information is presented, and the process proceeds to S911.
Here, the upgrade operation side may analyze whether the upgrade package is valid. Specifically, the upgrade operation side decompresses and analyzes the upgrade package. If the decompressed file of the upgrade package includes the relevant information of the device, such as the device type and the upgrade version number, the upgrade package is confirmed to be valid, and S92 is performed. And if the related information of the equipment is not included in the decompressed file, prompting invalidation information of the upgrade package.
And S92, the upgrading operation terminal establishes communication connection with each upgrading terminal.
Here, the upgrade terminal may enable communication connection listening. The upgrading operation terminal sends a communication connection request to the upgrading terminal, and each upgrading terminal receives the request, so that the upgrading operation terminal and the upgrading terminal are in communication connection.
And S93, the upgrade operation end performs identity authentication on the upgrade daemon of each upgrade terminal. If the authentication is passed, S94 is executed. And under the condition of failing to pass the authentication, prompting the failure of the authentication and ending the upgrading process of the upgrading terminal with failed authentication.
Here, when the upgrade operating terminal confirms that the daemon process of one upgrade terminal does not pass, the identity authentication of the daemon process of the next upgrade terminal is continuously performed.
And S94, the upgrade operation terminal compares the upgrade terminal with the device type and version information in the upgrade package. In the case where the device types match and the version numbers do not match, the flow proceeds to S95. And under the condition that the types of the equipment are not matched or the version numbers are consistent, prompting that the types are not matched or are the latest version, and ending the upgrading process of the corresponding upgrading terminal.
And S95, the upgrade operation terminal sends a file transmission request to at least one upgrade terminal. In the case where the upgrade terminal responds to the file transfer request, the upgrade operation terminal executes S96. And under the condition that the upgrading operation end does not respond to the file transmission request, the upgrading operation end prompts that the upgrading is failed, and the upgrading process of the unresponsed upgrading terminal is finished.
And S96, the upgrading terminal receives the sub-upgrading file sent by the upgrading operation terminal and feeds back the receiving completion result to the upgrading operation terminal.
After the upgrade terminal receives the complete sub-upgrade file, the received upgrade package is stored in the temporary directory, and the upgrade package is backed up.
In some embodiments, in order to improve transmission efficiency, the upgrade operating end splits the sub-upgrade file into a plurality of sub-file blocks and transmits the sub-upgrade file. And after the upgrading terminal receives the plurality of sub-file blocks, assembling the plurality of sub-file blocks and restoring the sub-file blocks into the sub-upgrading file. And when the transmission of a certain sub-upgrade file fails, the upgrade operation terminal executes retransmission through a retransmission mechanism.
And S97, the upgrade operation terminal sends an upgrade instruction to the upgrade terminal.
And S98, after the upgrading terminal receives the upgrading instruction, the version upgrading is executed, and the upgrading result is fed back to the upgrading operation terminal.
Here, before the version upgrade is performed, the upgrade terminal backs up the current version system so as to subsequently perform a rollback function. In the process of executing the upgrade, the upgrade terminal feeds the information of the upgrade process back to the upgrade operation terminal in real time, so that the upgrade operation terminal displays the information of the upgrade process in real time and a user can know the upgrade information conveniently.
And S99, the upgrading operation end analyzes the upgrading result. In case that the upgrade result indicates that the upgrade of the upgrade terminal is successful, S95 to S99 are repeatedly performed until the upgrade results of all upgrade terminals indicate that the upgrade is successful, and S910 is performed. If the upgrade result indicates that the upgrade of the upgrade terminal fails, the process proceeds to S912.
And S910, the upgrading operation terminal prompts the restarting of the upgrading terminal and the step is S911.
And S911, the upgrading operation end finishes the upgrading process.
And S912, the upgrading operation end sends a rollback instruction to the upgrading terminal, and the process goes to S913.
And S913, the upgrade terminal receives the rollback instruction, executes the rollback operation until the upgrade terminal which is successfully upgraded and the upgrade terminal which is failed to upgrade roll back to the version before upgrading, and shifts to S911.
In the above embodiment, the upgrade operating end receives the upgrade package, establishes a communication connection with each upgrade terminal, performs identity authentication on each upgrade terminal, respectively compares the upgrade package with the device information of each upgrade terminal, and sequentially performs upgrade operations on the upgrade terminals under the conditions that the identity authentication is passed and the device information is matched. And under the condition of upgrading failure, the upgrading operation end restores the upgrading terminal to the version before upgrading through a failure rollback mechanism. Therefore, on one hand, batch upgrading of a plurality of upgrading terminals in the pipeline system can be realized, version upgrading of the pipeline system is independent of the type of the platform and the type of the equipment, and cross-platform upgrading is realized. On the other hand, through a failure synchronous rollback mechanism, the problem that system versions of all terminals in the pipeline system are not matched after the upgrading fails can be solved, and software versions of all terminals in the pipeline system are matched after the upgrading.
On the other hand, the embodiment of the application also provides upgrading equipment. Fig. 10 shows a schematic structural diagram of an upgrading device provided in an embodiment of the present application. As shown in fig. 10, the upgrading apparatus may include a processor 101 and a memory 102, where the memory 102 stores a computer program executable by the processor, and the computer program is executed by the processor to implement the upgrading method of the pipeline system according to any embodiment of the present application, and the upgrading apparatus and the upgrading method provided in the foregoing embodiments can achieve the same technical effects, and are not repeated here to avoid repetition.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing upgrade method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiment of the present application further provides a computer program product, which includes computer instructions, and the computer instructions, when executed by a processor, implement the method for upgrading a pipeline system according to any embodiment of the present application, and the method for upgrading an pipeline system according to any embodiment of the present application can achieve the same technical effects as the method for upgrading an pipeline system according to the foregoing embodiment.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An upgrading method of a pipeline system is applied to an upgrading operation end, and the method comprises the following steps:
receiving an upgrade file uploaded according to a set path according to an operation instruction for adding the upgrade file in an upgrade operation interface; the upgrading file at least comprises sub-upgrading files corresponding to N upgrading terminals contained in at least one pipeline system respectively, each upgrading terminal comprises a plurality of different types of medical detection instruments and a control center, upgrading daemons are installed in the upgrading terminals respectively, and the upgrading terminals form the medical detection pipeline system;
establishing communication connection with an upgrading terminal daemon of each upgrading terminal;
receiving a current version number returned by each upgrading terminal, determining a version number to be upgraded corresponding to each upgrading terminal according to the upgrading file, and displaying the version number to be upgraded and the current version number of each upgrading terminal in a correlation manner in an interface to be upgraded;
according to the operation instruction for confirming upgrading in the interface to be upgraded, sending an upgrading instruction to the corresponding upgrading terminal, and acquiring L pieces of upgrading success information respectively returned by the upgrading terminal after upgrading operation is carried out on the upgrading terminal based on the upgrading instruction;
if L is smaller than N, sending a rollback instruction to the N upgrading terminals in the pipeline system so as to restore the system versions of the N upgrading terminals to the versions before upgrading;
if L is equal to N, displaying upgrading success information;
the establishing of the communication connection between the upgrading terminal daemon of each upgrading terminal comprises the following steps: determining a medical detection pipeline system associated with the upgrading operation end, acquiring Internet Protocol (IP) addresses of N upgrading terminals contained in the medical detection pipeline system, and establishing communication connection with each upgrading terminal; wherein the medical detection pipeline system associated with the upgrade operation end comprises at least one of: a preset medical detection pipeline system associated with the account of the upgrading operation end, a medical detection pipeline system in the same network segment with the upgrading operation end, and a medical detection pipeline system searched according to the input IP address received by the upgrading operation end;
after the establishing of the communication connection with the upgrade terminal daemon of each upgrade terminal, the method further includes: obtaining equipment identification information returned by each upgrading terminal, and performing equipment identity authentication on N upgrading terminals based on the equipment identification information, wherein the equipment identity authentication comprises the steps of authenticating whether each upgrading terminal belongs to the same medical detection assembly line system, and executing the subsequent upgrading steps aiming at the upgrading terminals of which the identity authentication belongs to the same medical detection assembly line system.
2. The upgrading method according to claim 1, further comprising, after establishing the communication connection with each of the upgrading terminals:
and acquiring identification information returned by each upgrading terminal, and respectively performing identity authentication on the upgrading daemon processes of the N upgrading terminals based on the identification information.
3. The upgrading method according to claim 2, wherein the receiving of the current version number returned by each upgrading terminal, determining the version number to be upgraded corresponding to each upgrading terminal according to the upgrade file, and displaying the version number to be upgraded and the current version number of each upgrading terminal in association in the interface to be upgraded comprises:
if the identity authentication is successful, acquiring the equipment types returned by the N upgrading terminals and the corresponding current version numbers thereof;
and determining a version number to be upgraded corresponding to the equipment type returned by the N upgrading terminals in the upgrading file according to the equipment type returned by the N upgrading terminals, and displaying the version number to be upgraded and the current version number of each upgrading terminal in a to-be-upgraded interface in a correlated manner.
4. The upgrading method according to claim 1, wherein before sending the upgrading instruction to the corresponding upgrading terminal according to the operation instruction for confirming upgrading in the interface to be upgraded, the method further comprises:
and splitting the sub-upgrade file into a plurality of sub-file blocks, and respectively transmitting the sub-file blocks to the upgrade terminals of corresponding equipment types, so that the upgrade terminals use the sub-file blocks matched with the upgrade terminals to upgrade the system versions.
5. The upgrading method according to claim 4, wherein the sending of the upgrading instruction to the corresponding upgrading terminal according to the operation instruction for confirming upgrading in the interface to be upgraded comprises:
determining a target upgrading terminal to be upgraded currently according to the selection operation of at least one upgrading terminal in the interface to be upgraded;
and sending an upgrading instruction to the target upgrading terminal according to the operation instruction for confirming upgrading in the interface to be upgraded.
6. An upgrading method of a pipeline system is applied to an upgrading system, the upgrading system comprises an upgrading operation end and the pipeline system, the pipeline system comprises a plurality of upgrading terminals, and the method comprises the following steps:
the upgrading operation terminal receives the upgrading file uploaded according to the set path according to the operation instruction for adding the upgrading file in the upgrading operation interface; the upgrading file at least comprises sub-upgrading files corresponding to N upgrading terminals contained in at least one pipeline system respectively, each upgrading terminal comprises a plurality of different types of medical detection instruments and a control center, upgrading daemons are installed in the upgrading terminals respectively, and the upgrading terminals form the medical detection pipeline system;
the upgrading operation end establishes communication connection with the upgrading terminal daemon of each upgrading terminal;
the upgrading operation end receives the current version number returned by each upgrading terminal, determines the version number to be upgraded corresponding to each upgrading terminal according to the upgrading file, and displays the version number to be upgraded and the current version number of each upgrading terminal in a correlation mode in an interface to be upgraded;
the upgrading operation terminal sends the upgrading file of the version number to be upgraded matched with the upgrading operation terminal to the corresponding upgrading terminal, and sends an upgrading instruction to the corresponding upgrading terminal according to an operation instruction for confirming upgrading in the interface to be upgraded;
the upgrading terminal executes upgrading according to the received sub-upgrading file and the upgrading instruction, and if the upgrading is successful, upgrading success information is returned to the upgrading operation terminal;
the upgrading operation end receives L pieces of upgrading success information respectively returned by the upgrading terminals, if L is smaller than N, a rollback instruction is sent to N upgrading terminals in the assembly line system, so that the system versions of the N upgrading terminals are restored to the versions before upgrading, and if L is equal to N, the upgrading success information is displayed;
the method for establishing communication connection between the upgrading operation terminal and the upgrading terminal daemon of each upgrading terminal comprises the following steps:
the establishing of the communication connection with each upgrading terminal comprises the following steps: determining a medical detection pipeline system associated with the upgrading operation end, acquiring Internet Protocol (IP) addresses of N upgrading terminals contained in the medical detection pipeline system, and establishing communication connection with each upgrading terminal; wherein the medical detection pipeline system associated with the upgrade operation end comprises at least one of: a preset medical detection pipeline system associated with the account of the upgrading operation end, a medical detection pipeline system in the same network segment with the upgrading operation end, and a medical detection pipeline system searched according to the input IP address received by the upgrading operation end;
after the upgrade operation end establishes communication connection with an upgrade terminal daemon between the upgrade terminals, the method further comprises the following steps: and acquiring equipment identification information returned by each upgrading terminal, and performing equipment identity authentication on the N upgrading terminals based on the equipment identification information, wherein the equipment identity authentication comprises the steps of authenticating whether each upgrading terminal belongs to the same medical detection assembly line system, and executing the subsequent upgrading steps aiming at the upgrading terminals of which the identity authentication belongs to the same medical detection assembly line system.
7. The upgrade method according to claim 6, wherein the displaying upgrade success information includes:
and the upgrading operation terminal displays the upgraded terminal identification and the restarting confirmation information which are upgraded on the current interface, and sends a restarting instruction to the corresponding upgraded terminal according to the confirmation operation of the restarting confirmation information.
8. The upgrading method according to claim 6, wherein before the upgrading terminal executes upgrading according to the received sub-upgrade file and the upgrade instruction, the method further comprises:
and the upgrading terminal backs up the current system version.
9. An upgrade apparatus for a pipeline system, comprising a processor and a memory, the memory having stored therein a computer program executable by the processor, the computer program, when executed by the processor, implementing an upgrade method for a pipeline system according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a controller, implements the upgrade method of a pipeline system according to any one of claims 1 to 8.
CN202210371806.6A 2022-04-11 2022-04-11 Method, apparatus, medium, and program product for upgrading pipeline system Active CN114443105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210371806.6A CN114443105B (en) 2022-04-11 2022-04-11 Method, apparatus, medium, and program product for upgrading pipeline system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210371806.6A CN114443105B (en) 2022-04-11 2022-04-11 Method, apparatus, medium, and program product for upgrading pipeline system

Publications (2)

Publication Number Publication Date
CN114443105A CN114443105A (en) 2022-05-06
CN114443105B true CN114443105B (en) 2022-08-02

Family

ID=81360400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210371806.6A Active CN114443105B (en) 2022-04-11 2022-04-11 Method, apparatus, medium, and program product for upgrading pipeline system

Country Status (1)

Country Link
CN (1) CN114443105B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316189A (en) * 2008-05-27 2008-12-03 华为技术有限公司 Method, system and device for upgrading network appliance
CN101694622A (en) * 2009-09-29 2010-04-14 中兴通讯股份有限公司 Remote firmware upgrading method of multi-device combination equipment and system thereof
CN101916200A (en) * 2010-08-03 2010-12-15 中兴通讯股份有限公司 Method for terminal upgrading, method for backoff of terminal upgrading and upgrading management center
CN111414185A (en) * 2020-02-28 2020-07-14 浙江吉利新能源商用车集团有限公司 Terminal upgrading method and device, terminal and storage medium
CN111562935A (en) * 2020-07-14 2020-08-21 江苏海平面数据科技有限公司 OTA security upgrading system and upgrading method thereof

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639448A (en) * 2017-10-09 2019-04-16 阿里巴巴集团控股有限公司 The method and upgrade-system of updating apparatus
CN110032382A (en) * 2019-03-25 2019-07-19 深圳猛犸电动科技有限公司 A kind of vehicle electronic control unit upgrade method, system and terminal device
CN110377306A (en) * 2019-07-18 2019-10-25 上海擎感智能科技有限公司 For the management method and device of mobile unit upgrade package, medium, server
CN110837389A (en) * 2019-11-01 2020-02-25 北京云迹科技有限公司 Equipment upgrading method and device, Internet of things equipment and storage medium
CN111177799B (en) * 2019-12-31 2022-07-05 奇安信科技集团股份有限公司 Security protection method, system, computer device and computer-readable storage medium
US11895105B2 (en) * 2020-06-19 2024-02-06 Apple, Inc. Authenticated interface element interactions
CN113342371B (en) * 2021-05-31 2022-07-26 招商蛇口数字城市科技有限公司 Internet of things equipment upgrading system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316189A (en) * 2008-05-27 2008-12-03 华为技术有限公司 Method, system and device for upgrading network appliance
CN101694622A (en) * 2009-09-29 2010-04-14 中兴通讯股份有限公司 Remote firmware upgrading method of multi-device combination equipment and system thereof
CN101916200A (en) * 2010-08-03 2010-12-15 中兴通讯股份有限公司 Method for terminal upgrading, method for backoff of terminal upgrading and upgrading management center
CN111414185A (en) * 2020-02-28 2020-07-14 浙江吉利新能源商用车集团有限公司 Terminal upgrading method and device, terminal and storage medium
CN111562935A (en) * 2020-07-14 2020-08-21 江苏海平面数据科技有限公司 OTA security upgrading system and upgrading method thereof

Also Published As

Publication number Publication date
CN114443105A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN108196878B (en) Method and device for generating application program installation package, electronic equipment and storage medium
EP3575975B1 (en) Method and apparatus for operating smart network interface card
CN112486629B (en) Micro-service state detection method, micro-service state detection device, electronic equipment and storage medium
CN106802814B (en) Method and device for upgrading software version
CN113946358A (en) Automatic driving vehicle software remote upgrading method based on vehicle management system
WO2018088039A1 (en) Sensor opening test system, sensor opening test management terminal, sensor, sensor opening test method and program
US20140297226A1 (en) Sample analysis method, sample analysis system, and recovery method
CN111338951A (en) Wireless intelligent household appliance detection method and system
CN114443105B (en) Method, apparatus, medium, and program product for upgrading pipeline system
CN109491702B (en) Optimization scheme determination method and device, terminal equipment and storage medium
CN111930625B (en) Log acquisition method, device and system based on cloud service platform
CN110333964A (en) Abnormal log processing method and processing device, electronic equipment, storage medium
CN112416394B (en) Service upgrading method and device, storage medium and electronic equipment
CN111694684A (en) Abnormal construction method and device of storage equipment, electronic equipment and storage medium
CN112084114B (en) Method and apparatus for testing interfaces
CN110134558B (en) Method and device for detecting server
US11861214B2 (en) Memory device forensics and preparation
US10437813B2 (en) Self-healing of layer metadata within a layering system
CN112527678A (en) Method, apparatus, device and storage medium for testing protocol
CN116347501A (en) Test method, device, equipment and storage medium based on wireless communication product
CN110533432B (en) Service processing method, device, server and client
CN113127029A (en) Firmware updating method and device, electronic equipment and storage medium
CN114461248B (en) Function updating method, device and storage medium for automatic driving system
KR102547970B1 (en) Apparatus and method for refinement and databaseization of mass spectrometry data
CN118295677A (en) Version upgrading method, first terminal and second terminal

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
GR01 Patent grant
GR01 Patent grant