Network access control method, communication system and related devices

CN122802996APending Publication Date: 2026-09-22AMLOGIC (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510341223.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0004]然而,目前的中心设备的入网控制方法,存在着入网成功率和速度低下的问题

Benefits of technology

[0026]本发明实施例提供的入网控制方法,包括:采用网络层响应于终端设备的关联请求命令,生成相应的数据请求原语数据结构并发送至MAC层,所述数据请求原语数据结构包括所述终端设备的短地址和扩展地址的信息;采用MAC层响应于所述数据请求原语数据结构,生成相应的未决数据结构并存储至预设的未决队列,所述未决数据结构包括相应的关联响应命令帧和所述终端设备的短地址和扩展地址的信息;采用所述MAC层响应于所述终端设备的轮询命令,根据所述轮询命令中携带的短地址或扩展地址的信息,从所述未决队列中查找到的未决数据结构中获取相应的关联响应命令并发送至所述终端设备。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122802996A_ABST
    Figure CN122802996A_ABST
Patent Text Reader

Abstract

A network access control method, a communication system and related devices, the network access control method comprising: generating a corresponding data request primitive data structure and sending to a MAC layer in response to an association request command of a terminal device by a network layer, the data request primitive data structure comprising information of a short address and an extended address of the terminal device; generating a corresponding pending data structure and storing to a preset pending queue in response to the data request primitive data structure by the MAC layer, the pending data structure comprising a corresponding association response command frame and information of the short address and the extended address of the terminal device; and obtaining a corresponding association response command from the pending data structure found in the pending queue according to information of a short address or an extended address carried in a polling command of the terminal device and sending to the terminal device by the MAC layer in response to the polling command. The technical scheme of the embodiment of the present application can improve the network access success rate and speed of the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communications, and in particular to a network access control method, a communication system and related equipment. Background Technology

[0002] The proliferation of networks, particularly in the 2.4 GHz band, such as Zigbee, Thread, Bluetooth Low Energy (BLE), and other low-power wireless communication networks, as well as Wireless Fidelity (WiFi), which operates at much higher transmission power levels, poses a challenge to attempts to leverage multiple network protocols.

[0003] In low-power wireless communication networks, devices in the low-power network protocol can be divided into central devices and terminal devices according to their roles. The central device acts as a gateway, selecting channels to construct the low-power wireless communication network, while the terminal devices apply to join the short-range wireless communication network constructed by the central device.

[0004] However, the current methods for controlling network access for central equipment suffer from low success rates and slow speeds. Summary of the Invention

[0005] The problem solved by the embodiments of the present invention is to provide a network access control method, a communication system and related equipment, which can improve the network access success rate and speed of terminal devices.

[0006] To address the above problems, embodiments of the present invention provide a network access control method, applied to a central device, comprising:

[0007] The network layer responds to the associated request command from the terminal device, generates a corresponding data request primitive data structure, and sends it to the MAC layer. The data request primitive data structure includes information about the short address and extended address of the terminal device.

[0008] The MAC layer responds to the data request primitive data structure, generates a corresponding pending data structure, and stores it in a preset pending queue. The pending data structure includes the corresponding associated response command frame and information about the short address and extended address of the terminal device.

[0009] The MAC layer responds to the polling command of the terminal device, and retrieves the corresponding associated response command from the pending data structure found in the pending queue based on the short address or extended address information carried in the polling command, and sends it to the terminal device.

[0010] Optionally, the data request primitive data structure includes: a device address member for storing information about the extended address of the terminal device; an associated short address member for storing information about the short address of the terminal device; a security level member for storing information about the security level of the transmission frame of the terminal device; a key identifier mode member for storing information about the security mode of the transmission frame of the terminal device; a key source member for storing information about the source of the key used by the transmission frame of the terminal device; a key index member for storing information about the key sequence number used by the transmission frame of the terminal device; and an association status member for storing information about the association status of the terminal device.

