A multi-threaded driven communication centralized control method, system and electronic equipment

Through the multi-threaded communication centralized control method, the problems of chaotic task scheduling and unstable signal transmission are solved, multi-task parallel processing and terminal precise control are realized, and the efficiency and reliability of the communication system are improved.

CN120128212BActive Publication Date: 2025-08-15HAIDA ELECTRONICS TIANJIN
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510609141.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-13
Publication Date
2025-08-15
Estimated Expiration
2045-05-13

AI Technical Summary

Technical Problem

The existing communication centralized control methods have problems such as chaotic task scheduling, unstable signal transmission and inaccurate terminal control, and it is difficult to cope with the needs of multi-task concurrent processing and multiple communication areas.

Method used

The multi-threaded communication centralized control method is adopted to receive communication instructions through the human-computer interface, and task thread allocation and queue according to the communication content, area and priority information, generate communication audio source signals, and inject them into the communication line synchronously with the control signals. The common cable carrier method is transmitted, and the communication terminal is separated and processed to achieve precise control.

Benefits of technology

It realizes efficient parallel processing of multi-tasks, high-quality and stable transmission of communication signals, and precise control of communication terminals, improving the overall performance and response speed of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128212B_ABST
    Figure CN120128212B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-threaded driven communication centralized control method, system and electronic equipment, which relates to the field related to carrier transmission, including: receiving communication instructions; allocating task threads and queuing tasks according to communication content, communication area and priority information, and generating communication audio source signals according to the communication area and communication content; when obtaining the task thread to execute the scheduling instruction, the communication audio source signal is power amplified, and the communication audio source signal and the control signal are synchronously injected into the communication line via the carrier host, and transmitted using a common cable carrier method; the communication terminal receives the common cable signal, separates the communication audio and control instructions from it, and controls the communication terminal and broadcasts the communication content. The method solves the technical problems of task scheduling confusion, unstable signal transmission and inaccurate terminal control in existing communication centralized control methods, and achieves the technical effects of efficient parallel processing of multiple tasks, high-quality and stable transmission of communication signals and precise control of communication terminals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of carrier transmission, and in particular to a multi-threaded driven communication centralized control method, system and electronic equipment. Background Art

[0002] In the field of communication centralized control, achieving efficient, accurate, and flexible communication transmission and terminal control is crucial to ensuring information exchange in various complex communication scenarios, and directly affects the overall performance and practicality of the communication system. At present, the main method to solve this problem is to adopt the traditional single-thread communication scheduling method, using basic signal amplification and transmission equipment to achieve communication signal transmission and terminal control. However, due to the use of single-thread scheduling, the traditional method is difficult to cope with multi-task concurrent processing. When faced with complex communication tasks and the needs of multiple communication areas, the task queue is chaotic and the scheduling efficiency is low, resulting in delayed communication command response and the inability to promptly meet the needs of communication tasks of different areas and different priorities. In addition, during the signal processing and transmission process, the traditional method lacks targeted optimization of the communication audio source signal and multi-threaded collaborative control. The signal transmission quality is unstable, and the terminal control command and communication audio are easily confused or lost, affecting the accurate broadcasting of the communication content and the precise control of the terminal equipment.

[0003] Among the current related technologies, the communication centralized control method has technical problems such as chaotic task scheduling, unstable signal transmission and inaccurate terminal control. Summary of the Invention

[0004] The present application provides a multi-threaded driven communication centralized control method, system and electronic equipment, which adopts the method of receiving instructions containing communication content, area and priority information through a human-machine interface. The multi-threaded scheduling module allocates task threads and queues according to the instructions, and generates a communication audio source signal. When the task thread is executed, the audio source signal is amplified and injected into the line synchronously with the control signal by the carrier host, and transmitted in a common cable carrier manner. The communication terminal receives the common cable signal, separates the communication audio and the control instructions containing area selection, terminal control and status return commands, and performs terminal control and content broadcasting respectively based on these technical means, thereby solving the technical problems of task scheduling confusion, unstable signal transmission and inaccurate terminal control in the existing communication centralized control method, and achieving the technical effects of efficient parallel processing of multiple tasks, high-quality and stable transmission of communication signals and precise control of communication terminals.

[0005] The present application provides a multi-threaded driven communication centralized control method, comprising: receiving a communication instruction through a human-machine interface, the communication instruction including communication content, communication area, and priority information; performing task thread allocation and task queuing in a multi-threaded scheduling module according to the communication content, communication area, and priority information, and generating a communication audio source signal according to the selected communication area and communication content; when a task thread executes a scheduling instruction based on the task queuing, the communication audio source signal is sent to a power amplification module for power amplification processing, and the amplified communication audio source signal and the control signal are synchronously injected into the communication line via a carrier host, and transmitted through the communication line using a common cable carrier method; a communication terminal separates communication audio and control instructions from the common cable signal by receiving the common cable signal in the communication line, wherein the control instruction includes area selection, terminal control, and status return command, the communication terminal is controlled according to the control instruction, and the communication content is broadcast according to the communication audio.

[0006] In a possible implementation, a communication audio source signal is generated according to a selected communication area and communication content, and the following processing is performed: according to the communication area, an area terminal address code is obtained; according to the area terminal address code, terminal addressing information is generated; according to the mapping relationship between the communication content and the terminal addressing information, an addressing control signal generated by the terminal addressing information is fitted into the communication content to generate the communication audio source signal.

