CN109814904B - HMI configuration synchronization system and method - Google Patents

HMI configuration synchronization system and method Download PDF

Info

Publication number
CN109814904B
CN109814904B CN201910023995.6A CN201910023995A CN109814904B CN 109814904 B CN109814904 B CN 109814904B CN 201910023995 A CN201910023995 A CN 201910023995A CN 109814904 B CN109814904 B CN 109814904B
Authority
CN
China
Prior art keywords
hmi
update event
configuration
relay server
terminal equipment
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
CN201910023995.6A
Other languages
Chinese (zh)
Other versions
CN109814904A (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 Samkoon Technology Corp ltd
Original Assignee
Shenzhen Samkoon Technology Corp 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 Samkoon Technology Corp ltd filed Critical Shenzhen Samkoon Technology Corp ltd
Priority to CN201910023995.6A priority Critical patent/CN109814904B/en
Publication of CN109814904A publication Critical patent/CN109814904A/en
Application granted granted Critical
Publication of CN109814904B publication Critical patent/CN109814904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an HMI configuration synchronization system and method, wherein the system comprises an HMI, and comprises a plurality of terminal devices operating with remote configuration and a relay server. The method comprises the following steps: s1, any terminal equipment changes the parameters of the remote configuration to which the terminal equipment belongs, and the parameters are directly transmitted to the HMI or transmitted to the HMI through the relay server; s2, carrying out corresponding parameter change on the HMI according to the local configuration, and uploading an update event to the relay server when the parameter change is completed; and S3, the terminal equipment acquires the update event from the relay server and changes the parameters of the remote configuration to which the terminal equipment belongs according to the update event. According to the method and the system, the terminal equipment changes the parameters of the remote configuration, the HMI modifies the local configuration correspondingly according to the parameters, when the HMI finishes modification, the HMI generates and uploads the update event to explain the details of the parameter change, and the terminal equipment changes the remote configuration according to the update event, so that the synchronization of the configuration data can be realized, the requirement of the system consistency is improved, and the system operation risk is reduced.

Description

HMI configuration synchronization system and method
Technical Field
The invention relates to the technical field of automation, in particular to an HMI configuration synchronization system and an HMI configuration synchronization method.
Background
The HMI is an abbreviation of Human Machine Interface, also called a Human-Machine Interface, is a medium for interaction and information exchange between a system and a user, realizes the conversion between an internal form of information and a Human acceptable form, and has a Human-Machine Interface in the field of Human-Machine information exchange. Is an important component of industrial automation and industrial informatization. The HMI is configured to perform various functions, and configuration software enables monitoring and control of automated processes and equipment.
In the current system, most human interfaces are installed with machine equipment, so that a user can conveniently control the machine on site. With the development of the internet of things and intelligent mobile devices, people have stronger and stronger requirements for information interaction between remote implementation and machines, but most of the current schemes mainly adopt a VNC mode to realize remote and local synchronous display. The VNC is a technology similar to a remote desktop, and realizes that the content displayed on a screen on a local HMI is consistent with the content displayed on a remote PC or an intelligent terminal, but the VNC needs enough network bandwidth and stable data connection, and under the environment of a mobile network and the like, the situations of slow connection, interruption or no connection often occur, so that the experience of remote operation is greatly influenced. Another solution is to run a configuration similar to the local HMI on the remote PC or mobile terminal, but the data synchronization between the two configurations (local: run on HMI and remote: run on PC or mobile) becomes a more important issue, and in addition, when there are multiple remote devices accessing a local device at the same time, the data consistency in the 1-to-N relationship becomes more important.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. To this end, it is an object of the present invention to provide an HMI configuration synchronization system and method.
The technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides an HMI configuration synchronization system, including an HMI, including a plurality of terminal devices operating with remote configurations and a relay server, wherein, when any terminal device changes a parameter of the remote configuration to which the terminal device belongs, the terminal device transmits the parameter to the HMI directly or through the relay server; the HMI acquires the parameters and carries out corresponding parameter change aiming at the local configuration, and when the parameter change is completed, the HMI uploads an update event to the relay server; and the terminal equipment acquires the update event from the relay server and changes the parameters of the remote configuration to which the terminal equipment belongs according to the update event.
Preferably, the HMI is further configured to acquire a parameter for local operation to change the local configuration, and when the change of the parameter for local configuration is completed, upload the update event to the relay server.
Preferably, the local configuration is partially or fully identical to the remote configuration.
Preferably, a local device is further included, the HMI being for controlling the local device.
Preferably, the terminal equipment comprises a mobile phone and a computer.
In a second aspect, the present invention provides an HMI configuration synchronization method, which is applicable to the above system, and includes the steps of: s1, any terminal equipment changes the parameters of the remote configuration to which the terminal equipment belongs, and the parameters are directly transmitted to the HMI or transmitted to the HMI through a relay server; s2, the HMI carries out corresponding parameter change aiming at the local configuration, and when the parameter change is completed, the HMI uploads an update event to the relay server; and S3, the terminal equipment acquires the update event from the relay server and changes the parameters of the remote configuration to which the terminal equipment belongs according to the update event.
Preferably, the method further comprises the step S0: the HMI acquires and executes step S2 according to the local operation.
Preferably, when the HMI obtains a plurality of the parameters, corresponding parameter changes are sequentially performed for the local configuration according to the parameters, and when the parameter changes are completed, an update event is uploaded to the relay server.
Preferably, step S2 specifically includes: s21, the HMI carries out corresponding parameter change aiming at the local configuration, and when the parameter change is completed, the HMI uploads an update event to the relay server; s22, the terminal device corresponding to the step S1 obtains the update event to confirm that the HMI carries out parameter change of local configuration, and outputs prompt information.
Preferably, the relay server issues an update event in real time and/or the terminal device accesses the relay server in real time to obtain the update event, and the terminal device changes the parameter of the remote configuration to which the terminal device belongs according to the update event.
The invention has the beneficial effects that:
according to the method and the system, the terminal equipment changes the parameters of the remote configuration, the HMI modifies the local configuration correspondingly according to the parameters, when the HMI finishes modification, the HMI generates and uploads the update event to explain the details of the parameter change, and the terminal equipment changes the remote configuration according to the update event, so that the synchronization of the configuration data can be realized, the requirement of the system consistency is improved, and the system operation risk is reduced.
Drawings
FIG. 1 is a schematic diagram of an HMI configuration synchronization system of the present invention;
FIG. 2 is a schematic diagram of an HMI configuration synchronization method 1 of the present invention;
FIG. 3 is a schematic diagram of an HMI configuration synchronization method 2 of the present invention;
FIG. 4 is a schematic diagram of an HMI configuration synchronization mechanism of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Example 1
This embodiment is provided to describe the disadvantages of the prior art and the solution of the present statement.
The existing VNC (virtual Network controller) mode (abbreviated as virtual Network console) and the mode of operating a configuration same as that of a local HMI on a remote PC or mobile terminal have the problems mentioned in the background art, and in order to improve the operation stability of the system, it is necessary to implement data synchronization between the HMI and a remote controller (i.e. a terminal device), for this reason, this embodiment provides an HMI configuration synchronization system shown in fig. 1, which includes an HMI (human-machine interface) 1 and a local device 2, which includes a plurality of terminal devices 3 and a relay server 4 operating with remote configurations, and correspondingly, an HMI configuration synchronization method 1 shown in fig. 2 is also provided:
s1, any terminal equipment changes the parameters of the remote configuration to which the terminal equipment belongs, and the parameters are directly transmitted to the HMI or transmitted to the HMI through a relay server;
s2, the HMI carries out corresponding parameter change aiming at the local configuration, and when the parameter change is completed, the HMI uploads an update event to the relay server;
and S3, the terminal equipment acquires the update event from the relay server and changes the parameters of the remote configuration to which the terminal equipment belongs according to the update event.
Example 2
The purpose of this example is to explain the preferred solution:
in step S1, "any terminal device change" specifically includes that, at the same time, only one terminal device and HMI perform parameter transmission (i.e. the case of direct connection), for example, when two terminal devices simultaneously contact the HMI and prepare to perform data transmission, at this time, the HMI only selects one of the terminal devices to perform parameter reception and perform local configuration change, or when at the same time, more than two terminal devices connect the HMI through a relay server, and the relay server only transmits one parameter to the HMI at a time, the basic principle may be that the HMI receives both parameters at the same time, but only one of the parameters is used to perform local configuration change, and when one local configuration change is completed, the HMI performs configuration change according to another parameter, and the more parameters are based on the processing procedure as a blue book, namely that described in the preferred embodiment of S2; the update event is a data stream, and is intended to explain information such as details (for example, what parameters are changed), procedures (parameter change order, etc.), time, etc. of local configuration update; in step S3, three modes may be included, that is, the relay server issues the update event in real time and/or the terminal device accesses the relay server in real time to obtain the update event, where in mode 1, the benefit of the real-time issue of the relay server is the real-time performance of the update event, and meanwhile, the consumption of the real-time access mode of the terminal device may be reduced; in the mode 2, the real-time access mode of the terminal equipment has the advantages that the state of the terminal equipment can be proved, and because the terminal equipment is abnormal or abnormal in a network when the terminal equipment does not access the relay server in real time any more, the state of each part of the whole system can be detected in real time, which cannot be realized by the real-time release mode of the relay server; of course, the above two modes (i.e., the third mode) may be performed simultaneously without reducing the system consumption.
Step S0 may also be included: the HMI acquires and executes step S2 according to the local operation, in this case, as in the HMI configuration synchronization method 2 shown in fig. 3, the HMI may change the local configuration by the local operation, and then continues to execute steps S2 and S3 to achieve synchronization. Meanwhile, due to the local operation (two local configuration changes cannot be generated by one local operation), the problem that terminal equipment is disordered due to multiple changes at the same time is avoided.
The local configuration and the remote configuration may be the same, because some terminal devices (e.g. mobile phones) do not need to perform the complete function of the local device, only a part of the remote configuration is needed to control the local device, and certainly, if the terminal device (PC) is excellent in self-function, the local device can be completely controlled, or the remote configuration and the local configuration are the same; the corresponding technical advantage lies in the ability to meet the control requirements of terminal devices of different capabilities.
Example 3
The present embodiment is configured to provide an HMI configuration synchronization mechanism as shown in fig. 3, and relates to an HMI (provided with a local configuration program), a data forwarding server (i.e. a relay server), and a terminal device (e.g. a mobile phone, a PC, provided with a remote configuration program), where the corresponding process includes the steps of:
s01, the remote configuration data of the terminal (any terminal) is changed, and the corresponding value is written into the local configuration;
s02, after the HMI local configuration is modified, notifying the data forwarding server (by the update event) to indicate that the data has changed, and storing the changed value (the content belonging to the update event) in the server (i.e., the relay server);
s03, the terminal device (A) inquires about data change in the server (namely whether an update event exists);
s04, the server responds to the data change (at the moment, A knows that the HMI does not change the local configuration according to the requirement);
s05, other terminal equipment inquires about data change in the server (namely whether an update event exists);
s06, the server responds that there is data change, and other terminal devices synchronize according to the responded information.
The present embodiment is mainly aimed at the feedback of the terminal device (a), because the user operating the terminal device (a) needs to know whether the change is completed correctly (may be to generate a prompt message for completing the change, and the user knows that the change is completed when seeing the prompt message); in theory, in step S3, the terminal device (a) does not need to perform synchronization, but still performs data synchronization once to prevent accidents, and at this time, the user will know that the change is completed according to the data synchronization, but it is still convenient to determine according to the feedback (because the synchronization itself is only the change of the parameter, and if the comparison is performed according to the parameters to confirm the completion of the change, it is too time consuming, and it is not convenient as a prompt message, and the prompt message may be simple text, voice, etc.).
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (7)

1. An HMI configuration synchronization system comprises an HMI and is characterized by comprising a plurality of terminal devices operating with remote configuration and a relay server, wherein,
when any terminal equipment changes the parameter of the remote configuration to which the terminal equipment belongs, the terminal equipment directly transmits the parameter to the HMI or transmits the parameter to the HMI through a relay server;
the HMI acquires the parameters and carries out corresponding parameter change aiming at the local configuration, and when the parameter change is completed, the HMI uploads an update event to the relay server;
other terminal equipment acquires an update event from the relay server and changes the parameters of the remote configuration to which the terminal equipment belongs according to the update event;
the other terminal equipment obtains the update event from the relay server, wherein the update event comprises one or more of the following events:
the relay server issues an update event to the terminal equipment in real time;
or, the terminal device accesses the relay server in real time to obtain an update event and the relay server issues the update event to the terminal device in real time;
the HMI is further configured to obtain parameters of local configuration changed by local operation, and when the parameters of local configuration are changed, upload an update event to the relay server.
2. The HMI configuration synchronization system of claim 1, wherein the local configuration is partially or fully the same as the remote configuration.
3. The HMI configuration synchronization system of claim 1, further comprising a local device, the HMI configured to control the local device.
4. The HMI configuration synchronization system of claim 1, wherein the terminal device comprises a cell phone and a computer.
5. An HMI configuration synchronization method applied to the system according to any one of claims 1 to 4, comprising the steps of:
s1, any terminal equipment changes the parameters of the remote configuration to which the terminal equipment belongs, and the parameters are directly transmitted to the HMI or transmitted to the HMI through a relay server;
s2, the HMI carries out corresponding parameter change aiming at the local configuration, when the parameter change is completed, the HMI uploads an update event to the relay server, or the HMI obtains local operation and carries out corresponding parameter change aiming at the local configuration according to the local operation, and when the parameter change is completed, the HMI uploads the update event to the relay server;
s3, the other terminal equipment obtains the update event from the relay server and changes the parameters of the remote configuration to which the terminal equipment belongs according to the update event;
in step S3, the other terminal device obtains an update event from the relay server, where the update event includes one or more of the following events: the relay server issues an update event to the terminal equipment in real time; and the terminal equipment accesses the relay server in real time to acquire the update event and the relay server issues the update event to the terminal equipment in real time.
6. The HMI configuration synchronization method according to claim 5, wherein step S2 specifically includes:
and when the HMI obtains a plurality of parameters, corresponding parameter change is carried out on the local configuration according to the parameters in sequence, and when the parameter change is completed, an update event is uploaded to the relay server.
7. The HMI configuration synchronization method according to claim 5, wherein step S2 specifically includes:
s21, the HMI carries out corresponding parameter change aiming at the local configuration, and when the parameter change is completed, the HMI uploads an update event to the relay server;
s22, the terminal device corresponding to the step S1 obtains the update event to confirm that the HMI carries out parameter change of local configuration, and outputs prompt information.
CN201910023995.6A 2019-01-10 2019-01-10 HMI configuration synchronization system and method Active CN109814904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910023995.6A CN109814904B (en) 2019-01-10 2019-01-10 HMI configuration synchronization system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910023995.6A CN109814904B (en) 2019-01-10 2019-01-10 HMI configuration synchronization system and method

Publications (2)

Publication Number Publication Date
CN109814904A CN109814904A (en) 2019-05-28
CN109814904B true CN109814904B (en) 2021-07-13

Family

ID=66603265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910023995.6A Active CN109814904B (en) 2019-01-10 2019-01-10 HMI configuration synchronization system and method

Country Status (1)

Country Link
CN (1) CN109814904B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110824976B (en) * 2019-09-17 2020-09-08 浙江源创建筑智能科技有限公司 Method and system for uploading and analyzing configuration files

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104698978A (en) * 2015-03-17 2015-06-10 华中科技大学 Numerical control system remote monitoring and debugging method based on virtualization technology
CN205809674U (en) * 2016-05-17 2016-12-14 佛山市南海区广工大数控装备协同创新研究院 A kind of HMI system supporting to operate man machine interface in mobile device remote

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100715915B1 (en) * 2005-07-06 2007-05-08 호서대학교 산학협력단 Method for synchronizing data-memory using shared memory in PLC and HMI
CN106774124A (en) * 2016-12-27 2017-05-31 上海展湾信息科技有限公司 Operation of industrial installation monitoring system
CN107051759A (en) * 2017-06-19 2017-08-18 苏州市职业大学 Horizontal screw centrifuge control system
CN207557737U (en) * 2017-12-14 2018-06-29 深圳市华阳新材料科技有限公司 A kind of industry remote monitoring system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104698978A (en) * 2015-03-17 2015-06-10 华中科技大学 Numerical control system remote monitoring and debugging method based on virtualization technology
CN205809674U (en) * 2016-05-17 2016-12-14 佛山市南海区广工大数控装备协同创新研究院 A kind of HMI system supporting to operate man machine interface in mobile device remote

Also Published As

Publication number Publication date
CN109814904A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CA2987154A1 (en) Wireless provisioning and configuring of hardware elements of a home automation system
CN112666877B (en) Control system of Internet of things
WO2015000379A1 (en) Method for remotely controlling air conditioner and remote control system for air conditioner
CN111367542A (en) Household appliance and household appliance firmware upgrading method
CN105100214A (en) Information synchronization method, device and system
US11811864B2 (en) Network connection method and device for training participant end of common training model
WO2013146084A1 (en) Information processing system, information processing method, information processing device, and control method and control program therefor
CN105787300B (en) A kind of method and system that control software uses
CN109814904B (en) HMI configuration synchronization system and method
CN109884971A (en) Long-range control method, apparatus and system
CN111901395B (en) Multi-cluster switching method and device
KR20220039530A (en) Method, device, electronic equipment for adjusting the number of instances and readble storage medium
CN109600266A (en) A kind of device management command dissemination method and management equipment
CN110018875A (en) A kind of desktop synchronization realizing method based on IDV
JP2008197885A (en) Application abnormal end processing system method therefor and program
CN110536186A (en) A kind of remote sensing control method, device, electronic equipment and storage medium
CN110661869A (en) Node online method, system, device, equipment and computer storage medium
CN115277375B (en) Method, system, equipment and storage medium for switching master server and standby server
CN104506655A (en) Method and device for debugging mobile application
CN111045379A (en) Equipment remote monitoring method and system
CN116684683A (en) Television control method and device, electronic equipment and storage medium
CN109756522A (en) Support the Message Agent method of various protocols
CN117938614A (en) Micro-service architecture method and system for industrial control system monitoring software
CN116132496A (en) Control system and method of Internet of things equipment and electronic equipment
JPWO2016143104A1 (en) Control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant