Safe wireless connection method and system applied to deploy and control ball

Through two-way identity authentication and MESH network technology, the security risks and costs of traditional ball deployment and control Wi-Fi communication are solved, a safe and reliable wireless connection is achieved, and the network security and stability of the ball deployment and control system are ensured.

CN118590884APending Publication Date: 2024-09-03GUANGDONG POWER TELECOMMUNICATION TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410677419.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Traditional Wi-Fi communication for ball control involves security risks and additional cost burdens. It cannot directly access the secure intranet, affecting data processing and access to sensitive information.

Method used

It adopts two-way identity authentication and multiple security mechanisms, establishes a secure connection through preset certificates and random challenge codes, uses MESH network technology to establish redundant wireless links between clients, and introduces a device information database to match device unique identification information to ensure that the device Legality audits and network extension security.

Benefits of technology

Effectively prevent illegal device access, ensure network access security, improve the high reliability and security of wireless connections, and ensure the security and stability of network expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590884A
    Figure CN118590884A
Patent Text Reader

Abstract

The invention discloses a secure wireless connection method and system applied to a deployment and control ball, and relates to the technical field of deployment and control balls, and the method comprises the steps that a client uses a preset certificate to initiate a secure connection request to a verification end; the verification end checks the validity of a preset certificate of the client, and if the preset certificate is valid, a random challenge code is generated, encrypted and sent to the client; the client decrypts the challenge code, constructs and encrypts a response data packet, and then sends the response data packet to the verification end; the verification end decrypts the response data packet and verifies the challenge code, and if the challenge code is correct, a session key is generated for subsequent communication; and the subsequent communication establishes a plurality of redundant wireless links between clients to realize secure connection. Through multiple security mechanisms such as bidirectional identity authentication, random challenge codes and digital certificates, illegal equipment is effectively prevented from accessing the network, and the access security of the network is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of control balls, and in particular to a secure wireless connection method and system applied to control balls. Background Art

[0002] Wireless communication technology plays an important role in the control system, providing convenience for remote monitoring and management of control balls. Traditional control balls usually use Wi-Fi communication, but there are some problems:

[0003] For traditional surveillance ball video transmission, it is usually transmitted through 4G or 5G networks and requires built-in traffic cards. These traffic cards need to be purchased from network operators and traffic fees need to be paid continuously, which may lead to additional cost burdens, especially for large-scale deployment of surveillance systems.

[0004] Using traditional Wi-Fi communications may pose security risks. For sensitive places such as substation intranets, security is of vital importance. Simple Wi-Fi password authentication methods pose the risk of unauthorized access to the network, leading to data theft, device attacks, or unauthorized access.

[0005] Wi-Fi communication cannot directly access the secure intranet, which means that the control ball cannot establish a connection with the secure internal network. This may cause trouble for control tasks that require data processing, access to sensitive information, or interaction with other internal systems in the internal network. Summary of the invention

[0006] In view of the problems existing in the existing control ball security communication, the present invention is proposed.

[0007] Therefore, the problem to be solved by the present invention is.

[0008] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0009] In a first aspect, an embodiment of the present invention provides a secure wireless connection method for a control ball, which includes:

[0010] The client uses the pre-set certificate to initiate a secure connection request to the verification end;

[0011] The verification end checks the validity of the pre-set certificate of the client, and if it is valid, generates a random challenge code and encrypts it and sends it to the client;

[0012] The client decrypts the challenge code, constructs and encrypts a response data packet, and sends it to the verification end;

[0013] The verification end decrypts the response data packet and verifies the challenge code. If it is correct, a session key is generated for subsequent communication.

[0014] The subsequent communication establishes multiple redundant wireless links between the clients to achieve a secure connection.

[0015] As a preferred solution of the secure wireless connection method for controlling a ball according to the present invention, the generation of the encrypted response data packet includes:

[0016] The client uses its own private key to decrypt the received encrypted challenge code using an asymmetric algorithm, obtains the original random challenge code sent by the verification end, uses the original random challenge code as a part, constructs the response data, uses its own private key to digitally sign the response data, and then uses the public key of the verification end to encrypt the signed response data.

[0017] As a preferred solution of the secure wireless connection method for the control ball of the present invention, wherein: the verification end verifies the challenge code in the response encryption package, and if it is correct, it also includes:

[0018] If the current network status is abnormal, additional verification is performed on the client's authentication request, including:

[0019] When the client passes the certificate authentication, the verification end does not immediately return a successful access, but extracts the device identification information from the client's certificate, and uses the identification information to query the record of the device in the internal database. If a record that completely matches the client's identification is found in the database, it means that the client is an authorized trusted device. If no matching record is found, the verification end rejects the client's access request or returns "temporary access" permission; when the verification end returns temporary access, the client accesses the verification end and records the client's information at the same time. The administrator will subsequently audit the newly added verification end to confirm its legitimacy and decide whether to permanently add it to the trusted device list.