[0007] In a possible implementation, the communication audio and control instructions are separated from the common cable signal, and the following processing is performed: the communication audio, terminal addressing information, and control signal are separated from the common cable signal, wherein the terminal addressing information is used as a regional selection instruction, and the control signal includes terminal control and status return commands; a control instruction is generated based on the regional selection instruction, terminal control, and status return command, wherein the regional selection instruction is used to select a playback execution terminal within a selected area, the terminal control is used to regulate the playback adjustment parameters of the communication terminal, and the status return command is used to control the communication terminal to monitor and return the communication status and fault characteristics of its own device.

[0008] In a possible implementation, the amplified communication audio source signal and the control signal are synchronously injected into the communication line via the carrier host, and transmitted through the communication line using a common cable carrier method, and the following processing is performed: according to the physical layer frequency of the signal, the communication audio source signal and the control signal are frequency analyzed, where the audio signal is in the low frequency band and the control signal is in the high frequency band; according to the frequency band of the signal, the communication audio source signal and the control signal are physical layer signal compounded and injected into the communication line.

[0009] In a possible implementation, the communication audio source signal and the control signal are combined into physical layer signals according to the frequency band of the signal, injected into the communication line, and the following processing is performed: the communication audio source signal is protected at a low frequency by a low-pass filter, and the control signal is isolated at a high frequency by a high-pass filter; the isolated high-frequency signal is superimposed on the low-frequency signal line and injected into the communication line.

[0010] In a possible implementation, the data is transmitted through a communication line using a common cable carrier, and the following processing is also performed: identifying the risk level of the control signal; encrypting the control signal according to the risk level, and isolating the encrypted control signal for high-frequency protection using the high-pass filter.

[0011] In a possible implementation, the signal is injected into the communication line and the following processing is also performed: based on the regional gating, the carrier power supply is configured, and the regional gating instruction is coupled with the carrier power supply; the coupled carrier signal is protected by a filter and superimposed on the communication line.

[0012] In a possible implementation, task threads are allocated and task queues are performed in a multi-thread scheduling module according to the communication content, communication area, and priority information, and the following processing is performed: according to the real-time task traffic, the thread pool size is adaptively adjusted to build a multi-thread parallel structure; based on the communication content, communication area, and priority information, a multi-task objective maximization solution is searched for the multi-thread parallel structure to establish a parallel processing relationship between multi-threading and communication tasks.

[0013] The present application also provides a multi-threaded driven communication control system, including: a communication instruction receiving module, which is used to receive communication instructions through a human-machine interface, and the communication instructions include communication content, communication area, and priority information; a communication audio source signal generating module, which is used to perform task thread allocation and task queuing in a multi-threaded scheduling module according to the communication content, communication area, and priority information, and generate a communication audio source signal according to the selected communication area and communication content; a transmission module, which is used to send the communication audio source signal to the power amplification module for power amplification processing when obtaining the task thread execution scheduling instruction based on the task queuing, and synchronously inject the amplified communication audio source signal and the control signal into the communication line via the carrier host, and transmit them through the communication line using a common cable carrier method; a signal separation module, which is used for the communication terminal to separate the communication audio and control instructions from the common cable signal by receiving the common cable signal in the communication line, wherein the control instruction includes area selection, terminal control, and status return command, and the communication terminal is controlled according to the control instruction, and the communication content is broadcast according to the communication audio.

[0014] The present application also provides an electronic device, comprising: a memory for storing executable instructions; and a processor for implementing a multi-threaded driven communication centralized control method when executing the executable instructions stored in the memory.

[0015] The present application proposes a multi-threaded communication centralized control method, system, and electronic device. The method first receives a communication instruction through a human-machine interface. The communication instruction includes communication content, communication area, and priority information. Task threads are then allocated and queued in a multi-threaded scheduling module based on the communication content, communication area, and priority information. A communication audio source signal is generated based on the selected communication area and communication content. Next, when a task thread executes the scheduling instruction based on the task queue, the communication audio source signal is sent to a power amplifier module for power amplification. The amplified communication audio source signal and the control signal are synchronously injected into the communication line via a carrier host and transmitted through the communication line using a common cable carrier. Finally, the communication terminal receives the common cable signal from the communication line and separates the communication audio and control instructions from the common cable signal. The control instructions include area selection, terminal control, and status feedback commands. The communication terminal is controlled based on the control instructions, and the communication content is broadcast based on the communication audio. This method achieves the technical effects of efficient parallel processing of multiple tasks, high-quality and stable transmission of communication signals, and precise control of the communication terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings of the embodiments of the present invention are briefly introduced below. Flowcharts are used in this application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in precise order. Instead, various steps may be processed in reverse order or simultaneously as needed. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.

[0017] Figure 1 A flowchart of a multi-threaded driven communication centralized control method provided in an embodiment of the present application.

[0018] Figure 2 A schematic structural diagram of a multi-threaded driven communication centralized control system provided in an embodiment of the present application.

[0019] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0020] Description of the accompanying drawings: communication instruction receiving module 10, communication sound source signal generating module 20, transmission module 30, signal separation module 40, input device 301, processor 302, memory 303, output device 304. DETAILED DESCRIPTION

[0021] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.

[0022] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0023] In the following description, reference is made to “some embodiments” which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict. The terms “including” and “having” and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application only.

[0024] The present application embodiment provides a multi-threaded driven communication centralized control method, such as Figure 1 As shown, the method includes:

[0025] Step S100: receiving a communication instruction via a human-machine interface, wherein the communication instruction includes communication content, communication area, and priority information.

