CN106572147B - Method and system for remotely maintaining equipment through connection table - Google Patents

Method and system for remotely maintaining equipment through connection table Download PDF

Info

Publication number
CN106572147B
CN106572147B CN201610862616.9A CN201610862616A CN106572147B CN 106572147 B CN106572147 B CN 106572147B CN 201610862616 A CN201610862616 A CN 201610862616A CN 106572147 B CN106572147 B CN 106572147B
Authority
CN
China
Prior art keywords
equipment
scene
connection table
cloud server
connection
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
CN201610862616.9A
Other languages
Chinese (zh)
Other versions
CN106572147A (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.)
CO-TRUST TECHNOLOGIES Co Ltd
Shenzhen Kechuangsi Technology Co Ltd
Original Assignee
CO-TRUST TECHNOLOGIES Co Ltd
Shenzhen Kechuangsi Technology 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 CO-TRUST TECHNOLOGIES Co Ltd, Shenzhen Kechuangsi Technology Co Ltd filed Critical CO-TRUST TECHNOLOGIES Co Ltd
Priority to CN201610862616.9A priority Critical patent/CN106572147B/en
Publication of CN106572147A publication Critical patent/CN106572147A/en
Application granted granted Critical
Publication of CN106572147B publication Critical patent/CN106572147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • 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/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention discloses a method for remotely maintaining equipment through a connection table, which comprises the following steps: the client sends a device replacing request to the cloud server; after receiving the equipment replacing request, the cloud server copies the scene connection table of the old equipment to the new equipment; inquiring all scenes of the old equipment, and replacing the connections related to the old equipment in the equipment connection tables corresponding to all the inquired scenes with the connections related to the new equipment; sending an equipment replacement notification to all clients running at least one inquired scene, wherein the equipment replacement notification carries an updated equipment connection table corresponding to the scene; and after receiving the device replacement notification, the client automatically replaces the connection of the old device in the scene with the connection of the new device according to the updated device connection table. The invention also discloses a corresponding system. By implementing the technical scheme of the invention, the equipment can be maintained remotely through the connection table quickly and safely, and the working efficiency is improved.

Description

