JP7156499B2 - Programmable logic controller activation method, device and system - Google Patents

Programmable logic controller activation method, device and system Download PDF

Info

Publication number
JP7156499B2
JP7156499B2 JP2021506557A JP2021506557A JP7156499B2 JP 7156499 B2 JP7156499 B2 JP 7156499B2 JP 2021506557 A JP2021506557 A JP 2021506557A JP 2021506557 A JP2021506557 A JP 2021506557A JP 7156499 B2 JP7156499 B2 JP 7156499B2
Authority
JP
Japan
Prior art keywords
activation code
identifier
programmable logic
logic controller
server device
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
JP2021506557A
Other languages
Japanese (ja)
Other versions
JP2021533503A (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.)
Omron Corp
Original Assignee
Omron Corp
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 Omron Corp filed Critical Omron Corp
Publication of JP2021533503A publication Critical patent/JP2021533503A/en
Application granted granted Critical
Publication of JP7156499B2 publication Critical patent/JP7156499B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)

Description

本発明は、プログラマブルロジックコントローラ(PLC)の技術分野に関するものであり、特に、プログラマブルロジックコントローラの活性化方法、装置、およびシステムに関するものである。 TECHNICAL FIELD The present invention relates to the technical field of programmable logic controllers (PLCs), and more particularly to a programmable logic controller activation method, apparatus and system.

プログラマブルロジックコントローラ(PLC)は、特に、産業環境下で応用するために設計されたデジタル演算電子システムである。その内部に論理演算、順序制御、計時、計数、算術演算等の操作を実行する指令を記憶し、デジタルまたはアナログ入出力を介して種々の機械デバイスまたは生産プロセスを制御するプログラマブルメモリを採用している。 Programmable logic controllers (PLCs) are digital computing electronic systems specifically designed for applications in industrial environments. Employs a programmable memory that stores instructions for executing operations such as logical operations, sequence control, timing, counting, arithmetic operations, etc., and controls various mechanical devices or production processes via digital or analog input/output. there is

PLCの幅広い応用に伴い、市場においてクローンPLC製品が流通し、PLC製品の正規品製造業者の利益が損害を受けている。この問題を解決するため、PLC製品の正規品製造業者は、内部の読み出し専用メモリー(ROM)の読み出し保護機能をサポートするマイクロコントロールユニット(MCU)をPLCのコントローラとして選択し、PLCのファームウェアプログラムをMCU内部のROMに書き込むことによって、PLCのファームウェアプログラムを第三者が取得しないように保護する。 With the widespread application of PLC, cloned PLC products are circulating in the marketplace, harming the profits of legitimate manufacturers of PLC products. To solve this problem, authorized manufacturers of PLC products choose a micro control unit (MCU) as the controller for the PLC that supports read protection of the internal read-only memory (ROM), allowing the PLC's firmware program to The firmware program of the PLC is protected from being obtained by a third party by writing it to the ROM inside the MCU.

注意すべきこととして、上記の技術背景の紹介は、本発明の技術方案に対して明確で、完全な説明を行いやすくし、当業者が理解しやすいように詳述したものである。これらの案は、本発明の背景技術部分において詳述されているだけで、上記技術方案が当業者にとって公知であると認定することはできない。 It should be noted that the above introduction of the technical background is detailed to facilitate a clear and complete description of the technical solution of the present invention and facilitate understanding by those skilled in the art. These proposals are only described in detail in the technical background section of the present invention, and it cannot be recognized that the above technical solutions are known to those skilled in the art.

発明者は、既存の方法では、クローン現象の発生を完全に止めることができないことを発見した。 The inventors have discovered that existing methods cannot completely stop the occurrence of the cloning phenomenon.

上述した問題を解決するため、本発明の実施形態は、市場におけるクローンPLC製品の流通を減らして、クローンPLC製品が正規品製造業者に与える利益損害を抑制することのできるプログラマブルロジックコントローラの活性化方法、装置、およびシステムを提供する。 In order to solve the above-mentioned problems, the embodiments of the present invention reduce the circulation of clone PLC products in the market and activate a programmable logic controller that can suppress the profit damage caused by clone PLC products to genuine manufacturers. A method, apparatus and system are provided.

本発明の実施形態の第1方面に基づき、管理デバイスに応用するプログラマブルロジックコントローラ(PLC)の活性化方法を提供する。前記方法は、
前記PLCから前記PLCの識別子を読み出すとともに、前記PLCの識別子をサーバーデバイスに送信し、前記識別子が不活性化状態の時に、前記サーバーデバイスが、前記識別子に対応する活性化コードを生成して、前記活性化コードを返信し、前記識別子を活性化状態として表記することと、
前記サーバーデバイスが返信した前記活性化コードを受信するとともに、前記活性化コードを前記PLCに送信して保存することと、
を含む。
According to a first aspect of an embodiment of the present invention, a programmable logic controller (PLC) activation method applied to a management device is provided. The method includes:
reading the identifier of the PLC from the PLC, transmitting the identifier of the PLC to a server device, and when the identifier is in an inactive state, the server device generates an activation code corresponding to the identifier, returning the activation code and notating the identifier as an activation state;
receiving the activation code returned by the server device and transmitting and storing the activation code to the PLC;
including.

本発明の実施形態の第2方面に基づき、サーバーデバイスに応用するプログラマブルロジックコントローラ(PLC)の活性化方法を提供する。前記方法は、
管理デバイスからPLCの識別子を受信することと、
前記PLCの製造データに基づいて、前記識別子の活性化状態を検査することと、
前記識別子が不活性化状態の時に、前記識別子に対応する活性化コードを生成して、前記管理デバイスに送信し、前記識別子を活性化状態として表記することと、
前記識別子が活性化状態の時に、前記識別子に対応する活性化コードを前記管理デバイスに送信することと、
を含む。
According to a second aspect of embodiments of the present invention, a programmable logic controller (PLC) activation method applied to a server device is provided. The method includes:
receiving a PLC identifier from a management device;
checking the activation state of the identifier based on manufacturing data of the PLC;
generating an activation code corresponding to the identifier when the identifier is in an inactive state, transmitting it to the management device, and notating the identifier as an active state;
sending an activation code corresponding to the identifier to the management device when the identifier is in an activated state;
including.

本発明の実施形態の第3方面に基づき、PLCに応用するプログラマブルロジックコントローラ(PLC)の活性化方法を提供する。前記方法は、
管理デバイスから識別子読み出し要求を受信することと、
前記PLCの識別子を前記管理デバイスに送信することと、
前記管理デバイスから前記識別子に対応する活性化コードを受信することと、
前記活性化コードを保存することと、
を含む。
According to a third aspect of an embodiment of the present invention, a programmable logic controller (PLC) activation method applied to a PLC is provided. The method includes:
receiving a read identifier request from a managed device;
sending an identifier of the PLC to the management device;
receiving an activation code corresponding to the identifier from the management device;
storing the activation code;
including.

本発明の実施形態の第4方面に基づき、管理デバイスに配置するプログラマブルロジックコントローラ(PLC)の活性化装置を提供する。前記装置は、
前記PLCから前記PLCの識別子を読み出す第1読み出しユニットと、
前記PLCの識別子をサーバーデバイスに送信し、前記識別子が不活性化状態の時に、前記サーバーデバイスが、前記識別子に対応する活性化コードを生成して、前記活性化コードを返信し、前記識別子を活性化状態として表記する第1送信ユニットと、
前記サーバーデバイスが返信した前記活性化コードを受信する第1受信ユニットと、
を含み、前記第1送信ユニットは、前記活性化コードを前記PLCに送信して保存する。
According to a fourth aspect of embodiments of the present invention, an apparatus for activating a programmable logic controller (PLC) located in a management device is provided. The device comprises:
a first reading unit for reading the identifier of the PLC from the PLC;
transmitting the identifier of the PLC to a server device, and when the identifier is in an inactive state, the server device generates an activation code corresponding to the identifier, returns the activation code, and returns the identifier a first transmitting unit denoted as active;
a first receiving unit for receiving the activation code returned by the server device;
and the first transmitting unit transmits and stores the activation code to the PLC.

本発明の実施形態の第5方面に基づき、サーバーデバイスに配置するプログラマブルロジックコントローラ(PLC)の活性化装置を提供する。前記装置は、
管理デバイスからPLCの識別子を受信する受信ユニットと、
前記PLCの製造データに基づいて、前記識別子の活性化状態を検査する検査ユニットと、
前記識別子が不活性化状態の時に、前記識別子に対応する活性化コードを生成して、前記管理デバイスに送信し、前記識別子を活性化状態として表記するとともに、前記識別子が活性化状態の時に、前記識別子に対応する活性化コードを前記管理デバイスに送信する処理ユニットと、
を含む。
According to a fifth aspect of an embodiment of the present invention, there is provided an apparatus for activating a programmable logic controller (PLC) located in a server device. The device comprises:
a receiving unit for receiving a PLC identifier from a management device;
an inspection unit that inspects the activation state of the identifier based on the manufacturing data of the PLC;
when the identifier is in an inactive state, generating an activation code corresponding to the identifier, transmitting it to the management device, notating the identifier as being in an activated state, and when the identifier is in an activated state, a processing unit for sending an activation code corresponding to the identifier to the management device;
including.

本発明の実施形態の第6方面に基づき、PLCに配置するプログラマブルロジックコントローラ(PLC)の活性化装置を提供する。前記装置は、
管理デバイスから識別子読み出し要求を受信する受信ユニットと、
前記PLCの識別子を前記管理デバイスに送信する送信ユニットと、
前記受信ユニットが、さらに、前記管理デバイスから前記識別子に対応する活性化コードを受信し、
前記活性化コードを保存する保存ユニットと、
を含む。
According to a sixth aspect of an embodiment of the present invention, there is provided an activation device for a programmable logic controller (PLC) located in a PLC. The device comprises:
a receiving unit for receiving a read identifier request from a managed device;
a sending unit for sending an identifier of the PLC to the management device;
the receiving unit further receives an activation code corresponding to the identifier from the management device;
a storage unit storing the activation code;
including.

本発明の実施形態の第7方面に基づき、PLCシステムを提供する。前記PLCシステムは、管理デバイス、PLC、およびサーバーデバイスを含む。前記管理デバイスは、上述した第4方面に記載の装置を含み、前記PLCは、上述した第6方面に記載の装置を含み、前記サーバーデバイスは、上述した第5方面に記載の装置を含む。 According to a seventh aspect of embodiments of the present invention, a PLC system is provided. The PLC system includes a management device, a PLC and a server device. The management device includes the apparatus described in the fourth aspect above, the PLC includes the apparatus described in the sixth aspect above, and the server device includes the apparatus described in the fifth aspect above.

本発明の実施形態のその他の方面に基づき、コンピュータ読み出し可能プログラムを提供する。管理デバイスにおいて前記プログラムを実行した時、前記プログラムにより、コンピュータは、前記管理デバイスにおいて、上述した第1方面に記載の方法を実行することができる。 According to another aspect of embodiments of the present invention, a computer-readable program is provided. When the program is executed on the management device, the program enables the computer to perform the method described in the first aspect above on the management device.

本発明の実施形態のその他の方面に基づき、コンピュータ読み出し可能プログラムを記憶する記憶媒体を提供し、前記コンピュータ読み出し可能プログラムにより、コンピュータは、管理デバイスにおいて、上述した第1方面に記載の方法を実行することができる。 According to another aspect of embodiments of the present invention, there is provided a storage medium storing a computer readable program, said computer readable program causing a computer to perform the method of the first aspect above in a management device. can do.

本発明の実施形態のその他の方面に基づき、コンピュータ読み出し可能プログラムを提供し、PLCにおいて前記プログラムを実行した時、前記プログラムにより、コンピュータは、前記PLCにおいて、上述した第3方面に記載の方法を実行することができる。 According to another aspect of an embodiment of the present invention, there is provided a computer readable program, which, when executed in a PLC, causes a computer to cause, in the PLC, to perform the method of the third aspect above. can be executed.

本発明の実施形態のその他の方面に基づき、コンピュータ読み出し可能プログラムを記憶する記憶媒体を提供し、前記コンピュータ読み出し可能プログラムにより、コンピュータは、PLCにおいて、上述した第3方面に記載の方法を実行することができる。 According to another aspect of embodiments of the present invention, there is provided a storage medium storing a computer readable program, said computer readable program causing a computer to perform the method of the above third aspect in a PLC. be able to.

本発明の実施形態のその他の方面に基づき、コンピュータ読み出し可能プログラムを提供し、サーバーデバイスにおいて前記プログラムを実行した時、前記プログラムにより、コンピュータは、前記サーバーデバイスにおいて、上述した第2方面に記載の方法を実行することができる。 According to another aspect of an embodiment of the present invention, there is provided a computer readable program which, when executed on a server device, causes a computer, on said server device, to perform the above-described second aspect of the program. A method can be implemented.

本発明の実施形態のその他の方面に基づき、コンピュータ読み出し可能プログラムを記憶する記憶媒体を提供し、前記コンピュータ読み出し可能プログラムにより、コンピュータは、サーバーデバイスにおいて、上述した第2方面に記載の方法を実行することができる。 According to another aspect of embodiments of the present invention, there is provided a storage medium storing a computer readable program, said computer readable program causing a computer to perform the method of the above second aspect in a server device. can do.

本発明の有益効果は、まず、PLCを活性化することによって、PLCが一意の活性化コードを取得できるようにし、さらに、PLCを操作する前に前記PLCを検証して、検証に合格した場合にPLCを操作し、活性化されず検証に失敗したPLCは正常に動作できないことである。また、活性化コードは、サーバーデバイスで管理することができ、活性化コードがサーバーデバイスにおいて変更された後、本発明の実施形態の方法により、1台のPLCしか活性化コードが更新されず、活性化コードが更新されていない全てのPLCは、クローンPLCとみなされるため、再度検証に合格して正常に動作することができない。そのため、クローンPLCの使用を抑制し、クローンPLC製品が認定品製造業者に与える利益損害を減らすことができる。 A beneficial effect of the present invention is that by first activating a PLC, it enables the PLC to obtain a unique activation code, and then verifying said PLC before operating it, if verification passes A PLC that is not activated and has failed verification cannot operate normally. Also, the activation code can be managed at the server device, after the activation code is changed at the server device, the method of the embodiments of the present invention only updates the activation code on one PLC; All PLCs whose activation code has not been updated are considered clone PLCs and therefore cannot pass verification again and operate normally. Therefore, it is possible to curb the use of clone PLCs and reduce the loss of profits that clone PLC products may inflict on certified product manufacturers.

