CN110569047A - method for remotely updating human-computer interface based on detachable communication module - Google Patents

method for remotely updating human-computer interface based on detachable communication module Download PDF

Info

Publication number
CN110569047A
CN110569047A CN201910414015.5A CN201910414015A CN110569047A CN 110569047 A CN110569047 A CN 110569047A CN 201910414015 A CN201910414015 A CN 201910414015A CN 110569047 A CN110569047 A CN 110569047A
Authority
CN
China
Prior art keywords
human
server
file
computer interface
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910414015.5A
Other languages
Chinese (zh)
Inventor
吴立超
徐刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yi Yi Information Polytron Technologies Inc
Original Assignee
Shanghai Yi Yi Information Polytron Technologies Inc
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 Shanghai Yi Yi Information Polytron Technologies Inc filed Critical Shanghai Yi Yi Information Polytron Technologies Inc
Priority to CN201910414015.5A priority Critical patent/CN110569047A/en
Publication of CN110569047A publication Critical patent/CN110569047A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for remotely updating a human-computer interface based on a detachable communication module, which comprises the following steps: confirming the state and information of the communication module; uploading the project file to a server; the server downloads the engineering file to a specified human-computer interface; recording the current downloading state by the human-computer interface; the human-computer interface receives the engineering file and judges the integrity of the file by comparing the engineering file with the corresponding check segment in the check judgment and package; the human-computer interface replies that the server is successfully downloaded; and the server sends the human-computer interface reply to the upper computer, and the upper computer displays that the downloading is successful. Compared with the existing local downloading mode, the remote downloading mode is not restricted by time and place, the cost of workers for updating human-computer interface engineering on site is saved, the production efficiency is greatly improved, and the cost of manpower and material resources is saved.

Description

