A method for realizing secure wireless data transmission based on scrambling code

By using local scrambling code seeds to generate scrambling code sequences in wireless data transmission, encrypting and transmitting data, the problem of insufficient security of wireless data transmission is solved, higher security and flexibility are achieved, and equipment management is simplified.

CN119071774BActive Publication Date: 2025-01-10SHENYANG BONCHREE TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411578235.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-01-10
Estimated Expiration
2044-11-07

AI Technical Summary

Technical Problem

The existing wireless data transmission is insufficient in industrial sites and is vulnerable to the threat of encryption algorithms being cracked and data leakage.

Method used

Using a scrambling code-based method, the data is generated through the local scrambling code seed configuration between the field device and the access device to encrypt and transmit the data, and decrypt it at the receiving end, supporting scrambling codes under different frame types and network states. Program selection.

Benefits of technology

It effectively improves the security of wireless data transmission, prevents data leakage, and simplifies the equipment joining and management process, reducing management costs and maintenance difficulties.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071774B_ABST
    Figure CN119071774B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for realizing secure wireless data transmission based on scrambling codes. The method for realizing secure wireless data transmission based on scrambling codes of the present invention includes: after the field device joins the current WIA‑FA network, the access device of the current WIA‑FA network notifies the field device to set the local scrambling code seed according to the relevant configuration of the local scrambling code seed; the field device and the access device configure the local scrambling code seed through a register; before the field device performs wireless data transmission to the access device as a transmitter, a scrambling code sequence is generated according to the local scrambling code seed, and the data is scrambled by using the scrambling code sequence and then sent to the access device; the access device receives the data as a receiver, generates a scrambling code sequence according to the local scrambling code seed, and descrambles the received data by using the scrambling code sequence. The method for realizing secure wireless data transmission based on scrambling codes of the present invention can avoid the risk of wireless transmission data leakage and improve the security of wireless data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method for realizing secure wireless data transmission based on scrambling codes. Background Art

[0002] WIA-FA technology is an important enabling technology for online reconfiguration of factory automation production lines. It is of great significance to promote the transformation of manufacturing industry from traditional low-cost mass production mode to high-end and high-value-added personalized production mode. The media access control (MAC) layer of WIA-FA network technology is an access mechanism based on time division multiple access (TDMA), which can ensure deterministic communication cycle and delay, and is suitable for industrial control applications. In some industrial sites, the security of wireless data transmission has always been an important issue to be discussed and solved. At present, wireless network data transmission is usually based on software encryption, and related encryption algorithms are often cracked, wireless transmission data is leaked, and other events occur. At present, wireless data, such as WiFi frames, will be scrambled before the hardware of the transmitter sends them, and the wireless data carries a scrambling seed sequence; the receiving end descrambles the received data according to the scrambling sequence seed, and the complete wireless frame data can be obtained to descramble the data in advance. The security of wireless data transmission needs to be improved. Therefore, it is necessary to propose a method for realizing secure wireless data transmission based on scrambling to solve the above problems. Summary of the invention

[0003] The present invention provides a method for realizing secure wireless data transmission based on scrambling codes, so as to solve the problem that the security of the existing wireless data transmission encryption method needs to be improved.

[0004] The present invention provides a method for realizing secure wireless data transmission based on scrambling codes, comprising:

[0005] After the field device joins the current WIA-FA network, the access device of the current WIA-FA network notifies the field device to set the local scrambling seed according to the relevant configuration of the local scrambling seed. The field device and the access device configure the local scrambling seed through the register;

[0006] Before the field device, as a transmitter, transmits wireless data to the access device, it generates a scrambling sequence according to the local scrambling seed, scrambles the data using the scrambling sequence, and then sends the data to the access device;

[0007] The access device receives the data as a receiving end, generates a scrambling code sequence according to a local scrambling code seed, and descrambles the received data using the scrambling code sequence.

[0008] Furthermore, the method further comprises:

[0009] Before the field device joins the current WIA-FA network, the field device and the access device use the frame scrambling seed carried in the wireless frame to generate a scrambling sequence, and use the scrambling sequence to scramble or descramble data.

[0010] Furthermore, the method further comprises:

[0011] The field device and access device support setting whether the transmitter carries the scrambling seed related information into the wireless frame through register configuration; at the same time, the transmitter and receiver can be configured through registers to select to use the local scrambling seed or the scrambling seed carried in the wireless frame to generate a scrambling sequence to scramble the data.

[0012] Furthermore, the method further comprises:

[0013] Field devices and access devices support register configuration, and can select to use a local scrambling seed or a scrambling seed carried in the frame to generate a scrambling sequence to scramble or descramble data according to different wireless frame types.

[0014] Furthermore, according to different radio frame types, a local scrambling seed or a scrambling seed carried in the frame is selected to generate a scrambling sequence to scramble or descramble the data, including:

[0015] When the MAC layer at the transmitting end sends data, it will pass the local scrambling seed or the scrambling seed related configuration information in the frame to the physical layer. The scrambler will select the local scrambling seed or the scrambling seed scheme in the frame to scramble the data bit stream of the wireless frame according to the scrambling related configuration information carried by the MAC layer. When the MAC layer at the receiving end receives data, it will select the local scrambling seed decoding or the scrambling seed decoding in the frame based on the scrambling scheme used by the current wireless frame indicated in the preamble sequence.

[0016] Furthermore, the method further comprises:

[0017] The access device periodically initiates a local scrambling code sequence seed update with the field device; at the same time, if the access device receives data sent by other devices and can normally parse the data sent by other devices using the local scrambling code seed, the access device initiates the scrambling code seed update process.

[0018] Furthermore, the method further comprises:

[0019] After the field device leaves the current WIA-FA network, the local scrambling code seed information is cleared.

[0020] Furthermore, the method further comprises:

[0021] The field equipment scrambles the data twice using a scrambling sequence generated by a local scrambling seed and a scrambling seed carried in a wireless frame.

[0022] Furthermore, the method further comprises:

[0023] The access device specifies different local scrambling code seeds for the field devices that have been connected to the current WIA-FA network; the field devices initiate an update setting request according to the configuration duration of the local scrambling code seeds.

[0024] Furthermore, the method further comprises:

[0025] Use the local scrambling code seed scheme or the scrambling code seed scheme carried in the frame through register configuration; if the local scrambling code seed scheme is configured, the local scrambling code seed A and the local scrambling code seed B are preset in the current WIA-FA network; the local scrambling code seed A remains unchanged by default in the current WIA-FA network and is used for field devices to join the network; the local scrambling code seed B is maintained by the access device in the current WIA-FA network. After the field device accesses the current WIA-FA network, the access device synchronizes the local scrambling code seed B to the field device, and the local scrambling code seed B is used as the scrambling code for data transmission between the access device and the field device in the current WIA-FA network; the local scrambling code seed B is managed and updated periodically by the access device.

[0026] The present invention has the following beneficial effects:

[0027] The present invention discloses a method for realizing secure wireless data transmission based on scrambling codes. After a field device joins a current WIA-FA network, an access device of the current WIA-FA network notifies the field device to set a local scrambling code seed according to relevant configurations of a local scrambling code seed, and the field device and the access device configure the local scrambling code seed through a register; before the field device, as a sending end, transmits wireless data to the access device, a scrambling code sequence is generated according to the local scrambling code seed, and the data is scrambled by using the scrambling code sequence before being transmitted to the access device; the access device, as a receiving end, receives the data, generates a scrambling code sequence according to the local scrambling code seed, and descrambles the received data by using the scrambling code sequence, thereby avoiding leakage of wireless transmission data and improving the security of wireless data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 The present invention provides a flow chart of a method for realizing secure wireless data transmission based on scrambling codes. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. The technical solutions provided by the embodiments of the present invention are described in detail below in conjunction with the drawings.