本発明の特定の実施形態は、後述の説明および図面に示すように、詳細に開示され、本発明の原理を採用されることが可能な方式を示している。理解すべきこととして、本発明の実施形態は、範囲上には限定されるものではない。本発明の実施形態は、添付されている特許請求の精神および条項の範囲内で、各種の改変、修正、および均等的なものが含まれる Specific embodiments of the invention are disclosed in detail, as set forth in the following description and drawings, to illustrate the manner in which the principles of the invention may be employed. It should be understood that embodiments of the invention are not limited in scope. Embodiments of the invention include various alterations, modifications, and equivalents within the spirit and terms of the appended claims.

1つの実施方式についての記述し、且つ/または示した特徴は、同一または類似の形で、1つまたはそれ以上のその他の実施方式において使用し、その他の実施方式中の特徴と組合せる、またはその他の実施形態中の特徴に取って代わることができる。 Features described and/or shown for one implementation may be used in the same or similar manner in one or more other implementations and combined with features in other implementations, or Features in other embodiments may be substituted.

本明細書中で使用される際の技術用語「含む(包含/包括)」は、特徴、整数、ステップ、または部品の存在を指すが、1つまたはそれ以上のその他の特徴、整数、ステップ、または部品の存在または追加を排除するものではないことが強調されるべきである。 The technical term "comprising" as used herein refers to the presence of a feature, integer, step, or component, but one or more other features, integers, steps, or the presence or addition of parts is not excluded.

本発明の実施形態の1つの図面または1つの実施方式に記載の要素および特徴は、1つまたは複数のその他の図面または実施方式に示した要素および特徴と組み合わせることができる。また、図面では、類似した符号は、幾つかの図面中の対応する部品を示し、複数の実施方式に用いる対応する部品を示すためにも用いられる。 Elements and features shown in one drawing or one implementation of embodiments of the invention can be combined with elements and features shown in one or more other drawings or implementations. Also, in the drawings, like reference numerals are used to indicate corresponding parts in several drawings and to indicate corresponding parts used in multiple implementations.

含まれている図面は、本発明の実施形態への更なる理解を提供するために用いられ、これらの図面は、本明細書の一部を構成し、本発明の実施方式を例示し、文字記載とともに本発明の原理を説明するために用いられる。また、明らかのように、以下に記載されている図面は、本発明の幾つかの実施例を示すためのものに過ぎず、当業者は、創造性のある労働をせずに、これらの図面に基づいて他の図面を得ることもできる。図面において、 The included drawings are included to provide a further understanding of the embodiments of the invention, and these drawings, which form a part of this specification, illustrate the manner of implementation of the invention, and character It is used to explain the principles of the invention together with the description. It should also be appreciated that the drawings described below are merely to illustrate some embodiments of the present invention, and those skilled in the art will be able to reproduce these drawings without creative effort. Other drawings can also be obtained based on. In the drawing:

実施形態1のPLCシステムの概略図である。1 is a schematic diagram of a PLC system of Embodiment 1; FIG. 実施形態2のPLCの活性化方法の概略図である。FIG. 4 is a schematic diagram of a PLC activation method of Embodiment 2; 実施形態2のPLCの活性化方法の別の概略図である。FIG. 4 is another schematic diagram of the activation method of PLC of Embodiment 2; 実施形態3のPLCの活性化方法の概略図である。FIG. 10 is a schematic diagram of a PLC activation method of Embodiment 3; 実施形態3のPLCの活性化方法の別の概略図である。FIG. 8 is another schematic diagram of the activation method of PLC of Embodiment 3; 実施形態4のPLCの活性化方法の概略図である。FIG. 11 is a schematic diagram of a PLC activation method of Embodiment 4; PLCの活性化フローの概略図である。FIG. 4 is a schematic diagram of a PLC activation flow; 正規のPLCのオンライン操作の概略図である。1 is a schematic diagram of online operation of a regular PLC; FIG. クローンPLCのオンライン操作の概略図である。Schematic of on-line operation of clone PLC. 正規のPLCの活性化コードの更新の概略図である。FIG. 4 is a schematic diagram of regular PLC activation code update; 実施形態5のPLCの活性化装置の概略図である。FIG. 11 is a schematic diagram of a PLC activation device of Embodiment 5; 実施形態6のPLCの活性化装置の概略図である。FIG. 11 is a schematic diagram of a PLC activation device of Embodiment 6; 実施形態7のPLCの活性化装置の概略図である。FIG. 11 is a schematic diagram of a PLC activation device of Embodiment 7;

添付した図面、および以下の明細書を参照することにより、本発明の前述および他の特徴が明らかになる。以下の明細書および図面には、具体的に、本発明の特定の実施方式を公開しているが、それらは、本発明の原則を採用し得る一部の実施方式だけを表す。理解すべきこととして、本発明は、記載されている実施方式に限定されず、反対に、本発明は、添付した請求項の範囲内の全ての修正、変形および代替によるものも含む。 The foregoing and other features of the invention will become apparent with reference to the accompanying drawings and the following specification. Although the following specification and drawings specifically disclose specific implementations of the present invention, they represent only some implementations in which the principles of the present invention may be employed. It is to be understood that the invention is not limited to the described modes of implementation, but on the contrary the invention includes all modifications, variations and alternatives within the scope of the appended claims.

本発明の実施形態において、用語「第1」、「第2」等は、異なる要素を呼称から区別するために用いられるが、これらの要素の空間的配列または時間的順序等を表すものではなく、これらの要素は、これらの用語に制限されない。用語「および/または」は、関連するリストに列挙された用語の1つまたは複数のうちのいずれか1つおよび全ての組み合わせを含む。用語「含む」、「包括する」、「有する」等は、列挙された特徴、要素、素子、または構成部材の存在を意味するが、1つまたは複数の他の特徴、要素、素子、または構成部材の存在、または追加を排除するものではない。 In embodiments of the present invention, the terms "first", "second", etc. are used to distinguish different elements from designations, but do not represent the spatial arrangement or temporal order, etc. of these elements. , these elements are not limited to these terms. The term "and/or" includes any one and all combinations of one or more of the terms listed in the associated list. The terms “comprising,” “including,” “having,” etc. mean the presence of the recited feature, element, element or component but not including one or more other features, elements, elements or configurations. It does not exclude the presence or addition of components.

本発明の実施形態において、単数形の「1つ」、「前記」等は、複数形を含み、「1種類」または「1類」と広義的に理解されるべきであり、「1個」の含意に限定されない。また、用語「に記載の」は、上下の文で別途明確な指摘がない限り、単数形も複数形も含むと理解されるべきである。また、上下の文で別途明確な指摘がない限り、用語「により」は、「少なくとも一部により」と理解されるべきであり、用語「に基づいて」は、「少なくとも一部に基づいて」と理解されるべきである。 In the embodiments of the present invention, the singular forms "one," "said," etc., include the plural forms and should be broadly understood as "one" or "one" and "one." is not limited to the implication of Also, the term "described in" should be understood to include both singular and plural forms unless the context clearly indicates otherwise. Also, unless the context clearly indicates otherwise, the term “by” should be understood as “at least in part” and the term “based on” should be understood as “based at least in part”. should be understood.

以下、図面を組み合わせて、本発明の実施形態の各実施方式について説明する。これらの実施方式は、単なる例であり、本発明の実施形態を限定するためのものではない。 Hereinafter, each implementation method of the embodiment of the present invention will be described in combination with the drawings. These implementations are merely examples and are not intended to limit embodiments of the present invention.

(実施形態1)
本実施形態は、PLCシステムを提供する。
(Embodiment 1)
This embodiment provides a PLC system.

図1は、本実施形態のPLCシステムの概略図である。図1に示すように、前記PLCシステムは、管理デバイス100と、PLC200と、サーバーデバイス300とを含む。管理デバイス100とPLC200は、PLC200上の制御インターフェースを介して接続され、管理デバイス100とサーバーデバイス300は、インターネットを介して接続され、PLC200とサーバーデバイス300は、接続関係を直接確立していない。 FIG. 1 is a schematic diagram of the PLC system of this embodiment. The PLC system includes a management device 100, a PLC 200 and a server device 300, as shown in FIG. Management device 100 and PLC 200 are connected via a control interface on PLC 200, management device 100 and server device 300 are connected via the Internet, and PLC 200 and server device 300 do not directly establish a connection relationship.

本実施形態において、前記管理デバイス100は、PLC200を活性化または検証するためのプログラムを記憶するコンピュータデバイスであってもよく、前記プログラムは、ソフトウェアまたはファームウェアの方法で実現することができる。また、コンピュータデバイスだけでなく、前記管理デバイス100は、さらに、PLC200を活性化または検証することのできるその他の実体、例えば、産業用パソコン等であってもよい。本実施形態において、前記管理デバイス100には、さらに、PLC200に必要なソフトウェアプログラムが記憶され、前記PLC200が活性化され、且つ検証に合格した場合に、前記管理デバイス100が上述したソフトウェアプログラムを前記PLC200にダウンロードして、PLC200の管理を実現する。上述した活性化または検証のプロセスについて、以下の実施形態で説明する。 In this embodiment, the management device 100 may be a computer device that stores a program for activating or verifying the PLC 200, and the program can be implemented in software or firmware method. In addition to computer devices, the management device 100 may also be other entities capable of activating or verifying the PLC 200, such as industrial personal computers. In this embodiment, the management device 100 further stores a software program necessary for the PLC 200, and when the PLC 200 is activated and passes verification, the management device 100 executes the above software program. It downloads to PLC200 and implements management of PLC200. The activation or verification process described above is described in the following embodiments.

本実施形態において、前記サーバーデバイス300は、前記PLC200の製造業者に設置され、PLC200の製造業者により維持および管理を行うクラウドサーバーであってもよいが、本実施形態はこれに限定されず、前記サーバーデバイス300は、クラウドサーバーではなく、その他のサーバーデバイスであってもよい。本実施形態において、前記サーバーデバイス300は、製造業者が作成したPLC200の関連情報、例えば、各PLC200を記憶する識別子およびその活性化状態等を管理することができ、管理デバイス100からの識別子活性化要求を受信した時、前記サーバーデバイス300は、活性化要求を出した識別子をフィルタリングすることができ、無効な識別子は活性化されず、既に活性化された識別子も再度活性化することはできない。 In this embodiment, the server device 300 may be a cloud server installed at the manufacturer of the PLC 200 and maintained and managed by the manufacturer of the PLC 200, but the embodiment is not limited to this. Server device 300 may be another server device instead of a cloud server. In this embodiment, the server device 300 can manage information related to the PLCs 200 created by the manufacturer, such as identifiers storing the respective PLCs 200 and their activation states. Upon receiving the request, the server device 300 can filter the identifiers that issued the activation request, invalid identifiers will not be activated, and already activated identifiers cannot be activated again.

本実施形態において、有効な識別子に対し、サーバーデバイス300は、前記PLC200の関連情報を検索することにより、前記識別子の活性化状態を確定することができ、前記識別子が不活性化状態にある場合、前記識別子に対応する活性化コードを生成して、管理デバイス100に送信し、前記識別子を活性化状態として表記する。前記識別子が活性化状態にある場合、前記識別子は、それに対応する活性化コードを既に生成しているため、前記サーバーデバイス300は、前記識別子に対応する活性化コードを上述した管理デバイス100に送信し、前記管理デバイス100により前記PLCを検証することができる。 In this embodiment, for a valid identifier, the server device 300 can determine the activation state of the identifier by searching the relevant information of the PLC 200, and if the identifier is in the deactivated state , generates an activation code corresponding to the identifier, transmits it to the management device 100, and marks the identifier as an activation state. If the identifier is in an activated state, the identifier has already generated an activation code corresponding to it, so the server device 300 sends the activation code corresponding to the identifier to the management device 100 described above. and the management device 100 can verify the PLC.

本実施形態において、前記活性化コードは、上述した識別子が生成したランダムキーを含むメッセージに基づくことができるが、本実施形態はこれに限定されない。また、本実施形態において、前記サーバーデバイス300は、特定のイベント、例えば、一定期間またはダウンロード工程等のイベントに基づいて、前記ランダムキーを更新し、さらに、上述した活性化コードをもう一度生成することができる。1つの実施方式において、上述したランダムキーの更新は1回のみであり、上述した活性化コードの更新も1回のみであるため、更新の回数が多すぎて管理が不便になる問題を回避することができるが、本実施形態はこれに限定されず、必要に応じて、上述したランダムキーを複数回更新し、それにより、上述した活性化コードを複数回更新してもよい。 In this embodiment, the activation code may be based on a message containing a random key generated by the above identifier, but the embodiment is not limited thereto. In addition, in this embodiment, the server device 300 may update the random key based on certain events, such as a period of time or a download process, and generate the above-mentioned activation code again. can be done. In one implementation, the above-mentioned random key is updated only once, and the above-mentioned activation code is updated only once, so as to avoid the problem of too many updates and inconvenient management. However, the present embodiment is not limited to this, and if necessary, the aforementioned random key may be updated multiple times, thereby updating the aforementioned activation code multiple times.

選択的に、本実施形態において、前記識別子が活性化状態にある場合、前記サーバーデバイス300は、同時に、変更要求ありなしの情報を上述した管理デバイス100に送信することができる。ここで、変更要求なしとは、前記識別子に対応する活性化コードが変更されていないことを指し、変更要求ありとは、前記識別子に対応する活性化コードが変更されていることを指す。前記活性化コードの更新について、以下の実施形態で説明する。 Optionally, in this embodiment, when the identifier is in an active state, the server device 300 can simultaneously send the information of whether there is a change request to the management device 100 described above. Here, "without a change request" means that the activation code corresponding to the identifier has not been changed, and "with a change request" means that the activation code corresponding to the identifier has been changed. Updating the activation code is described in the following embodiments.

