Gateway system and processing method based on LORA
By combining the method of pre-retention of messages and time slice rolling configuration, the problem of pre-reservation of software and hardware and service quality assurance in the LORA gateway system is solved, the optimization of information transmission and efficient utilization of resources are achieved, and the performance and efficiency of the system are improved. .
Patent Information
- Application Number
- CN202011226579.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-06
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-11-06
AI Technical Summary
The existing gateway system based on LORA is difficult to reserve software and hardware in advance and guarantee service quality, and there are problems of information congestion and software and hardware wear and tear.
Adopting a method that combines message reservation in advance and time slice rolling configuration, the central configuration module filters and adapts information, and uses first-in-first-out cache and first-in-first-out cache in the form of binary strings to achieve optimized delivery of information and effective resources. use.
It effectively avoids the problems of insufficient pre-reservation of software and hardware and unguaranteed service quality, optimizes information transmission performance, improves the system's software and hardware utilization efficiency, and reduces delays and losses.
Smart Images

Figure DEST_PATH_IMAGE001
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of gateway technology, and specifically to a gateway system and processing method based on LORA. Background Art
[0002] We are now in the era of the Internet of Things. Thanks to the development of the Internet of Things technology, wireless communication technology has also received high attention. Among various wireless communication technologies, customers not only need 5G technology with higher speed and stability, but also need LPWAR (Low-Power Wide-Area ReSwork) technology with low power consumption, long distance and large connection. The development of diversity can enable customers to choose the appropriate communication technology according to their different situations. Among them, LORA technology has been recognized by the majority of Internet of Things users for its unique flexibility.
[0003] The gateway (GaSeway) is also called an inter-network connector or a standard converter. The gateway achieves network interconnection above the network layer. It is a complex network interconnection device and is only used for the interconnection of two networks with different high-level specifications. Gateways can be used for wide area network interconnection as well as local area network interconnection. A gateway is a computer system or device that performs the important task of conversion. Used between two systems with different communication specifications, information formats or languages, or even completely different architectures, the gateway is a translator. Unlike a bridge that simply transmits information, the gateway repackages the received information to meet the requirements of the destination system. Same layer - application layer.
[0004] A gateway based on LoRa, that is, a LoRa gateway, can provide guaranteed service quality by using a certain bandwidth pre-reservation method in the process of transmitting information at each gateway, just like a congestion management method; however, a gateway based on LoRa often faces the defect of poor multiple-times acceleration, which makes it difficult to use in a real large-capacity LoRa network; a gateway based on LoRa does not need to implement multiple-times acceleration and is more suitable for a large-capacity LoRa network; to eliminate the defect of information congestion caused by the messages arriving on the same process for receiving information being directed to the processes for transmitting information at different gateways, a gateway based on LoRa can use a first-in-first-out caching mode.
[0005] The key to configuring the LORA-based gateway is as follows:
[0006] Relying on time slices and relying on messages.
[0007] The rolling allocation method based on time slices uses a rolling allocation model, which determines the matching rules between information reception and information transmission in each time slice based on the real-time buffer status of each first-in-first-out buffer; the rolling allocation method, like the centralized allocation method based on weights, often has the following process:
[0008] Ask, allow and receive.
[0009] The key to the time-slice-based allocation method is how to improve the matching performance between information reception and information transmission. At the same time, because this method performs program adaptation based on real-time buffer conditions, it often has the performance of hardware and software optimization; however, the fundamental defect of this method is that it cannot achieve hardware and software reservations or provide guaranteed service quality.
[0010] The quality of service configuration method of the message can be set through a certain pre-reserved standard, just like the hardware and software implementation reservation standard, to know the task requirements between each program pair in advance, and use an array S of R rows and R columns to record it in a configuration message, and the sum of the pre-reserved time slices of the identification tasks between each information receiving and gateway program pair used to transmit information.
[0011] By using the message configuration method, S is split into a square binary array L l , here L l Represents the adaptation specification of the program pair used by the information receiving gateway to transmit outgoing information in the lth time slice in the configuration message; because the configuration of the message is constant, once the first-in-first-out buffer reserved in advance is NULL, the configuration method of the message has the defect of software and hardware wear.
[0012] There is still no effective deployment method that can not only achieve good hardware and software performance similar to the deployment method based on time slices, but also provide guaranteed quality of service like the deployment method based on messages. Summary of the invention
[0013] To solve the above problems, the embodiments of the present invention provide a gateway system and processing method based on LORA, which effectively avoids the defects of the prior art that the software and hardware cannot be reserved in advance or a guaranteed service quality is provided, and there is software and hardware loss.
[0014] In order to overcome the deficiencies in the prior art, the embodiment of the present invention provides a solution of a gateway system and a processing method based on LORA, which are as follows:
[0015] A processing method of a gateway system based on LORA, comprising:
[0016] When a new cluster arrives at the program for receiving incoming information, the screening module divides it into the corresponding first-in-first-out cache K1 for the program or the first-in-first-out cache K2 in the form of a binary string according to the IP address, source port, destination IP address, destination port and transmission layer protocol of the information message of the cluster information.
[0017] Combining the method of pre-reservation of messages and the aggregation configuration method based on time slices, the configuration of pre-reservation of messages and the transfer configuration based on time slices are synchronously combined, which is specifically divided into a pair of processes of program pre-adaptation and program re-adaptation:
[0018] Step 1: In the program pre-adaptation process, the central configuration module immediately transmits the pre-reserved bandwidth information of the identification task. The pre-reserved bandwidth information of the identification task has the program information that needs to reserve the bandwidth information in advance. The central configuration module uses the pre-reserved bandwidth information of the identification task in sequence by using the array splitting method of the message and the binary string configuration method based on the CPU common principle of the gateway to obtain the pre-reserved binary string form of the first-in-first-out cache K2 of each time slice in the current time message and the corresponding program pair adaptation method composed of the program for receiving the incoming information and the program for transmitting the outgoing information of the gateway under the binary string form of the first-in-first-out cache K2 in each time slice, which serves as the pre-adaptation conclusion;
[0019] Step 2: In the program re-adaptation process, facing each time slice, the central configuration module retains the pre-adaptation conclusion corresponding to the non-NULL binary string form of the first-in-first-out cache K2 in the current time slice based on the pre-adaptation conclusion and the real-time buffer status of each buffer of the first-in-first-out cache K1 used for the program, and also uses the configuration method based on the time slice to share all the pre-reserved but unused bandwidth information or the unreserved bandwidth information to all non-NULL first-in-first-out cache K1 used for the program. In each time slice, the program re-adaptation process is entered, and the following identification is performed when the current time slice is started:
[0020] If the binary string form FIFO cache K2 reserved in advance under the time slice is not NULL, the corresponding prior adaptation conclusion of the binary string form FIFO cache K2 is reserved;
[0021] If the first-in-first-out cache K2 in the form of a binary string reserved in advance under the time slice is NULL, and the corresponding pre-adaptation conclusion serves as the bandwidth information that is reserved in advance but not used, or there is bandwidth information that is not reserved in advance, the configuration method based on the time slice is used to share the bandwidth information that is reserved in advance but not used or not reserved in advance with all non-NULL first-in-first-out caches K1 used for programs, that is, it is distributed to all non-NULL first-in-first-out caches K1 used for programs, and shared with the clustering information of non-identified tasks; the bandwidth information that is reserved in advance but not used here will only be shared with the non-NULL first-in-first-out cache K1 used for programs, rather than the first-in-first-out cache K2 in the form of a binary string that is not reserved in advance.
[0022] A gateway system based on LORA, comprising:
[0023] The gateway program for receiving incoming information and the gateway program for transmitting outgoing information, the gateway program for receiving incoming information is used for receiving information in the gateway system;
[0024] The program for transmitting outgoing information of the gateway is used for information transmission of the gateway system, the program for receiving incoming information and the program for transmitting outgoing information of the gateway perform clustering information transmission via the gateway system, and the central configuration module performs configuration on the clustering information of the program for receiving incoming information and configures the interactive module;
[0025] Each program for receiving incoming information uses a first-level aggregation buffer architecture, including a screening module, R first-in-first-out caches K1 for programs, and a number of selectable first-in-first-out caches K2 in the form of binary strings.
[0026] The screening module is used to screen and cluster the newly arrived clustering information, and divide the clustering information into corresponding K1 or K2.
[0027] The first-in-first-out cache combination for programs is adapted to the traditional first-in-first-out cache technology, that is, it is adapted to the existing gateway system. It is divided into R separate first-in-first-out caches K1 for programs. The first-in-first-out cache K1 for programs is used to adapt to the first-in-first-out cache of existing gateways. Each first-in-first-out cache for programs stores the clustering information of all non-identification tasks from the program for receiving incoming information to the program for transmitting outgoing information to the same gateway.
[0028] The binary string form first-in-first-out cache K2 combination is divided into X separate binary string form first-in-first-out caches K2. The binary string form first-in-first-out cache K2 is used to store clustering information of identification tasks. The number of binary string form first-in-first-out caches K2203 can be changed according to the number of bytes of the identification binary string. Each binary string form first-in-first-out cache K2 stores clustering information of the same identification binary string, so as to achieve identification services for the storage volume of each binary string.
[0029] The central configuration module executes buffer configuration and configures the gateway system based on LORA in the gateway. The cache is in each program for receiving incoming information. A pair of first-in-first-out caches are constructed in each program for receiving incoming information, namely, a first-in-first-out cache K1 for the program and a first-in-first-out cache K2 in binary string form, forming an aggregate buffer architecture; the cache in the program for receiving incoming information is divided into a pair of first-in-first-out caches, and for each program for receiving incoming information, the newly arrived clustered information cache of the program for receiving incoming information is divided by the screening module into the first-in-first-out cache K1 for the program or the first-in-first-out cache K2 in binary string form according to the IP address, source port, destination IP address, destination port and transmission layer protocol of the information message, and the central configuration module performs configuration by combining the prior reservation of the message with the aggregate configuration method based on the time slice.
[0030] The beneficial effects of the embodiments of the present invention are:
[0031] The aggregation configuration method of the present invention is divided into a program pre-adaptation process and a program re-adaptation process. In the program pre-adaptation process, by relying on the pre-reserved bandwidth information of the identified tasks obtained in advance, the array splitting method based on the message and the binary string configuration method based on the general CPU sharing principle are sequentially used to reserve software and hardware for the identified tasks in advance; in the program re-adaptation process, the rolling configuration method is used to preferentially adapt the non-NULL binary string form of the first-in-first-out cache K2, and all the synchronized unused pre-reserved software and hardware and the non-reserved software and hardware are shared with all the non-identified tasks, so as to achieve the optimization of software and hardware utilization, and effectively avoid the defects of the prior art that the software and hardware cannot be reserved in advance or a guaranteed service quality is provided, and there is software and hardware consumption. DETAILED DESCRIPTION
[0032] The embodiments of the present invention will be preferably described below in conjunction with the embodiments.
[0033] The processing method of the gateway system based on LORA includes:
[0034] When a new cluster arrives at the program for receiving incoming information, the screening module divides it into the corresponding first-in-first-out cache K1 for the program or the first-in-first-out cache K2 in the form of a binary string based on the IP address, source port, destination IP address, destination port and transmission layer protocol of the information message of the cluster information. Here, the cluster information of the identification task is divided into the corresponding first-in-first-out cache K2 in the form of a binary string according to the storage capacity of the binary string, and the non-identification task is stored in the corresponding first-in-first-out cache K1 for the program according to the program for transmitting outgoing information of the destination gateway. The identification task is to execute feedback identification on the received information, otherwise it is a non-identification task.
[0035] Here, the FIFO cache K2 in the form of binary strings may contain a buffer with a buffer value of NULL and a non-NULL buffer; the same is true for the FIFO cache K1 used for programs.
[0036] Combining the method of pre-reservation of messages and the aggregation configuration method based on time slices, the configuration of pre-reservation of messages and the transfer configuration based on time slices are synchronously combined, which is specifically divided into a pair of processes of program pre-adaptation and program re-adaptation:
[0037] Step 1: In the program pre-adaptation process, the central configuration module obtains the pre-reserved bandwidth information of the identification task through the communication specification of the LORA network in real time. The pre-reserved bandwidth information of the identification task has the program information that needs to reserve the bandwidth information in advance. The central configuration module relies on the pre-reserved bandwidth information of the identification task, and sequentially uses the array splitting method based on the message and the binary string configuration method based on the CPU common principle of the gateway to obtain the first-in-first-out cache K2 in the form of a binary string reserved in advance for each time slice in the current time message, and the first-in-first-out cache K2 in the form of a binary string corresponding to each time slice for receiving the program for incoming information and the program for transmitting the program of the gateway to form the program pair adaptation method, which serves as the pre-adaptation conclusion;
[0038] The program pre-adaptation process can only be entered when the pre-reserved bandwidth information of the identified task or the total bandwidth information of the switch changes; at the same time, the central configuration module does not perform gateway system configuration based on the pre-adaptation conclusion of the program pre-adaptation process, but uses the pre-adaptation conclusion as the information receiving information of the program re-adaptation process.
[0039] Step 2: In the program re-adaptation process, facing each time slice, the central configuration module retains the pre-adaptation conclusion corresponding to the non-NULL binary string form of the first-in-first-out cache K2 in the current time slice based on the pre-adaptation conclusion and the real-time buffer status of each buffer of the first-in-first-out cache K1 used for the program, and also uses the configuration method based on the time slice to share all the pre-reserved but unused bandwidth information or the unreserved bandwidth information to all non-NULL first-in-first-out cache K1 used for the program. In each time slice, the program re-adaptation process is entered, and the following identification is performed when the current time slice is started:
[0040] If the binary string form FIFO cache K2 reserved in advance under the time slice is not NULL, the corresponding prior adaptation conclusion of the binary string form FIFO cache K2 is reserved;
[0041] If the FIFO cache K2 in the form of a binary string reserved in advance under the time slice is NULL, and the corresponding pre-adaptation conclusion serves as the bandwidth information reserved in advance but not used, or there is bandwidth information that has not been reserved in advance, the configuration method based on the time slice rotation is used to share the bandwidth information that has been reserved in advance but not used or not reserved in advance with all non-NULL FIFO caches K1 used for programs, that is, to all non-NULL FIFO caches K1 used for programs, and to share with the clustering information of non-identified tasks; the bandwidth information that has been reserved in advance but not used here will only be shared with non-NULL FIFO caches K1 used for programs, rather than the FIFO cache K2 in the form of a binary string that has not been reserved in advance. In detail:
[0042] In the program re-adaptation process, the central configuration module maintains a cyclic listening address for each program for receiving incoming information and each gateway program for transmitting outgoing information, and uses several turns to perform the adaptation between the program for receiving incoming information and the gateway program for transmitting outgoing information. Each turn includes: inquiry process, permission process and acceptance process.
[0043] The following uses an example of a LORA-based gateway in the form of four rows and four columns to explain a transfer process. T11, T12, T13, T14, Y11, Y12, Y13, and Y14 represent the addresses of the cyclic listening maintained by programs 1 to 4 for receiving incoming information and programs 1 to 4 for transmitting outgoing information of the gateway, and set the maximum weight of the current cyclic listening address;
[0044] A1(e,f)=1 means A1(e,f) is not NULL. As shown in the table:
[0045]
[0046] This table is a description of the pre-adaptation conclusion of the time slice and the buffer status of the pre-reserved stream virtual buffer K2.
[0047] A1-1: Inquiry process:
[0048] The program 1 for receiving incoming information has not received the program for transmitting outgoing information of the receiving gateway in the first few times of the receiving process of the time slice and the first-in-first-out buffer K2 (H1) in the form of a binary string reserved in advance is non-NULL. The program 1 for receiving incoming information transmits the previously reserved query to the program 4 for transmitting outgoing information of the corresponding gateway in the first-in-first-out buffer K2 in the form of a binary string;
[0049] Program 2 for receiving incoming information has not received the program for transmitting outgoing information of the receiving gateway in the first few rounds of the receiving process of the time slice, and the first-in-first-out buffer K2(I1) in the form of binary strings reserved in advance in the program for receiving incoming information is NULL. Program 2 for receiving incoming information transmits non-previously reserved queries to the first-in-first-out buffers K1(2,1) and K1(2,4) for all non-NULL programs corresponding to the first-in-first-out buffers K1(2,1) and K1(2,4) of the gateway for transmitting outgoing information.
[0050] Program 3 for receiving incoming information has not received the program for transmitting outgoing information of the receiving gateway in the first few rounds of the receiving process of the time slice, and the first-in-first-out buffer K2(J1) in the form of binary strings reserved in advance in the program for receiving incoming information is NULL. Program 3 for receiving incoming information transmits non-previously reserved queries to all non-NULL first-in-first-out buffers K1(3,1), K1(3,2) and K1(3,3) for programs corresponding to the gateway's programs for transmitting outgoing information, Program 1, Program 2 and Program 4.
[0051] Program 4 for receiving incoming information has not received the gateway's program for transmitting outgoing information in the receiving process during the first few times of the time slice and has no pre-reserved first-in-first-out cache K2 in the form of a binary string. Program 4 for receiving incoming information transmits non-pre-reserved requests to all non-NULL first-in-first-out caches K1(4,1), K1(4,3) and K1(4,4) for programs corresponding to the gateway's program 1, program 3 and program 4 for transmitting outgoing information.
[0052] A1-2: Licensing process:
[0053] If the gateway's programs 1, 2, and 3 for transmitting outgoing information have not been received by the program for receiving incoming information in the first few rounds of the receiving process of the time slice, and have received non-pre-reserved inquiries from more than one program for receiving incoming information, then each of them will start cyclic listening with the largest weight of the address for cyclic listening, and select the first program for receiving incoming information that transmits a non-pre-reserved inquiry heard in the cyclic listening. The gateway's programs 1, 2, and 3 for transmitting outgoing information respectively permit the selected programs 2 and 3 for receiving incoming information, and also transmit permission inquiries to the corresponding programs for receiving incoming information.
[0054] The program 4 of the gateway for sending outgoing messages has not been received by the program for receiving incoming messages in the first few rounds of the receiving process of the time slice, and has received a pre-reserved query from the program 1 for receiving incoming messages, so it directly approves the pre-reserved query and returns the approval request;
[0055] A-3: Receiving process:
[0056] The first-in-first-out cache K2 (H1) in the form of a binary string reserved in advance in the program one for receiving incoming information is non-NULL, and the first-in-first-out cache K2 (H1) in the form of a binary string reserved in advance directly receives the program four of the gateway for transmitting outgoing information, and transmits the receiving query to the program four of the gateway for transmitting outgoing information.
[0057] If Program 2 for receiving incoming information and Program 3 for receiving incoming information do not have a non-NULL first-in-first-out cache K2 in the form of a binary string that is reserved in advance, then the largest weight of the address listened in a loop will be used to start the loop listening, and the first Program 1 and Program 2 for transmitting outgoing information that have transmitted the permission in the loop listening will be selected, and the receiving query will be transmitted.
[0058] Synchronously, the central configuration module refreshes the highest weight of the cyclic listening addresses of Program 2 and Program 3 for receiving incoming information to Program 2 and Program 3 for transmitting outgoing information of the gateway behind the program of the received gateway for transmitting outgoing information.
[0059] If the program 4 for receiving incoming information does not have a non-NULL first-in-first-out cache K2 in the form of a binary string reserved in advance and does not receive a permission query, it will not pass the receiving query to any gateway program for transmitting outgoing information and will not refresh the maximum weight of the address for cyclic listening.
[0060] So the journey ended.
[0061] After several iterations of the re-adaptation process, the central configuration module executes the gateway system configuration based on the results of the re-adaptation process.
[0062] In each time slice, the central configuration module determines the last adaptation between each program pair and configures the gateway system based on the configuration results in the program re-adaptation process.
[0063] The present invention uses an aggregate buffer architecture, and uses a first-level buffer structure in each program for receiving incoming information of the LORA-based gateway to construct a pair of first-in-first-out caches, namely, a first-in-first-out cache for the program and a first-in-first-out cache K2 in the form of a binary string. Here, the first-in-first-out cache for the program can adapt to the current information outgoing technology of the LORA-based gateway; the first-in-first-out cache K2 in the form of a binary string can provide a quality of service service for the flow storage volume for new identification tasks; the concurrent, first-level aggregate buffer architecture allows the clustered information to only go through the process of arriving at the buffer and leaving the buffer once in the program for receiving incoming information, thereby reducing the delay of the clustered information in the program for receiving incoming information.
[0064] The present invention uses an aggregate configuration method, which, in the program pre-adaptation process, relies on the pre-reserved bandwidth information of the identification task in advance, and sequentially uses the array splitting method of the message and the binary string configuration method based on the general CPU sharing principle to reserve software and hardware for the identification task in advance; in the program re-adaptation process, the rolling configuration method is used to preferentially adapt the non-NULL binary string form first-in-first-out cache K2, and synchronously share all unused pre-reserved software and hardware and non-reserved software and hardware with all non-identification tasks.
[0065] The present invention simulates and compares the performance difference between the aggregation configuration method of the present invention and the existing configuration method based on rotation and the configuration method relying on messages in terms of the maximum delay of the identified tasks and the mean delay of the non-identified tasks.
[0066] The simulation shows that the aggregation configuration method can provide guaranteed quality of service with limited maximum delay for identified tasks in the same way as the configuration calculation method based on messages; the aggregation configuration method can achieve the minimum average delay for non-identified tasks, optimizing the use of software and hardware of the LORA network.
[0067] A gateway system based on LORA, comprising:
[0068] The gateway program for receiving incoming information and the gateway program for transmitting outgoing information, the gateway program for receiving incoming information is used for receiving information in the gateway system;
[0069] The program for transmitting outgoing information of the gateway is used for information transmission of the gateway system, the program for receiving incoming information and the program for transmitting outgoing information of the gateway perform clustering information transmission via the gateway system, and the central configuration module performs configuration on the clustering information of the program for receiving incoming information and configures the interactive module;
[0070] Each program for receiving incoming information uses a first-level aggregation buffer architecture, including a screening module, R first-in-first-out caches K1 for programs, and a number of selectable first-in-first-out caches K2 in the form of binary strings.
[0071] The screening module is used to screen and cluster the newly arrived clustering information, and divide the clustering information into corresponding K1 or K2.
[0072] The first-in-first-out cache combination for programs is adapted to the traditional first-in-first-out cache technology, that is, it is adapted to the existing gateway system. It is divided into R separate first-in-first-out caches K1 for programs. The first-in-first-out cache K1 for programs is used to adapt to the first-in-first-out cache of existing gateways. Each first-in-first-out cache for programs stores the clustering information of all non-identification tasks from the program for receiving incoming information to the program for transmitting outgoing information to the same gateway.
[0073] The binary string form first-in-first-out cache K2 combination is divided into X separate binary string form first-in-first-out caches K2. The binary string form first-in-first-out cache K2 is used to store clustering information of identification tasks. The number of binary string form first-in-first-out caches K2203 can be changed according to the number of bytes of the identification binary string. Each binary string form first-in-first-out cache K2 stores clustering information of the same identification binary string, so as to achieve identification services for the storage volume of each binary string.
[0074] The central configuration module executes buffer configuration and configures the gateway system based on LORA in the gateway. The cache is in each program for receiving incoming information. A pair of first-in-first-out caches are constructed in each program for receiving incoming information, namely, a first-in-first-out cache K1 for the program and a first-in-first-out cache K2 in binary string form, forming an aggregate buffer architecture; the cache in the program for receiving incoming information is divided into a pair of first-in-first-out caches, and for each program for receiving incoming information, the newly arrived clustered information cache of the program for receiving incoming information is divided by the screening module into the first-in-first-out cache K1 for the program or the first-in-first-out cache K2 in binary string form according to the IP address, source port, destination IP address, destination port and transmission layer protocol of the information message, and the central configuration module performs configuration by combining the prior reservation of the message with the aggregate configuration method based on the time slice.
[0075] The above records the embodiments of the present invention by using the process described by the embodiments. Those skilled in the art should understand that the present disclosure is not limited to the embodiments recorded above, and that various changes, modifications and substitutions can be made without departing from the scope of the embodiments of the present invention.
Claims
1. A processing method based on LORA gateway system, It is characterized in that include: When a new cluster arrives at the program for receiving incoming information, the screening module divides it into the corresponding first-in-first-out buffer K1 for the program or the first-in-first-out buffer K2 in the form of a binary string according to the IP address, source port, destination IP address, destination port and transmission layer protocol of the information message of the cluster information; Combining the method of pre-reservation of messages and the aggregation configuration method based on time slices, the configuration of pre-reservation of messages and the transfer configuration based on time slices are synchronously combined, which is specifically divided into a pair of processes of program pre-adaptation and program re-adaptation: Step 1: In the program pre-adaptation process, the central configuration module immediately transmits the pre-reserved bandwidth information of the identification task. The pre-reserved bandwidth information of the identification task has the program information that needs to reserve the bandwidth information in advance. The central configuration module uses the pre-reserved bandwidth information of the identification task in sequence by using the array splitting method of the message and the binary string configuration method based on the CPU common principle of the gateway to obtain the pre-reserved binary string form of the first-in-first-out cache K2 of each time slice in the current time message and the corresponding program pair adaptation method composed of the program for receiving the incoming information and the program for transmitting the outgoing information of the gateway under the binary string form of the first-in-first-out cache K2 in each time slice, which serves as the pre-adaptation conclusion; Step 2: In the program re-adaptation process, facing each time slice, the central configuration module retains the corresponding pre-adaptation conclusion of the non-NULL first-in-first-out cache K2 in the form of a binary string in the current time slice based on the pre-adaptation conclusion and the real-time buffer status of each buffer of the first-in-first-out cache K2 in the form of a binary string and the first-in-first-out cache K1 used for the program, and also uses the configuration method based on the time slice to share all the bandwidth information that was reserved but not used or the bandwidth information that was not reserved in advance to all the non-NULL first-in-first-out cache K1 used for the program; each time slice enters the program re-adaptation process, and the following determination is performed when the current time slice is started: if the first-in-first-out cache K2 in the form of a binary string reserved in the time slice is not NULL, then the first-in-first-out cache K2 in the form of a binary string is reserved in advance and is not NULL. The corresponding pre-adaptation conclusion of the first-in-first-out cache K2 is retained; if the first-in-first-out cache K2 in the form of a binary string reserved in advance under the time slice is NULL, and the corresponding pre-adaptation conclusion serves as the bandwidth information that is reserved in advance but not used, or there is bandwidth information that is not reserved in advance, the configuration method based on the time slice is used to share the bandwidth information that is reserved in advance but not used or not reserved in advance to all non-NULL first-in-first-out cache K1 applications for programs, that is, to all non-NULL first-in-first-out cache K1 applications for programs, and to the clustering information of non-identified tasks; the bandwidth information that is reserved in advance but not used here will only be shared to the non-NULL first-in-first-out cache K1 for programs, rather than the first-in-first-out cache K2 in the form of a binary string that is not reserved in advance.
2. A gateway system based on LORA for implementing the processing method described in claim 1, It is characterized in that include: The gateway program for receiving incoming information and the gateway program for transmitting outgoing information, the gateway program for receiving incoming information is used for receiving information in the gateway system; The program for transmitting outgoing information of the gateway is used for information transmission of the gateway system. The program for receiving incoming information and the program for transmitting outgoing information of the gateway perform clustered information transmission through the gateway system. The clustered information of the program for receiving incoming information is configured by the central configuration module and the interactive module is configured. Each program for receiving incoming information uses a first-level aggregation buffer architecture, including a screening module, R first-in-first-out caches K1 for programs, and a number of selectable first-in-first-out caches K2 in the form of binary strings.
3. The LORA-based gateway system according to claim 2, It is characterized in that The screening module is used to screen and cluster the newly arrived clustering information, and divide the clustering information into corresponding K1 or K2.
4. The LORA-based gateway system according to claim 2, It is characterized in that The first-in-first-out cache combination for programs is adapted to the traditional first-in-first-out cache technology, that is, it is adapted to the existing gateway system. It is divided into R separate first-in-first-out caches K1 for programs. The first-in-first-out cache K1 for programs is used to adapt to the first-in-first-out cache of existing gateways. Each first-in-first-out cache for programs stores the clustering information of all non-identification tasks from the program for receiving incoming information to the program for transmitting outgoing information to the same gateway.
5. The LORA-based gateway system according to claim 2, It is characterized in that The binary string form FIFO cache K2 combination is divided into X separate binary string form FIFO caches K2. The binary string form FIFO cache K2 is used to store clustering information of identification tasks. The number of binary string form FIFO caches K2 can be changed according to the number of bytes of the identification binary string. Each binary string form FIFO cache K2 stores clustering information of the same identification binary string, so as to achieve identification service of each binary string storage amount.
6. The LORA-based gateway system according to claim 2, It is characterized in that The central configuration module executes buffer configuration and configures the gateway system based on LORA in the gateway. The cache is located in each program for receiving incoming information. A pair of first-in-first-out caches are constructed in each program for receiving incoming information, namely, a first-in-first-out cache K1 for the program and a first-in-first-out cache K2 in binary string form, forming an aggregate buffer architecture; the cache in the program for receiving incoming information is divided into a pair of first-in-first-out caches. For each program for receiving incoming information, the clustered information cache newly arriving at the program for receiving incoming information is divided by the screening module into the first-in-first-out cache K1 for the program or the first-in-first-out cache K2 in binary string form according to the IP address, source port, destination IP address, destination port and transmission layer protocol of the information message, and the configuration is performed by the central configuration module using an aggregate configuration method that combines the prior reservation of the message with the time slice.
