AFDX terminal system and method for improving virtual link scheduling efficiency
By introducing signal interaction between virtual link memory and sending state machine in the AFDX end system, adjusting the scheduling cycle according to the frame length, the problem of low virtual link scheduling efficiency in the prior art is solved, and the scheduling efficiency of the AFDX end system is significantly improved and capacity.
Patent Information
- Application Number
- CN202010833820.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-18
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-08-18
AI Technical Summary
The virtual link scheduling efficiency in the existing AFDX end systems is low, resulting in too long scheduler cycles, reducing the processing efficiency and system performance of short frame-long virtual links.
By introducing virtual link memory, memory reading interface, sending state machine and physical PHY in the AFDX end system, and using signal interaction between the virtual link scheduler and the sending state machine, the sending state is flexibly adjusted according to the frame length of the effective data The scheduling cycle of the machine is optimized for the execution of the scheduling process and the sending process.
It improves the scheduling efficiency of the virtual link scheduler, increases the number of virtual links that the AFDX end system can accommodate, and improves the overall performance.
Smart Images

Figure CN114157615B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of avionics full-duplex switching Ethernet, in particular to an AFDX terminal system and method for improving virtual link scheduling efficiency. Background Art
[0002] Avionics Full-Duplex Switched Ethernet (AFDX) is an electrical and protocol standard for data exchange between avionics systems. As airborne communications place increasing demands on bus capacity and determinism, AFDX is increasingly being used in airborne communications for its high rate, high load, and strong determinism.
[0003] At present, the scheduling method adopted by the existing AFDX end system is generally to query and schedule each virtual link periodically. The data sent by different virtual links are of different lengths. If the scheduler adopts a periodic scheduling method, then the scheduler cycle must use the maximum frame length of the virtual link as the period for scheduling. For most virtual links with relatively short frame lengths, the scheduling efficiency of the scheduler is greatly reduced, and the capacity of the number of VL virtual links is also reduced, which also reduces the overall performance of the AFDX end system. Summary of the invention
[0004] The present invention aims to solve the problem of low scheduling efficiency of the AFDX end system in the prior art, and provides a novel AFDX end system and method for improving the scheduling efficiency of virtual links.
[0005] In order to achieve this purpose, the technical solution of the present invention is as follows: an AFDX end system for improving the efficiency of virtual link scheduling, comprising a virtual link memory, a memory read interface, a virtual link scheduler, a sending state machine and a physical PHY, wherein the virtual link memory, the memory read interface, the sending state machine and the physical PHY are connected in sequence, and the virtual link scheduler is respectively connected to the virtual link memory and the sending state machine.
[0006] The present invention also provides a method for improving the virtual link scheduling efficiency of the AFDX end system, which includes the following steps and is performed in sequence:
[0007] Step S1, providing the AFDX terminal system;
[0008] Step S2, initializing the virtual link scheduler and the sending state machine: setting the scheduling success signal of the virtual link scheduler and the busy state signal of the sending state machine to be invalid;
[0009] Step S3, the virtual link scheduler obtains the busy state signal from the sending state machine and determines whether the busy state signal is invalid. If the busy state signal is invalid, further determine whether there is valid data in the virtual link memory: if there is valid data in the virtual link memory, execute the scheduling process and set the scheduling success signal to valid after the scheduling process is completed;
[0010] Step S4, the sending state machine obtains the scheduling success signal from the virtual link scheduler and determines whether the scheduling success signal is valid: if the scheduling success signal is valid, the sending process is executed and the busy state signal is set to be valid during the execution of the sending process, and after the execution of the sending process is completed, the busy state signal and the scheduling success signal are set to be invalid; and,
[0011] Step S5, repeating steps S3 and S4 until the AFDX end system stops working.
[0012] As a preferred solution of the method of the AFDX end system for improving the virtual link scheduling efficiency, in step S3, the scheduling process is to send the valid data from the virtual link memory to the memory read interface.
[0013] As a preferred solution of the method of the AFDX end system for improving the scheduling efficiency of virtual links, in step S3, if the busy status signal is valid, jump to step S4.
[0014] As a preferred solution of the method of the AFDX end system for improving the scheduling efficiency of virtual links, in step S3, if the scheduling success signal is valid, jump to step S4.
[0015] As a preferred solution of the method of the AFDX end system for improving the efficiency of virtual link scheduling, in step S4, the sending process is to send the valid data from the memory read interface to the physical PHY via the sending state machine.
[0016] As a preferred solution of the method of the AFDX end system for improving the virtual link scheduling efficiency, in step S4, the sending state machine first reads the frame length of the valid data from the memory read interface, and then reads the valid data according to the frame length of the valid data.
[0017] As a preferred solution of the method of the AFDX end system for improving the scheduling efficiency of virtual links, in step S4, if the scheduling success signal is invalid, jump to step S5.
[0018] Compared with the prior art, the beneficial effects of the present invention are at least that: the scheduling period of the sending state machine is flexibly adjusted according to the frame length of the valid data, the scheduling efficiency of the virtual link scheduler is greatly improved, and the AFDX end system can accommodate more virtual links.
[0019] In addition to the technical problems solved by the present invention, the technical features that constitute the technical solution, and the beneficial effects brought about by the technical features of the technical solution described above, other technical problems that can be solved by the present invention, other technical features included in the technical solution, and the beneficial effects brought about by these technical features will be further described in detail in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a structural schematic diagram of the present invention.
[0021] Figure 2 The present invention is a flow chart of the method. DETAILED DESCRIPTION
[0022] The present invention is further described in detail below by means of specific embodiments connected with the accompanying drawings. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0023] See also Figure 1 , the figure shows an AFDX end system for improving the efficiency of virtual link scheduling. The AFDX end system is composed of a virtual link memory 1, a memory read interface 2, a transmission state machine 3, a physical PHY4 and a virtual link scheduler 5. Among them, the virtual link memory 1, the memory read interface 2, the transmission state machine 3 and the physical PHY4 are connected in sequence. The virtual link scheduler 5 is connected to the virtual link memory 1 and the transmission state machine 3 respectively, that is, the transmission state machine 3 and the virtual scheduler 4 are connected to each other by two signal lines.
[0024] Before the data of each virtual link is scheduled by the virtual link scheduler 5 and sent, the data is stored in the virtual link memory 1 and then waits for scheduling by the scheduler.
[0025] The virtual link memory 1 is used to store virtual link data waiting to be scheduled.
[0026] The memory read interface 2: When the data of a certain virtual link is successfully scheduled, this module is responsible for reading the data in the virtual link memory 1 and reading the data length in the IP header to identify the end point of data transmission.
[0027] The virtual link scheduler 5: when it is detected that the sendmachine_busy signal is 0 (i.e. the sending state machine is in an idle state), a scheduling process is started. If there is valid data in the memory and it meets the requirements of traffic shaping, the virtual link scheduler 5 will schedule successfully and set the schedule_successful signal to 1 (i.e. scheduling is successful).
[0028] The sending state machine 3: when it is detected that the Schedule_successful signal is valid, that is, it is 1, the sending process is started, and the data is sent to the data bus through the physical PHY4.
[0029] The physical PHY4 is a physical interface for data transmission, 4 bits are transmitted per clock cycle, and the bus rate is 100M / s.
[0030] The method of the AFDX end system for improving the virtual link scheduling efficiency comprises the following steps and is performed in sequence:
[0031] Step S1, providing an AFDX end system;
[0032] Step S2, initializing the virtual link scheduler and the sending state machine: setting the scheduling success signal of the virtual link scheduler and the busy state signal of the sending state machine to be invalid;
[0033] Step S3, the virtual link scheduler obtains the busy state signal from the sending state machine and determines whether the busy state signal is invalid. If the busy state signal is invalid, further determine whether there is valid data in the virtual link memory: if there is valid data in the virtual link memory, execute the scheduling process and set the scheduling success signal to valid after the scheduling process is completed;
[0034] Step S4, the sending state machine obtains the scheduling success signal from the virtual link scheduler and determines whether the scheduling success signal is valid: if the scheduling success signal is valid, the sending process is executed and the busy state signal is set to be valid during the execution of the sending process, and after the execution of the sending process is completed, the busy state signal and the scheduling success signal are set to be invalid; and,
[0035] Step S5, repeating steps S3 and S4 until the AFDX end system stops working.
[0036] The above only expresses the implementation mode of the present invention, and its description is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be based on the attached claims.
Claims
1. A method for improving the efficiency of virtual link scheduling in an AFDX end system, characterized in that: It contains the following steps and is executed in sequence: Step S1, providing an AFDX end system, wherein the AFDX end system comprises a virtual link memory, a memory read interface, a virtual link scheduler, a transmission state machine and a physical PHY, wherein the virtual link memory, the memory read interface, the transmission state machine and the physical PHY are connected in sequence, and the virtual link scheduler is connected to the virtual link memory and the transmission state machine respectively; Step S2, initializing the virtual link scheduler and the sending state machine: setting the scheduling success signal of the virtual link scheduler and the busy state signal of the sending state machine to be invalid; Step S3, the virtual link scheduler obtains the busy state signal from the sending state machine and determines whether the busy state signal is invalid. If the busy state signal is invalid, further determine whether there is valid data in the virtual link memory: if there is valid data in the virtual link memory, execute the scheduling process and set the scheduling success signal to valid after the scheduling process is completed; Step S4, the sending state machine obtains the scheduling success signal from the virtual link scheduler and determines whether the scheduling success signal is valid: if the scheduling success signal is valid, the sending process is executed and the busy state signal is set to be valid during the execution of the sending process, and after the execution of the sending process is completed, the busy state signal and the scheduling success signal are set to be invalid; and, Step S5, repeating steps S3 and S4 until the AFDX end system stops working; In step S4, the sending process is to send the valid data from the memory read interface to the physical PHY via the sending state machine; In step S4, the sending state machine first reads the frame length of the valid data from the memory read interface, and then reads the valid data according to the frame length of the valid data.
2. The method of the AFDX end system for improving virtual link scheduling efficiency according to claim 1, characterized in that: In step S3, the scheduling process sends the valid data from the virtual link memory to the memory read interface.
3. The method of the AFDX end system for improving virtual link scheduling efficiency according to claim 1, characterized in that: In step S3, if the busy status signal is valid, jump to step S4.
4. The method of the AFDX end system for improving virtual link scheduling efficiency according to claim 1, characterized in that: In step S3, if the scheduling success signal is valid, jump to step S4.
5. The method of the AFDX end system for improving virtual link scheduling efficiency according to claim 1, characterized in that: In step S4, if the scheduling success signal is invalid, jump to step S5.