本実施形態において、PLC200は、産業上使用されているプログラマブルロジックコントローラであり、一意識別子を有するアプリケーションを記憶することのできるCPUまたはMPUを含む。本実施形態において、識別子は、デバイスの類型、バージョン、シリアル番号、一意性ID、製造日等の製造関連データが生成するメッセージを含むことができる。しかし、本実施形態はこれに限定されず、前記識別子は、上述した製造関連データのうちの任意の1項または任意の組み合わせで生成されたメッセージを含んでもよく、あるいは、前記識別子は、前記PLC200を一意に識別するための、上述した製造関連データ以外のその他のデータで生成されたメッセージを含んでもよい。 In this embodiment, PLC 200 is an industrial programmable logic controller that includes a CPU or MPU that can store applications with unique identifiers. In this embodiment, the identifier may include a message generated by manufacturing related data such as device type, version, serial number, unique ID, date of manufacture, and the like. However, the present embodiment is not limited to this, and the identifier may include a message generated by any one or any combination of the manufacturing related data described above, or the identifier may include the PLC 200 may include messages generated with data other than the manufacturing-related data described above to uniquely identify the .

本実施形態において、活性化され、且つ検証に合格したPLC200しか正常に使用することができないため、クローンPLCの使用を抑制し、クローンPLC製品が正規品製造業者に与える利益損害を減らすことができる。 In this embodiment, only the PLC 200 that has been activated and passed verification can be used normally, so the use of clone PLCs can be suppressed, and the profit damage caused by clone PLC products to genuine product manufacturers can be reduced. .

以下、実施形態2~7により、本発明の実施形態の管理デバイス100、サーバーデバイス300、およびPLC200について説明する。 The management device 100, the server device 300, and the PLC 200 of the embodiments of the present invention will be described below according to the second to seventh embodiments.

(実施形態2)
本実施形態は、管理デバイス100に応用するPLCの活性化方法を提供する。
(Embodiment 2)
This embodiment provides a PLC activation method applied to the management device 100 .

図2は、本実施形態のPLCの活性化方法の概略図である。図2に示すように、前記PLCの活性化方法は、
PLCから前記PLCの識別子を読み出すステップ201と、
前記PLCの識別子をサーバーデバイスに送信し、前記識別子が不活性状態の時に、前記サーバーデバイスが、前記識別子に対応する活性化コードを生成して、前記活性化コードを返信し、前記識別子を活性化状態として表記するステップ202と、
前記サーバーデバイスが返信した前記活性化コードを受信し、前記活性化コードを前記PLCに送信して保存するステップ203と、
を含む。
FIG. 2 is a schematic diagram of the PLC activation method of this embodiment. As shown in FIG. 2, the method for activating the PLC includes:
a step 201 of reading an identifier of said PLC from a PLC;
An identifier of the PLC is transmitted to a server device, and when the identifier is inactive, the server device generates an activation code corresponding to the identifier, returns the activation code, and activates the identifier. step 202, denoted as a state of transformation;
step 203 of receiving the activation code returned by the server device and transmitting the activation code to the PLC for storage;
including.

本実施形態において、管理デバイス100は、PLCから読み出した識別子をサーバーデバイス300に送信して、PLC200を活性化または検証することができる。サーバーデバイス300が前記識別子を受信した後、自身が保存した各PLC200の関連情報を検索することにより、前記識別子が活性状態であるのか、それとも不活性状態であるのかを確定し、不活性化状態の場合に、前記識別子に基づいて対応する活性化コードを生成して、管理デバイス100に返信し、前記PLC200の活性化を完了させるとともに、前記識別子を活性化状態として表記する。 In this embodiment, the management device 100 can send the identifier read from the PLC to the server device 300 to activate or verify the PLC 200 . After the server device 300 receives the identifier, it searches the relevant information of each PLC 200 stored by itself to determine whether the identifier is active or inactive, and deactivates it. state, generate a corresponding activation code based on the identifier and send it back to the management device 100 to complete the activation of the PLC 200 and mark the identifier as an activation state.

本実施形態において、サーバーデバイス300は、各識別子に対して1回しか活性化操作を行わず、既に活性化された識別子は、サーバーデバイスに活性化状態として既に表記されているため、再度活性化することができない。したがって、クローンPLCに対し、このクローンPLCは、正規のPLCと同じ識別子を有するが、前記識別子は、既に活性化され、再度活性化することができないため、クローンPLCの使用を抑制することができる。 In this embodiment, the server device 300 performs the activation operation only once for each identifier, and already activated identifiers are already marked as activated in the server device, so they are activated again. Can not do it. Thus, for cloned PLCs, this cloned PLC has the same identifier as a regular PLC, but said identifier has already been activated and cannot be activated again, thus inhibiting the use of cloned PLCs. .

本実施形態において、サーバーデバイス300は、製造されたPLC200の識別子および活性化状態を記憶し、それにより、活性化要求を有する識別子に対し、サーバーデバイス300は、さらに、記憶した情報に基づいて、それが有効であるかどうかを判定することができ、有効な識別子に対してのみ活性化状態の判定および後続処理を行う。したがって、無効な識別子を使用している可能性のあるクローンPLCに対しては、活性化操作を行わないため、同様に、クローンPLCの使用を抑制することができる。 In this embodiment, the server device 300 stores the identifier and activation state of the manufactured PLC 200, so that for an identifier with an activation request, the server device 300 further, based on the stored information, It can determine if it is valid, and only perform activation state determination and subsequent processing for valid identifiers. Therefore, since the activation operation is not performed for clone PLCs that may use invalid identifiers, the use of clone PLCs can be similarly suppressed.

本実施形態において、前記活性化操作は、PLC製造後に、ユーザーにより上記の管理デバイス100で完了させてもよく、PLC製造前に、製造業者により自身の管理デバイス100で完了させてもよい。 In this embodiment, the activation operation may be completed by the user in the above management device 100 after PLC manufacture, or may be completed by the manufacturer in its own management device 100 before PLC manufacture.

本実施形態において、サーバーデバイス300が受信した識別子が活性化状態である場合、前記サーバーデバイス300は、さらに、前記識別子に対応する活性化コードを管理デバイス100に送信することができ、管理デバイス100が前記活性化コードを検証して、検証に合格した活性化コードしか使用することができないため、クローンPLCの使用を抑制することができる。 In this embodiment, if the identifier received by the server device 300 is in an activated state, the server device 300 can further send an activation code corresponding to the identifier to the management device 100, and the management device 100 can verifies the activation code, and can only use the activation code that has passed the verification, thus suppressing the use of clone PLCs.

1つの実施方式において、上述した検証操作は、管理デバイス100により完了させてもよく、例えば、管理デバイス100は、PLC200から前記PLC200が保存した活性化コードを読み出し、サーバーデバイス300から受信した活性化コードとPLC200から読み出した活性化コードを比較して、両者が一致する場合は、検証に合格するが、そうでなければ、検証に失敗する。 In one implementation, the verification operations described above may be completed by the management device 100 , for example, the management device 100 reads from the PLC 200 an activation code stored by the PLC 200 and reads the activation code received from the server device 300 . The code is compared with the activation code read from the PLC 200, and if the two match, the verification passes; otherwise, the verification fails.

別の実施方式において、上述した検証操作は、PLC200により完了させてもよく、例えば、管理デバイス100は、サーバーデバイス300から取得した活性化コードをPLC200に送信し、前記PLC200は、保存した活性化コードと管理デバイス100が受信した活性化コードを比較して、両者が一致する場合は、検証に合格するため、検証成功情報を生成して、管理デバイス100に返信するが、そうでなければ、検証に失敗するため、検証失敗情報を生成して、管理デバイス100に返信する。そのため、管理デバイス100は、受信した情報に基づいて、検証が成功したかどうかを確定することができる。 In another implementation, the verification operation described above may be completed by the PLC 200, for example, the management device 100 sends the activation code obtained from the server device 300 to the PLC 200, and the PLC 200 sends the stored activation code to the PLC 200. Compare the code with the activation code received by the management device 100, and if the two match, generate verification success information to pass the verification and return it to the management device 100; Since verification fails, verification failure information is generated and returned to the management device 100 . As such, the management device 100 can determine whether the verification was successful based on the received information.

本実施形態において、上述したように、活性化コードは、更新を少なくとも1回行うことができる。1つの実施方式において、サーバーデバイス300が前記識別子に対応する活性化コードを更新していない場合、前記活性化コードと「変更要求なし」の情報を同時に管理デバイス100に送信して、上述した検証を行うことができる。 In this embodiment, as described above, the activation code can be updated at least once. In one implementation, if the server device 300 has not updated the activation code corresponding to the identifier, it simultaneously sends the activation code and the "no change request" information to the management device 100 to perform the verification described above. It can be performed.

別の実施方式において、サーバーデバイス300が前記識別子に対応する活性化コードを更新した場合、新しい活性化コードと「変更要求あり」の情報を同時に管理デバイス100に送信することができる。管理デバイス100は、このような情報を受信した後、新しい活性化コードをPLC200に送信して、更新を行うことができるとともに、活性化コード変更済みの情報をサーバーデバイス300に送信し、サーバーデバイスにより活性化コードが変更されたかどうかの情報を変更する。例えば、前記識別子に対応する活性化コードの変更要求を「変更要求なし」に修正すると、サーバーデバイス300は、このような活性化コード更新の操作を再度行わない。元の活性化コードを保存している一台のPLCしか活性化コードの更新操作を行うことができないため、悪意のある手段によって前記識別子に対応する元の活性化コードを取得したPLCについては、後続の活性化コード検証操作において検証に合格せず、クローンPLCの使用をさらに抑制することができる。 In another implementation, when the server device 300 updates the activation code corresponding to the identifier, it can simultaneously send the new activation code and the “change requested” information to the management device 100 . After receiving such information, the management device 100 can send the new activation code to the PLC 200 for updating, and send the changed activation code information to the server device 300 so that the server device Change the information whether the activation code has been changed by For example, if the activation code change request corresponding to the identifier is modified to 'no change request', the server device 300 does not perform such an activation code update operation again. Since only one PLC that stores the original activation code can perform the activation code update operation, for the PLC that has acquired the original activation code corresponding to the identifier by malicious means, Failure to pass verification in a subsequent activation code verification operation may further curtail use of the cloned PLC.

本実施方式において、管理デバイス100は、サーバーデバイス300からの新しい活性化コードおよび「変更要求あり」の情報を受信した後、さらに、PLC200からそれが保存した活性化コード(元の活性化コード)を取得することができ、サーバーデバイス300から受信した新しい活性化コードと前記PLC200が保存している元の活性化コードが一致しない場合に、前記新しい活性化コードをPLC200に送信して、更新を行う。そのため、活性化コードを繰り返し更新することを回避し、クローンPLCの使用をさらに抑制することができる。 In this embodiment, the management device 100, after receiving the new activation code and the information "change requested" from the server device 300, further, from the PLC 200, the activation code it saved (original activation code) , and if the new activation code received from the server device 300 and the original activation code stored in the PLC 200 do not match, the new activation code is sent to the PLC 200 to update conduct. As such, repeated updating of the activation code can be avoided, further reducing the use of clone PLCs.

図3は、本実施形態のPLCの活性化方法の別の概略図であり、管理デバイス100の操作を示したものである。図3に示すように、前記方法は、
PLCからPLCの識別子を取得するステップ301と、
前記PLCの識別子をサーバーデバイス300に送信するステップ302と、
前記サーバーデバイス300から前記識別子に対応する活性化コードを受信するステップ303と、
前記活性化コードを前記PLCに送信して保存する、あるいは前記活性化コードを検証するステップ304と、
を含む。
FIG. 3 is another schematic diagram of the PLC activation method of the present embodiment, showing the operation of the management device 100. As shown in FIG. As shown in FIG. 3, the method comprises:
step 301 of obtaining a PLC identifier from the PLC;
sending 302 the identifier of said PLC to a server device 300;
receiving 303 an activation code corresponding to the identifier from the server device 300;
transmitting 304 the activation code to the PLC for storage or verifying the activation code;
including.

本実施形態において、検証に合格した後、管理デバイス100は、PLCにソフトウェアプログラムをダウンロードすることができるため、PLCを正常に使用することができる。検証に失敗した場合、PLCを正常に使用することはできない。図3の実施形態は、識別子が有効な識別子である場合を例としており、識別子が無効な識別子である場合、サーバーデバイス300は、「識別子無効」の関連情報を返信することができるため、クローンPLCの使用を抑制することができる。 In this embodiment, after passing the verification, the management device 100 can download the software program to the PLC, so that the PLC can be used normally. If the verification fails, the PLC cannot be used normally. The embodiment of FIG. 3 takes as an example the case where the identifier is a valid identifier, and if the identifier is an invalid identifier, the server device 300 can return the relevant information of “identifier invalid”, so that the clone Use of PLC can be suppressed.

本実施形態の方法により、サーバーデバイス300は、製造されたPLCの関連情報を保存し、PLCが製造された後、管理デバイス100は、PLCを活性化して、活性化コードを取得し、活性化を1回しか行わないため、活性化されていないPLCは、正常に使用することができない。PLCを正常に使用する前に、さらに、PLCを検証し、検証に失敗したPLCも正常に使用することができないため、クローンPLCの使用を抑制することができる。 According to the method of the present embodiment, the server device 300 stores related information of the manufactured PLC, and after the PLC is manufactured, the management device 100 activates the PLC to obtain the activation code and activates the PLC. is performed only once, a non-activated PLC cannot be used normally. Before the PLC is used normally, the PLC is further verified, and the PLC that fails the verification cannot be used normally, so the use of the clone PLC can be suppressed.

(実施形態3)
本実施形態は、サーバーデバイス300に応用するPLCの活性化方法を提供する。
(Embodiment 3)
This embodiment provides a PLC activation method applied to the server device 300 .