Method and system for remotely maintaining equipment through connection table
Technical Field
The present invention relates to the field of Programmable Logic Controllers (PLC), and in particular, to a method and system for remotely maintaining a device through a netlist.
Background
In the field of PLC field management, the prior art can remotely access a scene picture or project (hereinafter referred to as a scene) of a device, and in the process, two different entities need to be involved, one of which is a device for providing data services, and the other is a picture of an access device; a plurality of configuration pictures used in a remote display scene are often selected, but in actual use, equipment inevitably has problems or maintenance requirements, at the moment, the equipment may need to be replaced in order to ensure the continuity of a system, and confusion is caused if a scene user cannot modify equipment connection in time; in addition, if a user of a scene (e.g., a user of a client) needs to modify the connections of devices in the scene by himself, it is a troublesome task when the users are many and distributed in different areas, which requires each user to know which device has been replaced, and at the same time, needs to modify the connections of the devices in the corresponding scene in the client, which is extremely inefficient.
Disclosure of Invention
In view of the defects of the prior art, the method and the system for remotely maintaining the equipment through the connection table in the embodiment of the invention can quickly and safely remotely maintain the equipment through the connection table, thereby improving the working efficiency.
In order to achieve the above object, an embodiment of the present invention provides a method for remotely maintaining a device through a connection table, including:
when a certain device in a scene needs to be replaced, a client sends a device replacement request to a cloud server, wherein the device replacement request comprises information of an old device which is requested to be replaced and information of a new device after replacement;
after receiving the equipment replacing request, the cloud server copies the scene connection table of the old equipment to the new equipment;
inquiring all scenes utilizing the old equipment according to the scene connection table, and replacing the connection related to the old equipment in each equipment connection table corresponding to all inquired scenes with the connection related to the new equipment;
sending an equipment replacement notification to all clients running at least one queried scene, wherein the equipment replacement notification carries an updated equipment connection table corresponding to the scene;
and after receiving the equipment replacement notification, the client automatically replaces the connection of the old equipment in the scene with the connection of the new equipment according to the updated equipment connection table.
Wherein, further include:
storing an equipment database and a scene database in the cloud server in advance, and storing a corresponding equipment connection table and a corresponding scene connection table; wherein, an equipment connection table is stored for each scene, and all the equipment related to the scene is recorded; and storing a scene connection table for each device, and recording all scenes used by the device.
Wherein, further include:
when a client detects that data of a certain device in a certain scene is wrong, a latest device connection table of the scene is requested from a cloud server within a preset time, and the scene is operated according to the latest device connection table which is received from the cloud server and is related to the scene.
Wherein, further include:
when a client newly opens a certain scene, inquiring a cloud server whether an equipment connection table of the scene changes, if so, receiving a latest equipment connection table from the cloud server about the scene, and operating the scene according to the latest equipment connection table; otherwise, the scene is operated according to the equipment connection table stored in the client.
Wherein the step of running the scene comprises:
and displaying a picture of the virtual scene according to the equipment connection table, and automatically displaying or displaying the latest monitoring information of each equipment in the scene according to a request.
Correspondingly, the embodiment of the invention also provides a system for remotely maintaining equipment through a connection table, which comprises a cloud server and a plurality of clients communicated with the cloud server, wherein:
the client is used for sending an equipment replacement request to the cloud server when certain equipment in a scene needs to be replaced, wherein the equipment replacement request comprises information of old equipment which is requested to be replaced and information of new equipment after replacement; the device connection table is used for automatically replacing the connection of the old device in the scene with the connection of the new device according to the updated device connection table after receiving a device replacement notice from the cloud server;
the cloud server is used for copying the scene connection table of the old equipment to the new equipment after receiving the request from the equipment replacing device, inquiring all scenes utilizing the old equipment according to the scene connection table, and replacing the connection related to the old equipment in each equipment connection table corresponding to all inquired scenes with the connection related to the new equipment; and sending an equipment replacement notification to all the clients operating at least one inquired scene, wherein the equipment replacement notification carries the updated equipment connection table corresponding to the scene.
The cloud server stores an equipment database and a scene database, and stores a corresponding equipment connection table and a corresponding scene connection table; wherein, an equipment connection table is stored for each scene, and all the equipment related to the scene is recorded; and storing a scene connection table for each device, and recording all scenes used by the device.
The client is further used for requesting the latest device connection table of a certain scene from the cloud server within a preset time after detecting that data of a certain device in the certain scene are wrong, and operating the scene according to the latest device connection table received from the cloud server and related to the scene.
The client is further used for inquiring whether the device connection table of a scene changes or not from the cloud server when a certain scene is newly opened, receiving the latest device connection table about the scene from the cloud server if the device connection table of the scene changes, and operating the scene according to the latest device connection table; otherwise, the scene is operated according to the equipment connection table stored in the client.
Wherein the executing the scenario comprises: and displaying a picture of the virtual scene according to the equipment connection table, and automatically displaying or displaying the latest monitoring information of each equipment in the scene according to a request.
The embodiment of the invention has the following beneficial effects:
according to the technical scheme provided by the embodiment of the invention, the connection table is adopted to remotely maintain the connection information of the equipment, when a certain client requests to replace the equipment, the cloud server can distribute the updated equipment connection table to the clients running in the scene corresponding to the equipment, so that the clients run the corresponding scene by adopting the latest equipment connection table; therefore, the equipment can be maintained remotely through the connection table rapidly and safely, and the working efficiency is improved;
meanwhile, if the client does not receive the device replacement notification of the cloud server, the latest device connection table can be requested from the cloud server when the data of a certain device in the scene is in a problem or the certain scene is newly opened, so that the accuracy of the data can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic main flow chart of a method for remotely maintaining equipment through a connection table according to the present invention;
fig. 2 is a schematic structural diagram of a system for remotely maintaining equipment through a connection table according to the present invention.
Detailed Description
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic main flow chart of a method for remotely maintaining a device through a connection table according to the present invention; in this embodiment, the method for remotely maintaining the device through the connection table includes the following steps:
step S10, when a certain device in the scene needs to be replaced, the client sends a device replacement request to the cloud server, wherein the device replacement request comprises information of an old device which is requested to be replaced and information of a new device after replacement;
step S12, after receiving the request for replacing the device, the cloud server copies the scene connection table of the old device to the new device;
step S14, according to the scene connection table, inquiring all scenes using the old device, and replacing the connections related to the old device in each device connection table corresponding to all inquired scenes with the connections related to the new device;
step S16, sending an equipment replacement notice to all clients running at least one inquired scene, wherein the equipment replacement notice carries an updated equipment connection table corresponding to the scene;
and step S18, after receiving the device replacement notification, the client automatically replaces the connection of the old device in the scene with the connection of the new device according to the updated device connection table.
It is understood that the method further comprises:
storing an equipment database and a scene database in the cloud server in advance, and storing a corresponding equipment connection table and a corresponding scene connection table; wherein, an equipment connection table is stored for each scene, and all the equipment related to the scene is recorded; and storing a scene connection table for each device, and recording all scenes used by the device. In some embodiments, the device is an industrial control device controlled by a PLC, and its current working parameters or monitoring parameters may be periodically sent to the cloud server through, for example, an interface device; the scene may be an operation state of each device in a certain state, and one scene may include one device or may include a plurality of devices.
It will be appreciated that in some embodiments of the method, if for various reasons the client does not receive a device replacement notification, the client performs the replacement of the device by using the following steps, in particular:
when a client detects that data of a certain device in a certain scene is wrong, a latest device connection table of the scene is requested from a cloud server within a preset time, and the scene is operated according to the latest device connection table which is received from the cloud server and is related to the scene.
It is understood that in other embodiments of the present invention, the following steps may be included:
when a client newly opens a certain scene, inquiring a cloud server whether an equipment connection table of the scene changes, if so, receiving a latest equipment connection table from the cloud server about the scene, and operating the scene according to the latest equipment connection table; otherwise, the scene is operated according to the equipment connection table stored in the client.
Wherein the step of operating the scene comprises:
and displaying a picture of the virtual scene according to the equipment connection table, and automatically displaying or displaying the latest monitoring information of each equipment in the scene according to a request. It can be understood that, in the client, a virtual picture of a certain device may be viewed, and a virtual picture of a certain scene may also be viewed. For example, on some production lines composed of devices controlled by a PLC, a virtual scene picture of the production line may be displayed at a corresponding client, a virtual shape of each device in the production line, a connection relationship between each device, and current monitoring information of each device, including operating parameters or monitored environmental parameters, may be displayed at the client.
Fig. 2 is a schematic structural diagram of an embodiment of a system for remotely maintaining a device through a connection table according to the present invention. In this embodiment, the system includes: a cloud server 1 and a plurality of clients 2 communicating therewith via a network 5, while the cloud server 1 communicates with a plurality of devices 4 via an interface device 3; the plurality of devices 4 are devices controlled by a PLC, and may feed back current parameters of the devices 4 to the cloud server 1 through the interface device 3.
Specifically, in the system:
the client 2 is used for sending an equipment replacement request to the cloud server 1 when a certain equipment 4 in a scene needs to be replaced, wherein the equipment replacement request comprises information of an old equipment which is requested to be replaced and information of a new equipment after replacement; and is used for automatically replacing the connection of the old equipment in the scene with the connection of the new equipment according to the updated equipment connection table after receiving the equipment replacement notice from the cloud server 1;
the cloud server 1 is configured to copy the scene connection table of the old device to the new device after receiving the device replacement request from the device replacement request, query all scenes using the old device according to the scene connection table, and replace the connection related to the old device in each device connection table corresponding to all the queried scenes with the connection related to the new device; and sending an equipment replacement notification to all the clients 2 running at least one queried scene, wherein the equipment replacement notification carries the updated equipment connection table corresponding to the scene.
The cloud server 1 stores an equipment database and a scene database in advance, and stores a corresponding equipment connection table and a corresponding scene connection table; wherein, an equipment connection table is stored for each scene, and all the equipment related to the scene is recorded; and storing a scene connection table for each device, and recording all scenes used by the device.
In one embodiment of the present invention, the client 2 is further configured to, after detecting that data of a device in a certain scene is in error, request the cloud server 1 for the latest device connection table of the scene within a predetermined time, and operate the scene according to the latest device connection table received from the cloud server and related to the scene.
In one embodiment of the present invention, the client 2 is further configured to query the cloud server 1 whether the device connection table of a certain scene changes when the certain scene is newly opened, and if so, receive the latest device connection table from the cloud server regarding the scene, and run the scene according to the latest device connection table; otherwise, the scene is operated according to the equipment connection table stored in the client.
Wherein the executing the scenario comprises: and displaying a picture of the virtual scene according to the equipment connection table, and automatically displaying or displaying the latest monitoring information of each equipment in the scene according to a request.
It is understood that the above functions of the client 2 can be implemented by software or corresponding functional modules.
For more details, reference may be made to the above description of fig. 1, which is not described in detail here.
The embodiment of the invention has the following beneficial effects:
according to the technical scheme provided by the embodiment of the invention, the connection table is adopted to remotely maintain the connection information of the equipment, when a certain client requests to replace the equipment, the cloud server can distribute the updated equipment connection table to the clients running in the scene corresponding to the equipment, so that the clients run the corresponding scene by adopting the latest equipment connection table; therefore, the equipment can be maintained remotely through the connection table rapidly and safely, and the working efficiency is improved;
meanwhile, if the client does not receive the device replacement notification of the cloud server, the latest device connection table can be requested from the cloud server when the data of a certain device in the scene is in a problem or the certain scene is newly opened, so that the accuracy of the data can be ensured.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (8)