[0011] Optionally, the pending data structure includes: a pending address member for storing information about the extended address of the terminal device; a short address member for storing information about the short address of the terminal device; and a pending frame buffer member for storing information about the corresponding associated response command frame of the terminal device.

[0012] Optionally, the pending queue is also used to store pending data structures having data frames transmitted using an indirect transmission method;

[0013] The pending data structure also includes a frame type member, which stores information about whether the pending frame buffer member stores a command frame or a data frame.

[0014] Optionally, when it is determined that the duration of the existence of the pending data structure reaches a preset duration threshold, and the terminal device has still not successfully joined the network, the method further includes: deleting the pending data structure from the pending queue.

[0015] Optionally, the pending data structure includes a duration member for storing information about the duration of the existence of the pending data structure;

[0016] When the MAC layer determines, through the duration member, that the existence duration of the pending data structure has reached a preset duration threshold and the terminal device has still not successfully joined the network, the pending data structure is deleted from the pending queue.

[0017] Optionally, the duration threshold is 1 to 500 ms.

[0018] Accordingly, embodiments of the present invention also provide a central device, including:

[0019] The network layer is adapted to respond to the association request command of the terminal device, generate the corresponding data request primitive data structure and send it to the MAC layer. The data request primitive data structure includes information about the short address and extended address of the terminal device.

[0020] The MAC layer is adapted to respond to the data request primitive data structure, generate a corresponding pending data structure and store it in a preset pending queue. The pending data structure includes a corresponding associated response command frame and information about the short address and extended address of the terminal device. It is also adapted to respond to the polling command of the terminal device, retrieve the corresponding associated response command from the pending data structure found in the pending queue according to the short address or extended address information carried in the polling command, and send it to the terminal device.

[0021] Optionally, the central device includes a coordinator and / or a router.

[0022] Accordingly, embodiments of the present invention also provide a communication system, including the central device and terminal device as described above.

[0023] Accordingly, embodiments of the present invention also provide a computer program product, including a computer program / instruction, which, when executed by a processor, is used to implement the network access control method as described in any of the preceding claims.

[0024] Accordingly, embodiments of the present invention also provide a storage medium storing one or more computer instructions, the one or more computer instructions being used to implement the network access control method as described in any of the above claims.

[0025] Compared with the prior art, the technical solution of the embodiments of the present invention has the following advantages:

[0026] The network access control method provided in this embodiment of the invention includes: using the network layer to respond to an association request command from a terminal device, generating a corresponding data request primitive data structure and sending it to the MAC layer, wherein the data request primitive data structure includes information about the short address and extended address of the terminal device; using the MAC layer to respond to the data request primitive data structure, generating a corresponding pending data structure and storing it in a preset pending queue, wherein the pending data structure includes a corresponding association response command frame and information about the short address and extended address of the terminal device; using the MAC layer to respond to a polling command from the terminal device, obtaining a corresponding association response command from the pending data structure found in the pending queue based on the short address or extended address information carried in the polling command, and sending it to the terminal device.

[0027] The network access control method provided in this embodiment of the invention can retrieve the pending data structure including the corresponding associated response command frame from the pending queue, regardless of whether the polling command of the terminal carries the extended address of the terminal device or the short address allocated to the terminal device. This can improve the success rate of querying the associated response command frame. Furthermore, after the MAC layer sends the associated response command frame to the terminal device so that the terminal device obtains the short address allocated to it, if the MAC layer receives a polling command carrying the short address sent by the terminal device, it can resend the associated response command frame to the terminal device. This provides a retransmission mechanism for the associated response command frame, which is beneficial to improving the network access success rate and speed of the terminal device. Attached Figure Description

[0028] Figure 1 This is a signaling flowchart of the communication system provided by the technical solution of the present invention, showing the process of the terminal device joining the network.

[0029] Figure 2 This is a schematic diagram of the frame structure of an embodiment of the central equipment provided by the technical solution of the present invention;

[0030] Figure 3 This is a schematic diagram of an optional hardware structure of the device provided by the technical solution of the present invention. Detailed Implementation