図4は、本実施形態のPLCの活性化方法の概略図である。図4に示すように、前記PLCの活性化方法は、
管理デバイス100からPLCの識別子を受信するステップ401と、
前記PLCの製造データに基づいて、前記識別子の活性化状態を検査するステップ402と、
前記識別子が不活性化状態の時に、前記識別子に対応する活性化コードを生成して、前記管理デバイス100に送信し、前記識別子を活性化状態として表記するとともに、前記識別子が活性化状態の時に、前記識別子に対応する活性化コードを前記管理デバイス100に送信するステップ403と、
を含む。
FIG. 4 is a schematic diagram of the PLC activation method of the present embodiment. As shown in FIG. 4, the method for activating the PLC includes:
step 401 of receiving the identifier of the PLC from the management device 100;
checking 402 the activation state of the identifier based on the manufacturing data of the PLC;
When the identifier is in an inactive state, an activation code corresponding to the identifier is generated and transmitted to the management device 100, and the identifier is indicated as being in an activated state, and when the identifier is in an activated state. , a step 403 of sending an activation code corresponding to the identifier to the management device 100;
including.

本実施形態において、上述したように、サーバーデバイス300は、製造したPLCの関連情報(例えば、上述した製造データ)を保存し、受信した識別子活性化要求に基づいて、前記識別子の活性化状態を検査する。前記識別子が不活性化状態にある場合、前記識別子に対応する活性化コードを生成して、管理デバイス100に返信し、管理デバイス100が前記識別子をPLCに送信して保存することにより、PLCの活性化が完了する。前記識別子が活性化状態にある場合、前記識別子に対応する活性化コードは既に生成されているため、サーバーデバイス300は、前記活性化コードを管理デバイス100に送信する。管理デバイス100は、前記活性化コードを検証し、検証に合格した場合にしか前記PLCを正常に使用することができない。そのため、クローンPLCの使用を抑制することができる。 In this embodiment, as described above, the server device 300 stores related information of the manufactured PLC (for example, the manufacturing data described above), and determines the activation state of the identifier based on the received identifier activation request. inspect. If the identifier is in an inactive state, an activation code corresponding to the identifier is generated and sent back to the management device 100, and the management device 100 transmits the identifier to the PLC and stores it, so that the PLC Activation is complete. If the identifier is in an activated state, the server device 300 sends the activation code to the management device 100 because the activation code corresponding to the identifier has already been generated. The management device 100 verifies the activation code and can only use the PLC normally if the verification passes. Therefore, the use of clone PLC can be suppressed.

サーバーデバイス300は、PLCの識別子に対して上述した活性化操作を行った後、前記識別子の活性化状態を活性化状態に修正し、同じ識別子に対して活性化操作を1回しか行うことができないため、活性化されていないPLCを正常に使用できないようにし、クローンPLCの使用を抑制することができる。また、PLCを使用する前に、管理デバイス100は、さらに、前記PLCを検証し、検証に合格したPLCしか正常に使用することができないため、クローンPLCの使用を抑制することができる。検証方法については、実施形態2において記載しているため、ここでは説明を省略する。 After performing the above-described activation operation on the PLC identifier, the server device 300 modifies the activation state of the identifier to the activated state, and performs the activation operation only once on the same identifier. Since it is not possible, non-activated PLCs cannot be used normally, and the use of cloned PLCs can be suppressed. In addition, before using a PLC, the management device 100 further verifies the PLC, and only PLCs that have passed the verification can be used normally, so it is possible to suppress the use of clone PLCs. Since the verification method has been described in the second embodiment, the description is omitted here.

本実施形態において、上述したように、前記サーバーデバイス300は、さらに、前記活性化コードを1回更新することができるため、前記識別子が活性化状態にある状況で、前記活性化コードが更新されていない場合、前記サーバーデバイス300は、上述した活性化コードおよび変更要求なしの情報を上述した管理デバイス100に送信し、管理デバイス100により前記PLCを検証することができる。前記活性化コードを更新した場合、前記サーバーデバイス300は、新しい活性化コードおよび変更要求ありの情報を上述した管理デバイス100に送信することができ、管理デバイス100が新しい活性化コードをPLCに送信することにより、活性化コードの更新が完了する。 In the present embodiment, as described above, the server device 300 can further update the activation code once, so that the activation code is updated when the identifier is in an activated state. If not, the server device 300 can send the above-mentioned activation code and no change request information to the above-mentioned management device 100, and the management device 100 can verify the PLC. When the activation code is updated, the server device 300 can send the new activation code and the information that there is a change request to the management device 100 described above, and the management device 100 sends the new activation code to the PLC. By doing so, the update of the activation code is completed.

本実施形態において、活性化コードの更新が完了した後、管理デバイス100は、活性化コード変更済みの情報をサーバーデバイス300に送信するため、サーバーデバイスは、前記識別子に対応する活性化コードの変更要求を変更要求なしに変更することができる。そのため、サーバーデバイス300は、同じ識別子の活性化コードに対しても更新操作を1回しか行わず、更新されていないPLCが保存している活性化コードは、新しい活性化コードと一致しないため、検証に合格することができず、クローンPLCの使用をさらに抑制することができる。 In this embodiment, after the update of the activation code is completed, the management device 100 sends the activation code changed information to the server device 300, so that the server device changes the activation code corresponding to the identifier. A request can be changed without a change request. Therefore, the server device 300 performs only one update operation even for the activation code with the same identifier, and the activation code stored in the PLC that has not been updated does not match the new activation code. Failure to pass verification may further curb the use of clone PLCs.

本実施形態において、ステップ402の前に、サーバーデバイス300は、前記識別子が有効であるかどうかを検査して、有効な識別子に対してのみ後続の操作を行うことができるため、無効な識別子を有するクローンPLCの使用を抑制することができる。 In the present embodiment, before step 402, the server device 300 checks whether the identifier is valid, and can only perform subsequent operations on valid identifiers, so invalid identifiers are The use of clonal PLCs with

図5は、本実施形態のPLCの活性化方法の別の概略図であり、サーバーデバイス300の操作を示したものである。図5に示すように、前記方法は、
管理デバイス100からPLCの識別子を受信するステップ501と、
前記識別子が有効な識別子であるかどうかを判断し、そうであると判断した場合に、ステップ503を実行し、そうでない場合は、ステップ509を実行するステップ502と、
前記識別子が不活性化状態であるかどうかを判断し、そうであると判断した場合に、ステップ504を実行し、そうでない場合は、ステップ505を実行するステップ503と、
前記識別子に対応する活性化コードを生成して、管理デバイス100に送信し、前記識別子の活性化状態を修正するステップ504と、
前記活性化コードが変更されたかどうかを判断し、そうであると判断した場合に、ステップ506を実行し、そうでない場合は、ステップ509を実行するステップ505と、
新しい活性化コードおよび変更要求ありの情報を管理デバイス100に送信するステップ506と、
管理デバイス100が送信した活性化コード変更済みの情報を受信して、前記識別子に対応する活性化コードの変更要求を変更要求なしに修正するステップ507と、
前記活性化コードおよび変更要求なしの情報を管理デバイス100に送信するステップ508と、
無効な識別子の関連情報を生成して、前記管理デバイス100に返信するステップ509と、
を含む。
FIG. 5 is another schematic diagram of the PLC activation method of the present embodiment, showing the operation of the server device 300 . As shown in FIG. 5, the method comprises:
step 501 of receiving the identifier of the PLC from the management device 100;
step 502 of determining whether the identifier is a valid identifier, and if so, performing step 503; otherwise, performing step 509;
step 503 of determining whether the identifier is in a deactivated state, and if so, performing step 504; otherwise, performing step 505;
step 504 of generating an activation code corresponding to said identifier and sending it to the management device 100 to modify the activation state of said identifier;
step 505 of determining whether the activation code has been changed, and if so, performing step 506; otherwise, performing step 509;
sending 506 the new activation code and information with the change request to the management device 100;
a step 507 of receiving the changed activation code information transmitted by the management device 100 and modifying the activation code change request corresponding to the identifier without a change request;
sending 508 the activation code and no change request information to the management device 100;
step 509 of generating invalid identifier related information and returning it to said management device 100;
including.

本実施形態の方法により、サーバーデバイス300は、製造されたPLCの関連情報を保存し、PLCが製造された後、管理デバイス100は、PLCを活性化して、活性化コードを取得し、活性化を1回しか行わないため、活性化されていないPLCは、正常に使用することができない。PLCを正常に使用する前に、さらに、PLCを検証し、検証に失敗したPLCも正常に使用することができないため、クローンPLCの使用を抑制することができる。 According to the method of the present embodiment, the server device 300 stores related information of the manufactured PLC, and after the PLC is manufactured, the management device 100 activates the PLC to obtain the activation code and activates the PLC. is performed only once, a non-activated PLC cannot be used normally. Before the PLC is used normally, the PLC is further verified, and the PLC that fails the verification cannot be used normally, so the use of the clone PLC can be suppressed.

(実施形態4)
本実施形態は、PLC200に応用するPLCの活性化方法を提供する。
(Embodiment 4)
This embodiment provides a PLC activation method applied to the PLC 200 .

図6は、本実施形態のPLCの活性化方法の概略図である。図6に示すように、前記方法は、
管理デバイス100から識別子読み出し要求を受信するステップ601と、
前記PLCの識別子を前記管理デバイス100に送信するステップ602と、
前記管理デバイス100から前記識別子に対応する活性化コードを受信するステップ603と、
前記活性化コードを保存するステップ604と、
を含む。
FIG. 6 is a schematic diagram of the PLC activation method of this embodiment. As shown in FIG. 6, the method comprises:
step 601 of receiving an identifier read request from the management device 100;
sending 602 the identifier of the PLC to the management device 100;
a step 603 of receiving an activation code corresponding to said identifier from said management device 100;
storing 604 the activation code;
including.

本実施形態において、PLC200は、管理デバイス100の要求に基づいて、自身の識別子を管理デバイス100に送信し、管理デバイス100は、前記識別子をサーバーデバイス300に送信し、サーバーデバイス300が前記識別子に対応する活性化コードを生成して、管理デバイス100に返信し、その後、管理デバイス100が活性化コードをPLC200に送信することにより、前記PLCの活性化が完了する。 In this embodiment, the PLC 200 transmits its own identifier to the management device 100 based on the request of the management device 100, the management device 100 transmits the identifier to the server device 300, and the server device 300 responds to the identifier. A corresponding activation code is generated and sent back to the management device 100, and then the management device 100 sends the activation code to the PLC 200, thereby completing the activation of the PLC.

本実施形態において、サーバーデバイスが前記識別子に対応する活性化コードを生成した後、前記識別子の状態を活性化状態に修正し、その後、同じ識別子に対して活性化操作を行うことはないため、クローンPLCの使用を抑制することができる。 In this embodiment, after the server device generates the activation code corresponding to the identifier, the status of the identifier is modified to the activated status, and then the activation operation is not performed on the same identifier. The use of clonal PLC can be suppressed.

本実施形態において、PLC200を正式に使用する前に、管理デバイス100は、さらに、検証を行う。 In this embodiment, the management device 100 further verifies before using the PLC 200 formally.

1つの実施方式において、前記検証操作が管理デバイス100において完了すると、前記PLC200は、さらに、管理デバイス100から活性化コード読み出し要求を受信して、保存した活性化コードを管理デバイス100に送信することができ、管理デバイス100が前記活性化コードとサーバーデバイスから受信した活性化コードを比較して、両者が一致する場合は、検証成功とみなすが、そうでなければ、検証失敗とみなす。 In one implementation, when the verification operation is completed in the management device 100, the PLC 200 further receives an activation code read request from the management device 100 and sends the saved activation code to the management device 100. and the management device 100 compares the activation code with the activation code received from the server device, and if the two match, the verification is considered successful; otherwise, the verification is failed.

別の実施方式において、前記検証操作がPLC200において完了すると、前記PLC200は、さらに、管理デバイス100から、前記管理デバイス100がサーバーデバイス300から受信した活性化コードを受信し、前記活性化コードと自身が保存した活性化コードを比較して、両者が一致する場合は、検証成功とみなし、検証成功情報を管理デバイス100に送信するが、そうでなければ、検証失敗とみなし、検証失敗情報を管理デバイス100に送信する。どの検証方法であるかに関わらず、検証に失敗したPLCは、正常に使用することができないため、クローンPLCの使用を抑制することができる。 In another implementation, when the verification operation is completed in the PLC 200, the PLC 200 further receives from the management device 100 an activation code that the management device 100 received from the server device 300, and activates the activation code and itself. compares the stored activation codes, and if the two match, it is regarded as verification success and the verification success information is sent to the management device 100; otherwise, it is regarded as verification failure and the verification failure information is managed. Send to device 100 . Regardless of which verification method it is, PLCs that have failed verification cannot be used normally, so the use of clone PLCs can be suppressed.

本実施形態の方法により、サーバーデバイス300は、製造されたPLCの関連情報を保存し、PLCが製造された後、管理デバイス100は、PLCを活性化して、活性化コードを取得し、活性化を1回しか行わないため、活性化されていないPLCは、正常に使用することができない。PLCを正常に使用する前に、さらに、PLCを検証して、検証に失敗したPLCも正常に使用することができないため、クローンPLCの使用を抑制することができる。 According to the method of the present embodiment, the server device 300 stores related information of the manufactured PLC, and after the PLC is manufactured, the management device 100 activates the PLC to obtain the activation code and activates the PLC. is performed only once, a non-activated PLC cannot be used normally. Before the PLC is used normally, the PLC is further verified, and since the PLC that fails the verification cannot be used normally, the use of the clone PLC can be suppressed.

