Communication control method, device, equipment and medium

The communication control method addresses the challenge of ultra-reliable low-latency communication in motion control by using sequence numbers to dynamically schedule control queues and provide proactive feedback for error correction, ensuring reliable and timely transmission.

CN120321710AActive Publication Date: 2025-07-15GUANGZHOU ANGTE MASCH EQUIP CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

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

Method used

By introducing a serial number mechanism in the communication system, the data is dynamically scheduled to control the transmission of commands according to performance requirements, and exception processing is performed when the transmission fails, including generating warning instructions, resend instructions or inserting resend instructions to ensure the efficient execution of control tasks.

Benefits of technology

It realizes timely correction of errors when transmission failure, avoids greater impact on control tasks, and improves the reliability and efficiency of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321710A_ABST
    Figure CN120321710A_ABST
Patent Text Reader

Abstract

The invention discloses a communication control method and device, equipment and a medium, and belongs to the technical field of communication. The method comprises the following steps: when a control task for an execution unit is started, determining performance requirement data of information transmission of the control task; creating a serial number according to the performance requirement data, and adding the serial number to a control instruction of the control task; and issuing the control instruction to the communication base station so as to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the serial number. According to the technical scheme, dynamic transmission scheduling can be carried out on the control instruction cache queues according to the performance requirement data when the communication system provides communication services, and feedback is actively carried out to the central controller when transmission fails, so that control error correction can be carried out in time, and greater influence is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technologies, and particularly relates to a communication control method, apparatus, device, and medium. Background Art

