Scheduling method for FC-AE-1553 bus transmission network
By defining instruction words, configuration words and other structural units in the transmission layer of the FC-AE-1553 bus, data scheduling and management are realized, and the problem of insufficient reliability and high certainty of user data on the FC-AE-1553 bus is solved, and the problem of insufficient data on the FC-AE-1553 bus is realized. High reliability and low latency data transmission.
Patent Information
- Application Number
- CN202410333489.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2044-03-22
AI Technical Summary
The FC-AE-1553 bus protocol has shortcomings in the high reliability and high certainty of user data, and has failed to effectively ensure the high reliability and low latency of data transmission.
The four basic structural units are defined in the transmission layer of the FC-AE-1553 bus: instruction word, configuration word, instruction execution status word and data word. Through these structural units, data scheduling, retransmission, multiple redundant transmission and cache data are realized. Space management ensures low latency design of data links.
It realizes the high reliability and low latency of the FC-AE-1553 bus, supports data retransmission and multiple redundant transmission, further ensuring the high reliability and high certainty of user data.
Smart Images

Figure CN118199813B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of bus communication used for aviation, aerospace communication and the like, and in particular to a scheduling method for an FC-AE-1553 bus transmission network. Background Art
[0002] In the past two decades, the aerospace industry has flourished, and the demand for high-speed, high-stability, and high-real-time buses has continued to increase. As an upgraded version of the traditional 1553B bus, the FC-AE-1553 bus has been widely used in the aerospace field.
[0003] The FC-AE-1553 bus protocol is developed by the Fibre Channel (FC) Avionics Environment Subcommittee (ANSI FC-AE). It is obtained by mapping the MID-STL-1553 protocol to the FC-4 layer. Therefore, it is also a command-response protocol. This protocol inherits the characteristics of the traditional MID-STL-1553 protocol and has the following functional features:
[0004] High reliability: command-response communication mechanism, optical fiber communication medium has strong anti-electromagnetic interference ability and low bit error rate;
[0005] High bandwidth: Gpbs transmission capacity;
[0006] Periodic scheduling: According to the implementation method of 1553B for the transport layer, it supports periodic data transmission;
[0007] Strong compatibility: compatible with traditional MLT-STD-1553B bus network;
[0008] Long transmission distance: optical fiber medium, the transmission distance can reach 150m ~ 50km.
[0009] However, since the FC-AE-1553 bus protocol focuses more on the command-response data interaction mechanism, and does not make clear requirements for data retransmission and redundant transmission, the high reliability and high certainty of user data cannot be further guaranteed. Therefore, in the field of avionics, a better FC-AE-1553 scheduling implementation method is imperative. Summary of the invention
[0010] In view of the above-mentioned problems and shortcomings of the FC-AE-1553 bus, the present invention provides a scheduling method for the FC-AE-1553 bus, specifically involving user-oriented business data, which is converted into FC-AE-1553 protocol data through transport layer scheduling processing, and transmitted and controlled in the FC-AE-1553 bus system, providing a method with high real-time, low latency, large bandwidth and time certainty for data transmission of FC-AE-1553 bus terminal communication devices.
[0011] The present invention provides a scheduling method, which is used for an FC-AE-1553 bus transmission network. Four basic structural units, namely, instruction words, configuration words, instruction execution status words and data words, are defined in the FC-AE-1553 transmission layer. The instruction words are used to implement at least one of the following: determining a mapping rule from a transmission layer instruction scheduling message to an FC-AE-1553 message scheduling, determining the number of message retransmissions, and completing multi-port redundant transmission designation of scheduling messages; the configuration words are used to execute periodic operation management of instruction words and creation and maintenance of user data NT-SA cache space; the instruction execution status words report all states during the execution of instruction words to the user layer; the data words complete the interaction between the user layer data and the transmission layer data, and the scheduling of FC-AE-1553 bus transmission is completed by scheduling the instruction words.
[0012] In some possible implementation methods, the four basic structural units all include a header with a length of 12 DWs, and the header and data payload both follow the little-endian mode definition, that is, low-order data is placed in the low order of the structure.
[0013] In some possible implementation methods, bit 4 and bit 5 in the first DW of the four basic structural units are WT fields, and the WT field is used to distinguish the four basic structural units.
[0014] In some possible implementation methods, the instruction word includes at least one or more of the following fields: an IA field for distinguishing different instruction words, a CMD field for determining a transport layer instruction scheduling message to an FC-AE-1553 message scheduling mapping rule, an RE field for determining a message retransmission count, and a TX_PORT field for completing a specified multi-port redundant transmission of a scheduling message.
[0015] In some possible implementation methods, when CMD is equal to 1, it indicates that the current message is an NC-NT message; when CMD is equal to 2, it indicates that the current message is an NT-NC message; when CMD is equal to 3, it indicates that the current message is an NT-NT message; when CMD is equal to 4, it indicates that the current message is a mode code message.
[0016] In some possible implementation methods, bit8 to bit15 in the first DW in the configuration word is a CCMD field, and the configuration word is divided into 6 different functional configuration words through the CCMD field, among which, when CCMD is equal to 1, it indicates that the current configuration word is an immediate switching cycle scheduling configuration word, and the cycle operation scheduling trigger of the instruction word can be completed by specifying the starting instruction word sequence number and the number of running instruction words; when CCMD is equal to 2, it indicates that the current configuration word is a blocking switching cycle scheduling configuration word, and the cycle operation scheduling trigger of the new instruction word is continued after the current cycle operation is completed by specifying the starting instruction word sequence number and the number of running instruction words; when CCMD is equal to 16, it indicates that the current configuration word is a non-periodic high priority scheduling configuration word; the non-periodic operation scheduling of the instruction word is completed; when CCMD is equal to 17, it indicates that the current configuration word is a non-periodic low priority scheduling configuration word, and the non-periodic operation scheduling of the instruction word is completed.
[0017] In some possible implementation methods, the configuration word is also used to notify the transport layer to complete the creation and destruction of the user data cache space.
[0018] In some possible implementation methods, when CCMD is equal to 30, it indicates that the current configuration word for the NT-SA cache area is created. The user completes the creation of the NT-SA cache space size by filling in the Block Memory Size field. The unit is 4KB, and the default size of a single NT-SA cache area does not exceed 2MB; when CCMD is equal to 31, it indicates that the current configuration word for the NT-SA cache area is destroyed, and the destruction of the created NT-SA cache space is completed.
[0019] In some possible implementation methods, the scheduling and operation of various messages are completed by cooperating with the scheduling configuration word and the instruction word, and the running priority of the message follows the following principle: non-periodic high priority > non-periodic low priority > periodic high priority > periodic low priority.
[0020] In some possible implementation methods, the status reported to the user layer includes one or more of the following: the number of sent or received data, abnormal sending or receiving status, and the execution time of the instruction word.
[0021] In some possible implementation methods, the transport layer creates an instruction word cache space by default to cache instruction words sent by the user layer, and a maximum of 1024 instruction words can be cached.
[0022] In some possible implementation methods, 2 GB of transport layer cache space is allocated to store data sent and / or received by the user layer.
[0023] In some possible implementation methods, the user layer subdivides the cache space through the configuration word, each message supports a maximum of 2MB of space division, and completes the interaction of user data to the transport layer cache space data through the data word.
[0024] In some possible implementation methods, an information maintenance table is used for NT-SA cache space data read and write maintenance.
[0025] In some possible implementation methods, the scheduling method includes the following operating steps:
[0026] S1301, the user layer plans the scheduling message type in advance;
[0027] S1302, completing the instruction word scheduling initialization and NT-SA user space data filling of the transport layer by creating the configuration word, the instruction word, and the data word;
[0028] S1303, triggering the instruction word scheduling operation by scheduling the configuration word;
[0029] S1304, scheduling the configuration words may be divided into periodic scheduling configuration words and non-periodic scheduling configuration words;
[0030] S1305, the periodic scheduling configuration word can be divided into an immediate switching periodic scheduling configuration word and a blocking switching periodic scheduling configuration word;
[0031] S1306, updating the starting instruction word and the number of instruction words to be run according to the periodic scheduling configuration word;
[0032] S1307, running the instruction word, and completing the conversion to FC-AE-1553 protocol scheduling according to the field of the instruction word;
[0033] S1308, the end of the instruction word operation needs to be judged in real time based on the remaining time of the cycle and the end instruction word sequence number;
[0034] S1309, waiting for the cycle operation to end, during which the cycle operation instruction word information is updated;
[0035] S1310, judging whether it is necessary to stop the scheduling, if the user layer does not send a scheduling end signal, returning to the S1306 state to continue to run the instruction word;
[0036] S1311. End scheduling.
[0037] The beneficial effects of the present invention are as follows: the scheduling mechanism provided by the present invention can not only fully support the FC-AE-1553 command response mechanism, but also support data retransmission and multi-channel redundant transmission mechanism. The data link adopts a low-latency design to further ensure the high reliability and low latency of the FC-AE-1553 bus. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] FIG1 is a definition of the instruction word structure of the present invention;
[0039] FIG2 is a FC-AE-1553 command frame header format of the present invention;
[0040] FIG3 is a configuration word structure definition of the present invention;
[0041] FIG4 is a definition of the instruction execution status word structure of the present invention;
[0042] FIG5 is a data word structure definition of the present invention;
[0043] FIG6 is a definition of the configuration word structure of the immediate switching periodic scheduling of the present invention;
[0044] FIG. 7 is a block cycle scheduling configuration word structure definition of the present invention;
[0045] FIG8 is a non-periodic high priority scheduling configuration word structure definition of the present invention;
[0046] FIG9 is a non-periodic low priority scheduling configuration word structure definition of the present invention;
[0047] FIG10 is a structure definition of creating a NT-SA configuration word of the present invention;
[0048] FIG11 is a structure definition of the configuration word for destroying NT-SA of the present invention;
[0049] FIG12 is a structure definition of the information maintenance table of the present invention;
[0050] FIG. 13 is a scheduling operation flow of the present invention. DETAILED DESCRIPTION
[0051] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the relevant drawings in the embodiments of the present invention. It is obvious that the described implementation methods are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention. In the description of the present invention, unless otherwise specified, the meaning of "multiple" is two or more.
[0052] The main equipment of the FC-AE-1553 communication network includes the network controller (Net Controller, NC), the network terminal node (Net Terminal, NT) and the FC switch.
[0053] In the FC-AE-1553 network, each data exchange is initiated by the NC unit. The NC unit uses command frames to trigger the NT unit to perform NC-NT, NT-NC, and NT-NT message scheduling. The NT unit responds to the message scheduling of the NC unit through status frames and performs user data interaction under the scheduling of the NC.
[0054] The purpose of the present invention is to provide a scheduling method for FC-AE-1553, which is suitable for FC-AE-1553 bus transmission network and supports FC-AE-1553 command response mechanism. This scheduling method is mainly oriented to the transmission layer, and by adding redundant transmission, data retransmission mechanism and scheduling capability classification mechanism in the transmission layer, the high reliability and low latency of data transmission are further guaranteed.
[0055] In order to achieve the above object, the technical solution adopted by the present invention is:
[0056] In the FC-AE-1553 transport layer, the data formats of four basic structural units are defined: command word, configuration word, command execution status word, and data word.
[0057] The instruction word is the core of the transport layer. The sending, management and control of user data all rely on the instruction word.
[0058] The configuration word is the core of the scheduling mechanism, responsible for completing the cycle operation management of the execution instruction word and creating and maintaining the user data NT-SA cache space;
[0059] The instruction execution status word reports all the status during the instruction word execution to the user layer, including: the number of sent and received data, abnormal sending and receiving status, instruction word execution time, etc.
[0060] The data word completes the interaction between user layer data and transport layer data.
[0061] By default, the transport layer creates an instruction word cache space to cache instruction words sent by the user layer. A maximum of 1024 instruction words can be cached. A 2GB cache space is opened to store data sent and received by the user layer. The user layer can subdivide the cache space through configuration words. Each message supports a maximum of 2MB of space division. Data words are used to complete the interaction between user data and the transport layer cache space.
[0062] The four basic structural units defined in the present invention all have a header with a length of 12 DWs, and the header and data payload both follow the little-endian mode definition, that is, the low-order data is placed in the low-order of the structure.
[0063] In the present invention, bit4 and bit5 in the first DW of the four basic structural units are agreed to be the WT field, and the four structural units can be distinguished by the WT field:
[0064] like Figure 1 As shown, when WT is equal to 0, the flag is currently an instruction word structure unit. In the present invention, the instruction word can be equivalent to the command frame of FC-AE-1553 after processing. The scheduling of FC-AE-1553 can be completed by scheduling the instruction word.
[0065] FC-AE-1553 command header Figure 2 As shown in the figure, the mapping between instruction word and FC-AE-1553 command header follows the following rules:
[0066] 1. The SID, DID, SA, R_CTRL, and CS_CTRL fields can be directly mapped to standard FC frame header fields;
[0067] 2. The FlAGS, SA / MODE, DC / MC, Multicast Addr / Oher PortID, and Other SA fields are mapped to DW6, DW7, DW8, DW10, and DW11 in the FC-AE-1553 command header;
[0068] The IA field can be used to distinguish different instruction words, and the CMD field can be used to further clarify the mapping rules from the transport layer instruction scheduling message to the FC-AE-1553 message scheduling:
[0069] When CMD is equal to 1, it indicates that the current message is an NC-NT message;
[0070] When CMD is equal to 2, it indicates that the current message is a NT-NC message;
[0071] When CMD is equal to 3, it indicates that the current message is a NT-NT message;
[0072] When CMD is equal to 4, it indicates that the current message is a mode code message;
[0073] In the instruction word, the RE field is used to determine the number of message retransmissions, supporting up to 3 retransmissions, and the TX_PORT field is used to complete the multi-port redundant transmission specification of the scheduling message.
[0074] like Figure 5As shown, when WT is equal to 1, it indicates that the current unit is a data word structure unit, and the overall packet length of the data word does not exceed 4KB. When the user data exceeds 4KB, it needs to be unpacked and divided into multiple data words for transmission. It should be noted here that when the user data is being filled, the Frame Count of the first data word is the largest. When the Frame Count is 0, it indicates that the user has completed the current data filling.
[0075] like Figure 3 As shown in the figure, when WT is equal to 2, the flag is currently a configuration word structure unit; in the configuration word, bit8 to bit15 in the first DW are agreed to be CCMD fields, and the configuration word is divided into 6 different functional configuration words through the CCMD field:
[0076] like Figure 6 As shown, when CCMD is equal to 1, the flag is currently to immediately switch the cycle scheduling configuration word, and the cycle operation scheduling trigger of the instruction word can be completed by specifying the starting instruction word sequence number and the number of running instruction words;
[0077] like Figure 7 As shown, when CCMD is equal to 2, the flag is currently blocking the switching cycle scheduling configuration word, and the cycle operation scheduling trigger of the new instruction word is continued after the current cycle operation is completed by specifying the starting instruction word sequence number and the number of running instruction words;
[0078] like Figure 8 As shown, when CCMD is equal to 16, the flag is currently a non-periodic high priority scheduling configuration word; the non-periodic operation scheduling of the instruction word is completed;
[0079] like Fig. 9 As shown, when CCMD is equal to 17, the flag is currently a non-periodic low priority scheduling configuration word, completing the non-periodic operation scheduling of the instruction word;
[0080] The scheduling and operation of various messages can be completed by cooperating with the scheduling configuration word and the instruction word. The operation priority of the message complies with the following principles:
[0081] Non-periodic high priority > non-periodic low priority > periodic high priority > periodic low priority.
[0082] The configuration word is also responsible for notifying the transport layer to complete the creation and destruction of the user data cache space, as follows:
[0083] In the present invention, unless otherwise specified, NT is equivalent to DID. Fig.10As shown in the figure, when CCMD is equal to 30, it indicates that the current configuration word is created for the NT-SA cache area. The user can complete the creation of the NT-SA cache space size by filling in the Block Memory Size field. The unit is 4KB. The default size of a single NT-SA cache area does not exceed 2MB.
[0084] like Fig.11 As shown, when CCMD is equal to 31, it indicates that the current configuration word for destroying the NT-SA cache area is destroyed, and the destruction of the created NT-SA cache space is completed.
[0085] like Figure 4 As shown, when WT is equal to 3, the flag is currently an instruction execution status word structure unit. The instruction execution status word reports all the status during the execution of the instruction word to the user layer. The user layer can know the remaining data amount of the corresponding NT-SA buffer by parsing the TX SEQ NUM field. When the amount of data to be sent in the buffer is less than half, the data is re-sent, thereby completing the interaction between the user data and the transport layer data filling mechanism. When receiving data, the user can parse the RX SEQ NUM field to obtain the amount of data to be received.
[0086] The present invention proposes the concept of an information maintenance table for NT-SA cache space data read and write maintenance. The detailed contents of the information maintenance table are as follows: Fig.12 As shown, the core contents in the table are HEAD, Wptr, and Rptr.
[0087] HEAD: When the NT-SA cache area creates the configuration word and sends it down, the transport layer should divide the storage area according to the Block Memory Size to store data with the same NT SA field. The HEAD field is actually the first address of the current NT SA cache area in the storage space.
[0088] Wptr, Rptr: internal data read and write pointers of the cache space, maintained by the user layer and the transport layer. The write pointer increases when the user layer sends data words, and the read pointer increases when the transport layer reads data. Special attention should be paid here that Wptr is not equal to Rptr under normal circumstances. If Wptr is equal to Rptr, it means that the cache space is full, and slist_overrun needs to be pulled high, and Wptr is not updated. At this time, it is necessary to wait for Rptr to be updated and not equal to Wptr, and then write the data to the cache.
[0089] Since the four basic unit structures have NT and SA fields, NT and SA are combined into a 56-bit information maintenance value. Each information maintenance value corresponds to an information maintenance table. The design supports a maximum of 1024 information maintenance tables by default. Each information maintenance table has a unique address, that is, a maximum of 1024 information maintenance table addresses. When used, the 56-bit information maintenance value needs to be mapped into a 10-bit cumulative address information. In order to reduce the address calculation time and the number of repeated queries, the following strategy is adopted here:
[0090] Information maintenance table address calculation strategy:
[0091] 1. Fill the high bit of the 56-bit information maintenance value with 8 bits of 0 to form 64 bits of data;
[0092] 2. Divide the 64-bit data into two 32-bit data, perform CRC32 calculation at the same time, use 04C11DB7 as the seed value, and output a 9-bit calculation result;
[0093] 3. Add the two 9-bit calculation results to output the 10-bit information maintenance table address;
[0094] 4. After obtaining the maintenance address calculated for the first time, it is necessary to determine whether the current address is valid based on the content of the address query information maintenance table. There are two situations in this part:
[0095] i. The first information table write when the NT-SA configuration word is issued: query the current content table. If the USED field in the table is 1, it means that the current information maintenance table has been used. At this time, the current address needs to be increased by 1, and the content is queried again according to the new address until the USED address is 0. Bind this address to the corresponding information maintenance value to complete the address calculation;
[0096] ii. NT-SA data reading and writing, i.e. information table query and modification: query the current content table, compare the DID and SA fields written in the table, and complete the address calculation if the comparison is consistent. If they are inconsistent, add 1 to the current address, query again to compare the specified query DID and SA fields and the content table DID and SA fields to complete the address calculation.
[0097] Combining the above four basic structural units and the adopted solutions constitutes an FC-AE-1553 scheduling method implementation for the transport layer of this patent.
[0098] A complete FC-AE-1553 scheduling method operation steps should be as follows Fig.13 Shown:
[0099] S1301. The user layer plans the scheduling message type in advance, and the planning content includes but is not limited to the following:
[0100] 1. Complete the filling of the instruction word CMD field according to the NC->NT, NT->NC, NT->NT, and mode code message scheduling types in FC-AE-1553;
[0101] 2. Complete the filling of the instruction word DID, R_RCTL, SA / MODE, DC / MC, MulticastAddr / Oher PortID, and Other SA fields according to the sending address and message type;
[0102] S1302, complete the transport layer instruction word scheduling initialization and NT-SA user space data filling by creating configuration words, instruction words, and data words:
[0103] 1. Issue the instruction word pre-planned in S1301.
[0104] 2. Send the creation configuration word with the same NT and SA fields as in the instruction to complete the creation of the NT-SA buffer space and the initial modification of the information maintenance table;
[0105] 3. For the scheduling message of NC-NT, the user layer also needs to send down the data word. The transport layer queries the information maintenance table based on the NT and SA fields in the data word to update the write pointer to complete the user layer data cache.
[0106] S1303, triggering the instruction word scheduling operation through the scheduling configuration word.
[0107] S1304, the scheduling configuration word can be divided into periodic scheduling configuration word and non-periodic scheduling configuration word:
[0108] 1. The non-periodic scheduling configuration word has the highest priority. After the current instruction word is completed, the non-periodic instruction word is immediately inserted to run. After the operation is completed, the previous periodic instruction word operation task is continued;
[0109] 2. The scheduling configuration word priority follows: non-periodic high priority scheduling configuration word > non-periodic low priority scheduling configuration word > periodic scheduling configuration word.
[0110] S1305, the periodic scheduling configuration word can be divided into an immediate switching periodic scheduling configuration word and a blocking switching periodic scheduling configuration word:
[0111] 1. When the cycle scheduling configuration word is switched immediately, the start instruction word and the number of running instruction words are updated after waiting for the current cycle instruction word to complete;
[0112] 2. When the cycle scheduling configuration word is blocked, the start cycle instruction word and the number of running instruction words must be updated after the current cycle is completed.
[0113] S1306. Update the starting instruction word and the number of instruction words to be executed according to the periodic scheduling configuration word.
[0114] S1307, run the instruction word, and complete the conversion to FC-AE-1553 protocol scheduling according to the instruction word field.
[0115] S1308, the end instruction word operation needs to be judged in real time based on the remaining time of the cycle and the end instruction word sequence number:
[0116] 1. The sequence number of the setting end instruction word can be calculated according to the number of the starting instruction word and the running instruction word;
[0117] 2. At the end of the instruction word operation, it should be determined whether the remaining time of the current cycle is greater than 100us. If it is greater than 100us, the next instruction word can be continued to run. When it is less than 100us, the current instruction word operation is forcibly ended even if the instruction word has not been run to the end.
[0118] S1309, waiting for the cycle operation to end, during which time the cycle operation instruction word information is updated.
[0119] S1310, determine whether to stop scheduling, the user layer does not send a scheduling end signal and returns to S1306 to continue running the instruction word;
[0120] S1311. End scheduling.
[0121] As mentioned above, the present invention is a method for scheduling the FC-AE-1553 transport layer, which can be broadly divided into periodic scheduling and non-periodic scheduling, including scheduling methods such as NC->NT, NT->NC, NT->NT, and mode code in the FC-AE-1553 protocol. The present invention optimizes the existing communication scheduling method and improves the real-time performance and reliability of the FC-AE-1553 system scheduling. The present invention further provides specific implementation methods for each key module in this design architecture, such as transport layer message parsing, buffer space management mechanism, retransmission mapping method, and transport layer FC-AE-1553 protocol mapping rules.
[0122] The above is a detailed introduction to the scheduling method of FC-AE-1553 of the present invention. It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the protection scope of the appended claims of the present invention.
Claims
1. A scheduling method for a FC-AE-1553 bus transmission network, characterized in that: In the FC-AE-1553 transport layer, four basic structural units are defined: command word, configuration word, command execution status word, and data word. The instruction word is used to implement at least one of the following: determining a transport layer instruction scheduling message to a FC-AE-1553 message scheduling mapping rule, determining a message retransmission count, and completing a scheduling message multi-port redundant transmission designation; The configuration word is used to execute the periodic operation management of the instruction word and the creation and maintenance of the user data NT-SA cache space; The instruction execution status word reports all statuses during the execution of the instruction word to the user layer; The data word completes the interaction between the user layer data and the transport layer data; The instruction word is scheduled to complete the scheduling of the FC-AE-1553 bus transmission. The scheduling method comprises the following operating steps: S1301, the user layer plans the scheduling message type in advance; S1302, completing the instruction word scheduling initialization and NT-SA user space data filling of the transport layer by creating the configuration word, the instruction word, and the data word; S1303, triggering the instruction word scheduling operation by scheduling the configuration word; S1304, scheduling the configuration words may be divided into periodic scheduling configuration words and non-periodic scheduling configuration words; S1305, the periodic scheduling configuration word can be divided into an immediate switching periodic scheduling configuration word and a blocking switching periodic scheduling configuration word; S1306, updating the starting instruction word and the number of instruction words to be run according to the periodic scheduling configuration word; S1307, running the instruction word, and completing the conversion to FC-AE-1553 protocol scheduling according to the field of the instruction word; S1308, the end of the instruction word operation needs to be judged in real time based on the remaining time of the cycle and the end instruction word sequence number; S1309, waiting for the cycle operation to end, during which the cycle operation instruction word information is updated; S1310, judging whether it is necessary to stop the scheduling, if the user layer does not send a scheduling end signal, returning to the S1306 state to continue to run the instruction word; S1311. End scheduling.
2. The scheduling method according to claim 1, characterized in that: The four basic structural units all include a packet header with a length of 12 DWs. The packet header and data payload all follow the little-endian mode definition, that is, the low-order data is placed in the low order of the structure.
3. The scheduling method according to claim 2, characterized in that: Bit 4 and bit 5 in the first DW of the four basic structural units are WT fields, and the WT field is used to distinguish the four basic structural units.
4. The scheduling method according to claim 2, characterized in that: The instruction word includes at least one or more of the following fields: an IA field for distinguishing different instruction words, a CMD field for determining a transport layer instruction scheduling message to an FC-AE-1553 message scheduling mapping rule, an RE field for determining a message retransmission count, and a TX_PORT field for completing a multi-port redundant transmission of a scheduling message.
5. The scheduling method according to claim 4, characterized in that: in, When CMD is equal to 1, it indicates that the current message is an NC-NT message; When CMD is equal to 2, it indicates that the current message is a NT-NC message; When CMD is equal to 3, it indicates that the current message is a NT-NT message; When CMD is equal to 4, it indicates that the current message is a mode code message.
6. The scheduling method according to claim 2, characterized in that: Bit 8 to bit 15 in the first DW of the configuration word are CCMD fields, and the configuration word is divided into 6 different function configuration words through the CCMD field, among which, When CCMD is equal to 1, the flag is currently to immediately switch the cycle scheduling configuration word. The cycle operation scheduling trigger of the instruction word can be completed by specifying the starting instruction word sequence number and the number of running instruction words; When CCMD is equal to 2, it indicates that the current configuration word for the blocking switching cycle scheduling is triggered by specifying the starting instruction word sequence number and the number of running instruction words to wait for the completion of the current cycle to continue the cycle operation scheduling of the new instruction word; When CCMD is equal to 16, it indicates that the current non-periodic high priority scheduling configuration word is completed; the non-periodic operation scheduling of the instruction word is completed; When CCMD is equal to 17, it indicates that the current non-periodic low priority scheduling configuration word is completed, and the non-periodic operation scheduling of the instruction word is completed; When CCMD is equal to 30, it indicates that the configuration word for the NT-SA cache is currently created. The user completes the creation of the NT-SA cache space size by filling in the Block MemorySize field. The unit is 4KB. The default size of a single NT-SA cache space does not exceed 2MB. When CCMD is equal to 31, it indicates that the current configuration word for destroying the NT-SA cache area is destroyed, and the destruction of the created NT-SA cache space is completed.
7. The scheduling method according to claim 1, characterized in that: The scheduling and operation of various messages are completed through the coordination of scheduling configuration words and instruction words. The running priority of the messages follows the following principle: non-periodic high priority > non-periodic low priority > periodic high priority > periodic low priority.
8. The scheduling method according to claim 1, characterized in that: The status reported to the user layer includes one or more of the following: the number of sent and received data, the abnormal sending and receiving status, and the execution time of the instruction word.
9. The scheduling method according to claim 1, characterized in that: The transport layer creates an instruction word cache space by default to cache instruction words sent by the user layer, and a maximum of 1024 instruction words can be cached.
10. The scheduling method according to claim 1, characterized in that: A 2 GB transport layer cache space is opened up to store data sent and / or received by the user layer.
11. The scheduling method according to claim 10, characterized in that: The user layer subdivides the cache space through the configuration word, and each message supports a maximum of 2MB of space division. The data word is used to complete the interaction of user data to the transport layer cache space data.
12. The scheduling method according to any one of claims 1 to 11, characterized in that: An information maintenance table is used for NT-SA cache space data read and write maintenance.
Citation Information
Patent Citations
FC-AE-1553 data exchange mode design method, FC-AE-1553 data exchange mode network control method and FC-AE-1553 data exchange mode energy saving method
CN104980224A
FC-AE-1553 network optimization method and system
WO2022222371A1