5G industrial gateway communication method and device for explosion-proof intelligent terminal
By adopting edge detection, noise spectrum analysis and multi-antenna array technology in the 5G industrial gateway of explosion-proof smart terminals, communication stability problems in industrial environments are solved and high-reliability 5G industrial gateway communication is achieved.
Patent Information
- Application Number
- CN202510157440.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-02-13
AI Technical Summary
In industrial environments, especially in high-risk industries such as petrochemicals and mining, traditional wireless communication technology is difficult to ensure the stability of communication in complex noise environments.
The 5G industrial gateway communication method of explosion-proof smart terminals is adopted to preprocess the data through edge detection method, obtain historical noise information, analyze the noise spectrum based on the Fourier transform algorithm, determine the effective communication frequency band, and transmit data through multi-antenna array and sub-carrier allocation technology.
Effectively avoiding frequency bands that are disturbed by noise for a long time, improving the stability and reliability of the communication channel, maximizing the effective communication frequency band, and further enhancing the stability and data integrity of the communication.
Smart Images

Figure CN119629748B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a 5G industrial gateway communication method and device for explosion-proof intelligent terminals. Background Art
[0002] In industrial environments, especially in high-risk industries such as petrochemicals and mining, the demand for explosion-proof equipment is increasing. These industries usually have flammable and explosive gases and dust, so electronic equipment used in these environments must have explosion-proof functions to avoid explosion accidents caused by electrical failures or sparks. With the development of intelligence and Internet of Things technology, explosion-proof smart terminals are becoming more and more widely used in these special environments, such as explosion-proof sensors and smart meters for monitoring, data acquisition and control operations.
[0003] However, due to the particularity of these industrial environments, the equipment needs to have explosion-proof functions, and the communication environment is complex and prone to a large amount of noise information. Traditional wireless communication technology is difficult to ensure communication stability in such environments. Summary of the invention
[0004] The present application provides a 5G industrial gateway communication method and device for explosion-proof intelligent terminals to solve the problems raised by the above background technology.
[0005] In a first aspect, the present application provides a 5G industrial gateway communication method for an explosion-proof intelligent terminal, comprising:
[0006] Preprocessing the data using an edge detection method to obtain a preprocessing result of the data;
[0007] Obtain a historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment, and obtain the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment based on a preset noise detection device; the 5G industrial gateway and the central control system perform data transmission through a multi-antenna array, one antenna corresponds to one transmission channel, and the communication frequency bands corresponding to each transmission channel are different from each other;
[0008] For each of the transmission channels, allocating a subcarrier to the transmission channel based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel;
[0009] For each of the transmission channels, the preprocessing result is transmitted from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel.
[0010] In a possible implementation manner, allocating subcarriers to the transmission channel based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel includes:
[0011] Determine an effective communication frequency band of the transmission channel based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel;
[0012] Subcarriers are allocated to the transmission channel based on the effective communication frequency band.
[0013] In a possible implementation manner, determining the effective communication frequency band of the transmission channel based on the historical noise information set, noise information, and communication frequency band corresponding to the transmission channel includes:
[0014] For each piece of historical noise information in the historical noise information set, spectrum analysis is performed on the historical noise information based on a preset Fourier transform algorithm to obtain a historical spectrum graph corresponding to the historical noise information; wherein the abscissa of the historical spectrum graph represents frequency, and the ordinate represents intensity;
[0015] For each of the historical spectrum graphs, determining a historical invalid communication frequency band of the historical spectrum graph; wherein the intensity corresponding to the historical invalid communication frequency band is greater than a preset intensity;
[0016] Determining the overlapping frequency band of each of the historical invalid communication frequency bands as the first target invalid communication frequency band;
[0017] Performing spectrum analysis on the noise information based on a preset Fourier transform algorithm to obtain a spectrum graph corresponding to the noise information; wherein the abscissa of the spectrum graph represents frequency, and the ordinate represents intensity;
[0018] Determine a second target invalid communication frequency band corresponding to the spectrum graph; wherein the intensity corresponding to the second target invalid communication frequency band is greater than a preset intensity;
[0019] The valid communication frequency band is determined based on the communication frequency band, the first target invalid communication frequency band, and the second target invalid communication frequency band.
[0020] In a possible implementation manner, determining the valid communication frequency band based on the communication frequency band, the first target invalid communication frequency band, and the second target invalid communication frequency band includes:
[0021] The overlapping frequency band of the communication frequency band and the first target invalid communication frequency band is deleted from the communication frequency band to obtain an intermediate valid communication frequency band, and the overlapping frequency band of the intermediate valid communication frequency band and the second target invalid communication frequency band is deleted from the intermediate valid communication frequency band to obtain the valid communication frequency band.
[0022] In a possible implementation manner, allocating subcarriers to the transmission channel based on the effective communication frequency band includes:
[0023] Acquire preset subcarrier frequency band information; the preset subcarrier frequency band information includes a plurality of preset subcarrier frequency bands; the frequency band ranges corresponding to the respective preset subcarrier frequency bands are different from each other;
[0024] For each of the preset subcarrier frequency bands, if the preset subcarrier frequency band is included in the effective communication frequency band, a subcarrier is allocated to the transmission channel based on the preset subcarrier frequency band.
[0025] In a possible implementation, the transmitting the preprocessing result from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel includes:
[0026] Performing encryption processing on the preprocessing result based on a preset encryption processing method to obtain an encryption processing result;
[0027] Determine a first target subcarrier among the subcarriers corresponding to the transmission channel; wherein, among the subcarriers corresponding to the transmission channel, the frequency value corresponding to the frequency band range of the first target subcarrier is the largest;
[0028] Adding the encryption processing result to the first target subcarrier;
[0029] Determine a second target subcarrier among the subcarriers corresponding to the transmission channel; wherein, among the subcarriers corresponding to the transmission channel, the frequency value corresponding to the frequency band range of the second target subcarrier is the smallest;
[0030] Adding garbled information to the remaining subcarriers except the first target subcarrier and the second target subcarrier respectively;
[0031] Randomly arrange the first target subcarrier to which the encryption processing result is added and each subcarrier to which the garbled code information is added to obtain a subcarrier sequence, and determine a sequence corresponding to the first target subcarrier in the subcarrier sequence;
[0032] adding a sequence corresponding to the first target subcarrier to the second target subcarrier;
[0033] Each subcarrier of the subcarrier sequence is transmitted sequentially by the 5G industrial gateway to the central control system, and after the transmission of each subcarrier in the subcarrier sequence is completed, a second target subcarrier to which a sequence corresponding to the first target subcarrier is added is transmitted by the 5G industrial gateway to the central control system.
[0034] In a possible implementation, the encrypting the preprocessing result based on a preset encryption processing method to obtain the encryption processing result includes:
[0035] Acquire channel codes of each transmission channel; wherein the number of characters of the channel codes of each transmission channel is equal;
[0036] For each of the channel codes, sequentially extracting each digit of the channel code to obtain a target digit corresponding to the channel code;
[0037] For each of the channel codes, if the target number corresponding to the channel code is an odd number, the channel code is determined to be a first type of channel code; if the target number corresponding to the channel code is an even number, the channel code is determined to be a second type of channel code;
[0038] Arranging each of the first-category channel codes in a preset matrix bracket from top to bottom based on the target numbers corresponding to each of the first-category channel codes to obtain a first matrix; wherein in the first matrix, the target numbers corresponding to each of the first-category channel codes increase from top to bottom;
[0039] Arranging each of the second-category channel codes in a preset matrix bracket from top to bottom based on the target numbers corresponding to each of the second-category channel codes to obtain a second matrix; wherein in the second matrix, the target numbers corresponding to each of the second-category channel codes decrease from top to bottom;
[0040] Obtaining a transposed matrix of the second matrix, and multiplying the first matrix by the transposed matrix to obtain an encrypted matrix;
[0041] The preprocessing result is encrypted based on the encryption matrix to obtain the encryption result.
[0042] In a second aspect, the present application provides a 5G industrial gateway communication device for an explosion-proof intelligent terminal, comprising:
[0043] An edge detection module is used to pre-process the data using an edge detection method to obtain a pre-processing result of the data;
[0044] An acquisition module is used to obtain a historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment, and obtain the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment based on a preset noise detection device; the 5G industrial gateway and the central control system transmit data through a multi-antenna array, one antenna corresponds to one transmission channel, and the communication frequency bands corresponding to each transmission channel are different from each other;
[0045] An allocation module, configured to allocate subcarriers to each of the transmission channels based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel;
[0046] A transmission module is used to transmit the preprocessing result from the 5G industrial gateway to the central control system based on the subcarrier corresponding to each transmission channel.
[0047] The present application provides a 5G industrial gateway communication method and device for an explosion-proof intelligent terminal, the method comprising: preprocessing data using an edge detection method to obtain a preprocessing result of the data; obtaining a historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment, and obtaining the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment based on a preset noise detection device; data is transmitted between the 5G industrial gateway and the central control system through a multi-antenna array, one antenna corresponds to one transmission channel, and the communication frequency bands corresponding to each transmission channel are different; for each of the transmission channels, a subcarrier is allocated to the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel; for each of the transmission channels, the preprocessing result is transmitted from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel. This method, on the one hand, can effectively avoid frequency bands that have been interfered by noise for a long time by determining the overlapping frequency band of historical invalid communication frequency bands as the first target invalid communication frequency band, thereby improving the stability and reliability of the communication channel; on the other hand, by determining the effective communication frequency band based on the communication frequency band, the first target invalid communication frequency band and the second target invalid communication frequency band, the effect of maximizing the effective communication frequency band is achieved, further improving the stability and reliability of the communication channel. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0049] Figure 1 A flow chart of a 5G industrial gateway communication method for an explosion-proof intelligent terminal provided in an embodiment of the present application;
[0050] Figure 2 A schematic block diagram of the structure of a 5G industrial gateway communication device for an explosion-proof intelligent terminal provided in an embodiment of the present application;
[0051] Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0053] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0054] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0055] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0056] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0057] See also Figure 1 , Figure 1 A flow chart of a 5G industrial gateway communication method for an explosion-proof intelligent terminal provided in an embodiment of the present application, such as Figure 1 As shown, the 5G industrial gateway communication method of the explosion-proof intelligent terminal provided in the embodiment of the present application includes steps S1 to S4.
[0058] Step S1, preprocessing data using an edge detection method to obtain a preprocessing result of the data.
[0059] Step S2, obtaining a historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment, and obtaining the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment based on a preset noise detection device; the 5G industrial gateway and the central control system transmit data through a multi-antenna array, one antenna corresponds to one transmission channel, and the communication frequency bands corresponding to each transmission channel are different.
[0060] Step S3: for each of the transmission channels, allocate subcarriers to the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel.
[0061] Step S4: For each of the transmission channels, the preprocessing result is transmitted from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel.
[0062] In this embodiment, as described in step S1 above, the data is preprocessed using an edge detection algorithm to obtain a preprocessing result of the data. Specifically, after the explosion-proof intelligent terminal collects the data, the data is preprocessed using an edge detection algorithm to obtain a preprocessing result. It can be understood that preprocessing the data using an edge detection algorithm helps to reduce the computing power of the central control system and improve the stability of the operation of the industrial system.
[0063] As described in step S2 above, a historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment is obtained, and the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment is obtained based on a preset noise detection device. Specifically, for each of the transmission channels, a historical noise information set of the transmission channel is obtained in a database based on the channel coding of the transmission channel, and the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment is obtained based on a preset noise detection device for the transmission channel.
[0064] As described in the above step S3, for each of the transmission channels, subcarriers are allocated to the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel. Specifically, for each of the transmission channels, the effective communication frequency band of the transmission channel is determined based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel, and subcarriers are allocated to the transmission channel based on the effective communication frequency band. It can be understood that allocating subcarriers to the transmission channel based on the effective communication frequency band helps to improve the communication stability and data integrity of the data during the transmission process.
[0065] As described in step S4 above, for each of the transmission channels, the preprocessing result is transmitted from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel. Specifically, for each of the transmission channels, the preprocessing result is added to the subcarrier corresponding to the transmission channel, and the subcarrier to which the preprocessing result is added is transmitted from the 5G industrial gateway to the central control system.
[0066] The method provided in this embodiment, on the one hand, by preprocessing the data using an edge detection method to obtain the preprocessing result of the data, can reduce the computing power of the industrial central control system and help maintain the stability of the industrial system. On the other hand, by adopting a multi-antenna array to transmit information between the 5G industrial gateway and the central control system, and setting a different communication frequency band for the transmission channel of each antenna of the multi-antenna array, it helps to improve the anti-interference ability of information during transmission and ensure the stability of communication. On the other hand, by allocating subcarriers to the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel, it helps to further improve the communication stability and data integrity during data transmission.
[0067] In some embodiments, the allocating subcarriers to the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel comprises the following steps:
[0068] Determine an effective communication frequency band of the transmission channel based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel;
[0069] Subcarriers are allocated to the transmission channel based on the effective communication frequency band.
[0070] In this embodiment, determining the effective communication frequency band of the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel includes the following steps:
[0071] The determining the effective communication frequency band of the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel comprises:
[0072] For each piece of historical noise information in the historical noise information set, spectrum analysis is performed on the historical noise information based on a preset Fourier transform algorithm to obtain a historical spectrum graph corresponding to the historical noise information; wherein the abscissa of the historical spectrum graph represents frequency, and the ordinate represents intensity;
[0073] For each of the historical spectrum graphs, determining a historical invalid communication frequency band of the historical spectrum graph; wherein the intensity corresponding to the historical invalid communication frequency band is greater than a preset intensity;
[0074] Determine the overlapping frequency band of each of the historical invalid communication frequency bands as the first target invalid communication frequency band; wherein the first target invalid communication frequency band refers to a frequency band that overlaps with at least two historical invalid communication frequency bands, for example: the historical invalid communication frequency bands include [100HZ, 350HZ], [250HZ, 400HZ], [200HZ, 500HZ], then the first target invalid communication frequency band is (200HZ, 400HZ).
[0075] Performing spectrum analysis on the noise information based on a preset Fourier transform algorithm to obtain a spectrum graph corresponding to the noise information; wherein the abscissa of the spectrum graph represents frequency, and the ordinate represents intensity;
[0076] Determine a second target invalid communication frequency band corresponding to the spectrum graph; wherein the intensity corresponding to the second target invalid communication frequency band is greater than a preset intensity;
[0077] The effective communication frequency band is determined based on the communication frequency band, the first target invalid communication frequency band and the second target invalid communication frequency band. Specifically, the overlapping frequency band of the communication frequency band and the first target invalid communication frequency band is deleted from the communication frequency band to obtain an intermediate effective communication frequency band, and the overlapping frequency band of the intermediate effective communication frequency band and the second target invalid communication frequency band is deleted from the intermediate effective communication frequency band to obtain the effective communication frequency band. For example, the communication frequency band is [30HZ, 800HZ], the first target invalid communication frequency band is [200HZ, 400HZ], and the second target invalid communication frequency band is [300HZ, 600HZ], then the intermediate effective communication frequency band is (30HZ, 200HZ), (400HZ, 800HZ), and the effective communication frequency band is (30HZ, 200HZ), (600HZ, 800HZ).
[0078] The method provided in this embodiment, on the one hand, can effectively avoid the frequency band that has been interfered by noise for a long time by determining the overlapping frequency band of the historical invalid communication frequency band as the first target invalid communication frequency band, thereby improving the stability and reliability of the communication channel; on the other hand, by determining the effective communication frequency band based on the communication frequency band, the first target invalid communication frequency band and the second target invalid communication frequency band, the effect of maximizing the effective communication frequency band is achieved, and the stability and reliability of the communication channel are further improved.
[0079] In some embodiments, the step of transmitting the preprocessing result from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel includes the following steps:
[0080] Performing encryption processing on the preprocessing result based on a preset encryption processing method to obtain an encryption processing result;
[0081] Determine a first target subcarrier among the subcarriers corresponding to the transmission channel; wherein, among the subcarriers corresponding to the transmission channel, the frequency value corresponding to the frequency band range of the first target subcarrier is the largest; for example, if the frequency band ranges corresponding to the subcarriers are [100 Hz, 350 Hz], [500 Hz, 600 Hz], and [800 Hz, 1200 Hz], respectively, then the frequency band range corresponding to the first target subcarrier is [800 Hz, 1200 Hz];
[0082] Adding the encryption processing result to the first target subcarrier;
[0083] Determine a second target subcarrier among the subcarriers corresponding to the transmission channel; wherein, among the subcarriers corresponding to the transmission channel, the frequency value corresponding to the frequency band range of the second target subcarrier is the smallest; for example, if the frequency band ranges corresponding to the subcarriers are [100 Hz, 350 Hz], [500 Hz, 600 Hz], and [800 Hz, 1200 Hz], respectively, then the frequency band range corresponding to the first target subcarrier is [100 Hz, 350 Hz];
[0084] Adding garbled information to the remaining subcarriers except the first target subcarrier and the second target subcarrier respectively;
[0085] Randomly arrange the first target subcarrier to which the encryption processing result is added and each subcarrier to which the garbled code information is added to obtain a subcarrier sequence, and determine a sequence corresponding to the first target subcarrier in the subcarrier sequence;
[0086] adding a sequence corresponding to the first target subcarrier to the second target subcarrier;
[0087] Each subcarrier of the subcarrier sequence is transmitted sequentially by the 5G industrial gateway to the central control system, and after the transmission of each subcarrier in the subcarrier sequence is completed, a second target subcarrier to which a sequence corresponding to the first target subcarrier is added is transmitted by the 5G industrial gateway to the central control system.
[0088] In this embodiment, the encryption processing is performed on the preprocessing result based on the preset encryption processing method to obtain the encryption processing result, including the following steps:
[0089] Acquire channel codes of each transmission channel; wherein the number of characters of the channel codes of each transmission channel is equal;
[0090] For each of the channel codes, sequentially extract each digit of the channel code to obtain a target digit corresponding to the channel code; for example, if the channel code is Q4E5R7, then the target digit corresponding to the channel code is 457;
[0091] For each of the channel codes, if the target number corresponding to the channel code is an odd number, the channel code is determined to be a first type of channel code; if the target number corresponding to the channel code is an even number, the channel code is determined to be a second type of channel code;
[0092] Arranging each of the first-category channel codes in a preset matrix bracket from top to bottom based on the target numbers corresponding to each of the first-category channel codes to obtain a first matrix; wherein in the first matrix, the target numbers corresponding to each of the first-category channel codes increase from top to bottom;
[0093] Arranging each of the second-category channel codes in a preset matrix bracket from top to bottom based on the target numbers corresponding to each of the second-category channel codes to obtain a second matrix; wherein in the second matrix, the target numbers corresponding to each of the second-category channel codes decrease from top to bottom;
[0094] Obtaining a transposed matrix of the second matrix, and multiplying the first matrix by the transposed matrix to obtain an encrypted matrix;
[0095] The preprocessing result is encrypted based on the encryption matrix to obtain the encryption result.
[0096] The method provided in this embodiment can ensure the security of the preprocessing result during transmission.
[0097] See also Figure 2 , Figure 2 A schematic block diagram of the structure of a 5G industrial gateway communication device for an explosion-proof intelligent terminal provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the 5G industrial gateway communication device of the explosion-proof intelligent terminal provided in the embodiment of the present application includes:
[0098] The edge detection module 110 is used to pre-process the data using an edge detection method to obtain a pre-processing result of the data.
[0099] The acquisition module 120 is used to obtain the historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment, and obtain the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment based on a preset noise detection device; the 5G industrial gateway and the central control system transmit data through a multi-antenna array, one antenna corresponds to one transmission channel, and the communication frequency bands corresponding to each transmission channel are different.
[0100] The allocation module 130 is used to allocate subcarriers to each of the transmission channels based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel.
[0101] The transmission module 140 is used to transmit the preprocessing result from the 5G industrial gateway to the central control system based on the subcarrier corresponding to each transmission channel.
[0102] It should be noted that technical personnel in the relevant technical field can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned 5G industrial gateway communication method embodiment of the explosion-proof intelligent terminal, and will not be repeated here.
[0103] The 5G industrial gateway communication device 100 of the explosion-proof intelligent terminal provided in the above embodiment can be implemented in the form of a computer program. The computer program can be used in Figure 3 The system is run on the terminal device 200 shown.
[0104] See also Figure 3 , Figure 3 The terminal device 200 provided in the embodiment of the present application is a schematic block diagram of the structure, wherein the terminal device 200 includes a processor 201 and a memory 202, wherein the processor 201 and the memory 202 are connected via a system bus 203, wherein the memory 202 may include a non-volatile storage medium and an internal memory.
[0105] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed by the processor 201, the processor 201 can execute any of the above-mentioned 5G industrial gateway communication methods for explosion-proof intelligent terminals.
[0106] The processor 201 is used to provide computing and control capabilities to support the operation of the entire terminal device 200.
[0107] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can execute any of the above-mentioned 5G industrial gateway communication methods for explosion-proof intelligent terminals.
[0108] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the terminal device 200 involved in the scheme of the present application. The specific terminal device 200 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0109] It should be understood that the processor 201 may be a central processing unit (CPU), and the processor 201 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0110] In some embodiments, the processor 201 is used to run a computer program stored in the memory to implement the following steps:
[0111] Preprocessing the data using an edge detection method to obtain a preprocessing result of the data;
[0112] Obtain a historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment, and obtain the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment based on a preset noise detection device; the 5G industrial gateway and the central control system perform data transmission through a multi-antenna array, one antenna corresponds to one transmission channel, and the communication frequency bands corresponding to each transmission channel are different from each other;
[0113] For each of the transmission channels, allocating a subcarrier to the transmission channel based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel;
[0114] For each of the transmission channels, the preprocessing result is transmitted from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel.
[0115] It should be noted that technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the terminal device 200 described above can refer to the corresponding process of the 5G industrial gateway communication method of the aforementioned explosion-proof intelligent terminal, and will not be repeated here.
[0116] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the one or more processors implement the 5G industrial gateway communication method of the explosion-proof intelligent terminal provided in the embodiment of the present application.
[0117] The computer-readable storage medium may be an internal storage unit of the terminal device 200 in the aforementioned embodiment, such as a hard disk or memory of the terminal device 200. The computer-readable storage medium may also be an external storage device of the terminal device 200, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped with the terminal device 200.
[0118] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A 5G industrial gateway communication method for explosion-proof intelligent terminals, characterized in that: include: Preprocessing the data using an edge detection method to obtain a preprocessing result of the data; Obtain a historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment, and obtain the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment based on a preset noise detection device; The 5G industrial gateway and the central control system perform data transmission via a multi-antenna array, one antenna corresponds to one transmission channel, and the communication frequency bands corresponding to the various transmission channels are different from each other; For each of the transmission channels, allocating a subcarrier to the transmission channel based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel; For each of the transmission channels, the preprocessing result is transmitted from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel; The step of transmitting the preprocessing result from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel includes: Performing encryption processing on the preprocessing result based on a preset encryption processing method to obtain an encryption processing result; Determine a first target subcarrier among the subcarriers corresponding to the transmission channel; wherein, among the subcarriers corresponding to the transmission channel, the frequency value corresponding to the frequency band range of the first target subcarrier is the largest; Adding the encryption processing result to the first target subcarrier; Determine a second target subcarrier among the subcarriers corresponding to the transmission channel; wherein, among the subcarriers corresponding to the transmission channel, the frequency value corresponding to the frequency band range of the second target subcarrier is the smallest; Adding garbled information to the remaining subcarriers except the first target subcarrier and the second target subcarrier respectively; Randomly arrange the first target subcarrier to which the encryption processing result is added and each subcarrier to which the garbled code information is added to obtain a subcarrier sequence, and determine a sequence corresponding to the first target subcarrier in the subcarrier sequence; adding a sequence corresponding to the first target subcarrier to the second target subcarrier; Each subcarrier of the subcarrier sequence is transmitted sequentially by the 5G industrial gateway to the central control system, and after the transmission of each subcarrier in the subcarrier sequence is completed, a second target subcarrier to which a sequence corresponding to the first target subcarrier is added is transmitted by the 5G industrial gateway to the central control system.
2. The 5G industrial gateway communication method of the explosion-proof intelligent terminal according to claim 1 is characterized in that: The allocating subcarriers to the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel includes: Determine an effective communication frequency band of the transmission channel based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel; Subcarriers are allocated to the transmission channel based on the effective communication frequency band.
3. The 5G industrial gateway communication method of the explosion-proof intelligent terminal according to claim 2 is characterized in that: The determining the effective communication frequency band of the transmission channel based on the historical noise information set, noise information and communication frequency band corresponding to the transmission channel comprises: For each piece of historical noise information in the historical noise information set, spectrum analysis is performed on the historical noise information based on a preset Fourier transform algorithm to obtain a historical spectrum graph corresponding to the historical noise information; wherein the abscissa of the historical spectrum graph represents frequency, and the ordinate represents intensity; For each of the historical spectrum graphs, determining a historical invalid communication frequency band of the historical spectrum graph; wherein the intensity corresponding to the historical invalid communication frequency band is greater than a preset intensity; Determining the overlapping frequency band of each of the historical invalid communication frequency bands as the first target invalid communication frequency band; Performing spectrum analysis on the noise information based on a preset Fourier transform algorithm to obtain a spectrum graph corresponding to the noise information; wherein the abscissa of the spectrum graph represents frequency, and the ordinate represents intensity; Determine a second target invalid communication frequency band corresponding to the spectrum graph; wherein the intensity corresponding to the second target invalid communication frequency band is greater than a preset intensity; The valid communication frequency band is determined based on the communication frequency band, the first target invalid communication frequency band, and the second target invalid communication frequency band.
4. The 5G industrial gateway communication method of the explosion-proof intelligent terminal according to claim 3 is characterized in that: The determining the valid communication frequency band based on the communication frequency band, the first target invalid communication frequency band, and the second target invalid communication frequency band includes: The overlapping frequency band of the communication frequency band and the first target invalid communication frequency band is deleted from the communication frequency band to obtain an intermediate valid communication frequency band, and the overlapping frequency band of the intermediate valid communication frequency band and the second target invalid communication frequency band is deleted from the intermediate valid communication frequency band to obtain the valid communication frequency band.
5. The 5G industrial gateway communication method of the explosion-proof intelligent terminal according to claim 2 is characterized in that: The allocating subcarriers to the transmission channel based on the effective communication frequency band comprises: Acquire preset subcarrier frequency band information; the preset subcarrier frequency band information includes a plurality of preset subcarrier frequency bands; the frequency band ranges corresponding to the respective preset subcarrier frequency bands are different from each other; For each of the preset subcarrier frequency bands, if the preset subcarrier frequency band is included in the effective communication frequency band, a subcarrier is allocated to the transmission channel based on the preset subcarrier frequency band.
6. The 5G industrial gateway communication method of the explosion-proof intelligent terminal according to claim 1 is characterized in that: The encrypting process is performed on the preprocessing result based on a preset encryption process method to obtain an encryption process result, including: Acquire channel codes of each transmission channel; wherein the number of characters of the channel codes of each transmission channel is equal; For each of the channel codes, sequentially extracting each digit of the channel code to obtain a target digit corresponding to the channel code; For each of the channel codes, if the target number corresponding to the channel code is an odd number, the channel code is determined to be a first type of channel code; if the target number corresponding to the channel code is an even number, the channel code is determined to be a second type of channel code; Arranging each of the first-category channel codes in a preset matrix bracket from top to bottom based on the target numbers corresponding to each of the first-category channel codes to obtain a first matrix; wherein in the first matrix, the target numbers corresponding to each of the first-category channel codes increase from top to bottom; Arranging each of the second-category channel codes in a preset matrix bracket from top to bottom based on the target numbers corresponding to each of the second-category channel codes to obtain a second matrix; wherein in the second matrix, the target numbers corresponding to each of the second-category channel codes decrease from top to bottom; Obtaining a transposed matrix of the second matrix, and multiplying the first matrix by the transposed matrix to obtain an encrypted matrix; The preprocessing result is encrypted based on the encryption matrix to obtain the encryption result.
7. A 5G industrial gateway communication device for explosion-proof intelligent terminals, characterized in that: include: An edge detection module is used to pre-process the data using an edge detection method to obtain a pre-processing result of the data; An acquisition module, used to acquire a historical noise information set of each transmission channel between the 5G industrial gateway and the central control system at the current moment, and acquire the noise information of each transmission channel between the 5G industrial gateway and the central control system at the current moment based on a preset noise detection device; The 5G industrial gateway and the central control system perform data transmission via a multi-antenna array, one antenna corresponds to one transmission channel, and the communication frequency bands corresponding to the various transmission channels are different from each other; An allocation module, configured to allocate subcarriers to each of the transmission channels based on a historical noise information set, noise information, and a communication frequency band corresponding to the transmission channel; A transmission module, configured to transmit, for each of the transmission channels, the preprocessing result from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel; The step of transmitting the preprocessing result from the 5G industrial gateway to the central control system based on the subcarrier corresponding to the transmission channel includes: Performing encryption processing on the preprocessing result based on a preset encryption processing method to obtain an encryption processing result; Determine a first target subcarrier among the subcarriers corresponding to the transmission channel; wherein, among the subcarriers corresponding to the transmission channel, the frequency value corresponding to the frequency band range of the first target subcarrier is the largest; Adding the encryption processing result to the first target subcarrier; Determine a second target subcarrier among the subcarriers corresponding to the transmission channel; wherein, among the subcarriers corresponding to the transmission channel, the frequency value corresponding to the frequency band range of the second target subcarrier is the smallest; Adding garbled information to the remaining subcarriers except the first target subcarrier and the second target subcarrier respectively; Randomly arrange the first target subcarrier to which the encryption processing result is added and each subcarrier to which the garbled code information is added to obtain a subcarrier sequence, and determine a sequence corresponding to the first target subcarrier in the subcarrier sequence; adding a sequence corresponding to the first target subcarrier to the second target subcarrier; Each subcarrier of the subcarrier sequence is transmitted sequentially by the 5G industrial gateway to the central control system, and after the transmission of each subcarrier in the subcarrier sequence is completed, a second target subcarrier to which a sequence corresponding to the first target subcarrier is added is transmitted by the 5G industrial gateway to the central control system.
Citation Information
Patent Citations
Detection method, chip and terminal equipment
CN116131888A
Explosion-proof intelligent terminal communication noise reduction method and device based on 5G industrial gateway
CN118921131A