以上、実施形態2~4により、本実施形態のPLCの活性化方法を管理デバイス100、サーバーデバイス300、およびPLC200の角度から説明した。以下、いくつかの具体例により、本実施形態のPLCの活性化方法について説明する。以下の例において、コンピュータツールソフトウェアをインストールしたコンピュータデバイスが本実施形態の管理デバイス100であり、正規のPLC製造業者の公式クラウドサーバーが本実施形態のサーバーデバイスである場合を例として説明を行うが、上述したように、本実施形態はこれに限定されない。 The PLC activation method of this embodiment has been described above from the perspectives of the management device 100, the server device 300, and the PLC 200 according to the second to fourth embodiments. Hereinafter, the activation method of the PLC of this embodiment will be described using some specific examples. In the following example, the computer device on which the computer tool software is installed is the management device 100 of this embodiment, and the official cloud server of the authorized PLC manufacturer is the server device of this embodiment. , as described above, the present embodiment is not limited to this.

図7は、PLCの活性化フローの概略図である。各PLCは、初めての使用の前に、前記活性化操作を行わなければならない。図7に示すように、前記フローは、
ユーザーオペレータが、コンピュータツールソフトウェアを使用して、PLCに対して活性化操作を行うステップ701と、
コンピュータツールソフトウェアが、PLCに要求を送信して、活性化用識別子を読み出すステップ702と、
PLCが、コンピュータツールソフトウェアに活性化用識別子を返信し、この識別子が一意であるステップ703と、
コンピュータツールソフトウェアが、クラウドサーバーに要求を送信して、前記PLCの識別子を提出し、前記PLCを活性化するよう請求するステップ704と、
クラウドサーバーが、PLCの識別子に基づいて前記PLCの製造データを検査して、前記識別子の活性化状態を確定し、前記識別子が不活性化状態であり、前記PLCが初めての使用である場合に、クラウドサーバーが、前記識別子に対応する活性化コードを生成して、コンピュータツールソフトウェアに返信し、前記識別子を活性化状態として表記するステップ705と、
コンピュータツールソフトウェアが、PLCに要求を送信して、前記活性化コードのダウンロードを行うステップ706と、
PLCが、コンピュータツールソフトウェアから取得した活性化コードを保存して、完成した情報をコンピュータツールソフトウェアに返信するステップ707と、
コンピュータツールソフトウェアが、活性化完了済みの情報をユーザーオペレータに返信するステップ708と、
を含む。
FIG. 7 is a schematic diagram of the PLC activation flow. Each PLC must undergo the activation operation before first use. As shown in FIG. 7, the flow is:
a step 701 where the user operator performs an activation operation on the PLC using the computer tool software;
computer tool software sending a request to the PLC to read the activation identifier step 702;
the PLC returning an activation identifier to the computer tool software, this identifier being unique, step 703;
step 704, wherein computer tool software sends a request to a cloud server to submit an identifier of said PLC and to activate said PLC;
The cloud server examines the manufacturing data of the PLC based on the identifier of the PLC to determine the activation status of the identifier, and if the identifier is in the deactivated status and the PLC is used for the first time. , a step 705 of the cloud server generating an activation code corresponding to the identifier and returning it to the computer tool software to mark the identifier as an activation state;
computer tool software sending a request to the PLC to download said activation code step 706;
step 707 the PLC storing the activation code obtained from the computer tool software and sending the completed information back to the computer tool software;
Step 708, the computer tool software returning activation completed information to the user operator;
including.

図7のフローにより、PLCの活性化が完了する。同じ識別子の活性化操作は1回しか行うことができないため、クローンPLCに対し、同じ識別子を使用してクラウドサーバーに活性化を請求し、クラウドサーバーが前記識別子の製造データを検査して、前記識別子が活性化状態であると確定した場合、前記識別子に対しては再度活性化操作を行わない。そのため、クローンPLCの使用を回避することができる。さらに、無効な識別子に対し、クラウドサーバーは、無効な識別子の関連情報を返信することができるため、無効な識別子を使用しているクローンPLCの使用を回避することができる。 Activation of the PLC is completed by the flow of FIG. Since the same identifier can only be activated once, the cloned PLC uses the same identifier to request activation from the cloud server, and the cloud server inspects the manufacturing data of the identifier to determine the If the identifier is determined to be active, the identifier is not reactivated. Therefore, the use of clonal PLCs can be avoided. Furthermore, for invalid identifiers, the cloud server can return relevant information of the invalid identifiers, thus avoiding the use of clone PLCs using invalid identifiers.

図8は、正規のPLCのオンライン操作フローの概略図である。図8に示すように、前記フローは、
ユーザーオペレータが、コンピュータツールソフトウェアを使用して、オンラインダウンロードプログラム等の操作を行うステップ801と、
コンピュータツールソフトウェアが、PLCに要求を送信して、活性化用識別子を読み出すステップ802と、
PLCが、コンピュータツールソフトウェアに活性化用識別子を返信し、この識別子が一意であるステップ803と、
コンピュータツールソフトウェアが、クラウドサーバーに要求を送信して、前記PLCの識別子を提出し、前記PLCに対して問い合わせを行うよう請求するステップ804と、
クラウドサーバーが、前記PLCの識別子に基づいて前記PLCの製造データを検査して、前記識別子の活性化状態を確定し、前記識別子が不活性化状態であり、前記識別子の活性化コードが既に生成されている場合に、クラウドサーバーが、前記識別子の活性化コードをコンピュータツールソフトウェアに返信し、選択的に、前記活性化コードが変更されていない場合に、変更要求なしの情報をコンピュータツールソフトウェアに一緒に返信することもできるステップ805と、
コンピュータツールソフトウェアが、PLCに要求を送信して、前記PLCが保存している活性化コードを問い合わせるステップ806と、
PLCが、保存した活性化コードをコンピュータツールソフトウェアに返信するステップ807と、
コンピュータツールソフトウェアが、活性化コードを検証し、検証に合格した場合に、ユーザープログラムをPLCにダウンロードするステップ808と、
PLCが、コンピュータツールソフトウェアに完成した情報を返信するステップ809と、
コンピュータツールソフトウェアが、ユーザーオペレータにダウンロード完了の情報を表示するステップ810と、
を含む。
FIG. 8 is a schematic diagram of a regular PLC online operation flow. As shown in FIG. 8, the flow is:
A step 801 in which a user operator operates an online download program or the like using computer tool software;
computer tool software sending a request to the PLC to read the activation identifier step 802;
the PLC returning an activation identifier to the computer tool software, this identifier being unique, step 803;
step 804, wherein computer tool software sends a request to a cloud server to submit an identifier of said PLC and to query said PLC;
The cloud server examines the manufacturing data of the PLC based on the identifier of the PLC to determine the activation status of the identifier, the identifier is deactivated, and the activation code of the identifier has already been generated. if so, the cloud server returns an activation code for the identifier to the computer tool software; optionally, if the activation code has not been changed, information of no change request to the computer tool software; step 805, which may also reply together;
step 806, the computer tool software sending a request to the PLC to query the activation code stored by the PLC;
step 807 the PLC returning the saved activation code to the computer tool software;
step 808 where the computer tool software verifies the activation code and, if the verification passes, downloads the user program to the PLC;
the PLC returning the completed information to the computer tool software step 809;
a step 810 in which the computer tool software displays download completion information to the user operator;
including.

ステップ808において、検証は、PLCで完了させてもよく、上述した通りであるため、ここでは説明を省略する。 At step 808, the verification may be completed by the PLC and has been described above and will not be described here.

図8のフローにより、PLCの活性化が完了し、PLCを正常に使用することができる。 Activation of the PLC is completed by the flow of FIG. 8, and the PLC can be used normally.

図9は、クローンPLCのオンライン操作フローの概略図である。図9に示すように、ステップ901~907は、ステップ801~807と同じであるため、ここでは繰り返し説明しない。また、ステップ908において、PLCから取得した活性化コード(&&&&)は、クラウドサーバーから取得した活性化コード(****)と一致しないため、検証に失敗し、ダウンロードが取り消され、コンピュータツールソフトウェアは、ユーザーオペレータに対してダウンロード失敗の情報を表示する。そのため、クローンPLCの使用を抑制することができる。 FIG. 9 is a schematic diagram of the online operation flow of clone PLC. As shown in FIG. 9, steps 901-907 are the same as steps 801-807 and will not be repeated here. Also, in step 908, the activation code (&&&&) obtained from the PLC does not match the activation code (****) obtained from the cloud server, so the verification fails, the download is canceled, and the computer tool software displays download failure information to the user operator. Therefore, the use of clone PLC can be suppressed.

図10は、正規のPLCの活性化コードの更新操作フローの概略図である。図10に示すように、前記フローは、
ユーザーオペレータが、コンピュータツールソフトウェアを使用して、オンラインダウンロードプログラム等の操作を行うステップ1001と、
コンピュータツールソフトウェアが、PLCに要求を送信して、活性化用識別子を読み出すステップ1002と、
PLCが、コンピュータツールソフトウェアに活性化用識別子を返信し、この識別子が一意であるステップ1003と、
コンピュータツールソフトウェアが、クラウドサーバーに要求を送信して、前記PLCの識別子を提出し、前記PLCに対して問い合わせを行うよう請求するステップ1004と、
クラウドサーバーが前記PLCの識別子に基づいて前記PLCの製造データを検査して、前記識別子の活性化状態を確定し、前記識別子は活性化状態であるが、前記識別子の活性化コードに変更が生じている場合、クラウドサーバーが、前記識別子の新しい活性化コード(&&&&)および変更要求ありの情報をコンピュータツールソフトウェアに返信するステップ1005と、
コンピュータツールソフトウェアが、PLCに要求を送信して、前記PLCが保存している活性化コードを問い合わせるステップ1006と、
PLCが、保存した活性化コード(****)をコンピュータツールソフトウェアに返信するステップ1007と、
クラウドサーバーから取得した情報が活性化コードに変更があったことを表示しているため、コンピュータツールソフトウェアが、新しい活性化コード(&&&&)およびユーザープログラム等をPLCにダウンロードするステップ1008と、
PLCが、新しい活性化コード(&&&&)およびユーザープログラム等をPLC保存して、コンピュータツールソフトウェアに完成した情報を返信するステップ1009と、
コンピュータツールソフトウェアが、クラウドサーバーに通知を送信して、活性化コードが既に変更されていることをクラウドサーバーに知らせるステップ1010と、
クラウドサーバーが、前記活性化コードの変更要求を変更要求ありから変更要求なしに修正し、コンピュータツールソフトウェアに相応の情報を返信するステップ1011と、
コンピュータツールソフトウェアが、ダウンロード完了の情報をユーザーオペレータに表示するステップ1012と、
を含む。
FIG. 10 is a schematic diagram of normal PLC activation code update operation flow. As shown in FIG. 10, the flow is:
A step 1001 in which a user operator uses computer tool software to operate an online download program or the like;
step 1002, the computer tool software sending a request to the PLC to read the activation identifier;
the PLC returning an activation identifier to the computer tool software, this identifier being unique, step 1003;
step 1004, where computer tool software sends a request to a cloud server to submit an identifier of said PLC and to query said PLC;
The cloud server examines the manufacturing data of the PLC based on the identifier of the PLC to determine the activation status of the identifier, and the identifier is in the activated status but the activation code of the identifier has changed. if yes, a step 1005 of the cloud server returning to the computer tool software a new activation code (&&&&) for said identifier and the information that there is a change request;
step 1006, the computer tool software sending a request to the PLC to query the activation code stored by the PLC;
step 1007 the PLC returning the saved activation code (****) to the computer tool software;
a step 1008 in which the computer tool software downloads the new activation code (&&&&) and the user program, etc. to the PLC, because the information obtained from the cloud server indicates that the activation code has changed;
step 1009 where the PLC saves the new activation code (&&&&) and user program etc. in the PLC and returns the completed information to the computer tool software;
step 1010, the computer tool software sending a notification to the cloud server to inform the cloud server that the activation code has already been changed;
step 1011, wherein the cloud server modifies the activation code change request from change request to no change request, and returns corresponding information to the computer tool software;
a step 1012 in which the computer tool software displays download completion information to the user operator;
including.

図10のフローにより、クラウドサーバーは、活性化コードを更新することができるため、クローンPLCの使用をさらに抑制することができる。 The flow of FIG. 10 allows the cloud server to update the activation code, thereby further reducing the use of clone PLCs.

(実施形態5)
本実施形態は、図7~図10のコンピュータツールソフトウェアに対応し、管理デバイス100に配置するPLCの活性化装置を提供する。前記装置が問題を解決する原理は、実施形態2の方法と類似しており、具体的な実施については、実施形態1および実施形態2を参照することができるため、内容の同じ部分は、説明を省略する。
(Embodiment 5)
This embodiment corresponds to the computer tool software of FIGS. The principle that the device solves the problem is similar to the method in Embodiment 2, and the specific implementation can refer to Embodiment 1 and Embodiment 2, so the same part of the content is the same as the description omitted.

図11は、本実施形態のPLCの活性化装置の概略図である。図11に示すように、本実施形態のPLCの活性化装置1100は、第1読み出しユニット1101と、第1送信ユニット1102と、第1受信ユニット1103とを含む。第1読み出しユニット1101は、PLCから前記PLCの識別子を読み出す。第1送信ユニット1102は、前記PLCの識別子をサーバーデバイスに送信し、前記サーバーデバイスは、前記識別子が不活性化状態の時に、前記識別子に対応する活性化コードを生成して、前記活性化コードを返信し、前記識別子を活性化状態として表記する。第1受信ユニット1103は、前記サーバーデバイスが返信した前記活性化コードを受信し、前記第1送信ユニット1102は、前記活性化コードを前記PLCに送信して保存する。 FIG. 11 is a schematic diagram of the PLC activation device of this embodiment. As shown in FIG. 11 , the PLC activation device 1100 of this embodiment includes a first reading unit 1101 , a first transmitting unit 1102 and a first receiving unit 1103 . A first reading unit 1101 reads the identifier of the PLC from the PLC. The first sending unit 1102 sends the identifier of the PLC to a server device, and the server device generates an activation code corresponding to the identifier when the identifier is in an inactive state, and the activation code is and notate the identifier as an active state. The first receiving unit 1103 receives the activation code returned by the server device, and the first sending unit 1102 transmits the activation code to the PLC for storage.

