Communication downlink multi-instruction control and data processing method

By receiving signals in the communication downlink and resolving them into multiple data packets, classifying and prioritizing instructions, generating instruction queues, and designing a dynamic data cache mechanism, the problem of inefficient instruction execution in the communication downlink is solved, and the system efficiency and stability are improved.

CN119902803AInactive Publication Date: 2025-04-29DONGGUAN ZHONGJIA PRINTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510122714.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-04-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the communication downlink, the received data contains multiple instructions and packets, and these instructions have different priorities and execution requirements, resulting in problems of inefficiency and excessive system idleness.

Method used

By receiving signals and resolving them into multiple data packets, classifying and prioritizing instructions, generating instruction queues, designing dynamic data cache mechanisms, and adjusting exceptions through real-time feedback, optimizing multi-instruction control and data processing processes for communication downlinks.

Benefits of technology

It improves system efficiency and stability, ensures real-time adjustment and handling of abnormal situations, and improves the overall performance of communication downlink.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902803A_ABST
    Figure CN119902803A_ABST
Patent Text Reader

Abstract

The invention provides a communication downlink multi-instruction control and data processing method, and belongs to the technical field of control processing. The method comprises the following steps: step 1, receiving a signal from an upper-layer sending end to a lower-layer receiving end, and carrying out signal analysis and data processing on the signal to obtain a plurality of data packets; 2, classifying the multiple data packets into multiple instructions according to identifiers, and configuring instruction priorities for the multiple instructions according to instruction information; 3, generating an instruction queue according to a scheduling algorithm in combination with instruction priorities, and executing the instruction queue in sequence; 4, designing a data cache mechanism, and dynamically adjusting data cache according to an execution result of any instruction; and 5, monitoring all processes executed by the instruction, generating feedback information, and adjusting abnormity based on a data caching mechanism. The instruction execution efficiency is improved; and the exception processing is adjusted in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of control processing technology, and in particular to a communication downlink multi-instruction control and data processing method. Background Art

[0002] At present, with the rapid growth of the complexity of modern communication systems and the amount of data, especially in the fields of wireless communication, Internet of Things, 5G, etc., the control and data processing requirements of communication downlink are increasing. In downlink communication, multiple data packets and instructions need to be processed and scheduled efficiently and accurately to ensure communication quality and system response speed. However, in the downlink, the received data often contains multiple instructions and data packets, which have different priorities and execution requirements. They are usually executed in sequence, resulting in low efficiency and excessive system idleness.

[0003] Therefore, the present invention proposes a communication downlink multi-instruction control and data processing method. Summary of the invention

[0004] The present invention provides a multi-instruction control and data processing method for communication downlink, which is used to receive signals and parse them into multiple data packets, classify and prioritize instructions, generate instruction queues, design a dynamic data cache mechanism, and adjust exceptions through real-time feedback, thereby optimizing the multi-instruction control and data processing process of communication downlink and improving system efficiency and stability.

[0005] On the one hand, the present invention provides a communication downlink multi-command control and data processing method, comprising: Step 1: Receive the signal from the upper layer sending end to the lower layer receiving end, perform signal analysis and data processing on the signal to obtain multiple data packets; Step 2: classifying the multiple data packets into multiple instructions according to the identifiers, and configuring instruction priorities for the multiple instructions according to the instruction information; Step 3: Generate an instruction queue based on the scheduling algorithm and instruction priority, and execute them in sequence; Step 4: Design a data cache mechanism to dynamically adjust the data cache based on the execution result of any instruction; Step 5: Monitor all processes of instruction execution, generate feedback information and adjust exceptions based on the data caching mechanism.

[0006] On the other hand, receiving the signal from the upper layer sending end to the lower layer receiving end includes: Configure the signal sending device and configure the signal receiving device according to the network adapter; According to the connection relationship between the signal sending device and the signal receiving device, the data link layer receives the original signal from the upper layer sending end to the lower layer receiving end; Perform analog-to-digital conversion on the original signal to obtain a digital signal.

