Communication control signal transmission system based on microservice architecture

By designing the communication control signal transmission system in the microservice architecture, using the AMQP protocol and Crontab to implement message transmission and retry, and calculating the signal transmission index and communication success rate, the problems of message loss and complexity in the traditional system are solved, and the efficiency is improved Stability and reliability of communication control signal transmission.

CN117527623BActive Publication Date: 2024-09-10ANHUI HUMANISTIC CULTURE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311301785.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-09
Publication Date
2024-09-10
Estimated Expiration
2043-10-09

AI Technical Summary

Technical Problem

The message queue method and distributed transactions in the traditional microservice architecture lead to message loss or duplication, increase system complexity and performance degradation, and lack effective evaluation of communication control signal transmission efficiency and reliability.

Method used

Design a communication control signal transmission system based on microservice architecture, including message sending module, message processing module, data acquisition module, data processing module, message inspection and compensation module, message storage module and user management and visualization module, using AMQP protocol and Crontab Realize message transmission and retries, calculate signal transmission index and communication success rate, and provide monitoring and management interfaces.

Benefits of technology

It improves the stability and security of communication control signal transmission, reduces message loss and repeated processing, enhances the reliability and efficiency of the system, detects abnormalities in time and optimizes the communication process through real-time monitoring and alarm mechanisms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117527623B
    Figure CN117527623B
Patent Text Reader

Abstract

The invention discloses a communication control signal transmission system based on a microservice architecture, and relates to the field of microservice technology. The communication control signal transmission system based on the microservice architecture comprises a message sending module, a message processing module, a data acquisition module, a data processing module, a message inspection and compensation module, a message storage module, and a user management and visualization module. The signal transmission index and the communication success rate are calculated by acquiring the communication parameter data in the process of processing the message, and the strength of the signal transmission and the efficiency of the message transmission in the communication process are evaluated. The system queries the unsuccessfully processed message, and uses the message compensation method to perform a bottom-up retry on the unprocessed message, obtains the bottom-up retry process data, and calculates the message compensation index to evaluate the system's retry bottom-up of the message and the effect of the system signal transmission. The alarm mechanism is used to give an alarm in time for abnormal communication and poor bottom-up effect, and at the same time, various messages in the communication process are persistently stored.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of microservice technology, and in particular to a communication control signal transmission system based on a microservice architecture. Background Art

[0002] Communication control signal transmission refers to the use of specific signal transmission in the communication system to achieve device control and information exchange. It plays an extremely important role in applications in various fields, including telecommunications, automation control and wireless communications. Communication control signal transmission is usually used to manage and control the operation of communication networks, achieve device control and data exchange, and realize efficient, reliable and secure communication and control operations.

[0003] For the transmission process of communication control signals, microservice architecture technology is mostly used. The microservice architecture can split the target system functions into many microservices, and each microservice runs together to realize specific business functions.

[0004] Common microservice communication methods include message queues and distributed transactions. The principle of message queues is to store messages in queues, and then the processor takes the messages out of the queue and processes them. This can improve the scalability and maintainability of the system, reduce the coupling of the system, and improve the response speed and throughput of the system. However, message queues may cause message loss or duplication, increase system complexity, and may cause system performance to degrade. Distributed transactions refer to transactions that span multiple nodes. The principle is to decompose transactions into multiple sub-transactions, each of which is executed on its own node, and finally merge the results of all sub-transactions into the result of one transaction. This can ensure data consistency and integrity and improve system reliability. However, distributed transactions may cause performance degradation, increased complexity, and difficulty in development.

[0005] However, traditional message queue methods and distributed transactions may lead to message loss or duplication, increase system complexity, and cause system performance degradation and development difficulty. There is a lack of effective and intuitive numerical values ​​to judge the strength of signal transmission and the efficiency of message transmission during the communication process. Therefore, problems in the communication control signal transmission process cannot be quickly discovered, resulting in low communication control signal transmission efficiency. Unprocessed messages cannot be checked, so lost messages and repeatedly processed messages cannot be determined during the communication process. There is a lack of message retry methods, resulting in low reliability of the communication control signal transmission process.

[0006] Therefore, in response to the above problems, there is an urgent need for a communication control signal transmission system based on a microservice architecture. Summary of the invention