1. A method for remotely maintaining a device through a connection table, comprising:
when a certain device in a scene needs to be replaced, a client sends a device replacement request to a cloud server, wherein the device replacement request comprises information of an old device which is requested to be replaced and information of a new device after replacement;
after receiving the equipment replacing request, the cloud server copies the scene connection table of the old equipment to the new equipment;
inquiring all scenes utilizing the old equipment according to the scene connection table, and replacing the connection related to the old equipment in each equipment connection table corresponding to all inquired scenes with the connection related to the new equipment;
sending an equipment replacement notification to all clients running at least one queried scene, wherein the equipment replacement notification carries an updated equipment connection table corresponding to the scene;
after receiving the device replacement notification, the client automatically replaces the connection of the old device in the scene with the connection of the new device according to the updated device connection table;
further comprising:
storing an equipment database and a scene database in the cloud server in advance, and storing a corresponding equipment connection table and a corresponding scene connection table; wherein, an equipment connection table is stored for each scene, and all the equipment related to the scene is recorded; and storing a scene connection table for each device, and recording all scenes used by the device.
2. The method of claim 1, further comprising:
when a client detects that data of a certain device in a certain scene is wrong, a latest device connection table of the scene is requested from a cloud server within a preset time, and the scene is operated according to the latest device connection table which is received from the cloud server and is related to the scene.
3. The method of claim 1, further comprising:
when a client newly opens a certain scene, inquiring a cloud server whether an equipment connection table of the scene changes, if so, receiving a latest equipment connection table from the cloud server about the scene, and operating the scene according to the latest equipment connection table; otherwise, the scene is operated according to the equipment connection table stored in the client.
4. A method for remotely maintaining equipment through a connection list as claimed in claim 2 or 3, wherein said step of running said scenario comprises:
and displaying a picture of the virtual scene according to the equipment connection table, and automatically displaying or displaying the latest monitoring information of each equipment in the scene according to a request.
5. A system for remotely maintaining a device through a netlist, comprising a cloud server and a plurality of clients in communication therewith, wherein:
the client is used for sending an equipment replacement request to the cloud server when certain equipment in a scene needs to be replaced, wherein the equipment replacement request comprises information of old equipment which is requested to be replaced and information of new equipment after replacement; the device connection table is used for automatically replacing the connection of the old device in the scene with the connection of the new device according to the updated device connection table after receiving a device replacement notice from the cloud server;
the cloud server is used for copying the scene connection table of the old equipment to the new equipment after receiving the request from the equipment replacing device, inquiring all scenes utilizing the old equipment according to the scene connection table, and replacing the connection related to the old equipment in each equipment connection table corresponding to all inquired scenes with the connection related to the new equipment; sending an equipment replacement notification to all clients running at least one queried scene, wherein the equipment replacement notification carries an updated equipment connection table corresponding to the scene;
the cloud server stores an equipment database and a scene database, and stores a corresponding equipment connection table and a corresponding scene connection table; wherein, an equipment connection table is stored for each scene, and all the equipment related to the scene is recorded; and storing a scene connection table for each device, and recording all scenes used by the device.
6. The system of claim 5, wherein the client is further configured to request the latest device connection table of a scene from the cloud server within a predetermined time after detecting that data of a device in the scene is incorrect, and to run the scene according to the latest device connection table received from the cloud server regarding the scene.
7. The system of claim 6, wherein the client is further configured to query the cloud server whether the device connection table of a scene changes when a scene is newly opened, and if so, receive the latest device connection table about the scene from the cloud server, and run the scene according to the latest device connection table; otherwise, the scene is operated according to the equipment connection table stored in the client.
8. A system for remotely maintaining devices through a linked list as recited in claim 6 or 7, wherein said running said scenario comprises: and displaying a picture of the virtual scene according to the equipment connection table, and automatically displaying or displaying the latest monitoring information of each equipment in the scene according to a request.
CN201610862616.9A 2016-09-29 2016-09-29 Method and system for remotely maintaining equipment through connection table Active CN106572147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610862616.9A CN106572147B (en) 2016-09-29 2016-09-29 Method and system for remotely maintaining equipment through connection table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610862616.9A CN106572147B (en) 2016-09-29 2016-09-29 Method and system for remotely maintaining equipment through connection table