[0020] As a preferred solution of the secure wireless connection method for controlling a ball according to the present invention, the multiple redundant wireless links include:

[0021] Each client is configured as a wireless node of the wireless network, so that the clients can automatically discover each other using the communication protocol and establish multiple redundant wireless links.

[0022] As a preferred solution of the secure wireless connection method for the control ball of the present invention, when a new node joins the existing wireless network, the following steps are included:

[0023] The new node sends an access request to the adjacent existing node;

[0024] The existing node forwards the access request to the verification end;

[0025] The verification end verifies the legitimacy of the new node certificate and sends access permission to the existing node if it is legitimate;

[0026] The existing node forwards the access permission to the new node;

[0027] The new node uses the certificate key material to negotiate with the existing nodes to establish a secure connection and join the wireless network.

[0028] As a preferred solution of the secure wireless connection method for controlling the ball of the present invention, wherein: the new node joining the existing wireless network also includes:

[0029] When the connection to the authenticator is interrupted, the existing node verifies the new node certificate using the locally cached certificate list and allows the new node to temporarily access but marks it as "unconfirmed".

[0030] As a preferred solution of the secure wireless connection method for the control ball of the present invention, when the connection of the verification end is restored, it includes:

[0031] The network sends the temporary access node information to the verification end;

[0032] The verification end conducts a legality review of the temporary node;

[0033] For temporary nodes that pass the review, new long-term certificates will be issued and temporary certificates will be revoked;

[0034] For illegal temporary nodes, their certificates are added to the revocation list and published to the entire network.

[0035] In a second aspect, an embodiment of the present invention provides a secure wireless connection system for a control ball, which includes:

[0036] Control ball and verify server;

[0037] The control ball includes a communication module, and the encryption mechanism provided by the communication module establishes a secure communication connection between the control ball and the communication server for remote monitoring and management of the control ball;

[0038] The verification server is used to verify the validity of the client certificate, generate a random challenge code, and negotiate a session key.

[0039] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein: when the processor executes the computer program, any step of the above-mentioned secure wireless connection method applied to the control ball is implemented.

[0040] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the above-mentioned secure wireless connection method applied to a control ball is implemented.

[0041] The beneficial effects of the present invention are that through multiple security mechanisms such as two-way identity authentication, random challenge codes, digital certificates, etc., illegal devices are effectively prevented from accessing the network, ensuring the access security of the network, and introducing a device information database. In addition to certificate authentication, the device's unique identification information must fully match the database before access, thereby further strengthening the control of access devices. MESH network technology is used to establish multiple redundant wireless links between clients, ensuring the high reliability of wireless connections. New node secure access conducts strict certificate legitimacy review when new nodes access the existing network, ensuring the security of network expansion. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0043] Figure 1 The present invention is a flow chart of a secure wireless connection method for a surveillance ball. DETAILED DESCRIPTION

[0044] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0045] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0046] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0047] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0048] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0049] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0050] Example 1

[0051] Reference Figure 1 , which is the first embodiment of the present invention, and provides a secure wireless connection method applied to a control ball, comprising:

[0052] In the embodiment of the present invention, description will be made from the perspective of a control ball, which integrates WAPI technology.

[0053] Configure a secure wireless controller (AC) to implement bidirectional identity authentication between the control ball and the AC, as follows, where the client is the control ball and the verification end is the wireless controller:

[0054] The client uses the factory pre-loaded device certificate to initiate a CAPWAP / LWAPP connection request to the verification end, and receives the challenge code sent by the verification end. The client uses its own private key to decrypt the challenge code and construct a response data packet. The response data packet includes the original challenge code received from the verification end, the client's certificate information, the client's identification information, and the key seed.

[0055] The client uses the private key of the device certificate to digitally sign the constructed response data using an asymmetric encryption algorithm, and uses the public key of the certificate of the verification end to encrypt the response data packet containing the signature.

[0056] The client sends the encrypted response data packet to the verification end via the wireless link.

[0057] Preferably, the client receives the encrypted challenge code from the verification end, uses its own private key to decrypt the received encrypted challenge code using an asymmetric algorithm, obtains the original random challenge code sent by the verification end, uses the original random challenge code as a part, constructs a response data packet, uses its own private key to digitally sign the response data, and then uses the public key of the verification end to encrypt the signed response data.

[0058] Furthermore, a secure authentication server (AS) is configured to implement two-way identity authentication between the control ball and the AS, where the client is the control ball and the verification end is the authentication server, as follows:

[0059] The client uses the EAP-TLS protocol to initiate an authentication request to the verification end, and receives a challenge code sent by the verification end. The client decrypts the random challenge code, constructs a response data packet, encrypts the response data packet, and sends it to the verification end.

[0060] It should be noted that the wireless link achieves high reliability connection through MESH network technology.

[0061] In some embodiments, constructing a communication network using MESH network technology may include:

[0062] Each client is configured as a wireless node of the MESH network. The clients automatically discover each other using the MESH protocol, and through the routing algorithm, multiple redundant wireless links are established between the clients. Data can be transmitted in the entire MESH network through multiple paths.

[0063] For example, when a new client joins the network, it can be:

[0064] When a new node needs to access an existing MESH network, it will first use a preset certificate to send an access request to a nearby existing node. After receiving the access request from the new node, the existing MESH node cannot directly verify the legitimacy of the new node certificate, so it will forward the request to the verification end through the MESH network.

[0065] After receiving the access request, the verification end will first conduct a comprehensive verification of the legitimacy of the new node certificate, including checking whether the certificate has expired or been revoked, checking whether the certificate signature is issued by a trusted root CA, and checking whether the device identification information in the certificate belongs to an authorized device.

[0066] If the certificate verification passes, the verification end confirms that the new node is a legitimate device, and then issues an access permit to the existing node that sent the access request. After receiving the access permit from the verification end, the existing node will forward the permit information to the new node through a secure channel.

[0067] After receiving the access permission, the new node can use the key material in the certificate to negotiate with the existing nodes to establish a secure connection and officially join the MESH network. After that, the new node can use the MESH protocol to communicate with other nodes and receive and forward data messages.

[0068] Furthermore, when the connection to the verification end is interrupted, the legitimacy of the new node cannot be verified in real time. At this time, the MESH network will enable a backup mechanism, which can be:

[0069] Each client node will cache a list of trusted certificates locally. This list contains all the legal node certificates that have been authenticated by the verification end. When a new node tries to access, the existing node cannot contact the verification end. The existing node will use the locally cached certificate list to verify the certificate provided by the new node. If the new node certificate is in the local list or is issued by a trusted CA, it is considered legal. The existing node will allow the new node to temporarily access the MESH network. However, the new node that is temporarily connected will be marked as "unconfirmed". The network will regularly audit the legitimacy of these temporary nodes. Once an illegal node is found, it will be immediately removed from the network.

[0070] When the connection of the verifier is restored, the network will package the information of all new nodes temporarily connected during the disconnection of the verifier and send it to the verifier. The verifier verifies the legitimacy of the temporary nodes. After receiving the temporary node information, the verifier will conduct a comprehensive legitimacy review of these nodes one by one, including:

[0071] Verify the validity and integrity of node certificates;

[0072] Check whether the node certificate is issued by a CA trusted by the verification end;

[0073] Compare with the internal database to confirm that the node identification information belongs to the authorized device;

[0074] Additional personalized legality checks may be performed as needed;

[0075] For temporary nodes that have passed the review, the verification end will reissue new long-term valid legal certificates for them. At the same time, the temporary certificates they used previously will be revoked. If some temporary nodes are found to be illegal nodes and do not meet the access conditions, the verification end will add the certificates of these nodes to the revocation list and publish the revocation list to the entire MESH network.

[0076] After all MESH network nodes receive the information released by the verification end, they update the newly issued certificates of the legitimate nodes, replace the old certificates, remove the revoked illegal node certificates from the trust list, and eliminate any nodes in the network that use revoked certificates.

[0077] Furthermore, when a device in an existing network changes, it can be:

[0078] For network devices that need to be changed, the verification end will first issue a new digital certificate for it. After receiving the new certificate, the device will actively use the new certificate to initiate an identity authentication request to the network. When other network nodes receive the device's authentication request, they will first verify the legitimacy of the new certificate attached to the request. After the verification is passed, the network allows the device to use the new certificate for subsequent operations.

[0079] Once a device passes authentication using a new certificate, its old certificate automatically becomes invalid, and the network node removes the device's old certificate from the trust list. If there are still devices in the network trying to use the expired old certificate to operate, the network will immediately identify the request as illegal, reject the corresponding operation, and automatically kick the device using the old certificate out of the network, prohibiting its access.

[0080] Devices that successfully pass authentication using the new certificate will be accepted by the network as legitimate nodes and can communicate with other nodes in the network in an encrypted manner, access and operate securely. After a period of time, all nodes in the network have used the new certificate and trust each other, completing a smooth transition from using the old certificate to the new certificate, and the entire network is running stably again in a new security state.