[0007] In view of the deficiencies in the prior art, the present invention provides a communication control signal transmission system based on a microservice architecture, which solves the problem of abnormal message processing caused by service message loss and processing failure.

[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions: a communication control signal transmission system based on a microservice architecture, including: a message sending module, which uses the AMQP protocol to send the pending message to the message queue through a control signal; a message processing module, which is used to extract the pending message from the message queue for processing; a data acquisition module, which is used to obtain the processed message data, and the processed message data is the communication parameter data of the message during the signal communication transmission process; the data processing module is used to analyze the communication parameter data, calculate the signal transmission index, and then calculate the communication success rate; the message inspection and compensation module uses Crontab to implement the message retry guarantee, checks in real time whether there are unprocessed messages in the message queue, and performs retry operations; the message storage module is used to persist the message to ensure that the message still exists when the system is restarted or fails; the user management and visualization module is used to provide a monitoring and management visualization interface to help view the message status, processing status and retry status in the message queue.

[0009] Furthermore, the control signal includes instructions for message processing, target queue instructions for message transmission and priority transmission instructions for messages; the control signal is sent to the message queue through a control signal channel; and the message to be processed is published to the queue specified by the target queue instruction for message transmission through the message channel using the AMQP protocol.

[0010] Furthermore, the message processing module receives a control signal sent by a control signal channel, and then obtains processing instructions, processing priorities and a queue of the message to be processed based on the content of the parsed control signal, and extracts the message to be processed from the queue of the message to be processed obtained by parsing.

[0011] Furthermore, the communication parameter data of the message during the signal communication transmission process includes basic signal parameters and communication evaluation parameters; the basic signal parameters include signal transmission rate, channel bandwidth and signal amplitude; the communication evaluation parameters include bit error rate and signal-to-noise ratio.

[0012] Furthermore, the signal transmission index is used to evaluate the strength of signal transmission during the communication process, and the calculation method is: the signal transmission rate, channel bandwidth and signal amplitude are analyzed to calculate the signal transmission index:

[0013]

[0014] Among them, α represents the signal transmission index, W1, W2 and W3 represent the signal transmission rate, channel bandwidth and signal amplitude of the message during the signal communication transmission process respectively, W1′, W2′ and W3′ represent the preset signal transmission rate, channel bandwidth and signal amplitude respectively, d1, d2 and d3 represent the signal transmission rate weight factor, channel bandwidth weight factor and signal amplitude weight factor during the communication process respectively, and a represents the signal transmission weight during the communication process.

[0015] Furthermore, the communication success rate is used to evaluate the efficiency of the communication control signal transmission method based on the microservice architecture for message transmission; by obtaining the bit error rate and signal-to-noise ratio of the target communication process, combined with the signal transmission index, the communication success rate is calculated: where β is the communication success rate, α, φ and η represent the signal transmission index, signal-to-noise ratio and bit error rate respectively, f1, f2 and f3 are the signal transmission index weight, signal-to-noise ratio weight and bit error rate weight in the communication process respectively, and e is a natural constant.

[0016] Furthermore, the specific operation steps of using Crontab to implement message retry are: use the message query script to query whether there are unprocessed messages in the message queue, and the unprocessed messages are the messages to be retried; for unprocessed messages, use Crontab to regularly execute the message retry script to perform a backup process on them, to ensure that repeated processing and message loss are avoided during the retry process.

[0017] Furthermore, the message is retried as a backup. After the message is retried as a backup, the system obtains the number of message retries, the message retry time interval and the message error rate in the process of retrying the message; the number of message retries is used to confirm whether the number of system message retries exceeds the threshold. If it exceeds the threshold, the system is checked to reduce the error and ensure that the number of retries is within the threshold; the message time interval is calculated by recording the timestamp of each message retry to evaluate the timeliness of the system message retry; the message error rate is obtained by recording the errors and the number of errors that occur during the message retry process to evaluate system abnormalities. If the message error rate exceeds the error rate threshold, the system is troubleshooted to ensure that the message error rate is less than the error rate threshold; the message compensation index is calculated using the number of message retries, the message retry time interval and the message error rate: Among them, Q1, Q2 and Q3 represent the number of message retries, the message retry time interval and the message error rate respectively, Q1', Q2' and Q3' represent the message retry number threshold, the message retry time interval threshold and the message error rate threshold respectively, c1, c2 and c3 are the message retry number weight, the message retry time interval weight and the message error rate weight respectively, β is the communication success rate, and e is represented by a natural constant; the message compensation index is used to evaluate the system's message retry coverage and the effect of system signal transmission, and the calculated message compensation index σ is compared with the preset message compensation index. When the calculated message compensation index is greater than or equal to the preset message compensation index, it means that the system has a beneficial effect on message compensation. When the calculated message compensation index is less than the preset message compensation index, the system is troubleshooted.

[0018] Furthermore, the persistent storage of messages is specifically as follows: combining the message records of the message queue, persistently storing the system messages, the system messages including pending messages, processed messages, retry messages and failed processing messages; using the regular backup function to regularly back up the stored messages to further ensure the integrity of the messages.

[0019] Furthermore, the specific operating steps for providing a monitoring and management visualization interface are: authenticating and authorizing users by setting user passwords to ensure that users can view required messages while ensuring the encryption of message transmission; the system monitors message transmission during the communication process in real time, and uses a visualization interface to help users intuitively view message transmission status and processing progress; an alarm mechanism is set up, and when an abnormality in message transmission is monitored, the alarm mechanism is automatically triggered to remind communication management personnel to handle it in a timely manner to avoid message loss and errors.

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

[0021] (1) The communication control signal transmission system based on microservice architecture adopts microservice technology to divide the communication control signal transmission into independent modules, including message sending module, message processing module, data acquisition module, data processing module, message inspection and compensation module, message storage module, user management and visualization module. The collaborative classification work of each module is used to improve the stability and security of communication control signal transmission, and realize asynchronous processing of communication messages, business decoupling, message persistence, and message compensation.

[0022] (2) The communication control signal transmission system based on the microservice architecture calculates the signal transmission index by obtaining the basic signal parameters in the process of processing messages, which is more intuitive and effective for the strength of signal transmission in the communication process. The abnormal problems of signal transmission in the communication process are judged by analyzing the size of the signal transmission index, and the communication control signal is optimized according to the judgment result to improve the communication transmission efficiency; the communication success rate is calculated by obtaining the communication evaluation parameters in the process of processing messages, which is used to evaluate the efficiency of the communication control signal transmission method based on the microservice architecture for message transmission. The communication transmission quality is intuitively and effectively judged according to the communication success rate, and the problem of poor communication transmission quality is optimized in time to improve the safety and reliability of communication transmission.

[0023] (3) The communication control signal transmission system based on the microservice architecture uses the Crontab instruction to set the message retry time interval, sets a periodic retry for unprocessed messages, and calculates the message compensation index by obtaining the number of message retries, message retry time interval, and message error rate during the retry message process. The message compensation index is used to evaluate the system's message retry method and the effect of system signal transmission. When the message compensation index is less than the preset message compensation index, troubleshooting is carried out in a timely manner, further improving the efficiency of communication transmission and the system's ability to retry messages, reducing the loss of messages during message processing, and avoiding the problem of low communication efficiency caused by repeated message processing, which helps to improve the stability and security and reliability of the system.

[0024] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 This is a structural diagram of the communication control signal transmission system based on the microservice architecture of the present invention. DETAILED DESCRIPTION

[0026] The embodiment of the present application achieves the problem of reducing message loss and retrying unprocessed messages through a communication control signal transmission system based on a microservice architecture.

[0027] The overall idea of ​​the problem in the embodiment of this application is as follows:

[0028] The microservice architecture technology is used to divide the communication control signal transmission into various modules, namely, message sending module, message processing module, data acquisition module, data processing module, message inspection and compensation module, message storage module, and user management and visualization module. The communication control signal transmission is controlled according to the collaboration of each module; the AMQP communication protocol is used to transmit the pending messages to the specified message queue, and the communication transmission is decoupled and asynchronously processed. The signal transmission index and communication success rate are calculated by obtaining the communication parameter data in the process of processing the messages, which are used to evaluate the strength of signal transmission in the communication process and the efficiency of the communication control signal transmission method based on the microservice architecture for message transmission. The system queries the unsuccessfully processed messages, and uses the message compensation method to retry the unprocessed messages. The message compensation index is calculated by obtaining the data analysis during the retry process to evaluate the system's message retry and system signal transmission effects. The alarm mechanism is used to promptly alarm in the event of communication anomalies and poor retry effects, and all kinds of messages in the communication process are persisted.

[0029] See also Figure 1 The embodiment of the present invention provides a technical solution: a communication control signal transmission system based on a microservice architecture, including: a message sending module, which uses the AMQP protocol to send the pending message to the message queue through a control signal; a message processing module, which is used to extract the pending message from the message queue for processing; a data acquisition module, which is used to obtain the processed message data, and the processed message data is the communication parameter data of the message during the signal communication transmission process; the data processing module is used to analyze the communication parameter data, calculate the signal transmission index, and then calculate the communication success rate; a message inspection and compensation module, which uses the message retry guarantee to check in real time whether there are unprocessed messages in the message queue, and retry operations; a message storage module, which is used to persist the message to ensure that the message still exists when the system is restarted or fails; a user management and visualization module, which is used to provide a monitoring and management visualization interface to help view the message status, processing status and retry status in the message queue.

[0030] In this implementation scheme, the advanced queuing protocol in microservice technology is adopted: AMQP protocol, which can enable message communication to adopt multi-channel communication, and at the same time, communication can be efficient and simple; the system adopts Crontab as the message backup instruction to accurately set the message backup retry time interval. The system accurately and effectively performs a backup retry on unprocessed messages according to the set retry time interval, reduces duplicate messages, and improves the efficiency of message backup retry; by obtaining communication parameter data and analyzing and calculating the signal transmission index and communication success rate, it can intuitively show the evaluation of signal transmission quality and communication transmission stability, which helps system operation and maintenance personnel to intuitively understand the effect of communication control signal transmission, timely discover signal transmission abnormalities and perform targeted processing; the message inspection and compensation module provides a backup for the retries of unprocessed messages to ensure that the system does not miss messages, does not repeat messages, and improves the reliability of the system.

[0031] Specifically, see Figure 1 The control signal includes the message processing instruction, the target queue instruction of the message transmission and the priority transmission instruction of the message; the control signal is sent to the message queue through the control signal channel; the message to be processed is published to the queue specified by the target queue instruction of the message transmission through the message channel using the AMQP protocol.

[0032] In this implementation scheme, by setting up a message queue to transmit different instruction messages to the same transmission channel, the communication interference caused by the simultaneous transmission of different messages is reduced, and the message transmission diversion, asynchronous processing of messages and business decoupling are realized; the AMQP protocol is used to make message transmission simpler and more reliable, reduce the situation of message transmission failure and message loss, and help improve the flexibility and reliability of the system in processing messages.

[0033] Specifically, see Figure 1 The message processing module receives the control signal sent by the control signal channel, and then obtains the processing instructions, processing priority and queue of the message to be processed according to the content of the analyzed control signal, and extracts the message to be processed from the queue of the message to be processed obtained by parsing.

[0034] In this implementation, a message processing module is set up, different message queues are used to obtain pending messages for processing, and message priorities are processed according to message priority instructions to reduce interference in message transmission and improve the system's asynchronous processing and business decoupling of message processing services.

[0035] Specifically, see Figure 1 The communication parameter data of the message during the signal communication transmission process includes basic signal parameters and communication evaluation parameters; the basic signal parameters include signal transmission rate, channel bandwidth and signal amplitude; the communication evaluation parameters include bit error rate and signal-to-noise ratio.

[0036] In this implementation scheme, the signal transmission rate refers to the amount of data transmitted per unit time; the channel bandwidth refers to the maximum signal transmission rate per unit time; the signal amplitude refers to the difference between the strongest value and the weakest value in the signal transmission; the bit error rate is an indicator to measure the accuracy of signal transmission; the signal-to-noise ratio refers to the ratio of the useful signal strength to the interference signal strength.

[0037] Specifically, see Figure 1 The signal transmission index is used to evaluate the strength of signal transmission during communication. The calculation method is: analyze the signal transmission rate, channel bandwidth and signal amplitude to calculate the signal transmission index:

[0038]

[0039] Among them, α represents the signal transmission index, W1, W2 and W3 represent the signal transmission rate, channel bandwidth and signal amplitude of the message during the signal communication transmission process respectively, W1′, W2′ and W3′ represent the preset signal transmission rate, channel bandwidth and signal amplitude respectively, d1, d2 and d3 represent the signal transmission rate weight factor, channel bandwidth weight factor and signal amplitude weight factor during the communication process respectively, and a represents the signal transmission weight during the communication process.

[0040] In this implementation scheme, the signal transmission index is used to evaluate the quality of the signal transmission process. By comparing and analyzing the basic parameters of signal transmission: signal transmission rate, channel bandwidth and signal amplitude with the preset basic parameters of signal transmission, and using weighted summation calculation, the calculation of the signal transmission index is made more accurate and reliable, and the signal transmission quality is intuitively presented using numerical values, thereby improving the understanding of signal transmission and helping system operation and maintenance personnel quickly discover signal transmission anomalies.

[0041] Specifically, see Figure 1 The communication success rate is used to evaluate the efficiency of the communication control signal transmission method based on the microservice architecture for message transmission; the communication success rate is calculated by obtaining the bit error rate and signal-to-noise ratio of the target communication process and combining the signal transmission index:

[0042] Where β is the communication success rate, α, φ and η represent the signal transmission index, signal-to-noise ratio and bit error rate respectively, f1, f2 and f3 are the signal transmission index weight, signal-to-noise ratio weight and bit error rate weight during the communication process respectively, and e is a natural constant.

[0043] In this implementation scheme, the communication success rate is used to evaluate the communication quality and stability. By analyzing the calculated signal transmission index, the bit error rate and signal-to-noise ratio of the communication process on the communication quality, a weighted sum calculation is used to obtain a highly reliable communication success rate. This helps to intuitively demonstrate the stability of communication to system operation and maintenance personnel, help system operation and maintenance personnel discover instability in the communication process and provide timely feedback.

[0044] Specifically, see Figure 1 The specific steps of using Crontab to implement message retry are as follows: use the message query script to query whether there are unprocessed messages in the message queue, and the unprocessed messages are the messages to be retried; for unprocessed messages, use Crontab to regularly execute the message retry script to perform a bottom-up processing on them to ensure that repeated processing and message loss are avoided during the retry process.

[0045] In this implementation scheme, the Crontab instruction is used to set a periodic retry for unprocessed messages. The Crontab instruction can accurately control the time interval for retry execution. Combined with the message query script and the retry script, it can automatically trigger the retry of unprocessed messages on a regular basis, saving the time and energy of manual investigation one by one, improving the accuracy of message retries, and effectively avoiding repeated processing and loss of messages.

[0046] Specifically, see Figure 1 , the bottom-line retry of the message. After the bottom-line retry of the message, the system obtains the number of message retries, the message retry time interval and the message error rate in the process of retrying the message; the number of message retries is used to confirm whether the number of system message retries exceeds the threshold. If it exceeds the threshold, the system is checked to reduce the error and ensure that the number of retries is within the threshold; the message time interval is calculated by recording the timestamp of each message retry to evaluate the timeliness of the system message retry; the message error rate is obtained by recording the errors and the number of errors that occur during the message retry process to evaluate system abnormalities. If the message error rate exceeds the error rate threshold, the system is troubleshooted to ensure that the message error rate is less than the error rate threshold; the message compensation index is calculated using the number of message retries, the message retry time interval and the message error rate: Among them, Q1, Q2 and Q3 represent the number of message retries, the message retry time interval and the message error rate respectively, Q1', Q2' and Q3' represent the message retry number threshold, the message retry time interval threshold and the message error rate threshold respectively, c1, c2 and c3 are the message retry number weight, the message retry time interval weight and the message error rate weight respectively, β is the communication success rate, and e is represented by a natural constant; the message compensation index is used to evaluate the system's message retry coverage and the effect of system signal transmission, and the calculated message compensation index σ is compared with the preset message compensation index. When the calculated message compensation index is greater than or equal to the preset message compensation index, it means that the system has a beneficial effect on message compensation. When the calculated message compensation index is less than the preset message compensation index, the system is troubleshooted.

[0047] In this implementation scheme, the system can record the number of times each message is retried, the message retry time interval set by the Crontab command, and the message error rate during the message retry process obtained by recording the number of message exceptions; the message compensation index calculated by weighted summation of the recorded number of message retries, message retry time interval, message error rate and the corresponding threshold value predetermined according to actual needs can be used to evaluate the effect of the system on message bottom-up retry, and determine whether the system's bottom-up retry method is effective. By setting the threshold and comparing the actual bottom-up data, the judgment on the system bottom-up is more accurate, which helps to discover system faults and perform troubleshooting and optimization.

[0048] Specifically, see Figure 1 , the specific method of persisting messages is as follows: combining the message records of the message queue, persistently storing the system messages, the system messages include pending messages, processed messages, retry messages and failed processing messages; using the regular backup function to regularly back up the stored messages to further ensure the integrity of the messages.

[0049] In this implementation scheme, different types of messages are classified and stored, which helps to easily extract the required information for subsequent processing and query; the regular backup function sets the backup time interval according to the actual communication needs, and uses data archiving technology to further store the communication data to ensure that the message still exists in the event of a system failure, avoiding analysis errors caused by message loss, and helping to improve the security and reliability of the system.

[0050] Specifically, see Figure 1, providing a monitoring and management visual interface. The specific operation steps are: authenticate and authorize users by setting user passwords to ensure that users can view the required messages while ensuring the encryption of message transmission; the system monitors the message transmission during the communication process in real time, and uses a visual interface to help users intuitively view the message transmission status and processing progress; set up an alarm mechanism, which will automatically trigger the alarm mechanism when abnormalities in message transmission are monitored, reminding communication management personnel to handle it in time to avoid message loss and errors.

[0051] In this implementation scheme, the identity authentication method adopted through the authentication and authorization mechanism ensures that only authorized users can obtain system communication information. At the same time, in order to further ensure the security and reliability of communication, an encryption algorithm is used to encrypt communication messages to prevent communication data from being leaked or erroneous during transmission. In order to improve the security and reliability of communication, the system monitors the communication process in real time, and uses a visual interface to allow users to have a clear view of the communication status and communication message information. Combined with the alarm mechanism, an alarm is issued for abnormal situations, and system operation and maintenance personnel are notified of system abnormalities via text messages, which ensures the security of communication and reduces message loss and erroneous transmission.

[0052] In summary, this application has at least the following effects:

[0053] The communication parameter data is obtained and analyzed to calculate the signal transmission index and communication success rate to intuitively demonstrate the evaluation of the signal transmission quality and communication transmission stability. According to the signal transmission index and communication success rate, abnormal problems in the communication transmission process are discovered and solved. The message retry method is used to further reprocess the unprocessed messages, and the message compensation index is calculated by analyzing the data of the bottom-up retry process to evaluate the system's bottom-up retry effect. If the effect is not good, the system will be promptly troubleshooted and optimized.

[0054] Those skilled in the art will appreciate that embodiments of the present invention may be provided as systems. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0055] The present invention is described with reference to the block diagram of the system according to the embodiment of the present invention. It should be understood that the combination of each structure in the block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the functions specified in each structure in the block diagram.