[0031] As can be seen from the background technology, the current network access control methods for central equipment suffer from low network access success rate and low speed.

[0032] Specifically, the terminal device applying for network access first sends an association request command to the central device. After receiving the association request command from the terminal device, the central device sends an association response command frame carrying a short address to the terminal device. When the terminal device receives the association response command frame, it considers the network access successful and replies with an ACK frame to the central device.

[0033] However, due to the influence of other devices operating on the same channel, the central device may fail to receive the acknowledgment frame from the terminal device, causing the central device to determine that the terminal device has failed to join the network. Subsequently, the terminal device, unaware of its own failure, sends a polling command carrying a short address to the central device. At this point, because the central device has determined that the terminal device has failed to join the network, it can only send the association response command to the terminal device again upon receiving a polling command carrying the extended address of the terminal device. This forces the terminal device to restart the network joining process after multiple failed polling attempts, affecting the success rate and speed of the terminal device's network joining.

[0034] To address the aforementioned technical problems, the network access control method provided in this embodiment of the invention includes: a network layer responding to an association request command from a terminal device, generating a corresponding data request primitive data structure and sending it to the MAC layer, wherein the data request primitive data structure includes information about the short address and extended address of the terminal device; a MAC layer responding to the data request primitive data structure, generating a corresponding pending data structure and storing it in a preset pending queue, wherein the pending data structure includes a corresponding association response command frame and information about the short address and extended address of the terminal device; and a MAC layer responding to a polling command from the terminal device, retrieving a corresponding association response command from the pending data structure found in the pending queue based on the short address or extended address information carried in the polling command, and sending it to the terminal device.

[0035] The network access control method provided in this embodiment of the invention can retrieve the pending data structure including the corresponding associated response command frame from the pending queue, regardless of whether the polling command of the terminal carries the extended address of the terminal device or the short address allocated to the terminal device. This can improve the success rate of querying the associated response command frame. Furthermore, after the MAC layer sends the associated response command frame to the terminal device so that the terminal device obtains the short address allocated to it, if the MAC layer receives a polling command carrying the short address sent by the terminal device, it can resend the associated response command frame to the terminal device. This provides a retransmission mechanism for the associated response command frame, which is beneficial to improving the network access success rate and speed of the terminal device.

[0036] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0037] Figure 1 This diagram illustrates the signaling flow between the central device and the terminal device in the network access process of the terminal device in the communication system provided by the technical solution of this invention. Please refer to it. Figure 1 A network access control method, applied to a central device, may specifically include the following steps:

[0038] Step S110: The network layer of the central device responds to the association request command of the terminal device, generates a corresponding data request primitive data structure, and sends it to the MAC layer. The data request primitive data structure includes information about the short address and extended address of the terminal device.

[0039] Step S120: Using the MAC layer to respond to the data request primitive data structure, generate a corresponding pending data structure and store it in a preset pending queue. The pending data structure includes the corresponding associated response command frame and information on the short address and extended address of the terminal device.

[0040] Step S130: The MAC layer responds to the polling command of the terminal device, and according to the short address or extended address information carried in the polling command, retrieves the corresponding associated response command from the pending data structure found in the pending queue and sends it to the terminal device.

[0041] Please continue to refer to the reference. Figure 1 In step S110, the network layer responds to the association request command of the terminal device, generates a corresponding data request primitive data structure, and sends it to the MAC layer. The data request primitive data structure includes information about the short address and extended address of the terminal device.

[0042] The network layer responds to the associated request command from the terminal device, generates a corresponding data request primitive data structure, and sends it to the MAC layer. The data request primitive data structure includes information about the short address and extended address of the terminal device, providing a basis for the MAC layer to respond to the data request primitive data structure, generate a corresponding pending data structure, and store it in a preset pending queue.

[0043] In this embodiment, the central device, such as a coordinator or router, constructs a corresponding short-range, low-power, low-speed wireless communication network on a channel in the 2.4 GHz spectrum according to a low-speed wireless communication network protocol. The short-range, low-power, low-speed wireless communication network protocol includes Zigbee, Thread, Bluetooth Low Energy (BLE), and Wireless Fidelity (WiFi) wireless communication network protocol, which has a much higher transmission power level.