[0007] On the other hand, the signal is analyzed and processed to obtain multiple data packets, including: Based on the data link layer, the frame check sequence is used to check the digital signal for errors. If an error occurs, the device is requested to retransmit the signal; Parsing the data stream of the digital signal according to a preset standard frame structure based on the data link layer, wherein each data frame in the data stream consists of a frame header, a data portion and a frame trailer; Parsing any data frame based on the data link layer, extracting the payload data of the data frame, and performing data standardization processing on the payload data to obtain standard data that conforms to a preset standard data structure; The multi-packet of raw data consists of all standard data of the data stream.

[0008] On the other hand, the multi-data packet is classified into multiple instructions according to the identifier, including: According to the preset standard field, the keyword in any data frame of the multi-data packet is identified, and the character string of any preset standard field is mapped to the pattern string. Any keyword is regarded as the main string. Starting from the first position of the main string, the matching degree of the characters of the pattern string and the corresponding characters of the main string at the corresponding position are compared one by one: ;in, represents the matching degree between the keyword and the main string, hash() represents the hash function, i represents the i-th character in the main string, represents the ASCII value of the i-th character in the main string, Represents the ASCII value of the i-th character in the pattern string, ( ) represents the maximum selection function, represents the standard error coefficient, ( ) represents the error mapping function, Represents the maximum ASCII value of all characters in the main string, represents the mean function, Indicates the maximum ASCII value of all characters in the pattern string. Indicates the mean ASCII value of the pattern string; The keyword with the maximum matching degree with the preset standard field is selected as the identifier, all the identifiers of the data frames are extracted and classified according to the matching degree clustering relationship, and the corresponding matching task instructions are generated according to the identifier classification of each data frame in the multiple data packets.

[0009] On the other hand, the instruction priority is configured according to the instruction information, including: Create a priority dictionary with the command as the key and the priority as the value; According to the priority single level-instruction-weight mapping table, the priority single levels corresponding to all instructions of any data frame are matched, and the instruction priority of the data frame is calculated according to the weight algorithm; All data frames in the data packet and their corresponding instruction priorities are stored in a priority dictionary.

[0010] On the other hand, the instruction queue is generated according to the scheduling algorithm combined with the instruction priority and executed in sequence, including: Obtain the priority execution start time of all instructions of all data frames, perform initial sorting according to the time logical order, and obtain the first sorting; Get the priority of all instructions in the priority dictionary, and re-sort them according to the first sort: );in, Indicates the sorting position of any instruction after secondary sorting. indicates that the instruction is in the first sorted order, Indicates the priority of the instruction, ( ) indicates the instruction adjustment function, indicates the priority of the previous instruction in the first sorting based on the instruction, indicates the priority of the first two instructions based on the instructions in the first sort, If Greater than ,and Greater than , the instruction sequence is advanced by two places; if Less than ,and Less than , the instruction sequence remains unchanged, if Greater than ,and Less than , the instruction sequence is advanced by one position, and the instruction sequence remains unchanged in other cases. ) represents the time slice function, represents the preset execution time of the instruction, represents the sequencing time of the instruction, represents the time scheduling coefficient; All unexecuted instructions are re-ordered to obtain a second order, and an instruction queue is constructed based on the second order.

[0011] On the other hand, a data cache mechanism is designed to dynamically adjust the data cache according to the execution result of any instruction, including: Initialize the cache mechanism and dynamically allocate cache space based on the data transfer requirements of each instruction in multiple data packets; When any instruction is executed, the cache is updated according to the execution result of the instruction. If the execution result of the instruction is true, the cache space tag of the instruction is updated to completed. If the execution result of the instruction is false, the cache space of the instruction is rolled back and an early warning is issued. Each cache space has a life mark, and when the life mark reaches the expiration date, the cache space is automatically released.

[0012] On the other hand, it monitors all processes of instruction execution, generates feedback information and adjusts exceptions based on the data cache mechanism, including: Before any instruction is executed, a hook callback function is set to the corresponding execution event, and instruction feedback information is collected after each step of execution; Configure the listener interface to monitor the running status of the command execution according to the command feedback information. When the listener interface detects an abnormal command, it records the error information and transmits it to the management system. Adjust system behavior in real time according to the error information to obtain the result of instruction exception processing.

[0013] Compared with the prior art, the present invention has the following beneficial effects: The present invention provides a multi-instruction control and data processing method for communication downlink, which is used to receive signals and parse them into multiple data packets, classify and prioritize instructions, generate instruction queues, design a dynamic data cache mechanism, and adjust exceptions through real-time feedback, thereby optimizing the multi-instruction control and data processing process of communication downlink and improving system efficiency and stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0015] Figure 1 It is a flow chart of a method for multi-instruction control and data processing of downlink communication provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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.