Method for remotely updating human-computer interface based on detachable communication module
Technical Field
the invention relates to a method for remotely updating equipment, in particular to a method for remotely updating a human-computer interface based on a detachable communication module.
Background
the Human Machine Interface (HMI) refers to a medium for interaction and information exchange between a system and a user, and running software mainly comprises a linux operating system and a configuration engineering application program. With the development of the internet and the industrial internet of things, the internet function of the HMI is developed at the same time, and due to the consideration of different internet access modes and cost, the detachable communication module becomes the first choice, the engineering file is firstly uploaded to the server, and then the server downloads the engineering file to the appointed HMI.
With the rapid development of information technology in the field of industrial control, the existing human-computer interface equipment is gradually connected with an internet of things module, and the function of the internet of things becomes an essential additional function of the human-computer interface equipment. The traditional man-machine interface is generally connected with a controller, such as industrial control equipment including a PLC, a frequency converter, an instrument and the like, through a serial port and an Ethernet to acquire and control data. And directly or after operation processing, displaying the acquired data to a user through a display screen. The user is required to view and obtain the information of the human-computer interface on the site of the human-computer interface. Similarly, the user needs to operate the human-computer interface, write working parameters into the controller or input related operation instructions, and needs to be on the site of the human-computer interface to perform interaction. If the user is not on the human-computer interface, the data information of the field equipment cannot be acquired, and the operation and the control cannot be carried out.
the maintenance mode of the traditional equipment is that the equipment is stopped for diagnosis and maintenance after a fault occurs, and the stopping and the troubleshooting are long in time and high in cost, so that unnecessary loss is caused. Various means of remote maintenance have emerged in the prior art. Remote maintenance (remotemaintance or telemaintennce) refers to a computer system technical service engineer or an administrator connecting to a target computer or a network system to be maintained and managed through a local area network or an Internet network, and locally performing operations such as installation, configuration, maintenance, monitoring, management and the like on a remote system. Engineers do not need to visit the site to check and process problems, maintenance cost of the computer application system is greatly reduced, user loss is reduced to the maximum extent, and a high-efficiency and low-cost service mode is realized.
however, as shown in fig. 1, in the field of HMI, when updating the HMI project, the prior art generally uses USB or internet communication to connect with the local PC, and then downloads the corresponding configuration project. In other words, the prior art communicates via USB or ethernet, which is limited to several meters from the downloading host or in the same lan, which is far from meeting the current HMI update requirements.
disclosure of Invention
In view of the above problems in the prior art, an object of the present invention is to provide a method for remotely updating a human-machine interface based on a detachable communication module.
in order to achieve the purpose, the invention adopts the following technical scheme:
A method for remotely updating a human-computer interface based on a detachable communication module comprises the following steps: confirming the state and information of the communication module; uploading the project file to a server; the server downloads the engineering file to a specified human-computer interface; recording the current downloading state by the human-computer interface; the human-computer interface receives the engineering file and judges the integrity of the file by comparing the engineering file with the corresponding check segment in the check judgment and package; the human-computer interface replies that the server is successfully downloaded; and the server sends the human-computer interface reply to the lower computer, and the lower computer displays that the downloading is successful.
Further, the method for confirming the state and the information of the communication module comprises the following steps: powering on a human-computer interface with a communication module, and reporting a current online state by a connection server; the upper computer program acquires that a human-computer interface of a server, which indicates a sequence number, is logged in and sends a command for acquiring hardware information of the human-computer interface; the server sends a command for acquiring hardware information of the human-computer interface to the human-computer interface; and the human-computer interface receives the corresponding command and sends the hardware information to the server.
further, the method comprises the following steps: when the current downloading state is recorded by the human-computer interface, if the downloading interruption caused by data reception is not detected due to exceeding of the waiting time, entering a breakpoint continuous transmission step; uploading the download interruption point to a server; the server sends the download interruption position to the upper computer; the upper computer retransmits the packet with the interrupt point to the server; and the server sends the corresponding file packet to the HMI and returns.
Further, the file verification method comprises the following steps: the human-computer interface receives the engineering file, judges the integrity of the file by comparing the verification judgment with the corresponding verification section in the packet, and enters a file verification step when the integrity verification fails; deleting the downloaded engineering file, and returning a server file to fail to verify; the server sends the verification failure to the upper computer; and the upper computer displays that the downloading fails and finishes.
Furthermore, when the communication problem or other problems occur in the network, the breakpoint is returned to the server, the server transmits corresponding information to the upper computer, the upper computer resends the file at the breakpoint to the server, and the server forwards the corresponding file to the corresponding human-computer interface.
further, the whole file is divided into 2 k-sized packets, each packet is added with a packet header containing a serial number and check information, when all the packets are received by the human-computer interface, the integrity and the correctness of each packet are sequentially checked, and after the integrity is checked, the files of a plurality of packets are combined into a target file according to the packet serial numbers.
in the technical scheme, compared with the existing local downloading mode, the remote downloading mode is not restricted by time and place, the cost of workers needing to update human-computer interface engineering on site is saved, the production efficiency is greatly improved, and the cost of manpower and material resources is saved.
drawings
FIG. 1 is a schematic diagram of a prior art human-machine interface update;
FIG. 2 is a schematic diagram of the human-machine interface update of the present invention;
FIG. 3 is a flow chart of the steps for confirming the status and information of the communication module;
Fig. 4 is a flow chart of the overall method of the present invention.
Detailed Description
The technical scheme of the invention is further explained by combining the drawings and the embodiment.
Referring to fig. 2, the present invention discloses a method for remotely updating a Human-Machine Interface based on a detachable communication module, which changes the previous Human-Machine Interface (HMI) updating method shown in fig. 1. As shown in fig. 2, the method of the present invention is based on a triangle architecture of a PC, an HMI and a cloud server, a server establishes a path with a local PC, an upper computer uploads an engineering file to the server, and the server forwards the engineering file to an assigned HMI. Therefore, the invention is suitable for the HMI equipment with a detachable communication module, the upper computer program uploads the project file to the server, the server downloads the project file to the appointed HMI, and the HMI is restarted to run the update project.
Referring to fig. 3, based on the hardware configuration of the present invention, the method of the present invention first needs to confirm the status and information of the communication module. As shown in fig. 3, the remote HMI first reports that the device is online to the cloud server, and the cloud receives the report information and then notifies the local PC that the host computer is online. And after receiving the notification, the local PC feeds back an instruction for acquiring the hardware information to the cloud. And after receiving the instruction, the cloud forwards the instruction for acquiring the hardware information to the remote HMI. And after receiving the instruction, the remote HMI sends the hardware information of the remote HMI to the cloud server. And after receiving the hardware information, the cloud sends the hardware information to the upper computer. Subsequently, the local PC uploads the project file to the server, and the cloud server forwards the project file to the HMI. After receiving the project file, the HMI replies information of successful project downloading to the cloud server. And after receiving the information, the cloud server replies a signal that the downloading of the upper computer is successful.
Further, referring to fig. 4, the overall logic steps of the method of the present invention are:
S1: the HMI with the communication module is powered on, and the connection server reports the current on-line state.
S2: and the upper computer program acquires that the HMI of the sequence number in the server is logged in and sends an HMI hardware information acquisition command.
S3: the server sends a command to the HMI to obtain the HMI hardware information.
s4: the HMI receives the corresponding command and sends the hardware information to the server.
s5: and the server sends the corresponding information to the upper computer, and uploads the engineering file to the server after confirming that the hardware information is correct.
s6: the server downloads the project file into the designated HMI.
S7: the HMI records the current download status, such as an interruption of the download due to the exceeding of the waiting time and no detection of data reception, and proceeds to S11.
S8: and the HMI judges the integrity of the engineering file by comparing the received engineering file with the corresponding check segment in the package through check judgment, if the integrity check fails, the process enters S15, and the process is finished.
S9: the HMI replies that the server downloads successfully.
S10: the server sends the HMI reply to the lower computer, and the lower computer displays that the downloading is successful
s11: and uploading the download interruption point to the server.
S12: and the server sends the download interrupt to the upper computer.
s13: and the upper computer retransmits the packet with the interrupt point to the server.
s14: the server sends the corresponding file package to the HMI, returning to S7.
S15: and deleting the downloaded engineering file, and returning the server file to fail in verification.
s16: and the server sends the verification failure to the upper computer.
S17: and the upper computer displays that the downloading fails and finishes.
The flow shown in fig. 3 and 4 further illustrate the interaction process with the server and the breakpoint resuming function as a preferred embodiment of the present invention.
the breakpoint continuous transmission function is that the whole engineering file fshmi.bin is sequentially sent according to each 2K packet and the packet head of the packet serial number and the check information. When the downloading fails due to other reasons such as external network problems, the current downloading sequence number is stored, the packet sequence is sent to the server, the server sends corresponding information back to the upper computer, the upper computer retransmits the file according to the packet sequence number until the integrity of the file is verified after the transmission is finished, or the file is retransmitted for 3 times and the transmission fails.
And the file integrity check comprises the steps of sequentially detecting the packet heads of all packets after all files are downloaded, sequencing according to the packet sequence numbers, sequentially checking whether the check information of the packets is correct, removing the packet heads of all the packets to recombine the required files according to the sequence if the information of each packet is correct, putting the files into corresponding folders, and running the latest engineering file when the files are restarted next time.
it should be understood by those skilled in the art that the above embodiments are only for illustrating the present invention and are not to be used as a limitation of the present invention, and that changes and modifications to the above described embodiments are within the scope of the claims of the present invention as long as they are within the spirit and scope of the present invention.

