A communication control method, apparatus, device and medium

By adding sequence numbers to control commands and dynamically scheduling transmission priorities, the problem of reliability degradation in wireless communication is solved, enabling efficient communication and control error correction in motion control applications.

CN120321710BActive Publication Date: 2025-11-14GUANGZHOU ANGTE MASCH EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510524534.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-11-14
Estimated Expiration
2045-04-24

AI Technical Summary

Technical Problem

In motion control applications, wireless communication between motion controllers and actuators is affected by random fading, which leads to a decrease in the reliability of ultra-reliable low-latency communication and makes it difficult to meet high-performance requirements.

Method used

By adding a sequence number to each control command in the communication system, which includes latency, latency jitter, and reliability indicators, the transmission priority is dynamically scheduled, and an exception handling strategy is adopted when transmission fails, such as retransmission or insertion of retransmission commands, to ensure the efficient operation of the communication system.

Benefits of technology

It enables timely error correction in case of transmission failure, avoiding impact on control tasks and ensuring efficient transmission of control commands and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321710B_ABST
    Figure CN120321710B_ABST
Patent Text Reader

Abstract

This application discloses a communication control method, apparatus, device, and medium, belonging to the field of communication technology. The method includes: when initiating a control task for an execution unit, determining performance requirement data for the information transmission of the control task; creating a sequence number based on the performance requirement data and adding the sequence number to the control instructions of the control task; and sending the control instructions to the communication base station to notify the communication base station to transmit the control instructions to the execution unit through the communication unit according to the performance requirement data in the sequence number. This technical solution can dynamically schedule the transmission of multiple control instruction buffer queues based on performance requirement data when the communication system provides communication services, and proactively provide feedback to the central controller in case of transmission failure, which is beneficial for timely control error correction and avoids greater impact.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, specifically relating to a communication control method, device, equipment, and medium. Background Technology

[0002] Ultra-reliable low-latency communication can provide stable and reliable communication services for various mission-critical applications by reducing the propagation time between edge devices and data centers, thereby improving production efficiency and service quality, and has broad application prospects.

[0003] However, compared to real-time communication in the general sense, such as voice calls and video communication, motion control has higher requirements for the performance of ultra-reliable low-latency communication, such as latency, latency jitter and reliability. Especially in mobile application scenarios, the controller and actuator need to use wireless communication methods such as 5G technology to achieve motion control. However, the reliability of wireless links is reduced due to random fading, making it extremely difficult to achieve the performance requirements of low-latency communication.

[0004] Therefore, how to achieve dynamic transmission scheduling of multiple control task buffer queues is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] This application provides a communication control method, apparatus, device, and medium. The purpose is that when the communication system provides communication services, it can dynamically schedule the transmission of multiple control instruction buffer queues according to performance requirement data, and actively provide feedback to the central controller when transmission fails, which is beneficial for timely control error correction and avoids causing greater impact.

[0006] In a first aspect, this embodiment provides a communication control method, which is executed by a central controller. The central controller is connected to at least one communication unit via a communication base station, and each communication unit is connected to an execution unit. The method includes:

[0007] When initiating a control task for an execution unit, the performance requirements data for information transmission of the control task are determined;

[0008] A serial number is created based on the performance requirement data, and the serial number is added to the control instructions of the control task;

[0009] The control command is sent to the communication base station to notify the communication base station to transmit the control command to the execution unit through the communication unit according to the performance requirement data in the sequence number.

[0010] Furthermore, creating a serial number based on the performance requirement data includes:

[0011] The latency index, latency jitter index, and reliability index in the performance requirement data are obtained, and the latency index, latency jitter index, and reliability index are compiled into strings to obtain a sequence number; wherein, the sum of the latency index and the latency jitter index, and the difference between the latency index and the latency jitter index are used as the required duration for the communication base station to transmit the control command, and the reliability index is used as the transmission accuracy of the control command of the communication base station.

[0012] Furthermore, after sending the control command to the communication base station, the method further includes:

[0013] Receive feedback information from the communication base station, interpret the feedback information, and identify whether the feedback information indicates a transmission failure;

[0014] When the feedback information indicates a transmission failure, an exception handling strategy is determined based on the performance requirement data.

[0015] Furthermore, when the feedback information indicates a transmission failure, an exception handling strategy is determined based on the performance requirement data, including:

[0016] When the feedback information indicates a transmission failure, the control strategy information, control algorithm information, and performance requirement data for information transmission of the control task are obtained.

[0017] Based on the control strategy information, control algorithm information, and performance requirement data, the exception handling strategy is determined to be a first exception handling strategy, a second exception handling strategy, or a third exception handling strategy.

[0018] Accordingly, the method further includes:

[0019] If the first exception handling strategy is adopted, an ignore warning instruction is generated and sent to the communication base station;

[0020] If the second exception handling strategy is adopted, a new sequence number is generated to replace the sequence number of the failed control command, and an overwrite retransmission command is generated and sent to the communication base station.

[0021] If the third exception handling strategy is adopted, the sequence number of the control command that failed to be sent is inserted into the sequence number of the control command to be sent, and an insertion retransmission command is generated and sent to the communication base station.