[0017] Embodiment 1: like Figure 1 As shown, an embodiment of the present invention provides a communication downlink multi-instruction control and data processing method, including: Step 1: Receive the signal from the upper layer sending end to the lower layer receiving end, perform signal analysis and data processing on the signal to obtain multiple data packets; Step 2: classifying the multiple data packets into multiple instructions according to the identifiers, and configuring instruction priorities for the multiple instructions according to the instruction information; Step 3: Generate an instruction queue based on the scheduling algorithm and instruction priority, and execute them in sequence; Step 4: Design a data cache mechanism to dynamically adjust the data cache based on the execution result of any instruction; Step 5: Monitor all processes of instruction execution, generate feedback information and adjust exceptions based on the data caching mechanism.

[0018] In this embodiment, the upper-layer sending end refers to the part in the communication system that is responsible for initiating signal or data transmission, and is an application, server or device.

[0019] In this embodiment, the lower layer receiving end refers to the part in the communication system responsible for receiving data or signals from the upper layer sending end, and is a component or system that receives, parses, processes signals from the upper layer, and performs corresponding operations.

[0020] In this embodiment, the signal refers to data information transmitted in the communication system, and may be an electrical signal, an optical signal, or a signal carrier in other forms.

[0021] In this embodiment, signal analysis is a process of converting a received signal into data for further processing in a communication or data processing system.

[0022] In this embodiment, data processing refers to operating and converting received signals or data to convert them into valid information for use in subsequent instruction execution, scheduling, feedback and other links.

[0023] In this embodiment, multiple data packets refer to multiple independent data packets received at the receiving end, which include different information instructions transmitted from the upper layer sending end.

[0024] In this embodiment, the identifier is a label used to uniquely identify a data packet.

[0025] In this embodiment, multiple instructions refer to the presence of multiple instruction tasks that need to be executed simultaneously in the system.

[0026] In this embodiment, instruction information refers to specific data about each instruction, such as the execution method, execution order, priority, required resources, etc. of the instruction.

[0027] In this embodiment, the instruction priority refers to the priority of the execution order assigned by the system to each instruction when multiple instructions need to be executed.

[0028] In this embodiment, the scheduling algorithm is an algorithm used to manage and decide how to arrange the execution order of tasks in the system.

[0029] In this embodiment, the instruction queue is a queue structure for storing and managing instructions.

[0030] In this embodiment, the data cache mechanism dynamically adjusts the stored data according to the result of the instruction execution, so as to quickly obtain the required data during the subsequent instruction execution process, thereby optimizing the overall efficiency of the system.

[0031] In this embodiment, data cache refers to a mechanism in which the system temporarily stores data in a storage device in order to improve data access efficiency.

[0032] In this embodiment, feedback information refers to the process in which the system monitors, records and provides feedback on the instruction execution status, data processing results, cache adjustments and any possible abnormal situations during the instruction execution process.

[0033] The working principle and beneficial effects of the above technical solution are: through signal analysis, instruction classification, priority scheduling, dynamic cache adjustment and feedback mechanism, the data processing and instruction execution of the downlink are optimized, the system efficiency, stability and responsiveness are improved, and the real-time adjustment and processing of abnormal situations are ensured.

[0034] Embodiment 2: On the basis of the above-mentioned embodiment 1, receiving a signal from an upper-layer transmitting end to a lower-layer receiving end includes: Configure the signal sending device and configure the signal receiving device according to the network adapter; According to the connection relationship between the signal sending device and the signal receiving device, the data link layer receives the original signal from the upper layer sending end to the lower layer receiving end; Perform analog-to-digital conversion on the original signal to obtain a digital signal.

[0035] In this embodiment, the signal sending device refers to a hardware device used to generate and send signals during the communication process.

[0036] In this embodiment, the network adapter is a hardware device in a computer or other network device for connecting to a network and performing data transmission.

[0037] In this embodiment, the signal receiving device refers to a hardware device that receives network signals.