Claims (6)

1. A method for remotely updating a human-computer interface based on a detachable communication module is characterized by comprising the following steps:
Confirming the state and information of the communication module;
uploading the project file to a server;
the server downloads the engineering file to a specified human-computer interface;
Recording the current downloading state by the human-computer interface;
The human-computer interface receives the engineering file and judges the integrity of the file by comparing the engineering file with the corresponding check segment in the check judgment and package;
The human-computer interface replies that the server is successfully downloaded;
And the server sends the human-computer interface reply to the lower computer, and the lower computer displays that the downloading is successful.
2. The method for remotely updating a human-machine interface based on a detachable communication module as claimed in claim 1, wherein the method for confirming the status and information of the communication module comprises:
Powering on a human-computer interface with a communication module, and reporting a current online state by a connection server;
The upper computer program acquires that a human-computer interface of a server, which indicates a sequence number, is logged in and sends a command for acquiring hardware information of the human-computer interface;
The server sends a command for acquiring hardware information of the human-computer interface to the human-computer interface;
And the human-computer interface receives the corresponding command and sends the hardware information to the server.
3. the method for remotely updating a human-machine interface based on a detachable communication module as claimed in claim 1, further comprising a breakpoint resuming method:
When the current downloading state is recorded by the human-computer interface, if the downloading interruption caused by data reception is not detected due to exceeding of the waiting time, entering a breakpoint continuous transmission step;
Uploading the download interruption point to a server;
The server sends the download interruption position to the upper computer;
The upper computer retransmits the packet with the interrupt point to the server;
And the server sends the corresponding file packet to the HMI and returns.
4. the method for remotely updating a human-machine interface based on a detachable communication module as claimed in claim 1, further comprising a file verification method:
The human-computer interface receives the engineering file, judges the integrity of the file by comparing the verification judgment with the corresponding verification section in the packet, and enters a file verification step when the integrity verification fails;
Deleting the downloaded engineering file, and returning a server file to fail to verify;
The server sends the verification failure to the upper computer;
And the upper computer displays that the downloading fails and finishes.
5. The method for remotely updating a human-machine interface based on a detachable communication module of claim 3, wherein:
When the communication problem or other problems occur in the network, the breakpoint is returned to the server, the server transmits corresponding information to the upper computer, the upper computer resends the file at the breakpoint to the server, and the server forwards the corresponding file to the corresponding human-computer interface.
6. the method for remotely updating a human-machine interface based on a detachable communication module of claim 4, wherein:
The whole file is divided into 2 k-sized packets, each packet is added with a packet header containing a serial number and verification information, when all the packets are received by a human-computer interface, the integrity and the correctness of each packet are sequentially verified, and after the integrity is verified, the files of a plurality of packets are combined into a target file according to the packet serial numbers.
CN201910414015.5A 2019-05-17 2019-05-17 method for remotely updating human-computer interface based on detachable communication module Pending CN110569047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910414015.5A CN110569047A (en) 2019-05-17 2019-05-17 method for remotely updating human-computer interface based on detachable communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910414015.5A CN110569047A (en) 2019-05-17 2019-05-17 method for remotely updating human-computer interface based on detachable communication module