[0026] Specifically, the human-machine interface (HMI) is the interface between the user and the system, such as a touch screen or keyboard. A touch screen or keyboard input device is used as the HMI to receive communication commands entered by the user. Communication commands include the content of the communication (such as voice, text, or data), the communication area (such as a specific geographic area or device group), and priority information (such as high, medium, or low priority). A data acquisition module converts user-entered commands into digital signals and transmits them to the system's main control module via a serial or parallel communication interface. For example, if a user enters the "emergency broadcast" command through a touch screen, the touch screen controller converts the touch action into a digital signal and transmits it to the main control module via the I2C interface.

[0027] Step S200 , performing task thread allocation and task queuing in a multi-thread scheduling module according to the communication content, communication area, and priority information, and generating a communication audio source signal according to the selected communication area and communication content.

[0028] Specifically, the multi-threaded scheduling module is a software module responsible for task allocation and thread management, running within the operating system kernel. Communication audio signals refer to the audio signals to be transmitted, which can be speech, music, or other sounds. Within the multi-threaded scheduling module, tasks are sorted using a priority queue based on the priority of the communication instructions. Task thread allocation utilizes thread pool technology, pre-creating a certain number of worker threads and dynamically allocating thread resources based on task priority and type. Regarding the generation of communication audio signals, depending on the content of the communication, if it is a speech signal, a speech synthesis module (such as TTS, Text-to-Speech) converts the text into speech; if it is pre-recorded audio, the audio file is read from a storage module. For example, the system queues tasks based on instruction priority, with higher-priority tasks receiving priority thread resources and being placed at the front of the task queue. For text content, the TTS module converts it into speech signals.

[0029] In one possible implementation, task threads are allocated and tasks are queued in a multi-threaded scheduling module based on the communication content, communication area, and priority information. Step S200 further includes step S210, which adaptively adjusts the thread pool size based on real-time task traffic to build a multi-threaded parallel structure. Specifically, the task scheduling module monitors the length of the current task queue and the task execution rate in real time to calculate the task traffic. The size of the thread pool is dynamically adjusted based on the task traffic. Among them, the thread pool is a form of multi-threaded processing, which creates a certain number of working threads in advance. When tasks arrive, they are directly assigned to threads for execution. After the tasks are completed, the threads return to the thread pool to avoid frequent creation and destruction of threads. If the task traffic increases, the thread pool will create a new thread; if the task traffic decreases, the thread pool will recycle excess threads. Using thread pool technology, a certain number of working threads are created in advance, and tasks are assigned to these threads to achieve multi-threaded parallel processing.

[0030] Step S220 searches for a multi-task objective maximization solution for the multi-threaded parallel structure based on the communication content, communication area, and priority information, establishing a parallel processing relationship between the multi-threaded and communication tasks. Specifically, tasks are categorized based on the communication content, communication area, and priority information, and a priority is set for each type of task. A multi-objective optimization algorithm (such as the multi-gradient descent algorithm (MGDA)) is employed to maximize the execution efficiency of other tasks while ensuring that high-priority tasks are executed first. Tasks are assigned to threads in the thread pool based on their priority and type, and the association between tasks and threads is achieved through a callback function.

[0031] This implementation dynamically allocates thread resources based on the current task load by monitoring task traffic in real time and adaptively adjusting the thread pool size. When the task load increases, the thread pool automatically expands, creating more threads to meet demand; when the task load decreases, the thread pool recycles excess threads to avoid resource waste. This improves system resource utilization, ensuring efficient system operation under high load while reducing unnecessary resource consumption under low load. The system can also respond to task requests more quickly, improving overall responsiveness and real-time performance. By searching for multi-task objective maximization solutions, the system dynamically adjusts task scheduling strategies based on task priority, communication content, and communication area, ensuring that high-priority tasks are executed first while maximizing the execution efficiency of other tasks. This improves the rationality and efficiency of task scheduling and reduces conflicts and waiting times during task execution.

[0032] In one possible implementation, a communication audio source signal is generated based on the selected communication area and the communication content, and step S200 further includes step S230, obtaining the regional terminal address code based on the communication area. Specifically, the system queries the corresponding terminal address code from the regional management database based on the selected communication area. Each communication area has a unique identifier, and the terminal address code is a unique address set of all terminal devices in the area. The terminal address code is stored in the system database and can be quickly indexed by the area ID. For example, the terminal address code set for the area ID "Area_01" is {0x0001, 0x0002, ..., 0x0010}. When the selected communication area is "Area_01", the system obtains the terminal address code set {0x0001, 0x0002, ..., 0x0010} of the area from the database.

[0033] Step S240: Generate terminal addressing information based on the regional terminal address code. Specifically, the system generates terminal addressing information based on the acquired terminal address code. Addressing information is a control signal used to identify the target terminal device, including the terminal address code and addressing instructions. Addressing information can be generated using a specific encoding method, such as Manchester encoding or differential encoding, to ensure reliable signal transmission. For example, for the terminal address code 0x0001, the generated addressing information is "ADDR: 0x0001, CMD: SELECT".

[0034] Step S250, according to the mapping relationship between the communication content and the terminal addressing information, the addressing control signal generated by the terminal addressing information is fitted into the communication content to generate the communication audio source signal. Specifically, the system associates the terminal addressing information with the communication content according to a preset mapping rule. For example, when the communication content is a voice broadcast, the addressing information is used to specify which terminal devices need to receive the broadcast. The addressing signal is combined with the audio signal through a modulation technology (such as frequency modulation or amplitude modulation), or the addressing signal is inserted at a specific time interval of the audio signal to embed the addressing control signal into the communication audio source signal. For example, if the communication content is a voice broadcast, the system embeds the addressing signal "ADDR:0x0001, CMD:SELECT" into the beginning of the voice signal to generate a complete communication audio source signal.