[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, improving production efficiency and service quality, and has broad application prospects.

[0003] However, compared with general real-time communication, such as voice calls, video communication, etc., 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, wireless communication methods such as 5G technology need to be used to achieve motion control between the controller and the actuator, and the reliability of the wireless link decreases due to random fading, making it extremely difficult to meet the performance requirements of low-latency communication.

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

[0005] Embodiments of this application provide a communication control method, apparatus, device, and medium. The purpose is that when the communication system provides communication services, it can perform dynamic transmission scheduling on multiple control instruction buffer queues according to performance requirement data, and actively feedback to the central controller when the transmission fails, which is beneficial to timely control error correction and avoid causing greater impacts.

[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 through a communication base station, and each communication unit is connected to an execution unit; the method includes:

[0007] When starting a control task for the execution unit, determine the performance requirement data for information transmission of the control task;

[0008] Create a sequence number according to the performance requirement data, and add the sequence number to the control instruction of the control task;

[0009] Send the control instruction to the communication base station to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the sequence number.

[0010] Further, creating a sequence number according to the performance requirement data includes:

[0011] Obtain the latency index, latency jitter index, and reliability index in the performance requirement data, write the latency index, the latency jitter index, and the reliability index as a string to obtain a 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 duration for the communication base station to transmit the control instruction, and the reliability index is used as the transmission accuracy rate of the control instruction of the communication base station.

[0012] Further, after the control instruction is sent to the communication base station, the method further includes:

[0013] Receive the feedback information of the communication base station, interpret the feedback information, and identify whether the feedback information is a transmission failure.

[0014] When the feedback information is a transmission failure, determine an exception handling strategy according to the performance requirement data.

[0015] Further, when the feedback information is a transmission failure, determining an exception handling strategy according to the performance requirement data includes:

[0016] When the feedback information is a transmission failure, obtain the control strategy information, control algorithm information of the control task, and obtain the performance requirement data of the information transmission of the control task.

[0017] According to the control strategy information, control algorithm information, and the performance requirement data, determine that the exception handling strategy is the first exception handling strategy, the second exception handling strategy, or the third exception handling strategy.

[0018] Correspondingly, the method further includes:

[0019] If it is the first exception handling strategy, generate an ignore warning instruction and send it to the communication base station.

[0020] If it is the second exception handling strategy, generate a new serial number to replace the serial number of the control instruction with a transmission failure, and generate a cover retransmission instruction and send it to the communication base station.

[0021] If it is the third exception handling strategy, insert the serial number of the control instruction with a transmission failure into the serial numbers of the control instructions to be sent, and generate an insert retransmission instruction and send it to the communication base station.

[0022] In a second aspect, 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, and each communication unit is connected to an execution unit; the method includes:

[0023] The receiving center controller sends control instructions based on control tasks;

[0024] Parse the performance requirement data according to the sequence number included in the control instruction;

[0025] 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;

[0026] Send the control instructions in the cache queue to the communication unit according to the sorting result, and send the transmission result to the central controller.

[0027] Further, before determining the transmission priority of each control instruction in the cache queue according to the performance requirement data, the method further includes:

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

[0029] Cache the control instructions into the cache queue in the order of reception, and start a timer for the sequence number of each control instruction; wherein, the timer is used to calculate the remaining transmission time of the control instruction, and when the remaining transmission time is 0, identify whether the control instruction is successfully sent, and if not successfully sent, generate feedback information of transmission failure and send it to the central controller.

[0030] Further, determining the transmission priority of each control instruction in the cache queue according to the performance requirement data includes:

[0031] Calculate the priority of each control instruction according to the following formula:

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

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

[0034] In a third aspect, the present embodiment provides a communication control device, the device includes a central controller, the central controller is connected to at least one communication unit through a communication base station, and each communication unit is connected to an execution unit; the central controller includes:

[0035] A performance requirement data determination module, configured to determine performance requirement data for information transmission of the control task when starting the control task for the execution unit;

[0036] A serial number creation module, configured to create a serial number according to the performance requirement data and add the serial number to the control instruction of the control task;

[0037] A control instruction transmission module, configured to send the control instruction to the communication base station to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the serial number.

[0038] Further, the serial number creation module is specifically configured to:

[0039] Obtain the delay index, delay jitter index, and reliability index in the performance requirement data, write the delay index, the delay jitter index, and the reliability index as a string to obtain a serial number; wherein, the sum of the delay index and the delay jitter index, and the difference between the delay index and the delay jitter index are used as the required duration for the communication base station to transmit the control instruction, and the reliability index is used as the transmission accuracy rate of the control instruction of the communication base station.

[0040] Further, the device further includes:

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

[0042] When the feedback information is a transmission failure, determine an exception handling strategy according to the performance requirement data.

[0043] Further, the exception handling module is specifically configured to:

[0044] When the feedback information is a transmission failure, obtain the control strategy information and control algorithm information of the control task, and obtain the performance requirement data for information transmission of the control task;

[0045] According to the control strategy information, control algorithm information, and the performance requirement data, determine that the exception handling strategy is the first exception handling strategy, the second exception handling strategy, or the third exception handling strategy;

[0046] Correspondingly, the method further includes:

[0047] If it is the first exception handling strategy, generate an ignore warning instruction and send it to the communication base station;

[0048] If it is the second exception handling strategy, a new sequence number is generated to replace the sequence number of the control instruction that fails to be sent, and a retransmission instruction with overwrite is generated and sent to the communication base station;

[0049] If it is the third exception handling strategy, the sequence number of the control instruction that fails to be sent is inserted into the sequence numbers of the control instructions to be sent, and an insertion retransmission instruction is generated and sent to the communication base station.

[0050] Fourthly, this embodiment provides a communication control device, which includes 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, and each communication unit is connected to an execution unit; the communication base station includes:

[0051] A control instruction receiving module, configured to receive a control instruction sent by the central controller based on a control task;

[0052] A performance requirement data parsing module, configured to parse performance requirement data according to the sequence number included in the control instruction;

[0053] A control instruction sorting module, configured 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;

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

[0055] Furthermore, the device further includes:

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

[0057] Cache the control instructions into the cache queue in the order of reception, and start a timer for the sequence number of each control instruction; wherein, the timer is used to calculate the remaining transmission time of the control instruction. When the remaining transmission time is 0, it is identified whether the control instruction is successfully sent. If not successfully sent, a feedback message indicating a transmission failure is generated and sent to the central controller.

[0058] Furthermore, according to the control instruction sorting module, specifically:

[0059] Calculate the priority of each control instruction according to the following formula:

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

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

[0062] In a fifth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0063] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0064] In a seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0065] In the embodiment of the present application, when starting the control task for the execution unit, performance requirement data for information transmission of the control task is determined; a sequence number is created according to the performance requirement data and added to the control instruction of the control task; the control instruction is sent to the communication base station to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the sequence number. Through the above communication control method, when the communication system provides communication services, dynamic transmission scheduling can be performed on multiple control instruction buffer queues according to the performance requirement data, and when the transmission fails, feedback can be actively given to the central controller, which is beneficial to timely control error correction and avoiding greater impacts. Description of the Drawings

[0066] Figure 1 is a flowchart of a communication control method provided by Embodiment 1 of the present application;

[0067] Figure 2 is a schematic diagram of a device for the central controller to send control instructions provided by Embodiment 1 of the present application;

[0068] Figure 3 is a flowchart of a communication control method provided by Embodiment 2 of the present application;

[0069] Figure 4It is a schematic structural diagram of a communication control device provided in Embodiment 3 of the present application;