本実施形態において、図11に示すように、本実施形態のPLCの活性化装置1100は、さらに、
前記識別子が活性化状態であり、且つ前記識別子に対応する活性化コードが変更されていない場合に、サーバーデバイスが、前記識別子に対応する活性化コードおよび変更要求なしの情報を返信する検証ユニット1104を含み、第1受信ユニット1103は、前記サーバーデバイスが返信した前記活性化コードおよび変更要求なしの情報を受信して、検証ユニット1104が前記PLCを検証する。
In this embodiment, as shown in FIG. 11, the PLC activation device 1100 of this embodiment further includes:
A verification unit 1104, wherein if the identifier is in an activated state and the activation code corresponding to the identifier has not been changed, the server device returns the activation code corresponding to the identifier and the information of no change request. and a first receiving unit 1103 receives the activation code and no change request information returned by the server device, and a verifying unit 1104 verifies the PLC.

1つの実施方式において、図11に示すように、検証ユニット1104は、第2読み出しユニット11041と、比較ユニット11042とを含む。第2読み出しユニット11041は、前記PLCから前記PLCが保存した活性化コードを読み出す。比較ユニット11042は、前記サーバーデバイスから受信した活性化コードと前記PLCから読み出した活性化コードを比較して、両者が一致する場合は、検証に合格するが、そうでなければ、検証に失敗する。 In one implementation, the verification unit 1104 includes a second reading unit 11041 and a comparing unit 11042, as shown in FIG. A second reading unit 11041 reads the activation code stored by the PLC from the PLC. A comparison unit 11042 compares the activation code received from the server device and the activation code read from the PLC, and if the two match, the verification is passed, otherwise the verification is failed. .

別の実施方式において、図11に示すように、検証ユニット1104は、第2送信ユニット11043と、第2受信ユニット11044とを含む。第2送信ユニット11043は、前記サーバーデバイスから受信した活性化コードを前記PLCに送信し、前記PLCは、保存した活性化コードと受信した前記サーバーデバイスからの活性化コードを比較して、両者が一致する場合は、検証成功情報を返信するが、そうでなければ、検証失敗情報を返信する。第2受信ユニット11044は、前記PLCが返信した前記検証成功情報または前記検証失敗情報を受信して、前記検証成功情報を受信した場合は、検証に合格するが、前記検証失敗情報を受信した場合は、検証に失敗する。 In another implementation, the verification unit 1104 includes a second sending unit 11043 and a second receiving unit 11044, as shown in FIG. a second sending unit 11043 for sending the activation code received from the server device to the PLC, and the PLC compares the stored activation code with the received activation code from the server device so that both If they match, return verification success information; otherwise, return verification failure information. The second receiving unit 11044 receives the verification success information or the verification failure information returned by the PLC, and passes the verification when the verification success information is received, but when the verification failure information is received. fails validation.

本実施形態において、前記識別子が活性化状態であり、且つ前記識別子に対応する活性化コードが変更されている場合、サーバーデバイスは、新しい活性化コードおよび変更要求ありの情報を返信する。第1受信ユニット1103は、前記サーバーデバイスが返信した前記新しい活性化コードおよび前記変更要求ありの情報を受信する。第1送信ユニット1102は、前記新しい活性化コードを前記PLCに送信して、更新を行う。第1受信ユニット1103は、活性化コード変更済みの情報を前記サーバーデバイスに送信し、前記サーバーデバイスは、前記識別子に対応する活性化コードの変更要求を「変更要求なし」に修正する。 In this embodiment, if the identifier is in an activated state and the activation code corresponding to the identifier has been changed, the server device returns a new activation code and information with a change request. A first receiving unit 1103 receives the new activation code and the change requested information returned by the server device. A first sending unit 1102 sends the new activation code to the PLC for updating. The first receiving unit 1103 sends the information of the activation code changed to the server device, and the server device modifies the change request of the activation code corresponding to the identifier to "no change request".

本実施形態において、第1読み出しユニット1101は、第1送信ユニット1102が前記新しい活性化コードを前記PLCに送信する前に、前記PLCから前記PLCが保存した活性化コードを読み出す。第1送信ユニット1102は、前記活性化コードと前記新しい活性化コードが一致しない場合、前記新しい活性化コードを前記PLCに送信して、更新を行う。 In this embodiment, the first reading unit 1101 reads the activation code stored by the PLC from the PLC before the first sending unit 1102 sends the new activation code to the PLC. A first sending unit 1102 sends the new activation code to the PLC for updating if the activation code and the new activation code do not match.

本実施形態において、上述したPLCの活性化装置1100は、コントローラおよびメモリで実現することができる。例えば、前記メモリは、実施形態2の方法を実現するためのコンピュータプログラムを記憶し、コントローラの制御下で実施形態2の方法を実行する。 In the present embodiment, the PLC activation device 1100 described above can be implemented with a controller and a memory. For example, the memory stores a computer program for implementing the method of Embodiment 2 and executes the method of Embodiment 2 under control of a controller.

本実施形態は、さらに、上述したPLCの活性化装置1100に配置する管理デバイスを提供する。また、前記管理デバイスは、さらに、その他の管理デバイスの通常の構成、例えば、入力デバイス(キーボード)、出力デバイス(ディスプレイ)、接続インターフェース等を有することができ、前記管理デバイスの通常の構成については、現有技術を参照することができるため、ここでは説明を省略する。 The present embodiment further provides a management device located in the PLC activation device 1100 described above. In addition, the management device can further have other normal configurations of management devices, such as an input device (keyboard), an output device (display), a connection interface, etc. For the normal configuration of the management device, , the existing technology can be referred to, so the description is omitted here.

本実施形態の装置または管理デバイスとサーバーデバイスおよびPLCを交互に使用することにより、PLCに対して活性化操作または検証操作を行い、クローンPLCの使用を抑制することができる。 By alternately using the apparatus or management device of this embodiment, the server device, and the PLC, activation operation or verification operation can be performed on the PLC, and use of the clone PLC can be suppressed.

(実施形態6)
本実施形態は、サーバーデバイス300に配置するPLCの活性化装置を提供する。前記装置が問題を解決する原理は、実施形態3の方法と類似しており、具体的な実施については、実施形態1および実施形態3を参照することができるため、内容の同じ部分は、説明を省略する。
(Embodiment 6)
The present embodiment provides a PLC activation device installed in the server device 300 . The principle that the device solves the problem is similar to the method in Embodiment 3, and the specific implementation can refer to Embodiment 1 and Embodiment 3, so the same part of the content is the same as the description omitted.

図12は、本実施形態のPLCの活性化装置の概略図である。図12に示すように、本実施形態のPLCの活性化装置1200は、受信ユニット1201と、検査ユニット1202と、処理ユニット1203とを含む。受信ユニット1201は、管理デバイスからPLCの識別子を受信する。検査ユニット1202は、前記PLCの製造データに基づいて、前記識別子の活性化状態を検査する。処理ユニット1203は、前記識別子が不活性化状態の時に、前記識別子に対応する活性化コードを生成して、前記管理デバイスに送信し、前記識別子を活性化状態として表記するとともに、前記識別子が活性化状態の時に、前記識別子に対応する活性化コードを前記管理デバイスに送信する。 FIG. 12 is a schematic diagram of the PLC activation device of this embodiment. As shown in FIG. 12 , the PLC activation device 1200 of this embodiment includes a receiving unit 1201 , a testing unit 1202 and a processing unit 1203 . The receiving unit 1201 receives the identifier of the PLC from the management device. A checking unit 1202 checks the activation state of the identifier based on the manufacturing data of the PLC. The processing unit 1203 generates an activation code corresponding to the identifier when the identifier is in an inactive state, transmits it to the management device, marks the identifier as an active state, and indicates that the identifier is in an active state. When in the activated state, an activation code corresponding to the identifier is sent to the management device.

本実施形態において、前記識別子が活性化状態の時、前記識別子に対応する活性化コードが変更されてない場合、処理ユニット1203は、前記識別子に対応する活性化コードおよび変更要求なしの情報を前記PLC活性化システムに送信することができる。 In this embodiment, when the identifier is in the activated state, if the activation code corresponding to the identifier has not been changed, the processing unit 1203 sends the activation code corresponding to the identifier and the information of no change request to the It can be sent to the PLC activation system.

本実施形態において、前記識別子が活性化状態の時、前記識別子に対応する活性化コードが変更されている場合、処理ユニット1203は、新しい活性化コードおよび変更要求ありの情報を前記管理デバイスに送信することができる。本実施形態において、前記受信ユニット1201は、さらに、前記管理デバイスから活性化コード変更済みの情報を受信することができる。前記処理ユニット1203は、前記識別子に対応する活性化コードの変更要求を変更要求なしに修正する。 In this embodiment, when the identifier is in the activated state, if the activation code corresponding to the identifier has been changed, the processing unit 1203 sends the new activation code and the change request information to the management device. can do. In this embodiment, the receiving unit 1201 may further receive activation code changed information from the management device. The processing unit 1203 modifies the change request of the activation code corresponding to the identifier without change request.

本実施形態において、上述したPLCの活性化装置1200は、コントローラおよびメモリで実現することができる。例えば、前記メモリは、実施形態3の方法を実現するためのコンピュータプログラムを記憶し、コントローラの制御下で実施形態3の方法を実行する。 In this embodiment, the above-described PLC activation device 1200 can be implemented with a controller and a memory. For example, the memory stores a computer program for implementing the method of Embodiment 3 and executes the method of Embodiment 3 under control of a controller.

本実施形態は、さらに、上述したPLCの活性化装置1200に配置するサーバーデバイスを提供する。また、前記サーバーデバイスは、さらに、その他のサーバーデバイスの通常の構成、例えば、入力デバイス(キーボード)、出力デバイス(ディスプレイ)、接続インターフェース等を有することができ、前記サーバーデバイスの通常の構成については、現有技術を参照することができるため、ここでは説明を省略する。 The present embodiment further provides a server device located in the activation device 1200 of the PLC described above. In addition, the server device can further have other normal configurations of server devices, such as input devices (keyboards), output devices (displays), connection interfaces, etc. For the normal configuration of the server device, , the existing technology can be referred to, so the description is omitted here.

本実施形態の装置またはサーバーデバイスと管理デバイスを交互に使用することにより、PLCに対して活性化操作または検証操作を行い、クローンPLCの使用を抑制することができる。 By alternately using the apparatus or server device of this embodiment and the management device, it is possible to perform an activation operation or a verification operation on the PLC and suppress the use of the clone PLC.

(実施形態7)
本実施形態は、PLC200に配置するPLCの活性化装置を提供する。前記装置が問題を解決する原理は、実施形態4の方法と類似しており、具体的な実施については、実施形態1および実施形態4を参照することができるため、内容の同じ部分は、説明を省略する。
(Embodiment 7)
The present embodiment provides a PLC activation device arranged in the PLC 200 . The principle that the device solves the problem is similar to the method in Embodiment 4, and the specific implementation can refer to Embodiment 1 and Embodiment 4, so the same part of the content is the same as the description omitted.

図13は、本実施形態のPLCの活性化装置の概略図である。図13に示すように、本実施形態のPLCの活性化装置1300は、受信ユニット1301と、送信ユニット1302と、保存ユニット1303とを含む。受信ユニット1301は、管理デバイスから識別子読み出し要求を受信する。送信ユニット1302は、前記PLCの識別子を前記管理デバイスに送信する。受信ユニット1301は、さらに、前記管理デバイスから前記識別子に対応する活性化コードを受信する。保存ユニット1303は、前記活性化コードを保存する。 FIG. 13 is a schematic diagram of the PLC activation device of this embodiment. As shown in FIG. 13 , the PLC activation device 1300 of this embodiment includes a receiving unit 1301 , a transmitting unit 1302 and a storing unit 1303 . The receiving unit 1301 receives the identifier read request from the management device. A sending unit 1302 sends the identifier of the PLC to the management device. The receiving unit 1301 further receives an activation code corresponding to the identifier from the management device. A storage unit 1303 stores the activation code.

本実施形態において、受信ユニット1301は、さらに、前記管理デバイスから活性化コード読み出し要求を受信する。送信ユニット1302は、さらに、保存した前記活性化コードを前記管理デバイスに送信し、前記管理デバイスが前記活性化コードとサーバーデバイスから受信した活性化コードを比較して、両者が一致する場合は、検証成功とみなすが、そうでなければ、検証失敗とみなす。 In this embodiment, the receiving unit 1301 further receives an activation code read request from the management device. The transmitting unit 1302 is further configured to transmit the stored activation code to the management device, and the management device compares the activation code with the activation code received from the server device, and if they match, Consider verification success, otherwise consider verification failure.

本実施形態において、図13に示すように、本実施形態のPLCの活性化装置は、さらに、
検証ユニット1304を含み、受信ユニット1301は、さらに、前記管理デバイスから前記識別子に対応する活性化コードを受信する。前記装置は、さらに、受信した前記活性化コードと保存した活性化コードを比較して、両者が一致する場合は、検証成功とみなし、検証成功情報を生成して、前記管理デバイスに送信するが、そうでなければ、検証失敗とみなし、検証失敗情報を生成して、前記管理デバイスに送信する検証ユニット1304を含む。
In this embodiment, as shown in FIG. 13, the PLC activation device of this embodiment further includes:
Including a verification unit 1304, the receiving unit 1301 further receives an activation code corresponding to the identifier from the management device. The device further compares the received activation code with the stored activation code, and if the two match, considers verification successful, generates verification success information, and transmits the verification success information to the management device. , otherwise, it considers verification failure, generates verification failure information and sends it to the management device.

本実施形態において、上述したPLCの活性化装置1300は、コントローラおよびメモリで実現することができる。例えば、前記メモリは、実施形態4の方法を実現するためのコンピュータプログラムを記憶し、コントローラの制御下で実施形態4の方法を実行する。 In this embodiment, the PLC activation device 1300 described above can be implemented with a controller and a memory. For example, the memory stores a computer program for implementing the method of Embodiment 4 and executes the method of Embodiment 4 under control of a controller.