[0044] Accordingly, the terminal device, such as a sensor or home appliance, can perform channel scanning in the 2.4 GHz spectrum in a preset order to obtain the channel identifier of the central device; and when the channel identifier of the central device is scanned on the corresponding channel, the network layer of the terminal device sends an association request command carrying its own extended address to the network layer of the central device, so that the central device can obtain the network access request of the terminal device and the extended address information of the terminal device.

[0045] In this embodiment, when the network layer (or host layer) of the central device receives the association request command, it parses the command to obtain the extended address information of the terminal device and assigns a corresponding short address to the terminal device as a unique identifier after the terminal device successfully joins the network. Then, the network layer of the central device generates a data request primitive data structure including the extended address and short address information of the terminal device and sends it to the MAC layer of the central device to trigger the MAC layer to generate a corresponding pending data structure and store it in a preset pending queue.

[0046] In this embodiment, the data request primitive data structure is obtained by extending the existing primitive command data request primitive data structure.

[0047] Specifically, the data request primitive data structure includes: a device address member (device_address) for storing information about the extended address of the terminal device; an association short address member (association_short_address) for storing information about the short address of the terminal device; a security level member (security_level) for storing information about the security level of the transmission frame of the terminal device; a key identifier mode member (key_id_mode) for storing information about the security mode of the transmission frame of the terminal device; a key source member (key_source) for storing information about the source of the key used in the transmission frame of the terminal device; a key index member (key_index) for storing information about the key sequence number used in the transmission frame of the terminal device; and an association status member (association_status) for storing information about the association status of the terminal device.

[0048] In the aforementioned data request primitive data structure, the device address member and the associated short address member are used to enable the MAC layer of the central device to obtain the extended address and short address information of the terminal device, and add them to the generated pending data structure; the information in the security level member, key identifier mode member, key source member, and key index member is information related to the terminal device's encryption and decryption of transmitted security frames after successful network access, and comes from the network layer protocol stack; the association status member is used to store information on whether the association status of the terminal device is fast association, normal association, or association failure.

[0049] Please continue to refer to the reference. Figure 1In step S120, the MAC layer of the central device responds to the data request primitive data structure, generates a corresponding pending data structure, and stores it in a preset pending queue. The pending data structure includes the corresponding associated response command frame and information on the short address and extended address of the terminal device.

[0050] The central device's MAC layer responds to the data request primitive data structure, generates a corresponding pending data structure, and stores it in a preset pending queue. This provides a basis for the subsequent use of the MAC layer to respond to the terminal device's polling command, and to retrieve the corresponding associated response command from the pending data structure found in the pending queue based on the short address or extended address information carried in the polling command, and then send it to the terminal device.

[0051] The central device's MAC layer responds to the data request primitive data structure, generates a corresponding pending data structure, and stores it in a preset pending queue. Compared with the existing method of storing the data request primitive data structure using the central device's MAC layer, this method saves storage space and improves resource utilization.

[0052] In this embodiment, the pending queue is also used to store pending data structures containing data frames transmitted using an indirect transmission method. In other words, the pending data structures containing data frames transmitted using an indirect transmission method and the pending data structures containing associated response command frames transmitted using an indirect transmission method share the same pending queue, thereby sharing the same storage space, which is beneficial to further improve the utilization rate of the central device's storage space.

[0053] Accordingly, the pending data structure includes: a pending address (mac_pending_address) member, used to store information about the extended address of the terminal device; a short address (short_address) member, used to store information about the short address of the terminal device; a pending frame buffer (mac_pending_frame_buffer) member, used to store information about the corresponding associated response command frame of the terminal device; and a frame type member, used to store information about whether the pending frame buffer member stores a command frame or a data frame.

