Terminal networking method and apparatus, computer device, and storage medium
By integrating gateway identity verification and TWT sorting rules, seamless network configuration is achieved, solving the problems of low efficiency and high labor costs of terminal reconnection in enterprise WiFi networks, and realizing automated terminal networking.
Patent Information
- Application Number
- CN202411968462.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-12-30
AI Technical Summary
Enterprise WiFi networks have a large number of terminals, and after the WiFi hotspot information is modified, manual reconfiguration is required, resulting in low network efficiency and high labor costs.
The converged gateway automatically verifies the identity of the terminal to be connected to the network, obtains the TWT sorting rules and the minimum TWT, and sends network configuration information to the terminal based on this, thus achieving seamless network configuration.
It automatically reconnects terminals without human intervention, improving networking efficiency and significantly reducing labor costs.
Smart Images

Figure CN119729477B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network service, in particular to a terminal networking method and device, computer equipment and storage medium. BACKGROUND
[0002] A WiFi (Wireless Fidelity) network refers to a wireless local area network (WLAN) constructed in compliance with IEEE 802.11 series wireless communication standards. It allows electronic devices to connect to a local area network or the Internet through wireless signals without using physical Ethernet cables. A WiFi network is usually composed of one or more access points (APs) that transmit wireless signals to the coverage area, enabling WiFi-enabled devices to access the network.
[0003] At present, the number of terminals connected to the enterprise WiFi network is large, such as cameras, printers, doorbells, and access control systems. Once the relevant information (e.g., SSID (Service Set Identifier) or password, etc.) of the WiFi hotspot in the enterprise is modified, manual re-networking is required for each terminal to reconnect the network, which not only reduces the networking efficiency but also occupies a large amount of human resources. SUMMARY
[0004] Therefore, it is necessary to provide a terminal networking method and device that can realize no-sensing network configuration, computer equipment and storage medium.
[0005] In a first aspect, the present application provides a terminal networking method applied to a converged gateway, which comprises:
[0006] In response to a first network configuration request sent by a terminal to be networked, determining a first identity verification condition of the terminal to be networked;
[0007] In the case that the first identity verification condition is verified, obtaining a TWT ordering rule and a minimum TWT of the terminal to be networked;
[0008] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, sending network configuration information to the terminal to be networked to enable the terminal to be networked to connect to a target network based on the network configuration information.
[0009] In one embodiment, based on the TWT ordering rule and the minimum TWT of the terminal to be networked, sending network configuration information to the terminal to be networked comprises:
[0010] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, determining a wake-up time sequence;
[0011] based on the wake-up time sequence, sending network configuration information to the terminal to be networked.
[0012] In one of the embodiments, before determining the first identity check condition of the terminal to be networked in response to the first network configuration request sent by the terminal to be networked, the method further comprises:
[0013] in response to the second network configuration request sent by the terminal to be networked, obtaining the terminal identifier of the terminal to be networked;
[0014] based on the terminal identifier, determining the second identity check condition of the terminal to be networked;
[0015] in the case that the second identity check condition is passed, obtaining the minimum TWT of the terminal to be networked;
[0016] determining a TWT sorting rule according to the minimum TWT of the terminal to be networked, the minimum TWT of other terminals and the information processing time length of the fusion gateway; wherein the other terminals refer to the terminals other than the terminal to be networked that send the second network configuration request to the fusion gateway within a preset period.
[0017] In one of the embodiments, in the case that the second identity check condition is passed, the method further comprises:
[0018] adding the terminal identifier of the terminal to be networked to the terminal to be networked list;
[0019] Correspondingly, in response to the first network configuration request sent by the terminal to be networked, determining the first identity check condition of the terminal to be networked comprises:
[0020] in response to the first network configuration request sent by the terminal to be networked, obtaining the terminal identifier of the terminal to be networked;
[0021] based on the terminal identifier and the terminal to be networked list, determining the first identity check condition of the terminal to be networked.
[0022] In one of the embodiments, the wake-up time sequence comprises a first wake-up time, a second wake-up time and a third wake-up time for waking up the terminal to be networked;
[0023] Correspondingly, based on the wake-up time sequence, sending network configuration information to the terminal to be networked comprises:
[0024] sending the wake-up time sequence to the terminal to be networked, so that the terminal to be networked performs wake-up operations at the first wake-up time, the second wake-up time and the third wake-up time respectively;
[0025] In the case that the terminal to be networked has been woken up, the terminal to be networked is subjected to security confirmation based on the terminal identifier of the terminal to be networked, and in the case that the security confirmation is safe, network configuration information is sent to the terminal to be networked.
[0026] In one of the embodiments, the security confirmation of the terminal to be networked based on the terminal identifier of the terminal to be networked comprises:
[0027] The first negotiation request sent by the terminal to be networked is received, and the gateway public key is generated according to the terminal identifier and the challenge word information; wherein the first negotiation request is sent by the terminal to be networked after receiving the wake-up time sequence;
[0028] The first verification information is generated according to the gateway public key and the terminal public key carried in the first negotiation request;
[0029] The first verification information and the gateway public key are sent to the terminal to be networked, so that the terminal to be networked generates the second verification information based on the gateway public key, the terminal private key and the first verification information;
[0030] The second verification information sent by the terminal to be networked is received;
[0031] The security confirmation of the terminal to be networked is performed according to the first verification information and the second verification information.
[0032] In one of the embodiments, the terminal public key is generated by the terminal to be networked based on the terminal identifier and the challenge word information.
[0033] In a second aspect, the present application provides a terminal network device configured in a fusion gateway, the device comprising:
[0034] The first determination module is configured to determine the first identity check condition of the terminal to be networked in response to the first network configuration request sent by the terminal to be networked;
[0035] The first acquisition module is configured to acquire the TWT ordering rule and the minimum TWT of the terminal to be networked in the case that the first identity check condition is passed;
[0036] The sending module is configured to send the network configuration information to the terminal to be networked based on the TWT ordering rule and the minimum TWT of the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information.
[0037] In a third aspect, the present application further provides a computer device comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0038] The first identity check condition of the terminal to be networked is determined in response to the first network configuration request sent by the terminal to be networked;
[0039] In a case where the first identity check condition is passed, the TWT ordering rule and the minimum TWT of the terminal to be networked are acquired;
[0040] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, network configuration information is sent to the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information.
[0041] In a fourth aspect, the present application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are implemented:
[0042] In response to the first network configuration request sent by the terminal to be networked, a first identity check condition of the terminal to be networked is determined;
[0043] In a case where the first identity check condition is passed, the TWT ordering rule and the minimum TWT of the terminal to be networked are acquired;
[0044] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, network configuration information is sent to the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information.
[0045] In a fifth aspect, the present application also provides a computer program product, and the computer program product includes a computer program. When the computer program is executed by a processor, the following steps are implemented:
[0046] In response to the first network configuration request sent by the terminal to be networked, a first identity check condition of the terminal to be networked is determined;
[0047] In a case where the first identity check condition is passed, the TWT ordering rule and the minimum TWT of the terminal to be networked are acquired;
[0048] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, network configuration information is sent to the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information.
[0049] The aforementioned terminal networking method, apparatus, computer equipment, and storage medium, in response to a first network configuration request sent by a terminal to be networked, determine the first identity verification status of the terminal to be networked; if the first identity verification status is successful, obtain the TWT sorting rule and the minimum TWT of the terminal to be networked; based on the TWT sorting rule and the minimum TWT of the terminal to be networked, send network configuration information to the terminal to be networked, so that the terminal to be networked can connect to the target network based on the network configuration information. When a user's WiFi hotspot information (e.g., SSID or password) is modified, the traditional method requires manual network configuration for each terminal to reconnect to the network. However, this application eliminates the need for manual intervention. Upon receiving the first network configuration request from the terminal to be networked, it can automatically complete the identity verification of the terminal to be networked, and after successful verification, send network configuration information to the terminal to be networked based on the TWT sorting rule and the minimum TWT of the terminal to be networked, thereby enabling the terminal to reconnect to the network. This not only effectively improves networking efficiency but also significantly reduces labor costs. Attached Figure Description
[0050] Figure 1 This is an application environment diagram of a terminal networking method provided in this embodiment;
[0051] Figure 2 This is a flowchart illustrating the first terminal networking method provided in this embodiment;
[0052] Figure 3 This is a flowchart illustrating the process of determining the minimum TWT and the TWT sorting rules provided in this embodiment.
[0053] Figure 4 This is a schematic diagram of the process for sending network configuration information to a terminal to be connected to the network, provided in this embodiment.
[0054] Figure 5 This is a flowchart illustrating the second terminal networking method provided in this embodiment;
[0055] Figure 6 This is a structural block diagram of a terminal networking device provided in this embodiment;
[0056] Figure 7 This is an internal structural diagram of the computer device provided in this embodiment. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0058] The terminal networking method provided in this application embodiment can be applied to, for example...Figure 1 In the application environment shown. Among them, the fusion gateway 104 determines the first identity verification condition of the terminal to be networked in response to the first network configuration request sent by the terminal to be networked 102. In the case of passing the first identity verification condition, the fusion gateway 104 obtains the TWT ordering rule and the minimum TWT of the terminal to be networked. The fusion gateway 104 sends network configuration information to the terminal to be networked based on the TWT ordering rule and the minimum TWT of the terminal to be networked, so that the terminal to be networked 102 connects the target network based on the network configuration information.
[0059] Among them, the fusion gateway refers to a network device that integrates multiple network services and functions to simplify network architecture and improve network efficiency. The fusion gateway is also an AP device, AP (Access Point) refers to a wireless access point. The wireless access point is a kind of wireless network device, its main function is to convert wired network into wireless signal, so as to provide wireless network connection for wireless devices (such as notebook computers, smart phones, tablet computers, etc.).
[0060] The terminal to be networked refers to the terminal device that needs to reacquire network configuration information to connect the fusion gateway after modifying the related information (such as SSID or password, etc.) of the WiFi hotspot, and then connect the target network, for example, mobile phone, computer, smart watch, smart bracelet, camera, door lock, smart home appliances and smart office supplies, etc.
[0061] In one embodiment, Figure 2 is a flowchart of a terminal networking method provided by an embodiment of the application. The method is applied to the fusion gateway in Figure 1 The method comprises the following steps:
[0062] S201, in response to the first network configuration request sent by the terminal to be networked, determine the first identity verification condition of the terminal to be networked.
[0063] Among them, the terminal to be networked refers to the terminal device that needs to reconfigure the network, for example, smart terminal, smart wearable device, smart home appliance, smart office equipment. The first network configuration request refers to the configuration request sent by the terminal to be networked when it has the demand of reconfiguring the network, that is, the demand of re-networking. The first network configuration request can be Probe Request. The first identity verification condition refers to the identity verification condition of the terminal to be networked.
[0064] As an optional implementation of the embodiment of the present application, in response to the first network configuration request sent by the terminal to be networked, the terminal identifier of the terminal to be networked is acquired, and the first identity check condition of the terminal to be networked is determined according to the terminal identifier. The terminal identifier can be the terminal MAC (Media Access Control) address of the terminal to be networked. In the embodiment, the first identity check condition of the terminal to be networked is determined according to the terminal identifier and the white list. The terminal identifier of the white list terminal is recorded in the white list. For example, if the terminal identifier is recorded in the white list, the first identity check condition is passed, otherwise, the first identity check condition is failed.
[0065] In the embodiment, the terminal identifier of the terminal to be networked is acquired by analyzing the first network configuration request. The terminal identifier is carried in the first network configuration request.
[0066] S202, in the case that the first identity check condition is passed, the TWT ordering rule and the minimum TWT of the terminal to be networked are acquired.
[0067] The TWT ordering rule refers to the queuing sequence of the TWT of each terminal. The minimum TWT refers to the minimum wake-up duration of the terminal to be networked, for example, 20 ms.
[0068] As an optional implementation of the embodiment of the present application, in the case that the first identity check condition is passed, the TWT ordering rule and the minimum TWT of the terminal to be networked are acquired from the query device.
[0069] As another optional implementation of the embodiment of the present application, in the case that the first identity check condition is passed, the TWT ordering rule and the minimum TWT of the terminal to be networked are acquired from the local device.
[0070] Optionally, in the embodiment, in the case that the first identity check condition is passed, the temporary WiFi hotspot is opened by the fusion gateway, so that the terminal to be networked is connected to the temporary WiFi hotspot, and the subsequent S203 process is facilitated. Since the temporary WiFi hotspot is not encrypted, the temporary WiFi hotspot is only opened for a short time in the case that the first identity check condition is passed, so as to prevent the temporary WiFi hotspot from being opened for too long time and affecting the network security. In the embodiment, the temporary WiFi hotspot is only opened for a short time in the case that the first identity check condition is passed, so as to effectively improve the network security.
[0071] S203, based on the TWT ordering rule and the minimum TWT of the terminal to be networked, network configuration information is sent to the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information.
[0072] The network configuration information refers to configuration information for connecting the target network, for example, a modified SSID or a modified password.
[0073] Optionally, in the embodiment, based on the TWT ordering rule and the minimum TWT of the terminal to be networked, the target wake-up time of the terminal to be networked is determined, and based on the target wake-up time, the network configuration information is sent to the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information.
[0074] The terminal networking method determines the first identity verification condition of the terminal to be networked in response to the first network configuration request sent by the terminal to be networked, and in the case that the first identity verification condition is verified, the TWT ordering rule and the minimum TWT of the terminal to be networked are obtained, and based on the TWT ordering rule and the minimum TWT of the terminal to be networked, network configuration information is sent to the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information. When the related information (for example, SSID or password, etc.) of the user's WiFi hotspot is modified, the traditional method is to manually configure the network for each terminal to make the terminal re-network. The present application does not need manual participation, and after receiving the first network configuration request of the terminal to be networked, the identity verification of the terminal to be networked can be automatically completed, and after the verification, based on the TWT ordering rule and the minimum TWT of the terminal to be networked, network configuration information is sent to the terminal to be networked, realizing the re-networking of the terminal to be networked. Not only does it effectively improve the networking efficiency, but also greatly reduces the labor cost.
[0075] In one embodiment, in order to obtain the minimum TWT and the TWT ordering rule, before executing the step of determining the first identity verification condition of the terminal to be networked in response to the first network configuration request sent by the terminal to be networked, as shown in Figure 3 An optional embodiment of a terminal networking method includes:
[0076] S301, in response to the second network configuration request sent by the terminal to be networked, the terminal identifier of the terminal to be networked is obtained.
[0077] The second network configuration request refers to the network configuration request of the terminal to be networked requesting to reconfigure the network, and the second network configuration request generally refers to Probe Request.
[0078] Optionally, in the embodiment, the terminal identifier of the terminal to be networked is acquired in response to the second network configuration request sent by the terminal to be networked. For example, the terminal identifier of the terminal to be networked is acquired by parsing the second network configuration request. The terminal identifier can be a terminal MAC address.
[0079] Optionally, in the embodiment, the terminal to be networked sends the second network configuration request when it fails to connect to the target network after attempting to connect to the target network for a preset number of times (for example, three times) (the terminal to be networked fails to connect to the target network after the SSID or password of the target network is modified).
[0080] S302, determining the second identity verification situation of the terminal to be networked based on the terminal identifier.
[0081] The second identity verification request refers to the passing situation of the identity verification of the terminal to be networked.
[0082] Optionally, in the embodiment, the fusion gateway matches the terminal identifier with the candidate identifiers in the locally recorded identifier list (for example, the X-Link ARP list), and if the matching is successful, the second identity verification situation is that the verification is successful. If the matching fails, the fusion gateway generates a verification broadcast based on the terminal identifier to detect whether the terminal identifier exists in the local area network, and if the terminal identifier exists, the second identity verification situation is that the verification is successful. If the terminal identifier does not exist, the second identity verification situation is that the verification fails.
[0083] S303, acquiring the minimum TWT of the terminal to be networked when the second identity verification situation is that the verification is passed.
[0084] Optionally, in the embodiment, the minimum TWT of the terminal to be networked is acquired when the second identity verification situation is that the verification is passed. Optionally, the minimum TWT of the terminal to be networked is acquired based on the terminal identifier when the second identity verification situation is that the verification is passed. In the embodiment, the optional implementation of acquiring the minimum TWT of the terminal to be networked based on the terminal identifier is that the minimum TWT of the terminal to be networked is acquired based on the terminal identifier and the identifier list (for example, the X-Link ARP list). The structure of the X-Link ARP list is shown in Table 1.
[0085] Table 1
[0086]
[0087] In Table 1, the minimum TWT wake-up duration is the minimum TWT.
[0088] Optionally, in the case that the second identity verification condition is passed in the embodiment, an optional implementation of the terminal networking method is to add the terminal identifier of the terminal to be networked to the terminal list to be networked. On this basis, the optional implementation of determining the first identity verification condition of the terminal to be networked in response to the first network configuration request sent by the terminal to be networked in the above embodiment is to obtain the terminal identifier of the terminal to be networked in response to the first network configuration request sent by the terminal to be networked. Based on the terminal identifier and the terminal list to be networked, the first identity verification condition of the terminal to be networked is determined. That is, the terminal to be networked needs to send at least twice when performing re-networking (i.e., the first network configuration request and the second network configuration request, wherein the sending time of the second network configuration request is earlier than that of the first network configuration request).
[0089] S304, determining a TWT sorting rule according to the minimum TWT of the terminal to be networked, the minimum TWT of the other terminal, and the information processing time length of the fusion gateway.
[0090] Wherein, the other terminal refers to a terminal that sends a second network configuration request to the fusion gateway within a preset period of time except the terminal to be networked. The information processing time length includes the generation time length of the fusion gateway generating a key pair and the encryption time length when encrypting the network configuration information.
[0091] Optionally, in the embodiment, after the related information of the WiFi hotspot is modified, the number of terminals that need to be re-networked is multiple, therefore, when the fusion gateway re-networks the terminal to be networked, it may also receive the second network configuration information of the other terminal within a preset period of time (for example, a time period). Since the number of terminals that the fusion gateway can synchronize to re-network is limited, generally only two terminals can be re-networked at the same time, therefore, in order to avoid the business congestion of the fusion gateway and to ensure the order of re-networking, the fusion gateway needs to align each minimum TWT according to the minimum TWT of the terminal to be networked, the minimum TWT of the other terminal, and the information processing time length of the fusion gateway, and sort the TWT, and then obtain the TWT sorting rule. This can effectively avoid the business congestion of the fusion gateway and improve the re-networking quality.
[0092] In this embodiment, in response to the second network configuration request sent by the terminal to be networked, the terminal identifier of the terminal to be networked is obtained. Based on the terminal identifier, the second identity verification condition of the terminal to be networked is determined. In the case that the second identity verification condition is verified, the minimum TWT of the terminal to be networked is obtained. According to the minimum TWT of the terminal to be networked, the minimum TWT of other terminals and the information processing time length of the fusion gateway, the TWT sorting rule is determined; wherein the other terminals refer to the terminals other than the terminal to be networked which send the second network configuration request to the fusion gateway within a preset period. In this embodiment, the second identity verification condition of the terminal to be networked is determined based on the terminal identifier, which improves the security during the re-networking. In addition, the TWT sorting rule is determined in combination with the minimum TWT of the terminal to be networked, the minimum TWT of other terminals and the information processing time length of the fusion gateway, which not only improves the orderliness during the re-networking, but also effectively avoids the business congestion of the fusion gateway, thereby improving the automatic network configuration quality.
[0093] In one of the embodiments, the security of the re-networking is further improved, as shown in S203, an optional implementation of S203, comprising: Figure 4
[0094] S401, based on the TWT sorting rule and the minimum TWT of the terminal to be networked, the wake-up time sequence is determined.
[0095] The wake-up time sequence refers to the specific time of multiple wake-ups of the terminal to be networked.
[0096] Optionally, in this embodiment, the wake-up time sequence includes a first wake-up time, a second wake-up time and a third wake-up time. For example, the first wake-up time is 20ms, the second wake-up time is 50ms, and the third wake-up time is 120ms, which means to wake up after 20ms, 50ms and 120ms respectively.
[0097] Optionally, in this embodiment, the TWT sorting rule and the minimum TWT of the terminal to be networked are used as constraint conditions to determine the wake-up time sequence.
[0098] In this embodiment, the fusion gateway can only reconfigure the network of two terminals in parallel, and it is assumed that the network configuration requests of terminal 1, terminal 2 and terminal 3 are received within a preset time length, and the minimum TWT of terminal 1, terminal 2 and terminal 3 is 20 ms. The fusion gateway can determine the TWT sorting rule according to the receiving time of the network configuration request of each terminal, the minimum TWT and the information processing time length, and determine the wake-up time sequence according to the minimum TWT of each terminal. The final wake-up time sequence of each terminal can be: terminal 1: 20 ms, 50 ms, 120 ms; terminal 2: 20 ms, 50 ms, 120 ms; terminal 3: 40 ms, 50 ms, 120 ms. Since the fusion gateway synchronously configures terminal 1 and terminal 2 first, the first wake-up time of terminal 1 and terminal 2 (i.e. 20 ms in the example, indicating wake-up after 20 ms) should be staggered with the first wake-up time of terminal 3 (i.e. 40 ms in the example, indicating wake-up after 40 ms). It should be noted that 50 ms and 120 ms in the example are related to the information processing time length, 50 ms is related to the key pair generation time length, which should be greater than the time length of the fusion gateway generating the key pair; 120 ms is related to the information encryption time length, which should be greater than the time length of the fusion gateway encrypting the network configuration information.
[0099] S402, based on the wake-up time sequence, sending the network configuration information to the terminal to be networked.
[0100] As an optional implementation of the embodiment of the present application, based on the wake-up time sequence, the terminal to be networked is woken up, and the network configuration information is sent to the terminal to be networked.
[0101] As another optional implementation of the embodiment of the present application, the wake-up time sequence is sent to the terminal to be networked, so that the terminal to be networked performs wake-up operation at the first wake-up time, the second wake-up time and the third wake-up time. In the case that the terminal to be networked has been woken up, the security of the terminal to be networked is confirmed based on the terminal identifier of the terminal to be networked, and in the case that the security confirmation is safe, the network configuration information is sent to the terminal to be networked.
[0102] Optionally, the optional implementation of the security confirmation of the terminal to be networked in the embodiment based on the terminal identifier of the terminal to be networked is that the first negotiation request sent by the terminal to be networked is received, and the gateway public key and the gateway private key are generated according to the terminal identifier and the challenge word information. The first verification information is generated according to the gateway public key and the terminal public key carried in the first negotiation request. The first verification information and the gateway public key are sent to the terminal to be networked, so that the terminal to be networked generates the second verification information based on the gateway public key, the terminal private key and the first verification information. The second verification information sent by the terminal to be networked is received. The security of the terminal to be networked is confirmed according to the first verification information and the second verification information. Wherein, the first negotiation request is sent by the terminal to be networked after receiving the wake-up time sequence; the terminal public key is generated by the terminal to be networked based on the terminal identifier and the challenge word information, and the terminal private key is also generated when the terminal public key is generated. Specifically, after the terminal to be networked wakes up based on the first wake-up time, the first negotiation request is sent to the fusion gateway, and after the sending is completed, the terminal to be networked enters sleep. The first negotiation request sent by the terminal to be networked is received by the fusion gateway, and the gateway public key and the gateway private key are generated according to the terminal identifier and the challenge word information. The first verification information is generated according to the gateway public key and the terminal public key carried in the first negotiation request, and the verification field. After the second wake-up time, that is, after the terminal to be networked wakes up for the second time, the first verification information and the gateway public key are sent to the terminal to be networked, so that the terminal to be networked generates the second verification information based on the gateway public key, the terminal private key and the first verification information. After the terminal to be networked sends the second verification information to the fusion gateway, the terminal to be networked enters the second sleep. The second verification information sent by the terminal to be networked is received by the fusion gateway. The security of the terminal to be networked is confirmed according to the first verification information and the second verification information.
[0103] In the embodiment, one optional implementation of the security confirmation of the terminal to be networked according to the first verification information and the second verification information is that the second verification information is decrypted based on the gateway private key and the terminal public key, and the decrypted second verification information is matched with the first verification information. According to the matching result, the security of the terminal to be networked is confirmed. For example, if the matching is successful, the security confirmation is safe, otherwise, the security confirmation is unsafe.
[0104] In the embodiment, one optional implementation of the security confirmation of the terminal to be networked according to the first verification information and the second verification information is that the second verification information is decrypted based on the gateway private key and the terminal public key, and the decrypted second verification information is matched with the first verification information. According to the matching result, the security of the terminal to be networked is confirmed. For example, if the matching is successful, the security confirmation is safe, otherwise, the security confirmation is unsafe.
[0105] In the embodiment, the wake-up time sequence is sent to the terminal to be networked, so that the terminal to be networked is woken up at the first wake-up time, the second wake-up time and the third wake-up time respectively. In the case that the terminal to be networked has been woken up, the terminal to be networked is subjected to security confirmation based on the terminal identifier of the terminal to be networked, and the network configuration information is sent to the terminal to be networked in the case that the security confirmation is safe. Not only the safety during the sending of the network configuration information is effectively increased, but also the terminal to be networked is woken up in order, the energy saving of the terminal to be networked is improved, and the energy consumption is reduced.
[0106] In one of the embodiments, as shown in Figure 5 Another optional implementation of a terminal networking method includes:
[0107] S501, in response to the second network configuration request sent by the terminal to be networked, the terminal identifier of the terminal to be networked is acquired.
[0108] S502, based on the terminal identifier, the second identity verification situation of the terminal to be networked is determined.
[0109] S503, in the case that the second identity verification situation is verified, the minimum TWT of the terminal to be networked is acquired, and the terminal identifier of the terminal to be networked is added to the terminal to be networked list.
[0110] S504, according to the minimum TWT of the terminal to be networked, the minimum TWT of other terminals and the information processing time length of the fusion gateway, the TWT sorting rule is determined. The other terminals refer to the terminals other than the terminal to be networked which send the second network configuration request to the fusion gateway within a preset period.
[0111] S505, in response to the first network configuration request sent by the terminal to be networked, the terminal identifier of the terminal to be networked is acquired.
[0112] S506, based on the terminal identifier and the terminal to be networked list, the first identity verification situation of the terminal to be networked is determined.
[0113] S507, in the case that the first identity verification situation is verified, the TWT sorting rule and the minimum TWT of the terminal to be networked are acquired.
[0114] S508, based on the TWT sorting rule and the minimum TWT of the terminal to be networked, the wake-up time sequence is determined. The wake-up time sequence includes the first wake-up time, the second wake-up time and the third wake-up time for waking up the terminal to be networked.
[0115] S509, the wake-up time sequence is sent to the terminal to be networked, so that the terminal to be networked is woken up at the first wake-up time, the second wake-up time and the third wake-up time respectively.
[0116] S510, in the case that the terminal to be networked has been woken up, receiving a first negotiation request sent by the terminal to be networked, and generating a gateway public key according to terminal identification and challenge word information. The first negotiation request is sent by the terminal to be networked after it receives the wake-up time sequence.
[0117] S511, generating first verification information according to the gateway public key and a terminal public key carried in the first negotiation request. The terminal public key is generated by the terminal to be networked based on terminal identification and challenge word information.
[0118] S512, sending the first verification information and the gateway public key to the terminal to be networked, so that the terminal to be networked generates second verification information based on the gateway public key, a terminal private key and the first verification information.
[0119] S513, receiving the second verification information sent by the terminal to be networked.
[0120] S514, performing security confirmation on the terminal to be networked according to the first verification information and the second verification information.
[0121] S515, in the case that the security confirmation is safe, sending network configuration information to the terminal to be networked.
[0122] In one of the embodiments, the terminal public key is generated by the terminal to be networked based on terminal identification and challenge word information. In this embodiment, in response to the first network configuration request sent by the terminal to be networked, the first identity verification of the terminal to be networked is determined; in the case that the first identity verification is passed, the TWT ordering rule and the minimum TWT of the terminal to be networked are obtained; and the network configuration information is sent to the terminal to be networked based on the TWT ordering rule and the minimum TWT of the terminal to be networked, so that the terminal to be networked connects to the target network based on the network configuration information. When the related information (such as SSID or password, etc.) of the user's WiFi hotspot is modified, the traditional method is to manually configure the network for each terminal to make the terminal re-network. However, the present application does not need manual participation. After receiving the first network configuration request of the terminal to be networked, the identity verification of the terminal to be networked is automatically completed, and after the verification is passed, the network configuration information is sent to the terminal to be networked based on the TWT ordering rule and the minimum TWT of the terminal to be networked, so as to realize the re-networking of the terminal to be networked. This not only effectively improves the networking efficiency, but also greatly reduces the labor cost.
[0123] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of the steps is not strictly limited in sequence, and the steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of the steps or stages is not necessarily sequential, but can be alternately or alternately executed with other steps or steps or stages in other steps.
[0124] Based on the same inventive concept, the embodiments of the present application also provide a terminal networking device for implementing the terminal networking method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more terminal networking device embodiments provided below can refer to the limitations of the terminal networking method described above, which will not be repeated here.
[0125] In one embodiment, by Figure 6 The structure block diagram of the terminal networking device in one embodiment is shown. As Figure 6 shown, a terminal networking device 1 is provided, which includes a first determination module 10, a first acquisition module 20 and a sending module 30, wherein:
[0126] The first determination module 10 is configured to determine the first identity verification condition of the terminal to be networked in response to the first network configuration request sent by the terminal to be networked.
[0127] The first acquisition module 20 is configured to acquire the TWT ordering rule and the minimum TWT of the terminal to be networked in the case that the first identity verification condition is verified.
[0128] The sending module 30 is configured to send the network configuration information to the terminal to be networked based on the TWT ordering rule and the minimum TWT of the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information.
[0129] The terminal networking device determines a first identity check condition of the terminal to be networked in response to a first network configuration request sent by the terminal to be networked; acquires a TWT scheduling rule and a minimum TWT of the terminal to be networked in a case where the first identity check condition is a check pass; and sends network configuration information to the terminal to be networked based on the TWT scheduling rule and the minimum TWT of the terminal to be networked, so that the terminal to be networked connects a target network based on the network configuration information. When the information (for example, SSID or password, etc.) of the user's WiFi hotspot is modified, the traditional method is to manually configure the network for each terminal to make the terminal re-network. The present application does not need manual participation. After receiving the first network configuration request of the terminal to be networked, the terminal to be networked is automatically checked for identity, and in a case where the check is passed, network configuration information is sent to the terminal to be networked based on the TWT scheduling rule and the minimum TWT of the terminal to be networked, so as to realize the re-networking of the terminal to be networked. This not only effectively improves the networking efficiency, but also greatly reduces the labor cost.
[0130] In one of the embodiments, the sending module 30 in the terminal networking device 1 is further specifically used for: Figure 6
[0131] determining a wake-up time sequence based on the TWT scheduling rule and the minimum TWT of the terminal to be networked;
[0132] sending network configuration information to the terminal to be networked based on the wake-up time sequence.
[0133] In one of the embodiments, the terminal networking device 1 in the terminal networking device 1 is further provided with: Figure 6
[0134] a second acquiring module, configured to acquire a terminal identity of the terminal to be networked in response to a second network configuration request sent by the terminal to be networked;
[0135] a second determining module, configured to determine a second identity check condition of the terminal to be networked based on the terminal identity;
[0136] a third acquiring module, configured to acquire a minimum TWT of the terminal to be networked in a case where the second identity check condition is a check pass;
[0137] a third determining module, configured to determine a TWT scheduling rule according to the minimum TWT of the terminal to be networked, a minimum TWT of other terminals and an information processing time length of the fusion gateway; wherein the other terminals refer to terminals other than the terminal to be networked which send the second network configuration request to the fusion gateway within a preset time period.
[0138] In one of the embodiments, in a case where the second identity check condition is a check pass, the terminal networking device 1 is further provided with:
[0139] The adding module is configured to add the terminal identifier of the terminal to be networked into the list of terminals to be networked.
[0140] On this basis, the first determining module 10 is further configured to:
[0141] In response to the first network configuration request sent by the terminal to be networked, the terminal identifier of the terminal to be networked is obtained.
[0142] Based on the terminal identifier and the list of terminals to be networked, the first identity verification situation of the terminal to be networked is determined.
[0143] In one of the embodiments, the wake-up time sequence includes a first wake-up time, a second wake-up time and a third wake-up time for waking up the terminal to be networked; on this basis, the sending module 30 in the network configuration module 20 is further configured to: Figure 6
[0144] The wake-up time sequence is sent to the terminal to be networked, so that the terminal to be networked performs wake-up operations at the first wake-up time, the second wake-up time and the third wake-up time, respectively.
[0145] In the case where the terminal to be networked has been woken up, the terminal to be networked is subjected to security confirmation based on the terminal identifier of the terminal to be networked, and in the case where the security confirmation is safe, network configuration information is sent to the terminal to be networked.
[0146] In one of the embodiments, the sending module 30 in the network configuration module 20 is further configured to: Figure 6
[0147] The first negotiation request sent by the terminal to be networked is received, and the gateway public key is generated according to the terminal identifier and the challenge word information; wherein the first negotiation request is sent by the terminal to be networked after receiving the wake-up time sequence.
[0148] The first verification information is generated according to the gateway public key and the terminal public key carried in the first negotiation request.
[0149] The first verification information and the gateway public key are sent to the terminal to be networked, so that the terminal to be networked generates the second verification information based on the gateway public key, the terminal private key and the first verification information.
[0150] The second verification information sent by the terminal to be networked is received.
[0151] The security of the terminal to be networked is confirmed according to the first verification information and the second verification information.
[0152] In one of the embodiments, the terminal public key is generated by the terminal to be networked based on the terminal identifier and the challenge word information.
[0153] Each of the modules in the terminal networking apparatus can be implemented wholly or partially by software, hardware, and combinations thereof. The modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in the computer device in software form, so as to be invoked and executed by the processor to perform operations corresponding to the modules.
[0154] In one embodiment, a computer device is provided, which can be a platform side, and an internal structure diagram thereof can be as shown in Figure 7 The computer device includes a processor, a memory, and a network interface connected by a system bus. The processor of the computer device is configured 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, a computer program, and a database. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store network configuration information. The network interface of the computer device is configured to communicate with a user side outside through a network connection. The computer program is executed by the processor to implement a terminal networking method.
[0155] Those skilled in the art can understand that Figure 7 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. Specifically, the computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0156] In one embodiment, a computer device is provided, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the following steps:
[0157] In response to a first network configuration request sent by a terminal to be networked, determining a first identity check situation of the terminal to be networked;
[0158] In a case where the first identity check situation is a check pass, obtaining a TWT ordering rule and a minimum TWT of the terminal to be networked;
[0159] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, sending network configuration information to the terminal to be networked, so that the terminal to be networked connects a target network based on the network configuration information.
[0160] In one embodiment, the processor executes the computer program to further implement the following steps: based on the TWT ordering rule and the minimum TWT of the terminal to be networked, sending network configuration information to the terminal to be networked, including:
[0161] determine a wake-up time sequence based on the TWT ordering rule and the minimum TWT of the terminal to be networked;
[0162] send the network configuration information to the terminal to be networked based on the wake-up time sequence.
[0163] In one embodiment, the processor, when executing the computer program, also implements the following steps: in response to the first network configuration request sent by the terminal to be networked, before determining the first identity check condition of the terminal to be networked, the method further comprises:
[0164] In response to the second network configuration request sent by the terminal to be networked, obtain the terminal identifier of the terminal to be networked;
[0165] Based on the terminal identifier, determine the second identity check condition of the terminal to be networked;
[0166] In the case that the second identity check condition is passed, obtain the minimum TWT of the terminal to be networked;
[0167] According to the minimum TWT of the terminal to be networked, the minimum TWT of other terminals and the information processing time length of the converged gateway, determine the TWT ordering rule; wherein the other terminals refer to the terminals other than the terminal to be networked which send the second network configuration request to the converged gateway within a preset period.
[0168] In one embodiment, the processor, when executing the computer program, also implements the following steps: in the case that the second identity check condition is passed, the method further comprises:
[0169] Add the terminal identifier of the terminal to be networked to the terminal to be networked list;
[0170] Correspondingly, in response to the first network configuration request sent by the terminal to be networked, determining the first identity check condition of the terminal to be networked comprises:
[0171] In response to the first network configuration request sent by the terminal to be networked, obtain the terminal identifier of the terminal to be networked;
[0172] Based on the terminal identifier and the terminal to be networked list, determine the first identity check condition of the terminal to be networked.
[0173] In one embodiment, the processor, when executing the computer program, also implements the following steps: the wake-up time sequence comprises a first wake-up time, a second wake-up time and a third wake-up time for waking up the terminal to be networked;
[0174] Correspondingly, based on the wake-up time sequence, sending the network configuration information to the terminal to be networked comprises:
[0175] sending a wake-up time sequence to the terminal to be networked, so that the terminal to be networked performs a wake-up operation at a first wake-up time, a second wake-up time and a third wake-up time respectively;
[0176] In a case where the terminal to be networked has been woken up, performing security confirmation on the terminal to be networked based on a terminal identifier of the terminal to be networked, and in a case where the security confirmation is safe, sending network configuration information to the terminal to be networked.
[0177] In an embodiment, the processor, when executing the computer program, also implements the following steps: performing security confirmation on the terminal to be networked based on a terminal identifier of the terminal to be networked, comprising:
[0178] receiving a first negotiation request sent by the terminal to be networked, and generating a gateway public key according to the terminal identifier and challenge word information; wherein the first negotiation request is sent by the terminal to be networked after receiving the wake-up time sequence;
[0179] generating first verification information according to the gateway public key and a terminal public key carried in the first negotiation request;
[0180] sending the first verification information and the gateway public key to the terminal to be networked, so that the terminal to be networked generates second verification information based on the gateway public key, a terminal private key and the first verification information;
[0181] receiving second verification information sent by the terminal to be networked;
[0182] performing security confirmation on the terminal to be networked according to the first verification information and the second verification information.
[0183] In an embodiment, the processor, when executing the computer program, also implements the following steps: the terminal public key is generated by the terminal to be networked based on the terminal identifier and the challenge word information.
[0184] In one of the embodiments, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps:
[0185] determining a first identity verification condition of the terminal to be networked in response to a first network configuration request sent by the terminal to be networked;
[0186] in a case where the first identity verification condition is verified, obtaining a TWT ordering rule and a minimum TWT of the terminal to be networked;
[0187] sending network configuration information to the terminal to be networked based on the TWT ordering rule and the minimum TWT of the terminal to be networked, so that the terminal to be networked connects a target network based on the network configuration information.
[0188] In one embodiment, the computer program, when executed by the processor, further implements the following steps: based on the TWT ordering rule and the minimum TWT of the terminal to be networked, sending network configuration information to the terminal to be networked, including:
[0189] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, determine the wake-up time sequence;
[0190] Based on the wake-up time sequence, send network configuration information to the terminal to be networked.
[0191] In one embodiment, the computer program, when executed by the processor, further implements the following steps: in response to the first network configuration request sent by the terminal to be networked, before determining the first identity check condition of the terminal to be networked, the method further comprises:
[0192] In response to the second network configuration request sent by the terminal to be networked, obtain the terminal identifier of the terminal to be networked;
[0193] Based on the terminal identifier, determine the second identity check condition of the terminal to be networked;
[0194] In the case that the second identity check condition is passed, obtain the minimum TWT of the terminal to be networked;
[0195] According to the minimum TWT of the terminal to be networked, the minimum TWT of other terminals and the information processing time length of the fusion gateway, determine the TWT ordering rule; wherein the other terminals refer to the terminals other than the terminal to be networked, which send the second network configuration request to the fusion gateway within a preset period.
[0196] In one embodiment, the computer program, when executed by the processor, further implements the following steps: in the case that the second identity check condition is passed, the method further comprises:
[0197] Add the terminal identifier of the terminal to be networked to the terminal to be networked list;
[0198] Correspondingly, in response to the first network configuration request sent by the terminal to be networked, determining the first identity check condition of the terminal to be networked, comprises:
[0199] In response to the first network configuration request sent by the terminal to be networked, obtain the terminal identifier of the terminal to be networked;
[0200] Based on the terminal identifier and the terminal to be networked list, determine the first identity check condition of the terminal to be networked.
[0201] In one embodiment, the computer program, when executed by the processor, further implements the following steps: the wake-up time sequence includes a first wake-up time, a second wake-up time and a third wake-up time for waking up the terminal to be networked;
[0202] Correspondingly, based on the wake-up time sequence, network configuration information is sent to the terminal to be networked, including:
[0203] The wake-up time sequence is sent to the terminal to be networked, so that the terminal to be networked wakes up at the first wake-up time, the second wake-up time and the third wake-up time, respectively.
[0204] In the case that the terminal to be networked has been woken up, the terminal to be networked is subjected to security confirmation based on the terminal identifier of the terminal to be networked, and in the case that the security confirmation is safe, network configuration information is sent to the terminal to be networked.
[0205] In one embodiment, the computer program is executed by the processor to further implement the following steps: based on the terminal identifier of the terminal to be networked, the terminal to be networked is subjected to security confirmation, including:
[0206] The first negotiation request sent by the terminal to be networked is received, and the gateway public key is generated according to the terminal identifier and the challenge word information; wherein the first negotiation request is sent by the terminal to be networked after receiving the wake-up time sequence;
[0207] The first verification information is generated according to the gateway public key and the terminal public key carried in the first negotiation request;
[0208] The first verification information and the gateway public key are sent to the terminal to be networked, so that the terminal to be networked generates the second verification information based on the gateway public key, the terminal private key and the first verification information;
[0209] The second verification information sent by the terminal to be networked is received;
[0210] The terminal to be networked is subjected to security confirmation according to the first verification information and the second verification information.
[0211] In one embodiment, the computer program is executed by the processor to further implement the following steps: the terminal public key is generated by the terminal to be networked based on the terminal identifier and the challenge word information.
[0212] In one embodiment, a computer program product is provided, including a computer program, which is executed by the processor to implement the following steps:
[0213] In response to the first network configuration request sent by the terminal to be networked, the first identity verification of the terminal to be networked is determined;
[0214] In the case that the first identity verification is passed, the TWT ordering rule and the minimum TWT of the terminal to be networked are obtained;
[0215] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, network configuration information is sent to the terminal to be networked, so that the terminal to be networked connects the target network based on the network configuration information.
[0216] In one embodiment, the computer program, when executed by the processor, further implements the following steps: based on the TWT ordering rule and the minimum TWT of the terminal to be networked, sending network configuration information to the terminal to be networked, including:
[0217] Based on the TWT ordering rule and the minimum TWT of the terminal to be networked, determine the wake-up time sequence;
[0218] Based on the wake-up time sequence, send network configuration information to the terminal to be networked.
[0219] In one embodiment, the computer program, when executed by the processor, further implements the following steps: in response to the first network configuration request sent by the terminal to be networked, before determining the first identity check condition of the terminal to be networked, the method further includes:
[0220] In response to the second network configuration request sent by the terminal to be networked, obtaining the terminal identifier of the terminal to be networked;
[0221] Based on the terminal identifier, determine the second identity check condition of the terminal to be networked;
[0222] In the case that the second identity check condition is passed, obtain the minimum TWT of the terminal to be networked;
[0223] According to the minimum TWT of the terminal to be networked, the minimum TWT of other terminals and the information processing time length of the converged gateway, determine the TWT ordering rule; wherein the other terminals refer to the terminals other than the terminal to be networked within a preset period of time, which send the second network configuration request to the converged gateway.
[0224] In one embodiment, the computer program, when executed by the processor, further implements the following steps: in the case that the second identity check condition is passed, the method further includes:
[0225] Add the terminal identifier of the terminal to be networked to the terminal to be networked list;
[0226] Correspondingly, in response to the first network configuration request sent by the terminal to be networked, determining the first identity check condition of the terminal to be networked includes:
[0227] In response to the first network configuration request sent by the terminal to be networked, obtaining the terminal identifier of the terminal to be networked;
[0228] Based on the terminal identifier and the terminal to be networked list, determine the first identity check condition of the terminal to be networked.
[0229] In one embodiment, the computer program, when executed by the processor, further implements the following steps: the wake-up time sequence includes a first wake-up time, a second wake-up time and a third wake-up time for waking up the terminal to be networked;
[0230] Correspondingly, based on the wake-up time sequence, the network configuration information is sent to the terminal to be networked, including:
[0231] The wake-up time sequence is sent to the terminal to be networked, so that the terminal to be networked performs wake-up operations at the first wake-up time, the second wake-up time and the third wake-up time, respectively.
[0232] In the case that the terminal to be networked has been woken up, the security of the terminal to be networked is confirmed based on the terminal identifier of the terminal to be networked, and in the case that the security confirmation is safe, the network configuration information is sent to the terminal to be networked.
[0233] In one embodiment, the computer program is executed by the processor to further implement the following steps: based on the terminal identifier of the terminal to be networked, the security of the terminal to be networked is confirmed, including:
[0234] The first negotiation request sent by the terminal to be networked is received, and the gateway public key is generated according to the terminal identifier and the challenge word information; wherein the first negotiation request is sent by the terminal to be networked after receiving the wake-up time sequence;
[0235] The first verification information is generated according to the gateway public key and the terminal public key carried in the first negotiation request;
[0236] The first verification information and the gateway public key are sent to the terminal to be networked, so that the terminal to be networked generates the second verification information based on the gateway public key, the terminal private key and the first verification information;
[0237] The second verification information sent by the terminal to be networked is received;
[0238] The security of the terminal to be networked is confirmed according to the first verification information and the second verification information.
[0239] In one embodiment, the computer program is executed by the processor to further implement the following steps: the terminal public key is generated by the terminal to be networked based on the terminal identifier and the challenge word information.
[0240] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0241] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0242] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A terminal networking method, characterized by, The method is applied to a fusion gateway, and comprises the following steps: In response to a first network configuration request sent by a terminal to be networked, determining a first identity verification condition of the terminal to be networked; In a case where the first identity verification condition is verified, obtaining a target wake-up time (TWT) sequencing rule and a minimum TWT of the terminal to be networked; the TWT sequencing rule refers to a queuing sequence of TWTs of terminals; and the minimum TWT refers to a minimum wake-up duration of the terminal to be networked; Based on the TWT sequencing rule and the minimum TWT of the terminal to be networked, determining a wake-up time sequence; the wake-up time sequence comprises a first wake-up time, a second wake-up time and a third wake-up time for waking up the terminal to be networked; sending the wake-up time sequence to the terminal to be networked, so that the terminal to be networked is woken up at the first wake-up time, the second wake-up time and the third wake-up time, respectively; in a case where the terminal to be networked has been woken up, receiving a first negotiation request sent by the terminal to be networked, and generating a gateway public key according to the terminal identity and challenge word information; the first negotiation request is sent by the terminal to be networked after receiving the wake-up time sequence; generating first verification information according to the gateway public key and a terminal public key carried in the first negotiation request; sending the first verification information and the gateway public key to the terminal to be networked, so that the terminal to be networked generates second verification information based on the gateway public key, a terminal private key and the first verification information; receiving the second verification information sent by the terminal to be networked; performing security confirmation on the terminal to be networked according to the first verification information and the second verification information, and in a case where the security confirmation is secure, sending network configuration information to the terminal to be networked.
2. The method of claim 1, wherein, Before the step of in response to a first network configuration request sent by a terminal to be networked, determining a first identity verification condition of the terminal to be networked, the method further comprises the following steps: In response to a second network configuration request sent by the terminal to be networked, obtaining a terminal identity of the terminal to be networked; Based on the terminal identity, determining a second identity verification condition of the terminal to be networked; In a case where the second identity verification condition is verified, obtaining a minimum TWT of the terminal to be networked; Based on the minimum TWT of the terminal to be networked, minimum TWTs of other terminals and an information processing duration of the fusion gateway, determining the TWT sequencing rule; the other terminals refer to terminals other than the terminal to be networked and sending the second network configuration request to the fusion gateway within a preset time period.
3. The method of claim 2, wherein, In a case where the second identity verification condition is verified, the method further comprises the following steps: Adding the terminal identity of the terminal to be networked to a terminal to be networked list; Correspondingly, the step of in response to a first network configuration request sent by a terminal to be networked, determining a first identity verification condition of the terminal to be networked, comprises the following steps: In response to a first network configuration request sent by a terminal to be networked, obtaining a terminal identity of the terminal to be networked; Determine a first identity verification condition of the terminal to be networked based on the terminal identifier and the list of terminals to be networked.
4. The method of claim 1, wherein, The terminal public key is generated by the terminal to be networked based on the terminal identifier and challenge word information.
5. A terminal networking device, characterized by The device is configured in a converged gateway, and the device comprises: A first determination module configured to determine a first identity verification condition of the terminal to be networked in response to a first network configuration request sent by the terminal to be networked; A first acquisition module configured to acquire a TWT sequencing rule and a minimum TWT of the terminal to be networked in a case where the first identity verification condition is verified; A sending module configured to determine a wake-up time sequence based on the TWT sequencing rule and the minimum TWT of the terminal to be networked, wherein the wake-up time sequence comprises a first wake-up time, a second wake-up time and a third wake-up time for waking up the terminal to be networked, and the sending module is configured to send the wake-up time sequence to the terminal to be networked, so that the terminal to be networked performs a wake-up operation at the first wake-up time, the second wake-up time and the third wake-up time, respectively, and the sending module is configured to receive a first negotiation request sent by the terminal to be networked in a case where the terminal to be networked has been woken up, and generate a gateway public key based on the terminal identifier and challenge word information, wherein the first negotiation request is sent by the terminal to be networked after receiving the wake-up time sequence, generate first verification information based on the gateway public key and a terminal public key carried in the first negotiation request, and send the first verification information and the gateway public key to the terminal to be networked, so that the terminal to be networked generates second verification information based on the gateway public key, a terminal private key and the first verification information, receive the second verification information sent by the terminal to be networked, and perform security confirmation on the terminal to be networked based on the first verification information and the second verification information, and send network configuration information to the terminal to be networked in a case where the security confirmation is secure.
6. The apparatus of claim 5, wherein, The device further comprises: A second acquisition module configured to acquire a terminal identifier of a terminal to be networked in response to a second network configuration request sent by the terminal to be networked; A second determination module configured to determine a second identity verification condition of the terminal to be networked based on the terminal identifier; A third acquisition module configured to acquire a minimum TWT of the terminal to be networked in a case where the second identity verification condition is verified; A third determination module configured to determine a TWT sequencing rule based on the minimum TWT of the terminal to be networked, minimum TWTs of other terminals and an information processing time length of the converged gateway, wherein the other terminals refer to terminals other than the terminal to be networked and sending the second network configuration request to the converged gateway within a preset time period.
7. The apparatus of claim 5, wherein, The terminal public key is generated by the terminal to be networked based on the terminal identifier and challenge word information.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement the steps of the method in any one of claims 1 to 4.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 4.
10. A computer program product comprising a computer program, characterized in that, The computer program, which when executed by the processor, implements the steps of the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Communication method for reducing cost and terminal power consumption based on 802.11ah
CN105813077A
Intelligent device and network connection method thereof, routing device and storage medium
CN115150796A