[0070] Figure 5 It is a schematic structural diagram of a communication control device provided in Embodiment 4 of the present application;

[0071] Figure 6 It is a schematic structural diagram of an electronic device provided in Embodiment 5 of the present application. Detailed implementation manners

[0072] In order to make the objectives, technical solutions, and advantages of the present application clearer, the following further describes the specific embodiments of the present application in detail with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only used to explain the present application, rather than limiting the present application. Additionally, it should be noted that for the sake of description, only parts related to the present application are shown in the drawings rather than all the content. Before discussing the 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 the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. When the operations are completed, the process can be terminated, but there can also be additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0073] The following will clearly describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, rather than all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.

[0074] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order different from those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the associated objects before and after.

[0075] The following will, with reference to the accompanying drawings, describe in detail a communication control method, device, equipment, and medium provided in the embodiments of the present application through specific embodiments and their application scenarios.

[0076] Embodiment 1

[0077] Figure 1 It is a flow chart of a communication control method provided in Example 1 of the present application.

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

[0079] S101, when starting a control task for an execution unit, determining performance requirement data for information transmission of the control task;

[0080] The application scenario of this solution may be a scenario of dynamic transmission scheduling of control instructions.

[0081] Based on the above scenario, it can be understood that the executor of this scenario can be a server for determining the transmission priority of control instructions, such as a computer or software component that provides services in a network environment, etc., and no excessive limitations are made here.

[0082] The central controller may be a device or component that coordinates and manages the execution units, analyzes and processes data, and issues control instructions to the execution units.

[0083] Communication base stations can be key infrastructure in wireless communication systems, mainly used to achieve wireless connections between mobile devices and communication networks. Communication base stations send and receive data within a certain coverage area through radio frequency signals.

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

[0085] The execution unit may be a component in the mobile device for executing control instructions.

[0086] A control task can be a control task generated by the central control end when the execution unit is required to implement a certain function, for example, obtaining data information of a mobile device. A control task can contain multiple control instructions. The execution unit can execute each control instruction according to a certain logic to achieve the purpose of executing the control task.

[0087] The performance requirement data may be data that specifies parameters during the transmission process.

[0088] The method for determining the performance requirement data for information transmission of the control task can be that the central controller determines the performance requirements for transmitting the current control task to the execution unit according to the importance and urgency of the current control task, for example, the requirements for the transmission priority, transmission rate and transmission quality of the control task.

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

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

[0091] The method of adding the serial number to the control instruction of the control task can be to write the performance requirement data corresponding to the control instruction as a string in a specified format according to the serial number generation rule, and add the string to the reserved position of the corresponding control instruction.

[0092] S103. Send the control instruction to the communication base station to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the serial number.

[0093] The method of sending the control instruction to the communication base station can be to send the control instruction with the added serial number to the communication base station. After the communication base station receives it, it forwards it to the corresponding communication unit according to the transmission performance requirement data in the serial number, and then the communication unit sends it to the execution unit connected to it, and the execution unit runs the control instruction.

[0094] For example, Figure 2 is a schematic diagram of the device for the central controller to send control instructions provided in the first embodiment of the present application. As Figure 2 shown, the central controller is connected to the communication base station, sends control instructions to the mobile device through the communication base station, or receives upload data from the mobile device. One central controller can manage the execution units of multiple mobile devices. In the mobile device, the data transmission function of the mobile device is realized through the communication unit. Therefore, the communication units of multiple mobile devices can be wirelessly connected to the communication base station. The central controller sends control instructions to each communication unit through the communication base station, and each communication unit is connected to an execution unit, so that after the communication unit receives the control instruction, it sends it to the execution unit connected to it to run the control instruction.

[0095] Based on the above solution, optionally, creating a serial number according to the performance requirement data includes:

[0096] Obtain the latency index, latency jitter index, and reliability index in the performance requirement data, write the latency index, the latency jitter index, and the reliability index as a string to obtain a 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 duration for the communication base station to transmit the control instruction, and the reliability index is used as the transmission accuracy rate of the control instruction of the communication base station.

[0097] The latency index can be the longest time used for the current control instruction to be transmitted from the central controller to the corresponding execution unit.

[0098] The latency jitter index can be the floating range of the time taken for the current control instruction to be transmitted from the central controller to the corresponding execution unit. It can be understood that the required duration for the communication base station to transmit the control instruction can be the latency index within the floating range of the latency jitter index. For example, if the latency index is 2 milliseconds and the latency jitter index is 200 microseconds, the communication base station needs to complete the transmission of the current control instruction within a duration of 2 milliseconds ± 200 microseconds.