[0031] See also Figure 1 The embodiment of the present invention provides a method for realizing secure wireless data transmission based on scrambling code, comprising the following steps:

[0032] S101, after the field device joins the current WIA-FA network, the access device of the current WIA-FA network notifies the field device to set the local scrambling seed according to the relevant configuration of the local scrambling seed, and the field device and the access device configure the local scrambling seed through a register.

[0033] Specifically, the field device and the access device support wireless communication functions, and the configuration data processing related parameters, such as scrambling code seeds, can be modified through registers. The field device and the access device support configuring the scrambling code seeds through registers based on the scrambler logic, generating scrambling code sequences through the scrambling code seeds, and scrambling or descrambling the data. The specific process of the access device notifying the field device to set the local scrambling code seeds is as follows: the access device notifies the field device to set the local scrambling code seeds according to the relevant configuration of the local scrambling code seeds. The field device sends a message to the access device in response to setting the local scrambling code seeds, and sets the local scrambling code seeds after the message is sent. After receiving the message, the access device sets the local scrambling code seeds, performs local scrambling code confirmation, and sends a message to the field device to confirm the setting of the scrambling code seeds. After receiving the message, the field device performs local scrambling code confirmation, and sends a message to the access device in response to setting the local scrambling code seeds. After receiving the message, the access device sets the local scrambling code seeds successfully.

[0034] S102, before the field device, as a transmitter, transmits wireless data to the access device, it generates a scrambling sequence according to a local scrambling seed, scrambles the data using the scrambling sequence, and then sends the data to the access device.

[0035] Specifically, the scrambling seed is the input bit sequence for generating the scrambling sequence. The scrambling sequence is a bit sequence used to scramble data. The bit sequence of the scrambling sequence is generated by setting the register, and the length of the bit sequence refers to the number of bits of the scrambler designed by the hardware; the scrambling sequence is a pseudo-random sequence, and the algorithm for generating the pseudo-random sequence is related to the hardware implementation; when data is sent, the locally generated scrambling sequence can be used to scramble and descramble the data bit stream.

[0036] S103, the access device receives the data as a receiving end, generates a scrambling code sequence according to a local scrambling code seed, and descrambles the received data using the scrambling code sequence.

[0037] As an optional implementation, the method further includes: before the field device joins the current WIA-FA network, the field device and the access device use the scrambling code seed carried in the wireless frame to generate a scrambling code sequence, and use the scrambling code sequence to scramble or descramble the data, thereby enhancing the adaptability and flexibility of the system, simplifying the access process and reducing management costs. This solution allows the field device to generate a scrambling code sequence based on the scrambling code seed carried in the wireless frame before joining the network. The field device can join the WIA-FA network more conveniently without complicated configuration and debugging. At the same time, since the generation and update of the scrambling code sequence is based on the scrambling code seed in the wireless frame, unified management and maintenance of the entire network can be achieved, reducing management costs and maintenance difficulties.

[0038] As an optional implementation, the method further includes: the field device and the access device support setting whether the sender carries scrambling seed related information into the radio frame through register configuration; at the same time, supporting the sender and the receiver to select to use the local scrambling seed or the scrambling seed carried in the radio frame to generate a scrambling sequence to scramble the data through register configuration. This solution allows the user to flexibly adjust whether the sender carries scrambling seed information through register configuration according to actual needs. This flexibility enables the system to adapt to different application scenarios and communication needs. At the same time, the sender and the receiver can choose to use the local scrambling seed or the scrambling seed in the radio frame, further increasing the configurability and adaptability of the system.

[0039] As an optional implementation, the method further includes: the field device and the access device support configuration through registers, and select, according to different wireless frame types, to use a local scrambling seed or a scrambling seed carried in the frame to generate a scrambling sequence to scramble or descramble data.