[0022] Secondly, this embodiment provides a communication control method, which is executed by a communication base station. The upper end of the communication base station is connected to a central controller, and the lower end of the communication base station is connected to at least one communication unit, each communication unit being connected to an execution unit; the method includes:

[0023] Receive control commands sent by the central controller based on control tasks;

[0024] The performance requirement data is parsed based on the serial number included in the control command;

[0025] The transmission priority of each control instruction in the cache queue is determined based on the performance requirement data, and the control instructions are sorted according to the transmission priority.

[0026] The control instructions in the cache queue are sent to the communication unit according to the sorting result, and the transmission result is sent to the central controller.

[0027] Furthermore, before determining the transmission priority of each control instruction in the cache queue based on the performance requirement data, the method further includes:

[0028] Establish a cache queue for the control task;

[0029] The control commands are cached into the cache queue in the order of receipt, and a timer is started for each control command sequence number. The timer is used to calculate the remaining transmission time of the control command. When the remaining transmission time is 0, it is determined whether the control command has been successfully transmitted. If it has not been successfully transmitted, a transmission failure feedback message is generated and sent to the central controller.

[0030] Furthermore, based on the performance requirement data, the transmission priority of each control instruction in the cache queue is determined, including:

[0031] The priority of each control command is calculated using the following formula:

[0032] S=[FIFO_Lenghth*Command_Size] / [(1-Reliability)*TTL_min];

[0033] Where S is the priority of the control command, FIFO_Length is the depth of the buffer queue, Command_Size is the size of the control command, Reliability is the sequence number of the control command, and TTL_min is the remaining transmission time recorded in the timer of the next sequence number to be transmitted in the buffer queue.

[0034] Thirdly, this embodiment provides a communication control device, the device including a central controller, the central controller being connected to at least one communication unit via a communication base station, and each communication unit being connected to an execution unit; the central controller includes:

[0035] The performance requirement data determination module is used to determine the performance requirement data for the information transmission of the control task when initiating a control task for the execution unit.

[0036] The serial number creation module is used to create a serial number based on the performance requirement data and add the serial number to the control instructions of the control task.

[0037] The control command transmission module is used to send the control command to the communication base station to notify the communication base station to transmit the control command to the execution unit through the communication unit according to the performance requirement data in the sequence number.

[0038] Furthermore, the serial number creation module is specifically used for:

[0039] The latency index, latency jitter index, and reliability index in the performance requirement data are obtained, and the latency index, latency jitter index, and reliability index are compiled into strings to obtain a sequence number; wherein, the sum of the latency index and the latency jitter index, and the difference between the latency index and the latency jitter index are used as the required duration for the communication base station to transmit the control command, and the reliability index is used as the transmission accuracy of the control command of the communication base station.

[0040] Furthermore, the device also includes:

[0041] An exception handling module is used to receive feedback information from the communication base station, interpret the feedback information, and identify whether the feedback information indicates a transmission failure.

[0042] When the feedback information indicates a transmission failure, an exception handling strategy is determined based on the performance requirement data.

[0043] Furthermore, the exception handling module is specifically used for:

[0044] When the feedback information indicates a transmission failure, the control strategy information, control algorithm information, and performance requirement data for information transmission of the control task are obtained.

[0045] Based on the control strategy information, control algorithm information, and performance requirement data, the exception handling strategy is determined to be a first exception handling strategy, a second exception handling strategy, or a third exception handling strategy.

[0046] Accordingly, the method further includes:

[0047] If the first exception handling strategy is adopted, an ignore warning instruction is generated and sent to the communication base station;

[0048] If the second exception handling strategy is adopted, a new sequence number is generated to replace the sequence number of the failed control command, and an overwrite retransmission command is generated and sent to the communication base station.

[0049] If the third exception handling strategy is adopted, the sequence number of the control command that failed to be sent is inserted into the sequence number of the control command to be sent, and an insertion retransmission command is generated and sent to the communication base station.

[0050] Fourthly, this embodiment provides a communication control device, the device including a communication base station, the upper end of the communication base station being connected to a central controller, and the lower end of the communication base station being connected to at least one communication unit, each communication unit being connected to an execution unit; the communication base station includes:

[0051] The control command receiving module is used to receive control commands sent by the central controller based on control tasks;

[0052] The performance requirement data parsing module is used to parse performance requirement data based on the serial number included in the control command;

[0053] The control instruction sorting module is used to determine the transmission priority of each control instruction in the cache queue based on the performance requirement data, and sort the control instructions according to the transmission priority.

[0054] The transmission result sending module is used to send the control instructions in the cache queue to the communication unit according to the sorting result, and to send the transmission result to the central controller.

[0055] Furthermore, the device also includes:

[0056] Establish a cache queue for the control task;

[0057] The control commands are cached into the cache queue in the order of receipt, and a timer is started for each control command sequence number. The timer is used to calculate the remaining transmission time of the control command. When the remaining transmission time is 0, it is determined whether the control command has been successfully transmitted. If it has not been successfully transmitted, a transmission failure feedback message is generated and sent to the central controller.