[0099] The reliability index can be the transmission accuracy rate of the communication base station when transmitting the control instruction. For example, if the reliability index is 99.999%, the probability of the control instruction being transmitted incorrectly or lost during transmission should be less than 0.001%.

[0100] The way to obtain the string can be to write the latency index, the latency jitter index, and the reliability index as a string in the format of [latency index, latency jitter index, reliability index], and add this string as a serial number to the corresponding control instruction. For example, if the latency index, the latency jitter index, and the reliability index are 2 milliseconds, 200 microseconds, and 99.999% respectively, the corresponding serial number is [2 milliseconds, 200 microseconds, 99.999%].

[0101] The advantage of setting the solution in this way is that the latency index, the latency jitter index, and the reliability index can be used as serial numbers, which is beneficial to accurately inform the communication base station of the urgency of transmitting each control instruction, so that the communication base station can give priority to transmitting important control instructions.

[0102] Based on the above solution, optionally, after the control instruction is sent to the communication base station, the method further includes:

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

[0104] When the feedback information is a transmission failure, determine an exception handling strategy according to the performance requirement data.

[0105] The feedback information can be the feedback from the communication base station on whether the control instruction has been successfully sent to the communication unit. In this solution, it can be understood that the communication base station sends the control instruction to the corresponding communication unit according to the serial number. After receiving the control instruction, the communication unit checks the control instruction. If the transmitted control instruction is correct, it sends an acknowledgement character to the communication base station. After receiving the acknowledgement character, the communication base station determines that the current control instruction has been successfully sent, and then sends feedback information with the content of "sent successfully" to the central controller; if the transmitted control instruction is incorrect or lost, it sends a negative acknowledgement to the communication base station. After receiving the negative acknowledgement, the communication base station determines that the current control instruction has been sent failed, and then sends feedback information with the content of "sent failed" to the central controller.

[0106] It can be understood that in the communication base station, if the control instruction fails to be sent in time, that is, it exceeds the sum of the delay index and the delay jitter index in the serial number of the control instruction, it is determined that the current control instruction has been sent failed, and feedback information with the content of "sent failed" is sent to the central controller.

[0107] The method of determining the exception handling strategy according to the performance requirement data can be, after confirming that the feedback information sent by the communication base station is "sent failed", judging the importance and urgency of the control instruction according to the performance requirement data of the control instruction that has failed to be sent, and then determining the corresponding exception handling strategy. For example, for control instructions with relatively low importance, measures such as not sending again can be taken, and for control instructions that are relatively more important and have a higher urgency, measures such as immediate retransmission can be taken, etc.

[0108] The advantage of setting up this solution is that it can take into account the situation where the control instruction fails to be sent, and take corresponding exception handling measures according to the performance requirement data, so as to prevent the control instruction that has failed to be sent from hindering the transmission progress of other control instructions.

[0109] On the basis of the above solution, optionally, when the feedback information is "sent failed", determining the exception handling strategy according to the performance requirement data includes:

[0110] When the feedback information is "sent failed", obtaining the control strategy information, control algorithm information of the control task, and obtaining the performance requirement data of the information transmission of the control task;

[0111] According to the control strategy information, control algorithm information and the performance requirement data, determining the exception handling strategy as the first exception handling strategy, the second exception handling strategy or the third exception handling strategy;

[0112] Correspondingly, the method further includes:

[0113] If it is the first exception handling strategy, generate an ignore warning instruction and send it to the communication base station;

[0114] If it is the second exception handling strategy, a new serial number is generated to replace the serial number of the control instruction that fails to be sent, and a retransmission instruction with overwrite is generated and sent to the communication base station;

[0115] If it is the third exception handling strategy, the serial number of the control instruction that fails to be sent is inserted into the serial numbers of the control instructions to be sent, and an insertion retransmission instruction is generated and sent to the communication base station.

[0116] In this solution, the control strategy information and the control algorithm information can be the handling strategies for control instructions with different performance requirements in the case of sending failure, which are pre-specified by the staff. For example, for control instructions with a relatively low importance level and a relatively low urgency level during transmission, the first exception handling strategy can be adopted; for control instructions with a relatively high importance level but a relatively low urgency level, the second exception handling strategy can be adopted; for control instructions with a relatively high importance level and a relatively high urgency level, the third exception handling strategy can be adopted. At the same time, it can be understood that for control instructions that need to be re-sent, their serial numbers can be changed. For example, the delay index or the delay jitter index of the control instruction can be correspondingly shortened so that the current control instruction can be preferentially transmitted to avoid affecting the progress of the control task.

