WO2023273279A1 - Network authentication system and method for robot - Google Patents

Network authentication system and method for robot Download PDF

Info

Publication number
WO2023273279A1
WO2023273279A1 PCT/CN2021/143779 CN2021143779W WO2023273279A1 WO 2023273279 A1 WO2023273279 A1 WO 2023273279A1 CN 2021143779 W CN2021143779 W CN 2021143779W WO 2023273279 A1 WO2023273279 A1 WO 2023273279A1
Authority
WO
WIPO (PCT)
Prior art keywords
robot
vpn
pop
network
registration
Prior art date
Application number
PCT/CN2021/143779
Other languages
French (fr)
Chinese (zh)
Inventor
李冬
谢辉
张跃洋
Original Assignee
达闼机器人股份有限公司
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 达闼机器人股份有限公司 filed Critical 达闼机器人股份有限公司
Publication of WO2023273279A1 publication Critical patent/WO2023273279A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Definitions

  • the present disclosure relates to the technical field of robots, and in particular, to a robot network authentication system and method.
  • robots have been more and more widely used in various industries.
  • the capabilities of robots are becoming stronger and stronger, which in turn leads to the gradual strengthening of the destructiveness brought about by robots when they are illegally invaded.
  • the management and control process of the robot is set in a safe network environment, and such a safe network generally adopts a VPN (Virtual Private Network, virtual private network).
  • VPN Virtual Private Network, virtual private network
  • a robot can be authenticated on the VPN Controller and then access the VPN network.
  • this method still faces security risks and also increases the burden on the VPN Controller.
  • the purpose of the present disclosure is to provide a robot network authentication system and method to solve the above related technical problems.
  • a robot network authentication system including a plurality of VPN POPs (Point Of Presence, network service provider point), each of which can obtain the blockchain A blockchain account book in the network, which includes registration information of registered robots;
  • VPN POPs Point Of Presence, network service provider point
  • Any one of the VPN POPs is used to determine whether the target robot is registered based on the registration information in the block chain account book when receiving the network authentication request of the target robot, and to determine whether the target robot has registered. In this case, perform two-way authentication with the target robot.
  • the first authentication management terminal is a block chain node with robot registration authority, and is used to write the registration information in the registration request into the area when receiving the registration request of the robot.
  • the block chain ledger and send the start node information of the block chain network to the robot, wherein the registration information includes the block chain address and public key of the robot;
  • the robot is used for saving the starting node information, and accessing the block chain network based on the starting node information.
  • the second authentication management terminal, the second authentication management terminal is a block chain node with robot cancellation authority, used to determine the robot to be canceled according to the robot identification in the cancellation request when receiving the robot cancellation request, and Updating the registration status of the robot to be canceled in the blockchain ledger to the cancellation status.
  • the third authentication management terminal, the second authentication management terminal is a block chain node with VPN POP registration authority, and is used to write the registration information in the registration request to the registration request when receiving the VPN POP registration request.
  • the registration information includes the blockchain address and public key of the VPN POP.
  • the VPN POP has a robot registration authority, and any of the VPN POPs is also used to write the registration information in the registration request to the blockchain account book when receiving a registration request from a robot and sending the startup node information of the block chain network to the robot, wherein the registration information includes the block chain address and public key of the robot;
  • the robot is used for saving the starting node information, and accessing the block chain network based on the starting node information.
  • the VPN POP has a robot logout authority, and any one of the VPN POPs is also used to, when receiving a robot logout request, determine the robot to be logged out according to the robot identifier in the logout request, and send the The registration status of the robot to be canceled in the blockchain account book is updated to the cancellation status.
  • the VPN POP performs two-way authentication with the target robot in the following manner:
  • the first identity verification information is obtained by the target robot by encrypting the first random number with the private key of the target robot;
  • the second identity verification information is obtained by encrypting the second random number by the VPN POP through the private key of the VPN POP, and the second identity verification information is obtained by encrypting the second random number through the private key of the VPN POP
  • Two random numbers are generated by the target robot, and the second identity verification information is used for the target robot to authenticate the VPN POP.
  • any of the VPN POPs is also used to send authentication failure information to the target robot when the target robot fails to be authenticated;
  • the target robot is further configured to, after receiving the authentication failure information, send a network authentication request to another VPN POP among the plurality of VPN POPs.
  • a robot network authentication method is provided, which is applied to any VPN POP in the blockchain network, wherein the blockchain network includes multiple VPN POPs, and each of the The VPN POP can obtain the blockchain ledger in the blockchain network, the blockchain ledger includes the registration information of the registered robot, and the method includes:
  • the two-way authentication process includes:
  • the first identity verification information is obtained by the target robot by encrypting the first random number with the private key of the target robot;
  • the second identity verification information is obtained by encrypting the second random number by the VPN POP through the private key of the VPN POP, and the second identity verification information is obtained by encrypting the second random number through the private key of the VPN POP
  • Two random numbers are generated by the target robot, and the second identity verification information is used for the target robot to authenticate the VPN POP.
  • a robot network authentication method applied to a target robot comprising:
  • the blockchain network includes multiple VPN POPs, and each VPN POP can obtain the blockchain in the blockchain network account book, the blockchain account book includes the registration information of the registered robot, the network authentication request includes the registration verification information of the target robot, and the registration verification information is used by the VPN POP to determine whether the target robot has registering, and initiating a two-way authentication process with the target robot if the target robot is already registered;
  • the two-way authentication process includes:
  • the second identity verification information is generated by the VPN POP when the first identity verification information is successfully decrypted and verified based on the public key of the target robot,
  • the second identity verification information is obtained by encrypting a second random number through the private key of the VPN POP by the VPN POP, and the second random number is generated by the target robot;
  • a computer program including computer readable code, when the computer readable code is run on a computing processing device, the computing processing device is made to perform any of the above-mentioned second aspects. one of the methods described.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods described in the above-mentioned second aspect are implemented.
  • a computing processing device including:
  • a processor configured to execute the computer program in the memory, so as to implement the steps of any one of the methods in the second aspect above.
  • a computer program including computer readable code, which, when the computer readable code is run on a computing processing device, causes the computing processing device to execute any of the above third aspects. one of the methods described.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods described in the third aspect above are implemented.
  • a computing processing device including:
  • a processor configured to execute the computer program in the memory, so as to implement the steps of any one of the methods in the third aspect above.
  • the above technical solution sets up multiple VPN POPs in the blockchain network, so that any of the VPN POPs can perform network authentication on registered robots, thereby avoiding the performance problems faced by a single VPN Controller for robot network authentication. Bottleneck issues and security risks.
  • the plurality of VPN POPs can also synchronize robot information based on the blockchain system, without requiring the VPN Controller to maintain robot data. Therefore, the above technical solution can also reduce the cost and complexity of the VPN network, while improving the reliability of the VPN network.
  • Fig. 1 is a schematic diagram of a robot network authentication system shown in an exemplary embodiment of the present disclosure.
  • Fig. 2 is a schematic diagram of a robot network authentication system shown in an exemplary embodiment of the present disclosure.
  • Fig. 3 is a flow chart of a robot network authentication method shown in an exemplary embodiment of the present disclosure.
  • Fig. 4 is a flow chart of a robot network authentication method shown in an exemplary embodiment of the present disclosure.
  • Fig. 5 is a schematic structural diagram of a computing processing device shown in an exemplary embodiment of the present disclosure.
  • Fig. 6 is a schematic diagram of a program code storage unit for implementing the method of the present disclosure shown in an exemplary embodiment of the present disclosure.
  • Fig. 7 is a schematic structural diagram of a computing processing device shown in an exemplary embodiment of the present disclosure.
  • Fig. 8 is a schematic diagram of a program code storage unit for implementing the method of the present disclosure shown in an exemplary embodiment of the present disclosure.
  • the application scenarios of the present disclosure are firstly introduced, and the various embodiments provided in the present disclosure can be used, for example, in network authentication scenarios of robots.
  • the management and control process of the robot is set in a secure network environment, and such a secure network generally adopts a VPN.
  • a secure network generally adopts a VPN.
  • VPN account username/password
  • the robot needs to save the VPN account information locally, which poses a risk of leakage.
  • account information needs to be changed periodically.
  • the VPN Controller is a centralized component that manages, stores, and maintains the VPN account information of all robots. Once the VPN Controller is out of control, the robot may be faked. At the same time, when the VPN Controller stops serving due to related reasons (natural disasters, power outages, etc.), robots may not be able to access the network, which will affect service availability.
  • all robot authentication is performed on the VPN Controller, there may be a performance bottleneck in the VPN Controller when there are a large number of robots.
  • robot network authentication can be performed based on VPN POP and VPN Controller.
  • a digital certificate can be pre-installed on the robot, so that it can be authenticated to the VPN POP through the digital certificate.
  • the VPN Controller needs to manage, store and maintain all robot information, and synchronize this information among VPN POPs, which in turn leads to a higher complexity of the VPN network.
  • Fig. 1 is a schematic diagram of a robot network authentication system shown in the present disclosure.
  • the system includes a plurality of VPN POPs (indicated by 4 VPN POPs in Fig. 1).
  • each VPN POP can obtain a blockchain ledger in the blockchain network, and the blockchain ledger of the block includes registration information of registered robots.
  • the registration information may include, for example, the robot's blockchain address, public key, and so on.
  • a robot can generate a public key as well as a private key, and generate a blockchain address based on the public key. In this way, the robot can be registered based on the public key and blockchain address. After successful registration, the robot's public key and blockchain address are written into the blockchain ledger.
  • the robot's registration information may also include robot-related information, such as robot type, robot ID (Identity document, identity mark), etc., which is not limited in the present disclosure.
  • any VPN POP in the network authentication system of the robot is used for, when receiving the network authentication request of the target robot, based on the registration information in the blockchain ledger, to determine whether the target robot has register, and perform two-way authentication with the target robot under the condition that the target robot has been registered.
  • the target robot may send a network authentication request to any VPN POP, and the network authentication request may include, for example, the second blockchain address of the target robot and the second random number A.
  • the VPN POP that has received the network authentication request can query the second blockchain address in the blockchain ledger.
  • the VPN POP does not query the second blockchain address, it can be determined that the target robot is not registered, so that the authentication process can be terminated.
  • the VPN POP queries the second block chain address it can be determined that the target robot is registered, and then a two-way authentication process can be initiated.
  • the VPN POP can send the first random number B and the first blockchain address of the VPN POP to the target robot.
  • the target robot can receive the first random number B and the first blockchain address, and sign the first random number B based on the private key of the target robot, obtain the signature result SIGN(A), and send SIGN(A) to all Describe VPN POP.
  • the VPN POP can obtain the public key PK(A) of the target robot by querying the blockchain ledger based on the second blockchain address of the target robot, and decrypt SIGN(A) through the public key PK(A) verify.
  • the decryption fails and/or the decryption result is not the first random number B
  • the authentication fails and the authentication process is terminated.
  • the decryption is successful and the decryption result is the first random number B
  • the authentication is successful.
  • the VPN POP can sign the second random number A based on its own private key to obtain the SIGN (B), and send the SIGN (B) to the target robot, so that the target robot can perform a signature on the VPN POP. certified.
  • the target robot can obtain the public key PK(B) of the VPN POP by querying the blockchain ledger based on the first blockchain address, and decrypt SIGN(B) through the public key PK(B) verify.
  • the decryption is successful and the decryption result is the second random number A
  • the authentication is successful.
  • the decryption fails and/or the decryption result is not the second random number A the authentication fails.
  • the robot After the robot is registered, its registration information is written into the blockchain ledger.
  • network authentication can be performed based on registration information (blockchain address, public key, etc.), so that the robot does not need to maintain VPN account information locally, avoiding the risk of account leakage.
  • the registration information of the robot is managed, stored and maintained by the blockchain system, and the blockchain network is decentralized. At the same time, only the registration information of the robot is stored in the blockchain ledger, thus avoiding the loss of control due to a certain link. Phenomena that lead to bots being counterfeited.
  • any one of the VPN POPs can perform network authentication on registered robots, thereby avoiding the performance bottleneck faced by a single VPN Controller for robot network authentication question.
  • the registration information of robots can be saved by the blockchain system, and based on the blockchain system, it can be stored in each VPN POP. to synchronize between.
  • the complexity of the VPN network VPN Controller/VPN POP
  • the cost can be reduced
  • the reliability of the VPN network can also be improved.
  • the VPN POP has the robot registration authority.
  • any VPN POP in the robot network authentication system is also used to write the registration information in the registration request into the block chain account book when receiving the registration request of the robot and sending the startup node information of the block chain network to the robot, wherein the registration information includes the block chain address and public key of the robot.
  • the robot can generate a public key and a private key, and generate a blockchain address through the public key.
  • the robot can send a registration request including the blockchain address and public key to the VPN POP.
  • the robot can also entrust a third party to generate the public key, private key and blockchain address, which is not limited in this disclosure.
  • the VPN POP After the VPN POP receives the registration request, it can write the robot's blockchain address and public key into the blockchain account book by sending a transaction to the blockchain network, thereby completing the registration. In this way, the registration process of the robot can be managed based on VPN POP.
  • the registration information of the robot may also include the type, serial number, etc. of the robot.
  • the VPN POP After the VPN POP receives the registration request, it can also verify the relevant information of the robot, which is not limited in this disclosure.
  • VPN POP can also send the startup node information of the blockchain network to the robot.
  • the robot can be used to save the starting node information, and access to the blockchain network based on the starting node information.
  • the robot can connect to the VPN POP through the wireless network, and according to the recorded start node information, through the blockchain connection protocol, use the light node protocol or RPC (Remote Procedure Call, remote procedure call) to connect to the block chain network.
  • the wireless network may be, for example, WiFi (Wireless Fidelity, wireless fidelity), 4G, 5G, and the like.
  • the robot can send a network authentication request to any VPN POP in the block chain network, and then perform network authentication.
  • the VPN POP has the robot logout authority.
  • any VPN POP in the robot network authentication system is also used to, when receiving a robot logout request, determine the robot to be logged out according to the robot identifier in the logout request, and send the zone The registration status of the robot to be canceled in the block chain account book is updated to the cancellation status.
  • the robot logout request can be sent by the relevant robot management terminal or sent by the robot.
  • the robot identifier in the robot logout request may be, for example, an identifier that can distinguish robots such as a robot number, which is not limited in the present disclosure.
  • the VPN POP when the VPN POP receives the robot logout request, it can determine the robot to be logged out according to the robot identifier in the logout request.
  • the VPN POP can also update the registration status of the robot to be canceled in the blockchain account book to the cancellation status by sending a transaction to the block network. Since the registration status is updated to the deregistration status, the robot to be deregistered can no longer pass the network authentication of the VPN POP. In this way, registered robots can be managed based on VPN POP.
  • robot information and VPN POP information recorded in the blockchain ledger are important data for network access authentication. Therefore, in some implementation scenarios, it is also possible to set relevant authority control policies for the process of adding and modifying robots and VPN POPs.
  • authority control may be performed based on a permission chain.
  • permission chain it is possible to restrict whether different blockchain accounts have the permission to write and modify certain data.
  • data write permissions and data modification permissions can be configured for blockchain accounts in OSS (Business Support System, business support system) and/or BSS (Operation Support System, operation support system), and for robots, VPN POP and The blockchain account involved in the VPN Controller sets the data read permission.
  • robots and VPN POP-related data can also be managed based on the formulated smart contract.
  • corresponding smart contracts can be written to store information through smart contracts.
  • the smart contract can provide interfaces such as registration, modification, cancellation, and query. Among them, assign the calling authority of the registration, modification, cancellation, query and other interfaces to the blockchain account corresponding to the OSS/BSS, and set the blockchain account corresponding to the robot and VPN POP to have the calling authority of the query interface.
  • the system may further include a first authentication management terminal.
  • the first authentication management terminal is a blockchain node with robot registration authority, which can correspond to the relevant account of OSS/BSS.
  • the first authentication management terminal is used to, when receiving the registration request of the robot, write the registration information in the registration request into the blockchain account book; and the startup node of the blockchain network Information is sent to the robot, wherein the registration information includes the robot's blockchain address and public key;
  • the robot is used for saving the starting node information, and accessing the block chain network based on the starting node information.
  • the robot can generate a public key and a private key, and generate a blockchain address through the public key. In this way, the robot can send a registration request including the blockchain address and public key to the first authentication management terminal.
  • the first authentication management terminal After receiving the registration request, the first authentication management terminal can write the robot's blockchain address and public key into the blockchain ledger by sending a transaction to the blockchain network, thereby Complete the registration.
  • the robot's registration information may also include the robot's type, serial number, and so on.
  • the first authentication management terminal may also verify the relevant information of the robot, which is not limited in the present disclosure.
  • the first authentication management terminal can also send the startup node information of the blockchain network to the robot.
  • the robot can be used to save the starting node information, and access to the blockchain network based on the starting node information.
  • the robot can connect to the VPN POP through the wireless network, and according to the recorded startup node information, connect to the blockchain network through the blockchain connection protocol, using the light node protocol or RPC.
  • the robot can send a network authentication request to any VPN POP in the block chain network, and then perform network authentication.
  • the first authentication management terminal may also correspond to relevant management accounts, and these management accounts may not correspond to OSS/BSS.
  • the registration process of the robot can be managed by setting the first authentication management terminal, and at the same time, the writing authority of the robot information can be controlled.
  • the system may further include a second authentication management terminal.
  • the second authentication management terminal is a block chain node with robot logout authority, which may correspond to the relevant account of OSS/BSS.
  • the second authentication management terminal is used to, when receiving a robot logout request, determine the robot to be logged out according to the robot identification in the logout request, and store the The registered status is updated to the unregistered status.
  • the robot logout request may be sent by the relevant robot management terminal or sent by the robot.
  • the robot logout request may also be automatically generated by the second authentication management terminal based on preset rules. For example, when a robot is registered, a corresponding valid time interval can be set for each robot, and a robot logout request is automatically generated after the valid time interval is exceeded.
  • the robot identifier in the robot logout request may be, for example, an identifier that can distinguish robots such as a robot number, which is not limited in the present disclosure.
  • the second authentication management terminal when it receives the robot logout request, it can determine the robot to be logged out according to the robot identifier in the logout request.
  • the second authentication management terminal can also update the registration status of the robot to be canceled in the blockchain account book to the cancellation status by sending a transaction to the blockchain network. Since the registration status is updated to the deregistration status, the robot to be deregistered can no longer pass the network authentication of the VPN POP.
  • the registered robot can be managed based on the second authentication management terminal, and at the same time, the logout authority of the robot information is also controlled.
  • the system also includes a third authentication management terminal, the second authentication management terminal is a block chain node with VPN POP registration authority, which can correspond to the relevant account of OSS/BSS .
  • the third authentication management terminal is used to write the registration information in the registration request into the block chain account book when receiving the registration request of the VPN POP, and the registration information includes the registration information of the VPN POP Blockchain address and public key.
  • VPN POP can generate public key and private key, and generate a blockchain address through the public key. In this way, the VPN POP can send a registration request including the blockchain address and public key to the third authentication management terminal.
  • the third authentication management terminal After the third authentication management terminal receives the registration request, it can write the blockchain address and public key of the VPN POP into the blockchain account book by sending a transaction to the blockchain network, This completes the registration.
  • the registration process of the VPN POP can be managed by setting the third authentication management terminal, and the writing authority of the VPN POP information is also controlled.
  • the embodiments described in the specification belong to preferred embodiments, and the parts involved are not necessarily essential to the present invention.
  • the first authentication management terminal, the second authentication management terminal and the third authentication management terminal may be independent system components or the same system component during specific implementation.
  • the first authentication management terminal, the second authentication management terminal, and the third authentication management terminal may also correspond to relevant blockchain management accounts, and these blockchain management accounts may not correspond to OSS/BSS. This is not limited.
  • any VPN POP in the robot network authentication system is also used to send authentication failure information to the target robot when the target robot fails to be authenticated;
  • the target robot is further configured to, after receiving the authentication failure information, send a network authentication request to another VPN POP among the plurality of VPN POPs.
  • the robot can also resend the network authentication request to any one of VPN POP 1-3.
  • the problem of robots being unable to access the VPN network due to the outage of a certain VPN POP can be reduced, and the availability of the system is improved.
  • the present disclosure also provides a robot network authentication method, which is applied to any VPN POP in the blockchain network.
  • the blockchain network includes a plurality of VPN POPs, and each VPN POP can obtain a blockchain account book in the blockchain network, and the blockchain account book includes registration information of registered robots .
  • the registration information may include, for example, the robot's blockchain address, public key, and so on.
  • a robot can generate a public key as well as a private key, and generate a blockchain address based on the public key. In this way, the robot can be registered based on the public key and blockchain address. After successful registration, the robot's public key and blockchain address are written into the blockchain ledger.
  • the registration information of the robot may also include related information of the robot, such as the type of the robot, the ID of the robot, etc., which is not limited in the present disclosure.
  • Fig. 3 is a flow chart of a robot network authentication method shown in the present disclosure, the method comprising:
  • the target robot may send a network authentication request to any VPN POP, and the network authentication request may include registration verification information of the target robot, for example.
  • the registration verification information may be, for example, the second blockchain address of the target robot.
  • the VPN POP that has received the network authentication request can query the second blockchain address in the blockchain ledger. In the case that the VPN POP does not query the second blockchain address, it can be determined that the target robot is not registered, so that the authentication process can be terminated.
  • the VPN POP inquires the address of the second block chain, it can be determined that the target robot is registered, and then in S33, when the target robot is registered, initiate a communication with the target robot Two-way authentication process between.
  • the two-way authentication process includes:
  • the VPN POP sends the first random number B and the first blockchain address of the VPN POP to the target robot.
  • the target robot can receive the first random number B and the first blockchain address, and sign the first random number B based on the private key of the target robot, obtain the signature result SIGN(A), and send SIGN(A) to all Describe VPN POP.
  • the VPN POP may receive the first identity verification information sent by the target robot, namely the signature result SIGN(A).
  • the VPN POP may also decrypt and verify the first identity verification information based on the target robot's public key.
  • the VPN POP can obtain the public key PK(A) of the target robot by querying the blockchain ledger based on the second blockchain address, and decrypt the SIGN(A) through the public key PK(A) verify.
  • the decryption fails and/or the decryption result is not the first random number B
  • the authentication fails and the authentication process is terminated.
  • the decryption verification is successful.
  • the VPN POP sends second identity verification information to the target robot.
  • the second identity verification information can be SIGN(B), and SIGN(B) is obtained by encrypting the second random number A by the VPN POP through the private key of the VPN POP, and the second random number A Generated by the target robot, the second identity verification information is used by the target robot to authenticate the VPN POP.
  • the target robot can obtain the public key PK(B) of the VPN POP by querying the blockchain ledger based on the first blockchain address, and decrypt SIGN(B) through the public key PK(B) verify.
  • the decryption is successful and the decryption result is the second random number A
  • the authentication is successful.
  • the decryption fails and/or the decryption result is not the second random number A the authentication fails.
  • the robot After the robot is registered, its registration information is written into the blockchain ledger.
  • network authentication can be performed based on registration information (blockchain address, public key, etc.), so that the robot does not need to maintain VPN account information locally, avoiding the risk of account leakage.
  • the registration information of the robot is managed, stored and maintained by the blockchain system, and the blockchain network is decentralized. At the same time, only the registration information of the robot is stored in the blockchain ledger, thus avoiding the loss of control due to a certain link. Phenomena that lead to bots being counterfeited.
  • any one of the VPN POPs can perform network authentication on registered robots, thereby avoiding the performance bottleneck faced by a single VPN Controller for robot network authentication question.
  • the registration information of robots can be saved by the blockchain system, and based on the blockchain system, it can be stored in each VPN POP. to synchronize between.
  • the complexity of the VPN network VPN Controller/VPN POP
  • the cost can be reduced
  • the reliability of the VPN network can also be improved.
  • the present disclosure also provides a robot network authentication method, which is applied to a target robot, and the target robot may be, for example, the robot described in any of the foregoing embodiments.
  • the method includes:
  • the blockchain network includes a plurality of VPN POPs, and each VPN POP can obtain a blockchain account book in the blockchain network, and the blockchain account book includes registration information of registered robots .
  • the network authentication request includes registration verification information of the target robot, and the registration verification information is used by the VPN POP to determine whether the target robot is registered.
  • the registration verification information may be, for example, the second blockchain address of the target robot.
  • the VPN POP that has received the network authentication request can query the second blockchain address in the blockchain ledger. In the case that the VPN POP does not query the second blockchain address, it can be determined that the target robot is not registered, so that the authentication process can be terminated. When the VPN POP finds the address of the second blockchain, it can be determined that the target robot has been registered, and then a two-way authentication process with the target robot can be initiated.
  • the robot After the robot is registered, its registration information is written into the blockchain ledger.
  • network authentication can be performed based on registration information (blockchain address, public key, etc.), so that the robot does not need to maintain VPN account information locally, avoiding the risk of account leakage.
  • the registration information of the robot is managed, stored and maintained by the blockchain system, and the blockchain network is decentralized. At the same time, only the registration information of the robot is stored in the blockchain ledger, thus avoiding the loss of control due to a certain link. Phenomena that lead to bots being counterfeited.
  • any one of the VPN POPs can perform network authentication on registered robots, thereby avoiding the performance bottleneck faced by a single VPN Controller for robot network authentication question.
  • the registration information of robots can be saved by the blockchain system, and based on the blockchain system, it can be stored in each VPN POP. to synchronize between.
  • the complexity of the VPN network VPN Controller/VPN POP
  • the cost can be reduced
  • the reliability of the VPN network can also be improved.
  • the present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the robot network authentication method applied to VPN POP provided by the present disclosure are implemented.
  • a computer program product comprising a computer program executable by a programmable device, the computer program having a function for performing the above-mentioned Part of the code for the Android authentication method applied to VPN POP.
  • the present disclosure also provides a computing processing device, including:
  • One or more processors when the computer-readable code is executed by the one or more processors, the computing processing device executes the steps of the robot network authentication method applied to VPN POP provided by the present disclosure.
  • FIG. 5 is a schematic structural diagram of a computing processing device provided by the present disclosure.
  • the computing processing device may include a processor 510 and a computer program product or computer readable medium in the form of memory 530 .
  • Memory 530 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the memory 530 may include a storage space 550, which may include program codes for performing any method steps in the methods described above.
  • the storage space 550 may include various program codes 551 for respectively implementing various steps in the above robot network authentication method applied to the VPN POP. These program codes can be read from or written into one or more computer program products.
  • These computer program products comprise program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as shown in FIG. 6 .
  • the storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 530 in the computing processing device of FIG. 5 .
  • the program code can, for example, be compressed in a suitable form.
  • the memory unit may include computer readable code 551', i.e. code readable by a processor such as 510, which when executed by the server causes the server to execute the robot described above for VPN POP Steps in a network authentication method.
  • the present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the robot network authentication method applied to robots provided in the present disclosure are implemented.
  • a computer program product comprising a computer program executable by a programmable device, the computer program having a function for performing the above-mentioned The code section of the bot network authentication method applied to the bot.
  • the present disclosure also provides a computing processing device, including:
  • One or more processors when the computer readable code is executed by the one or more processors, the computing processing device executes the steps of the robot network authentication method applied to robots provided by the present disclosure.
  • FIG. 7 is a schematic structural diagram of a computing processing device provided by the present disclosure.
  • the computing processing device may include a processor 710 and a computer program product or computer readable medium in the form of memory 730 .
  • Memory 730 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the memory 730 may include a storage space 750, and the storage space 750 may include program codes for performing any method steps in the methods described above.
  • the storage space 750 may include various program codes 751 for respectively implementing various steps in the above robot network authentication method applied to a robot. These program codes can be read from or written into one or more computer program products.
  • These computer program products comprise program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as shown in FIG. 8 .
  • the storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 730 in the computing processing device of FIG. 7 .
  • the program code can, for example, be compressed in a suitable form.
  • the memory unit may include computer readable code 751', i.e. code readable by a processor such as 710, which when executed by the server causes the server to execute the robot network for robots described above. The individual steps in the authentication method.