[0081] This process ensures that changes to device certificates will not interrupt the normal operation of the network, while also preventing illegal access using old certificates and ensuring the continued security of the network. During the change, there is no impact on existing services, achieving secure and seamless switching.

[0082] Example 2

[0083] The second embodiment of the present invention is different from the first embodiment. This embodiment provides a secure wireless connection method applied to a control ball, including:

[0084] In the embodiment of the present invention, the description will be made from the perspective of the verification end, which is a wireless controller and an authentication server.

[0085] Configure a secure wireless controller (AC) to implement bidirectional identity authentication between the control ball and the AC, as follows, where the client is the control ball and the verification end is the wireless controller:

[0086] The verification end receives the client's request and checks whether the certificate in the request is valid and whether it is in the trust list. If the certificate is valid, the verification end generates a random challenge code, encrypts it and sends it to the client.

[0087] The authenticator receives the response data packet from the client, decrypts the response data packet using the client's certificate public key, and verifies whether the challenge code is correct. The authenticator generates a session key for subsequent encrypted communications.

[0088] Preferably, the verification end generates a random challenge code, which is a 128-bit or longer random digital sequence. The verification end uses the public key in the client's public key certificate to encrypt the challenge code, and the verification end sends the encrypted challenge code to the client. The verification end receives the response data, decrypts it using its own private key, and checks whether the decrypted data contains the random challenge code. If so, it means that the client does hold the corresponding private key, confirming the identity.

[0089] Furthermore, a secure authentication server (AS) is configured to implement two-way identity authentication between the control ball and the AS, where the client is the control ball and the verification end is the authentication server, as follows:

[0090] The verification end receives the client's request, checks the validity and credibility of the client's certificate, generates a new random challenge code, and sends it to the client after encryption.

[0091] The verification end receives the response data packet sent by the client, decrypts the response data packet, verifies the challenge code, and generates a new session key for subsequent communications.

[0092] Preferably, if the current network status is abnormal, additional verification is performed on the client's authentication request, including:

[0093] The verification end maintains an internal database to store information of all devices authorized to access. The record of each device in the database includes at least unique identification information such as device MAC address, serial number, factory code, model, etc.

[0094] When the client passes the certificate authentication, the verification end does not immediately return a successful access, but extracts the device identification information from the client's certificate, and uses the identification information to query the record of the device in the internal database. If a record that completely matches the client's identification is found in the database, it means that the client is an authorized trusted device. If no matching record is found, the verification end rejects the client's access request or returns "temporary access" permission; when the verification end returns temporary access, the client accesses the verification end and records the client's information at the same time. The administrator will subsequently audit the newly added verification end to confirm its legitimacy and decide whether to permanently add it to the trusted device list.

[0095] Furthermore, for a query result of "trusted device", the verification end returns a response message of "access successful" to the client, and for an "untrusted device", the verification end returns an error message of "access denied".

[0096] It should be noted that the wireless link achieves high reliability connection through MESH network technology.

[0097] In some embodiments, constructing a communication network using MESH network technology may include:

[0098] Each client is configured as a wireless node of the MESH network. The clients automatically discover each other using the MESH protocol, and through the routing algorithm, multiple redundant wireless links are established between the clients. Data can be transmitted in the entire MESH network through multiple paths.

[0099] For example, when a new client joins the network, it can be:

[0100] When a new node needs to access an existing MESH network, it will first use a preset certificate to send an access request to a nearby existing node. After receiving the access request from the new node, the existing MESH node cannot directly verify the legitimacy of the new node certificate, so it will forward the request to the verification end through the MESH network.

[0101] After receiving the access request, the verification end will first conduct a comprehensive verification of the legitimacy of the new node certificate, including checking whether the certificate has expired or been revoked, checking whether the certificate signature is issued by a trusted root CA, and checking whether the device identification information in the certificate belongs to an authorized device.

[0102] If the certificate verification passes, the verification end confirms that the new node is a legitimate device, and then issues an access permit to the existing node that sent the access request. After receiving the access permit from the verification end, the existing node will forward the permit information to the new node through a secure channel.

[0103] After receiving the access permission, the new node can use the key material in the certificate to negotiate with the existing nodes to establish a secure connection and officially join the MESH network. After that, the new node can use the MESH protocol to communicate with other nodes and receive and forward data messages.

[0104] Furthermore, when the connection to the verification end is interrupted, the legitimacy of the new node cannot be verified in real time. At this time, the MESH network will enable a backup mechanism, which can be:

[0105] Each client node will cache a list of trusted certificates locally. This list contains all the legal node certificates that have been authenticated by the verification end. When a new node tries to access, the existing node cannot contact the verification end. The existing node will use the locally cached certificate list to verify the certificate provided by the new node. If the new node certificate is in the local list or is issued by a trusted CA, it is considered legal. The existing node will allow the new node to temporarily access the MESH network. However, the new node that is temporarily connected will be marked as "unconfirmed". The network will regularly audit the legitimacy of these temporary nodes. Once an illegal node is found, it will be immediately removed from the network.