[0117] The first exception handling strategy can be that the central controller generates a corresponding ignore warning instruction for the control instruction that does not need to be re-sent and sends it to the communication base station to control the communication base station to delete the serial number of the control instruction that fails to be sent from the cache queue and not re-send the control instruction.

[0118] The second exception handling strategy can be that the central controller generates a new serial number for the currently failed control instruction. Among them, the new serial number adjusts the delay index or the delay jitter index according to the urgency level of the current control instruction, writes the new serial number into the retransmission instruction with overwrite and sends it to the communication base station to control the communication base station to replace the original serial number in the cache queue with the new serial number and re-send the control instruction that fails to be sent according to the new serial number.

[0119] The third exception handling strategy can be that the central controller inserts the serial number of the control instruction that fails to be sent into the control instruction that is about to be sent to the communication base station currently, and sends the insertion retransmission instruction together with the currently about-to-be-sent control instruction to the communication base station to control the communication base station to first traverse each cache queue, identify whether there is a serial number that duplicates the currently received control instruction, delete the duplicate serial number, and then re-send the control instruction according to the currently received serial number.

[0120] The advantage of this solution is that different exception handling strategies can be adopted for the control instructions of data with different performance requirements, which is beneficial to reducing the impact of the communication system on the execution process of control tasks and ensuring the efficient execution of control tasks.

[0121] In the embodiment of the present application, when starting the control task for the execution unit, determine the performance requirement data for information transmission of the control task; create a sequence number according to the performance requirement data, and add the sequence number to the control instruction of the control task; send the control instruction to the communication base station to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the sequence number. Through the above communication control method, when the communication system provides communication services, dynamic transmission scheduling can be performed on multiple control instruction buffer queues according to the performance requirement data, and when the transmission fails, feedback can be actively given to the central controller, which is beneficial to timely control error correction and avoiding greater impacts.

[0122] Embodiment 2

[0123] Figure 3 It is a schematic flow chart of a communication control method provided by Embodiment 2 of the present application.

[0124] As Figure 3 shown, the specific steps are as follows:

[0125] S301. Receive the control instruction sent by the central controller based on the control task;

[0126] The way to receive the control instruction can be that the communication base station receives the control instruction sent by the central controller based on the control task through the communication interface with the central controller, and each control instruction carries a sequence number.

[0127] S302. Analyze the performance requirement data according to the sequence number included in the control instruction;

[0128] The way to analyze the performance requirement data can be that after receiving the control instruction, extract the sequence number at the specified position in the control instruction, and analyze the sequence number to obtain the performance requirement data such as the delay index, delay jitter index, and reliability index carried in the sequence number.

[0129] S303. 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;

[0130] The buffer queue can be a first-in-first-out queue, which adopts a sequential storage method, that is, data elements are continuously stored in memory. This makes the queue have a certain regularity in storage, which is convenient for data management and operation.

[0131] The way to sort control instructions can be that for multiple control instructions of the same control task, after the communication base station receives the control instructions, they will be preferentially stored in the cache queue. After sorting each control instruction according to the transmission priority, the control instruction with the highest transmission priority will be placed at the end of the cache queue that exits first in the order from high to low transmission priority.

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

[0133] The way to send control instructions can be to sequentially send the control instructions from the exit end of the cache queue according to the arrangement order in the cache queue. After sending, receive the response information from the communication unit, determine the corresponding transmission result according to the confirmation character or negative character in the response information, and send it to the central controller.

[0134] The advantage of this solution is that the control instructions of the central controller can be sorted and then sent according to the priority, which is beneficial to reducing the influence of communication delay on the transmission priority of control instructions and ensuring that the execution process of control tasks is not damaged.

[0135] Based on the above solution, 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] Cache the control instructions into the cache queue in the order of reception, and start a timer for the serial number of each control instruction respectively; wherein, the timer is used to calculate the remaining transmission time of the control instruction. When the remaining transmission time is 0, identify whether the control instruction is successfully sent. If it is not successfully sent, generate feedback information of sending failure and send it to the central controller.

[0138] The way to establish a cache queue can be to establish a separate cache queue for each control task, and all control instructions of the same control task are stored in this cache queue.

[0139] A timer can be a device or software component that can trigger a certain operation or event at a preset time interval or specific time point. Its basic principle is based on a counting mechanism, providing a time reference through a stable clock source and counting time. Just like a countdown stopwatch, when the count reaches the preset value, a signal will be generated or a specific action will be executed.

[0140] In this solution, the timer is used to count down the set duration, and when the countdown ends, an event of failed control instruction transmission is triggered.