[0035] This implementation method obtains the regional terminal address code and generates addressing information. The system can accurately locate the target terminal device, ensuring that the communication content is only received by the designated terminal, thereby improving the communication efficiency and security of the system. Fitting the addressing control signal into the communication audio source signal enables the system to simultaneously transmit audio content and control instructions in the same signal channel. This integration reduces the complexity and delay of signal transmission and improves the overall performance of the system. By establishing a mapping relationship, the system can flexibly adjust the association between communication content and terminal devices. When adding new terminal devices or adjusting the communication area, only the address code and mapping relationship need to be updated, without the need for large-scale changes to the entire system. Through precise addressing and signal integration, the system can effectively reduce communication failures caused by signal conflicts or incorrect addressing. At the same time, the embedding of addressing information enables the system to quickly detect and correct errors, improving the reliability of the system.

[0036] In step S300, when the task thread executes the scheduling instruction based on the task queue, the communication audio source signal is sent to the power amplification module for power amplification processing, and the amplified communication audio source signal and the control signal are synchronously injected into the communication line through the carrier host, and transmitted through the communication line using a common cable carrier method.

[0037] Specifically, the power amplifier module is a hardware module used to amplify signal power, enabling efficient signal transmission over the transmission line. The generated communication audio signal is sent to the power amplifier module, where a power amplifier (such as a Class D amplifier) amplifies the signal to meet transmission requirements. The amplified communication audio signal and control signals (such as zone selection commands and terminal control commands) are modulated by a modulator and then modulated onto a carrier signal. The carrier host (a device used to modulate the signal onto a carrier and inject it into the communication line) injects the modulated signal into the communication line, using a co-cable carrier method for transmission, transmitting both the audio signal and the control signal over the same cable. For example, the control signal can use digital modulation (such as PSK, phase-shift keying), while the communication audio signal can use analog modulation (such as AM, amplitude modulation).

[0038] In one possible implementation, the amplified communication audio source signal and the control signal are synchronously injected into the communication line via the carrier host, and transmitted through the communication line using a common cable carrier method. Step S300 further includes step S310, performing frequency analysis on the communication audio source signal and the control signal according to the signal physical layer frequency, wherein the audio signal is in a low frequency band and the control signal is in a high frequency band. Specifically, according to the frequency characteristics of the signal physical layer, the communication audio source signal is allocated to the low frequency band and the control signal is allocated to the high frequency band. For example, the audio signal is in the low frequency band of 20Hz to 20kHz, and the control signal is in the high frequency band of 100kHz to 500kHz. A band-pass filter and a band-stop filter are used to perform frequency analysis on the signal. The band-pass filter is used to extract signals in a specific frequency band, and the band-stop filter is used to suppress signals in other frequency bands.

[0039] For example, for the audio signal, a bandpass filter with a passband range of 20Hz to 20kHz is used; for the control signal, another bandpass filter with a passband range of 100kHz to 500kHz is used. Through these two filters, the audio signal and the control signal can be extracted separately.

[0040] In step S320, the communication audio signal and control signal are combined at the physical layer according to their respective frequency bands and injected into the communication line. Specifically, the parsed audio signal and control signal are combined using physical layer signal combination technology. The control signal is modulated onto a high-frequency carrier using a modulation technique (such as AM or FM) and then superimposed with the audio signal. The combined signal is then injected into the communication line via a carrier host, which modulates the signal to the appropriate carrier frequency and amplifies it to sufficient power via a power amplifier for efficient transmission over the communication line.

[0041] For example, an audio signal is modulated onto a low-frequency carrier using amplitude modulation (AM), while a control signal is modulated onto a high-frequency carrier using frequency modulation (FM). These two modulated signals are then combined using a combiner and injected into the communication line via a carrier host.

[0042] This implementation uses frequency resolution to allocate audio and control signals to different frequency bands, preventing mutual interference between the signals. Audio signals remain in the low-frequency band, while control signals remain in the high-frequency band, ensuring signal purity and integrity. Physical layer signal recombination technology combines audio and control signals into the same communication line, reducing line resource usage and improving system transmission efficiency. Through frequency allocation and signal recombination technology, the system can be easily expanded to more signal types and frequency bands. If a new control signal needs to be added, simply allocate it to a new high-frequency band and add it to the composite signal during the signal recombination stage, eliminating the need for large-scale changes to the entire system.

[0043] In one possible implementation, the communication audio source signal and the control signal are combined into physical layer signals according to the frequency band of the signals and injected into the communication line. Step S320 further includes step S321, using a low-pass filter to perform low-frequency protection on the communication audio source signal and using a high-pass filter to perform high-frequency protection and isolation on the control signal. Specifically, the low-pass filter (LPF) is used to protect the communication audio source signal and ensure that its frequency range remains in the low frequency band (such as 20Hz to 20kHz). The low-pass filter blocks signal components above a specific cutoff frequency, thereby preventing high-frequency interference from entering the audio signal frequency band. The high-pass filter (HPF) is used to protect the control signal and ensure that its frequency range remains in the high frequency band (such as 100kHz to 500kHz). The high-pass filter blocks signal components below a specific cutoff frequency, thereby preventing low-frequency signals from interfering with the control signal.

