Method, device and system for realizing remote control of equipment
By receiving and verifying the digital certificate sent by the certificate authority CA, it is ensured that only operators with legal authority can execute remote control instructions, which solves the problem of insufficient security of equipment remote control and improves the security of equipment remote control.
Patent Information
- Application Number
- CN202111325454.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-11-10
AI Technical Summary
Under mobile communication technologies such as 5G, due to the geographical differences between the operator and the equipment during remote control of equipment, it is difficult to ensure that only operators with legal authority can control the equipment, resulting in safety production risks.
By receiving the digital certificate sent by the certificate authority CA, it contains the authorized control instruction set, and sends the control instruction and digital certificate applied for execution to the device security module. After verifying the digital certificate, the instruction set is extracted. If they match, the control instruction is sent to equipment to ensure that only operators with legal authority can execute control instructions.
Through the verification and signature mechanism of digital certificates, the legitimacy of remote control instructions is ensured, the security of remote control of equipment is improved, and safety production risks are reduced.
Smart Images

Figure CN114124403B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of control, and in particular to a method, device and system for implementing remote control of equipment. Background Art
[0002] When remotely controlling equipment such as vehicles and robots based on mobile communication technologies such as 5G, since the operator and the equipment are in different regions, a security authentication mechanism must be added between the operator and the equipment to ensure that only operators with legal authority can operate the equipment, so as to avoid various production safety risks caused by unauthorized operations. Summary of the invention
[0003] A technical problem to be solved by the present disclosure is to provide a method, apparatus and system for implementing remote control of a device, which can improve the security of remote control of the device.
[0004] According to one aspect of the present disclosure, a method for realizing remote control of a device is proposed, comprising: receiving a digital certificate sent by a certificate authority CA, wherein the digital certificate includes an instruction set authorized to control the device; and sending the control instruction applied for execution and the digital certificate to a device security module, so that after the device security module verifies the digital certificate, it extracts the instruction set in the digital certificate, and if the control instruction matches the instruction set, the control instruction is sent to the device.
[0005] In some embodiments, the method for implementing remote control of a device further includes: signing the control instruction to obtain a signature value; and sending the control instruction, the signature value and the digital certificate to the device security module so that the device security module verifies the signature value and the digital certificate.
[0006] In some embodiments, the method for implementing remote control of a device further includes: sending application information including a public key and an instruction set to a CA, so that the CA generates a digital certificate after reviewing the application information.
[0007] In some embodiments, if the control instruction does not match the instruction set, the control instruction is discarded by the device security module.
[0008] In some embodiments, the set of instructions is located in an extension field of the digital certificate.
[0009] According to another aspect of the present disclosure, a device for realizing remote control of a device is also proposed, comprising: a receiving unit, configured to receive a digital certificate sent by a certificate issuing authority CA, wherein the digital certificate includes an instruction set authorized to control the device; and a sending unit, configured to send the control instruction and the digital certificate to a device security module, so that the device security module verifies the digital certificate and then extracts the instruction set in the digital certificate; if the control instruction matches the instruction set, the control instruction is sent to the device.
[0010] In some embodiments, the apparatus for implementing remote control of the device also includes: a signature unit, configured to sign the control instruction applied for execution to obtain a signature value, wherein the sending unit is also configured to send the control instruction, signature value and digital certificate to the device security module so that the device security module verifies the signature value and digital certificate.
[0011] In some embodiments, the sending unit is further configured to send application information including a public key and an instruction set to the CA, so that the CA generates a digital certificate after reviewing the application information.
[0012] According to another aspect of the present disclosure, an apparatus for implementing remote control of a device is also proposed, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the method for implementing remote control of a device as described above based on instructions stored in the memory.
[0013] According to another aspect of the present disclosure, a system for implementing remote control of a device is also proposed, comprising: the above-mentioned device for implementing remote control of a device; a certificate issuing authority CA, configured to generate a digital certificate after reviewing the instruction set sent by the device for implementing remote control of the device, and send the digital certificate to the device for implementing remote control of the device; and a device security module, configured to extract the instruction set in the digital certificate after verifying the digital certificate, and send the control instruction to the device if the control instruction matches the instruction set.
[0014] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is also provided, on which computer program instructions are stored, and when the instructions are executed by a processor, the above-mentioned method for realizing remote control of a device is implemented.
[0015] In the disclosed embodiment, a remote control instruction set for which the operator has authority is written into a digital certificate. After verifying the legitimacy of the digital certificate, the legitimacy of the remote control instructions can be ensured by comparing the extended field data in the digital certificate with the remote control instructions, thereby improving the security of remote control of the device.
[0016] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0018] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0019] Figure 1The present invention is a flowchart of some embodiments of the method for implementing remote control of a device disclosed herein.
[0020] Figure 2 The present invention is a flowchart of some other embodiments of the method for implementing remote control of a device disclosed herein.
[0021] Figure 3 It is a schematic diagram of the structure of some embodiments of the apparatus for realizing remote control of a device disclosed in the present invention.
[0022] Figure 4 It is a schematic diagram of the structure of other embodiments of the apparatus for realizing remote control of a device disclosed in the present invention.
[0023] Figure 5 It is a schematic diagram of the structure of other embodiments of the apparatus for realizing remote control of a device disclosed in the present invention.
[0024] Figure 6 It is a schematic diagram of the structure of some embodiments of the system for realizing remote control of a device disclosed in the present invention. DETAILED DESCRIPTION
[0025] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0026] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0027] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0028] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0029] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0030] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0031] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0032] Figure 1 The flowchart of some embodiments of the method for implementing remote control of a device disclosed in the present invention is shown in FIG. The embodiment is executed by a device for implementing remote control of a device, and the device for implementing remote control of a device is, for example, an operator SE (Security Element, security module).
[0033] In step 110, a digital certificate sent by a CA (Certification Authority) is received, wherein the digital certificate includes a set of instructions authorized to control the device.
[0034] In some embodiments, the operator security module sends application information including a public key and an instruction set to the CA, and the CA generates a digital certificate after reviewing the application information.
[0035] In some embodiments, the set of instructions is located in an extension field of the digital certificate.
[0036] In step 120, the control instruction and the digital certificate to be executed are sent to the device security module, so that the device security module verifies the digital certificate and extracts the instruction set in the digital certificate. If the control instruction matches the instruction set, the control instruction is sent to the device.
[0037] In some embodiments, the operator security module signs the control instruction to obtain a signature value, and sends the control instruction, signature value and digital certificate to the device security module, wherein the device security module is a security module with public / asymmetric cryptographic computing capabilities. After verifying the signature value and digital certificate, the device security module extracts the instruction set in the digital certificate. The signature value is information that uniquely identifies the identity of this operator and has legal effect.
[0038] In the above embodiment, the remote control instruction set that the operator has permission to use is written into the digital certificate. After verifying the legitimacy of the digital certificate, the legitimacy of the remote control instruction is ensured by comparing the extended field data in the digital certificate with the remote control instruction, thereby improving the security of remote control of the device.
[0039] Figure 2 The present invention is a flowchart of other embodiments of the method for implementing remote control of a device disclosed herein.
[0040] In step 210, the operator security module generates a public key and a private key internally.
[0041] The private key is stored in the operator security module, and the public key is open to the public. The public key is also called an asymmetric key. The encryption algorithm of the asymmetric key is, for example, RSA. Encryption with one key can only be decrypted with the other key.
[0042] In step 220, the operator security module sends an application message including a public key and an instruction set to the CA.
[0043] In some embodiments, the instruction set is an authorized executable instruction set.
[0044] CA is the trust foundation of PKI (Public Key Infrastructure). CA manages the entire life cycle of public keys. Its functions include issuing certificates, specifying the validity period of certificates, and ensuring that certificates can be revoked when necessary by publishing CRL (certificate revocation list).
[0045] In step 230, the CA reviews the application information and generates a digital certificate.
[0046] In some embodiments, the CA reviews the application information in a variety of ways, including offline. For example, the CA reviews the application on its system interface and conducts a review. If necessary, the CA contacts the applicant by email or phone for verification, or requires the enterprise to provide certification materials such as the enterprise seal.
[0047] When generating a digital certificate, for example, the name, public key, instruction set, and CA private key of the applicant are used to digitally sign the information and generate a digital certificate, wherein the instruction set is filled into the extension field of the digital certificate. Taking the digital certificate of the X509 specification as an example, the extension field of the digital certificate is a sequence set, which may contain multiple data sequence fields representing different meanings, such as key usage (the value may be only for digital signature or only for encryption, or both for signature and encryption, etc.), certificate policy, etc., wherein the user of the digital certificate may also add a custom field to the extension field of the digital certificate, that is, fill the instruction set into the extension field.
[0048] The CA sends the digital certificate to the operator security module at step 240. The operator security module stores the digital certificate.
[0049] In step 250, the operator safety module signs the control instruction to be sent and generates a signature value.
[0050] In some embodiments, the hash value of the control instruction is encrypted and calculated using the private key in the operator security module to obtain a signature value. When verifying the signature value, the signature value is decrypted using the public key, and the decrypted data is compared with the hash value of the control instruction to verify the validity of the signature value.
[0051] In step 260, the operator security module sends the control instruction, the signature value and the digital certificate to the device security module.
[0052] In some embodiments, the device security module is, for example, a security chip pre-installed in the device or an external security module connected to the device via USB or other connection methods, such as the U-shield commonly used in digital banks, and the device can call the security capabilities of the security module through an interface.
[0053] In step 270, the device security module verifies the signature value and the digital certificate, and after the verification is passed, extracts the instruction set in the digital certificate.
[0054] In some embodiments, the device security module first verifies whether the validity period of the digital certificate has expired, and then obtains the certificate revocation list from the CA center to verify whether the digital certificate has been revoked. For example, the device security module generally pre-sets the root certificate of the CA center, and the legitimacy of the digital certificate can be verified through the CA center public key in the root certificate. If the digital certificate is legitimate, the operator public key information in the digital certificate can be used to verify the digital signature.
[0055] In step 280 , the device security module determines whether the control instruction matches the instruction set, and if so, executes step 290 ; otherwise, executes step 2100 .
[0056] In step 290, the device security module sends the control instruction to the device.
[0057] In step 2100, the device security module discards the control instruction.
[0058] In the above embodiment, the remote control instruction set that the operator has authority to write into the digital certificate, and the digital signature technology is used to ensure the unforgeability and traceability of the remote control instructions. The legitimacy of the remote control instructions is ensured by comparing and verifying the legitimacy of the digital certificate and the extended field data in the digital certificate with the remote control instructions, thereby reducing production safety risks.
[0059] Figure 3 The schematic diagram of the structure of some embodiments of the apparatus for realizing remote control of equipment disclosed in the present invention is as follows. The apparatus is, for example, an operator safety module, and includes a receiving unit 310 and a sending unit 320 .
[0060] The receiving unit 310 is configured to receive a digital certificate sent by a CA, wherein the digital certificate includes an instruction set authorized to control the device.
[0061] In some embodiments, the set of instructions is located in an extension field of the digital certificate.
[0062] The sending unit 320 is configured to send the control instruction and the digital certificate to the device security module, so that the device security module verifies the digital certificate and extracts the instruction set in the digital certificate. If the control instruction matches the instruction set, the control instruction is sent to the device.
[0063] In some embodiments, the sending unit 320 is further configured to send application information including a public key and an instruction set to the CA, so that the CA generates a digital certificate after reviewing the application information.
[0064] In the above embodiment, the instruction set authorized to control the device is written into the digital certificate. After verifying the digital certificate, if the remote control instruction matches the instruction set, the control instruction is sent to the device, thereby improving the security of device control.
[0065] Figure 4 The schematic diagram of the structure of some other embodiments of the apparatus for realizing remote control of a device disclosed in the present invention further includes a signature unit 410 .
[0066] The signature unit 410 is configured to sign the control instruction applied for execution and obtain a signature value, wherein the sending unit 320 is further configured to send the control instruction, the signature value and the digital certificate to the device security module. After the device security module verifies the signature value and the digital certificate, it determines whether the control instruction matches the instruction set. If so, the control instruction is sent to the device, otherwise, the control instruction is discarded.
[0067] In the above embodiment, the digital signature technology is used to ensure the unforgeability and traceability of the remote control instructions. By verifying the legitimacy of the digital certificate and comparing the control instructions with the instruction set in the digital certificate, the legitimacy of the control instructions can be ensured, thereby improving the security of device control.
[0068] Figure 5 The schematic diagram of the structure of some other embodiments of the apparatus for realizing remote control of a device disclosed in the present invention. The apparatus 500 includes a memory 510 and a processor 520. The memory 510 may be a disk, a flash memory or any other non-volatile storage medium. The memory is used to store Figure 1 , 2 The processor 520 is coupled to the memory 510 and can be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller. The processor 520 is used to execute the instructions stored in the memory.
[0069] In some embodiments, the processor 520 is coupled to the memory 510 via a BUS 530. The device 500 can also be connected to an external storage system 550 via a storage interface 540 to call external data, and can also be connected to a network or another computer system (not shown) via a network interface 560. No further detailed description will be given here.
[0070] In this embodiment, the data instructions are stored in the memory and then processed by the processor, so that the security risk of device control can be reduced.
[0071] Figure 6 The schematic diagram of the structure of some embodiments of the system for implementing remote control of equipment disclosed in the present invention includes a device 610 for implementing remote control of equipment, a CA 620, and a device security module 630. The device 610 for implementing remote control of equipment in the figure takes an operator security module as an example, which has been described in detail in the above embodiments and will not be further described here.
[0072] The CA 620 is configured to generate a digital certificate after reviewing the instruction set sent by the device 610 for implementing remote control of the device, and send the digital certificate to the device 610 for implementing remote control of the device.
[0073] In some embodiments, CA 620 fills the instruction set into an extension field of the digital certificate.
[0074] The device security module 630 is configured to extract the instruction set in the digital certificate after verifying the digital certificate, and send the control instruction to the device if the control instruction matches the instruction set.
[0075] In some embodiments, after the device security module 630 is configured with a digital certificate and a signature value, it extracts the instruction set in the digital certificate. If the control instruction matches the instruction set, the control instruction is sent to the device. If the control instruction does not match the instruction set, the control instruction is discarded.
[0076] The system for implementing remote control of devices disclosed in the present invention can ensure the legitimacy of instructions for controlling devices and reduce the security risks of remote control of devices.
[0077] In some other embodiments, a computer readable storage medium stores computer program instructions, which when executed by a processor implement Figure 1 , 2 The steps of the method in the corresponding embodiment. Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, devices, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0078] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0079] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0080] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0081] So far, the present disclosure has been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.
[0082] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A method for implementing remote control of a device, comprising: Sending application information including a public key and a set of instructions authorized to control the device to a certificate authority CA, so that the CA generates a digital certificate after reviewing the application information, wherein the digital certificate includes the set of instructions authorized to control the device; Receiving a digital certificate sent by the CA; and The control instruction to be executed and the digital certificate are sent to the device security module, so that the device security module verifies the digital certificate and extracts the instruction set in the digital certificate. If the control instruction matches the instruction set, the control instruction is sent to the device.
2. The method for implementing remote control of a device according to claim 1, further comprising: Signing the control instruction to obtain a signature value; as well as The control instruction, the signature value and the digital certificate are sent to the device security module, so that the device security module verifies the signature value and the digital certificate.
3. The method for realizing remote control of a device according to claim 1 or 2, wherein: If the control instruction does not match the instruction set, the control instruction is discarded by the device security module.
4. The method for realizing remote control of a device according to claim 1 or 2, wherein: The instruction set is located in the extension field of the digital certificate.
5. A device for implementing remote control of a device, comprising: a sending unit, configured to send application information including a public key and an instruction set authorized to control a device to a certificate authority CA, so that the CA generates a digital certificate after reviewing the application information, wherein the digital certificate includes the instruction set authorized to control the device; A receiving unit is configured to receive a digital certificate sent by the CA, wherein: The sending unit is also configured to send the control instruction and the digital certificate to the device security module, so that after the device security module verifies the digital certificate, it extracts the instruction set in the digital certificate, and if the control instruction matches the instruction set, sends the control instruction to the device.
6. The device for implementing remote control of a device according to claim 5, further comprising: The signature unit is configured to sign the control instruction for application execution to obtain a signature value, wherein: The sending unit is further configured to send the control instruction, the signature value and the digital certificate to a device security module, so that the device security module verifies the signature value and the digital certificate.
7. A device for implementing remote control of a device, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the method for realizing remote control of a device according to any one of claims 1 to 4 based on instructions stored in the memory.
8. A system for implementing remote control of a device, comprising: The device for realizing remote control of equipment as claimed in any one of claims 5 to 7; A certificate authority CA is configured to generate a digital certificate after reviewing the instruction set sent by the device for implementing remote control of the device, and send the digital certificate to the device for implementing remote control of the device; as well as The device security module is configured to extract the instruction set in the digital certificate after verifying the digital certificate, and send the control instruction to the device if the control instruction matches the instruction set.
9. A non-transitory computer-readable storage medium having computer program instructions stored thereon, wherein the instructions, when executed by a processor, implement the method for realizing remote control of a device as claimed in any one of claims 1 to 4.