[0038] In this embodiment, the data link layer is an important layer of the computer network and belongs to the second layer in the OSI (Open System Interconnection) model. It is responsible for transmitting data frames on the physical medium, ensuring reliable transmission of data, and providing error detection and correction mechanisms.

[0039] In this embodiment, the original signal refers to an analog signal transmitted through a physical medium (such as a cable, an optical fiber, or a wireless signal).

[0040] In this embodiment, analog-to-digital conversion is the process of converting a continuous analog signal (such as sound, light, voltage, etc.) into a discrete digital signal.

[0041] In this embodiment, the digital signal refers to a signal represented by discrete values ​​and used to transmit binary data (0 and 1).

[0042] The working principle and beneficial effects of the above technical solution are: by configuring the signal sending and receiving equipment, receiving the original signal through the data link layer, and performing analog-to-digital conversion to obtain a digital signal, the accuracy and reliability of signal transmission are effectively improved, providing an accurate digital signal foundation for subsequent data processing.

[0043] Embodiment 3: Based on the above embodiment 2, the signal is analyzed and processed to obtain multiple data packets, including: Based on the data link layer, the frame check sequence is used to check the digital signal for errors. If an error occurs, the device is requested to retransmit the signal; Parsing the data stream of the digital signal according to a preset standard frame structure based on the data link layer, wherein each data frame in the data stream consists of a frame header, a data portion and a frame trailer; Parsing any data frame based on the data link layer, extracting the payload data of the data frame, and performing data standardization processing on the payload data to obtain standard data that conforms to a preset standard data structure; The multi-packet of raw data consists of all standard data of the data stream.

[0044] In this embodiment, the frame check sequence is a mechanism for detecting whether an error occurs in a data frame during transmission. It is placed at the end of the data frame and is calculated using a certain error detection algorithm (such as CRC-32).

[0045] In this embodiment, the preset standard frame structure refers to a unified data frame composition method followed by the sending and receiving devices during the communication process.

[0046] In this embodiment, the data stream refers to a continuous sequence of data transmitted according to certain rules and formats during the communication process.

[0047] In this embodiment, the frame header is a part of the data link layer data frame, located at the front of the data frame, and contains key information for identifying and controlling data transmission, such as: destination address, source address, frame type (or protocol type) field, etc.

[0048] In this embodiment, the frame trailer is the last part of the data link layer data frame, which is usually located at the end of the data frame and contains control information for marking the end of the frame and performing error detection.

[0049] In this embodiment, the payload data refers to the actual information part used for transmission in the data frame, which is the core content of the data frame and does not include the frame header and the frame trailer.

[0050] In this embodiment, the standardization process refers to performing a series of processing operations on the load data extracted from the data frame to make it conform to a preset standard or specification.

[0051] In this embodiment, the preset standard data structure refers to a pre-defined data format that complies with the protocol specification.

[0052] In this embodiment, the standard data is data that conforms to a preset standard data structure after data standardization processing.

[0053] The working principle and beneficial effects of the above technical solution are: ensuring the accuracy of signal transmission through the frame check sequence, using the data link layer to parse the digital signal and perform standardized processing, converting the original data into a data structure that meets the preset standards, effectively improving the reliability, accuracy and processing efficiency of data transmission.

[0054] Embodiment 4: Based on the above embodiment 1, multiple data packets are classified into multiple instructions according to identifiers, including: According to the preset standard field, the keyword in any data frame of the multi-data packet is identified, and the character string of any preset standard field is mapped to the pattern string. Any keyword is regarded as the main string. Starting from the first position of the main string, the matching degree of the characters of the pattern string and the corresponding characters of the main string at the corresponding position are compared one by one: ;in, represents the matching degree between the keyword and the main string, hash() represents the hash function, i represents the i-th character in the main string, represents the ASCII value of the i-th character in the main string, Represents the ASCII value of the i-th character in the pattern string, ( ) represents the maximum selection function, represents the standard error coefficient, ( ) represents the error mapping function, Represents the maximum ASCII value of all characters in the main string, represents the mean function, Indicates the maximum ASCII value of all characters in the pattern string. Indicates the mean ASCII value of the pattern string; The keyword with the maximum matching degree with the preset standard field is selected as the identifier, all the identifiers of the data frames are extracted and classified according to the matching degree clustering relationship, and the corresponding matching task instructions are generated according to the identifier classification of each data frame in the multiple data packets.