[0058] Furthermore, the sorting module according to the control instructions is specifically used for:

[0059] The priority of each control command is calculated using the following formula:

[0060] S=[FIFO_Lenghth*Command_Size] / [(1-Reliability)*TTL_min];

[0061] Where S is the priority of the control command, FIFO_Length is the depth of the buffer queue, Command_Size is the size of the control command, Reliability is the sequence number of the control command, and TTL_min is the remaining transmission time recorded in the timer of the next sequence number to be transmitted in the buffer queue.

[0062] Fifthly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0063] In a sixth aspect, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0064] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0065] In this embodiment, when initiating a control task for the execution unit, performance requirement data for the information transmission of the control task is determined; a sequence number is created based on the performance requirement data and added to the control instructions of the control task; the control instructions are sent to the communication base station to notify the communication base station to transmit the control instructions to the execution unit through the communication unit according to the performance requirement data in the sequence number. Through this communication control method, when the communication system provides communication services, multiple control instruction buffer queues can be dynamically scheduled for transmission based on performance requirement data, and feedback can be proactively provided to the central controller in case of transmission failure, which is beneficial for timely control error correction and avoids greater impact. Attached Figure Description

[0066] Figure 1 This is a flowchart illustrating a communication control method provided in Embodiment 1 of this application;

[0067] Figure 2 This is a schematic diagram of the device for sending control commands by the central controller provided in Embodiment 1 of this application;

[0068] Figure 3 This is a flowchart illustrating a communication control method provided in Embodiment 2 of this application;

[0069] Figure 4This is a schematic diagram of the structure of a communication control device provided in Embodiment 3 of this application;

[0070] Figure 5 This is a schematic diagram of the structure of a communication control device provided in Embodiment 4 of this application;

[0071] Figure 6 This is a schematic diagram of the structure of the electronic device provided in Embodiment 5 of this application. Detailed Implementation

[0072] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0073] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0074] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0075] The following description, in conjunction with the accompanying drawings, details a communication control method, apparatus, device, and medium provided in this application through specific embodiments and application scenarios.

[0076] Example 1

[0077] Figure 1 This is a flowchart illustrating a communication control method provided in Embodiment 1 of this application.

[0078] like Figure 1 As shown, the specific steps include the following:

[0079] S101. When initiating a control task for the execution unit, determine the performance requirement data for information transmission of the control task;

[0080] This solution can be applied to scenarios involving the dynamic transmission and scheduling of control commands.

[0081] Based on the above scenario, it is understandable that the executing entity in this scenario can be a server used to determine the transmission priority of control commands, such as a computer or software component providing services in a network environment, etc., without further restrictions here.

[0082] A central controller can be a device or component that coordinates and manages execution units, analyzes and processes data, and issues control commands to execution units.

[0083] A communication base station is a critical infrastructure element in a wireless communication system, primarily used to establish wireless connections between mobile devices and communication networks. Communication base stations transmit and receive data within a defined coverage area using radio frequency signals.

[0084] A communication unit, which can be a communication unit in a mobile device, is used to establish a communication connection with a communication base station and to receive and send communication data.

[0085] An execution unit can be a component in a mobile device used to execute control commands.

[0086] A control task can be a control task generated by the execution unit to perform a certain function, such as acquiring data information from a mobile device. A control task can contain multiple control instructions, and the execution unit can achieve the purpose of executing the control task by running each control instruction according to certain logic.

[0087] Performance requirement data can be data that specifies parameters during the transmission process.

[0088] The way to determine the performance requirements for information transmission of control tasks can be that the central controller determines the performance requirements for transmitting the current control task to the execution unit based on the importance and urgency of the current control task. For example, requirements for transmission priority, transmission rate, and transmission quality of the control task.

[0089] S102. Create a serial number based on the performance requirement data, and add the serial number to the control instructions of the control task;

[0090] The serial number can be a string used to store performance requirement data. Each control command carries a serial number, and the communication base station determines the transmission performance requirements of the corresponding control command by interpreting the serial number.

[0091] One way to add a serial number to the control command of a control task is to write the performance requirement data corresponding to the control command into a string of a specified format according to the serial number generation rules, and then add the string to the reserved position of the corresponding control command.

[0092] S103. The control command is sent to the communication base station to notify the communication base station to transmit the control command to the execution unit through the communication unit according to the performance requirement data in the serial number.

[0093] The control command can be sent to the communication base station by sending the control command with a serial number to the communication base station. After receiving the control command, the communication base station forwards the data to the corresponding communication unit according to the transmission performance requirements in the serial number. The communication unit then sends the data to the execution unit connected to it, and the execution unit runs the control command.

[0094] For example, Figure 2 This is a schematic diagram of the device for sending control commands by the central controller according to Embodiment 1 of this application, as shown below. Figure 2 As shown, the central controller connects to a communication base station to send control commands to mobile devices or receive uploaded data from mobile devices. One central controller can manage the execution units of multiple mobile devices. In the mobile devices, data transmission is achieved through communication units. Therefore, the communication units of multiple mobile devices can be wirelessly connected to the communication base station. The central controller sends control commands to each communication unit through the communication base station. Each communication unit is connected to an execution unit, which, after receiving the control command, sends it to the execution unit connected to it to execute the control command.