[0054] In the aforementioned pending data structure, the associated response frames stored in the pending frame buffer member are used to send to the terminal device later. The pending address member and the short address member are for setting up fast query and transmission of associated response command frames later. The frame type member is set to distinguish between pending data structures of data frames transmitted in an indirect transmission method and pending data structures of associated response command frames transmitted in an indirect transmission method.

[0055] In other embodiments, a dedicated pending queue can be set up for pending data structures with associated response command frames. This eliminates the need for members used to distinguish different types of pending data structures, such as frame type members, which simplifies the structure of the pending data structures with associated response command frames.

[0056] In another embodiment, to facilitate the transmission of associated response command frames between the central device and the terminal device and to enable rapid querying of pending data structures in the pending queue, the pending data structure can also include a larger number of members. For example, an address_mode member for storing information about whether the matching polling command carries the terminal device's short or extended address; an acknowledgment_request member for storing information about whether the terminal device needs to reply with an acknowledgment frame after receiving the associated response command frame; a command member for storing whether the pending frame in the pending frame buffer is a command frame; and a frame_length member for storing the frame length of the associated response command frame, etc.

[0057] Please continue to refer to the reference. Figure 1 In step S130, the central device responds to the polling command of the terminal device using the MAC layer. Based on the short address or extended address information carried in the polling command, the corresponding associated response command is obtained from the pending data structure found in the pending queue and sent to the terminal device.

[0058] The central device's MAC layer responds to the terminal device's polling command. Based on the short or extended address information carried in the polling command, it retrieves the corresponding associated response command from the pending data structure in the pending queue and sends it to the terminal device, enabling indirect transmission of associated response command frames. The terminal device's polling command is sent by its MAC layer and triggered by the terminal device's network layer's polling request primitive.

[0059] In this embodiment, when the MAC layer of the central device receives a polling command sent by the MAC layer of the terminal device, it sends a corresponding confirmation message to the MAC layer of the terminal device, so that the MAC layer of the terminal device knows that the central device has successfully received the polling command. The pending data structure includes both the extended address and the short address information of the terminal device, ensuring that regardless of whether the polling command carries the extended address or the short address of the terminal device, the corresponding pending data structure can be successfully retrieved from the pending queue. This improves the success rate of querying associated response command frames, thereby increasing the network access success rate of the terminal device.

[0060] At the same time, the pending data structure includes information on the extended address and short address of the terminal device, so that regardless of whether the polling command of the terminal device carries the extended address or the short address of the terminal device, the corresponding pending data structure can be successfully retrieved from the pending queue, and a retransmission mechanism is also provided for the associated response command frame.

[0061] Specifically, the MAC layer of the central device has already transmitted the corresponding associated response command frame to the terminal device. This allows the terminal device to obtain its assigned short address. If, due to interference from coexisting networks on the same channel, the central device does not receive an acknowledgment frame in response to the associated response command frame, and the MAC layer of the central device receives a polling command carrying its own short address from the terminal device confirming successful network access, the central device can retrieve the corresponding pending data structure from the pending queue based on the terminal device's short address and resend the corresponding associated response command frame to the terminal device. This eliminates the need to re-initiate the network access process, thus improving the success rate and speed of the terminal device's network access.

[0062] In this embodiment, after receiving the association request response sent by the MAC layer of the central device, the MAC layer of the terminal device sends a polling confirmation notification message to the network layer of the terminal device, so that the network layer of the terminal device can obtain information that the association request response has been successfully received.

[0063] In this embodiment, when it is determined that the duration of existence of the pending data structure reaches a preset duration threshold and the terminal device has still not successfully joined the network, the network access control method further includes: deleting the pending data structure from the pending queue.

[0064] Deleting the pending data structures of terminal devices that have reached a preset duration threshold and have still not successfully joined the network from the pending queue helps save storage space and improves the query efficiency of pending data structures.

[0065] In this embodiment, the pending data structure further includes a duration (persist_time) member, which stores information about the duration of existence of the pending data structure.

[0066] Accordingly, when the MAC layer obtains through the duration member that the existence duration of the pending data structure has reached a preset duration threshold, and the terminal device has still not successfully joined the network, the MAC layer deletes the pending data structure from the pending queue.