Abstract

The present disclosure relates to a network authentication system and method for a robot. The system comprises a plurality of virtual private network points of presence (VPN POP), wherein each VPN POP can acquire a blockchain ledger in a blockchain network, the blockchain ledger comprising registration information of registered robots; and any VPN POP is used for determining, when a network authentication request of a target robot is received and on the basis of the registration information in the blockchain ledger, whether the target robot has been registered, and the VPN POP is also used for performing two-way authentication with the target robot when the target robot has been registered. The plurality of VPN POP in the system can synchronize robot information on the basis of a blockchain system without the need for a VPN controller to synchronize the robot information. Therefore, by means of the technical solution, the cost and complexity of a VPN can be reduced, and the reliability of the VPN is also improved.

Description

机器人网络认证系统及方法Robot network authentication system and method
相关申请的交叉引用Cross References to Related Applications
本公开要求在2021年06月29日提交中国专利局、申请号为202110729431.1、名称为“机器人网络认证系统及方法”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application with application number 202110729431.1 and titled "Robot Network Authentication System and Method" filed with the China Patent Office on June 29, 2021, the entire contents of which are incorporated by reference in this disclosure.
技术领域technical field
本公开涉及机器人技术领域,具体地,涉及一种机器人网络认证系统及方法。The present disclosure relates to the technical field of robots, and in particular, to a robot network authentication system and method.
背景技术Background technique
当前,机器人已经越来越广泛地应用于各行各业。并且,随着人工智能技术的发展,机器人的能力也越来越强,进而导致机器人被非法入侵时所带来的破坏性也逐渐变强。At present, robots have been more and more widely used in various industries. Moreover, with the development of artificial intelligence technology, the capabilities of robots are becoming stronger and stronger, which in turn leads to the gradual strengthening of the destructiveness brought about by robots when they are illegally invaded.
为了提升机器人的安全性,相关技术中将机器人的管理控制流程设置在安全的网络环境中进行,这种安全网络一般采用VPN(Virtual Private Network,虚拟专用网络)。例如,机器人可以在VPN Controller进行认证,进而接入VPN网络。然而,这样的方式仍面临着安全风险,同时也增加了VPN Controller的负担。In order to improve the safety of the robot, in related technologies, the management and control process of the robot is set in a safe network environment, and such a safe network generally adopts a VPN (Virtual Private Network, virtual private network). For example, a robot can be authenticated on the VPN Controller and then access the VPN network. However, this method still faces security risks and also increases the burden on the VPN Controller.
发明内容Contents of the invention
本公开的目的是提供一种机器人网络认证系统及方法,以解决上述相关技术问题。The purpose of the present disclosure is to provide a robot network authentication system and method to solve the above related technical problems.
为了实现上述目的,根据本公开实施例的第一方面,提供一种机器人网络认证系统,包括多个VPN POP(Point Of Presence,网络服务提供点),每个所述VPN POP能够获取区块链网络中的区块链账本,所述区块链账本中包括已注册的机器人的注册信息;In order to achieve the above object, according to the first aspect of the disclosed embodiments, a robot network authentication system is provided, including a plurality of VPN POPs (Point Of Presence, network service provider point), each of which can obtain the blockchain A blockchain account book in the network, which includes registration information of registered robots;
任一所述VPN POP用于,在接收到目标机器人的网络认证请求时,基于所述区块链账本中的注册信息,确定所述目标机器人是否已注册,并在所述目标机器人已注册的情况下,与所述目标机器人进行双向认证。Any one of the VPN POPs is used to determine whether the target robot is registered based on the registration information in the block chain account book when receiving the network authentication request of the target robot, and to determine whether the target robot has registered. In this case, perform two-way authentication with the target robot.
可选地,还包括:Optionally, also include:
第一认证管理端,所述第一认证管理端为具备机器人注册权限的区块链节点,用于在接收到机器人的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中;并将所述区块链网络的启动节点信息发送至所述机器人,其中,所述注册信息包括所述 机器人的区块链地址以及公钥;The first authentication management terminal, the first authentication management terminal is a block chain node with robot registration authority, and is used to write the registration information in the registration request into the area when receiving the registration request of the robot. In the block chain ledger; and send the start node information of the block chain network to the robot, wherein the registration information includes the block chain address and public key of the robot;
所述机器人用于,保存所述启动节点信息,并基于所述启动节点信息接入至所述区块链网络。The robot is used for saving the starting node information, and accessing the block chain network based on the starting node information.
可选地,还包括:Optionally, also include:
第二认证管理端,所述第二认证管理端为具备机器人注销权限的区块链节点,用于在接收到机器人注销请求时,根据所述注销请求中的机器人标识确定待注销的机器人,并将所述区块链账本中的所述待注销的机器人的注册状态更新为注销状态。The second authentication management terminal, the second authentication management terminal is a block chain node with robot cancellation authority, used to determine the robot to be canceled according to the robot identification in the cancellation request when receiving the robot cancellation request, and Updating the registration status of the robot to be canceled in the blockchain ledger to the cancellation status.
可选地,还包括:Optionally, also include:
第三认证管理端,所述第二认证管理端为具备VPN POP注册权限的区块链节点,用于在接收到VPN POP的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中,所述注册信息包括所述VPN POP的区块链地址和公钥。The third authentication management terminal, the second authentication management terminal is a block chain node with VPN POP registration authority, and is used to write the registration information in the registration request to the registration request when receiving the VPN POP registration request. In the blockchain ledger, the registration information includes the blockchain address and public key of the VPN POP.
可选地,所述VPN POP具备机器人注册权限,任一所述VPN POP还用于,在接收到机器人的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中;并将所述区块链网络的启动节点信息发送至所述机器人,其中,所述注册信息包括所述机器人的区块链地址以及公钥;Optionally, the VPN POP has a robot registration authority, and any of the VPN POPs is also used to write the registration information in the registration request to the blockchain account book when receiving a registration request from a robot and sending the startup node information of the block chain network to the robot, wherein the registration information includes the block chain address and public key of the robot;
所述机器人用于,保存所述启动节点信息,并基于所述启动节点信息接入至所述区块链网络。The robot is used for saving the starting node information, and accessing the block chain network based on the starting node information.
可选地,所述VPN POP具备机器人注销权限,任一所述VPN POP还用于,在接收到机器人注销请求时,根据所述注销请求中的机器人标识确定待注销的机器人,并将所述区块链账本中的所述待注销的机器人的注册状态更新为注销状态。Optionally, the VPN POP has a robot logout authority, and any one of the VPN POPs is also used to, when receiving a robot logout request, determine the robot to be logged out according to the robot identifier in the logout request, and send the The registration status of the robot to be canceled in the blockchain account book is updated to the cancellation status.
可选地,所述VPN POP通过如下方式与所述目标机器人进行双向认证:Optionally, the VPN POP performs two-way authentication with the target robot in the following manner:
向所述目标机器人发送第一随机数以及所述VPN POP的第一区块链地址;Send the first random number and the first blockchain address of the VPN POP to the target robot;
接收所述目标机器人发送的第一身份验证信息,所述第一身份验证信息由所述目标机器人通过该目标机器人的私钥对所述第一随机数加密得到;receiving the first identity verification information sent by the target robot, the first identity verification information is obtained by the target robot by encrypting the first random number with the private key of the target robot;
基于所述目标机器人的公钥对所述第一身份验证信息进行解密验证;并,Decrypting and verifying the first identity verification information based on the public key of the target robot; and,
在解密验证成功的情况下,向所述目标机器人发送第二身份验证信息,所述第二身份验证信息由所述VPN POP通过该VPN POP的私钥对第二随机数加密得到,所述第二随机数由所述目标机器人生成,所述第二身份验证信息用于所述目标机器人对所述VPN POP进行认证。In the case that the decryption verification is successful, send the second identity verification information to the target robot, the second identity verification information is obtained by encrypting the second random number by the VPN POP through the private key of the VPN POP, and the second identity verification information is obtained by encrypting the second random number through the private key of the VPN POP Two random numbers are generated by the target robot, and the second identity verification information is used for the target robot to authenticate the VPN POP.
可选地,任一所述VPN POP还用于,在对所述目标机器人认证失败时,向所述目标机器人发送认证失败信息;Optionally, any of the VPN POPs is also used to send authentication failure information to the target robot when the target robot fails to be authenticated;
所述目标机器人还用于,在接收到所述认证失败信息之后,向所述多个VPN POP中的另一VPN POP发送网络认证请求。The target robot is further configured to, after receiving the authentication failure information, send a network authentication request to another VPN POP among the plurality of VPN POPs.
根据本公开实施例的第二方面,提供一种机器人网络认证方法,应用于区块链网络中的任一VPN POP,其中,所述区块链网络中包括多个VPN POP,每个所述VPN POP能够获取所述区块链网络中的区块链账本,所述区块链账本中包括已注册机器人的注册信息,所述方法包括:According to the second aspect of the embodiments of the present disclosure, a robot network authentication method is provided, which is applied to any VPN POP in the blockchain network, wherein the blockchain network includes multiple VPN POPs, and each of the The VPN POP can obtain the blockchain ledger in the blockchain network, the blockchain ledger includes the registration information of the registered robot, and the method includes:
接收目标机器人的网络认证请求,所述网络认证请求包括注册验证信息;Receive a network authentication request from the target robot, where the network authentication request includes registration verification information;
根据所述注册验证信息以及所述区块链账本中的注册信息确定所述目标机器人是否已注册;determining whether the target robot has been registered according to the registration verification information and the registration information in the blockchain ledger;
在所述目标机器人已注册的情况下,发起与所述目标机器人之间的双向认证流程。In the case that the target robot has been registered, initiate a two-way authentication process with the target robot.
可选地,所述双向认证流程,包括:Optionally, the two-way authentication process includes:
向所述目标机器人发送第一随机数以及所述VPN POP的第一区块链地址;Send the first random number and the first blockchain address of the VPN POP to the target robot;
接收所述目标机器人发送的第一身份验证信息,所述第一身份验证信息由所述目标机器人通过该目标机器人的私钥对所述第一随机数加密得到;receiving the first identity verification information sent by the target robot, the first identity verification information is obtained by the target robot by encrypting the first random number with the private key of the target robot;
基于所述目标机器人的公钥对所述第一身份验证信息进行解密验证;并,Decrypting and verifying the first identity verification information based on the public key of the target robot; and,
在解密验证成功的情况下,向所述目标机器人发送第二身份验证信息,所述第二身份验证信息由所述VPN POP通过该VPN POP的私钥对第二随机数加密得到,所述第二随机数由所述目标机器人生成,所述第二身份验证信息用于所述目标机器人对所述VPN POP进行认证。In the case that the decryption verification is successful, send the second identity verification information to the target robot, the second identity verification information is obtained by encrypting the second random number by the VPN POP through the private key of the VPN POP, and the second identity verification information is obtained by encrypting the second random number through the private key of the VPN POP Two random numbers are generated by the target robot, and the second identity verification information is used for the target robot to authenticate the VPN POP.
根据本公开实施例的第三方面,提供一种机器人网络认证方法,应用于目标机器人,所述方法包括:According to a third aspect of the embodiments of the present disclosure, there is provided a robot network authentication method applied to a target robot, the method comprising:
向区块链网络中的任一VPN POP发送网络认证请求;其中,所述区块链网络中包括多个VPN POP,每个所述VPN POP能够获取所述区块链网络中的区块链账本,所述区块链账本中包括已注册机器人的注册信息,所述网络认证请求包括所述目标机器人的注册验证信息,所述注册验证信息用于所述VPN POP确定所述目标机器人是否已注册,并在所述目标机器人已注册的情况下,发起与所述目标机器人之间的双向认证流程;Send a network authentication request to any VPN POP in the blockchain network; wherein, the blockchain network includes multiple VPN POPs, and each VPN POP can obtain the blockchain in the blockchain network account book, the blockchain account book includes the registration information of the registered robot, the network authentication request includes the registration verification information of the target robot, and the registration verification information is used by the VPN POP to determine whether the target robot has registering, and initiating a two-way authentication process with the target robot if the target robot is already registered;
在所述VPN POP发起双向认证流程的情况下,与所述VPN POP进行双向认证。Under the situation that described VPN POP initiates two-way authentication procedure, carry out two-way authentication with described VPN POP.
可选地,所述双向认证流程,包括:Optionally, the two-way authentication process includes:
接收所述VPN POP发送的第一随机数以及所述VPN POP的第一区块链地址;Receive the first random number sent by the VPN POP and the first blockchain address of the VPN POP;
通过所述目标机器人的私钥对所述第一随机数进行加密,得到第一身份验证信息;Encrypting the first random number with the private key of the target robot to obtain first identity verification information;
向所述VPN POP发送所述第一身份验证信息;Send the first authentication information to the VPN POP;
接收所述VPN POP发送的第二身份验证信息,所述第二身份验证信息由所述VPN POP在基于所述目标机器人的公钥对所述第一身份验证信息解密验证成功的情况下生成,所述二身份验证信息由所述VPN POP通过该VPN POP的私钥对第二随机数加密得到,所述第二随机数由所述目标机器人生成;receiving the second identity verification information sent by the VPN POP, where the second identity verification information is generated by the VPN POP when the first identity verification information is successfully decrypted and verified based on the public key of the target robot, The second identity verification information is obtained by encrypting a second random number through the private key of the VPN POP by the VPN POP, and the second random number is generated by the target robot;
通过所述VPN POP的公钥对所述第二身份验证信息进行解密验证。Decrypting and verifying the second identity verification information through the public key of the VPN POP.
根据本公开实施例的第四方面,提供一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算处理设备上运行时,使得所述计算处理设备执行上述第二方面中任一项所述的方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer program, including computer readable code, when the computer readable code is run on a computing processing device, the computing processing device is made to perform any of the above-mentioned second aspects. one of the methods described.
根据本公开实施例的第五方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述第二方面中任一项所述方法的步骤。According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods described in the above-mentioned second aspect are implemented.
根据本公开实施例的第六方面,提供一种计算处理设备,包括:According to a sixth aspect of the embodiments of the present disclosure, there is provided a computing processing device, including:
存储器,其上存储有计算机程序;a memory on which a computer program is stored;
处理器,用于执行所述存储器中的所述计算机程序,以实现上述第二方面中任一项所述方法的步骤。A processor, configured to execute the computer program in the memory, so as to implement the steps of any one of the methods in the second aspect above.
根据本公开实施例的第七方面,提供一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算处理设备上运行时,使得所述计算处理设备执行上述第三方面中任一项所述的方法。According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer program, including computer readable code, which, when the computer readable code is run on a computing processing device, causes the computing processing device to execute any of the above third aspects. one of the methods described.
根据本公开实施例的第八方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述第三方面中任一项所述方法的步骤。According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods described in the third aspect above are implemented.
根据本公开实施例的第九方面,提供一种计算处理设备,包括:According to a ninth aspect of the embodiments of the present disclosure, there is provided a computing processing device, including:
存储器,其上存储有计算机程序;a memory on which a computer program is stored;
处理器,用于执行所述存储器中的所述计算机程序,以实现上述第三方面中任一项所述方法的步骤。A processor, configured to execute the computer program in the memory, so as to implement the steps of any one of the methods in the third aspect above.
上述技术方案通过在区块链网络中设置多个VPN POP,这样,任一所述VPN POP都可以对已注册的机器人进行网络认证,从而避免了单一VPN Controller进行机器人网 络认证时所面临的性能瓶颈问题以及安全风险。此外,所述多个VPN POP还可以基于区块链系统进行机器人信息的同步,而无需由VPN Controller来进行机器人数据的维护。因此,上述技术方案还能够降低VPN网络的成本以及复杂度,同时提升VPN网络的可靠性。The above technical solution sets up multiple VPN POPs in the blockchain network, so that any of the VPN POPs can perform network authentication on registered robots, thereby avoiding the performance problems faced by a single VPN Controller for robot network authentication. Bottleneck issues and security risks. In addition, the plurality of VPN POPs can also synchronize robot information based on the blockchain system, without requiring the VPN Controller to maintain robot data. Therefore, the above technical solution can also reduce the cost and complexity of the VPN network, while improving the reliability of the VPN network.
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.
附图说明Description of drawings
附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the description, together with the following specific embodiments, are used to explain the present disclosure, but do not constitute a limitation to the present disclosure. In the attached picture:
图1是本公开一示例性实施例所示出的一种机器人网络认证系统的示意图。Fig. 1 is a schematic diagram of a robot network authentication system shown in an exemplary embodiment of the present disclosure.
图2是本公开一示例性实施例所示出的一种机器人网络认证系统的示意图。Fig. 2 is a schematic diagram of a robot network authentication system shown in an exemplary embodiment of the present disclosure.
图3是本公开一示例性实施例所示出的一种机器人网络认证方法的流程图。Fig. 3 is a flow chart of a robot network authentication method shown in an exemplary embodiment of the present disclosure.
图4是本公开一示例性实施例所示出的一种机器人网络认证方法的流程图。Fig. 4 is a flow chart of a robot network authentication method shown in an exemplary embodiment of the present disclosure.
图5是本公开一示例性实施例所示出的一种计算处理设备的结构示意图。Fig. 5 is a schematic structural diagram of a computing processing device shown in an exemplary embodiment of the present disclosure.
图6是本公开一示例性实施例所示出的一种用于实现本公开的方法的程序代码的存储单元的示意图。Fig. 6 is a schematic diagram of a program code storage unit for implementing the method of the present disclosure shown in an exemplary embodiment of the present disclosure.
图7是本公开一示例性实施例所示出的一种计算处理设备的结构示意图。Fig. 7 is a schematic structural diagram of a computing processing device shown in an exemplary embodiment of the present disclosure.
图8是本公开一示例性实施例所示出的一种用于实现本公开的方法的程序代码的存储单元的示意图。Fig. 8 is a schematic diagram of a program code storage unit for implementing the method of the present disclosure shown in an exemplary embodiment of the present disclosure.
具体实施方式detailed description
以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.
在介绍本公开的机器人网络认证系统及方法之前,首先对本公开的应用场景进行介绍,本公开所提供的各实施例例如可以用于机器人的网络认证场景。Before introducing the robot network authentication system and method of the present disclosure, the application scenarios of the present disclosure are firstly introduced, and the various embodiments provided in the present disclosure can be used, for example, in network authentication scenarios of robots.
为了提升机器人的安全性,相关技术中将机器人的管理控制流程设置在安全的网络环境中进行,这种安全网络一般采用VPN。例如,可以在机器人上安装VPN软件,并通过VPN账号(用户名/密码)到VPN Controller进行认证,在认证通过之后连接至VPN网络。In order to improve the safety of the robot, in related technologies, the management and control process of the robot is set in a secure network environment, and such a secure network generally adopts a VPN. For example, you can install VPN software on the robot, and authenticate to the VPN Controller through the VPN account (username/password), and connect to the VPN network after the authentication is passed.
然而,采用这样的方式,机器人需要本地保存VPN账号信息,存在泄密风险。为了提高安全性,需定期更改账号信息。并且,VPN Controller是中心化的组件,其管理、存储和维护所有机器人的VPN账号信息,一旦VPN Controller失控,机器人就可能被假冒。同时,当VPN Controller因为相关原因(自然灾害、停电等)停止服务时,也可能出现机器人无法接入网络的现象,进而影响业务可用性。此外,由于所有的机器人认证都在VPN Controller进行,因此在机器人数量较多的情况下,VPN Controller还可能出现性能瓶颈。However, in this way, the robot needs to save the VPN account information locally, which poses a risk of leakage. To improve security, account information needs to be changed periodically. Moreover, the VPN Controller is a centralized component that manages, stores, and maintains the VPN account information of all robots. Once the VPN Controller is out of control, the robot may be faked. At the same time, when the VPN Controller stops serving due to related reasons (natural disasters, power outages, etc.), robots may not be able to access the network, which will affect service availability. In addition, since all robot authentication is performed on the VPN Controller, there may be a performance bottleneck in the VPN Controller when there are a large number of robots.
在一些实施场景中,可以基于VPN POP以及VPN Controller进行机器人网络认证。例如,可以在机器人上预置数字证书,从而通过数字证书到VPN POP进行认证。但是,为了支持机器人在VPN POP进行认证,VPN Controller需要管理、存储和维护所有机器人的信息,并将这些信息在各VPN POP间进行同步,这又导致VPN网络的复杂度变高。In some implementation scenarios, robot network authentication can be performed based on VPN POP and VPN Controller. For example, a digital certificate can be pre-installed on the robot, so that it can be authenticated to the VPN POP through the digital certificate. However, in order to support the authentication of robots at the VPN POP, the VPN Controller needs to manage, store and maintain all robot information, and synchronize this information among VPN POPs, which in turn leads to a higher complexity of the VPN network.
为此,本公开提供一种机器人网络认证系统。图1是本公开所示出的一种机器人网络认证系统的示意图,如图1所示,所述系统包括多个VPN POP(图1中以4个VPN POP示意)。其中,每个所述VPN POP能够获取区块链网络中的区块链账本,所述区块所述链账本中包括已注册的机器人的注册信息。To this end, the present disclosure provides a robot network authentication system. Fig. 1 is a schematic diagram of a robot network authentication system shown in the present disclosure. As shown in Fig. 1, the system includes a plurality of VPN POPs (indicated by 4 VPN POPs in Fig. 1). Wherein, each VPN POP can obtain a blockchain ledger in the blockchain network, and the blockchain ledger of the block includes registration information of registered robots.
这里,注册信息例如可以包括机器人的区块链地址、公钥等等。例如,机器人可以产生公钥以及私钥,并基于公钥生成区块链地址。这样,所述机器人可以基于所述公钥以及区块链地址进行注册。在注册成功之后,所述机器人的公钥以及区块链地址被写入至区块链账本中。Here, the registration information may include, for example, the robot's blockchain address, public key, and so on. For example, a robot can generate a public key as well as a private key, and generate a blockchain address based on the public key. In this way, the robot can be registered based on the public key and blockchain address. After successful registration, the robot's public key and blockchain address are written into the blockchain ledger.
在一些实施场景中,机器人的注册信息还可以包括机器人的相关信息,如机器人类型、机器人ID(Identity document,身份标识)等等,本公开对此不做限制。In some implementation scenarios, the robot's registration information may also include robot-related information, such as robot type, robot ID (Identity document, identity mark), etc., which is not limited in the present disclosure.
仍参照图1,所述机器人网络认证系统中的任一VPN POP用于,在接收到目标机器人的网络认证请求时,基于所述区块链账本中的注册信息,确定所述目标机器人是否已注册,并在所述目标机器人已注册的情况下,与所述目标机器人进行双向认证。Still referring to Fig. 1, any VPN POP in the network authentication system of the robot is used for, when receiving the network authentication request of the target robot, based on the registration information in the blockchain ledger, to determine whether the target robot has register, and perform two-way authentication with the target robot under the condition that the target robot has been registered.
示例地,目标机器人可以向任一VPN POP发送网络认证请求,所述网络认证请求例如可以包括目标机器人的第二区块链地址以及第二随机数A。这样,接收到网络认证请求的VPN POP可以在区块链账本中查询所述第二区块链地址。在该VPN POP未查询到所述第二区块链地址的情况下,则可以确定所述目标机器人未注册,从而可以终止认证流程。在该VPN POP查询到所述第二区块链地址的情况下,则可以确定所述目标机器人 已注册,进而可以发起双向认证流程。For example, the target robot may send a network authentication request to any VPN POP, and the network authentication request may include, for example, the second blockchain address of the target robot and the second random number A. In this way, the VPN POP that has received the network authentication request can query the second blockchain address in the blockchain ledger. In the case that the VPN POP does not query the second blockchain address, it can be determined that the target robot is not registered, so that the authentication process can be terminated. When the VPN POP queries the second block chain address, it can be determined that the target robot is registered, and then a two-way authentication process can be initiated.
以下对双向认证的流程进行示例性说明。例如,VPN POP可以向目标机器人发送第一随机数B以及所述VPN POP的第一区块链地址。The following is an exemplary description of the two-way authentication process. For example, the VPN POP can send the first random number B and the first blockchain address of the VPN POP to the target robot.
目标机器人可以接收第一随机数B以及第一区块链地址,并基于目标机器人的私钥对第一随机数B进行签名,得到签名结果SIGN(A),并将SIGN(A)发送至所述VPN POP。The target robot can receive the first random number B and the first blockchain address, and sign the first random number B based on the private key of the target robot, obtain the signature result SIGN(A), and send SIGN(A) to all Describe VPN POP.
所述VPN POP可以基于目标机器人的第二区块链地址,通过查询区块链账本的方式获得目标机器人的公钥PK(A),并通过公钥PK(A)对SIGN(A)进行解密验证。当解密失败和/或解密结果不为第一随机数B时,则认证失败,并终止认证流程。当解密成功且解密结果为第一随机数B时,则认证成功。这样,所述VPN POP可以基于自身的私钥对第二随机数A进行签名,得到SIGN(B),并将SIGN(B)发送至目标机器人,以便于所述目标机器人对所述VPN POP进行认证。The VPN POP can obtain the public key PK(A) of the target robot by querying the blockchain ledger based on the second blockchain address of the target robot, and decrypt SIGN(A) through the public key PK(A) verify. When the decryption fails and/or the decryption result is not the first random number B, the authentication fails and the authentication process is terminated. When the decryption is successful and the decryption result is the first random number B, the authentication is successful. In this way, the VPN POP can sign the second random number A based on its own private key to obtain the SIGN (B), and send the SIGN (B) to the target robot, so that the target robot can perform a signature on the VPN POP. certified.
相应的,目标机器人可以基于第一区块链地址,通过查询区块链账本的方式获得所述VPN POP的公钥PK(B),并通过公钥PK(B)对SIGN(B)进行解密验证。当解密成功且解密结果为第二随机数A时,认证成功。当解密失败和/或解密结果不为第二随机数A时,则认证失败。Correspondingly, the target robot can obtain the public key PK(B) of the VPN POP by querying the blockchain ledger based on the first blockchain address, and decrypt SIGN(B) through the public key PK(B) verify. When the decryption is successful and the decryption result is the second random number A, the authentication is successful. When the decryption fails and/or the decryption result is not the second random number A, the authentication fails.
以上实施例对本公开的目标机器人与VPN POP之间的双向认证流程进行了示例性说明。但本领域技术人员应当知晓,在具体实施时,通过非对称密码机制进行双向认证的方式还可以存在多种(例如在不同通信标准下双向认证方式可以存在相应的变形),为了说明书的简洁,本公开在此不再一一赘述。The above embodiments illustrate the two-way authentication process between the target robot and the VPN POP in the present disclosure. However, those skilled in the art should know that, in actual implementation, there may be multiple ways of performing two-way authentication through an asymmetric cryptographic mechanism (for example, there may be corresponding deformations of two-way authentication ways under different communication standards), for the sake of brevity in the description, The present disclosure will not be repeated here.
上述技术方案可以具备如下有益效果:The above technical solution can have the following beneficial effects:
机器人通过注册之后,其注册信息被写入至区块链账本中。这样,可以基于注册信息(区块链地址、公钥等)进行网络认证,使得机器人上无需本地维护VPN账号信息,避免了账号泄密风险。并且,机器人的注册信息由区块链系统来管理、存储和维护,而区块链网络是去中心化的,同时区块链账本中只存储机器人的注册信息,从而避免了因为某个环节失控导致机器人被假冒的现象。After the robot is registered, its registration information is written into the blockchain ledger. In this way, network authentication can be performed based on registration information (blockchain address, public key, etc.), so that the robot does not need to maintain VPN account information locally, avoiding the risk of account leakage. Moreover, the registration information of the robot is managed, stored and maintained by the blockchain system, and the blockchain network is decentralized. At the same time, only the registration information of the robot is stored in the blockchain ledger, thus avoiding the loss of control due to a certain link. Phenomena that lead to bots being counterfeited.
同时,通过在区块链网络中设置多个VPN POP,这样,任一所述VPN POP都可以对已注册的机器人进行网络认证,从而避免了单一VPN Controller进行机器人网络认证时所面临的性能瓶颈问题。At the same time, by setting multiple VPN POPs in the blockchain network, any one of the VPN POPs can perform network authentication on registered robots, thereby avoiding the performance bottleneck faced by a single VPN Controller for robot network authentication question.
此外,与VPN Controller管理机器人信息以及将这些信息在各VPN POP间进行同步 的方式不同,上述技术方案中,机器人的注册信息可以由区块链系统保存,并基于区块链系统在各个VPN POP间进行同步。通过这样的方式,能够简化VPN网络(VPN Controller/VPN POP)的复杂程度、降低成本,也可提高VPN网络的可靠性。In addition, unlike VPN Controller's way of managing robot information and synchronizing this information between VPN POPs, in the above technical solution, the registration information of robots can be saved by the blockchain system, and based on the blockchain system, it can be stored in each VPN POP. to synchronize between. In this way, the complexity of the VPN network (VPN Controller/VPN POP) can be simplified, the cost can be reduced, and the reliability of the VPN network can also be improved.
在一些实施场景中,所述VPN POP具备机器人注册权限。在这种情况下,所述机器人网络认证系统中的任一VPN POP还用于,在接收到机器人的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中;并将所述区块链网络的启动节点信息发送至所述机器人,其中,所述注册信息包括所述机器人的区块链地址以及公钥。In some implementation scenarios, the VPN POP has the robot registration authority. In this case, any VPN POP in the robot network authentication system is also used to write the registration information in the registration request into the block chain account book when receiving the registration request of the robot and sending the startup node information of the block chain network to the robot, wherein the registration information includes the block chain address and public key of the robot.
示例地,机器人可以产生公钥和私钥,并通过公钥生成区块链地址。这样,所述机器人可以向VPN POP发送包括所述区块链地址以及公钥的注册请求。当然,机器人也可以委托第三方产生公钥、私钥以及区块链地址,本公开对此不做限制。Exemplarily, the robot can generate a public key and a private key, and generate a blockchain address through the public key. In this way, the robot can send a registration request including the blockchain address and public key to the VPN POP. Of course, the robot can also entrust a third party to generate the public key, private key and blockchain address, which is not limited in this disclosure.
所述VPN POP在接收到所述注册请求之后,可以通过向区块链网络中发送交易的方式将所述机器人的区块链地址以及公钥写入至区块链账本中,从而完成注册。通过这样的方式,能够基于VPN POP对机器人的注册过程进行管理。After the VPN POP receives the registration request, it can write the robot's blockchain address and public key into the blockchain account book by sending a transaction to the blockchain network, thereby completing the registration. In this way, the registration process of the robot can be managed based on VPN POP.
值得注意的是,在一些实施方式中,机器人的注册信息还可以包括机器人的类型、编号等等。所述VPN POP在接收到所述注册请求之后,也可以对所述机器人的相关信息进行校验,本公开对此不做限制。It should be noted that, in some implementations, the registration information of the robot may also include the type, serial number, etc. of the robot. After the VPN POP receives the registration request, it can also verify the relevant information of the robot, which is not limited in this disclosure.
此外,VPN POP还可以将区块链网络的启动节点信息发送至所述机器人。相应的,机器人可以用于,保存所述启动节点信息,并基于所述启动节点信息接入至所述区块链网络。In addition, VPN POP can also send the startup node information of the blockchain network to the robot. Correspondingly, the robot can be used to save the starting node information, and access to the blockchain network based on the starting node information.
示例地,机器人可以通过无线网络连接至VPN POP,并根据记录的启动节点信息,通过区块链连接协议,采用轻节点协议或RPC(Remote Procedure Call,远程过程调用)的方式,连接至区块链网络。其中,无线网络例如可以是WiFi(Wireless Fidelity,无线保真)、4G、5G等。这样,在连接至区块链网络之后,所述机器人可以向区块链网络中的任一VPN POP发送网络认证请求,进而进行网络认证。For example, the robot can connect to the VPN POP through the wireless network, and according to the recorded start node information, through the blockchain connection protocol, use the light node protocol or RPC (Remote Procedure Call, remote procedure call) to connect to the block chain network. Wherein, the wireless network may be, for example, WiFi (Wireless Fidelity, wireless fidelity), 4G, 5G, and the like. In this way, after connecting to the block chain network, the robot can send a network authentication request to any VPN POP in the block chain network, and then perform network authentication.
在一些实施场景中,所述VPN POP具备机器人注销权限。在这种情况下,所述机器人网络认证系统中的任一VPN POP还用于,在接收到机器人注销请求时,根据所述注销请求中的机器人标识确定待注销的机器人,并将所述区块链账本中的所述待注销的机器人的注册状态更新为注销状态。In some implementation scenarios, the VPN POP has the robot logout authority. In this case, any VPN POP in the robot network authentication system is also used to, when receiving a robot logout request, determine the robot to be logged out according to the robot identifier in the logout request, and send the zone The registration status of the robot to be canceled in the block chain account book is updated to the cancellation status.
这里,机器人注销请求可以是由相关的机器人管理端发送的也可以是由机器人发送 的。所述机器人注销请求中的机器人标识例如可以是机器人编号等能够对机器人进行区分的标识,本公开对此不做限制。Here, the robot logout request can be sent by the relevant robot management terminal or sent by the robot. The robot identifier in the robot logout request may be, for example, an identifier that can distinguish robots such as a robot number, which is not limited in the present disclosure.
这样,VPN POP在接收到机器人注销请求时,可以根据所述注销请求中的机器人标识确定待注销的机器人。所述VPN POP还可以通过向区块网络中发送交易的方式,将所述区块链账本中的所述待注销的机器人的注册状态更新为注销状态。由于注册状态被更新为注销状态,因此所述待注销的机器人无法再通过VPN POP的网络认证。通过这样的方式,能够基于VPN POP对已注册的机器人进行管理。In this way, when the VPN POP receives the robot logout request, it can determine the robot to be logged out according to the robot identifier in the logout request. The VPN POP can also update the registration status of the robot to be canceled in the blockchain account book to the cancellation status by sending a transaction to the block network. Since the registration status is updated to the deregistration status, the robot to be deregistered can no longer pass the network authentication of the VPN POP. In this way, registered robots can be managed based on VPN POP.
此外值得说明的是,区块链账本中所记录的机器人信息、VPN POP信息是网络接入认证的重要数据。因此,在一些实施场景中,还可以对机器人、VPN POP的添加修改过程设置相关的权限控制策略。In addition, it is worth noting that the robot information and VPN POP information recorded in the blockchain ledger are important data for network access authentication. Therefore, in some implementation scenarios, it is also possible to set relevant authority control policies for the process of adding and modifying robots and VPN POPs.
例如,在一种可能的实施方式中,可以基于许可链进行权限控制。在所述许可链中,可以限制不同区块链账户是否具有对某些数据的写入和修改权限。例如,可以为OSS(Business Support System,业务支撑系统)和/或BSS(Operation Support System,运营支撑系统)中的区块链账户配置数据写入权限和数据修改权限,并为机器人、VPN POP和VPN Controller所涉及的区块链账户设置数据读取权限。For example, in a possible implementation manner, authority control may be performed based on a permission chain. In the permission chain, it is possible to restrict whether different blockchain accounts have the permission to write and modify certain data. For example, data write permissions and data modification permissions can be configured for blockchain accounts in OSS (Business Support System, business support system) and/or BSS (Operation Support System, operation support system), and for robots, VPN POP and The blockchain account involved in the VPN Controller sets the data read permission.
在一些可能的实施方式中,也可以基于制定的智能合约对机器人以及VPN POP的相关数据进行管理。例如,可以编写对应的智能合约,通过智能合约实现信息的存储。所述智能合约可以提供注册、修改、注销、查询等接口。其中,将注册、修改、注销、查询等接口的调用权限分配至OSS/BSS所对应的区块链账户,并设置机器人、VPN POP所对应的区块链账户具有查询接口的调用权限。In some possible implementations, robots and VPN POP-related data can also be managed based on the formulated smart contract. For example, corresponding smart contracts can be written to store information through smart contracts. The smart contract can provide interfaces such as registration, modification, cancellation, and query. Among them, assign the calling authority of the registration, modification, cancellation, query and other interfaces to the blockchain account corresponding to the OSS/BSS, and set the blockchain account corresponding to the robot and VPN POP to have the calling authority of the query interface.
这样,在一些实施场景中,所述系统还可以包括第一认证管理端。参照图2所示出的一种机器人网络认证系统的示意图,所述第一认证管理端为具备机器人注册权限的区块链节点,其可以与OSS/BSS的相关账户相对应。In this way, in some implementation scenarios, the system may further include a first authentication management terminal. Referring to the schematic diagram of a robot network authentication system shown in FIG. 2, the first authentication management terminal is a blockchain node with robot registration authority, which can correspond to the relevant account of OSS/BSS.
所述第一认证管理端用于,在接收到机器人的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中;并将所述区块链网络的启动节点信息发送至所述机器人,其中,所述注册信息包括所述机器人的区块链地址以及公钥;The first authentication management terminal is used to, when receiving the registration request of the robot, write the registration information in the registration request into the blockchain account book; and the startup node of the blockchain network Information is sent to the robot, wherein the registration information includes the robot's blockchain address and public key;
所述机器人用于,保存所述启动节点信息,并基于所述启动节点信息接入至所述区块链网络。The robot is used for saving the starting node information, and accessing the block chain network based on the starting node information.
示例地,机器人可以产生公钥和私钥,并通过公钥生成区块链地址。这样,所述机 器人可以向所述第一认证管理端发送包括所述区块链地址以及公钥的注册请求。Exemplarily, the robot can generate a public key and a private key, and generate a blockchain address through the public key. In this way, the robot can send a registration request including the blockchain address and public key to the first authentication management terminal.
所述第一认证管理端在接收到所述注册请求之后,可以通过向区块链网络中发送交易的方式将所述机器人的区块链地址以及公钥写入至区块链账本中,从而完成注册。After receiving the registration request, the first authentication management terminal can write the robot's blockchain address and public key into the blockchain ledger by sending a transaction to the blockchain network, thereby Complete the registration.
当然,在一些实施方式中,机器人的注册信息还可以包括机器人的类型、编号等等。所述第一认证管理端在接收到所述注册请求之后,也可以对所述机器人的相关信息进行校验,本公开对此不做限制。Of course, in some implementations, the robot's registration information may also include the robot's type, serial number, and so on. After receiving the registration request, the first authentication management terminal may also verify the relevant information of the robot, which is not limited in the present disclosure.
此外,第一认证管理端还可以将区块链网络的启动节点信息发送至所述机器人。相应的,机器人可以用于,保存所述启动节点信息,并基于所述启动节点信息接入至所述区块链网络。In addition, the first authentication management terminal can also send the startup node information of the blockchain network to the robot. Correspondingly, the robot can be used to save the starting node information, and access to the blockchain network based on the starting node information.
示例地,机器人可以通过无线网络连接至VPN POP,并根据记录的启动节点信息,通过区块链连接协议,采用轻节点协议或RPC的方式,连接至区块链网络。这样,在连接至区块链网络之后,所述机器人可以向区块链网络中的任一VPN POP发送网络认证请求,进而进行网络认证。For example, the robot can connect to the VPN POP through the wireless network, and according to the recorded startup node information, connect to the blockchain network through the blockchain connection protocol, using the light node protocol or RPC. In this way, after connecting to the block chain network, the robot can send a network authentication request to any VPN POP in the block chain network, and then perform network authentication.
当然,基于应用需求的不同,在一些可能的实施方式中,第一认证管理端也可以对应于相关的管理账户,这些管理账户也可以不与OSS/BSS相对应。Of course, based on different application requirements, in some possible implementation manners, the first authentication management terminal may also correspond to relevant management accounts, and these management accounts may not correspond to OSS/BSS.
采用上述技术方案,能够通过设置第一认证管理端来对机器人的注册过程进行管理,同时也对机器人信息的写入权限进行了控制。By adopting the above technical solution, the registration process of the robot can be managed by setting the first authentication management terminal, and at the same time, the writing authority of the robot information can be controlled.
在一些实施场景中,所述系统还可以包括第二认证管理端。参照图2,所述第二认证管理端为具备机器人注销权限的区块链节点,其可以与OSS/BSS的相关账户相对应。In some implementation scenarios, the system may further include a second authentication management terminal. Referring to Fig. 2, the second authentication management terminal is a block chain node with robot logout authority, which may correspond to the relevant account of OSS/BSS.
所述第二认证管理端用于,在接收到机器人注销请求时,根据所述注销请求中的机器人标识确定待注销的机器人,并将所述区块链账本中的所述待注销的机器人的注册状态更新为注销状态。The second authentication management terminal is used to, when receiving a robot logout request, determine the robot to be logged out according to the robot identification in the logout request, and store the The registered status is updated to the unregistered status.
这里,机器人注销请求可以是由相关的机器人管理端发送的也可以是由机器人发送的。在一些实施方式中,所述机器人注销请求也可以是所述第二认证管理端基于预设的规则自动生成的。例如,在机器人注册时,可以为每一机器人设置对应的有效时间区间,当超过有效时间区间之后则自动生成机器人注销请求。所述机器人注销请求中的机器人标识例如可以是机器人编号等能够对机器人进行区分的标识,本公开对此不做限制。Here, the robot logout request may be sent by the relevant robot management terminal or sent by the robot. In some implementation manners, the robot logout request may also be automatically generated by the second authentication management terminal based on preset rules. For example, when a robot is registered, a corresponding valid time interval can be set for each robot, and a robot logout request is automatically generated after the valid time interval is exceeded. The robot identifier in the robot logout request may be, for example, an identifier that can distinguish robots such as a robot number, which is not limited in the present disclosure.
这样,第二认证管理端在接收到机器人注销请求时,可以根据所述注销请求中的机器人标识确定待注销的机器人。所述第二认证管理端还可以通过向区块网络中发送交易 的方式,将所述区块链账本中的所述待注销的机器人的注册状态更新为注销状态。由于注册状态被更新为注销状态,因此所述待注销的机器人无法再通过VPN POP的网络认证。In this way, when the second authentication management terminal receives the robot logout request, it can determine the robot to be logged out according to the robot identifier in the logout request. The second authentication management terminal can also update the registration status of the robot to be canceled in the blockchain account book to the cancellation status by sending a transaction to the blockchain network. Since the registration status is updated to the deregistration status, the robot to be deregistered can no longer pass the network authentication of the VPN POP.
通过这样的方式,能够基于第二认证管理端对已注册的机器人进行管理,同时也对机器人信息的注销权限进行了控制。In this way, the registered robot can be managed based on the second authentication management terminal, and at the same time, the logout authority of the robot information is also controlled.
在一种可能的实施方式中,所述系统还包括第三认证管理端,所述第二认证管理端为具备VPN POP注册权限的区块链节点,其可以与OSS/BSS的相关账户相对应。In a possible implementation, the system also includes a third authentication management terminal, the second authentication management terminal is a block chain node with VPN POP registration authority, which can correspond to the relevant account of OSS/BSS .
所述第三认证管理端用于,在接收到VPN POP的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中,所述注册信息包括所述VPN POP的区块链地址和公钥。The third authentication management terminal is used to write the registration information in the registration request into the block chain account book when receiving the registration request of the VPN POP, and the registration information includes the registration information of the VPN POP Blockchain address and public key.
示例地,VPN POP可以产生公钥和私钥,并通过公钥生成区块链地址。这样,所述VPN POP可以向第三认证管理端发送包括所述区块链地址以及公钥的注册请求。For example, VPN POP can generate public key and private key, and generate a blockchain address through the public key. In this way, the VPN POP can send a registration request including the blockchain address and public key to the third authentication management terminal.
所述第三认证管理端在接收到所述注册请求之后,可以通过向区块链网络中发送交易的方式将所述VPN POP的区块链地址以及公钥写入至区块链账本中,从而完成注册。After the third authentication management terminal receives the registration request, it can write the blockchain address and public key of the VPN POP into the blockchain account book by sending a transaction to the blockchain network, This completes the registration.
采用上述技术方案,能够通过设置第三认证管理端来对VPN POP的注册过程进行管理,同时也对VPN POP信息的写入权限进行了控制。By adopting the above technical solution, the registration process of the VPN POP can be managed by setting the third authentication management terminal, and the writing authority of the VPN POP information is also controlled.
此外值得说明的是,为了描述的方便和简洁,说明书中所描述的实施例均属于优选实施例,其所涉及的部分并不一定是本发明所必须的。例如,所述第一认证管理端、第二认证管理端以及第三认证管理端,在具体实施时可以是相互独立的系统组件也可以是同一个系统组件。此外,第一认证管理端、第二认证管理端以及第三认证管理端也可以对应于相关的区块链管理账户,这些区块链管理账户也可以不与OSS/BSS相对应,本公开对此不做限制。In addition, it is worth noting that, for convenience and brevity of description, the embodiments described in the specification belong to preferred embodiments, and the parts involved are not necessarily essential to the present invention. For example, the first authentication management terminal, the second authentication management terminal and the third authentication management terminal may be independent system components or the same system component during specific implementation. In addition, the first authentication management terminal, the second authentication management terminal, and the third authentication management terminal may also correspond to relevant blockchain management accounts, and these blockchain management accounts may not correspond to OSS/BSS. This is not limited.
在一种可能的实施方式中,机器人网络认证系统中的任一VPN POP还用于,在对所述目标机器人认证失败时,向所述目标机器人发送认证失败信息;In a possible implementation manner, any VPN POP in the robot network authentication system is also used to send authentication failure information to the target robot when the target robot fails to be authenticated;
所述目标机器人还用于,在接收到所述认证失败信息之后,向所述多个VPN POP中的另一VPN POP发送网络认证请求。The target robot is further configured to, after receiving the authentication failure information, send a network authentication request to another VPN POP among the plurality of VPN POPs.
以图1为例,当机器人接收到VPN POP 4发送的认证失败信息后,所述机器人还可以向VPN POP 1-3中的任意一者重新发送网络认证请求。通过这样的方式,能够降低因某一VPN POP停止服务导致的机器人无法接入VPN网络的问题,提升了系统的可用性。Taking Figure 1 as an example, after the robot receives the authentication failure information sent by VPN POP 4, the robot can also resend the network authentication request to any one of VPN POP 1-3. In this way, the problem of robots being unable to access the VPN network due to the outage of a certain VPN POP can be reduced, and the availability of the system is improved.
本公开还提供一种机器人网络认证方法,应用于区块链网络中的任一VPN POP。其 中,所述区块链网络中包括多个VPN POP,每个所述VPN POP能够获取所述区块链网络中的区块链账本,所述区块链账本中包括已注册机器人的注册信息。The present disclosure also provides a robot network authentication method, which is applied to any VPN POP in the blockchain network. Wherein, the blockchain network includes a plurality of VPN POPs, and each VPN POP can obtain a blockchain account book in the blockchain network, and the blockchain account book includes registration information of registered robots .
这里,注册信息例如可以包括机器人的区块链地址、公钥等等。例如,机器人可以产生公钥以及私钥,并基于公钥生成区块链地址。这样,所述机器人可以基于所述公钥以及区块链地址进行注册。在注册成功之后,所述机器人的公钥以及区块链地址被写入至区块链账本中。Here, the registration information may include, for example, the robot's blockchain address, public key, and so on. For example, a robot can generate a public key as well as a private key, and generate a blockchain address based on the public key. In this way, the robot can be registered based on the public key and blockchain address. After successful registration, the robot's public key and blockchain address are written into the blockchain ledger.
在一些实施场景中,机器人的注册信息还可以包括机器人的相关信息,如机器人类型、机器人ID等等,本公开对此不做限制。In some implementation scenarios, the registration information of the robot may also include related information of the robot, such as the type of the robot, the ID of the robot, etc., which is not limited in the present disclosure.
图3是本公开所示出的一种机器人网络认证方法的流程图,所述方法包括:Fig. 3 is a flow chart of a robot network authentication method shown in the present disclosure, the method comprising:
S31,接收目标机器人的网络认证请求,所述网络认证请求包括注册验证信息。S31. Receive a network authentication request from the target robot, where the network authentication request includes registration verification information.
示例地,目标机器人可以向任一VPN POP发送网络认证请求,所述网络认证请求例如可以包括目标机器人的注册验证信息。这里,注册验证信息例如可以是目标机器人的第二区块链地址。Exemplarily, the target robot may send a network authentication request to any VPN POP, and the network authentication request may include registration verification information of the target robot, for example. Here, the registration verification information may be, for example, the second blockchain address of the target robot.
S32,根据所述注册验证信息以及所述区块链账本中的注册信息确定所述目标机器人是否已注册。S32. Determine whether the target robot is registered according to the registration verification information and the registration information in the blockchain ledger.
例如,接收到网络认证请求的VPN POP可以在区块链账本中查询所述第二区块链地址。在该VPN POP未查询到所述第二区块链地址的情况下,则可以确定所述目标机器人未注册,从而可以终止认证流程。For example, the VPN POP that has received the network authentication request can query the second blockchain address in the blockchain ledger. In the case that the VPN POP does not query the second blockchain address, it can be determined that the target robot is not registered, so that the authentication process can be terminated.
在该VPN POP查询到所述第二区块链地址的情况下,则可以确定所述目标机器人已注册,进而在S33中,在所述目标机器人已注册的情况下,发起与所述目标机器人之间的双向认证流程。When the VPN POP inquires the address of the second block chain, it can be determined that the target robot is registered, and then in S33, when the target robot is registered, initiate a communication with the target robot Two-way authentication process between.
以下对双向认证的流程进行示例性说明。在一种可能的实施方式中,所述双向认证流程,包括:The following is an exemplary description of the two-way authentication process. In a possible implementation manner, the two-way authentication process includes:
VPN POP向所述目标机器人发送第一随机数B以及所述VPN POP的第一区块链地址。The VPN POP sends the first random number B and the first blockchain address of the VPN POP to the target robot.
目标机器人可以接收第一随机数B以及第一区块链地址,并基于目标机器人的私钥对第一随机数B进行签名,得到签名结果SIGN(A),并将SIGN(A)发送至所述VPN POP。The target robot can receive the first random number B and the first blockchain address, and sign the first random number B based on the private key of the target robot, obtain the signature result SIGN(A), and send SIGN(A) to all Describe VPN POP.
所述VPN POP可以接收所述目标机器人发送的第一身份验证信息,即签名结果SIGN(A)。此外,所述VPN POP还可以基于所述目标机器人的公钥对所述第一身份验证 信息进行解密验证。示例地,所述VPN POP可以基于第二区块链地址,通过查询区块链账本的方式获得目标机器人的公钥PK(A),并通过公钥PK(A)对SIGN(A)进行解密验证。当解密失败和/或解密结果不为第一随机数B时,则认证失败,并终止认证流程。当解密成功且解密结果为第一随机数B时,则解密验证成功。The VPN POP may receive the first identity verification information sent by the target robot, namely the signature result SIGN(A). In addition, the VPN POP may also decrypt and verify the first identity verification information based on the target robot's public key. Exemplarily, the VPN POP can obtain the public key PK(A) of the target robot by querying the blockchain ledger based on the second blockchain address, and decrypt the SIGN(A) through the public key PK(A) verify. When the decryption fails and/or the decryption result is not the first random number B, the authentication fails and the authentication process is terminated. When the decryption is successful and the decryption result is the first random number B, the decryption verification is successful.
在解密验证成功的情况下,所述VPN POP向所述目标机器人发送第二身份验证信息。沿用上述例子,所述第二身份验证信息可以为SIGN(B),SIGN(B)由所述VPN POP通过该VPN POP的私钥对第二随机数A加密得到,所述第二随机数A由所述目标机器人生成,所述第二身份验证信息用于所述目标机器人对所述VPN POP进行认证。In the case of successful decryption verification, the VPN POP sends second identity verification information to the target robot. Using the above example, the second identity verification information can be SIGN(B), and SIGN(B) is obtained by encrypting the second random number A by the VPN POP through the private key of the VPN POP, and the second random number A Generated by the target robot, the second identity verification information is used by the target robot to authenticate the VPN POP.
相应的,目标机器人可以基于第一区块链地址,通过查询区块链账本的方式获得所述VPN POP的公钥PK(B),并通过公钥PK(B)对SIGN(B)进行解密验证。当解密成功且解密结果为第二随机数A时,认证成功。当解密失败和/或解密结果不为第二随机数A时,则认证失败。Correspondingly, the target robot can obtain the public key PK(B) of the VPN POP by querying the blockchain ledger based on the first blockchain address, and decrypt SIGN(B) through the public key PK(B) verify. When the decryption is successful and the decryption result is the second random number A, the authentication is successful. When the decryption fails and/or the decryption result is not the second random number A, the authentication fails.
以上实施例对本公开的目标机器人与VPN POP之间的双向认证流程进行了示例性说明。但本领域技术人员应当知晓,在具体实施时,通过非对称密码机制进行双向认证的方式还可以存在多种(例如在不同通信标准下,双向认证方式可以存在相应的变形),为了说明书的简洁,本公开在此不再一一赘述。The above embodiments illustrate the two-way authentication process between the target robot and the VPN POP in the present disclosure. However, those skilled in the art should know that, in actual implementation, there may be multiple ways of performing two-way authentication through an asymmetric encryption mechanism (for example, under different communication standards, there may be corresponding deformations in the way of two-way authentication). , the present disclosure will not repeat them one by one here.
上述技术方案可以具备如下有益效果:The above technical solution can have the following beneficial effects:
机器人通过注册之后,其注册信息被写入至区块链账本中。这样,可以基于注册信息(区块链地址、公钥等)进行网络认证,使得机器人上无需本地维护VPN账号信息,避免了账号泄密风险。并且,机器人的注册信息由区块链系统来管理、存储和维护,而区块链网络是去中心化的,同时区块链账本中只存储机器人的注册信息,从而避免了因为某个环节失控导致机器人被假冒的现象。After the robot is registered, its registration information is written into the blockchain ledger. In this way, network authentication can be performed based on registration information (blockchain address, public key, etc.), so that the robot does not need to maintain VPN account information locally, avoiding the risk of account leakage. Moreover, the registration information of the robot is managed, stored and maintained by the blockchain system, and the blockchain network is decentralized. At the same time, only the registration information of the robot is stored in the blockchain ledger, thus avoiding the loss of control due to a certain link. Phenomena that lead to bots being counterfeited.
同时,通过在区块链网络中设置多个VPN POP,这样,任一所述VPN POP都可以对已注册的机器人进行网络认证,从而避免了单一VPN Controller进行机器人网络认证时所面临的性能瓶颈问题。At the same time, by setting multiple VPN POPs in the blockchain network, any one of the VPN POPs can perform network authentication on registered robots, thereby avoiding the performance bottleneck faced by a single VPN Controller for robot network authentication question.
此外,与VPN Controller管理机器人信息以及将这些信息在各VPN POP间进行同步的方式不同,上述技术方案中,机器人的注册信息可以由区块链系统保存,并基于区块链系统在各个VPN POP间进行同步。通过这样的方式,能够简化VPN网络(VPN Controller/VPN POP)的复杂程度、降低成本,也可提高VPN网络的可靠性。In addition, unlike VPN Controller's way of managing robot information and synchronizing this information between VPN POPs, in the above technical solution, the registration information of robots can be saved by the blockchain system, and based on the blockchain system, it can be stored in each VPN POP. to synchronize between. In this way, the complexity of the VPN network (VPN Controller/VPN POP) can be simplified, the cost can be reduced, and the reliability of the VPN network can also be improved.
本公开还提供一种机器人网络认证方法,应用于目标机器人,所述目标机器人例如可以是上述任一实施例中所述的机器人。参照图4所示出的一种机器人网络认证方法的流程图,所述方法包括:The present disclosure also provides a robot network authentication method, which is applied to a target robot, and the target robot may be, for example, the robot described in any of the foregoing embodiments. Referring to the flow chart of a robot network authentication method shown in Figure 4, the method includes:
S41,向区块链网络中的任一VPN POP发送网络认证请求。S41, sending a network authentication request to any VPN POP in the blockchain network.
其中,所述区块链网络中包括多个VPN POP,每个所述VPN POP能够获取所述区块链网络中的区块链账本,所述区块链账本中包括已注册机器人的注册信息。所述网络认证请求包括所述目标机器人的注册验证信息,所述注册验证信息用于所述VPN POP确定所述目标机器人是否已注册。在一些实施方式中,注册验证信息例如可以是目标机器人的第二区块链地址。Wherein, the blockchain network includes a plurality of VPN POPs, and each VPN POP can obtain a blockchain account book in the blockchain network, and the blockchain account book includes registration information of registered robots . The network authentication request includes registration verification information of the target robot, and the registration verification information is used by the VPN POP to determine whether the target robot is registered. In some implementations, the registration verification information may be, for example, the second blockchain address of the target robot.
S42,在所述VPN POP发起双向认证流程的情况下,与所述VPN POP进行双向认证。S42. When the VPN POP initiates a two-way authentication process, perform two-way authentication with the VPN POP.
例如,接收到网络认证请求的VPN POP可以在区块链账本中查询所述第二区块链地址。在该VPN POP未查询到所述第二区块链地址的情况下,则可以确定所述目标机器人未注册,从而可以终止认证流程。在该VPN POP查询到所述第二区块链地址的情况下,则可以确定所述目标机器人已注册,进而可以发起与所述目标机器人之间的双向认证流程。For example, the VPN POP that has received the network authentication request can query the second blockchain address in the blockchain ledger. In the case that the VPN POP does not query the second blockchain address, it can be determined that the target robot is not registered, so that the authentication process can be terminated. When the VPN POP finds the address of the second blockchain, it can be determined that the target robot has been registered, and then a two-way authentication process with the target robot can be initiated.
其中,双向认证的流程请参照上述实施例说明,为了说明书的简洁,本公开在此不做赘述。Wherein, for the process of two-way authentication, please refer to the description of the above embodiments, and for the sake of brevity of the description, the present disclosure does not repeat it here.
上述技术方案可以具备如下有益效果:The above technical solution can have the following beneficial effects:
机器人通过注册之后,其注册信息被写入至区块链账本中。这样,可以基于注册信息(区块链地址、公钥等)进行网络认证,使得机器人上无需本地维护VPN账号信息,避免了账号泄密风险。并且,机器人的注册信息由区块链系统来管理、存储和维护,而区块链网络是去中心化的,同时区块链账本中只存储机器人的注册信息,从而避免了因为某个环节失控导致机器人被假冒的现象。After the robot is registered, its registration information is written into the blockchain ledger. In this way, network authentication can be performed based on registration information (blockchain address, public key, etc.), so that the robot does not need to maintain VPN account information locally, avoiding the risk of account leakage. Moreover, the registration information of the robot is managed, stored and maintained by the blockchain system, and the blockchain network is decentralized. At the same time, only the registration information of the robot is stored in the blockchain ledger, thus avoiding the loss of control due to a certain link. Phenomena that lead to bots being counterfeited.
同时,通过在区块链网络中设置多个VPN POP,这样,任一所述VPN POP都可以对已注册的机器人进行网络认证,从而避免了单一VPN Controller进行机器人网络认证时所面临的性能瓶颈问题。At the same time, by setting multiple VPN POPs in the blockchain network, any one of the VPN POPs can perform network authentication on registered robots, thereby avoiding the performance bottleneck faced by a single VPN Controller for robot network authentication question.
此外,与VPN Controller管理机器人信息以及将这些信息在各VPN POP间进行同步的方式不同,上述技术方案中,机器人的注册信息可以由区块链系统保存,并基于区块链系统在各个VPN POP间进行同步。通过这样的方式,能够简化VPN网络(VPN  Controller/VPN POP)的复杂程度、降低成本,也可提高VPN网络的可靠性。In addition, unlike VPN Controller's way of managing robot information and synchronizing this information between VPN POPs, in the above technical solution, the registration information of robots can be saved by the blockchain system, and based on the blockchain system, it can be stored in each VPN POP. to synchronize between. In this way, the complexity of the VPN network (VPN Controller/VPN POP) can be simplified, the cost can be reduced, and the reliability of the VPN network can also be improved.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开所提供的应用于VPN POP的机器人网络认证方法的步骤。The present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the robot network authentication method applied to VPN POP provided by the present disclosure are implemented.
在另一示例性实施例中,还提供一种计算机程序产品,该计算机程序产品包含能够由可编程的装置执行的计算机程序,该计算机程序具有当由该可编程的装置执行时用于执行上述的应用于VPN POP的机器人网络认证方法的代码部分。In another exemplary embodiment, there is also provided a computer program product comprising a computer program executable by a programmable device, the computer program having a function for performing the above-mentioned Part of the code for the Android authentication method applied to VPN POP.
本公开还提供一种计算处理设备,包括:The present disclosure also provides a computing processing device, including:
存储器,其中存储有计算机可读代码;以及a memory having computer readable code stored therein; and
一个或多个处理器,当所述计算机可读代码被所述一个或多个处理器执行时,所述计算处理设备执行本公开所提供的应用于VPN POP的机器人网络认证方法的步骤。One or more processors, when the computer-readable code is executed by the one or more processors, the computing processing device executes the steps of the robot network authentication method applied to VPN POP provided by the present disclosure.
图5为本公开所提供的一种计算处理设备的结构示意图。该计算处理设备可以包括处理器510和以存储器530形式的计算机程序产品或者计算机可读介质。存储器530可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器530可以包括存储空间550,存储空间550可以包括用于执行上述方法中的任何方法步骤的程序代码。例如,存储空间550可以包括分别用于实现上面的应用于VPN POP的机器人网络认证方法中的各种步骤的各个程序代码551。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如图6所示的便携式或者固定存储单元。该存储单元可以具有与图5的计算处理设备中的存储器530类似布置的存储段、存储空间等。程序代码例如可以以适当形式进行压缩。这里,存储单元可以包括计算机可读代码551’,即可以由诸如510之类的处理器读取的代码,当这些代码由服务器运行时,使得该服务器执行上面所描述的应用于VPN POP的机器人网络认证方法中的各个步骤。FIG. 5 is a schematic structural diagram of a computing processing device provided by the present disclosure. The computing processing device may include a processor 510 and a computer program product or computer readable medium in the form of memory 530 . Memory 530 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. The memory 530 may include a storage space 550, which may include program codes for performing any method steps in the methods described above. For example, the storage space 550 may include various program codes 551 for respectively implementing various steps in the above robot network authentication method applied to the VPN POP. These program codes can be read from or written into one or more computer program products. These computer program products comprise program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as shown in FIG. 6 . The storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 530 in the computing processing device of FIG. 5 . The program code can, for example, be compressed in a suitable form. Here, the memory unit may include computer readable code 551', i.e. code readable by a processor such as 510, which when executed by the server causes the server to execute the robot described above for VPN POP Steps in a network authentication method.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开所提供的应用于机器人的机器人网络认证方法的步骤。The present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the robot network authentication method applied to robots provided in the present disclosure are implemented.
在另一示例性实施例中,还提供一种计算机程序产品,该计算机程序产品包含能够由可编程的装置执行的计算机程序,该计算机程序具有当由该可编程的装置执行时用于执行上述的应用于机器人的机器人网络认证方法的代码部分。In another exemplary embodiment, there is also provided a computer program product comprising a computer program executable by a programmable device, the computer program having a function for performing the above-mentioned The code section of the bot network authentication method applied to the bot.
本公开还提供一种计算处理设备,包括:The present disclosure also provides a computing processing device, including:
存储器,其中存储有计算机可读代码;以及a memory having computer readable code stored therein; and
一个或多个处理器,当所述计算机可读代码被所述一个或多个处理器执行时,所述计算处理设备执行本公开所提供的应用于机器人的机器人网络认证方法的步骤。One or more processors, when the computer readable code is executed by the one or more processors, the computing processing device executes the steps of the robot network authentication method applied to robots provided by the present disclosure.
图7为本公开所提供的一种计算处理设备的结构示意图。该计算处理设备可以包括处理器710和以存储器730形式的计算机程序产品或者计算机可读介质。存储器730可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器730可以包括存储空间750,存储空间750可以包括用于执行上述方法中的任何方法步骤的程序代码。例如,存储空间750可以包括分别用于实现上面的应用于机器人的机器人网络认证方法中的各种步骤的各个程序代码751。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如图8所示的便携式或者固定存储单元。该存储单元可以具有与图7的计算处理设备中的存储器730类似布置的存储段、存储空间等。程序代码例如可以以适当形式进行压缩。这里,存储单元可以包括计算机可读代码751’,即可以由诸如710之类的处理器读取的代码,当这些代码由服务器运行时,使得该服务器执行上面所描述的用于机器人的机器人网络认证方法中的各个步骤。FIG. 7 is a schematic structural diagram of a computing processing device provided by the present disclosure. The computing processing device may include a processor 710 and a computer program product or computer readable medium in the form of memory 730 . Memory 730 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. The memory 730 may include a storage space 750, and the storage space 750 may include program codes for performing any method steps in the methods described above. For example, the storage space 750 may include various program codes 751 for respectively implementing various steps in the above robot network authentication method applied to a robot. These program codes can be read from or written into one or more computer program products. These computer program products comprise program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as shown in FIG. 8 . The storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 730 in the computing processing device of FIG. 7 . The program code can, for example, be compressed in a suitable form. Here, the memory unit may include computer readable code 751', i.e. code readable by a processor such as 710, which when executed by the server causes the server to execute the robot network for robots described above. The individual steps in the authentication method.
以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。The preferred embodiments of the present disclosure have been described in detail above in conjunction with the accompanying drawings. However, the present disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of the present disclosure, various simple modifications can be made to the technical solutions of the present disclosure. These simple modifications all belong to the protection scope of the present disclosure.
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合,为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。In addition, it should be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner if there is no contradiction. The combination method will not be described separately.
此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。In addition, various implementations of the present disclosure can be combined arbitrarily, as long as they do not violate the idea of the present disclosure, they should also be regarded as the content disclosed in the present disclosure.