[0044] For example, for audio signals, a low-pass filter with a cutoff frequency of 25kHz is used to ensure that all signal components above 25kHz are filtered out; for control signals, a high-pass filter with a cutoff frequency of 75kHz is used to ensure that all signal components below 75kHz are filtered out.

[0045] Step S322: Superimpose the isolated high-frequency signal on the low-frequency signal line and inject it into the communication line. Specifically, the high-frequency control signal isolated by the high-pass filter is superimposed on the low-frequency audio signal protected by the low-pass filter. This can be achieved through simple circuit design, such as using a signal combiner. The superimposed signal is injected into the communication line via the carrier host. The carrier host is responsible for modulating the signal to the appropriate carrier frequency and amplifying it to sufficient power through a power amplifier for efficient transmission over the communication line.

[0046] For example, a high-frequency control signal and a low-frequency audio signal are superimposed through a signal combiner to form a composite signal, which is then injected into the communication line through a carrier host for co-cable transmission.

[0047] This implementation isolates and protects signals through low-pass and high-pass filters, ensuring that audio and control signals are transmitted cleanly within their respective frequency bands and preventing mutual interference. When audio signals are transmitted in the low-frequency band, they are not affected by high-frequency control signals, thus ensuring audio quality. When control signals are transmitted in the high-frequency band, they are also not affected by low-frequency audio signals, ensuring the accuracy and reliability of control commands.

[0048] In one possible implementation, transmission is performed via a common cable carrier over a communication line. Step S300 further includes step S330, identifying the risk level of the control signal. Specifically, a risk assessment module is provided in the system to analyze and identify the risk level of the control signal. The risk level can be determined based on the signal type, priority, security of the transmission path, and sensitivity of the signal content. Risk levels can be categorized as low, medium, or high. For example, a high-risk signal may contain critical control instructions or sensitive information, while a low-risk signal may contain only general status information.

[0049] For example, for a control signal containing an emergency shutdown instruction, the system identifies it as a high-risk signal; while for a signal containing the temperature status of the equipment, the system identifies it as a low-risk signal.

[0050] In step S340, the control signal is encrypted based on the risk level, and the encrypted control signal is isolated for high-frequency protection using the high-pass filter. Specifically, an appropriate encryption algorithm is selected based on the risk level of the control signal. For example, a strong encryption algorithm (such as AES-256) can be used for high-risk signals, while a simpler encryption algorithm (such as AES-128) can be used for low-risk signals. The control signal is encrypted using an encryption module, which converts the plaintext signal into a ciphertext signal to ensure that the signal cannot be illegally intercepted or tampered with during transmission. The encrypted control signal is isolated for high-frequency protection using a high-pass filter. The high-pass filter ensures that the encrypted signal is transmitted only in the high-frequency band, avoiding interference in the low-frequency band.

[0051] For example, for a high-risk control signal, the system encrypts it using the AES-256 encryption algorithm, and then uses a high-pass filter with a cutoff frequency of 75kHz for high-frequency protection isolation to ensure that the signal is transmitted within the frequency band of 100kHz to 500kHz.

[0052] This approach effectively prevents sensitive information from being illegally intercepted or tampered with by identifying the risk level of control signals and encrypting them. High-risk signals use a strong encryption algorithm to ensure signal security.

[0053] In one possible implementation, step S322 further includes step S3221, whereby, based on the regional gating information in the communication instruction, a carrier power supply is configured and the regional gating instruction is coupled to the carrier power supply. Specifically, the system determines the communication area to be activated based on the regional gating information in the communication instruction. Each area has an independent carrier power supply module responsible for providing power to the communication line in that area. The regional gating instruction is coupled to the carrier power supply. When the system needs to activate a certain area, the regional gating instruction is sent and the carrier power supply for that area is simultaneously activated. When a certain area needs to be shut down, a shutdown instruction is sent and the carrier power supply for that area is simultaneously shut down.

[0054] For example, when the system needs to activate area A, the system will send the "area A enable" command and start the carrier power supply of area A; when it needs to shut down area A, the system will send the "area A shutdown" command and cut off the carrier power supply of area A.

[0055] In step S3222, the coupled carrier signal is protected by a filter and superimposed on the communication line. Specifically, before the coupled carrier signal is injected into the communication line, a filter is used to protect the signal. The function of the filter is to ensure that the coupled carrier signal is not interfered with by signals in other frequency bands during transmission, while also preventing the carrier power signal from interfering with other signals (such as audio signals and control signals). The coupled carrier signal protected by the filter is superimposed on the communication line together with the audio signal and the control signal through a signal combiner to ensure that all signals can coexist on the same communication line without interfering with each other.

[0056] In this implementation, only selected areas require power, while unselected areas have their carrier power disconnected, reducing line losses and energy waste. A fault in a specific area (such as a short circuit) only affects power supply to that area, leaving other areas unaffected. In an emergency, the carrier power supply to a specific area can be quickly isolated or cut off to control the broadcast range. Furthermore, in common cable transmission, audio signals, control signals, and carrier power signals are combined through a signal combiner to form a composite signal, which is transmitted over the same communication line, reducing the number of lines and cabling costs.

[0057] In step S400, the communication terminal receives a common cable signal in the communication line, separates the communication audio and control instructions from the common cable signal, wherein the control instructions include area selection, terminal control, and status return commands, controls the communication terminal according to the control instructions, and broadcasts the communication content according to the communication audio.

[0058] Specifically, a communication terminal is a device that receives and processes signals, such as a broadcast terminal, a monitoring terminal, etc.