[0040] Specifically, according to different radio frame types, a local scrambling seed or a scrambling seed carried in the frame is selected to generate a scrambling sequence to scramble or descramble the data, including:

[0041] When the MAC layer at the transmitting end sends data, it will pass the local scrambling seed or the scrambling seed related configuration information in the frame to the physical layer. The scrambler will select the local scrambling seed or the scrambling seed scheme in the frame to scramble the data bit stream of the wireless frame according to the scrambling related configuration information carried by the MAC layer. When the MAC layer at the receiving end receives data, it will select the local scrambling seed decoding or the scrambling seed decoding in the frame based on the scrambling scheme used by the current wireless frame indicated in the preamble sequence.

[0042] As an optional implementation, the method further includes: for the security of device communication data transmission, the access device periodically initiates a local scrambling code sequence seed update with the on-site device; at the same time, if the access device receives data sent by other devices and can use the local scrambling code seed to normally parse the data sent by other devices, the access device initiates the scrambling code seed update process.

[0043] As an optional implementation, the method further includes: after the field device leaves the current WIA-FA network, clearing the local scrambling seed information. Clearing the local scrambling seed information can prevent the scrambling sequence of the device from being acquired and utilized by unauthorized devices or users after the device leaves the network. This reduces the risk of data leakage, and even if the device is physically acquired, the attacker cannot decrypt or tamper with the previously transmitted data through the known scrambling sequence. Clearing the scrambling seed also helps prevent potential security risks caused by the abuse of old scrambling information when the device rejoins other networks. Clearing the local scrambling seed information helps simplify the network management and maintenance process. Clearing the scrambling seed information can also reduce redundant information in the network and improve the overall performance and efficiency of the network.

[0044] As an optional implementation, the method further includes: for high data security requirements, the field device uses a local scrambling seed and a scrambling sequence generated by the scrambling seed carried in the wireless frame to scramble the data twice. The wireless frame indicates that the local scrambling seed or the scrambling seed in the frame is used to perform primary scrambling and secondary scrambling on the data to improve data security.

[0045] As an optional implementation, the method further includes: the access device specifies different local scrambling code seeds for field devices that have accessed the current WIA-FA network; and the field device initiates an update setting request according to the configuration duration of the local scrambling code seeds.

[0046] As an optional implementation, the method further includes: a user can statically configure a local scrambling code seed scheme or a scrambling code seed scheme carried in a frame through a register; if a local scrambling code seed scheme is configured, multiple local scrambling code seeds can be preset in the WIA-FA network, for example, a local scrambling code seed A and a local scrambling code seed B are preset in the current WIA-FA network; the local scrambling code seed A remains unchanged by default in the current WIA-FA network and is used for field devices to join the network; the local scrambling code seed B is maintained by an access device in the current WIA-FA network, and after the field device accesses the current WIA-FA network, the access device synchronizes the local scrambling code seed B to the field device, and the local scrambling code seed B is used as a scrambling code for data transmission between the access device and the field device in the current WIA-FA network; the local scrambling code seed B is managed and updated periodically by the access device.

[0047] It can be seen from the above embodiments that the present invention is a method for realizing secure wireless data transmission based on scrambling codes. After the field device joins the current WIA-FA network, the access device of the current WIA-FA network notifies the field device to set the local scrambling code seed according to the relevant configuration of the local scrambling code seed, and the field device and the access device configure the local scrambling code seed through a register; before the field device, as a sending end, transmits wireless data to the access device, it generates a scrambling code sequence according to the local scrambling code seed, and uses the scrambling code sequence to scramble the data before sending the data to the access device; the access device receives the data as a receiving end, generates a scrambling code sequence according to the local scrambling code seed, and uses the scrambling code sequence to descramble the received data, which can avoid leakage of wireless transmission data and improve the security of wireless data transmission.

[0048] The above-described embodiments of the present invention do not limit the protection scope of the present invention.

Claims