[0095] Based on the above solution, optionally, a serial number can be created according to the performance requirement data, including:

[0096] The latency index, latency jitter index, and reliability index in the performance requirement data are obtained, and the latency index, latency jitter index, and reliability index are compiled into strings to obtain a sequence number; wherein, the sum of the latency index and the latency jitter index, and the difference between the latency index and the latency jitter index are used as the required duration for the communication base station to transmit the control command, and the reliability index is used as the transmission accuracy of the control command of the communication base station.

[0097] The latency metric can be the longest time it takes for a current control command to be transmitted from the central controller to the corresponding execution unit.

[0098] The latency jitter metric can be considered as the range of time it takes for a current control command to be transmitted from the central controller to the corresponding execution unit. Understandably, the required transmission time of the control command by the communication base station can be a latency metric within the range of the latency jitter metric. For example, if the latency metric is 2 milliseconds and the latency jitter metric is 200 microseconds, then the communication base station needs to complete the transmission of the current control command within 2 milliseconds ± 200 microseconds.

[0099] A reliability metric can be the accuracy rate at which a communication base station transmits control commands. For example, if the reliability metric is 99.999%, then the probability of control command transmission errors or loss during transmission must be less than 0.001%.

[0100] One way to obtain the string is to write the latency metric, latency jitter metric, and reliability metric into a string in the format of [latency metric, latency jitter metric, reliability metric], and then add this string as a sequence number to the corresponding control command. For example, if the latency metric, latency jitter metric, and reliability metric are 2 milliseconds, 200 microseconds, and 99.999% respectively, then the corresponding sequence number is [2 milliseconds, 200 microseconds, 99.999%].

[0101] The advantage of this scheme is that it allows latency, jitter, and reliability metrics to be used as sequence numbers, which helps to accurately inform the communication base station of the urgency of transmitting each control command, enabling the communication base station to prioritize the transmission of important control commands.

[0102] Based on the above scheme, optionally, after sending the control command to the communication base station, the method further includes:

[0103] Receive feedback information from the communication base station, interpret the feedback information, and identify whether the feedback information indicates a transmission failure;

[0104] When the feedback information indicates a transmission failure, an exception handling strategy is determined based on the performance requirement data.

[0105] Feedback information can be the communication base station's response regarding whether the control command was successfully sent to the communication unit. In this scheme, it can be understood that the communication base station sends the control command to the corresponding communication unit based on the sequence number. After receiving the control command, the communication unit verifies it. If the transmitted control command is correct, it sends an acknowledgment character to the communication base station. Upon receiving the acknowledgment character, the communication base station determines that the current control command was successfully sent and sends feedback information indicating successful transmission to the central controller. If the transmitted control command contains an error or is lost, it sends a negative response to the communication base station. Upon receiving the negative response, the communication base station determines that the current control command transmission failed and sends feedback information indicating transmission failure to the central controller.

[0106] Understandably, in a communication base station, if a control command is not sent in a timely manner, i.e., the sum of the delay index and the delay jitter index in the sequence number of the control command is exceeded, then the current control command is determined to have failed to be sent, and feedback information indicating the failure is sent to the central controller.

[0107] Determining anomaly handling strategies based on performance requirement data can be achieved by, after confirming that the feedback information sent by the communication base station indicates a transmission failure, judging the importance and urgency of the failed control command based on its performance requirement data, and then determining the corresponding anomaly handling strategy. For example, for control commands of lower importance, the measure of not sending them again can be taken, while for control commands that are relatively more important and have a higher urgency, the measure of immediate retransmission can be taken.

[0108] The advantage of this scheme is that it can take into account the situation where control command transmission fails, and take corresponding abnormal handling measures according to performance requirements data, so as to avoid the failure of control command transmission hindering the transmission progress of other control commands.

[0109] Based on the above scheme, optionally, when the feedback information indicates a transmission failure, an exception handling strategy is determined according to the performance requirement data, including:

[0110] When the feedback information indicates a transmission failure, the control strategy information, control algorithm information, and performance requirement data for information transmission of the control task are obtained.

[0111] Based on the control strategy information, control algorithm information, and performance requirement data, the exception handling strategy is determined to be a first exception handling strategy, a second exception handling strategy, or a third exception handling strategy.

[0112] Accordingly, the method further includes:

[0113] If the first exception handling strategy is adopted, an ignore warning instruction is generated and sent to the communication base station;

[0114] If the second exception handling strategy is adopted, a new sequence number is generated to replace the sequence number of the failed control command, and an overwrite retransmission command is generated and sent to the communication base station.

[0115] If the third exception handling strategy is adopted, the sequence number of the control command that failed to be sent is inserted into the sequence number of the control command to be sent, and an insertion retransmission command is generated and sent to the communication base station.

