Lightweight polling type wireless networking encryption technology protocol design method
By designing a lightweight polling wireless network encryption technology protocol, the central network structure and polling and calling method are adopted, the access security and reliability of unmanned devices in the wireless network are solved, and the rapid, secure and Effective networking.
Patent Information
- Application Number
- CN202411696676.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-02-18
AI Technical Summary
The prior art is difficult to achieve secure, reliable and fast access to unmanned devices in wireless networks.
A lightweight polling wireless network encryption technology protocol is designed, adopting a central network structure, and the user station's access and data transmission is realized through polling and name-based methods, providing lightweight network access authentication and data encryption protection.
It realizes fast, safe and effective networking between unmanned equipment, and meets the timeliness, confidentiality and non-deniability of communication between unmanned equipment.
Smart Images

Figure CN119485286A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of wireless networking, and in particular relates to a lightweight polling type wireless networking encryption technology protocol design method. Background Art
[0002] The MIL-STD-188-220B protocol is a packet radio-based interoperability standard for command systems, control systems, communication systems, computer systems, intelligent systems (C4I) and digital information delivery devices (DMTD). The lightweight polling wireless networking protocol completes networking data communication based on this protocol.
[0003] The MIL-STD-188-220B protocol defines a layered protocol for information transmission in broadcast wireless communication subnets and point-to-point connections, involving the internal subnet layer, data link layer, and physical layer of the network layer, so that intercommunication can be achieved between DMTDs within the layered structure and between DMTDs and C4I systems. The internal subnet protocol defines a variety of protocol data encapsulation formats, which are used to route data packets of the internal subnet between a source node and possible multiple destination nodes in a wireless communication network, and provide the exchange of topology and connection information. The data link layer defines four working modes, connection-oriented and connectionless, and the corresponding data link layer frame formats, provides data framing requests, error control, flow control, channel access control and other functions, and ensures the transmission of information in the established physical channel. The physical layer defines the interface of the transmission network and the physical layer data frame format.
[0004] The MIL-STD-188-220B protocol structure is defined as shown in Table 1. In the data link layer, type 1 is an unconfirmed connectionless service, type 2 is a connection-oriented service, type 3 is a confirmed connectionless service, and type 4 is a split confirmed connectionless service; in the network access mode, R-NAD represents random network access, P-NAD represents priority network access, H-NAD represents hybrid network access, DAP-NAD represents determined adaptive priority network access, and RE-NA represents embedded radio network access. Type 1 and type 3 are based on ISO802.2. For all DMTD and C4I systems that implement the MIL-STD-188-220B protocol, type 1 and type 3 services must be supported. Type 2 and type 4 services are optional.
[0005] Table 1 MIL-STD-188-220B protocol structure
[0006]
[0007]
[0008] The purpose of the physical layer is to transmit the original bits from one machine (mobile terminal, etc.) to another machine (mobile terminal, etc.). The MIL-STD-188-220B protocol specification mainly describes the functions of activating, maintaining, and releasing communications between communication systems. The physical channel for transmitting protocol data can be a wired link, a satellite link, or a wireless link.
[0009] The data link layer provides control functions to ensure information transmission on the physical channel, including providing data framing specifications as well as flow control, forward error control, zero insertion, TDC encoding and decoding, and network access control.
[0010] The network layer mainly specifies how to exchange routing information and update the topology routing structure table and other upper-layer information exchange procedures in the same wireless subnetwork.
[0011] Wireless network management mainly involves data link layer and network layer management, including centralized management and distributed management. Centralized network control has only one network controller to manage and control all aspects of the network. Only one station can be designated as the network controller, and access parameters can only be obtained from this network controller. Distributed network control allows multiple stations to share the network control function, and access parameters can be obtained from any station that acts as a network controller. Lightweight polling wireless networking technology protocol is based on centralized network management. Summary of the invention
[0012] 1. Technical issues to be resolved
[0013] The technical problem to be solved by the present invention is how to provide a lightweight polling wireless networking encryption technology protocol design method, through which unmanned equipment can be safely, reliably and quickly accessed to the wireless network.
[0014] (II) Technical solution
[0015] In order to solve the above technical problems, the present invention proposes a lightweight polling wireless networking encryption technology protocol design method. In the protocol, the network form is a central network, the command station is the center, and the users in the network are numbered in the following manner: No. 0 is the central station, No. 1 to No. N are user stations, No. 0 is the command station, and the networking method is polling;
[0016] There is only one working frequency in the protocol, using the same frequency simplex mode and single hop, that is, only one station can be in the sending or receiving state at a certain time; the network is asynchronous, and each station does not send at the same time, and can only send data when it is named;
[0017] There are two working modes in the protocol:
[0018] Non-networking mode, that is, end-to-end working mode, the user station does not need to enter the network, and data is sent directly between the central station and the user station, and between the user stations;
[0019] Networking mode, that is, station 0 is the central station, and stations 1 to N are user stations. The user stations must first join the network, and after joining the network, the central station polls and calls each user station to send data;
[0020] The operating mode is selected by the user terminal.
[0021] (III) Beneficial effects
[0022] The present invention proposes a lightweight polling wireless networking encryption technology protocol design method. The present invention realizes fast, safe and effective networking between unmanned devices through a lightweight wireless networking encryption technology protocol, provides lightweight network access authentication and lightweight data encryption protection capabilities for unmanned devices to access the network, and meets the timeliness, confidentiality and non-repudiation of communication between unmanned devices. Through this protocol, unmanned devices can access the wireless network safely, reliably and quickly. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A simple working process of the protocol of the present invention;
[0024] Figure 2 This is a beacon frame format diagram;
[0025] Figure 3 It is a data frame format diagram;
[0026] Figure 4 This is the frame header format diagram. DETAILED DESCRIPTION
[0027] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.
[0028] With the rapid development of communication technology, wireless communication technology has played an important role. Networking between unmanned devices must be safe, reliable and fast, and wireless communication has become an important means of communication between unmanned devices. A lightweight polling wireless networking encryption technology protocol of the present invention can realize the security authentication and data communication of unmanned device networking.
[0029] The present invention realizes a lightweight polling type wireless networking encryption technology protocol, through which unmanned equipment can be safely, reliably and quickly accessed to the wireless network.
[0030] In this protocol, the network is in the form of a central network with the command station as the center. Users in the network are numbered as follows: No. 0 is the central station, 1 to N are user stations (for example, N=15, the number of user stations can be expanded), No. 0 is the command station, and the networking method is polling.
[0031] There is only one working frequency in the protocol, and it uses the same-frequency simplex mode and single hop, that is, only one station can be in the sending state or the receiving state at a certain time; the network is asynchronous, and each station does not send at the same time. It can only send data when it is called. There are two working modes in the protocol: non-networking mode, that is, end-to-end working mode (non-networking), the user station does not need to join the network, and data can be sent directly between the central station and the user station, and between the user stations; networking mode, that is, station No. 0 is the central station, and numbers 1 to N are user stations. The user station must join the network first, and after joining the network, the central station uses polling to call each user station to send data. The working mode is selected by the user terminal. The simple working process of the protocol is as follows: Figure 1 shown.
[0032] The working process of this protocol is:
[0033] During initialization, the network is not formed. The central station sends a 0 beacon frame for network access to user station 1. After receiving this 0 beacon frame, user station 1 sends a network access application frame to the central station. The central station receives the network access application frame, indicating that user station 1 has successfully accessed the network. If the central station has data to send and its destination station has already accessed the network, it sends a data frame.
[0034] Next, the central station determines whether all user stations have been connected to the network. If there are still stations that have not been connected to the network, it needs to allow the users who have not been connected to the network to continue to connect to the network, such as allowing user station 2 to connect to the network. After user station 2 is connected to the network, the central station calls out the users who have been connected to the network one by one and asks them to send data. After that, if the central station has data to send and the destination station of the data has been connected to the network, it sends the data frame. If there are still user stations that have not been connected to the network, continue to let them connect to the network. Then call out all the user stations that have been connected to the network and ask them to send data.
[0035] Then the central station sends data in turn. When all user stations are connected to the network, each user station is called out to give them a chance to send data. After that, the central station sends data and then calls out all user stations. This process continues until all stations have sent data.
[0036] There are two types of frames in the protocol: beacon frames (S frames) and data frames (I frames). Beacon frames (S frames) include four types: 0 beacon frames sent by the central station to allow users to join the network, call-in frames sent by the central station to call the user station to send data, network access application frames sent by the user station to apply for network access, and response packets sent to the central station when the user station has no data to send after being called. The frame format of the beacon frame is as follows: Figure 2 shown.
[0037] In order to facilitate the distinction in the protocol, the beacon frame includes: frame header and reserved bytes. The reserved bytes of each beacon frame are specified as follows:
[0038] When the network is not established, the reserved byte of the 0 beacon frame sent by the central station to allow the user station to join the network is set to 0;
[0039] When networking, the reserved byte of the 0 beacon frame sent by the central station to allow the user station to join the network is set to 2;
[0040] The reserved byte of the network access application frame sent by the user station to apply for network access is set to 1;
[0041] The central station calls the user station to make it send a call frame with data; its reserved byte is set to 3;
[0042] When the user station has no data to send, the reserved byte of the response packet sent to the central station is set to 4.
[0043] The “networking” mentioned in the text refers to the situation where one user station has been connected to the network but other stations have not been connected to the network; “non-networking” refers to the situation where no user station has been connected to the network.
[0044] A data frame (I frame) is a frame that carries the data that the user wants to send. The data frame includes: a frame header and data. Its frame format is as follows: Figure 3 shown.
[0045] The format of the frame header is very important, as it contains some control information, such as the identification of each frame function, the sending station, the destination station, etc. Figure 4 As shown, including: A0, A1, A2 and M.
[0046] When sending, A0, A1, and A2 have the same content and are sent in sequence; when receiving, 2 out of 3 is used for validation, that is, as long as any two are the same, the reception is considered correct; M identifies the encryption mode for the data frame, which specifies the algorithm or strategy used for data encryption, and is the encryption and decryption method shared by both communicating parties. A total of 4 encryption modes can be set. The scope of encryption and decryption is the data part of the data frame.
[0047] The meaning of each bit in the frame header is as follows:
[0048] (b9, b8) identifies the function of each frame
[0049] 00 Polling calibration frame (sent by the central station to allow network access and roll call)
[0050] 01 Data Frame
[0051] 10 Network access application frame (sent by the user station, used for network access application)
[0052] 11 When a user station sends data to another user station, the data frame (b7, b6, b5, b4) that needs to be forwarded by the central station is the sending station number
[0053] (b3, b2, bl, b0) destination station number
[0054] When the user station has no data to send, the frame header of the response packet sent to the central station has its (b9, b8) bits also (0, 0). However, since the sending station is the user station and the destination station is the central station, it will not be confused with the polling calibration frame sent by the central station.
[0055] The protocol also uses a user table to record the network access status of user stations. During initialization, the corresponding bits of each station are set to 1, indicating that none of them have accessed the network; when each user station has accessed the network in turn, the corresponding bits are set to 0, indicating that the user station has accessed the network. As long as there is a user station accessing the network, the position corresponding to the central station is set to 0, indicating that a user has accessed the network. The format of the user table is shown in Table 1. Note: The remarks column does not belong to the table structure content, but is only a comment.
[0056] Table 2 User table format
[0057] Node Number User login logo Remark 0 0 Existing users have logged in 1 0 User has logged in 2 1 User is not logged in 3 1 User is not logged in … 1 User is not logged in 14 1 User is not logged in N 1 User is not logged in
[0058] Embodiment 1:
[0059] The lightweight wireless networking protocol process is described below.
[0060] After powering on, it is initialized, that is, the variables to be used are set to initial values. When the node number is 0, the central station performs the following operations:
[0061] (1) First query the user table user access flag, that is, query the bit corresponding to the central station in the user table. If this bit is 1, it means that the network is not completed. If it is 0, it means that at least one user station has accessed the network;
[0062] (2) If the network is not completed, set the maximum number of network connections and the timer, send a 0 beacon frame to allow the user station to access the network, and then receive the network access application. If there is an application, receive the application frame, increase the number of network access users by 1, and set the user table network access flag; if there is no application and the timer has not timed out, continue to receive network access applications; when the timer times out, the count is increased by 1, and then it is determined whether the count exceeds the maximum number of network connections. If it does not exceed, continue to send 0 beacon frames to allow the user station to access the network, allow the next user to apply for network access, and then receive the network access application; otherwise, it means that the network has timed out, and ask the user to enter whether to continue the network. If it is required to continue the network, set the count to 0 and start a new round of user station network access process. If it is not required to continue the network, shut down.
[0063] When the network is complete, that is, at least one user station has joined the network, determine whether the central station has data to send. When the central station has data to send, it packages the data to be sent, sends 1 package when its destination station has joined the network, and then determines whether all users have joined the network. If they have all joined the network, poll the user station; otherwise, send a 0 beacon frame to allow the user station to join the network, allow users who have not joined the network to apply for joining the network, and receive the network application. When a new user joins the network, poll the user station.
[0064] The process of the central station polling the named user station is as follows: read the user table to determine whether a certain user station has been connected to the network. If the user station has been connected to the network, name the user station. Determine whether the named user needs to send data. If the named user has data to send, monitor the data sent by the user station to determine whether the user station has data to send to the central station. If so, receive the data; otherwise, the central station forwards the data sent by the user station to other user stations, and then jumps to the judgment procedure; when the named user has no data to send, the central station waits to receive the response packet sent back by the user station, and then jumps to the judgment procedure. If the user station is not connected to the network, jump to the judgment procedure.
[0065] The judgment procedure is as follows: the number of the currently named user station is increased by 1, and then it is determined whether it is greater than N. If it is not greater than N, continue to determine whether the next user station has been connected to the network; otherwise, make it 0, and return to the procedure to determine whether the central station has data to send. When the node number is not 0, the user station performs the following operations: first check the user network access flag to determine whether the user station has been connected to the network. If the user station has not been connected to the network, wait to receive the 0 beacon frame sent by the central station for network access, and apply for network access; if the user station has been connected to the network, determine whether the user station has data to send. When the user station has data to send, it packages the data to be sent and monitors the information transmitted on the Internet until the information is received.
[0066] If the named information is received, it is determined whether the destination station is connected to the network. If the destination station is connected to the network, the user sends 1 packet, and the remaining packets are sent when they are called later. If the destination station is not connected to the network, the user station sends a response packet to the central station. If it is not a named information, it is determined whether it is data sent to the user station. If so, the data is received. Otherwise, it is determined whether it is the first packet sent by another user. If so, the user address of the packet is extracted and stored in the user table of the user station. If the user station has no data to send, it monitors the information transmitted on the Internet until the information is received. If it is a named frame, a response packet is sent back to the central station. If it is data sent to itself, the data frame is received. If it is a packet sent by another user station for the first time, the user address of the packet is extracted and stored in the user table.
[0067] The above process is not complicated. It is to follow the process of joining the network, calling out the users who have joined the network, and the central station sending data, and this process will continue to cycle until all user stations are connected to the network. When all user stations are connected to the network, the process of calling out all user stations and the central station sending data will continue to cycle until all stations have sent the data they want to send.
[0068] The present invention realizes fast, safe and effective networking between unmanned devices through a lightweight wireless networking encryption technology protocol, provides lightweight network access authentication and lightweight data encryption protection capabilities for unmanned devices to access the network, and meets the timeliness, confidentiality and non-repudiation of communication between unmanned devices. Through this protocol, unmanned devices can access the wireless network safely, reliably and quickly.
[0069] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A lightweight polling wireless networking encryption technology protocol design method, characterized in that: In this protocol, the network form is a central network, with the command station as the center, and the users in the network are numbered in the following way: No. 0 is the central station, 1 to N are user stations, No. 0 is the command station, and the networking method is polling; There is only one working frequency in the protocol, using the same frequency simplex mode and single hop, that is, only one station can be in the sending or receiving state at a certain time; the network is asynchronous, and each station does not send at the same time, and can only send data when it is named; There are two working modes in the protocol: Non-networking mode, that is, end-to-end working mode, the user station does not need to enter the network, and data is sent directly between the central station and the user station, and between the user stations; Networking mode, that is, station 0 is the central station, and stations 1 to N are user stations. The user stations must first join the network, and after joining the network, the central station polls and calls each user station to send data; The operating mode is selected by the user terminal.
2. The lightweight polling wireless networking encryption technology protocol design method as described in claim 1 is characterized in that: During initialization, the network is not formed. The central station sends a 0 beacon frame for network access to user station 1. After receiving this 0 beacon frame, user station 1 sends a network access application frame to the central station. The central station receives the network access application frame, indicating that user station 1 has successfully accessed the network; if the central station has data to send and its destination station has already accessed the network, it sends a data frame.
3. The lightweight polling wireless networking encryption technology protocol design method as described in claim 2 is characterized in that: The central station determines whether all user stations have been connected to the network. If there are still stations that have not been connected to the network, they need to be allowed to continue to connect to the network. Then, the central station calls on the users who have been connected to the network in turn and asks them to send data. After that, if the central station has data to send and the destination station of the data has been connected to the network, it sends the data frame; if there are still user stations that have not been connected to the network, it continues to allow them to connect to the network, and then calls on all the user stations that have been connected to the network and asks them to send data.
4. The lightweight polling wireless networking encryption technology protocol design method as described in claim 3 is characterized in that: The central station sends data in turn; when all user stations are connected to the network, each user station is called upon to give them the opportunity to send data. The central station then sends data and then calls upon all user stations. This process continues in a cycle until all stations have sent their data.
5. The lightweight polling wireless networking encryption technology protocol design method as described in claim 4 is characterized in that: The protocol has two types of frames: beacon frames and data frames; Beacon frames include four types: 0 beacon frames sent by the central station to allow users to join the network, name-call frames sent by the central station to call the user station to send data, network application frames sent by the user station to apply for network access, and response packets sent to the central station when the user station has no data to send after being called. Beacon frames include: frame header and reserved bytes. A data frame is a frame that carries data that the user wants to send. The data frame includes: a frame header and data.
6. The lightweight polling wireless networking encryption technology protocol design method as claimed in claim 5, characterized in that: The reserved bytes of each beacon frame are defined as follows: When the network is not established, the reserved byte of the 0 beacon frame sent by the central station to allow the user station to join the network is set to 0; When networking, the reserved byte of the 0 beacon frame sent by the central station to allow the user station to join the network is set to 2; The reserved byte of the network access application frame sent by the user station to apply for network access is set to 1; The central station calls the user station to make it send a call frame of data; Its reserved byte is set to 3; When the user station has no data to send, the reserved byte of the response packet sent to the central station is set to 4; "When networking is established" refers to the situation where one user station has joined the network, but other stations have not joined the network; "When networking is not established" refers to the situation where no user station has joined the network.
7. The lightweight polling wireless networking encryption technology protocol design method as described in claim 5 is characterized in that: The frame header includes: A0, A1, A2 and M; When sending, the contents of A0, A1, and A2 are the same and are sent in sequence; when receiving, 2 out of 3 is used for verification, that is, as long as any two of them are the same, the reception is considered correct; M identifies the encryption mode for the data frame. This mode specifies the algorithm or strategy used for data encryption. It is an encryption and decryption method shared by both parties in communication. A total of four encryption modes can be set. The scope of encryption and decryption is the data part of the data frame. The meaning of each bit in the frame header is as follows: (b9, b8) identifies the function of each frame 00 Polling calibration frame, sent by the central station, used to allow network access and roll call 01Data frame 10 Network access application frame, sent by the user station, used for network access application 11 When a user station sends data to another user station, the data frame (b7, b6, b5, b4) that needs to be forwarded by the central station sends the station number (b3, b2, bl, b0) destination station number When the user station has no data to send, the frame header of the response packet sent to the central station, the (b9, b8) bit is also (0, 0), but because the sending station is the user station and the destination station is the central station, it will not be confused with the polling calibration frame sent by the central station.
8. The lightweight polling wireless networking encryption technology protocol design method as claimed in claim 7, characterized in that: The protocol also uses a user table to record the network access status of user stations. During initialization, the corresponding bits of each station are set to 1, indicating that none of them have access to the network. When each user station accesses the network in turn, the corresponding bits are set to 0, indicating that the user station has accessed the network. As long as one user station accesses the network, the bit corresponding to the central station is set to 0, indicating that a user has accessed the network.
9. The lightweight polling wireless networking encryption technology protocol design method according to any one of claims 1 to 8, characterized in that: After powering on, it is initialized, that is, the variables to be used are set to initial values; when the node number is 0, the central station performs the following operations: (1) First query the user table user access flag, that is, query the bit corresponding to the central station in the user table. If this bit is 1, it means that the network is not completed. If it is 0, it means that at least one user station has accessed the network; (2) If the networking is not completed, set the maximum number of networking times and the timer, send a 0 beacon frame to allow the user station to access the network, and then receive a network access application. If there is an application, receive the application frame, increase the number of network access users by 1, and set the user table network access flag; if there is no application and the timer has not timed out, continue to receive network access applications; when the timer times out, add 1 to the count, and then determine whether the count exceeds the maximum number of networking times; if not, continue to send 0 beacon frames to allow the user station to access the network, allow the next user to apply for network access, and then receive a network access application; otherwise, it means that the networking has timed out, and the user is asked to enter whether to continue networking. If the user is required to continue networking, the count is set to 0 and a new round of user station network access process begins; if the user is not required to continue networking, shut down the machine.
10. The lightweight polling wireless networking encryption technology protocol design method as claimed in claim 9, characterized in that: When the network is complete, that is, at least one user station is connected to the network, it is determined whether the central station has data to send; when the central station has data to send, it packages the data to be sent, and sends 1 packets when its destination station has been connected to the network, and then determines whether all users have been connected to the network; if all have been connected to the network, it polls the user station; otherwise, it sends a 0 beacon frame to allow the user station to access the network, allows users who have not been connected to the network to apply for network access, and receives the network access application; when a new user is connected to the network, it polls the user station; The process of the central station polling the named user station is as follows: read the user table to determine whether a certain user station has been connected to the network; if the user station has been connected to the network, name the user station; determine whether the named user needs to send data; if the named user has data to send, monitor the data sent by the user station to determine whether the user station has data to send to the central station; if so, receive the data; otherwise, the central station forwards the data sent by the user station to other user stations, and then jumps to the judgment procedure; when the named user has no data to send, the central station waits to receive the response packet sent back by the user station, and then jumps to the judgment procedure; if the user station has not been connected to the network, jumps to the judgment procedure; The judgment procedure is as follows: the number of the currently named user station is increased by 1, and then it is judged whether it is greater than N; if it is not greater than N, it continues to judge whether the next user station has been connected to the network; otherwise, it is set to 0, and returns to the procedure for judging whether the central station has data to send; when the node number is not 0, the user station performs the following operations: first check the user network access flag to judge whether the user station has been connected to the network; if the user station has not been connected to the network, wait to receive the 0 beacon frame sent by the central station for network access, and apply for network access; if the user station has been connected to the network, it is judged whether the user station has data to send; when the user station has data to send, it packages the data to be sent and monitors the information transmitted on the Internet until the information is received; If the named information is received, it is determined whether the destination station is connected to the network. If the destination station is connected to the network, the user sends 1 packet, and the remaining packets are sent when being called later; if the destination station is not connected to the network, the user station sends a response packet to the central station; if it is not the named information, it is determined whether it is data sent to the user station; if so, the data is received; otherwise, it is determined whether it is the first packet sent by another user; if so, the user address of the packet is extracted and stored in the user table of the user station; if the user station has no data to send, it monitors the information transmitted on the Internet until the information is received. If it is a named frame, a response packet is sent back to the central station. If it is data sent to itself, the data frame is received. If it is a packet sent by another user station for the first time, the user address of the packet is extracted and stored in the user table.