[0059] A communication terminal receives the coaxial cable signal from the communication line through a receiver. A demodulator demodulates the received signal to separate the communication audio signal and control commands. Control commands are commands used to control terminal device operations, such as zone selection and terminal control. Based on the control commands, the communication terminal performs corresponding operations, including zone selection (turning devices in a specific zone on or off), terminal control (adjusting volume, switching channels, etc.), and status feedback (sending terminal status information back to the main control module). For example, a terminal device can use a microcontroller (such as an STM32) to interpret control commands and control peripheral devices through the GPIO interface. The communication terminal receives the coaxial cable signal, and the demodulator separates the audio and control commands. The terminal then performs operations based on the control commands, such as turning on the broadcast equipment in a specific zone.

[0060] In one possible implementation, step S400 further includes step S410, separating the communication audio and control commands from the co-cable signal. The terminal addressing information serves as a zone selection command, and the control signals include terminal control and status feedback commands. Specifically, the communication terminal is equipped with a signal separation module for separating the communication audio, terminal addressing information, and control signals from the co-cable signal. This module includes multiple filters and demodulators to ensure accurate separation of signals in different frequency bands. A low-pass filter (LPF) extracts low-frequency communication audio signals (e.g., 20 Hz to 20 kHz), a band-pass filter (BPF) extracts mid-frequency terminal addressing information (e.g., 30 kHz to 50 kHz), and a high-pass filter (HPF) extracts high-frequency control signals (e.g., 100 kHz to 500 kHz). The demodulator demodulates the extracted signals to restore the original digital or analog signals.

[0061] For example, if the common cable signal contains audio signals (20 Hz to 20 kHz), terminal addressing information (30 kHz to 50 kHz), and control signals (100 kHz to 500 kHz), the system uses a low-pass filter to extract the audio signals, a band-pass filter to extract the terminal addressing information, and a high-pass filter to extract the control signals.

[0062] Step S420, generates a control instruction based on the area selection instruction, terminal control, and status return command, wherein the area selection instruction is used to select the playback execution terminal within the area range, the terminal control is used to adjust the playback adjustment parameters of the communication terminal, and the status return command is used to control the communication terminal to monitor and return the communication status and fault characteristics of its own device. Specifically, the communication terminal is equipped with an instruction parsing module for parsing the separated terminal addressing information, terminal control, and status return command. The area selection instruction is used to select the playback execution terminal within the area range, and the terminal device determines whether it belongs to the selected area based on the terminal addressing information. Terminal control is used to adjust the playback adjustment parameters of the communication terminal, such as volume adjustment, channel switching, etc. The status return command is used to control the communication terminal to monitor and return the communication status and fault characteristics of its own device, such as device status, fault code, etc.

[0063] For example, after receiving the terminal addressing information, the terminal device determines whether its own address matches the strobe command. If so, it executes the terminal control command, such as adjusting the volume. At the same time, according to the status feedback command, the terminal device monitors its own status and returns information.

[0064] This implementation uses terminal addressing information as zone gating commands, enabling the system to precisely control terminal devices within a specific area, ensuring that only devices in the target area execute the relevant commands. Terminal control commands allow for detailed adjustment of terminal device playback parameters, enhancing system flexibility and user experience. Status feedback commands enable terminal devices to monitor their own status in real time and transmit this information back to the system, facilitating timely fault detection and resolution. Through precise zone control, flexible terminal control, and real-time status monitoring, the system operates more efficiently, reduces the risk of failure, and improves maintenance efficiency.

[0065] The embodiment of the present application adopts a method of receiving instructions containing communication content, area, and priority information through a human-machine interface. The multi-threaded scheduling module allocates task threads and queues according to the instructions, and generates a communication audio source signal. When the task thread is executed, the audio source signal is power-amplified and injected into the line synchronously with the control signal by the carrier host, and transmitted in a common cable carrier manner. The communication terminal receives the common cable signal, separates the communication audio and the control instructions containing area selection, terminal control, and status return commands, and performs terminal control and content broadcasting respectively based on these technical means, which solves the technical problems of task scheduling confusion, unstable signal transmission and inaccurate terminal control in the existing communication centralized control method, and achieves the technical effects of efficient parallel processing of multiple tasks, high-quality and stable transmission of communication signals, and precise control of communication terminals.

[0066] In the above, refer to Figure 1 A multi-threaded communication centralized control method according to an embodiment of the present invention is described in detail. Figure 2 A multi-thread driven communication centralized control system according to an embodiment of the present invention is described.

[0067] A multi-threaded communication control system according to an embodiment of the present invention is designed to address the technical issues of chaotic task scheduling, unstable signal transmission, and inaccurate terminal control found in existing communication control methods, achieving efficient parallel processing of multiple tasks, high-quality and stable transmission of communication signals, and precise control of communication terminals. The multi-threaded communication control system includes a communication command receiving module 10, a communication audio signal generating module 20, a transmission module 30, and a signal separation module 40.

[0068] A communication instruction receiving module 10 is used to receive communication instructions through a human-machine interface, and the communication instructions include communication content, communication area, and priority information; a communication audio source signal generating module 20 is used to perform task thread allocation and task queuing in a multi-thread scheduling module according to the communication content, communication area, and priority information, and generate a communication audio source signal according to the selected communication area and communication content; a transmission module 30 is used to send the communication audio source signal to the power amplification module for power amplification processing when obtaining the task thread execution scheduling instruction based on the task queuing, and synchronously inject the amplified communication audio source signal and the control signal into the communication line via the carrier host, and transmit them through the communication line using a common cable carrier method; a signal separation module 40 is used for the communication terminal to separate the communication audio and control instructions from the common cable signal by receiving the common cable signal in the communication line, wherein the control instruction includes area selection, terminal control, and status return command, and the communication terminal is controlled according to the control instruction, and the communication content is broadcast according to the communication audio.