[0106] When the connection of the verifier is restored, the network will package the information of all new nodes temporarily connected during the disconnection of the verifier and send it to the verifier. The verifier verifies the legitimacy of the temporary nodes. After receiving the temporary node information, the verifier will conduct a comprehensive legitimacy review of these nodes one by one, including:

[0107] Verify the validity and integrity of node certificates;

[0108] Check whether the node certificate is issued by a CA trusted by the verification end;

[0109] Compare with the internal database to confirm that the node identification information belongs to the authorized device;

[0110] Additional personalized legality checks may be performed as needed;

[0111] For temporary nodes that have passed the review, the verification end will reissue new long-term valid legal certificates for them. At the same time, the temporary certificates they used previously will be revoked. If some temporary nodes are found to be illegal nodes and do not meet the access conditions, the verification end will add the certificates of these nodes to the revocation list and publish the revocation list to the entire MESH network.

[0112] After all MESH network nodes receive the information released by the verification end, they update the newly issued certificates of the legitimate nodes, replace the old certificates, remove the revoked illegal node certificates from the trust list, and eliminate any nodes in the network that use revoked certificates.

[0113] Furthermore, when a device in an existing network changes, it can be:

[0114] For network devices that need to be changed, the verification end will first issue a new digital certificate for it. After receiving the new certificate, the device will actively use the new certificate to initiate an identity authentication request to the network. When other network nodes receive the device's authentication request, they will first verify the legitimacy of the new certificate attached to the request. After the verification is passed, the network allows the device to use the new certificate for subsequent operations.

[0115] Once a device passes authentication using a new certificate, its old certificate automatically becomes invalid, and the network node removes the device's old certificate from the trust list. If there are still devices in the network trying to use the expired old certificate to operate, the network will immediately identify the request as illegal, reject the corresponding operation, and automatically kick the device using the old certificate out of the network, prohibiting its access.

[0116] Devices that successfully pass authentication using the new certificate will be accepted by the network as legitimate nodes and can communicate with other nodes in the network in an encrypted manner, access and operate securely. After a period of time, all nodes in the network have used the new certificate and trust each other, completing a smooth transition from using the old certificate to the new certificate, and the entire network is running stably again in a new security state.

[0117] This process ensures that changes to device certificates will not interrupt the normal operation of the network, while also preventing illegal access using old certificates and ensuring the continued security of the network. During the change, there is no impact on existing services, achieving secure and seamless switching.

[0118] Example 3

[0119] This is the third embodiment of the present invention. Different from the first two embodiments, this embodiment provides a secure wireless connection method applied to a control ball, including:

[0120] In the embodiment of the present invention, the description will be made from the perspectives of the verification end and the client. The client is a control ball that integrates a WAPI module, and the verification end is a wireless controller and an authentication server.

[0121] Configure a secure wireless controller (AC) to implement bidirectional identity authentication between the control ball and the AC, as follows, where the client is the control ball and the verification end is the wireless controller:

[0122] The client uses the factory-preloaded device certificate to initiate a CAPWAP / LWAPP connection request to the authenticator. The authenticator checks whether the certificate in the request is valid and whether it is in the trust list. If the certificate is valid, the authenticator generates a random challenge code, encrypts it, and sends it to the client.

[0123] The client receives the challenge code sent by the verification end, and the client uses its own private key to decrypt the challenge code and construct a response data packet. The response data packet includes the original challenge code received from the verification end, the client's certificate information, the client's identification information and the key seed. The verification end uses the client's certificate public key to decrypt the response, verify whether the challenge code is correct, and generate a session key for subsequent encrypted communication.

[0124] Preferably, the verification end generates a random challenge code, which is a random digital sequence of 128 bits or longer. The verification end encrypts the challenge code using the public key in the client's public key certificate, and the verification end sends the encrypted challenge code to the client.

[0125] The client uses its own private key to decrypt the received encrypted challenge code using an asymmetric algorithm, obtains the original random challenge code sent by the verification end, uses the original random challenge code as a part, constructs the response data, uses its own private key to digitally sign the response data, and then uses the public key of the verification end to encrypt the signed response data.

[0126] The verification end receives the response data, decrypts it using its own private key, and checks whether the decrypted data contains the random challenge code. If so, it means that the client does hold the corresponding private key, thus confirming its identity.

[0127] Furthermore, a secure authentication server (AS) is configured to implement two-way identity authentication between the control ball and the AS, where the client is the control ball and the verification end is the authentication server, as follows:

[0128] The client uses the EAP-TLS protocol to initiate an authentication request to the verification end. The verification end checks the validity and credibility of the client certificate and generates a new random challenge code, which is encrypted and sent to the client. The client decrypts the random challenge code, constructs a response, encrypts the response, and sends it to the verification end.

[0129] The verification end decrypts the response, verifies the challenge code, and generates a new session key for subsequent communications.

[0130] Preferably, if the current network status is abnormal, additional verification is performed on the client's authentication request, including:

[0131] The verification end maintains an internal database to store information of all devices authorized to access. The record of each device in the database includes at least unique identification information such as device MAC address, serial number, factory code, model, etc.

[0132] When the client passes the certificate authentication, the verification end does not immediately return a successful access, but extracts the device identification information from the client's certificate, and uses the identification information to query the record of the device in the internal database. If a record that completely matches the client's identification is found in the database, it means that the client is an authorized trusted device. If no matching record is found, the verification end rejects the client's access request or returns "temporary access" permission; when the verification end returns temporary access, the client accesses the verification end and records the client's information at the same time. The administrator will subsequently audit the newly added verification end to confirm its legitimacy and decide whether to permanently add it to the trusted device list.

[0133] Furthermore, for a query result of "trusted device", the verification end returns a response message of "access successful" to the client, and for an "untrusted device", the verification end returns an error message of "access denied".

[0134] It should be noted that the wireless link achieves high reliability connection through MESH network technology.

[0135] In some embodiments, constructing a communication network using MESH network technology may include:

[0136] Each client is configured as a wireless node of the MESH network. The clients automatically discover each other using the MESH protocol, and through the routing algorithm, multiple redundant wireless links are established between the clients. Data can be transmitted in the entire MESH network through multiple paths.

[0137] For example, when a new client joins the network, it can be:

[0138] When a new node needs to access an existing MESH network, it will first use a preset certificate to send an access request to a nearby existing node. After receiving the access request from the new node, the existing MESH node cannot directly verify the legitimacy of the new node certificate, so it will forward the request to the verification end through the MESH network.

[0139] After receiving the access request, the verification end will first conduct a comprehensive verification of the legitimacy of the new node certificate, including checking whether the certificate has expired or been revoked, checking whether the certificate signature is issued by a trusted root CA, and checking whether the device identification information in the certificate belongs to an authorized device.

[0140] If the certificate verification passes, the verification end confirms that the new node is a legitimate device, and then issues an access permit to the existing node that sent the access request. After receiving the access permit from the verification end, the existing node will forward the permit information to the new node through a secure channel.

[0141] After receiving the access permission, the new node can use the key material in the certificate to negotiate with the existing nodes to establish a secure connection and officially join the MESH network. After that, the new node can use the MESH protocol to communicate with other nodes and receive and forward data messages.

[0142] Furthermore, when the connection to the verification end is interrupted, the legitimacy of the new node cannot be verified in real time. At this time, the MESH network will enable a backup mechanism, which can be:

[0143] Each client node will cache a list of trusted certificates locally. This list contains all the legal node certificates that have been authenticated by the verification end. When a new node tries to access, the existing node cannot contact the verification end. The existing node will use the locally cached certificate list to verify the certificate provided by the new node. If the new node certificate is in the local list or is issued by a trusted CA, it is considered legal. The existing node will allow the new node to temporarily access the MESH network. However, the new node that is temporarily connected will be marked as "unconfirmed". The network will regularly audit the legitimacy of these temporary nodes. Once an illegal node is found, it will be immediately removed from the network.

[0144] When the connection of the verifier is restored, the network will package the information of all new nodes temporarily connected during the disconnection of the verifier and send it to the verifier. The verifier verifies the legitimacy of the temporary nodes. After receiving the temporary node information, the verifier will conduct a comprehensive legitimacy review of these nodes one by one, including:

[0145] Verify the validity and integrity of node certificates;

[0146] Check whether the node certificate is issued by a CA trusted by the verification end;

[0147] Compare with the internal database to confirm that the node identification information belongs to the authorized device;

[0148] Additional personalized legality checks may be performed as needed;

[0149] For temporary nodes that have passed the review, the verification end will reissue new long-term valid legal certificates for them. At the same time, the temporary certificates they used previously will be revoked. If some temporary nodes are found to be illegal nodes and do not meet the access conditions, the verification end will add the certificates of these nodes to the revocation list and publish the revocation list to the entire MESH network.

[0150] After all MESH network nodes receive the information released by the verification end, they update the newly issued certificates of the legitimate nodes, replace the old certificates, remove the revoked illegal node certificates from the trust list, and eliminate any nodes in the network that use revoked certificates.