[0116] In this scheme, the control strategy information and control algorithm information can be pre-defined by staff as handling strategies for control commands with different performance requirements in case of transmission failure. For example, a first exception handling strategy can be used for control commands with low importance and low urgency; a second exception handling strategy can be used for control commands with high importance but low urgency; and a third exception handling strategy can be used for control commands with both high importance and high urgency. Simultaneously, it is understood that for control commands that need to be retransmitted, their sequence numbers can be changed, for example, by shortening the latency or jitter index of the control command, so that the current control command can be transmitted with priority, thus avoiding impacting the progress of the control task.

[0117] The first exception handling strategy could be that the central controller generates a corresponding ignore warning instruction for control instructions that do not need to be retransmitted and sends it to the communication base station, so as to control the communication base station to delete the sequence number of the failed control instruction from the buffer queue and not retransmit the control instruction.

[0118] The second anomaly handling strategy could be that the central controller generates a new sequence number for the currently failed control command. The new sequence number adjusts the latency or latency jitter index according to the urgency of the current control command. The new sequence number is written into the overwrite retransmission command and sent to the communication base station, so that the communication base station can replace the original sequence number in the buffer queue with the new sequence number and retransmit the failed control command according to the new sequence number.

[0119] The third exception handling strategy could be that the central controller inserts the sequence number of the failed control command into the control command that is about to be sent to the communication base station, and sends the inserted retransmission command along with the control command that is about to be sent to the communication base station. This would allow the communication base station to first traverse each buffer queue to identify whether there is a sequence number that is the same as the currently received control command. After deleting the duplicate sequence number, the control command would be retransmitted according to the currently received sequence number.

[0120] The advantage of this scheme is that it allows for different exception handling strategies to be adopted for control commands with different performance requirements, which helps to reduce the impact of the communication system on the execution flow of control tasks and ensures the efficient execution of control tasks.

[0121] In this embodiment, when initiating a control task for the execution unit, performance requirement data for the information transmission of the control task is determined; a sequence number is created based on the performance requirement data and added to the control instructions of the control task; the control instructions are sent to the communication base station to notify the communication base station to transmit the control instructions to the execution unit through the communication unit according to the performance requirement data in the sequence number. Through this communication control method, when the communication system provides communication services, multiple control instruction buffer queues can be dynamically scheduled for transmission based on performance requirement data, and feedback can be proactively provided to the central controller in case of transmission failure, which is beneficial for timely control error correction and avoids greater impact.

[0122] Example 2

[0123] Figure 3 This is a flowchart illustrating a communication control method provided in Embodiment 2 of this application.

[0124] like Figure 3 As shown, the specific steps include the following:

[0125] S301, Receive control commands sent by the central controller based on control tasks;

[0126] The control commands can be received by the communication base station through the communication interface between the base station and the central controller, which receives the control commands sent by the central controller based on the control task. Each control command carries a sequence number.

[0127] S302. Parse the performance requirement data according to the serial number included in the control command;

[0128] One way to parse performance requirement data is to extract the serial number at a specified position in the control command after receiving the control command, parse the serial number, and obtain performance requirement data such as latency indicators, latency jitter indicators, and reliability indicators carried in the serial number.

[0129] S303. Determine the transmission priority of each control instruction in the cache queue based on the performance requirement data, and sort the control instructions according to the transmission priority;

[0130] A cache queue can be a first-in, first-out (FIFO) queue, employing sequential storage, meaning data elements are stored contiguously in memory. This gives the queue a certain degree of order in its storage, facilitating data management and manipulation.

[0131] The control commands can be sorted in the following ways: for multiple control commands for the same control task, after the communication base station receives the control commands, they will be stored in the buffer queue first. After sorting each control command according to the transmission priority, the control command with the highest transmission priority will be placed at the first end of the buffer queue in descending order of transmission priority.

[0132] S304. According to the sorting result, send the control instructions in the cache queue to the communication unit and send the transmission result to the central controller.

[0133] Control commands can be sent sequentially from the output end of the buffer queue according to their order of arrangement. After each transmission, a response is received from the communication unit. Based on the acknowledgment or negation character in the response, the corresponding transmission result is generated and sent to the central controller.

[0134] The advantage of this scheme is that it allows the control commands of the central controller to be sorted and then sent according to priority, which helps to reduce the impact of communication delay on the transmission priority of control commands and ensures that the execution flow of control tasks is not disrupted.

[0135] Based on the above scheme, optionally, before determining the transmission priority of each control instruction in the cache queue according to the performance requirement data, the method further includes:

[0136] Establish a cache queue for the control task;

[0137] The control commands are cached into the cache queue in the order of receipt, and a timer is started for each control command sequence number. The timer is used to calculate the remaining transmission time of the control command. When the remaining transmission time is 0, it is determined whether the control command has been successfully transmitted. If it has not been successfully transmitted, a transmission failure feedback message is generated and sent to the central controller.

[0138] One way to establish a cache queue is to suggest a separate cache queue for each control task, which is used to store all control instructions for the same control task.