1. A method for realizing secure wireless data transmission based on scrambling code, characterized in that: include: After the field device joins the current WIA-FA network, the access device of the current WIA-FA network notifies the field device to set the local scrambling seed according to the relevant configuration of the local scrambling seed. The field device and the access device configure the local scrambling seed through the register; Before the field device, as a transmitter, transmits wireless data to the access device, it generates a scrambling sequence according to the local scrambling seed, scrambles the data using the scrambling sequence, and then sends the data to the access device; The access device receives the data as a receiving end, generates a scrambling sequence according to a local scrambling seed, and descrambles the received data using the scrambling sequence; The method further comprises: Before the field device joins the current WIA-FA network, the field device and the access device use the scrambling seed carried in the wireless frame to generate a scrambling sequence, and use the scrambling sequence to scramble or descramble the data; The method further comprises: Field devices and access devices support register configuration to set whether the sender carries scrambling seed related information into the wireless frame; at the same time, the sender and the receiver can be configured to use the local scrambling seed or the scrambling seed carried in the wireless frame to generate a scrambling sequence to scramble the data. The method further comprises: Field devices and access devices support register configuration, and can use local scrambling seeds or scrambling seeds carried in frames to generate scrambling sequences to scramble or descramble data according to different wireless frame types; Depending on the type of wireless frame, the local scrambling seed or the scrambling seed carried in the frame is used to generate a scrambling sequence to scramble or descramble the data, including: When the MAC layer at the transmitting end sends data, it will pass the local scrambling seed or the scrambling seed related configuration information in the frame to the physical layer. The scrambler will select the local scrambling seed or the scrambling seed scheme in the frame to scramble the data bit stream of the wireless frame according to the scrambling related configuration information carried by the MAC layer. When the MAC layer at the receiving end receives data, it will select the local scrambling seed decoding or the scrambling seed decoding in the frame based on the scrambling scheme used by the current wireless frame indicated in the preamble sequence.

2. A method for realizing secure wireless data transmission based on scrambling code according to claim 1, characterized in that: The method further comprises: The access device periodically initiates a local scrambling code sequence seed update with the field device; at the same time, if the access device receives data sent by other devices and can normally parse the data sent by other devices using the local scrambling code seed, the access device initiates the scrambling code seed update process.

3. A method for realizing secure wireless data transmission based on scrambling code according to claim 1, characterized in that: The method further comprises: After the field device leaves the current WIA-FA network, the local scrambling code seed information is cleared.

4. A method for realizing secure wireless data transmission based on scrambling code according to claim 1, characterized in that: The method further comprises: The field equipment scrambles the data twice using a scrambling sequence generated by a local scrambling seed and an in-frame scrambling seed carried in a wireless frame.

5. A method for realizing secure wireless data transmission based on scrambling code according to claim 1, characterized in that: The method further comprises: The access device specifies different local scrambling code seeds for the field devices that have been connected to the current WIA-FA network; the field devices initiate an update setting request according to the configuration duration of the local scrambling code seeds.

6. A method for realizing secure wireless data transmission based on scrambling code according to claim 1, characterized in that: The method further comprises: Use the local scrambling code seed scheme or the scrambling code seed scheme carried in the frame through register configuration; if the local scrambling code seed scheme is configured, the local scrambling code seed A and the local scrambling code seed B are preset in the current WIA-FA network; the local scrambling code seed A remains unchanged by default in the current WIA-FA network and is used for field devices to join the network; the local scrambling code seed B is maintained by the access device in the current WIA-FA network. After the field device accesses the current WIA-FA network, the access device synchronizes the local scrambling code seed B to the field device, and the local scrambling code seed B is used as the scrambling code for data transmission between the access device and the field device in the current WIA-FA network; the local scrambling code seed B is managed and updated periodically by the access device.

Citation Information

Patent Citations

  • Scrambling apparatus, electronic device and information processing method

    CN105931661A

  • Scrambling sequence determination method and device, computer equipment and storage medium

    CN110519014A