[0055] In this embodiment, the keyword is the content of certain specific fields in the data frame, representing the characteristics of the data frame, such as the protocol version number, source address, destination address, timestamp, command type, etc.

[0056] In this embodiment, the preset standard field refers to a field pre-defined in the structure of each data packet and used to extract keywords and perform matching, such as a protocol header, an identifier, field content, etc.

[0057] In this embodiment, the pattern string refers to a reference string used to match a main string (a string of a main data frame), and is a template used to identify specific features in a data packet.

[0058] In this embodiment, the main string refers to the content in the data frame used to match the pattern string.

[0059] In this embodiment, the clustering relationship refers to the similarity relationship between identifiers extracted from the data frame, which is used to classify and group the data frame.

[0060] The working principle and beneficial effects of the above technical solution are: by comparing the matching degree between the keyword and the main string through the hash function and the error mapping function, the identifiers in the data frame are extracted and classified, thereby achieving efficient multi-data packet matching and task instruction allocation, and improving data processing and matching accuracy.

[0061] Embodiment 5: On the basis of the above-mentioned embodiment 4, configuring the instruction priority according to the instruction information includes: Create a priority dictionary with the command as the key and the priority as the value; According to the priority single level-instruction-weight mapping table, the priority single levels corresponding to all instructions of any data frame are matched, and the instruction priority of the data frame is calculated according to the weight algorithm; All data frames in the data packet and their corresponding instruction priorities are stored in a priority dictionary.

[0062] In this embodiment, the priority dictionary is a data structure for storing each instruction and its corresponding priority value, where the instruction is the key and the priority is the value.

[0063] In this embodiment, the priority level-instruction-weight mapping table is a table representing the mapping relationship between the priority level and the instruction and the weight mapping table.

[0064] In this embodiment, the priority level is a level used to measure the "priority" of a certain instruction.

[0065] In this embodiment, the weight algorithm refers to calculating the priority of the instruction by assigning a single-level rule weight to each instruction priority.

[0066] The working principle and beneficial effects of the above technical solution are: by creating a priority dictionary, combining the weight algorithm to calculate the instruction priority of the data frame, and storing the correspondence between the priority and the instruction in the dictionary, the priority management and processing efficiency of the data frame are improved, ensuring the optimization of task scheduling.

[0067] Embodiment 6: On the basis of the above-mentioned embodiment 5, an instruction queue is generated according to the scheduling algorithm combined with the instruction priority, and is executed in sequence, including: Obtain the priority execution start time of all instructions of all data frames, perform initial sorting according to the time logical order, and obtain the first sorting; Get the priority of all instructions in the priority dictionary, and re-sort them according to the first sort: );in, Indicates the sorting position of any instruction after secondary sorting. indicates that the instruction is in the first sorted order, Indicates the priority of the instruction, ( ) indicates the instruction adjustment function, indicates the priority of the previous instruction in the first sorting based on the instruction, indicates the priority of the first two instructions based on the instructions in the first sort, If Greater than ,and Greater than , the instruction sequence is advanced by two places; if Less than ,and Less than , the instruction sequence remains unchanged, if Greater than ,and Less than , the instruction sequence is advanced by one position, and the instruction sequence remains unchanged in other cases. ) represents the time slice function, represents the preset execution time of the instruction, represents the sequencing time of the instruction, represents the time scheduling coefficient; All unexecuted instructions are re-ordered to obtain a second order, and an instruction queue is constructed based on the second order.

[0068] In this embodiment, the time logic order refers to the order in which instructions are executed according to the start time.

[0069] In this embodiment, the first sorting is an initial sorting according to a time logical order.

[0070] In this embodiment, secondary sorting refers to a process of further re-sorting the instructions according to the priorities and adjustment rules of the instructions on the basis of the initial sorting.

[0071] In this embodiment, the time slice function is used in multi-task processing or instruction scheduling to ensure that each task or instruction is processed fairly within a period of time.

[0072] The working principle and beneficial effects of the above technical solution are: through priority dictionary and time logic sorting, the instructions are initially sorted and re-sorted, the instruction execution order is adjusted, the task scheduling is optimized, and the instructions are ensured to be reasonably arranged according to priority and execution time, thereby improving execution efficiency and resource utilization.