本実施形態は、さらに、上述したPLCの活性化装置1300に配置するPLCを提供する。また、前記PLCは、さらに、その他のPLCの通常の構成、例えば、入力デバイス(キーボード)、出力デバイス(ディスプレイ)、接続インターフェース等を有することができ、前記PLCの通常の構成については、現有技術を参照することができるため、ここでは説明を省略する。 The present embodiment further provides a PLC located in the PLC activation device 1300 described above. In addition, the PLC can further have other normal configurations of PLCs, such as input devices (keyboards), output devices (displays), connection interfaces, etc. For the normal configuration of the PLCs, the existing technology can be referred to, so the description is omitted here.

本実施形態の装置またはPLCと管理デバイスを交互に使用することにより、PLCの活性化または検証を完了し、クローンPLCの使用を抑制することができる。 By alternately using the apparatus or PLC of this embodiment and the management device, the activation or verification of the PLC can be completed and the use of the clone PLC can be suppressed.

本発明の実施形態の以上の装置および方法は、ハードウェアで実現することができ、ハードウェアとソフトウェアを組み合わせて実現してもよい。本発明の実施形態は、このようなコンピュータ読み出し可能プログラムに関し、前記プログラムが論理素子により実行される場合、前記論理素子により上文に記載した装置または構成部材を実現することができ、あるいは前記論理素子により上文に記載した各種方法またはステップを実現することができる。本発明の実施形態は、さらに、以上のプログラムを記憶するための記憶媒体、例えば、ハードディスク、磁気ディスク、CD、DVD、フラッシュメモリ等に関する。 The above apparatus and methods of the embodiments of the present invention can be implemented in hardware, or may be implemented in a combination of hardware and software. Embodiments of the present invention relate to such a computer readable program, which, when executed by a logic element, is capable of realizing a device or component as described above by said logic element, or The device can implement various methods or steps described above. Embodiments of the present invention further relate to storage media, such as hard disks, magnetic disks, CDs, DVDs, flash memories, etc., for storing the above programs.

本発明の実施形態に記載されている方法/装置を組み合わせて、ハードウェア、プロセッサで実行するソフトウェアモジュール、あるいは両者の組み合わせとして直接体現することができる。例えば、図11~13に示した機能ブロック図のうちの1つまたは複数および/または機能ブロック図の1つまたは複数の組み合わせは、コンピュータプログラムフローの各ソフトウェアモジュールに対応することができ、各ハードウェアモジュールにも対応することができる。これらのソフトウェアモジュールは、それぞれ、図2、4、6に示した各ステップに対応することができる。これらのハードウェアモジュールは、例えば、フィールドプログラマブルゲートアレイ(FPGA)を利用してこれらのソフトウェアモジュールのハードウェア化を実現することができる。 The combined methods/apparatuses described in the embodiments of the present invention can be embodied directly as hardware, software modules running on a processor, or a combination of both. For example, one or more of the functional block diagrams and/or one or more combinations of functional block diagrams illustrated in FIGS. It is also compatible with wear modules. These software modules can correspond to the steps shown in FIGS. 2, 4 and 6, respectively. These hardware modules can implement hardware implementation of these software modules using, for example, a field programmable gate array (FPGA).

ソフトウェアモジュールは、RAMメモリ、フラッシュメモリ、ROMメモリ、EPROMメモリ、EEPROMメモリ、レジスタ、ハードディスク、リムーバブルディスク、CD-ROM、または本分野において周知の任意のその他の形式の記憶媒体に配置することができる。記憶媒体をプロセッサに接続することにより、プロセッサは、前記記憶媒体から情報を読み出すことができ、且つ前記記憶媒体に情報を書き込むことができる。あるいは、前記記憶媒体は、プロセッサの構成部分であってもよい。プロセッサと記憶媒体は、ASICの中に配置することができる。前記ソフトウェアモジュールは、モバイル端末のメモリに保存することができ、モバイル端末に挿入可能なメモリカードにも保存することができる。例えば、電子機器が比較的大容量のMEGA-SIMカードまたは大容量のフラッシュメモリ装置を採用している場合、前記ソフトウェアモジュールは、前記MEGA-SIMカードまたは大容量のフラッシュメモリ装置に保存することができる。 A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. . By coupling a storage medium to a processor, the processor can read information from, and write information to, the storage medium. Alternatively, the storage medium may be a component part of a processor. The processor and storage medium can be located in an ASIC. Said software modules may be stored in the memory of the mobile terminal and may also be stored on a memory card insertable into the mobile terminal. For example, if the electronic device employs a relatively large-capacity MEGA-SIM card or a large-capacity flash memory device, the software module can be stored in the MEGA-SIM card or large-capacity flash memory device. can.

添付の図に記載した機能ブロックのうちの1つまたは複数および/または機能ブロックの1つまたは複数の組み合わせは、本発明の実施形態に記載した機能を実行するための汎用プロセッサ、デジタル信号プロセッサ(DSP)、特定用途向け集積回路(ASIC)、フィールドプログラマブルゲートアレイ(FPGA)、またはその他のプログラマブル論理デバイス、離散ゲート、またはトランジスタ論理回路、離散ハードウェアコンポーネント、あるいはこれらの任意の適切な組み合わせによって実現することができる。添付の図に記載した機能ブロックのうちの1つまたは複数および/または機能ブロックの1つまたは複数の組み合わせは、さらに、コンピュータデバイスの組み合わせ、例えば、DSPとマイクロプロセッサの組み合わせ、複数のマイクロプロセッサ、DSP通信と組みわせた1つまたは複数のマイクロプロセッサまたは任意のその他のこのような配置として実現することもできる。 One or more of the functional blocks and/or one or more combinations of functional blocks set forth in the accompanying figures may be general purpose processors, digital signal processors ( DSP), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic circuits, discrete hardware components, or any suitable combination thereof can do. One or more of the functional blocks and/or one or more combinations of functional blocks set forth in the accompanying figures may also be used in combination of computing devices, e.g., a DSP and microprocessor combination, multiple microprocessors, It can also be implemented as one or more microprocessors in combination with DSP communications or any other such arrangement.

以上、具体的な実施方式を組み合わせて本発明について説明したが、当業者であれば明らかであるように、これらの記載は例示性のものであり、本発明の保護範囲に対する限定ではない。当業者であれば、本発明の精神および原理に基づいて、本発明に対して各種変形および修正を行うことができ、これらの変形および修正も本発明の範囲内に入る。

Although the present invention has been described above in combination with specific implementation modes, it should be obvious to those skilled in the art that these descriptions are for illustrative purposes only and do not limit the protection scope of the present invention. Persons skilled in the art can make various variations and modifications to the present invention based on the spirit and principles of the invention, and these variations and modifications are also within the scope of the present invention.

Claims (17)

管理デバイスに応用するプログラマブルロジックコントローラの活性化方法であって、
前記プログラマブルロジックコントローラから前記プログラマブルロジックコントローラの識別子を読み出すとともに、前記プログラマブルロジックコントローラの識別子をサーバーデバイスに送信し、
前記識別子が不活性化状態である第1の場合に、前記サーバーデバイスが、前記識別子に対応する活性化コードを生成して、前記活性化コードを返信し、前記識別子を活性化状態として表記することと、
第1の場合に前記サーバーデバイスが返信した前記活性化コードを受信するとともに、前記活性化コードを前記プログラマブルロジックコントローラに送信して保存することと、
前記識別子が活性化状態であり、且つ前記識別子に対応する活性化コードが変更されている第2の場合、前記サーバーデバイスが、新しい活性化コードおよび変更要求ありの情報を返信し、
第2の場合に前記サーバーデバイスが返信した前記新しい活性化コードおよび前記変更要求ありの情報を受信し、前記新しい活性化コードを前記プログラマブルロジックコントローラに送信して、更新を行い、活性化コード変更済みの情報を前記サーバーデバイスに送信することと、
前記活性化コード変更済みの情報を受けた前記サーバーデバイスが、前記識別子に対応する活性化コードの変更要求を「変更要求なし」に修正することと
を含む方法。
A method for activating a programmable logic controller applied to a managed device, comprising:
reading the identifier of the programmable logic controller from the programmable logic controller and transmitting the identifier of the programmable logic controller to a server device ;
In a first case where the identifier is in an inactive state, the server device generates an activation code corresponding to the identifier, returns the activation code, and marks the identifier as an active state. and
receiving the activation code returned by the server device in the first case, and transmitting and storing the activation code to the programmable logic controller;
in a second case where the identifier is in an activated state and the activation code corresponding to the identifier has been changed, the server device returns a new activation code and information with a change request;
In the second case, receiving the new activation code returned by the server device and the information indicating that there is a change request, transmitting the new activation code to the programmable logic controller, performing an update, and changing the activation code sending the completed information to the server device;
the server device, which has received the information that the activation code has been changed, modifies the activation code change request corresponding to the identifier to "no change request" ;
method including.
前記識別子が活性化状態であり、且つ前記識別子に対応する活性化コードが変更されてない場合、前記サーバーデバイスが、前記識別子に対応する活性化コードおよび変更要求なしの情報を返信し、前記方法が、さらに、
前記サーバーデバイスが返信した前記活性化コードおよび変更要求なしの情報を受信して、前記プログラマブルロジックコントローラを検証することを含む請求項1に記載の方法。
if the identifier is in an activated state and the activation code corresponding to the identifier has not been changed, the server device returns an activation code corresponding to the identifier and information without a change request; but furthermore,
2. The method of claim 1, comprising receiving the activation code and no change request information returned by the server device to verify the programmable logic controller.
前記プログラマブルロジックコントローラを検証し、
前記プログラマブルロジックコントローラから前記プログラマブルロジックコントローラが保存した活性化コードを読み出すことと、
前記サーバーデバイスから受信した活性化コードと前記プログラマブルロジックコントローラから読み出した活性化コードを比較して、両者が一致する場合は、検証に合格するが、そうでなければ、検証に失敗することと、
を含む請求項2に記載の方法。
verifying the programmable logic controller;
reading an activation code stored by the programmable logic controller from the programmable logic controller;
comparing the activation code received from the server device and the activation code read from the programmable logic controller, and if the two match, pass the verification; otherwise, fail the verification;
3. The method of claim 2, comprising:
前記プログラマブルロジックコントローラを検証し、
前記サーバーデバイスから受信した活性化コードを前記プログラマブルロジックコントローラに送信し、前記プログラマブルロジックコントローラが、保存した活性化コードと受信した前記サーバーデバイスからの活性化コードを比較して、両者が一致する場合は、検証成功情報を返信するが、そうでなければ、検証失敗情報を返信することと、
前記プログラマブルロジックコントローラが返信した前記検証成功情報または前記検証失敗情報を受信して、前記検証成功情報を受信した場合は、検証に合格し、前記検証失敗情報を受信した場合は、検証に失敗することと、
を含む請求項2に記載の方法。
verifying the programmable logic controller;
When the activation code received from the server device is sent to the programmable logic controller, and the programmable logic controller compares the stored activation code with the activation code received from the server device, and the two match. returns verification success information, otherwise returns verification failure information;
The verification success information or the verification failure information returned by the programmable logic controller is received, and the verification is passed when the verification success information is received, and the verification is failed when the verification failure information is received. and
3. The method of claim 2, comprising:
前記新しい活性化コードを前記プログラマブルロジックコントローラに送信する前に、前記方法が、さらに、
前記プログラマブルロジックコントローラから前記プログラマブルロジックコントローラが保存した活性化コードを読み出し、前記活性化コードと前記新しい活性化コードが一致しない場合に、前記新しい活性化コードを前記プログラマブルロジックコントローラに送信して、更新を行うことを含む請求項1に記載の方法。
Before sending the new activation code to the programmable logic controller, the method further comprises:
reading the activation code stored by the programmable logic controller from the programmable logic controller, and if the activation code and the new activation code do not match, transmitting the new activation code to the programmable logic controller for updating; 2. The method of claim 1 , comprising:
サーバーデバイスに応用するプログラマブルロジックコントローラの活性化方法であって、
管理デバイスからプログラマブルロジックコントローラの識別子を受信することと、
前記プログラマブルロジックコントローラの製造データに基づいて、前記識別子の活性化状態を検査することと、
前記識別子が不活性化状態の時に、前記識別子に対応する活性化コードを生成して、前記管理デバイスに送信し、前記識別子を活性化状態として表記することと、
前記識別子が活性化状態の時に、前記識別子に対応する活性化コードを前記管理デバイスに送信することと、
前記識別子が活性化状態にある時、前記識別子に対応する活性化コードが更新されている場合に、新しい活性化コードおよび変更要求ありの情報を前記管理デバイスに送信することと、
を含む方法。
A method for activating a programmable logic controller applied to a server device, comprising:
receiving a programmable logic controller identifier from a management device;
checking the activation state of the identifier based on manufacturing data of the programmable logic controller;
generating an activation code corresponding to the identifier when the identifier is in an inactive state, transmitting it to the management device, and notating the identifier as an active state;
sending an activation code corresponding to the identifier to the management device when the identifier is in an activated state;
When the identifier is in an activated state, if the activation code corresponding to the identifier has been updated, sending a new activation code and change request information to the management device;
method including.
前記識別子が活性化状態にある時、前記識別子に対応する活性化コードが更新されていない場合に、前記活性化コードおよび変更要求なしの情報を前記管理デバイスに送信する請求項6に記載の方法。 7. The method of claim 6 , wherein when the identifier is in an activated state, sending the activation code and no change request information to the management device if the activation code corresponding to the identifier has not been updated. . 前記管理デバイスから活性化コード変更済みの情報を受信することと、
前記識別子に対応する活性化コードの変更要求を変更要求なしに修正することと、
をさらに含む請求項6に記載の方法。
receiving activation code changed information from the management device;
modifying a change request of an activation code corresponding to the identifier without a change request;
7. The method of claim 6 , further comprising:
プログラマブルロジックコントローラに応用するプログラマブルロジックコントローラの活性化方法であって、
管理デバイスから識別子読み出し要求を受信し、前記プログラマブルロジックコントローラの識別子を前記管理デバイスに送信することと、
前記管理デバイスから前記識別子に対応する活性化コードを受信して、前記活性化コードを保存することと、
前記識別子が活性化状態であり、且つ前記識別子に対応する活性化コードが変更されている場合、前記サーバーデバイスが返信し、且つ前記管理デバイスを経由した新しい活性化コードを受信して、更新を行うことと、