Publications (2)

Publication Number Publication Date
CN106572147A CN106572147A (en) 2017-04-19
CN106572147B true CN106572147B (en) 2020-02-14

Family

ID=58532498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610862616.9A Active CN106572147B (en) 2016-09-29 2016-09-29 Method and system for remotely maintaining equipment through connection table

Country Status (1)

Country Link
CN (1) CN106572147B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786647A (en) * 2017-10-16 2018-03-09 深圳市合信自动化技术有限公司 A kind of PLC remote device managements method, apparatus and system based on social attribute
CN110149232B (en) * 2019-05-23 2020-05-29 苏州浪潮智能科技有限公司 Distributed storage block upgrading iscsi service method, system, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1595935A (en) * 2003-09-10 2005-03-16 微软公司 Multiple offload of network state objects with support for failover events
CN101554092A (en) * 2006-12-06 2009-10-07 皇家飞利浦电子股份有限公司 Method and apparatus for replacing a device in a network
CN105162894A (en) * 2015-06-17 2015-12-16 深圳市腾讯计算机系统有限公司 Equipment identification acquisition method and equipment identification acquisition device
CN105959168A (en) * 2010-12-20 2016-09-21 亚马逊技术股份有限公司 Techniques for network replication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1595935A (en) * 2003-09-10 2005-03-16 微软公司 Multiple offload of network state objects with support for failover events
CN101554092A (en) * 2006-12-06 2009-10-07 皇家飞利浦电子股份有限公司 Method and apparatus for replacing a device in a network
CN105959168A (en) * 2010-12-20 2016-09-21 亚马逊技术股份有限公司 Techniques for network replication
CN105162894A (en) * 2015-06-17 2015-12-16 深圳市腾讯计算机系统有限公司 Equipment identification acquisition method and equipment identification acquisition device