Claims (15)

  1. 一种机器人网络认证系统,其特征在于,包括多个虚拟专用网络服务接入点VPN POP,每个所述VPN POP能够获取区块链网络中的区块链账本,所述区块链账本中包括已注册的机器人的注册信息;A robot network authentication system, characterized in that it includes a plurality of virtual private network service access points VPN POP, each of the VPN POP can obtain the block chain account book in the block chain network, in the block chain account book including the registration information of registered robots;
    任一所述VPN POP用于,在接收到目标机器人的网络认证请求时,基于所述区块链账本中的注册信息,确定所述目标机器人是否已注册,并在所述目标机器人已注册的情况下,与所述目标机器人进行双向认证。Any one of the VPN POPs is used to determine whether the target robot is registered based on the registration information in the block chain account book when receiving the network authentication request of the target robot, and to determine whether the target robot has registered. In this case, perform two-way authentication with the target robot.
  2. 根据权利要求1所述的机器人网络认证系统,其特征在于,还包括:The robot network authentication system according to claim 1, further comprising:
    第一认证管理端,所述第一认证管理端为具备机器人注册权限的区块链节点,用于在接收到机器人的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中;并将所述区块链网络的启动节点信息发送至所述机器人,其中,所述注册信息包括所述机器人的区块链地址以及公钥;The first authentication management terminal, the first authentication management terminal is a block chain node with robot registration authority, and is used to write the registration information in the registration request into the area when receiving the registration request of the robot. In the block chain ledger; and send the start node information of the block chain network to the robot, wherein the registration information includes the block chain address and public key of the robot;
    所述机器人用于,保存所述启动节点信息,并基于所述启动节点信息接入至所述区块链网络。The robot is used for saving the starting node information, and accessing the block chain network based on the starting node information.
  3. 根据权利要求1所述的机器人网络认证系统,其特征在于,还包括:The robot network authentication system according to claim 1, further comprising:
    第二认证管理端,所述第二认证管理端为具备机器人注销权限的区块链节点,用于在接收到机器人注销请求时,根据所述注销请求中的机器人标识确定待注销的机器人,并将所述区块链账本中的所述待注销的机器人的注册状态更新为注销状态。The second authentication management terminal, the second authentication management terminal is a block chain node with robot cancellation authority, used to determine the robot to be canceled according to the robot identification in the cancellation request when receiving the robot cancellation request, and Updating the registration status of the robot to be canceled in the blockchain ledger to the cancellation status.
  4. 根据权利要求1所述的机器人网络认证系统,其特征在于,还包括:The robot network authentication system according to claim 1, further comprising:
    第三认证管理端,所述第二认证管理端为具备VPN POP注册权限的区块链节点,用于在接收到VPN POP的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中,所述注册信息包括所述VPN POP的区块链地址和公钥。The third authentication management terminal, the second authentication management terminal is a block chain node with VPN POP registration authority, and is used to write the registration information in the registration request to the registration request when receiving the VPN POP registration request. In the blockchain ledger, the registration information includes the blockchain address and public key of the VPN POP.
  5. 根据权利要求1所述的机器人网络认证系统,其特征在于,所述VPN POP具备机器人注册权限,任一所述VPN POP还用于,在接收到机器人的注册请求时,将所述注册请求中的注册信息写入至所述区块链账本中;并将所述区块链网络的启动节点信息发 送至所述机器人,其中,所述注册信息包括所述机器人的区块链地址以及公钥;The robot network authentication system according to claim 1, wherein the VPN POP has a robot registration authority, and any one of the VPN POPs is also used for, when receiving a registration request from a robot, including the registration request in the registration request. The registration information of the blockchain is written into the blockchain ledger; and the startup node information of the blockchain network is sent to the robot, wherein the registration information includes the blockchain address and public key of the robot ;
    所述机器人用于,保存所述启动节点信息,并基于所述启动节点信息接入至所述区块链网络。The robot is used for saving the starting node information, and accessing the block chain network based on the starting node information.
  6. 根据权利要求1所述的机器人网络认证系统,其特征在于,所述VPN POP具备机器人注销权限,任一所述VPN POP还用于,在接收到机器人注销请求时,根据所述注销请求中的机器人标识确定待注销的机器人,并将所述区块链账本中的所述待注销的机器人的注册状态更新为注销状态。The robot network authentication system according to claim 1, wherein the VPN POP has a robot logout authority, and any one of the VPN POPs is also used for, when receiving a robot logout request, according to the logout request in the logout request The robot identification determines the robot to be canceled, and updates the registration status of the robot to be canceled in the blockchain ledger to the cancellation status.
  7. 根据权利要求1所述的机器人网络认证系统,其特征在于,所述VPN POP通过如下方式与所述目标机器人进行双向认证:The robot network authentication system according to claim 1, wherein the VPN POP carries out two-way authentication with the target robot in the following manner:
    向所述目标机器人发送第一随机数以及所述VPN POP的第一区块链地址;Send the first random number and the first blockchain address of the VPN POP to the target robot;
    接收所述目标机器人发送的第一身份验证信息,所述第一身份验证信息由所述目标机器人通过该目标机器人的私钥对所述第一随机数加密得到;receiving the first identity verification information sent by the target robot, the first identity verification information is obtained by the target robot by encrypting the first random number with the private key of the target robot;
    基于所述目标机器人的公钥对所述第一身份验证信息进行解密验证;并,Decrypting and verifying the first identity verification information based on the public key of the target robot; and,
    在解密验证成功的情况下,向所述目标机器人发送第二身份验证信息,所述第二身份验证信息由所述VPN POP通过该VPN POP的私钥对第二随机数加密得到,所述第二随机数由所述目标机器人生成,所述第二身份验证信息用于所述目标机器人对所述VPNPOP进行认证。In the case that the decryption verification is successful, send the second identity verification information to the target robot, the second identity verification information is obtained by encrypting the second random number by the VPN POP through the private key of the VPN POP, and the second identity verification information is obtained by encrypting the second random number through the private key of the VPN POP Two random numbers are generated by the target robot, and the second identity verification information is used by the target robot to authenticate the VPNPOP.
  8. 根据权利要求1至7中任一项所述的机器人网络认证系统,其特征在于,任一所述VPN POP还用于,在对所述目标机器人认证失败时,向所述目标机器人发送认证失败信息;The robot network authentication system according to any one of claims 1 to 7, wherein any one of the VPN POPs is also used to send an authentication failure message to the target robot when the target robot fails to be authenticated. information;
    所述目标机器人还用于,在接收到所述认证失败信息之后,向所述多个VPN POP中的另一VPN POP发送网络认证请求。The target robot is further configured to, after receiving the authentication failure information, send a network authentication request to another VPN POP among the plurality of VPN POPs.
  9. 一种机器人网络认证方法,其特征在于,应用于区块链网络中的任一VPN POP,其中,所述区块链网络中包括多个VPN POP,每个所述VPN POP能够获取所述区块链网络中的区块链账本,所述区块链账本中包括已注册机器人的注册信息,所述方法包括:A robot network authentication method is characterized in that it is applied to any VPN POP in the block chain network, wherein the block chain network includes a plurality of VPN POPs, and each VPN POP can obtain the area A block chain account book in a block chain network, the block chain account book includes registration information of a registered robot, and the method includes:
    接收目标机器人的网络认证请求,所述网络认证请求包括注册验证信息;Receive a network authentication request from the target robot, where the network authentication request includes registration verification information;
    根据所述注册验证信息以及所述区块链账本中的注册信息确定所述目标机器人是否已注册;determining whether the target robot has been registered according to the registration verification information and the registration information in the blockchain ledger;
    在所述目标机器人已注册的情况下,发起与所述目标机器人之间的双向认证流程。In the case that the target robot has been registered, initiate a two-way authentication process with the target robot.
  10. 根据权利要求9所述的方法,其特征在于,所述双向认证流程,包括:The method according to claim 9, wherein the two-way authentication process includes:
    向所述目标机器人发送第一随机数以及所述VPN POP的第一区块链地址;Send the first random number and the first blockchain address of the VPN POP to the target robot;
    接收所述目标机器人发送的第一身份验证信息,所述第一身份验证信息由所述目标机器人通过该目标机器人的私钥对所述第一随机数加密得到;receiving the first identity verification information sent by the target robot, the first identity verification information is obtained by the target robot by encrypting the first random number with the private key of the target robot;
    基于所述目标机器人的公钥对所述第一身份验证信息进行解密验证;并,Decrypting and verifying the first identity verification information based on the public key of the target robot; and,
    在解密验证成功的情况下,向所述目标机器人发送第二身份验证信息,所述第二身份验证信息由所述VPN POP通过该VPN POP的私钥对第二随机数加密得到,所述第二随机数由所述目标机器人生成,所述第二身份验证信息用于所述目标机器人对所述VPN POP进行认证。In the case that the decryption verification is successful, send the second identity verification information to the target robot, the second identity verification information is obtained by encrypting the second random number by the VPN POP through the private key of the VPN POP, and the second identity verification information is obtained by encrypting the second random number through the private key of the VPN POP Two random numbers are generated by the target robot, and the second identity verification information is used for the target robot to authenticate the VPN POP.
  11. 一种机器人网络认证方法,其特征在于,应用于目标机器人,所述方法包括:A robot network authentication method, characterized in that it is applied to a target robot, the method comprising:
    向区块链网络中的任一VPN POP发送网络认证请求;其中,所述区块链网络中包括多个VPN POP,每个所述VPN POP能够获取所述区块链网络中的区块链账本,所述区块链账本中包括已注册机器人的注册信息,所述网络认证请求包括所述目标机器人的注册验证信息,所述注册验证信息用于所述VPN POP确定所述目标机器人是否已注册,并在所述目标机器人已注册的情况下,发起与所述目标机器人之间的双向认证流程;Send a network authentication request to any VPN POP in the blockchain network; wherein, the blockchain network includes multiple VPN POPs, and each VPN POP can obtain the blockchain in the blockchain network account book, the blockchain account book includes the registration information of the registered robot, the network authentication request includes the registration verification information of the target robot, and the registration verification information is used by the VPN POP to determine whether the target robot has registering, and initiating a two-way authentication process with the target robot if the target robot is already registered;
    在所述VPN POP发起双向认证流程的情况下,与所述VPN POP进行双向认证。Under the situation that described VPN POP initiates two-way authentication procedure, carry out two-way authentication with described VPN POP.
  12. 根据权利要求11所述的方法,其特征在于,所述双向认证流程,包括:The method according to claim 11, wherein the two-way authentication process includes:
    接收所述VPN POP发送的第一随机数以及所述VPN POP的第一区块链地址;Receive the first random number sent by the VPN POP and the first blockchain address of the VPN POP;
    通过所述目标机器人的私钥对所述第一随机数进行加密,得到第一身份验证信息;Encrypting the first random number with the private key of the target robot to obtain first identity verification information;
    向所述VPN POP发送所述第一身份验证信息;Send the first authentication information to the VPN POP;
    接收所述VPN POP发送的第二身份验证信息,所述第二身份验证信息由所述VPN POP在基于所述目标机器人的公钥对所述第一身份验证信息解密验证成功的情况下生成,所述二身份验证信息由所述VPN POP通过该VPN POP的私钥对第二随机数加密得到,所述第二随机数由所述目标机器人生成;receiving the second identity verification information sent by the VPN POP, where the second identity verification information is generated by the VPN POP when the first identity verification information is successfully decrypted and verified based on the public key of the target robot, The second identity verification information is obtained by encrypting a second random number through the private key of the VPN POP by the VPN POP, and the second random number is generated by the target robot;
    通过所述VPN POP的公钥对所述第二身份验证信息进行解密验证。Decrypting and verifying the second identity verification information through the public key of the VPN POP.
  13. 一种计算机程序,其特征在于,包括计算机可读代码,当所述计算机可读代码在计算处理设备上运行时,使得所述计算处理设备执行根据权利要求9至12中任一项所述的方法。A computer program, characterized in that it includes computer readable code, which when the computer readable code is run on a computing processing device, causes the computing processing device to execute the method according to any one of claims 9 to 12 method.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求9至12中任一项所述方法的步骤。A computer-readable storage medium, on which a computer program is stored, wherein, when the program is executed by a processor, the steps of the method according to any one of claims 9 to 12 are realized.
  15. 一种计算处理设备,其特征在于,包括:A computing processing device, characterized in that it includes:
    存储器,其上存储有计算机程序;a memory on which a computer program is stored;
    处理器,用于执行所述存储器中的所述计算机程序,以实现权利要求9至12中任一项所述方法的步骤。A processor configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 9 to 12.