前記サーバーデバイスが、前記新しい活性化コードとともに変更要求ありの情報を返信し、前記変更要求ありの情報を受けた前記管理デバイスが、活性化コード変更済みの情報を前記サーバーデバイスに送信し、前記活性化コード変更済みの情報を受けた前記サーバーデバイスが、前記識別子に対応する活性化コードの変更要求を「変更要求なし」に修正することと
を含む方法。
A programmable logic controller activation method applied to a programmable logic controller, comprising:
receiving a read identifier request from a management device and sending the identifier of the programmable logic controller to the management device;
receiving an activation code corresponding to the identifier from the management device and storing the activation code;
if the identifier is in an activated state and the activation code corresponding to the identifier has been changed, the server device replies and receives a new activation code via the management device to perform an update; to do and

The server device returns information indicating that there is a change request together with the new activation code, and the management device that receives the information indicating that there is a change request transmits information indicating that the activation code has been changed to the server device, the server device, which has received the information that the activation code has been changed, modifies the activation code change request corresponding to the identifier to "no change request" ;
method including.
前記管理デバイスから活性化コード読み出し要求を受信することと、
保存した前記活性化コードを前記管理デバイスに送信し、前記管理デバイスが、前記活性化コードとサーバーデバイスから受信した活性化コードを比較して、両者が一致する場合は、検証成功とみなすが、そうでなければ、検証失敗とみなすことと、
をさらに含む請求項9に記載の方法。
receiving an activation code read request from the management device;
sending the stored activation code to the management device, and the management device compares the activation code with the activation code received from the server device, and if the two match, the verification is considered successful; otherwise, consider it a verification failure;
10. The method of claim 9 , further comprising:
前記管理デバイス1から前記識別子に対応する活性化コードを受信することと、
受信した前記活性化コードと保存した活性化コードを比較して、両者が一致する場合は、検証成功とみなし、検証成功情報を生成して、前記管理デバイスに送信するが、そうでなければ、検証失敗とみなし、検証失敗情報を生成して、前記管理デバイスに送信することと、
をさらに含む請求項9に記載の方法。
receiving an activation code corresponding to the identifier from the management device 1;
compare the received activation code with the stored activation code, and if they match, consider the verification successful, generate verification success information and send it to the management device; otherwise, Considering a verification failure, generating verification failure information and sending it to the managed device;
10. The method of claim 9 , further comprising:
管理デバイスに配置するプログラマブルロジックコントローラの活性化装置であって、
前記プログラマブルロジックコントローラから前記プログラマブルロジックコントローラの識別子を読み出す第1読み出しユニットと、
前記プログラマブルロジックコントローラの識別子をサーバーデバイスに送信し、前記識別子が不活性化状態である第1の場合に、前記サーバーデバイスが、前記識別子に対応する活性化コードを生成して、前記活性化コードを返信し、前記識別子を活性化状態として表記する第1送信ユニットと、
前記第1の場合に、前記サーバーデバイスが返信した前記活性化コードを受信する第1受信ユニットと、
を含み、
前記第1の場合に、前記第1送信ユニットが、前記活性化コードを前記プログラマブルロジックコントローラに送信して、保存する
前記識別子が活性化状態であり、且つ前記識別子に対応する活性化コードが変更されている第2の場合に、前記サーバーデバイスが、新しい活性化コードおよび変更要求ありの情報を返信し、
前記第1受信ユニットが、前記サーバーデバイスが返信した前記新しい活性化コードおよび前記変更要求ありの情報を受信し、
前記第1送信ユニットが、前記新しい活性化コードを前記プログラマブルロジックコントローラに送信して、更新を行い、
前記新しい活性化コードおよび前記変更要求ありの情報を受信した前記第1受信ユニットが、活性化コード変更済みの情報を前記サーバーデバイスに送信し、前記サーバーデバイスが、前記識別子に対応する活性化コードの変更要求を変更要求なしに修正する装置。
An activation device for a programmable logic controller located in a management device, comprising:
a first reading unit for reading an identifier of the programmable logic controller from the programmable logic controller;
transmitting an identifier of the programmable logic controller to a server device, wherein in a first case where the identifier is in a deactivated state, the server device generates an activation code corresponding to the identifier; and marking the identifier as active;
a first receiving unit for receiving the activation code returned by the server device in the first case ;
including
In the first case, the first transmission unit transmits the activation code to the programmable logic controller for storage.
in a second case where the identifier is in an activated state and the activation code corresponding to the identifier has been changed, the server device returns a new activation code and information with a change request;
the first receiving unit receives the new activation code and the change request information returned by the server device;
said first sending unit sending said new activation code to said programmable logic controller for updating;
The first receiving unit that has received the new activation code and the information with the change request sends information that the activation code has been changed to the server device, and the server device receives the activation code corresponding to the identifier. A device that modifies a change request without a change request .
前記識別子が活性化状態であり、且つ前記識別子に対応する活性化コードが変更されていない場合、前記サーバーデバイスが、前記識別子に対応する活性化コードおよび変更要求なしの情報を返信し、
前記第1受信ユニットが、前記サーバーデバイスが返信した前記活性化コードおよび変更要求なしの情報を受信し、前記装置が、さらに、
前記プログラマブルロジックコントローラを検証する検証ユニットを含む請求項12に記載の装置。
if the identifier is in an activated state and the activation code corresponding to the identifier has not been changed, the server device returns an activation code corresponding to the identifier and information without a change request;
The first receiving unit receives the activation code and no change request information returned by the server device, and the device further:
13. Apparatus according to claim 12 , comprising a verification unit for verifying said programmable logic controller.
前記検証ユニットが、
前記プログラマブルロジックコントローラから前記プログラマブルロジックコントローラが保存した活性化コードを読み出す第2読み出しユニットと、
前記サーバーデバイスから受信した活性化コードと前記プログラマブルロジックコントローラから読み出した活性化コードを比較して、両者が一致する場合は、検証に合格するが、そうでなければ、検証に失敗する比較ユニットと、
を含む請求項13に記載の装置。
The verification unit
a second reading unit for reading activation codes stored by the programmable logic controller from the programmable logic controller;
a comparison unit that compares the activation code received from the server device and the activation code read from the programmable logic controller and passes verification if they match, otherwise fails verification; ,
14. The apparatus of claim 13 , comprising:
前記検証ユニットが、
前記サーバーデバイスから受信した活性化コードを前記プログラマブルロジックコントローラに送信し、前記プログラマブルロジックコントローラが、保存した活性化コードと受信した前記サーバーデバイスからの活性化コードを比較して、両者が一致する場合は、検証成功情報を返信するが、そうでなければ、検証失敗情報を返信する第2送信ユニットと、
前記プログラマブルロジックコントローラが返信した前記検証成功情報または前記検証失敗情報を受信して、前記検証成功情報を受信した場合は、検証に合格するが、前記検証失敗情報を受信した場合は、検証に失敗する第2受信ユニットと、
を含む請求項13に記載の装置。
The verification unit
When the activation code received from the server device is sent to the programmable logic controller, and the programmable logic controller compares the stored activation code with the activation code received from the server device, and the two match. returns verification success information, otherwise returns verification failure information;
The verification success information or the verification failure information returned by the programmable logic controller is received, and the verification is passed when the verification success information is received, but the verification is failed when the verification failure information is received. a second receiving unit for
14. The apparatus of claim 13 , comprising:
前記識別子が活性化状態であり、且つ前記識別子に対応する活性化コードが変更されている場合に、前記サーバーデバイスが、新しい活性化コードおよび変更要求ありの情報を返信し、
前記第1受信ユニットが、前記サーバーデバイスが返信した前記新しい活性化コードおよび前記変更要求ありの情報を受信し、
前記第1送信ユニットが、前記新しい活性化コードを前記プログラマブルロジックコントローラに送信して、更新を行い、
前記第1受信ユニットが、活性化コード変更済みの情報を前記サーバーデバイスに送信し、前記サーバーデバイスが、前記識別子に対応する活性化コードの変更要求を変更要求なしに修正する請求項12に記載の装置。
If the identifier is in an activated state and the activation code corresponding to the identifier has been changed, the server device returns a new activation code and information with a change request;
the first receiving unit receives the new activation code and the change request information returned by the server device;
said first sending unit sending said new activation code to said programmable logic controller for updating;
13. The first receiving unit as claimed in claim 12 , wherein the first receiving unit sends the activation code modified information to the server device, and the server device modifies the activation code modification request corresponding to the identifier without modification request. equipment.
前記第1読み出しユニットが、前記第1送信ユニットが前記新しい活性化コードを前記プログラマブルロジックコントローラに送信する前に、前記プログラマブルロジックコントローラから前記プログラマブルロジックコントローラが保存した活性化コードを読み出し、前記第1送信ユニットが、前記活性化コードと前記新しい活性化コードが一致しない場合に、前記新しい活性化コードを前記プログラマブルロジックコントローラに送信して、更新を行う請求項16に記載の装置。 the first reading unit reading the activation code stored by the programmable logic controller from the programmable logic controller before the first sending unit transmits the new activation code to the programmable logic controller; 17. The apparatus of claim 16 , wherein a sending unit sends the new activation code to the programmable logic controller for updating if the activation code and the new activation code do not match.
JP2021506557A 2018-09-29 2019-09-10 Programmable logic controller activation method, device and system Active JP7156499B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201811147046.0 2018-09-29
CN201811147046.0A CN110968841B (en) 2018-09-29 2018-09-29 Activation method, device and system of programmable logic controller
PCT/CN2019/105144 WO2020063328A1 (en) 2018-09-29 2019-09-10 Activation method, apparatus and system for programmable logic controller

Publications (2)

Publication Number Publication Date
JP2021533503A JP2021533503A (en) 2021-12-02
JP7156499B2 true JP7156499B2 (en) 2022-10-19

Family

ID=69951172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021506557A Active JP7156499B2 (en) 2018-09-29 2019-09-10 Programmable logic controller activation method, device and system

Country Status (3)

Country Link
JP (1) JP7156499B2 (en)
CN (1) CN110968841B (en)
WO (1) WO2020063328A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204187B (en) * 2020-06-30 2023-05-09 欧姆龙(上海)有限公司 Control system and control method thereof
CN114268502B (en) * 2021-12-24 2023-11-03 北京深盾科技股份有限公司 Activation method of intelligent device, server and intelligent device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023876A (en) 2012-11-22 2013-04-03 中国科学院声学研究所 Network terminal, security certification and registration activation methods thereof and server

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100515134C (en) * 2006-07-10 2009-07-15 王磊 Mobile phone software encryption and verification method
US8032181B2 (en) * 2007-09-01 2011-10-04 Apple Inc. Service provider activation with subscriber identity module policy
CN101777105B (en) * 2010-01-25 2012-04-25 宏碁电脑(上海)有限公司 Computer booting anti-counterfeit authentication method based on BIOS
CN103577744A (en) * 2012-08-08 2014-02-12 上海赤炫信息科技有限公司 Network on-line activating mode for Android mobile internet equipment
JP5867635B2 (en) * 2014-03-13 2016-02-24 株式会社アクアビットスパイラルズ Tag management system, tag management method, information providing system, information providing method, and devices used therefor
US20160180103A1 (en) * 2014-12-18 2016-06-23 Electrolux Home Products, Inc. System, method, apparatus, and computer program product for activating a software functionality on an appliance
CN106094708B (en) * 2016-07-07 2018-12-21 揭阳市易捷五金机电有限公司 PLC remote on-line monitoring method, system, monitor terminal and remote server
CN106993203B (en) * 2017-03-08 2020-06-30 广州视源电子科技股份有限公司 Television activation method and system
CN107729761A (en) * 2017-10-30 2018-02-23 青岛海信电器股份有限公司 A kind of Activiation method of encryption device, encryption device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023876A (en) 2012-11-22 2013-04-03 中国科学院声学研究所 Network terminal, security certification and registration activation methods thereof and server

Also Published As

Publication number Publication date
CN110968841A (en) 2020-04-07
WO2020063328A1 (en) 2020-04-02
JP2021533503A (en) 2021-12-02
CN110968841B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
US20210266183A1 (en) Dynamic certificate management as part of a distributed authentication system
CN101116070B (en) System and method to lock TPM always 'on' using a monitor
CN111008379A (en) Firmware safety detection method of electronic equipment and related equipment
CN107077574A (en) Trust service for client device
CN109313690A (en) Self-contained encryption boot policy verifying
US20140095286A1 (en) Private Third Party Validation of Hardware Identification for Offer Enrollment
US8250630B2 (en) Detecting unauthorized computer access
JP2013519929A (en) Information processing apparatus, information processing system, software routine execution method, and remote authentication method
CN111538517B (en) Method and system for upgrading server firmware, electronic equipment and storage medium
JP7156499B2 (en) Programmable logic controller activation method, device and system
US20190026442A1 (en) Offline activation for application(s) installed on a computing device
KR20150113087A (en) Securing a computing device accessory
JP2023083473A (en) Management method, management apparatus, and, program
CN111131229A (en) Block chain-based industrial internet trusted control method, device and system
US10664263B2 (en) Software management system, software updater, software updating method, and non-transitory computer-readable storage medium storing software update program
US10255151B1 (en) Security testing using a computer add-in card
JP6385842B2 (en) Information processing terminal, information processing method, and information processing system
CN103077345B (en) Based on software authorization method and the system of virtual machine
TW201447903A (en) Repairing compromised system data in a non-volatile memory
US10877830B1 (en) Remote storage device destruction
US10289510B1 (en) Intelligent platform management interface functional fuzzer
US9177123B1 (en) Detecting illegitimate code generators
CN104537283A (en) Software licensing control device based on network
CN114500347B (en) Method and system for formalized verification of security interconnection protocol
CN106845164B (en) Network-based software authorization method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210205

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220623

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220906

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220919

R150 Certificate of patent or registration of utility model

Ref document number: 7156499

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150