Also Published As

Publication number Publication date
CN106572147A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
US10530704B2 (en) Dynamic virtualized resource allocation
US20160020947A1 (en) Synchronization of Configuration File of Virtual Application Distribution Chassis
US10198212B2 (en) Distributed backup system
JP2014041612A (en) Data sharing system and method for cloud computing base
CN105808373A (en) Incremental backup method and device of data, and NAS (Network Attached Storage) equipment
CN106572147B (en) Method and system for remotely maintaining equipment through connection table
CN111832943B (en) Hardware equipment fault management method and device, electronic equipment and storage medium
CN105787300B (en) A kind of method and system that control software uses
CN114650226A (en) Topology management method and device, network element management node and storage medium
CN113076186B (en) Task processing method, device, electronic equipment and storage medium
US20190096223A1 (en) System and Method for Personalized Alarm Notifications in an Industrial Automation Environment
CN108924096B (en) Information synchronization method and device
US11822981B2 (en) Common gateway platform
KR20100035681A (en) Data storing system and data processing method of informational household appliance
CN107861485A (en) Data acquisition and monitoring control method, client, server and system
CN106897365B (en) Data processing method and device
JP2013106426A (en) Power system monitoring control system
CN112817998A (en) Method and system for automatically comparing and synchronizing data of hydropower station
CN107911356B (en) Intelligent device discovery method, device, control end and system
CN105704169A (en) Method for maintaining data consistency, device and PTN transmission device
CN104469100A (en) Distributed type cloud video recording platform
CN115550424B (en) Data caching method, device, equipment and storage medium
CN108270814A (en) A kind of method of data synchronization and device
CN112737882A (en) Cloud platform service state display method and related device
JP6432998B2 (en) Information providing apparatus, information providing system, information providing method, and program

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