[0141] It can be understood that the communication base station stores the control instructions of the same control task received in the first-in, first-out buffer queue in the order of reception, and starts a timer for each control instruction entering the buffer queue according to the transmission time required in its serial number. The remaining transmission time of the current control instruction is determined by the countdown of this timer, that is, it is determined whether there is a problem of timeout transmission of the current control instruction.

[0142] The way to generate feedback information of transmission failure can be that when the remaining time of the timer is 0, the communication base station checks the transmission result of this control instruction, that is, identifies whether the confirmation character of the current control instruction sent by the communication unit is received. If not received, it is determined that the control instruction transmission fails, generates feedback information of transmission failure, and sends it to the central controller. Then, the communication base station can receive the exception handling measures sent by the central controller for the feedback information and execute the exception handling measures.

[0143] The advantage of setting it this way in this solution is that the remaining transmission duration of the control information can be recorded according to the timer, thereby avoiding the process of the execution unit executing the control task being disrupted by the timeout transmission of the control information, which is beneficial to ensuring the efficient execution of the control task.

[0144] Based on the above solution, optionally, determining the transmission priorities of the control instructions in the buffer queue according to the performance requirement data includes:

[0145] Calculate the priority of each control instruction according to the following formula:

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

[0147] Where S is the transmission priority of the control instruction, FIFO_Length is the depth of the buffer queue, Command_Size is the size of the control instruction, Reliability is the serial number of the control instruction, and TTL_min is the remaining transmission time recorded in the timer of the serial number that will be transmitted first in the buffer queue next.

[0148] The information base station identifies the cache queue where the current control instruction is located, obtains the depth of the cache queue, that is, the number of all serial numbers in the cache queue, and obtains the size of the current control instruction, that is, the memory size occupied by the control instruction. The total amount of control information to be transmitted for the current control task can be represented by the product of the depth of the cache queue and the size of the control instruction; and calculate the product of the serial number of the control instruction and the remaining transmission time of the control instruction to be sent first as the denominator. It is easy to get 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 instruction. Therefore, sort all the transmission priorities in the cache queue, and the control instructions in the cache queue can be transmitted in descending order of transmission priority to ensure that the most important and urgent control instructions are transmitted first.

[0149] The advantage of this solution is that the transmission priority can be calculated through a formula, and then a reasonable process can be formulated for the calculation of the transmission priority, which is beneficial to improving the determination efficiency of the transmission priority and the rationality of the control instruction transmission.

[0150] In the embodiment of the present application, the receiving central controller is based on the control instruction sent by the control task; parses the performance requirement data according to the serial number included in the control instruction; determines the transmission priority of each control instruction in the cache queue according to the performance requirement data, and sorts the control instructions according to the transmission priority; sends the control instructions in the cache queue to the communication unit according to the sorting result, and sends the transmission result to the central controller. Through the above communication control method, when the communication system provides communication services, the dynamic transmission scheduling of multiple control instruction cache queues can be performed according to the performance requirement data, and when the transmission fails, it can actively feedback to the central controller, which is beneficial to timely control error correction and avoiding greater impact.

[0151] Embodiment Three

[0152] Figure 4 It is a schematic structural diagram of the communication control device provided in Embodiment Eight of the present application.

[0153] As Figure 4 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 starting the control task of the corresponding execution unit;

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

[0156] The control instruction transmission module 403 is configured to send the control instruction to the communication base station, so as to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the serial number.

[0157] Optionally, the serial number creation module is specifically configured to:

[0158] Obtain the delay index, delay jitter index, and reliability index in the performance requirement data, write the delay index, the delay jitter index, and the reliability index as a string to obtain a serial number; wherein, the sum of the delay index and the delay jitter index, and the difference between the delay index and the delay jitter index are used as the required duration for the communication base station to transmit the control instruction, and the reliability index is used as the transmission accuracy rate of the control instruction of the communication base station.

[0159] Optionally, the device further includes:

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

[0161] When the feedback information is a transmission failure, determine an exception handling strategy according to the performance requirement data.

[0162] Optionally, the exception handling module is specifically configured to:

[0163] When the feedback information is a transmission failure, obtain the control strategy information, control algorithm information of the control task, and obtain the performance requirement data of the information transmission of the control task;

[0164] According to the control strategy information, control algorithm information, and the performance requirement data, determine that the exception handling strategy is the first exception handling strategy, the second exception handling strategy, or the third exception handling strategy;

[0165] Correspondingly, the method further includes:

[0166] If it is the first exception handling strategy, generate an ignore warning instruction and send it to the communication base station;