[0151] Furthermore, when a device in an existing network changes, it can be:

[0152] For network devices that need to be changed, the verification end will first issue a new digital certificate for it. After receiving the new certificate, the device will actively use the new certificate to initiate an identity authentication request to the network. When other network nodes receive the device's authentication request, they will first verify the legitimacy of the new certificate attached to the request. After the verification is passed, the network allows the device to use the new certificate for subsequent operations.

[0153] Once a device passes authentication using a new certificate, its old certificate automatically becomes invalid, and the network node removes the device's old certificate from the trust list. If there are still devices in the network trying to use the expired old certificate to operate, the network will immediately identify the request as illegal, reject the corresponding operation, and automatically kick the device using the old certificate out of the network, prohibiting its access.

[0154] Devices that successfully pass authentication using the new certificate will be accepted by the network as legitimate nodes and can communicate with other nodes in the network in an encrypted manner, access and operate securely. After a period of time, all nodes in the network have used the new certificate and trust each other, completing a smooth transition from using the old certificate to the new certificate, and the entire network is running stably again in a new security state.

[0155] This process ensures that changes to device certificates will not interrupt the normal operation of the network, while also preventing illegal access using old certificates and ensuring the continued security of the network. During the change, there is no impact on existing services, achieving secure and seamless switching.

[0156] Furthermore, the present embodiments 1, 2 and 3 also provide a secure wireless connection system for a control ball, including:

[0157] Control ball and verify server;

[0158] The control ball includes a communication module, and the encryption mechanism provided by the communication module establishes a secure communication connection between the control ball and the communication server for remote monitoring and management of the control ball;

[0159] The verification server is used to verify the validity of the client certificate, generate a random challenge code, and negotiate a session key.

[0160] This embodiment also provides a computer device, which is suitable for the case of a secure wireless connection method applied to a control ball, including a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute computer-executable instructions to implement the secure wireless connection method applied to a control ball as proposed in the above embodiment.

[0161] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0162] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the secure wireless connection method for a surveillance ball as proposed in the above embodiment is implemented.

[0163] The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0164] Example 2

[0165] This is the second embodiment of the present invention. This embodiment provides a secure wireless connection method applied to a control ball. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0166] To verify the feasibility and effectiveness of the scheme of the present invention, the researchers conducted actual tests and data collection on the scheme. The test environment includes 1 wireless controller (AC), 1 authentication server (AS), and 10 control balls equipped with WAPI modules as wireless clients.

[0167] First, configure the relevant security policies on the wireless controller AC, enable certificate-based two-way authentication, and import the certificate information preset on the control ball into the AC's trust list. At the same time, enable EAP-TLS authentication on the authentication server AS and import the same certificate information into the AS's trust list.

[0168] Next, the following three typical scenarios were simulated for testing:

[0169] Normal access situation

[0170] Start 10 control balls one by one to see if they can successfully access the wireless network. The specific process is that each control ball first initiates a CAPWAP connection request to the AC. After the AC verifies that its certificate is legitimate, it generates a random challenge code and encrypts it and sends it back to the client. The client uses the private key to decrypt the challenge code and constructs a response data to send back. After the AC verifies that the response is correct, it negotiates the session key. After that, the client uses EAP-TLS to initiate an authentication request to the AS. The AS repeats the above challenge-response process and finally assigns an IP address to the client to successfully access the network.

[0171] Temporary access and audit status

[0172] Based on the above normal access, the researchers temporarily disconnected the connection between AS and AC. At this time, two new control balls tried to access. Because the AS connection was interrupted, the legitimacy of the new client could not be verified in real time. Based on the locally cached certificate list, AC temporarily marked the two new clients as "unconfirmed" and allowed access.

[0173] After a while, the AS connection is restored, and the AC sends the information of the two temporary nodes to the AS. The AS reviews the legitimacy of each of them, and finds that there is a problem with the certificate of one node, so it adds its certificate to the revocation list and publishes it to the network; the other node passes the review, and a new long-term certificate is issued to it to replace the temporary certificate. Based on the revocation list, each node in the network removes the certificate of the illegal node from the trust list.

[0174] Certificate changes

[0175] After the network had been running for a while, the researchers simulated a situation where the certificates of three legitimate clients expired and needed to be changed. After AS issued new certificates to these three clients, they used the new certificates to initiate authentication requests. After AC and other nodes verified the legitimacy of the new certificates, they allowed them to continue running with the new certificates, while removing their old certificates from the trust list and prohibiting requests to use the old certificates.

[0176] During the entire testing process, the researchers recorded the data of key links in real time and finally compiled them into the following table:

[0177] Table 1 Experimental data table

[0178]