[0067] In other embodiments, the MAC layer of the central device may also use other suitable methods to obtain information on the duration of existence of the pending data structure. Those skilled in the art can set these methods according to actual needs, and no restrictions are imposed here.

[0068] It should be noted that the duration threshold should not be too long or too short. If the duration threshold is too short, it will have little effect on improving the query success rate and network access success rate of the associated response command frame. If the time-series threshold is too long, it may lead to an excessively long pending queue, which is not conducive to saving storage space and improving query efficiency. Therefore, in this embodiment, the duration threshold is 1 to 500 ms, such as 10 ms, 20 ms, 50 ms, etc.

[0069] Accordingly, embodiments of the present invention also provide a central device.

[0070] Figure 2 A schematic diagram of an embodiment of the central device provided by the technical solution of the present invention is shown. (Referring to the reference...) Figure 2 A central device 20 may include: a network layer 201, adapted to generate a corresponding data request primitive data structure and send it to the MAC layer in response to an association request command from a terminal device, wherein the data request primitive data structure includes information on the short address and extended address of the terminal device; a MAC layer 202, adapted to generate a corresponding pending data structure and store it in a preset pending queue in response to the data request primitive data structure, wherein the pending data structure includes a corresponding association response command frame and information on the short address and extended address of the terminal device; and further adapted to retrieve a corresponding association response command from the pending data structure found in the pending queue and send it to the terminal device in response to a polling command from the terminal device, based on the short address or extended address information carried in the polling command.

[0071] In this embodiment, the central device is a coordinator. In other embodiments, the central device may also be a router or other gateway; this is not a limitation.

[0072] The central device in this embodiment of the invention can be used to execute the aforementioned network access control method, or other functional modules can be used to execute the aforementioned network access control method. For a detailed description of the network access control method, please refer to the foregoing section; it will not be repeated here.

[0073] Accordingly, this embodiment of the invention also provides a device that can implement the network access control method provided by this embodiment of the invention by loading a program.

[0074] refer to Figure 3The diagram illustrates an optional hardware structure of a device provided in an embodiment of the present invention. The device in this embodiment includes: at least one processor 01, at least one communication interface 02, at least one memory 03, and at least one communication bus 04.

[0075] In this embodiment, the number of processor 01, communication interface 02, memory 03 and communication bus 04 is at least one, and processor 01, communication interface 02 and memory 03 communicate with each other through communication bus 04.

[0076] Communication interface 02 can be an interface for a communication module used for network communication, such as the interface for a GSM module.

[0077] Processor 01 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the network access control method of this embodiment.

[0078] The memory 03 may include high-speed RAM, and may also include non-volatile memory, such as at least one disk storage device. The memory 03 stores one or more computer instructions, which are executed by the processor 01 to implement the network access control method provided in the foregoing embodiments.

[0079] It should be noted that the above-described implementing electronic device may also include other devices (not shown) that may not be essential to understanding the content disclosed in the embodiments of the present invention; given that these other devices may not be essential to understanding the content disclosed in the embodiments of the present invention, the embodiments of the present invention will not describe them one by one.

[0080] Accordingly, embodiments of the present invention also provide a computer program product, including a computer program / instruction, which, when executed by a processor, is used to implement the network access control method described in the embodiments of the present invention.

[0081] This invention also provides a storage medium storing one or more computer instructions for implementing the network access control method provided in the foregoing embodiments.

[0082] The embodiments of the present invention described above are combinations of elements and features of the present invention. Unless otherwise stated, elements or features may be considered optional. Individual elements or features may be practiced without combination with other elements or features. Furthermore, embodiments of the present invention may be constructed by combining some elements and / or features. The order of operations described in the embodiments of the present invention may be rearranged. Some constructions of any embodiment may be included in another embodiment and may be replaced by corresponding constructions of another embodiment. It will be apparent to those skilled in the art that claims in the appended claims that are not expressly referenced in each other may be combined to form embodiments of the present invention, or may be included as new claims in amendments made after the filing of this application.