[0073] Embodiment 7: Based on the above embodiment 1, a data cache mechanism is designed to dynamically adjust the data cache according to the execution result of any instruction, including: Initialize the cache mechanism and dynamically allocate cache space based on the data transfer requirements of each instruction in multiple data packets; When any instruction is executed, the cache is updated according to the execution result of the instruction. If the execution result of the instruction is true, the cache space tag of the instruction is updated to completed. If the execution result of the instruction is false, the cache space of the instruction is rolled back and an early warning is issued. Each cache space has a life mark, and when the life mark reaches the expiration date, the cache space is automatically released.

[0074] In this embodiment, the data transmission requirement refers to the amount of data, the type of data, and the data flow method required during the execution of each instruction.

[0075] In this embodiment, dynamic allocation refers to dynamically allocating resources (such as memory, cache, etc.) according to actual needs and circumstances during program execution.

[0076] In this embodiment, rollback refers to the act of restoring data to the most recent correct version or the last correct state when an error occurs in the data.

[0077] In this embodiment, the life mark is an identifier used to track the use status of the cache space in the cache mechanism, and is a time status label related to the life cycle of the cache space.

[0078] The working principle and beneficial effect of the above technical solution are: by dynamically allocating cache space and updating the cache according to the instruction execution result, the cache is ensured to be used efficiently. If the execution result is true, it is updated to be completed, if it is false, it is rolled back and an early warning is issued, and the cache space is automatically released through the life mark, optimizing resource management and system performance.

[0079] Embodiment 8: Based on the above embodiment 1, all processes of command execution are monitored, feedback information is generated, and exceptions are adjusted based on the data cache mechanism, including: Before any instruction is executed, a hook callback function is set to the corresponding execution event, and instruction feedback information is collected after each step of execution; Configure the listener interface to monitor the running status of the command execution according to the command feedback information. When the listener interface detects an abnormal command, it records the error information and transmits it to the management system. Adjust system behavior in real time according to the error information to obtain the result of instruction exception processing.

[0080] In this embodiment, the hook callback function refers to a predefined function that is automatically called by the program when a specific event or operation occurs.

[0081] In this embodiment, the monitor interface is an interface for real-time monitoring and responding to feedback information during the execution of instructions.

[0082] In this embodiment, the running status refers to the status information of the instruction at each stage in the execution process, for example: executing, execution completed, execution interrupted, etc.

[0083] In this embodiment, the system behavior refers to the actions or reactions taken by the system according to different operating states or abnormal situations during the execution of instructions, such as automatic retry, adjustment of resource allocation, etc.

[0084] The working principle and beneficial effects of the above technical solution are: by setting the hook callback function and the listener interface, the command feedback is collected in real time and the execution status is monitored, and the command anomalies are detected in time. When anomalies occur, the error information is recorded and transmitted to the management system, and the system behavior is automatically adjusted, effectively improving the system stability and error handling capabilities.