[0056] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in each structure of the structural diagram.

[0057] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in each structure in the structural diagram.

[0058] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0059] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A communication control signal transmission system based on microservice architecture, characterized in that: include: The message sending module uses the AMQP protocol to send the pending messages to the message queue through control signals; A message processing module is used to extract pending messages from a message queue for processing; A data acquisition module, used to acquire processing message data, wherein the processing message data is communication parameter data of the message during the signal communication transmission process; The data processing module is used to analyze the communication parameter data, calculate the signal transmission index, and then calculate the communication success rate; The message inspection and compensation module uses Crontab to implement message retry, checks in real time whether there are unprocessed messages in the message queue, and performs retries; The message storage module is used to persist messages to ensure that the messages still exist when the system is restarted or fails; User management and visualization module, which is used to provide a monitoring and management visualization interface to help view the message status, processing status, and retry status in the message queue; The communication parameter data of the message during the signal communication transmission process includes basic signal parameters and communication evaluation parameters; The basic signal parameters include signal transmission rate, channel bandwidth and signal amplitude; The communication evaluation parameters include bit error rate and signal-to-noise ratio; The signal transmission index is used to evaluate the strength of signal transmission during communication, and the calculation method is: The signal transmission rate, channel bandwidth and signal amplitude are analyzed to calculate the signal transmission index: Wherein, α represents the signal transmission index, W1, W2 and W3 represent the signal transmission rate, channel bandwidth and signal amplitude of the message during the signal communication transmission process, respectively, W1′, W2′ and W3′ represent the preset signal transmission rate, channel bandwidth and signal amplitude, respectively, d1, d2 and d3 represent the signal transmission rate weight factor, channel bandwidth weight factor and signal amplitude weight factor during the communication process, respectively, and a represents the signal transmission weight during the communication process; The communication success rate is used to evaluate the efficiency of the communication control signal transmission method based on the microservice architecture for message transmission; By obtaining the bit error rate and signal-to-noise ratio of the target communication process and combining it with the signal transmission index, the communication success rate is calculated: Where β is the communication success rate, α, φ and η represent the signal transmission index, signal-to-noise ratio and bit error rate respectively, f1, f2 and f3 are the signal transmission index weight, signal-to-noise ratio weight and bit error rate weight during the communication process respectively, and e is a natural constant.