[0139] A timer is a device or software component that can trigger an operation or event at preset time intervals or specific time points. Its basic principle is based on a counting mechanism, using a stable clock source to provide a time reference and counting time. Like a stopwatch with a countdown timer, when the count reaches a preset value, it generates a signal or performs a specific action.

[0140] In this scheme, a timer is used to count down the set duration. When the countdown ends, an event indicating that the control command failed to be sent is triggered.

[0141] Understandably, the communication base station stores the control instructions for the same control task received in the order of receipt into a first-in-first-out buffer queue, and starts a timer for each control instruction entering the buffer queue according to the transmission time required by its sequence number. The remaining transmission time of the current control instruction is determined by the countdown of the timer, that is, whether the current control instruction has a timeout problem.

[0142] The method for generating feedback information indicating transmission failure can be as follows: when the remaining time of the timer is 0, the communication base station checks the transmission result of the control command, that is, it checks whether it has received the acknowledgment character of the current control command sent by the communication unit. If it has not received it, it determines that the control command transmission has failed, generates feedback information indicating transmission failure, and sends it to the central controller. Then, the communication base station can receive and execute the anomaly handling measures proposed by the central controller in response to the feedback information.

[0143] The advantage of this scheme is that it can record the remaining transmission time of control information according to the timer, thereby avoiding the disruption of the execution unit's control task flow due to control information timeout transmission, which helps to ensure the efficient execution of control tasks.

[0144] Based on the above scheme, optionally, the transmission priority of each control instruction in the cache queue can be determined according to the performance requirement data, including:

[0145] The priority of each control command is calculated using the following formula:

[0146] S=[FIFO_Lenghth*Command_Size] / [(1-Reliability)*TTL_min];

[0147] Where S is the transmission priority of the control command, FIFO_Length is the depth of the buffer queue, Command_Size is the size of the control command, Reliability is the sequence number of the control command, and TTL_min is the remaining transmission time recorded in the timer of the next sequence number to be transmitted in the buffer queue.

[0148] The information base station identifies the cache queue containing the current control command, obtains the depth of the cache queue (i.e., the number of sequence numbers in the cache queue), and obtains the size of the current control command (i.e., the memory size occupied by the control command). The total amount of control information to be transmitted for the current control task can be represented by multiplying the cache queue depth by the control command size. The denominator is calculated by multiplying the sequence number of the control command by the remaining transmission time of the priority control command. It is easy to see that the higher the reliability requirement and the stronger the urgency of transmission, the smaller the denominator, and the higher the transmission priority of the corresponding control command. Therefore, by sorting all the transmission priorities in the cache queue, the control commands in the cache queue can be transmitted in descending order of transmission priority, ensuring that the most important and urgent control commands are transmitted first.

[0149] The advantage of this scheme is that the transmission priority can be calculated using formulas, thereby establishing a reasonable process for calculating the transmission priority, which helps to improve the efficiency of determining the transmission priority and the rationality of control command transmission.

[0150] In this embodiment, a control command sent by a central controller based on a control task is received; performance requirement data is parsed according to the sequence number included in the control command; the transmission priority of each control command in the buffer queue is determined according to the performance requirement data, and the control commands are sorted according to the transmission priority; the control commands in the buffer queue are sent to the communication unit according to the sorting result, and the transmission result is sent to the central controller. Through this communication control method, when the communication system provides communication services, multiple control command buffer queues can be dynamically scheduled for transmission based on performance requirement data, and feedback can be proactively provided to the central controller in case of transmission failure, which is beneficial for timely control error correction and avoids greater impact.

[0151] Example 3

[0152] Figure 4 This is a schematic diagram of the communication control device provided in Embodiment 8 of this application.

[0153] like Figure 4 As shown, it specifically includes the following:

[0154] The performance requirement data determination module 401 is used to determine the performance requirement data for the information transmission of the control task when the control task of the corresponding execution unit is started.

[0155] The serial number creation module 402 is used to create a serial number based on the performance requirement data and add the serial number to the control instructions of the control task;

[0156] The control command transmission module 403 is used to send the control command to the communication base station to notify the communication base station to transmit the control command to the execution unit through the communication unit according to the performance requirement data in the sequence number.

[0157] Optionally, the serial number creation module is specifically used for:

[0158] The latency index, latency jitter index, and reliability index in the performance requirement data are obtained, and the latency index, latency jitter index, and reliability index are compiled into strings to obtain a sequence number; wherein, the sum of the latency index and the latency jitter index, and the difference between the latency index and the latency jitter index are used as the required duration for the communication base station to transmit the control command, and the reliability index is used as the transmission accuracy of the control command of the communication base station.

[0159] Optionally, the device further includes:

[0160] An exception handling module is used to receive feedback information from the communication base station, interpret the feedback information, and identify whether the feedback information indicates a transmission failure.

[0161] When the feedback information indicates a transmission failure, an exception handling strategy is determined based on the performance requirement data.

[0162] Optionally, the exception handling module is specifically used for:

[0163] When the feedback information indicates a transmission failure, the control strategy information, control algorithm information, and performance requirement data for information transmission of the control task are obtained.