[0167] If it is the second exception handling strategy, generate a new serial number to replace the serial number of the control instruction with a transmission failure, and generate a cover retransmission instruction and send it to the communication base station;

[0168] If it is the third exception handling strategy, insert the serial number of the control instruction with a transmission failure into the serial number of the control instruction to be sent, and generate an insert retransmission instruction and send it to the communication base station.

[0169] In an embodiment of the present application, a performance requirement data determination module is configured to determine performance requirement data for information transmission of a control task when starting a control task for an execution unit; a serial number creation module is configured to create a serial number according to the performance requirement data and add the serial number to a control instruction of the control task; a control instruction transmission module is configured to send the control instruction to the communication base station to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the serial number. Through the above-mentioned communication control device, when the communication system provides a communication service, dynamic transmission scheduling can be performed on multiple control instruction buffer queues according to performance requirement data, and when the transmission fails, feedback can be actively given to the central controller, which is beneficial to timely control error correction and avoids causing greater impacts.

[0170] Embodiment 4

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

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

[0173] A control instruction receiving module 501 is configured to receive a control instruction sent by a central controller based on a control task;

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

[0175] A control instruction sorting module 503 is configured to determine the transmission priority of each control instruction in a buffer queue according to the performance requirement data and sort the control instructions according to the transmission priority;

[0176] A transmission result sending module 504 is configured to send the control instructions in the buffer queue to a communication unit according to the sorting result and send a transmission result to the central controller.

[0177] Optionally, the device further includes:

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

[0179] Cache the control instructions into the buffer queue in the order of reception, and start a timer for the serial number of each control instruction; wherein, the timer is used to calculate the remaining transmission time of the control instruction, and when the remaining transmission time is 0, identify whether the control instruction is successfully sent, and if not, generate feedback information indicating a transmission failure and send it to the central controller.

[0180] Optionally, the control instruction sorting module is specifically configured to:

[0181] Calculate the priority of each control instruction according to the following formula:

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

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

[0184] In the embodiment of the present application, the control instruction receiving module is configured to receive the control instruction sent by the central controller based on the control task; the performance requirement data parsing module is configured to parse the performance requirement data according to the sequence number included in the control instruction; the control instruction sorting module is configured 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; the transmission result sending module is configured 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 communication control device, when the communication system provides communication services, dynamic transmission scheduling can be performed on multiple control instruction buffer queues according to the performance requirement data, and when the transmission fails, feedback can be actively given to the central controller, which is beneficial to timely control error correction and avoid causing greater impact.

[0185] A communication control device in the embodiment of the present application may be a device, or a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiment of the present application.

[0186] The communication control device in the embodiments of the present application can be a device with an operating system. The operating system can be the Android operating system, the iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

[0187] The communication control device provided in the embodiments of the present application can implement each process implemented in the above method embodiments. To avoid repetition, it will not be elaborated here.

[0188] Embodiment Five

[0189] As Figure 6 shown, the embodiments of the present application further provide an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored on the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, it implements each process of the above method embodiment of a communication control, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0190] It should be noted that the electronic device in the embodiments of the present application includes the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0191] Embodiment Six

[0192] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above method embodiment of a communication control, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0193] Wherein, 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, etc.

[0194] Embodiment Seven

[0195] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement each process of the above method embodiment of a communication control, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

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

[0197] It should be noted that in this text, the term "including", "comprising", or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements not only includes those elements but also other elements not explicitly listed, or elements that are inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including one..." does not exclude the presence of additional identical elements in the process, method, article, or device that includes such element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.

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

[0199] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.

[0200] The above is only the preferred embodiment of the present application and the technical principles applied. The present application is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments. Without departing from the concept of the present application, more other equivalent embodiments may be included, and the scope of the present application 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 through a communication base station, and each communication unit is connected to an execution unit; the method includes: When starting the control task for the execution unit, determining the performance requirement data for information transmission of the control task; Creating a serial number according to the performance requirement data, and adding the serial number to the control instruction of the control task; Sending the control instruction to the communication base station to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the serial number.

2. The communication control method according to claim 1, characterized in that, Creating a serial number according to the performance requirement data includes: Obtaining the delay index, delay jitter index and reliability index in the performance requirement data, writing the delay index, the delay jitter index and the reliability index as a string to obtain a serial number; wherein, the sum of the delay index and the delay jitter index, and the difference between the delay index and the delay jitter index are used as the required duration for the communication base station to transmit the control instruction, and the reliability index is used as the transmission accuracy rate of the control instruction of the communication base station.