[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A communication downlink multi-command control and data processing method, characterized in that: include: Step 1: Receive the signal from the upper layer sending end to the lower layer receiving end, perform signal analysis and data processing on the signal to obtain multiple data packets; Step 2: classifying the multiple data packets into multiple instructions according to the identifiers, and configuring instruction priorities for the multiple instructions according to the instruction information; Step 3: Generate an instruction queue based on the scheduling algorithm and instruction priority, and execute them in sequence; Step 4: Design a data cache mechanism to dynamically adjust the data cache based on the execution result of any instruction; Step 5: Monitor all processes of instruction execution, generate feedback information and adjust exceptions based on the data caching mechanism.

2. A method for controlling and processing multiple instructions for downlink communication according to claim 1, characterized in that: Receive signals from the upper layer transmitter to the lower layer receiver, including: Configure the signal sending device and configure the signal receiving device according to the network adapter; According to the connection relationship between the signal sending device and the signal receiving device, the data link layer receives the original signal from the upper layer sending end to the lower layer receiving end; Perform analog-to-digital conversion on the original signal to obtain a digital signal.

3. A communication downlink multi-command control and data processing method according to claim 2, characterized in that: The signal is analyzed and processed to obtain multiple data packets, including: Based on the data link layer, the frame check sequence is used to check the digital signal for errors. If an error occurs, the device is requested to retransmit the signal; Parsing the data stream of the digital signal according to a preset standard frame structure based on the data link layer, wherein each data frame in the data stream consists of a frame header, a data portion and a frame trailer; Parsing any data frame based on the data link layer, extracting the payload data of the data frame, and performing data standardization processing on the payload data to obtain standard data that conforms to a preset standard data structure; The multi-packet of raw data consists of all standard data of the data stream.

4. A communication downlink multi-command control and data processing method according to claim 1, characterized in that: Classify multiple data packets into multiple instructions according to identifiers, including: According to the preset standard field, the keyword in any data frame of the multi-data packet is identified, and the character string of any preset standard field is mapped to the pattern string. Any keyword is regarded as the main string. Starting from the first position of the main string, the matching degree of the characters of the pattern string and the corresponding characters of the main string at the corresponding position are compared one by one: ;in, represents the matching degree between the keyword and the main string, hash() represents the hash function, i represents the i-th character in the main string, represents the ASCII value of the i-th character in the main string, Represents the ASCII value of the i-th character in the pattern string, ( ) represents the maximum selection function, represents the standard error coefficient, ( ) represents the error mapping function, Represents the maximum ASCII value of all characters in the main string, represents the mean function, Indicates the maximum ASCII value of all characters in the pattern string. Indicates the mean ASCII value of the pattern string; The keyword with the maximum matching degree with the preset standard field is selected as the identifier, all the identifiers of the data frames are extracted and classified according to the matching degree clustering relationship, and the corresponding matching task instructions are generated according to the identifier classification of each data frame in the multiple data packets.

5. A communication downlink multi-command control and data processing method according to claim 4, characterized in that: Configure the command priority according to the command information, including: Create a priority dictionary with the command as the key and the priority as the value; According to the priority single level-instruction-weight mapping table, the priority single levels corresponding to all instructions of any data frame are matched, and the instruction priority of the data frame is calculated according to the weight algorithm; All data frames in the data packet and their corresponding instruction priorities are stored in a priority dictionary.

6. A communication downlink multi-command control and data processing method according to claim 5, characterized in that: Generate an instruction queue based on the scheduling algorithm and instruction priority, and execute them in sequence, including: Obtain the priority execution start time of all instructions of all data frames, perform initial sorting according to the time logical order, and obtain the first sorting; Get the priority of all instructions in the priority dictionary, and re-sort them according to the first sort: );in, Indicates the sorting position of any instruction after secondary sorting. indicates that the instruction is in the first sorted order, Indicates the priority of the instruction, ( ) indicates the instruction adjustment function, indicates the priority of the previous instruction in the first sorting based on the instruction, indicates the priority of the first two instructions based on the instructions in the first sort, If Greater than ,and Greater than , the instruction sequence is advanced by two places; if Less than ,and Less than , the instruction sequence remains unchanged, if Greater than ,and Less than , the instruction sequence is advanced by one position, and the instruction sequence remains unchanged in other cases. ) represents the time slice function, represents the preset execution time of the instruction, represents the sequencing time of the instruction, represents the time scheduling coefficient; All unexecuted instructions are re-ordered to obtain a second order, and an instruction queue is constructed based on the second order.

7. A communication downlink multi-command control and data processing method according to claim 1, characterized in that: Design a data cache mechanism to dynamically adjust the data cache based on the execution result of any instruction, including: Initialize the cache mechanism and dynamically allocate cache space based on the data transfer requirements of each instruction in multiple data packets; When any instruction is executed, the cache is updated according to the execution result of the instruction. If the execution result of the instruction is true, the cache space tag of the instruction is updated to completed. If the execution result of the instruction is false, the cache space of the instruction is rolled back and an early warning is issued. Each cache space has a life mark, and when the life mark reaches the expiration date, the cache space is automatically released.

8. The method for controlling and processing multiple instructions and data in downlink communication according to claim 1, characterized in that: Monitor all processes of instruction execution, generate feedback information and adjust exceptions based on data caching mechanism, including: Before any instruction is executed, a hook callback function is set to the corresponding execution event, and instruction feedback information is collected after each step of execution; Configure the listener interface to monitor the running status of the command execution according to the command feedback information. When the listener interface detects an abnormal command, it records the error information and transmits it to the management system. Adjust system behavior in real time according to the error information to obtain the result of instruction exception processing.