[0069] The specific configuration of the communication audio source signal generation module 20 will be described in detail below. As described above, the communication audio source signal is generated based on the selected communication area and communication content. The communication audio source signal generation module 20 may further include: a regional terminal address code acquisition unit for acquiring a regional terminal address code based on the communication area; a terminal addressing information generation unit for generating terminal addressing information based on the regional terminal address code; and a communication audio source signal generation unit for fitting an addressing control signal generated from the terminal addressing information to the communication content according to a mapping relationship between the communication content and the terminal addressing information to generate the communication audio source signal.

[0070] The specific configuration of the signal separation module 40 will be described in detail below. As described above, the communication audio and control instructions are separated from the co-cable signal. The signal separation module 40 may further include: a signal separation unit for separating the communication audio, terminal addressing information, and control signals from the co-cable signal, wherein the terminal addressing information serves as a regional selection instruction, and the control signals include terminal control and status feedback commands; a control instruction generation unit for generating control instructions based on the regional selection instructions, terminal control, and status feedback commands, wherein the regional selection instruction is used to select a playback execution terminal within a regional range, the terminal control is used to adjust the playback adjustment parameters of the communication terminal, and the status feedback command is used to control the communication terminal to monitor and feedback the communication status and fault characteristics of its own device.

[0071] The specific configuration of the transmission module 30 will be described in detail below. As described above, the amplified communication audio source signal and the control signal are synchronously injected into the communication line via the carrier host and transmitted through the communication line using a common cable carrier method. The transmission module 30 may further include: a frequency parsing unit for performing frequency analysis on the communication audio source signal and the control signal according to the signal physical layer frequency, where the audio signal is in the low frequency band and the control signal is in the high frequency band; and a physical layer signal recombination unit for performing physical layer signal recombination on the communication audio source signal and the control signal according to the signal frequency band, and injecting the resultant signal into the communication line.

[0072] Among them, according to the frequency band of the signal, the communication audio source signal and the control signal are subjected to physical layer signal compounding and injected into the communication line. The physical layer signal compounding unit may further include: a protection subunit for using a low-pass filter to perform low-frequency protection on the communication audio source signal, and using a high-pass filter to perform high-frequency protection isolation on the control signal; a signal superposition subunit for superimposing the isolated high-frequency signal on the low-frequency signal line and injecting it into the communication line.

[0073] Among them, the transmission is carried out through the communication line using a common cable carrier method, and the transmission module 30 can further include: a risk level identification unit for identifying the risk level of the control signal; an encryption processing unit for encrypting the control signal according to the risk level, and using the high-pass filter to isolate the encrypted control signal for high-frequency protection.

[0074] Among them, when injected into the communication line, the signal superposition subunit can further include: a coupling component for configuring the carrier power supply based on regional gating, and coupling the regional gating instruction with the carrier power supply; a superposition component for protecting the coupled carrier signal through a filter and superimposing it on the communication line.

[0075] Among them, task threads are allocated and tasks are queued in the multi-thread scheduling module according to the communication content, communication area, and priority information, and the communication sound source signal generation module 20 may further include: a multi-thread parallel structure construction unit for adaptively adjusting the thread pool size according to real-time task traffic and constructing a multi-thread parallel structure; a solution search unit for searching for multi-task target maximization solutions for the multi-thread parallel structure based on the communication content, communication area, and priority information, and establishing a parallel processing relationship between multi-threading and communication tasks.

[0076] A multi-threaded driven communication centralized control system provided by an embodiment of the present invention can execute a multi-threaded driven communication centralized control method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0077] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other and are not used to limit the scope of protection of the present invention.

[0078] Based on the foregoing embodiments, an embodiment of the present application further provides an electronic device. Figure 3 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention, showing a block diagram of an exemplary electronic device suitable for implementing an embodiment of the present invention. Figure 3 The electronic device shown is merely an example and should not limit the functionality and scope of use of the embodiments of the present invention. The electronic device is implemented as a general-purpose computing device, and its components may include, but are not limited to, an input device 301, a processor 302, a memory 303, and an output device 304. The processor 302 may be one or more; the memory 303 may include a computer-readable medium and at least one program product, which has a set (at least one) of program modules configured to perform the functions of the various embodiments of the present application.

[0079] The memory 303 shown in the embodiment of the present invention may adopt any combination of one or more computer-readable media; the computer-readable storage medium may be, but is not limited to, an infrared, semiconductor system, device or component, or any combination of the above, for storing software programs, computer executable programs and modules, such as the program instructions / modules corresponding to a multi-threaded driven communication control method in the embodiment of the present invention. The processor 302 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 303, thereby realizing the above-mentioned multi-threaded driven communication control method.