Publications (1)

Publication Number Publication Date
CN110569047A true CN110569047A (en) 2019-12-13

Family

ID=68773657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910414015.5A Pending CN110569047A (en) 2019-05-17 2019-05-17 method for remotely updating human-computer interface based on detachable communication module

Country Status (1)

Country Link
CN (1) CN110569047A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114578783A (en) * 2021-12-28 2022-06-03 上海繁易信息科技股份有限公司 Remote debugging method and system for industrial field equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220035A (en) * 2016-03-22 2017-09-29 比亚迪股份有限公司 Interface subject updates system and method, client, instrument terminal and server
US20180136921A1 (en) * 2015-09-04 2018-05-17 Siemens Aktiengesellschaft Patch management for industrial control systems
CN108255127A (en) * 2018-01-09 2018-07-06 正知(上海)智能技术有限公司 A kind of industry spot remote control administrative system and method based on industrial human-computer interface
CN108804115A (en) * 2017-05-04 2018-11-13 沃尔沃汽车公司 vehicle software installation method and system
CN109408084A (en) * 2018-09-26 2019-03-01 深圳市科陆电子科技股份有限公司 A kind of method and system by internet remote upgrade energy storage BMS equipment
CN109656586A (en) * 2017-10-11 2019-04-19 福特全球技术公司 Hybrid electric vehicle with automated software more new system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180136921A1 (en) * 2015-09-04 2018-05-17 Siemens Aktiengesellschaft Patch management for industrial control systems
CN107220035A (en) * 2016-03-22 2017-09-29 比亚迪股份有限公司 Interface subject updates system and method, client, instrument terminal and server
CN108804115A (en) * 2017-05-04 2018-11-13 沃尔沃汽车公司 vehicle software installation method and system
CN109656586A (en) * 2017-10-11 2019-04-19 福特全球技术公司 Hybrid electric vehicle with automated software more new system
CN108255127A (en) * 2018-01-09 2018-07-06 正知(上海)智能技术有限公司 A kind of industry spot remote control administrative system and method based on industrial human-computer interface
CN109408084A (en) * 2018-09-26 2019-03-01 深圳市科陆电子科技股份有限公司 A kind of method and system by internet remote upgrade energy storage BMS equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114578783A (en) * 2021-12-28 2022-06-03 上海繁易信息科技股份有限公司 Remote debugging method and system for industrial field equipment
CN114578783B (en) * 2021-12-28 2024-04-09 上海繁易信息科技股份有限公司 Remote debugging method and system for industrial field device

Similar Documents

Publication Publication Date Title
CN101197621B (en) Method and system for remote diagnosing and locating failure of network management system
US8793366B2 (en) Method and arrangement for diagnosing networks including field bus systems
CN109791516A (en) For unit to be monitored and controlled used in autonomous system from X characteristic having
WO2023125591A1 (en) Remote diagnosis method, apparatus and system, and electronic device and storage medium
CN113533887B (en) Intelligent debugging method and system for power distribution terminal
CN102830694A (en) Automatic fault inspection system and client monitoring terminal
CN112733369A (en) Intelligent equipment maintenance method, terminal and system and electronic equipment
CN111290351A (en) Driver management method, system, computer equipment and storage medium
CN111052087A (en) Control system, information processing device, and abnormality factor estimation program
CN115080299B (en) Software fault feedback processing method, device, medium and equipment
CN110569047A (en) method for remotely updating human-computer interface based on detachable communication module
CN111324084A (en) Tunnel boring machine remote control method and system based on cloud computing
CN103684917A (en) Multi-target-machine system monitoring system and method
CN111203869A (en) Robot system maintenance method and device, robot and readable storage medium
CN112636960A (en) Edge computing equipment intranet collaborative maintenance method, system, device, server and storage medium thereof
CN116955232A (en) Hardware identification method and device based on control system
JP2021144639A (en) Asset information management system, and asset information management method
CN109522023A (en) It is applicable in the system and method for rail traffic signal system field deployment and rollback
CN102576222B (en) For the method for operation site bus interface
JP2008171077A (en) System and method for monitoring network system, and computer program
WO2021081075A1 (en) Workflow for self provisioning smart well controller
CN111008092A (en) Welding machine communication management method and welding machine
KR20160112787A (en) Test system and control method thereof
CN110545202A (en) Equipment management system based on cloud platform
CN114237175B (en) Monitoring system and monitoring method for vehicle manufacturing assembly workshop equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191213