2. The communication control signal transmission system based on microservice architecture according to claim 1, characterized in that: The control signal includes a message processing instruction, a target queue instruction for message transmission, and a message priority transmission instruction; Send control signals to the message queue through the control signal channel; The AMQP protocol is used to publish the pending message through the message channel to the queue specified by the target queue instruction of the message transmission.

3. The communication control signal transmission system based on microservice architecture according to claim 2 is characterized in that: The message processing module receives the control signal sent by the control signal channel, and then obtains the processing instructions, processing priority and queue of the pending message according to the content of the parsed control signal, and extracts the pending message from the queue of the pending message obtained by parsing.

4. The communication control signal transmission system based on microservice architecture according to claim 1, characterized in that: The specific steps of using Crontab to implement message retry are as follows: Use the message query script to query whether there are unprocessed messages in the message queue, and the unprocessed messages are the messages to be retried; For unprocessed messages, use Crontab to periodically execute message retry scripts to handle them as a backup, ensuring that repeated processing and message loss are avoided during the retry process.

5. The communication control signal transmission system based on microservice architecture according to claim 4 is characterized in that: After the message is retried, the system obtains the number of message retries, message retry interval, and message error rate during the message retry process; The message retry times are used to confirm whether the system retry message times exceed the threshold. If the threshold is exceeded, the system is checked to reduce the error and ensure that the retry times are within the threshold. The message retry time interval is calculated by recording the timestamp of each message retry, and is used to evaluate the timeliness of system message retry; The message error rate is obtained by recording the number of errors and errors that occur during the message retry process, and is used to evaluate system abnormalities. If the message error rate exceeds the error rate threshold, the system is troubleshooted to ensure that the message error rate is less than the error rate threshold; The message compensation index is calculated using the number of message retries, message retry interval, and message error rate: Where Q1, Q2 and Q3 represent the number of message retries, the message retry interval and the message error rate, respectively; Q1', Q2' and Q3' represent the message retry threshold, the message retry interval threshold and the message error rate threshold, respectively; c1, c2 and c3 represent the message retry weight, the message retry interval weight and the message error rate weight, respectively; β represents the communication success rate; and e represents a natural constant; The message compensation index is used to evaluate the system's message retry coverage and system signal transmission effects. The calculated message compensation index σ is compared with the preset message compensation index. When the calculated message compensation index is greater than or equal to the preset message compensation index, it means that the system has a beneficial effect on message compensation. When the calculated message compensation index is less than the preset message compensation index, the system is troubleshooted.

6. The communication control signal transmission system based on microservice architecture according to claim 1, characterized in that: The specific steps of persisting the message are as follows: Combined with the message records of the message queue, the system messages are persistently stored. The system messages include pending messages, processed messages, retry messages, and processing failure messages; Use the regular backup function to regularly back up stored messages to further ensure the integrity of the messages.

7. The communication control signal transmission system based on microservice architecture according to claim 1, characterized in that: The specific steps of providing a monitoring and management visualization interface are as follows: By setting user passwords, users are authenticated and authorized to ensure that they can view the messages they need, while ensuring the encryption of message transmission; The system monitors the message transmission in the communication process in real time, and uses a visual interface to help users intuitively view the message transmission status and processing progress; Set up an alarm mechanism to automatically trigger the alarm mechanism when abnormalities in message transmission are monitored, reminding communication management personnel to handle them in time to avoid message loss and errors.