[0083] Embodiments of the present invention can be implemented by various means, such as hardware, firmware, software, or combinations thereof. In a hardware configuration, the method according to an exemplary embodiment of the present invention can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, etc.

[0084] In firmware or software configuration, embodiments of the present invention can be implemented in the form of modules, processes, functions, etc. Software code can be stored in a memory unit and executed by a processor. The memory unit is located inside or outside the processor and can send data to and receive data from the processor via various known means.

[0085] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is accorded the widest scope consistent with the principles and novel features disclosed herein.

[0086] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.

Claims

1. A network access control method, applied to a central device, characterized in that, include: The network layer responds to the associated request command from the terminal device, generates a corresponding data request primitive data structure, and sends it to the MAC layer. The data request primitive data structure includes information about the short address and extended address of the terminal device. The MAC layer responds to the data request primitive data structure to generate a corresponding pending data structure and stores it in a preset pending queue. The pending data structure includes the corresponding associated response command frame and information about the short address and extended address of the terminal device. The MAC layer responds to the polling command of the terminal device, and retrieves the corresponding associated response command from the pending data structure found in the pending queue based on the short address or extended address information carried in the polling command, and sends it to the terminal device.

2. The network access control method as described in claim 1, characterized in that, The data request primitive data structure includes: a device address member for storing information about the extended address of the terminal device; an associated short address member for storing information about the short address of the terminal device; a security level member for storing information about the security level of the transmission frame of the terminal device; a key identifier mode member for storing information about the security mode of the transmission frame of the terminal device; a key source member for storing information about the source of the key used in the transmission frame of the terminal device; a key index member for storing information about the key sequence number used in the transmission frame of the terminal device; and an association status member for storing information about the association status of the terminal device.

3. The network access control method as described in claim 1, characterized in that, The pending data structure includes: a pending address member for storing information about the extended address of the terminal device; a short address member for storing information about the short address of the terminal device; and a pending frame buffer member for storing information about the corresponding associated response command frame of the terminal device.

4. The network access control method as described in claim 3, characterized in that, The pending queue is also used to store pending data structures containing data frames transmitted using an indirect transmission method; The pending data structure also includes a frame type member, which stores information about whether the pending frame buffer member stores a command frame or a data frame.

5. The network access control method as described in claim 1, characterized in that, When it is determined that the duration of the existence of the pending data structure has reached a preset duration threshold, and the terminal device has still not successfully joined the network, the method further includes: deleting the pending data structure from the pending queue.

6. The network access control method as described in claim 5, characterized in that, The pending data structure includes a duration member, used to store information about the duration of the existence of the pending data structure; When the MAC layer determines, through the duration member, that the existence duration of the pending data structure has reached a preset duration threshold and the terminal device has still not successfully joined the network, the pending data structure is deleted from the pending queue.

7. The network access control method as described in claim 5, characterized in that, The duration threshold is 1 to 500 ms.

8. A central device, characterized in that, include: The network layer is adapted to respond to the association request command of the terminal device, generate the corresponding data request primitive data structure and send it to the MAC layer. The data request primitive data structure includes information about the short address and extended address of the terminal device. The MAC layer is adapted to respond to the data request primitive data structure, generate a corresponding pending data structure and store it in a preset pending queue. The pending data structure includes a corresponding associated response command frame and information about the short address and extended address of the terminal device. It is also adapted to respond to the polling command of the terminal device, retrieve the corresponding associated response command from the pending data structure found in the pending queue according to the short address or extended address information carried in the polling command, and send it to the terminal device.

9. The central equipment as described in claim 8, characterized in that, The central equipment includes a coordinator and / or a router.

10. A communication system, characterized in that, Includes the central equipment and terminal equipment as described in claim 8.

11. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they are used to implement the network access control method as described in any one of claims 1 to 7.

12. A storage medium, characterized in that, The storage medium stores one or more computer instructions, which are used to implement the network access control method as described in any one of claims 1 to 7.