[0080] The above specific embodiments do not constitute a limitation to the scope of protection of this application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application should be included in the scope of protection of this application. In some cases, the actions or steps recorded in this application can be performed in an order different from that in the embodiments and can still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A multi-threaded driven communication centralized control method, characterized in that: include: receiving a communication instruction through a human-machine interface, wherein the communication instruction includes communication content, communication area, and priority information; Performing task thread allocation and task queuing in a multi-thread scheduling module according to the communication content, communication area, and priority information, and generating a communication audio source signal according to the selected communication area and communication content; When the task thread executes the scheduling instruction based on the task queue, the communication audio source signal is sent to the power amplification module for power amplification processing, and the amplified communication audio source signal and the control signal are synchronously injected into the communication line through the carrier host, and transmitted through the communication line using a common cable carrier method; The communication terminal receives the common cable signal in the communication line, separates the communication audio and control instructions from the common cable signal, wherein the control instructions include area selection, terminal control, and status return commands, controls the communication terminal according to the control instructions, and broadcasts the communication content according to the communication audio; Among them, task thread allocation and task queuing are performed in the multi-thread scheduling module according to the communication content, communication area, and priority information, including: Adaptively adjust the thread pool size according to real-time task traffic and build a multi-threaded parallel structure; Tasks are classified according to communication content, communication area and priority information, and priorities are set for each type of task. A multi-objective optimization algorithm is used to maximize the execution efficiency of other tasks while ensuring that high-priority tasks are executed first. Tasks are assigned to threads in the thread pool according to their priority and type, and the association between tasks and threads is achieved through callback functions.

2. The multi-thread driven communication centralized control method according to claim 1, characterized in that: Generates communication audio source signals based on the selected communication area and communication content, including: According to the communication area, obtaining the area terminal address code; generating terminal addressing information according to the regional terminal address code; According to the mapping relationship between the communication content and the terminal addressing information, the addressing control signal generated by the terminal addressing information is fitted into the communication content to generate the communication audio source signal.

3. The multi-thread driven communication centralized control method according to claim 2, characterized in that: Separating the communication audio and control instructions from the common cable signal includes: Separating communication audio, terminal addressing information, and control signals from the common cable signal, wherein the terminal addressing information serves as a regional selection instruction, and the control signal includes terminal control and status return commands; A control instruction is generated based on the area selection instruction, terminal control, and status feedback command, wherein the area selection instruction is used to select a playback execution terminal within a selected area range, the terminal control is used to adjust the playback adjustment parameters of the communication terminal, and the status feedback command is used to control the communication terminal to monitor and feedback the communication status and fault characteristics of its own device.

4. The multi-thread driven communication centralized control method according to claim 1, characterized in that: The amplified communication audio source signal and the control signal are synchronously injected into the communication line through the carrier host, and transmitted through the communication line using a common cable carrier method, including: Perform frequency analysis on the communication audio source signal and the control signal according to the signal physical layer frequency, wherein the audio signal is in the low frequency band and the control signal is in the high frequency band; According to the frequency band of the signal, the communication audio source signal and the control signal are combined into physical layer signals and injected into the communication line.

5. The multi-thread driven communication centralized control method according to claim 4, characterized in that: According to the frequency band of the signal, the communication audio source signal and the control signal are combined into a physical layer signal and injected into the communication line, including: Use low-pass filters to protect the communication audio signal at low frequencies, and use high-pass filters to isolate the control signal at high frequencies. The isolated high-frequency signal is superimposed on the low-frequency signal line and injected into the communication line.

6. The multi-thread driven communication centralized control method according to claim 5, characterized in that: The transmission is carried out through the communication line by using a common cable carrier, and also includes: identifying a risk level of the control signal; The control signal is encrypted according to the risk level, and the encrypted control signal is isolated for high frequency protection using the high-pass filter.

7. The multi-thread driven communication centralized control method according to claim 5, characterized in that: Injecting into the communication line also includes: Based on the regional gating, the carrier power supply is configured and the regional gating instruction is coupled with the carrier power supply; The coupled carrier signal is protected by a filter and superimposed on the communication line.

8. A multi-threaded communication centralized control system, characterized in that: The system is used to implement the multi-threaded driven communication centralized control method according to any one of claims 1 to 7, and the system includes: A communication instruction receiving module is used to receive a communication instruction through a human-machine interface, wherein the communication instruction includes communication content, communication area, and priority information; A communication audio source signal generating module, configured to perform task thread allocation and task queuing in a multi-thread scheduling module according to the communication content, communication area, and priority information, and to generate a communication audio source signal according to the selected communication area and communication content; The transmission module is used to send the communication audio source signal to the power amplification module for power amplification processing when obtaining the task thread execution scheduling instruction based on the task queue, and synchronously inject the amplified communication audio source signal and the control signal into the communication line through the carrier host, and transmit them through the communication line using a common cable carrier method; A signal separation module is used for a communication terminal to receive a common cable signal in a communication line, separate the communication audio and control instructions from the common cable signal, wherein the control instructions include zone selection, terminal control, and status return commands, control the communication terminal according to the control instructions, and broadcast the communication content according to the communication audio; Among them, task thread allocation and task queuing are performed in the multi-thread scheduling module according to the communication content, communication area, and priority information, including: Adaptively adjust the thread pool size according to real-time task traffic and build a multi-threaded parallel structure; Tasks are classified according to communication content, communication area and priority information, and priorities are set for each type of task. A multi-objective optimization algorithm is used to maximize the execution efficiency of other tasks while ensuring that high-priority tasks are executed first. Tasks are assigned to threads in the thread pool according to their priority and type, and the association between tasks and threads is achieved through callback functions.

9. An electronic device, characterized in that: The electronic device comprises: a memory for storing executable instructions; The processor is configured to implement the multi-threaded driven communication centralized control method according to any one of claims 1 to 7 when executing the executable instructions stored in the memory.

Citation Information

Patent Citations

  • Thread scheduling method and electronic equipment

    CN118363719A

  • Task processing method and system based on multi-thread fusion management

    CN119105848A