[0164] Based on the control strategy information, control algorithm information, and performance requirement data, the exception handling strategy is determined to be a first exception handling strategy, a second exception handling strategy, or a third exception handling strategy.

[0165] Accordingly, the method further includes:

[0166] If the first exception handling strategy is adopted, an ignore warning instruction is generated and sent to the communication base station;

[0167] If the second exception handling strategy is adopted, a new sequence number is generated to replace the sequence number of the failed control command, and an overwrite retransmission command is generated and sent to the communication base station.

[0168] If the third exception handling strategy is adopted, the sequence number of the control command that failed to be sent is inserted into the sequence number of the control command to be sent, and an insertion retransmission command is generated and sent to the communication base station.

[0169] In this embodiment, a performance requirement data determination module is used to determine the performance requirement data for information transmission of the control task when initiating a control task for the execution unit; a sequence number creation module is used to create a sequence number based on the performance requirement data and add the sequence number to the control instructions of the control task; and a control instruction transmission module is used to send the control instructions to the communication base station to notify the communication base station to transmit the control instructions to the execution unit through the communication unit according to the performance requirement data in the sequence number. Through the above-described communication control device, when the communication system provides communication services, multiple control instruction buffer queues can be dynamically scheduled for transmission based on performance requirement data, and feedback can be proactively provided to the central controller in case of transmission failure, which is beneficial for timely control error correction and avoids greater impact.

[0170] Example 4

[0171] Figure 5 This is a schematic diagram of the communication control device provided in Embodiment 4 of this application.

[0172] like Figure 5 As shown, it specifically includes the following:

[0173] The control command receiving module 501 is used to receive control commands sent by the central controller based on control tasks.

[0174] The performance requirement data parsing module 502 is used to parse performance requirement data according to the serial number included in the control instruction;

[0175] The control instruction sorting module 503 is used to determine the transmission priority of each control instruction in the cache queue according to the performance requirement data, and sort the control instructions according to the transmission priority.

[0176] The transmission result sending module 504 is used to send the control instructions in the cache queue to the communication unit according to the sorting result, and to send the transmission result to the central controller.

[0177] Optionally, the device further includes:

[0178] Establish a cache queue for the control task;

[0179] The control commands are cached into the cache queue in the order of receipt, and a timer is started for each control command sequence number. The timer is used to calculate the remaining transmission time of the control command. When the remaining transmission time is 0, it is determined whether the control command has been successfully transmitted. If it has not been successfully transmitted, a transmission failure feedback message is generated and sent to the central controller.

[0180] Optionally, the sorting module according to the control instructions is specifically used for:

[0181] The priority of each control command is calculated using the following formula:

[0182] S=[FIFO_Lenghth*Command_Size] / [(1-Reliability)*TTL_min];

[0183] Where S is the priority of the control command, FIFO_Length is the depth of the buffer queue, Command_Size is the size of the control command, Reliability is the sequence number of the control command, and TTL_min is the remaining transmission time recorded in the timer of the next sequence number to be transmitted in the buffer queue.

[0184] In this embodiment, a control instruction receiving module is used to receive control instructions sent by the central controller based on a control task; a performance requirement data parsing module is used to parse performance requirement data according to the sequence number included in the control instruction; a control instruction sorting module is used to determine the transmission priority of each control instruction in the buffer queue according to the performance requirement data, and sort the control instructions according to the transmission priority; and a transmission result sending module is used to send the control instructions in the buffer queue to the communication unit according to the sorting result, and send the transmission result to the central controller. Through the above-described communication control device, when the communication system provides communication services, multiple control instruction buffer queues can be dynamically scheduled for transmission based on performance requirement data, and feedback can be actively provided to the central controller in case of transmission failure, which is beneficial for timely control error correction and avoids greater impact.

[0185] The communication control device in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network-attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.

[0186] One communication control device in this application embodiment can be a device with an operating system. The operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system.

[0187] The communication control device provided in this application embodiment can implement the various processes implemented in the above method embodiments. To avoid repetition, it will not be described again here.

[0188] Example 5

[0189] like Figure 6 As shown, this application embodiment also provides an electronic device 600, including a processor 601, a memory 602, and a program or instructions stored in the memory 602 and executable on the processor 601. When the program or instructions are executed by the processor 601, they implement the various processes of the above-described communication control method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0190] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0191] Example 6

[0192] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described communication control method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0193] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0194] Example 7

[0195] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described communication control method embodiment and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0196] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0197] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0198] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0199] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

[0200] The above description is merely a preferred embodiment and the technical principles employed in this application. This application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the claims.

Claims

1. A communication control method, characterized in that, The method is executed by a central controller, which is connected to at least one communication unit via a communication base station, and each communication unit is connected to an execution unit; the method includes: When initiating a control task for an execution unit, the performance requirements data for information transmission of the control task are determined; A serial number is created based on the performance requirement data, and the serial number is added to the control command of the control task. Creating the serial number based on the performance requirement data includes: obtaining the latency index, latency jitter index, and reliability index from the performance requirement data; composing the latency index, latency jitter index, and reliability index into a string to obtain the serial number; wherein the sum of the latency index and the latency jitter index, and the difference between the latency index and the latency jitter index, are used as the required transmission time of the control command by the communication base station, and the reliability index is used as the transmission accuracy of the control command by the communication base station. The control command is sent to the communication base station to notify the communication base station to transmit the control command to the execution unit through the communication unit according to the performance requirement data in the sequence number.