[0179] It can be seen from the above table that under normal circumstances, 10 control balls with pre-set legal certificates can successfully access the network, proving that the two-way identity authentication process of the solution of the present invention is effective and feasible.

[0180] The data of temporary access client shows that when the authentication server AS is temporarily disconnected, the network can still use the certificate list cached locally on the node to temporarily allow new clients to access, and then audit and confirm the legitimacy after the AS connection is restored. It can be seen that this backup mechanism greatly improves the fault tolerance and availability of the system.

[0181] Data from the certificate change client showed that through the process of the verification end issuing a new certificate and the network nodes switching to the new certificate in step-by-step verification, all three clients successfully completed the certificate change without causing any interruption to the network operation, proving the security and reliability of the process.

[0182] Special attention should be paid to the illegal client line. Although it temporarily accesses the network, it is quickly identified as an illegal node and removed from the network, ensuring the absolute security of the network.

[0183] The 100% network reliability in the last column confirms that the design reliability of using MESH technology to establish multiple redundant links between nodes is very high.

[0184] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A secure wireless connection method for a control ball, characterized in that: include, The client uses the pre-set certificate to initiate a secure connection request to the verification end; The verification end checks the validity of the pre-set certificate of the client, and if it is valid, generates a random challenge code and encrypts it and sends it to the client; The client decrypts the challenge code, constructs and encrypts a response data packet, and sends it to the verification end; The verification end decrypts the response data packet and verifies the challenge code. If it is correct, a session key is generated for subsequent communication. The subsequent communication establishes multiple redundant wireless links between the clients to achieve a secure connection.

2. The secure wireless connection method for controlling a ball according to claim 1, characterized in that: The generation of the encrypted response data packet includes: The client uses its own private key to decrypt the received encrypted challenge code using an asymmetric algorithm, obtains the original random challenge code sent by the verification end, uses the original random challenge code as a part, constructs the response data, uses its own private key to digitally sign the response data, and then uses the public key of the verification end to encrypt the signed response data.

3. The secure wireless connection method for controlling a ball according to claim 2, characterized in that: The verification end verifies the challenge code in the encrypted response packet, and if it is correct, it also includes: If the current network status is abnormal, additional verification is performed on the client's authentication request, including: When the client passes the certificate authentication, the verification end does not immediately return a successful access, but extracts the device identification information from the client's certificate, and uses the identification information to query the record of the device in the internal database. If a record that completely matches the client's identification is found in the database, it means that the client is an authorized trusted device. If no matching record is found, the verification end rejects the client's access request or returns "temporary access" permission; when the verification end returns temporary access, the client accesses the verification end and records the client's information at the same time. The administrator will subsequently audit the newly added verification end to confirm its legitimacy and decide whether to permanently add it to the trusted device list.

4. The secure wireless connection method for controlling a ball according to claim 3, characterized in that: The plurality of redundant wireless links include: Each client is configured as a wireless node of the wireless network, so that the clients can automatically discover each other using the communication protocol and establish multiple redundant wireless links.

5. The secure wireless connection method for controlling a ball according to claim 4, characterized in that: When a new node joins the existing wireless network, the following steps are included: The new node sends an access request to the adjacent existing node; The existing node forwards the access request to the verification end; The verification end verifies the legitimacy of the new node certificate and sends access permission to the existing node if it is legitimate; The existing node forwards the access permission to the new node; The new node uses the certificate key material to negotiate with the existing nodes to establish a secure connection and join the wireless network.

6. The secure wireless connection method for controlling a ball according to claim 5, characterized in that: The new node joining the existing wireless network also includes: When the connection to the authenticator is interrupted, the existing node verifies the new node certificate using the locally cached certificate list and allows the new node to temporarily access but marks it as "unconfirmed".

7. The secure wireless connection method for controlling a ball according to claim 6, characterized in that: When the verification end connection is restored, including The network sends the temporary access node information to the verification end; The verification end conducts a legality review of the temporary node; For temporary nodes that pass the review, new long-term certificates will be issued and temporary certificates will be revoked; For illegal temporary nodes, their certificates are added to the revocation list and published to the entire network.

8. A secure wireless connection system for a control ball, based on the secure wireless connection method for a control ball according to any one of claims 1 to 7, characterized in that: include, Control ball and verify server; The control ball includes a communication module, and the encryption mechanism provided by the communication module establishes a secure communication connection between the control ball and the communication server for remote monitoring and management of the control ball; The verification server is used to verify the validity of the client certificate, generate a random challenge code, and negotiate a session key.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the secure wireless connection method applied to the control ball according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the secure wireless connection method applied to a control ball as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Ad-hoc network method and system for unmanned equipment and computer program product

    CN119383606A

  • Intelligent charging method and system based on near field communication technology

    CN121121917A