PCT/CN2021/143779 2021-06-29 2021-12-31 Network authentication system and method for robot WO2023273279A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110729431.1A CN115250192A (en) 2021-06-29 2021-06-29 Robot network authentication system and method
CN202110729431.1 2021-06-29

Publications (1)

Publication Number Publication Date
WO2023273279A1 true WO2023273279A1 (en) 2023-01-05

Family

ID=83697232

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143779 WO2023273279A1 (en) 2021-06-29 2021-12-31 Network authentication system and method for robot

Country Status (2)

Country Link
CN (1) CN115250192A (en)
WO (1) WO2023273279A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230131988A1 (en) * 2021-10-22 2023-04-27 AVAST Software s.r.o. Privacy preserving malicious network activity detection and mitigation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110107414A1 (en) * 2009-11-03 2011-05-05 Broadcom Corporation System and Method for Location Assisted Virtual Private Networks
CN108702622A (en) * 2017-11-30 2018-10-23 深圳前海达闼云端智能科技有限公司 Mobile network's access authentication method, device, storage medium and block chain node
CN110602695A (en) * 2019-10-18 2019-12-20 中国联合网络通信集团有限公司 Block chain-based spectrum sharing method, device and system
US20200084020A1 (en) * 2018-09-11 2020-03-12 International Business Machines Corporation Access to data broadcast in encrypted form based on blockchain
CN111033502A (en) * 2017-08-28 2020-04-17 国际商业机器公司 Authentication via blockchain using biometric data and irreversible functions

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109088865B (en) * 2018-08-02 2021-10-12 京东方科技集团股份有限公司 User identity authentication method and device, readable storage medium and computer equipment
KR102196478B1 (en) * 2019-10-04 2020-12-30 주식회사 레인보우브레인 Method and system for providing verification services of result of artificial intelligence robot automation software execution based on blockchain
CN110602691B (en) * 2019-10-18 2022-07-22 中国联合网络通信集团有限公司 Mobile communication method and device based on block chain network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110107414A1 (en) * 2009-11-03 2011-05-05 Broadcom Corporation System and Method for Location Assisted Virtual Private Networks
CN111033502A (en) * 2017-08-28 2020-04-17 国际商业机器公司 Authentication via blockchain using biometric data and irreversible functions
CN108702622A (en) * 2017-11-30 2018-10-23 深圳前海达闼云端智能科技有限公司 Mobile network's access authentication method, device, storage medium and block chain node
US20200084020A1 (en) * 2018-09-11 2020-03-12 International Business Machines Corporation Access to data broadcast in encrypted form based on blockchain
CN110602695A (en) * 2019-10-18 2019-12-20 中国联合网络通信集团有限公司 Block chain-based spectrum sharing method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230131988A1 (en) * 2021-10-22 2023-04-27 AVAST Software s.r.o. Privacy preserving malicious network activity detection and mitigation
US11895090B2 (en) * 2021-10-22 2024-02-06 AVAST Software s.r.o. Privacy preserving malicious network activity detection and mitigation