2. The communication control method according to claim 1, characterized in that, After sending the control command to the communication base station, the method further includes: Receive feedback information from the communication base station, interpret the feedback information, and identify whether the feedback information indicates a transmission failure; When the feedback information indicates a transmission failure, an exception handling strategy is determined based on the performance requirement data.

3. The communication control method according to claim 2, characterized in that, When the feedback information indicates a transmission failure, an exception handling strategy is determined based on the performance requirement data, including: When the feedback information indicates a transmission failure, the control strategy information, control algorithm information, and performance requirement data for information transmission of the control task are obtained. Based on the control strategy information, control algorithm information, and performance requirement data, the exception handling strategy is determined to be a first exception handling strategy, a second exception handling strategy, or a third exception handling strategy. Accordingly, the method further includes: If the first exception handling strategy is adopted, an ignore warning instruction is generated and sent to the communication base station; If the second exception handling strategy is adopted, a new sequence number is generated to replace the sequence number of the failed control command, and an overwrite retransmission command is generated and sent to the communication base station. If the third exception handling strategy is adopted, the sequence number of the control command that failed to be sent is inserted into the sequence number of the control command to be sent, and an insertion retransmission command is generated and sent to the communication base station.

4. A communication control method, characterized in that, The method is executed by a communication base station, the upper end of which is connected to a central controller, and the lower end of which is connected to at least one communication unit, each communication unit being connected to an execution unit; the method includes: Receive control commands sent by the central controller based on control tasks; The performance requirement data is parsed based on the serial number included in the control command; The transmission priority of each control instruction in the cache queue is determined based on the performance requirement data, and the control instructions are sorted according to the transmission priority. The determination of the transmission priority of each control instruction in the cache queue based on the performance requirement data includes: The priority of each control command is calculated using the following formula: ; Where S is the priority of the control command, FIFO_Length is the depth of the buffer queue, Command_Size is the size of the control command, Reliability is the sequence number of the control command, and TTL_min is the remaining transmission time recorded in the timer of the first sequence number to be transmitted in the buffer queue. The control instructions in the cache queue are sent to the communication unit according to the sorting result, and the transmission result is sent to the central controller.

5. The communication control method according to claim 4, characterized in that, Before determining the transmission priority of each control instruction in the cache queue based on the performance requirement data, the method further includes: Establish a cache queue for the control task; The control commands are cached into the cache queue in the order of receipt, and a timer is started for each control command sequence number. The timer is used to calculate the remaining transmission time of the control command. When the remaining transmission time is 0, it is determined whether the control command has been successfully transmitted. If it has not been successfully transmitted, a transmission failure feedback message is generated and sent to the central controller.

6. A communication control device, characterized in that, The device includes a central controller, which is connected to at least one communication unit via a communication base station, and each communication unit is connected to an execution unit; the central controller includes: The performance requirement data determination module is used to determine the performance requirement data for the information transmission of the control task when initiating a control task for the execution unit. A serial number creation module is used to create a serial number based on the performance requirement data and add the serial number to the control command of the control task. Specifically, the serial number creation module is used to: obtain the latency index, latency jitter index, and reliability index from the performance requirement data; and to string the latency index, latency jitter index, and reliability index to obtain the serial number. The sum of the latency index and the latency jitter index, and the difference between the latency index and the latency jitter index, are used as the required transmission time of the control command by the communication base station, and the reliability index is used as the transmission accuracy of the control command by the communication base station. The control command transmission module is used to send the control command to the communication base station to notify the communication base station to transmit the control command to the execution unit through the communication unit according to the performance requirement data in the sequence number.

7. A communication control device, characterized in that, The device includes a communication base station, the upper end of which is connected to a central controller, and the lower end of which is connected to at least one communication unit, each communication unit being connected to an execution unit; the communication base station includes: The control command receiving module is used to receive control commands sent by the central controller based on control tasks; The performance requirement data parsing module is used to parse performance requirement data based on the serial number included in the control command; The control instruction sorting module is used to determine the transmission priority of each control instruction in the cache queue based on the performance requirement data, and to sort the control instructions according to the transmission priority. Specifically, the control instruction sorting module is used to calculate the priority of each control instruction according to the following formula: ; Where S is the priority of the control command, FIFO_Length is the depth of the buffer queue, Command_Size is the size of the control command, Reliability is the sequence number of the control command, and TTL_min is the remaining transmission time recorded in the timer of the first sequence number to be transmitted in the buffer queue. The transmission result sending module is used to send the control instructions in the cache queue to the communication unit according to the sorting result, and to send the transmission result to the central controller.

8. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of a communication control method as described in any one of claims 1-5.

9. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of a communication control method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • B / S structure performance monitoring analysis system and method

    CN106330990A

  • Networked control system and method

    CN117793732A