3. The communication control method according to claim 1, wherein After sending the control instruction to the communication base station, the method further includes: Receiving the feedback information from the communication base station, interpreting the feedback information, and identifying whether the feedback information is a transmission failure; When the feedback information is a transmission failure, determining an exception handling strategy according to the performance requirement data.

4. The communication control method according to claim 3, characterized in that, When the feedback information is a transmission failure, determining an exception handling strategy according to the performance requirement data includes: When the feedback information is a transmission failure, obtaining the control strategy information and control algorithm information of the control task, and obtaining the performance requirement data for information transmission of the control task; According to the control strategy information, control algorithm information and the performance requirement data, determining the exception handling strategy as the first exception handling strategy, the second exception handling strategy or the third exception handling strategy; Correspondingly, the method further includes: If it is the first exception handling strategy, generating an ignore warning instruction and sending it to the communication base station; If it is the second exception handling strategy, generating a new serial number to replace the serial number of the control instruction with a transmission failure, and generating a cover retransmission instruction and sending it to the communication base station; If it is the third exception handling strategy, inserting the serial number of the control instruction with a transmission failure into the serial number of the control instruction to be sent, and generating an insertion retransmission instruction and sending it to the communication base station.

5. A communication control method, characterized in that, The method is executed by a communication base station, the upper end of the communication base station is connected to a central controller, the lower end of the communication base station is connected to at least one communication unit, and each communication unit is connected to an execution unit; the method includes: Receiving a control instruction sent by the central controller based on a control task; Analyzing the performance requirement data according to the serial number included in the control instruction; Determining the transmission priority of each control instruction in the buffer queue according to the performance requirement data, and sorting the control instructions according to the transmission priority; Send the control instructions in the cache queue to the communication unit according to the sorting result, and send the transmission result to the central controller.

6. The communication control method according to claim 5, wherein Before determining the transmission priorities of the control instructions in the cache queue according to the performance requirement data, the method further includes: Establish a cache queue for the control tasks; Cache the control instructions into the cache queue in the order of reception, and start a timer for the sequence number of each control instruction; wherein, the timer is used to calculate the remaining transmission time of the control instruction. When the remaining transmission time is 0, identify whether the control instruction is successfully sent. If not, generate feedback information indicating transmission failure and send it to the central controller.

7. The communication control method according to claim 6, characterized in that Determining the transmission priorities of the control instructions in the cache queue according to the performance requirement data includes: Calculate the priority of each control instruction according to the following formula: S = [FIFO_Lenghth * Command_Size] / [(1 - Reliability) * TTL_min]; where S is the priority of the control instruction, FIFO_Length is the depth of the cache queue, Command_Size is the size of the control instruction, Reliability is the sequence number of the control instruction, and TTL_min is the remaining transmission time recorded in the timer of the sequence number that will be the first to be transmitted next in the cache queue.

8. A communication control device, characterized in that, The device includes a central controller, which is connected to at least one communication unit through a communication base station, and each communication unit is connected to an execution unit; the central controller includes: A performance requirement data determination module, configured to determine the performance requirement data for information transmission of the control task when starting the control task for the execution unit; A sequence number creation module, configured to create a sequence number according to the performance requirement data and add the sequence number to the control instruction of the control task; A control instruction transmission module, configured to send the control instruction to the communication base station to notify the communication base station to transmit the control instruction to the execution unit through the communication unit according to the performance requirement data in the sequence number.

9. A communication control device, characterized in that, The device includes a communication base station, the upper end of the communication base station is connected to the central controller, the lower end of the communication base station is connected to at least one communication unit, and each communication unit is connected to an execution unit; the communication base station includes: A control instruction reception module, configured to receive the control instruction sent by the central controller based on the control task; A performance requirement data parsing module, configured to parse the performance requirement data according to the sequence number included in the control instruction; A control instruction sorting module, configured to determine the transmission priorities of the control instructions in the cache queue according to the performance requirement data and sort the control instructions according to the transmission priorities; A transmission result sending module, configured to send the control instructions in the cache queue to the communication unit according to the sorting result and send the transmission result to the central controller.

10. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor. When the program or instructions are executed by the processor, the steps of a communication control method as described in any one of claims 1-7 are implemented.

11. A readable storage medium, characterized in that, A program or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, the steps of a communication control method as described in any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • B / S structure performance monitoring analysis system and method

    CN106330990A

  • Fault link detection method and apparatus, and computer readable storage medium

    CN108833202A

  • Networked control system and method

    CN117793732A

  • Method, device and equipment for dynamically configuring waiting time based on disk array accelerator card and storage medium

    CN118672521A

  • Data analysis method, device and equipment based on intelligent gateway and storage medium

    CN119337291A