Also Published As

Publication number Publication date
CN115250192A (en) 2022-10-28

Similar Documents

Publication Publication Date Title
JP6262278B2 (en) Method and apparatus for storage and computation of access control client
TWI475899B (en) Apparatus and methods for storing electronic access clients
US11711222B1 (en) Systems and methods for providing authentication to a plurality of devices
US20200106610A1 (en) System and method for decentralized identity management, authentication and authorization of applications
US9621355B1 (en) Securely authorizing client applications on devices to hosted services
US9306945B2 (en) Client authentication during network boot
US8549326B2 (en) Method and system for extending encrypting file system
US8918641B2 (en) Dynamic platform reconfiguration by multi-tenant service providers
US20130227646A1 (en) Methods and apparatus for large scale distribution of electronic access clients
BR102012007800A2 (en) Methods and apparatus for distributing and storing electronic access clients
TW201428535A (en) Policy-based techniques for managing access control
JP2010531516A (en) Device provisioning and domain join emulation over insecure networks
BRPI0419244B1 (en) “REMOTE ACCESS METHOD AND SYSTEM TO ENABLE A USER TO REMOTELY ACCESS A TERMINAL EQUIPMENT”
JP2017152880A (en) Authentication system, key processing coordination method, and key processing coordination program
WO2023273279A1 (en) Network authentication system and method for robot
US20240086562A1 (en) User data management method and related device
EP3085007B1 (en) Push-based trust model for public cloud applications
WO2023273277A1 (en) Robot authentication system and method
US11171786B1 (en) Chained trusted platform modules (TPMs) as a secure bus for pre-placement of device capabilities
WO2023273269A1 (en) Robot authentication system and method
WO2022252912A1 (en) User data management method and related device
CN116166409A (en) Resource creation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21948201

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE